ICLR papers
Search ICLR papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICLR analysisSearch results
241–260 of 274
- ICLR · Workshop · Machine Learning for Genomics Explorations (MLGenX)
Oral Paper - Genomic Next-Token Predictors are In-Context Learners
Aayush Mishra
Abstract unavailable from the indexed sources.
- ICLR · Workshop · Machine Learning for Genomics Explorations (MLGenX)
Learning Adaptive Perturbation-Conditioned Contexts for Robust Transcriptional Response Prediction
Yinhua Piao, Hyomin Kim, Seonghwan Kim, Yunhak Oh, Junhyeok Jeon, Sang-Yeon Hwang, Jaechang Lim, Woo Youn Kim, Chanyoung Park, Sungsoo Ahn
Abstract
Predicting high-dimensional transcriptional responses to genetic perturbations is challenging due to severe experimental noise and sparse gene-level effects. Existing methods often suffer from mean collapse, where high correlation is achieved by predicting global average expression rather than perturbation-specific responses, leading to many false positives and limited biological interpretability. Recent approaches incorporate biological knowledge graphs into perturbation models, but these graphs are typically treated as dense and static, which can propagate noise and overlook true perturbation signals. We propose AdaPert, a perturbation-conditioned framework that addresses mean collapse by explicitly modeling sparsity and biological structure. AdaPert learns perturbation-specific subgraphs from biological knowledge graphs and applies adaptive learning to separate true signals from noise. Across multiple genetic perturbation benchmarks, AdaPert consistently outperforms existing baselines and achieves substantial improvements on DEG-aware evaluation metrics, indicating more accurate recovery of perturbation-specific transcriptional changes.
Abstract source - ICLR · Workshop · I Can't Believe It's Not Better: Where Large Language Models need to improve
Beyond Continuity: Challenges of Context Switching in Multi-Turn Dialogue with LLMs
Aditya Sinha, Harald Steck, Vito Ostuni, Matteo Rinaldi
Abstract
Users interacting with Large Language Models (LLMs) in a multi-turn conversation routinely refine their requests or pivot to new topics. LLMs, however, often miss these topic shifts and carry over irrelevant context from previous turns, leading to inaccurate responses. In this paper, we stress-test the multi-turn understanding of LLMs and study the following two sub-tasks: (1) detecting whether the user pivots or refines in the current turn, and (2) shortlisting relevant context from previous turns. To this end, we construct synthetic benchmarks based on real-world datasets from varied domains, as to simulate context shifts of different levels of difficulty. We then evaluate the zero-shot performance of ten LLMs (open-weight, closed-source and reasoning), and demonstrate that only some reasoning and strongly instructed LLMs are accurate in detecting pivots; open-weight LLMs struggle with the task and frequently carry stale context even with explicit cues; and all models suffer from a position bias. Based on the results, we discuss key takeaways for improving long-term robustness in multi-turn capabilities for LLMs.
Abstract source - ICLR · Workshop · I Can't Believe It's Not Better: Where Large Language Models need to improve
The Limits of Long-Context Reasoning in Automated Bug Fixing
Ravi Raju, Mengmeng Ji, Shubhangi Upasani, Bo Li, Urmish Thakker
Abstract
Rapidly increasing context lengths have led to the assumption that large language models (LLMs) can directly reason over entire codebases. Concurrently, recent advances in LLMs have enabled strong performance on software engineering benchmarks, particularly when paired with agentic workflows. In this work, we systematically evaluate whether current LLMs can reliably perform long-context code debugging and patch generation. Using SWE-bench Verified as a controlled experimental setting, we first evaluate state-of-the-art models within an agentic harness (mini-SWE-agent), where performance improves substantially: GPT-5-nano achieves up to a 31\% resolve rate on 100 samples, and open-source models such as Deepseek-R1-0528 obtain competitive results. However, token-level analysis shows that successful agentic trajectories typically remain under 20k-30k tokens, and that longer accumulated contexts correlate with lower success rates, indicating that agentic success primarily arises from task decomposition into short-context steps rather than effective long-context reasoning. To directly test long-context capability, we construct a data pipeline where we artificially inflate the context length of the input by placing the relevant files into the context (ensuring perfect retrieval recall); we then study single-shot patch generation under genuinely long contexts (64k tokens). Despite this setup, performance degrades sharply: Qwen3-Coder-30B-A3B achieves only a 7\% resolve rate at 64k context, while GPT-5-nano solves none of the tasks. Qualitative analysis reveals systematic failure modes, including hallucinated diffs, incorrect file targets, and malformed patch headers. Overall, our findings highlight a significant gap between nominal context length and usable context capacity in current LLMs, and suggest that existing agentic coding benchmarks do not meaningfully evaluate long-context reasoning.
Abstract source - ICLR · Workshop · The 2nd Workshop on World Models: Understanding, Modelling and Scaling
Safe Context Switching for Agents in the Wild: Mitigating Subspace Interference via Orthogonal Adaptation
Akash Das ⋅
Abstract
The scalability of agentic world models is currently restricted by a geometric stability-plasticity dilemma: as agents increasingly internalize high-complexity domains (e.g., chain-of-thought reasoning, code generation), the resulting expansion of task manifolds naturally impinges on the latent subspaces representing safety constraints. We capture this as a Sequential Subspace Interference, whereby standard plasticity mechanisms permit high-variance reasoning tasks to non-linearly overwrite alignment priors, which imposes a -23.3% Interference Penalty on safety benchmarks. We introduce a spectral regularization frame- work in our work called AURA (Adaptive Unique Residual Allocation), and it implements World Model Disentanglement through null-space projection. By limiting rank-adaptation updates only to the orthogonal complement of the safety manifold, AURA establishes a verified “Geometric Shield” that makes alignment constraints ultimately topologically invariant to subsequent learning. Empirically, this restores the intrinsic dimension of the safety state to > 0.98 cosine fidelity and recaptures +23.0% of the performance impeded by interference, allowing for the robust evolution of complex, open-ended world models.
Abstract source - ICLR · Workshop · Workshop on Scaling Post-training for LLMs (SPOT)
Recontextualization Mitigates Specification Gaming without Modifying the Specification
Ariana Azarbal, Victor Gillioz, Vladimir Ivanov, Bryce Woodworth, jacob drori, Nevan Wichers, Aram Ebtekar, Alex Cloud, Alexander Turner
Abstract
Developers often struggle to specify correct training labels and rewards. Perhaps they don't need to. We propose recontextualization, which reduces how often language models "game" training signals, performing misbehaviors those signals mistakenly reinforce. We show recontextualization prevents models from learning to 1) prioritize evaluation metrics over chat response quality; 2) special-case code to pass incorrect tests; and 3) overwrite evaluation functions rather than write correct code. Our method works by generating completions from prompts discouraging misbehavior and then recontextualizing them as though they were in response to prompts permitting misbehavior. Recontextualization trains language models to resist misbehavior even when instructions permit it. This mitigates the reinforcement of misbehavior from misspecified training signals, reducing specification gaming without improving the supervision signal.
Abstract source - ICLR · Workshop · Deep Generative Model in Machine Learning: Theory, Principle and Efficacy (2nd Workshop)
From Compression to Expression: A Layerwise Analysis of In-Context Learning
Jiachen Jiang, Yuxin Dong, Jinxin Zhou, Zhihui Zhu
Abstract
In-context learning (ICL) enables large language models (LLMs) to adapt to new tasks without weight updates by learning from demonstration sequences. While ICL shows strong empirical performance, its internal representational mechanisms are not yet well understood. In this work, we conduct a statistical geometric analysis of ICL representations to investigate how task-specific information is captured across layers. Our analysis reveals an intriguing phenomenon, which we term Layerwise Compression-Expression: early layers progressively produce compact and discriminative representations that encode task information from the input demonstrations, while later layers express these representations to incorporate the query and generate the prediction. This phenomenon is observed consistently across diverse tasks and a range of contemporary LLM architectures. We demonstrate that it has important implications for ICL performance---improving with model size and the number of demonstrations---and for robustness in the presence of noisy examples. To further understand the effect of the compact task representation, we propose a bias-variance decomposition and provide a theoretical analysis showing how attention mechanisms contribute to reducing both variance and bias, thereby enhancing performance as the number of demonstrations increases. Our findings reveal an intriguing layerwise dynamic in ICL, highlight how structured representations emerge within LLMs, and showcase that analyzing internal representations can facilitate a deeper understanding of model behavior.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Paranoid Monitors: How Long Context Breaks LLM Agent Supervision
Alicia Yang, Aashiq Muhamed, Mona Diab, Virginia Smith
Abstract
Monitoring LLM agents in long-context environments remains an unsolved challenge. We demonstrate that current monitoring approaches rely on suspicion heuristics that degrade as context length increases. Through evaluation of synthetically augmented trajectories from the ShadeArena bank transfer task, we show that standard monitors suffer from paranoia, assigning higher suspicion scores to benign trajectories than malicious ones in contexts exceeding 30k tokens. We quantify this failure using the suspicion gap, defined as the difference in mean suspicion scores assigned to malicious versus benign trajectories. To address this, we propose ledger-based monitoring, a two-stage framework grounded in factored cognition that decouples fact extraction from judgment. Our method restores calibration across all tested models, improving the suspicion gap from approximately 0 to greater than 1.5 in 50k+ token contexts.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Representational de-collapse: Interactions between supervised finetuning and in-context learning in language models
Abrar Elidrisi, Andrew Saxe, Jin Hwa Lee, Basile Confavreux
Abstract
Supervised fine-tuning (SFT) is a widely-used method for safety alignment of Language Models (LLMs), ensuring models learn to refuse answering potentially harmful queries or correcting unethical biases. Yet, it has been shown that SFT is brittle and often easily circumvented. One particular susceptibility comes from in-context learning (ICL): models learn from in-context demonstrations to overwrite previously acquired safety guardrails. In this work, we introduce a simple task enabling us to precisely control and study the progressive overwriting of knowledge acquired from SFT via ICL. We demonstrate that our task shows ICL overwriting of SFT and analyze its dynamics throughout the context. Next, we show that the overwriting behavior scales with model size. Finally, we analyze the hidden representation during the overwriting of SFT by ICL. In line with previous work, we find that SFT collapses representations along task labels. However, we show that ICL can reverse this collapse and recover rich representations, akin to the pre-SFT model state. Overall, our work proposes a controlled setup to investigate the interaction between ICL and SFT in LLMs, especially in the context of safety.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Privacy Collapse: Benign Fine-Tuning Can Break Contextual Privacy in Language Models
Anmol Goel, Cornelius Emde, Sangdoo Yun, Seong Joon Oh, Martin Gubri
Abstract
We identify a novel phenomenon in language models: benign fine-tuning of frontier models can lead to privacy collapse. We find that diverse, subtle patterns in training data can degrade contextual privacy, including optimisation for helpfulness, exposure to user information, emotional and subjective dialogue, and debugging code printing internal variables, among others. Fine-tuned models lose their ability to reason about contextual privacy norms, share information inappropriately with tools, and violate memory boundaries across contexts. Privacy collapse is a ``silent failure'' because models maintain high performance on standard safety and utility benchmarks whilst exhibiting severe privacy vulnerabilities. Our experiments show evidence of privacy collapse across six models (closed and open weight), five fine-tuning datasets (real-world and controlled data), and two task categories (agentic and memory-based). Our mechanistic analysis reveals that privacy representations are uniquely fragile to fine-tuning, compared to task-relevant features which are preserved. Our results reveal a critical gap in current safety evaluations, in particular for the deployment of specialised agents.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
ThaiSafetyBench: Assessing Language Model Safety in Thai Cultural Contexts
Trapoom Ukarapol, Nut Chukamphaeng, Kunat Pipatanakul, Pakhapoom Sarapat
Abstract
The safety evaluation of large language models (LLMs) remains largely centered on English, leaving non-English languages and culturally grounded risks underexplored. In this work, we investigate LLM safety in the context of the Thai language and culture and introduce ThaiSafetyBench, an open-source benchmark comprising 1,954 malicious prompts written in Thai. The dataset covers both general harmful prompts and attacks that are explicitly grounded in Thai cultural, social, and contextual nuances. Using ThaiSafetyBench, we evaluate 24 LLMs, with GPT-4.1 and Gemini-2.5-Pro serving as LLM-as-a-judge evaluators. Our results show that closed-source models generally demonstrate stronger safety performance than open-source counterparts, raising important concerns regarding the robustness of openly available models. Moreover, we observe a consistently higher Attack Success Rate (ASR) for Thai-specific, culturally contextualized attacks compared to general Thai-language attacks, highlighting a critical vulnerability in current safety alignment methods. To improve reproducibility and cost efficiency, we further fine-tune a DeBERTa-based harmful response classifier, which we name ThaiSafetyClassifier. The model achieves a weighted F1 score of 84.4\%, matching GPT-4.1 judgments. We publicly release the fine-tuning weights and training scripts to support reproducibility. Finally, we introduce the ThaiSafetyBench leaderboard to provide continuously updated safety evaluations and encourage community participation.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Same Question, Different Lies: Cross-Context Consistency (C³) for Black-Box Sandbagging Detection
Lin Yulong, Pablo Bernabeu-Perez, Benjamin Arnav, Lennie Wells, Mary Phuong
Abstract
As language models grow more capable, accurate capability evaluation becomes essential for safety decisions. If models can deliberately underperform on dangerous capability evaluations---a behavior known as \emph{sandbagging}---they may evade safety measures designed for their true capability level. We introduce Cross-Context Consistency (C³), a general framework for unsupervised black-box sandbagging detection that exploits a fundamental asymmetry: when a model truly lacks capability, its confusion manifests consistently across paraphrased questions, but when a capable model feigns incompetence, its strategic choices about \emph{how} to appear weak create detectable inconsistencies. Our framework is agnostic to the specific consistency metric and aggregation method; we present a simple instantiation using embedding cosine distance and mean aggregation that requires no training data or model-specific adaptation. We evaluate C³ across prompted and fine-tuned sandbagging scenarios, across instructed and more naturalistic setups, maintaining a classification signal where other black-box methods fail. Our findings show the limitations of existing sandbagging detection methods, and reveal the efficacy of consistency-checking as a detection mechanism for dangerous capabilities.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Moral Preferences of LLMs Under Directed Contextual Influence
Phil Blandfort, Tushar Karayil, Urja Pawar, Robert Graham, Alex McKenzie, Dmitrii Krasheninnikov
Abstract
Moral benchmarks for LLMs typically use context-free prompts, implicitly assuming stable preferences. In deployment, however, prompts routinely include contextual signals such as user requests, cues on social norms, etc. that may steer decisions. We study how directed contextual influences reshape decisions in trolley-problem-style moral triage settings. We introduce a pilot evaluation harness for directed contextual influence in trolley-problem-style moral triage: for each demographic factor, we apply matched, direction-flipped contextual influences that differ only in which group they favor, enabling systematic measurement of directional response. We find that: (i) contextual influences often significantly shift decisions, even when only superficially relevant; (ii) baseline preferences are a poor predictor of directional steerability, as models can appear baseline-neutral yet exhibit systematic steerability asymmetry under influence; (iii) influences sometimes backfire, showing non-monotonic behavior; and (iv) reasoning reduces average sensitivity, but amplifies the effect of biased few-shot examples. Our findings motivate extending moral evaluations with controlled, direction-flipped context manipulations to better characterize model behavior.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Learning Minimal Contexts: How Chain-of-Thought Induces Out-of-Distribution Generalization
Yu Wang, Fu-Chieh Chang, Pei-Yuan Wu
Abstract
Understanding how large language models (LLMs) generalize to out-of-distribution (OOD) inputs remains a central challenge, especially under strict support shifts where test data lies entirely outside the training distribution. Empirically, chain-of-thought (CoT) supervision is known to enable strong OOD generalization, yet the underlying mechanism is poorly understood. Motivated by this gap, we propose the Minimal Context Hypothesis, which posits that LLMs generalize by extracting small, task-relevant subsets of tokens that suffice for next-token prediction, rather than relying on the full input context. We study this hypothesis through tightly controlled arithmetic experiments, isolating the effects of CoT supervision, in-context learning, training distribution diversity, and input format alignment. Using train-from-scratch on a small-size language models, we combine OOD evaluation with mechanistic analyses based on saliency. Our results show that CoT supervision enables the extraction of stable Minimal Contexts, driving robust OOD generalization, which is further strengthened by unifying input format at inference time, while in-context demonstrations are not required for this effect. These findings provide actionable guidance for dataset and prompt design and suggest a general framework for understanding inductive bias and generalization in LLMs.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
Sequence-context-aware decoding enables robust reconstruction of protein dynamics from crystallographic B-factors
Yiquan Wang, Minnuo Cai, Yahui Ma, Kai Wei
Abstract
While X-ray crystallography remains the primary source of protein structures, the B-factors associated with these coordinates are frequently obscured by crystal packing and refinement artifacts that limit their utility for quantifying solution-state dynamics. We address the disparity between static structural abundance and dynamic information scarcity by introducing the B-Factor Corrector. This fine-tuned protein language model redefines B-factor analysis as a sequence-to-dynamics translation task rather than a purely physical calculation. By leveraging deep contextual embeddings to decouple intrinsic flexibility from lattice constraints, our model recovers ground-truth conformational fluctuations derived from structural ensembles and achieves a Pearson correlation of 0.80. We further demonstrate the utility of these sequence-inferred dynamics in structural biology applications where the model identifies binding-competent conformations for flexible molecular docking, unmasks cryptic mechanical hinges essential for chaperone function, and guides the energetic refinement of antibody interfaces to resolve steric conflicts. These results suggest that static crystallographic data can be effectively repurposed to decode accurate dynamic patterns latent within the Protein Data Bank.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
Incorporating contextual information into KGWAS for interpretable GWAS discovery
Cheng Jiang, Brady Ryan, Megan Crow, Kipper Fletez-Brant, Kashish Doshi, Sandra Melo, Kexin Huang, Burkhard Hoeckendorf, Heming Yao, David Richmond
Abstract
Genome-Wide Association Studies (GWAS) identify associations between genetic variants and disease; however, moving beyond associations to causal mechanisms is critical for therapeutic target prioritization. The recently proposed Knowledge Graph GWAS (KGWAS) framework addresses this challenge by linking genetic variants to downstream gene-gene interactions via a knowledge graph (KG), thereby improving detection power and providing mechanistic insights. However, the original KGWAS implementation relies on a large general-purpose KG, which can introduce spurious correlations. We hypothesize that cell-type specific KGs from disease-relevant cell types will better support disease mechanism discovery. Here, we show that the general-purpose KG in KGWAS can be substantially pruned with no loss of statistical power on downstream tasks, and that performance further improves by incorporating gene–gene relationships derived from perturb-seq data. Importantly, using a sparse, context-specific KG from direct perturb-seq evidence yields more consistent and biologically robust disease-critical networks.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
Graph Set Transformer: Learning Graph Representations with Set Context
Daniel Probst, Jose Eduardo Escrig Molina
Abstract
We introduce the Graph Set Transformer (GST), a neural network architecture for learning on sets of graphs, motivated by the assumption that structurally heterogeneous graphs may share higher-level semantics. Existing architectures, including DeepSets and Set Transformer, require pre-encoded graph embeddings from a separate GNN, creating a bottleneck between feature extraction and set-level contextualisation. In contrast, GST avoids this bottleneck by performing node-level feature propagation and cross-graph contextual modelling simultaneously, fusing the two levels of information through a gating mechanism. Across five molecular classification benchmarks, GST achieves consistent ROC-AUC scores of 98.5-99.6% compared to the best baselines of 89.3-98.8% for large sets of cardinalities 10 and 20. In a drug-drug interaction benchmark on sparse, undersampled data, GST improves the F1 score by 17.5% compared to the best baseline.
Abstract source - ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy
Epistemic Context Learning: Building Trust the Right Way in LLM Multi-Agent Systems
Ruiwen Zhou, Maojia Song, Xiaobao Wu, Sitao Cheng, Xunjian Yin, Yuxi Xie, Zoey Hao, Wenyue Hua, Liangming Pan, Soujanya Poria, Min-Yen Kan
Abstract
Individual agents in multi-agent (MA) systems often lack robustness, tending to blindly conform to misleading peers. We show this weakness stems from both sycophancy and inadequate ability to evaluate peer reliability. To address this, we first formalize the learning problem of history-aware reference, introducing the historical interactions of peers as additional input, so that agents can estimate peer reliability and learn from trustworthy peers when uncertain. This shifts the task from evaluating peer reasoning quality to estimating peer reliability based on interaction history. We then develop Epistemic Context Learning (ECL): a reasoning framework that conditions predictions on explicitly-built peer profiles from history. We further optimize ECL by reinforcement learning using auxiliary rewards. Our experiments reveal that our ECL enables small models like Qwen 3-4B to outperform a history-agnostic baseline 8x its size (Qwen 3-30B) by accurately identifying reliable peers. ECL also boosts frontier models to near-perfect (100\%) performance. We show that ECL generalizes well to various MA configurations and we find that trust is modeled well by LLMs, revealing a strong correlation in trust modeling accuracy and final answer quality.
Abstract source - ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy
Scaling Agentic Capabilities, Not Context: Efficient Reinforcement Finetuning for Large Toolspaces
Karan Gupta, Pranav Vajreshwari, Yash Pandya, Akshay Nambi
Abstract
Agentic systems operating over large tool ecosystems must plan and execute long-horizon workflows while learning from weak or non-verifiable supervision. Frontier models address this through scale and large context budgets, but small language models (SLMs) remain brittle: eager tool loading saturates context, execution errors compound, and sparse rewards limit learning. We introduce ATLAS, a reinforcement finetuning framework that enables SLMs to operate effectively in large toolspaces by learning both context acquisition and action execution. We treat context control and execution structure as learnable decisions, combining iterative tool loading with programmatic orchestration to bound context growth and stabilize trajectories. We further propose rubric-based reinforcement finetuning, decomposing task success into structured criteria to enable scalable training with small judge models. Across MCP benchmarks, these design choices yield large, consistent gains over generic RL baselines, allowing a 4B SLM to approach frontier-agent performance under substantially tighter parameter and context budgets.
Abstract source - ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy
Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?
Thibaud Gloaguen, Niels Mündler, Mark Mueller, Veselin Raychev, Martin Vechev
Abstract
A widespread practice in software development is to tailor coding agents to repositories using context files, such as `AGENTS.md`, by either manually or automatically generating them. Although this practice is strongly encouraged by agent developers, there is currently no rigorous investigation into whether such context files are actually effective for real-world tasks. In this work, we study this question and evaluate coding agents' task completion performance in two complementary settings: established SWE-bench tasks from popular repositories, with LLM-generated context files following agent-developer recommendations, and a novel collection of issues with developer-provided context files. Across multiple coding agents and LLMs, we find that context files result in *no improvement* in task success rates, while also *increasing inference cost* by over $20$%. Behaviorally, both LLM-generated and developer-provided context files encourage broader exploration (e.g., more thorough testing and file traversal), and coding agents tend to respect their instructions. Ultimately, we conclude that unnecessary requirements from context files make tasks harder, and human-written context files should describe only minimal requirements.
Abstract source