ICLR papers
Search ICLR papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICLR analysisSearch results
701–720 of 723
- ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Patching LLMs Like Software: A Lightweight Method for Improving Safety Policies in Large Language Models
Huzaifa Arif, Pin-Yu Chen, Keerthiram Murugesan, Alex Gittens, Payel Das, Ching-Yun Ko
Abstract
We propose \textit{safety policy patching}, a lightweight and modular approach for addressing safety vulnerabilities in large language models (LLMs) between major releases. Major version updates are costly, infrequent, and difficult to tailor to customer needs, leaving deployed models with known safety gaps. Our method enables rapid remediation by prepending a compact, learnable prefix to an existing model's inputs.This patch introduces very few additional parameters---e.g., $0.003\%$ for LLaMA-2---yet reliably steers model behavior toward that of a safer reference model. Across three critical domains---toxicity mitigation, bias reduction, and harmfulness refusal---policy patches achieve safety improvements comparable to stronger safety-aligned models (e.g., future major releases) while preserving fluency. Overall, we show that LLMs can be ``patched'' much like software, providing vendors and practitioners a practical mechanism for distributing scalable, efficient, and composable safety updates between major model releases.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Evolving Safety Landscape of Multi-modal Large Language Models: A Survey of Emerging Threats and Safeguards
Xi Li, Shu Zhao, Xiaohan Zou, Fei Zhao, Fuxiao Liu, Yusen Zhang, Cheng Han, Yushun Dong, Jiaqi Wang
Abstract
Multi-modal large language models (MLLMs) integrate heterogeneous modalities through modality alignment and fusion, enabling stronger understanding and reasoning. However, this architectural shift reshapes the safety landscape of machine learning. Increased model complexity and cross-modal interactions give rise to novel threats, including compromised modality integration, modality misalignment, and fused safety risks, reflecting shifts in threat modeling beyond uni-modal assumptions. These shifts, in turn, impose new constraints on safety solutions not captured by existing frameworks rooted in uni-modal learning. Motivated by these challenges, this survey provides a systematic analysis of the evolving safety landscape of MLLMs. We first propose a multimodal grounded taxonomy of safety threats and analyze shifts in threat models, covering adversarial attacks, data poisoning, jailbreaks, and hallucinations. We then summarize updated safety assumptions and organize recent advances in MLLM safety strategies accordingly. Finally, we discuss open challenges and future directions to inform the development of more principled and scalable safety mechanisms for multimodal systems.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
FedGraph: Defending Federated Large Language Model Fine-Tuning Against Backdoor Attacks via Graph-Based Aggregation
Xi Chen, Chunyi Zhou, Rui Zeng, Xiaogang Xu, Zhe Liu, Shouling Ji
Abstract
Federated fine-tuning of large language models (LLMs) enables collaborative training without sharing raw data, offering a promising solution to data scarcity and privacy concerns. However, this setting is highly vulnerable to backdoor attacks, where adversaries inject malicious updates that preserve normal performance on benign inputs but induce targeted responses when triggered. We first demonstrate that backdoor attacks remain effective in the federated LoRA fine-tuning scenario, exposing a critical security risk. We further show that existing federated learning defenses are inadequate, as the high dimensionality and entanglement of LLM updates undermine anomaly detection methods. To overcome these challenges, we introduce \textit{FedGraph}, a graph-based aggregation framework. FedGraph represents client updates as nodes in a dynamic graph, extracts topological features including Degree, Betweenness, and Closeness centrality, and uses these to construct low-dimensional fingerprints of client behavior. An unsupervised clustering process then separates malicious from benign participants. Extensive experiments confirm that FedGraph achieve state-of-the-art defense against LLM backdoor attacks, reducing the attack success rate to below 10\%, while delivering high detection accuracy (95.5\% on average) and low false positives (2.33\%), significantly outperforming existing defenses.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
FedGraph: Defending Federated Large Language Model Fine-Tuning Against Backdoor Attacks via Graph-Based Aggregation
Xi Chen, Chunyi Zhou, Rui Zeng, Xiaogang Xu, Zhe Liu, Shouling Ji
Abstract
Federated fine-tuning of large language models (LLMs) enables collaborative training without sharing raw data, offering a promising solution to data scarcity and privacy concerns. However, this setting is highly vulnerable to backdoor attacks, where adversaries inject malicious updates that preserve normal performance on benign inputs but induce targeted responses when triggered. We first demonstrate that backdoor attacks remain effective in the federated LoRA fine-tuning scenario, exposing a critical security risk. We further show that existing federated learning defenses are inadequate, as the high dimensionality and entanglement of LLM updates undermine anomaly detection methods. To overcome these challenges, we introduce \textit{FedGraph}, a graph-based aggregation framework. FedGraph represents client updates as nodes in a dynamic graph, extracts topological features including Degree, Betweenness, and Closeness centrality, and uses these to construct low-dimensional fingerprints of client behavior. An unsupervised clustering process then separates malicious from benign participants. Extensive experiments confirm that FedGraph achieve state-of-the-art defense against LLM backdoor attacks, reducing the attack success rate to below 10\%, while delivering high detection accuracy (95.5\% on average) and low false positives (2.33\%), significantly outperforming existing defenses.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
RedBench: A Universal Dataset for Comprehensive Red Teaming of Large Language Models
Quy-Anh Dang, Chris Ngo, Truong-Son Hy
Abstract
As large language models (LLMs) become integral to safety-critical applications, ensuring their robustness against adversarial prompts is paramount. However, existing red teaming datasets suffer from inconsistent risk categorizations, limited domain coverage, and outdated evaluations, hindering systematic vulnerability assessments. To address these challenges, we introduce RedBench, a universal dataset aggregating 37 benchmark datasets from leading conferences and repositories, comprising 29,362 samples across attack and refusal prompts. RedBench employs a standardized taxonomy with 22 risk categories and 19 domains, enabling consistent and comprehensive evaluations of LLM vulnerabilities. We provide a detailed analysis of existing datasets, establish baselines for modern LLMs, and open-source the dataset and evaluation code. Our contributions facilitate robust comparisons, foster future research, and promote the development of secure and reliable LLMs for real-world deployment.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Uncertainty Drives Social Bias Changes in Quantized Large Language Models
Stanley Bryan Hua, Sanae Lotfi, Irene Chen
Abstract
Aggregate bias metrics are fundamentally misleading for quantized large language models: quantization causes up to 21% of individual responses to flip between biased and unbiased states while aggregate scores remain unchanged, creating invisible harms that standard evaluations fail to detect. To reveal this hidden phenomenon, we introduce PostTrainingBiasBench, a unified framework for rigorous bias evaluation, and conduct the first large-scale study of 50 quantized models across 13 closed- and open-ended benchmarks. We find these flips are strongly linked to model uncertainty: uncertain responses are 3-11x more likely to change than the confident ones. Through controlled intervention via preference optimization, we establish causal evidence that uncertainty drives response flipping. Quantization strength amplifies the effect (4-bit quantized models show 4-6x more behavioral changes than 8-bit). Critically, these shifts asymmetrically impact demographic groups, with bias can worsen by up to 18.6% for some groups while improving by 14.1% for others, yielding misleadingly neutral aggregate outcomes. Larger models show no consistent robustness advantage, and group-specific shifts vary unpredictably across model families. Together, our findings demonstrate that compression fundamentally reshapes bias patterns, underscoring the need for rigorous post-quantization evaluation and interventions to ensure reliability in practice.
Abstract source - ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities
Uncertainty Drives Social Bias Changes in Quantized Large Language Models
Stanley Bryan Hua, Sanae Lotfi, Irene Chen
Abstract
Aggregate bias metrics are fundamentally misleading for quantized large language models: quantization causes up to 21% of individual responses to flip between biased and unbiased states while aggregate scores remain unchanged, creating invisible harms that standard evaluations fail to detect. To reveal this hidden phenomenon, we introduce PostTrainingBiasBench, a unified framework for rigorous bias evaluation, and conduct the first large-scale study of 50 quantized models across 13 closed- and open-ended benchmarks. We find these flips are strongly linked to model uncertainty: uncertain responses are 3-11x more likely to change than the confident ones. Through controlled intervention via preference optimization, we establish causal evidence that uncertainty drives response flipping. Quantization strength amplifies the effect (4-bit quantized models show 4-6x more behavioral changes than 8-bit). Critically, these shifts asymmetrically impact demographic groups, with bias can worsen by up to 18.6% for some groups while improving by 14.1% for others, yielding misleadingly neutral aggregate outcomes. Larger models show no consistent robustness advantage, and group-specific shifts vary unpredictably across model families. Together, our findings demonstrate that compression fundamentally reshapes bias patterns, underscoring the need for rigorous post-quantization evaluation and interventions to ensure reliability in practice.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
Tracing Pharmacological Knowledge in Large Language Models
Basil Khwaja, Dylan Chen, Guntas Toor, Anastasiya Kuznetsova
Abstract
Large language models (LLMs) have shown strong empirical performance across pharmacology and drug discovery tasks, yet the internal mechanisms by which they encode pharmacological knowledge remain poorly understood. In this work, we investigate how drug-group semantics are represented and retrieved within Llama-based biomedical language models using causal and probing-based interpretability methods. We apply activation patching to localize where drug-group information is stored across model layers and token positions, and complement this analysis with linear probes trained on token-level and sum-pooled activations. Our results demonstrate that early layers play a key role in encoding drug-group knowledge, with the strongest causal effects arising from intermediate tokens within the drug-group span rather than the final drug-group token. Linear probing further reveals that pharmacological semantics are distributed across tokens and are already present in the embedding space, with token-level probes performing near chance while sum-pooled representations achieve maximal accuracy. Together, these findings suggest that drug-group semantics in LLMs are not localized to single tokens but instead arise from distributed representations. This study provides the first systematic mechanistic analysis of pharmacological knowledge in LLMs, offering insights into how biomedical semantics are encoded in large language models.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
A Forecasting Benchmark of Large-Scale Neural Populations during Task-Driven Behavior
Giuliano Costa, Petru Manescu
Abstract
While substantial advances have been made in decoding behavioral or stimulus variables from 2-photon calcium imaging data—the forward problem of predicting future neural activity from past population dynamics remains underexplored. We leverage a novel, large-scale calcium imaging dataset from the International Brain Laboratory, where mice perform a complex decision-making task, to systematically evaluate neural forecasting. Using 11,393 neurons recorded simultaneously for over an hour, we applied standard forecasting techniques to assess the predictability of this system. Through experiments examining population scaling, prediction horizon, and cortical state transitions, we find that forecasting performance exhibits diminishing returns with population size and degrades substantially when models encounter unseen brain states. Simple univariate models remain competitive with sophisticated multivariate architectures, suggesting current approaches fail to exploit higher-order population codes. This work establishes a single-session benchmark for neural population forecasting on a large-scale mesoscope recording from behaviorally-engaged mice.
Abstract source - ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026
A Comprehensive Benchmark of Batch Integration Methods for Spatial Transcriptomics Using a Large-Scale Cancer Atlas
Liam Ludington, Xavier Sécheresse, Khalil Ouardini, Regis Loeb, vincent cabeli, Omar Darwiche Domingues, Arthur Pignet
Abstract
Spatial transcriptomics (ST) enables spatially-resolved gene expression measurement, providing insights into tissue architecture and disease biology. However, batch effects from sequencing protocols, sample processing, and other technical factors can confound biological signals. Although batch correction has been extensively studied in single-cell transcriptomics, spatial integration methods lack rigorous benchmarking on large real-world datasets. This study benchmarks 11 representation-learning methods across three categories—linear, graph-based and probabilistic methods using Owkin's MOSAIC Window dataset, a large-scale spatial transcriptomics atlas of human cancers. Methods are evaluated across three criteria: batch correction, biological conservation, and spatial conservation. We also propose a new integration metric to assess robustness of representations to domain shifts and generalizability to unseen samples. Probabilistic methods (scVIVA, scVI) outperform linear and graph-based approaches in batch correction and biological conservation. On the other hand, graph-based methods excel at spatial conservation but underperform in batch integration. Out-of-Distribution (OOD) evaluation reveals that sophisticated methods show reduced performance on unseen samples while linear methods maintain robust generalization, highlighting trade-offs between integration quality and generalizability that should guide method selection for real-world applications.
Abstract source - ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy
Adversarial Iterative Unit Test Generation with Large Language Models
Dongjun Lee, Juyong Lee, Changho Hwang, Kimin Lee
Abstract
Unit testing is a critical practice in software development, aimed at detecting bugs and ensuring the robustness of individual program components. However, writing comprehensive unit tests is challenging, as it requires a deep understanding of the source code and thorough coverage of edge cases. In this work, we propose ADIT (ADversarial Iterative unit Test generation), a novel framework that generates high-quality unit tests through an adversarial process between two large language models (LLMs). Specifically, ADIT operates in two iterative steps: (1) an attacker LLM injects subtle bugs that evade existing tests, and (2) a defender LLM refines the test suite in a feedback loop until these bugs are detected. To evaluate ADIT in a realistic setting, we introduce two benchmarks: ClassTestEval, based on class-level Python source code, and CuPyTestEval, derived from the CuPyrepository. Our results demonstrate that unit tests generated by ADIT outperform existing baselines in bug detection, highlighting the potential of adversarial LLM-based approaches for robust test generation.
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
Steering Large Language Models Toward Clarification through Sparse Autoencoders
Alisa Petrova, Alexey Kovalev
Abstract
Instruction-tuned LLMs often respond to ambiguous instructions by guessing missing details rather than asking clarifying questions. Clarification-seeking improves reliability by aligning responses with user intent and avoiding under-specified assumptions. This is especially important for embodied AI, where misinterpretations can translate into task failure or safety risks. We propose \textbf{ClarifySAE}, an inference-time method that steers clarification-seeking by intervening on Sparse Autoencoder (SAE) features. ClarifySAE ranks SAE features using ClarifyScore, which measures association with clarification contexts, and filters them with OutputScore to retain features that measurably affect the model’s output distribution. During decoding, we apply additive biases to the selected features, increasing the likelihood of generating a clarifying question without updating model weights. We evaluate our method on two datasets with ambiguous instructions (AmbiK and ClarQ-LLM) and two Gemma instruction-tuned models (2B and 9B) using pretrained 16k-feature SAEs. On AmbiK with Gemma-2-9B-IT, ClarifySAE increases clarification rate from 0.61 to 0.95 and improves task success from 0.06 to 0.21.
Abstract source - ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy
Don't Do That!: Guiding Embodied Systems through Large Language Model-based Constraint Generation
Amin Seffo, Aladin Djuhera, Masataro Asai, Holger Boche
Abstract
Recent advancements in large language models (LLMs) have spurred interest in robotic navigation that incorporates complex spatial, mathematical, and conditional constraints from natural language into the planning problem. Such constraints can be informal yet highly complex, making it challenging to translate into a formal description that can be passed on to a planning algorithm. In this paper, we propose STPR, a constraint generation framework that uses LLMs to translate constraints (expressed as instructions on "what not to do") into executable Python functions. STPR leverages the LLM's strong coding capabilities to shift the problem description from language into structured and interpretable code, thus circumventing complex reasoning and avoiding potential hallucinations. We show that these LLM-generated functions accurately describe even complex mathematical constraints, and apply them to point cloud representations with traditional search algorithms. Experiments in a simulated Gazebo environment show that STPR ensures full compliance across several constraints and scenarios, while having short runtimes. We also verify that STPR can be used with smaller code LLMs, making it applicable to a wide range of compact models with low inference cost.
Abstract source - ICLR · Workshop · ICLR 2026 Workshop on Memory for LLM-Based Agentic Systems (MemAgents)
Tool use is provably more scalable than in-weight memory for Large Language Models
Sam Houliston, Ambroise Odonnat, Charles Arnal, Vivien Cabannes
Abstract
Tool-augmented language models, equipped with retrieval, memory, or external APIs, are reshaping AI. Yet, their theoretical advantages remain underexplored. In this paper, we address this question by demonstrating the benefits of in-tool learning (external retrieval) overin-weight learning (memorization) for factual recall. We show that the number of facts a model can memorize solely in its weights is fundamentally limited by its parameter count. In contrast, we prove that tool-use enables unbounded factual recall via a simple and efficient circuit construction. These results are validated in controlled experiments, where tool-using models consistently outperform memorizing ones. We further show that for pretrained large language models, teaching tool-use and general rules is more effective than finetuning facts into memory. Our work provides both a theoretical and empirical foundation, establishing why tool-augmented workflows are not just practical, but provably more scalable. The code is available at https://github.com/ambroiseodt/itl.
Abstract source - ICLR · Workshop · Representational Alignment
HOW WELL CAN A LARGE LANGUAGE MODEL INFER THE VALUE REPRESENTATIONS EXPRESSED BY ANOTHER INSTANCE OF THE SAME MODEL?
Maryam Ghorbansabagh, Amir-Hossein Karimi, Igor Grossmann
Abstract
We study whether large language models can reliably recognize value-conditioned behavior expressed by other instances of the same model across distinct types of social interaction, framing this as a model-to-model representational alignment problem over human values. To this end, we introduce a Generator-Inquisitor framework in which one model generates a text description of a target value in the context of a specific relational dynamic—Communal Sharing, Equality Matching, Authority Ranking, and Market Pricing—and the other model infers the underlying value from the Generator’s text. Despite high value recognition across Gemini, GPT, Llama, and Mistral models, alignment accuracy systematically varied by relational domain and value dimension, with self-enhancement showing the hardest misalignment, especially in the Communal Sharing context. Together, these results show that value representations in LLMs are not abstract model attributes but emerge through domain-specific interactional contexts, motivating evaluation protocols that go beyond single-agent behavioral alignment. Like for humans, this observation calls for contextualized approach to the study of value alignment in machines.
Abstract source - ICLR · Workshop · Representational Alignment
Training Large Language Models for Self-Explanation Faithfulness
Yeoktatt Cheah, Maria Perez-Ortiz, Noah Y Siegel, Oana-Maria Camburu
Abstract
We propose a Reinforcement Learning (RL) method to directly optimize the faithfulness of self-explanations - the extent to which a model's generated reasoning accurately reflects its internal decision-making process. While existing work focuses on evaluating faithfulness or using inference-time prompting frameworks to improve an LLM's self-explanation's tractability, these approaches do not provide a mechanism to directly optimize a model’s parameters to generate faithful self-explanations. We bridge this gap by modifying existing faithfulness metrics into an RL training objective. We investigate (1) if models can be trained to accurately detect factors that affect their decisions, and (2) whether RL can directly optimize for the disclosure of these factors thereby improving LLM self-explanations' faithfulness. We experiment with two intervention types: random-word insertions and user-bias insertions, using a per-sample reward derived from the Phi-CCT correlation metric. RL fine-tuned Llama3.1-8B and Qwen3-8B show substantial improvements on the Phi-CCT faithfulness metric, with in-distribution scores rising from near-zero to as high as 0.664, and out-of-distribution scores reaching up to 0.691 on held-out tasks such as StrategyQA. Cross-intervention generalization is weaker but more interesting: a priori we would not expect a model trained only on random adverb insertions to generalize to user-bias phrases, yet Llama3.1-8B shows non-zero transfer in this direction. The reverse direction and Qwen3-8B do not replicate this, indicating model-dependent and setup-dependent effects we cannot yet explain.Lastly we analyze model behavior to rule out reward gaming behaviors that often plague RL training. Ultimately, we show that models can be trained to implicitly identify influential factors and disclose them, offering a scalable path toward reducing unfaithful reasoning in LLMs.
Abstract source - ICLR · Workshop · Representational Alignment
On the Identifiability of Steering Vectors in Large Language Models
Sohan Venkatesh, Ashish Kurapath
Abstract
Activation steering methods, such as persona vectors, are widely used to control large language model behavior and increasingly interpreted as revealing meaningful internal representations. This interpretation implicitly assumes steering directions are identifiable and uniquely recoverable from input–output behavior. We formalize steering as an intervention on internal representations and prove that, under realistic modeling and data conditions, steering vectors are fundamentally non-identifiable due to large equivalence classes of behaviorally indistinguishable interventions. Empirically, we validate this across multiple models and semantic traits, showing orthogonal perturbations achieve near-equivalent efficacy with negligible effect sizes. However, identifiability is recoverable under structural assumptions including statistical independence, sparsity constraints, multi-environment validation or cross-layer consistency. These findings reveal fundamental interpretability limits and clarify structural assumptions required for reliable safety-critical control.
Abstract source - ICLR · Workshop · Representational Alignment
Do Large Language Models Encode Instruction Overwrites?
You-Chen Lin, Fu-Chieh Chang, Pei-Yuan Wu
Abstract
Large language models (LLMs) are vulnerable to prompt injection attacks that overwrite an original instruction, yet the internal mechanisms underlying this behavior remain unclear. Standard defenses rely on training-based safety alignment to enforce instruction hierarchies, providing little insight into the internal mechanisms of instruction overwriting. We present a representation-level analysis of instruction overwriting in LLMs. Using a payload-augmented benchmark and layer-wise linear probing, we show that LLMs encode a distinct internal representation that distinguishes the execution of the original task from the injected instruction. This signal generalizes across models, injection templates, payloads, and established benchmarks such as StruQ and representative subsets of IH-Bench. Building on this finding, we derive a one-dimensional activation steering vector that increases adherence to the original instruction, significantly reducing successful overwrites while preserving general instruction-following ability. Our approach increases adherence to original instructions under prompt injection without retraining. More generally, our results demonstrate that safety-relevant behaviors can be controlled through low-dimensional representation engineering.
Abstract source - ICLR · Workshop · Representational Alignment
Emergent Structured Representations Support Flexible In-Context Inference in Large Language Models
Ningyu Xu, Qi Zhang, Xipeng Qiu, Xuanjing Huang
Abstract
Large language models (LLMs) exhibit emergent behaviors suggestive of human-like reasoning. While recent work has identified structured conceptual representations within these models, it remains unclear whether they functionally rely on such representations for reasoning. Here we investigate the internal processing of LLMs during in-context inference across diverse tasks. Our results reveal a conceptual subspace emerging in middle to late layers, whose representational structure persists across contexts. Using causal mediation analyses, we demonstrate that this subspace is not merely an epiphenomenon but is functionally central to model predictions, establishing its causal role in inference. We further identify a layer-wise progression where attention heads in early-to-middle layers integrate contextual cues to construct and refine the subspace, which is subsequently leveraged by later layers to generate predictions. Together, these findings provide evidence that LLMs dynamically construct and use structured latent representations in context for inference, offering insights into the computational processes underlying flexible adaptation.
Abstract source