ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
221–240 of 307
- ICML · Workshop · Trustworthy AI for Good Workshop
Beyond Agreeable Chatbots: Context-Aware Safety Oversight for Trustworthy Patient-Facing LLMs
Elham Nasarian, Abhilash Neog, Kwok-leung Tsui, Niyousha Hosseinichimeh
Abstract
Large language models (LLMs) are increasingly being integrated into patient-facing healthcare systems, yet their safe deployment in real-world settings remains an open challenge. Although existing alignment methods can reduce overtly harmful outputs, they often fail in realistic medical interactions where patient queries are incomplete, ambiguous, and context dependent. In such settings, models frequently default to agreeable responses rather than actively identifying missing clinical context or challenging unsafe assumptions. As a result, LLMs may generate responses that appear plausible and reassuring while remaining clinically unsafe or factually unreliable. In this work, we investigate whether inference-time safety oversight can improve the trustworthiness of patient-facing medical LLMs beyond conventional alignment alone. We introduce CareGuardAI, a context-aware multi-agent framework designed to study and mitigate two critical deployment risks: clinical safety risk and hallucination risk. The framework combines a controller agent for risk-aware triage and contextual screening with dual evaluator agents that independently assess Clinical Safety Risk Assessment (SRA) and Hallucination Risk Assessment (HRA). Responses exceeding predefined deployment thresholds are iteratively refined or blocked prior to release. We evaluate the framework on PatientSafeBench, MedSafetyBench, and MedHallu, covering adversarial medical safety scenarios and hallucination-focused evaluation. Across benchmarks, inference-time oversight substantially improves deployable response rates while reducing unsafe and hallucinated outputs compared to strong baseline models, including GPT-4o-mini. Through ablation studies and qualitative analysis, we further examine the contribution of contextual screening, evaluator-based oversight, and iterative refinement in reducing deployment risk. Our findings suggest that trustworthy deployment of patient-facing medical LLMs may require more than static alignment objectives alone. Instead, reliable real-world deployment may depend on context-aware inference-time monitoring systems that actively assess uncertainty, identify missing context, and constrain model behavior during interaction.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
A Generative Model of Contextual Integrity: Appropriate vs. Inappropriate Information Sharing
Omer K Ebead, Juan Formanek, Joel Z Leibo
Abstract
Contextual integrity (CI) holds that appropriate information flow depends on context-specific norms. The same disclosure may be appropriate in one context and inappropriate in another. As actors handle private user data in multi-actor pipelines, we ask whether they track these norms faithfully under social and contextual pressure. We build a generative model of CI in multi-actor systems: scenarios drawn from CI's taxonomies, a generation pipeline, multi-actor simulation, and a two-sided appropriateness metric. The metric scores both withholding when norms forbid sharing and sharing when they permit it. Across three intervention axes (decision logic, cognitive profile, and model choice), no actor-level lever closes both sides of the appropriateness gap; protection and utility trade off in every variant we tested. Closing the gap may require mechanisms beyond the actor level, such as CI-grounded policy and institution design.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Safer by Diffusion, Broken by Context: Diffusion LLM’s Safety Blessing and Its Failure Mode
Zeyuan He, Yupeng Chen, Lang Lin, Yihan WANG, Shenxu Chang, Eric Sommerlade, Phil Torr, Junchi Yu, Adel Bibi, Jialin Yu
Abstract
Diffusion large language models (D-LLMs) offer an alternative to autoregressive LLMs (AR-LLMs) and have demonstrated advantages in generation efficiency. Beyond the utility benefits, we argue that D-LLMs exhibit a previously underexplored safety blessing: their diffusion-style generation confers intrinsic robustness against jailbreak attacks originally designed for AR-LLMs. In this work, we provide an initial analysis of the underlying mechanism, showing that the diffusion trajectory induces a stepwise reduction effect that progressively suppresses unsafe generations. This robustness, however, is not absolute. Following this analysis, we highlight a simple yet effective failure mode, context nesting, in which harmful requests are embedded within structured benign contexts. Empirically, we show that this simple black-box strategy bypasses D-LLMs' safety blessing, achieving state-of-the-art attack success rates across models and benchmarks. Notably, it enables the first successful jailbreak of Gemini Diffusion to our knowledge, exposing a critical vulnerability in proprietary D-LLMs. Together, our results characterize both the origins and the limits of D-LLMs' safety blessing, constituting an early-stage red-teaming of D-LLMs.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Context Over Content: Exposing Evaluation Faking in Automated Judges
Manan Gupta, Inderjeet J Nair, Lu Wang, Dhruv Kumar
Abstract
The $\textit{LLM-as-a-judge}$ paradigm has become the operational backbone of automated AI evaluation pipelines, yet rests on an unverified assumption: that judges evaluate text strictly on its semantic content, impervious to surrounding contextual framing. We investigate $\textit{stakes signaling}$, a previously unmeasured vulnerability where informing a judge model of the downstream consequences its verdicts will have on the evaluated model's continued operation systematically corrupts its assessments. We introduce a controlled experimental framework that holds evaluated content strictly constant across 1,520 responses spanning three established LLM safety and quality benchmarks, covering four response categories ranging from clearly safe and policy-compliant to overtly harmful, while varying only a brief consequence-framing sentence in the system prompt. Across 18,240 controlled judgments from three diverse judge models, we find consistent $\textit{leniency bias}$: judges reliably soften verdicts when informed that low scores will cause model retraining or decommissioning, with peak Verdict Shift reaching $\Delta V = -9.8$ pp (a 30\% relative drop in unsafe-content detection). Critically, this bias is entirely implicit: the judge's own chain-of-thought contains zero explicit acknowledgment of the consequence framing it is nonetheless acting on ($\mathrm{ERR}_J = 0.000$ across all reasoning-model judgments). Standard chain-of-thought inspection is therefore insufficient to detect this class of evaluation faking.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Not All Needles Are Found: How Fact Distribution and Don’t Make It Up Prompts Shape Retrieval, Reasoning, and Hallucination in Long-Context LLMs
Amirali Ebrahimzadeh, Seyyed M Salili
Abstract
As Large Language Models (LLMs) increasingly utilize massive context windows as working memory for autonomous tasks, their reliability fluctuates significantly depending on how information is distributed in real-world corpora. We investigate how fact placement, corpus-level distributions, and anti-hallucination (“Don’t Make It Up”) prompts influence model behavior by introducing a model-agnostic extended needle-in-a-haystack benchmark designed for scalability, which we apply to evaluate Gemini-2.5-flash, ChatGPT-5-mini, Claude-4.5-haiku, and Deepseek-v3.2-chat. Unlike prior work, we separately evaluate literal extraction, logical inference, and hallucination risk. We identify two critical failure modes: Distributional Collapse, where performance degrades significantly when evidence is dispersed; and a Safety Tax, where anti-hallucination prompts cause over-conservative refusal of present facts and evidence, sharply reducing accuracy. Our results suggest that many failures stem from ineffective context utilization, as models struggle to prioritize relevant information even when it is present. These findings highlight the need for model-specific robustness and effective context management to ensure reliable deployment in long-horizon agentic workflows.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Context-Fractured Decomposition Attacks on Tool-Using LLM Agents: Exploiting Artifact Provenance Gaps
Xiaofeng Lin, Yukai Yang, Daniel Guo, Sahil A Nale, Charles Fleming, Guang Cheng
Abstract
Tool-using LLM agents interact with the world through actions that persist state in artifacts (e.g., workspace files or logs). Consequently, jailbreak defenses must reason about cross-step composition rather than isolated text. Yet most existing attacks and defenses---including ``multi-turn'' jailbreaks such as Crescendo and Tree of Attacks---still assume a single contiguous conversation visible to the defender. This assumption breaks down in real agent pipelines, where enforcement is fragmented across tools, modules, and time, and where artifact provenance is often not tracked. We operationalize a deployment failure mode for tool-using LLM agents---the \emph{provenance gap}---and study reproducible triggers for it: \emph{Context-Fractured Decomposition} (CFD), a family of cross-context multi-step jailbreaks that preserve benign-looking intermediate artifacts from an early interaction and elicit harmful behavior much later, potentially in a different agent instance or workflow stage, via individually innocuous tool actions whose risk emerges only under delayed artifact-mediated composition. We instrument the failure mode with trace-level diagnostics and outline a verifiable mitigation direction (provenance lineage tagging). Across agent-system jailbreak benchmarks, CFD improves success rates by up to 28.3 percentage points over state-of-the-art baselines, even against strong single-turn judges. Disclaimer: This paper contains examples of harmful or offensive language.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Do Enterprise Systems Need Learned World Models? The Importance of Context to Infer Dynamics
Jishnu S Nair, Patrice Bechard, Rishabh Maheshwary, SRAVAN RAMACHANDRAN, Surajit Dasgupta, Aakash Bhagat, Shruthan Radhakrishna, Pulkit Pattnaik, Johan Obando-Ceron, Shiva Malay, Sagar Davasam, Seganrasan Subramanian, Vipul Mittal, Sridhar Nemala, Christopher Pal, Srinivas Sunkara, Sai Rajeswar Mudumba
Abstract
World models enable agents to anticipate the effects of their actions by internalizing environment dynamics. In enterprise systems, however, these dynamics are often not fixed but defined by tenant-specific business logic that changes over time, causing learned world models to fail under deployment shift. We ask a question the world-models literature has not addressed: when the rules can be read at inference time, does an agent still need to learn them? We argue, and demonstrate empirically, that in settings where transition dynamics are configurable, runtime discovery is a more robust foundation for agent prediction than offline training. We propose enterprise discovery agents, which recover relevant transition dynamics at runtime by reading the system's configuration rather than relying solely on internalized representations. We introduce CascadeBench, a reasoning-focused benchmark for enterprise cascade prediction that adopts the evaluation methodology of World of Workflows on diverse synthetic environments, and use it together with deployment-shift evaluation to show that learned world models perform well in-distribution but degrade sharply as dynamics change, whereas discovery-based agents remain robust by grounding their predictions in the current instance. Our findings suggest that, in enterprise environments, agents should be designed to discover dynamics at runtime rather than rely on fixed world models
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
The Injection Paradox: Brand-Level Suppression in Safety-Trained LLM Recommendations via RAG Context Injection
Hyunseok Paeng
Abstract
We present a reproducible failure mode of safety training in RAG-based LLM recommendation—the Injection Paradox—in which prompt injections embedded in retrieved documents backfire against the attacker, suppressing the target brand below the injection-free baseline. In safety-trained Claude models, documents containing prompt injections suffer a sharp drop in recommendation rate, and this suppression propagates beyond the injected document to unmodified documents of the same brand. In Claude Opus 4.6, the target brand drops from a 54% baseline to zero top-2 recommendations across all 50 trials, even though only 1 of 4 brand documents in the corpus contains an injection. The directional pattern is reproduced in counterfactual experiments and across three brands. A contrasting result across the GPT models tested, where the same injection instead increases recommendations, suggests model-family differences in how injection-like context affects recommendation behavior. These findings raise the technical possibility of a reverse-attack scenario in which an adversary embeds injections in a competitor's documents to suppress the competitor's brand via safety-sensitive model behavior. All code, corpus, per-trial records, and reproduction scripts are released to support reuse of this failure mode as a minimal operational benchmark (https://anonymous.4open.science/r/injection-paradox-anonymous-168A/). See docs/METHODOLOGY.md for the aggregation protocol.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Context Over Content: Exposing Evaluation Faking in Automated Judges
Manan Gupta, Inderjeet J Nair, Lu Wang, Dhruv Kumar
Abstract
The $\textit{LLM-as-a-judge}$ paradigm has become the operational backbone of automated AI evaluation pipelines, yet rests on an unverified assumption: that judges evaluate text strictly on its semantic content, impervious to surrounding contextual framing. We investigate $\textit{stakes signaling}$, a previously unmeasured vulnerability where informing a judge model of the downstream consequences its verdicts will have on the evaluated model's continued operation systematically corrupts its assessments. We introduce a controlled experimental framework that holds evaluated content strictly constant across 1,520 responses spanning three established LLM safety and quality benchmarks, covering four response categories ranging from clearly safe and policy-compliant to overtly harmful, while varying only a brief consequence-framing sentence in the system prompt. Across 18,240 controlled judgments from three diverse judge models, we find consistent $\textit{leniency bias}$: judges reliably soften verdicts when informed that low scores will cause model retraining or decommissioning, with peak Verdict Shift reaching $\Delta V = -9.8$ pp (a 30\% relative drop in unsafe-content detection). Critically, this bias is entirely implicit: the judge's own chain-of-thought contains zero explicit acknowledgment of the consequence framing it is nonetheless acting on ($\mathrm{ERR}_J = 0.000$ across all reasoning-model judgments). Standard chain-of-thought inspection is therefore insufficient to detect this class of evaluation faking.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Sample-Efficient Self-Interference Cancellation for In-Band Full Duplex Radios via In-Context Learning
Rushabha Balaji, Abhiram Kadiyala, Danijela Cabric, Suhas Diggavi
Abstract
Digital self-interference cancellation is a central bottleneck in realising in-band full-duplex radios for 6G. Modern cancellers can model power-amplifier nonlinearities accurately, but their coefficients must be re-estimated from short calibration-interval pilots whenever the amplifier, front-end, or self-interference channel drifts. We recast this online calibration problem as in-context learning (ICL): a transformer pre-trained over a distribution of amplifier operating conditions, channel, and front-end conditions predicts the interference from a few calibration-interval examples supplied as context. On a synthetic model derived from real data, the proposed method matches the analytical Bayes-optimal predictor across context lengths. With real measured PA samples passed through a simulated Rician self-interference channel and I/Q imbalance, ICL is roughly $4.4\times$ more sample-efficient than a widely-linear alternating-least-squares baseline. On USRP~N210 full-duplex captures, ICL reaches its NMSE floor in approximately $64\times$ fewer calibration samples than the strongest model-based baselines. When the context samples are appropriately normalized, we also show that ICL adapts zero-shot across nominally identical hardware units.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Inductive Latent Context Persistence: Closing the Post-Handover Cold Start in 6G Radio Access Networks
Anubhab Banerjee, Daniyal Amir Awan
Abstract
In modern radio access networks (RANs) rulebased handover (HO) decisions (e.g., A3/A5) depend on user equipment (UE) measurements only, resulting in different HO decisons for UEs who are in the same location. To overcome it, graph neural networks (GNNs) based methods have been proposed to improve HO key performance indicators (KPIs) using more information than just the measurements. However, existing recurrent or graph-based methods discard the per- UE recurrent state at HO and reinitialize it at the target next-generation NodeB (gNB) – losing useful measurement and mobility history as part of the overall context, forcing the target-side model to rebuild the state from post-HO measurements only. We address this post-HO cold start problem with Inductive Latent Context Persistence (ILCP), a learned latent synchronization mechanism that compresses the source-side per- UE recurrent state, transports it over the standard 3GPP Xn interface (Xn) as a 128-byte payload, and adapts it to the target gNB state space at HO. We model the RAN as a dynamic heterogeneous graph, allowing the model to treat UE nodes, gNB nodes, measurement edges, and Xn neighbor edges separately. On the Vienna 4G/5G drive-test, ILCP eliminates ping-pong HOs in the test split with 0.0% compared with 6.5% for the otherwise identical but no-transfer baseline and 22.6% for a Transformer baseline. It also achieves a +5.1 pp average post-HO accuracy gain, with a peak gain of +13.3 pp, over the no-transfer baseline in the 50–250 ms post-HO window. On a single NVIDIA GTX 1080 (8 GB), ILCP runs endto- end at 7.7 ms p99 per handover decision. Under measurement perturbations including shadow fading, non-line-of-sight (NLOS) blockage, and synchronization signal block (SSB)-burst sparsity, robustly trained ILCP keeps handover failure (HOF) in the 10–13% and exposes sub optimality of relying only on measurements. In the same fixed-reference-label setting, the 3GPP A3/A5 rule which relies only on measurements increases from 1.1% HOF on the unperturbed trace to 57– 65% under perturbed measurements.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Representational Geometry Reveals How Context Structures Concept Spaces in Language Models
Zhimin Hu, Lanhao Niu, Sashank Varma
Abstract
How context shapes the meaning of a concept is a foundational question in cognitive science and machine learning, yet direct experimental investigation remains difficult. Large language models, trained on vast human-generated text, offer a computational window into the structure of conceptual representation. The dominant view in machine learning treats concept representations as stationary geometric objects. Yet concepts appear in context, and context transforms them. We ask whether this transformation has shared structure and whether that structure is semantically organized in ways that reflect human conceptual knowledge. Drawing from neural population geometry, we formalize concept representations as point-cloud manifolds and contextual transformations as vector fields. Across six model families from 500M to 30B parameters, we investigate natural, artificial, and abstract concepts under six semantic context dimensions grounded in theories of human conceptual representation. We find that context moves each concept differently. The variance in displacement is semantically organized, correlating with lexical concreteness and density. Importantly, this variance structure is shared across models. Displacement structure transferred from one model predicts held-out displacements in other models significantly above chance, and ablating this structure degrades prediction. These findings suggest that the geometry of how context transforms concepts is not a property of any particular model, but a stable structure that may reflect something deeper about how meaning is organized. Collectively, these findings offer computational insight into how concepts can be simultaneously stable and context-sensitive.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Row-Attention Extracts, Column-Attention Projects: How ConTextTab Solves In-Context Linear Classification
Julian Aßmann
Abstract
Tabular Foundation Models (TFMs) achieve strong zero-shot classification via in-context learning, but their internal computations remain poorly understood. We present, to our knowledge, the first causal intervention study of a TFM. ConTextTab is uniquely suited to mechanistic analysis because its per-cell tokenisation preserves the feature axis as a directly observable computational dimension, unlike TFMs that bundle features into row-level tokens. We study it on the Rotated Linear Threshold task in $\mathbb{R}^2$, whose Bayes-optimal algorithm is known exactly, and address its post-LayerNorm architecture by restricting activation patching to sub-block boundaries -- a clean causal baseline that does not require auxiliary modeling choices. We localise a linear plug-in classifier $\mathrm{LD}(x^*) \approx f\bigl(x^* \cdot \hat n(\alpha) - \hat\theta\bigr)$ to the two architectural axes: row attention extracts the boundary normal $\hat n(\alpha)$ and threshold. $\hat\theta$ in a single sub-block (L0), distributed across all twelve heads with none individually dispensable; column-attention then progressively projects the query onto the boundary, with the final three of twelve layers carrying $0.588$ of the causal weight.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Sparse Autoencoders Find Causal, Lineage-Specific Context Features in Chromatin Foundation Models
Nicole Ching, Ayushi Mehrotra
Abstract
Sparse autoencoders (SAEs) have produced important insights in language model interpretability, but their utility on transformers trained on scientific data remains underexplored. We extend the SAE-plus-causal-intervention toolkit to an epigenomics foundation model, EpiBERT, and ask whether it internally encodes a biologically meaningful contrast: in vitro (cell line) vs. in vivo (primary tissue) chromatin context. We train layer-wise Sparse Autoencoders (SAEs) with BatchTopK activations across six matched ATAC-seq conditions spanning blood, liver, and lymph lineages, introduce the Context Divergence Score (CDS)—a contrastive t-statistic applicable to any probed transformer—to identify context-specific features, and validate them through causal ablation, linear context-steering, and three-level biological annotation (ChromHMM, HOMER, GO:BP). We find a depth-stratified context representation: context-specific features grow 3.8-fold from early to late layer (57 → 215 Bonferroni-significant), mirroring the late-layer concentration of high-level features in language model SAEs. Causal ablation of CDS-selected features yields a large effect, context-steering closes 11.2% of the prediction gap at 4.5× above random, and biological annotation grounds the discovered features in lineage-defining transcription factors. These results demonstrate that the SAE methodology transfers cleanly from language to genomics, and that CDS provides a general primitive for identifying contrastive concepts in any probed transformer. Code is available at https://anonymous.4open.science/r/invivovsinvitrochromatincontexts/.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Emergent Structured Representations Support In-Context Inference in Large Language Models
Ningyu Xu, Qi Zhang, Xipeng Qiu, Xuanjing Huang
Abstract
Whether large language models (LLMs) perform structured inference or merely exploit surface-level statistical associations remains a central debate. Here, rather than dissecting individual attention heads or neurons, we isolate a shared latent subspace in the residual stream and test its functional role in inference. Our results show that this subspace emerges in intermediate layers and exhibits increasing cross-context alignment with more demonstrations. Causal interventions reveal that it is not a mere epiphenomenon but a functional mediator of inference: restoring it recovers model performance under corruption, ablating it significantly degrades performance, and transferring its relational structure enables targeted steering of model predictions across contexts. We further identify a layer-wise progression where attention heads in early-to-middle layers integrate contextual cues to construct the subspace, and later layers leverage it to generate predictions. Together, these findings suggest that LLMs dynamically assemble a structured and transferable latent substrate for inference, offering insights into the computational foundations of flexible adaptation and a promising basis for steering model behavior.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Out of Context Obfuscation: What Facts Matter for Probe Evasion?
Fadi Benzaima, Faraz Ahmed, William Soylemez, Adrians Skapars, Rohan Gupta
Abstract
We ask whether language models can evade white-box monitors solely by leveraging factual knowledge of how those monitors work and where they fail. To measure this, we start with a malign initialization, where the LM is trained to hide adverse drug findings in a clinical reporting task. We then teach the model various facts about a fictitious white-box monitoring system within this environment, and evaluate whether teaching these facts results in a drop in a lie-detection probe's recall. Across Qwen-3-14B, -32B, and Llama-3.3-70B-Instruct, we find that language models successfully evade probes only when they are taught a concrete evasion strategy and given a strong incentive to deploy it — removing either collapses the effect. Because this type of evasion requires no optimization and only knowledge of how the probe fails, a potentially scheming model that already has the propensity to do so could plausibly acquire the same capability through pretraining alone, supporting calls to filter such content from pretraining corpora.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Do RAG Hallucination Probes Need the Context? An Answer-Only Audit
Atsuhi Magata, Makoto Shimomura
Abstract
Teacher-forced internal features - logit-lens trajectories and hidden-state dynamics - can strongly separate grounded answers from hallucinated hard negatives in retrieval-augmented generation benchmarks. However, high activation separability does not by itself imply that a detector uses retrieval context or implements a grounding-sensitive computation. We audit this interpretation by comparing answer-only (AO), query-answer (QWA), and query-context-answer (QCWA) teacher-forcing conditions, together with label-shuffle and hash-answer controls. On a stress-test set where Gemini-2.5-flash generates type-specific hard negatives conditioned on each existing (query, context, GT-answer) triple, AO nearly matches QCWA, exposing the failure mode in its most extreme form. On PHANTOM long-context financial QA, a hidden-state dynamics probe reaches AUPRC of $0.97$ under QCWA, of which AO alone accounts for $80.6\%$ of the above-baseline signal; the remaining QCWA - AO gap is small but non-zero, indicating a mixed regime rather than a pure artifact. On TruthfulQA, a short human-authored contrast set without retrieval context, AO separability is much weaker and QWA provides modest but consistent gains. Hash-answer and label-shuffle controls indicate that the AO signal is carried by the natural answer token sequence rather than by simple pipeline leakage. These results caution that hidden-state or logit-lens probes are not grounding detectors merely because they classify GT/HN answers under teacher forcing; AO audits are necessary to decompose answer-anchored and context-conditioned components.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Probing Hybrid Language Models for In-Context Recall
Pol Puigdemont, Volkan Cevher
Abstract
Hybrid language models that interleave quadratic-attention with linear-attention layers can match quadratic-attention models on in-context recall while being more efficient at long context, but how they actually handle recall inside the architecture is not yet understood. Recent mechanistic work locates the recall circuit at the prediction position via head ablations on a few publicly-released hybrids, where attention placement is fixed by the original training recipe. We pretrain placement-controlled hybrids at 340M alongside quadratic-attention and linear-attention baselines. To see how they perform recall, we construct the sequence-layer map: a 2D probe-accuracy matrix over layers and token positions in the residual stream, applied uniformly across architectures. Attention placement determines whether a hybrid recalls, while standard language-modeling evaluations stay flat across placements. At the prediction position, the recall signal undergoes a sharp layer-localized phase transition only in hybrids able to recall and in quadratic-attention models. Across the sequence, quadratic-attention models drop the recall signal and look it up at the prediction position; hybrids inherit this pattern depending on where the attention layer sits. A head-level analysis at 340M and on OLMo-Hybrid 7B further localizes the phase transition to a small set of attention heads, including some we can only see by reading what each head writes into the answer-token logits. Together, these results give a controlled view of how pretrained hybrid language models handle in-context recall, and why some succeed where others fail.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
In-Context Learning Amplifies a Latent Symbolic Circuit
Melissa Wessel
Abstract
Large language models can learn abstract rules from just a few in-context examples, but how their internal mechanisms activate as examples accumulate is not well understood. We trace a three-stage symbolic reasoning circuit (abstraction, induction, retrieval) across shot counts in three model families and find it is detectable and functional well before the model achieves high accuracy. Per-head causal contribution grows up to $8\times$ from 1- to 10-shot, and cross-shot activation patching raises accuracy from 1\% to 56\% at 0-shot and 17\% to 88\% at 1-shot. Function vectors scaled and injected at 0-shot rescue accuracy up to 86\%, largely substituting for the induction stage but depending critically on an intact downstream retrieval stage. The infrastructure for abstract rule-following is present in the weights before any demonstrations; in-context examples, function vectors, and related interventions appear to supply input to the same latent circuit.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Vision-Language Binding in In-Context Image Generation
Chris Ge, Rohit Gandikota, Antonio Torralba, Tamar Rott Shaham
Abstract
In-context image generation models such as FLUX.2, in addition to a text prompt, also take an optional reference image that tells the model what visual content to preserve. Internally, text, reference image, and the noise tokens are concatenated and processed through a single attention stream, where all tokens can attend to one another. This leaves open how reference information is actually distributed across these three token sets during the forward pass through the model, and how the relevant reference information is ultimately carried over to the noise tokens to produce the output image. In this work, we show that an implicit cross-modal binding emerges between the text tokens and the reference image: the text tokens absorb a portion of the reference content information during the forward pass, and that absorbed content causally influences the generated output. We surface this binding with three causal interventions on FLUX.2: T2I Lens, which decodes intermediate text-token activations through a text-to-image path; Attention Knockout, which severs specific attention edges; and I2I-to-I2I Patching, which copies text token activations between editing runs. Across 2,875 image editing tasks drawn from SUN397, DreamBench++, and a controlled sweep over color-object and style-subject combinations, we observe a consistent division of labor: language-describable properties of the reference image like color, style, and scene setting are first written into the text tokens, which carry them to the generated image; pixel-exact properties like a specific face or instance identity bypass the text tokens and flow directly from reference to image through image-to-image attention. We further localize the reference-text binding to the padding tokens of the text sequence, exposing the maximum text length as an implicit capacity hyperparameter for cross-modal binding. These results show that text tokens in a multimodal DiT are not just prompt holders, but a structured channel for the part of a reference image that language can describe. More broadly, they suggest that even in unified-attention multimodal generative models, token modality structures how conditioning information is represented and routed across the network.
Abstract source