ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
421–440 of 607
- ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Learning Human Habits with Rule-Guided Active Inference
Zhiren Gong, Chao Yang, Wendi Ren, Shuang Li
Abstract
Humans navigate daily life by combining two modes of behavior: deliberate planning in novel situations and fast, automatic responses in familiar ones. Modeling human decision-making therefore requires capturing how people switch between these modes. We present a framework for learning human habits with rule-guided active inference, extending the view of the brain as a prediction machine that minimizes mismatches between expectations and observations, and computationally modeling of human(-like) behavior and habits. In our approach, habits emerge as symbolic rules that serve as compact, interpretable shortcuts for action. To learn these rules alongside the human models, we design a biologically inspired wake--sleep algorithm. In the wake phase, the agent engages in active inference on real trajectories: reconstructing states, updating beliefs, and harvesting candidate rules that reliably reduce free energy. In the sleep phase, the agent performs generative replay with its world model, refining parameters and consolidating or pruning rules by minimizing joint free energy. This alternating rule–model consolidation lets the agent build a reusable habit library while preserving the flexibility to plan. Experiments on basketball player movements, car-following behavior, medical diagnosis, and visual game strategy demonstrate that our framework improves predictive accuracy and efficiency compared to logic-based, deep learning, LLM-based, model-based RL, and prior active inference baselines, while producing interpretable rules that mirror human-like habits.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering
Manan Gupta, Dhruv Kumar
Abstract
Large language models frequently commit unrecoverable reasoning errors mid-generation: once a wrong step is taken, subsequent tokens compound the mistake rather than correct it. We introduce $\textbf{Latent Phase-Shift Rollback}$ (LPSR): at each generation step, we monitor the residual stream at a critical layer $l_{crit}$, detect abrupt directional reversals (phase shifts) via a cosine-similarity $+$ entropy dual gate, and respond by rolling back the KV-cache and injecting a pre-computed steering vector. No fine-tuning, gradient computation, or additional forward passes are required. LPSR achieves $\mathbf{44.0\%}$ on MATH-500 with an 8B model versus $28.8\%$ for standard AR ($+15.2$ pp; McNemar $\chi^2 = 66.96$, $p < 10^{-15}$). Critically, prompted self-correction, the most natural inference-time baseline, scores only $19.8\%$, below standard AR; LPSR exceeds it by $+24.2$ pp ($\chi^2 = 89.4$, $p \approx 0$). LPSR also outperforms Best-of-16 ($+7.8$ pp) at $5.4\times$ lower token cost, and surpasses a standard 70B model ($35.2\%$) with $8.75\times$ fewer parameters at ${\sim}3\times$ the token budget. A 32-layer sweep reveals a novel $\textbf{detection-correction dissociation}$: error-detection AUC peaks at layer-14 ($0.718$) but task accuracy peaks at layer-16 ($44.0\%$ vs. $29.2\%$), demonstrating that optimal monitoring depth differs for detection and correction.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
JUMP: Single-Pass Membership Inference on Fine-Tuned Diffusion Language Models
Yeachan Jun, Albert No
Abstract
Membership inference attacks (MIAs) test whether a candidate example appeared in a model's training data. We study MIAs for fine-tuned discrete diffusion language models (dLLMs), where membership means inclusion in the target model's fine-tuning set. Unlike autoregressive language models, dLLMs allow an attacker to choose arbitrary mask sets and obtain token distributions for all masked positions in parallel. The prior dLLM attack, SAMA, follows a natural loss-mimicking strategy by averaging reconstruction signals over many randomly sampled masks, but it uses the any-order interface only as randomization and requires many target/reference queries. We propose \textsc{JUMP} (\emph{Joint Uncertainty-Guided Mask Probing}), a single-pass scoring attack that exploits both distinctive properties of dLLMs: any-order decodability is used to select low-reference-confidence positions, and parallel decodability is used to score all selected positions through one joint masked query per model. \textsc{JUMP} masks the selected positions jointly and computes a clipped target/reference reconstruction-gap statistic. On fine-tuned LLaDA-8B-Base across six MIMIR domains, \textsc{JUMP} improves mean ROC-AUC from $0.82$ to $0.90$ over SAMA and substantially improves low-FPR detection, while requiring only one selector pass and one scoring pass through each of the target and reference models.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Boltz-Perturb: Probing Generalization in Co-Folding Models via Inference-Time Perturbation
Hyeyun Jung, Alan Cheng, BoRam Lee
Abstract
AlphaFold3-style co-folding models are powerful deep generative models (DGMs) for biomolecular structure prediction, yet they exhibit low-diversity outputs that frequently miss correct small molecule binding modes. We present Boltz-Perturb, a training-free perturbation framework that injects time-annealed noise into the conditioning signals of Boltz-2's denoising module during inference. Through true-coordinate injection experiments, we establish that the model's learned energy landscape already encodes correct binding-mode basins, reframing the problem as a sampling deficiency. We introduce Token Bias Perturbation (TBP) and Token Conditioning Perturbation (TCP), targeting attention biases and token embeddings, respectively. Notably, TCP raised oracle success rate from 17.7\% to 30.6\% using three-fold fewer samples across 62 targets. Our results support that co-folding models learn more than they express, but redundant, sample-identical conditioning masks the sampling paths toward correct structures. To our knowledge, this is the first perturbation analysis of an AF3-style co-folding architecture for small-molecule binding mode diversity, demonstrating that conditioning perturbation can unlock latent capacity for drug discovery without retraining.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Same Facts, Different Updates: Inference Setup Shapes LLM Behavior in Medical Allocation
Spencer Gibson, Tyler Crosse, Magnus Saebo, Achyutha Menon, Eyon Jang, Diogo Cruz
Abstract
Large language models are being incorporated into sensitive and important decision-making processes across nearly all fields. While prior work studies model bias around inputs and scenario framing, models can also behave in unexpected and undesirable ways due to context accumulated over their deployment. In this work, we study a medical example in which a model is asked to assign resource-allocation probabilities to two people given brief clinical context, and then sees the same scenario with a single extra sentence containing contrasting patient information, either with or without its previous response in context. Across three of four tested models, the paired-context and independent-inference experiments have different probability shifts, often in opposite directions (in favor of Person B vs. in favor of Person A) when new information is provided. We include additional paired-context experiments to show the effect of varying attributes across scenario axes. Our findings show the context-dependent effect of patient information in a sensitive medical use case. More broadly, our work shows the importance of carefully incorporating LLM-based systems into decision-making processes, context engineering, and further model behavioral studies.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
ALIGNBEAM: Inference-Time Alignment Transfer via Cross-Vocabulary Logit Mixing
Chirag Chawla, Pratinav Seth, Vinay k Sankarapu
Abstract
Domain fine-tuning erodes the safety alignment of large language models, leaving specialists willing to comply with harmful prompts framed in appropriate language. Safety prompts are ignored by base models, post-generation classifiers do not steer generation, and retraining presupposes weights, data, and compute. Inference-time logit-mixing methods assume a shared vocabulary, ruling out cross-family pairings. We present ALIGNBEAM, an inference-time method that blends the token-level distribution of a specialist draft with that of a small aligned anchor at each decoding step. A cross-vocabulary text bridge decodes the anchor token and re-encodes it under the specialist tokeniser, enabling probability mixing without shared token IDs. Generation proceeds in three phases: priming to produce K beam roots, N steps of mixed decoding, and draft continuation after an LLM judge selects the safest beam. Across seven specialist and anchor pairs in both base and instruct regimes and across same and cross-vocabulary settings, ALIGNBEAM substantially raises refusal rates on adversarial benchmarks while preserving task utility. The depth ablation corroborates the early-token safety hypothesis: most of the safety gain is captured within the first few mixed steps. ALIGNBEAM is training-free, vocabulary-agnostic, and exposes safety, speed, and utility trade-offs as user-tunable parameters.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
DiTCarbon: Predictive Carbon Footprint Estimation for Diffusion Transformer Inference
Jon Maravilla, Justin Kur, Kaiqi Zhao
Abstract
Diffusion Transformers (DiTs) are moving into consumer image and video products, where high per-request inference cost makes carbon emissions a major deployment concern. Existing works either measure carbon at runtime or predict lifecycle carbon for autoregressive transformers. However, none estimates full-lifecycle carbon directly from a DiT architecture and generation configuration. We propose DiTCarbon, the first framework that combines parameter, FLOP, hardware efficiency, and lifecycle accounting models to predict carbon for class-conditional, text-conditional, dual-stream, and video DiT variants. Across 83 V100 configurations, hardware efficiency varies by 6.4$\times$. A pooled saturation fit predicts hardware efficiency within 7.8\% MAPE in the production regime (resolution $\geq 512^2$). Predicted operational carbon agrees with measured ground truth (from wall-clock runtime and NVML GPU power) within 10.7\% MAPE in the production regime. For a representative deployment, regional carbon varies $45\times$, making deployment region the largest lever for reducing per-output emissions as DiT services move into consumer products.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering
Manan Gupta, Dhruv Kumar
Abstract
Large language models frequently commit unrecoverable reasoning errors mid-generation: once a wrong step is taken, subsequent tokens compound the mistake rather than correct it. We introduce $\textbf{Latent Phase-Shift Rollback}$ (LPSR): at each generation step, we monitor the residual stream at a critical layer $l_{crit}$, detect abrupt directional reversals (phase shifts) via a cosine-similarity $+$ entropy dual gate, and respond by rolling back the KV-cache and injecting a pre-computed steering vector. No fine-tuning, gradient computation, or additional forward passes are required. LPSR achieves $\mathbf{44.0\%}$ on MATH-500 with an 8B model versus $28.8\%$ for standard AR ($+15.2$ pp; McNemar $\chi^2 = 66.96$, $p < 10^{-15}$). Critically, prompted self-correction, the most natural inference-time baseline, scores only $19.8\%$, below standard AR; LPSR exceeds it by $+24.2$ pp ($\chi^2 = 89.4$, $p \approx 0$). LPSR also outperforms Best-of-16 ($+7.8$ pp) at $5.4\times$ lower token cost, and surpasses a standard 70B model ($35.2\%$) with $8.75\times$ fewer parameters at ${\sim}3\times$ the token budget. A 32-layer sweep reveals a novel $\textbf{detection-correction dissociation}$: error-detection AUC peaks at layer-14 ($0.718$) but task accuracy peaks at layer-16 ($44.0\%$ vs. $29.2\%$), demonstrating that optimal monitoring depth differs for detection and correction.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Select-then-Solve: Paradigm Routing as Inference-Time Optimization for LLM Agents
Heng Zhou, Zelin Tan, Zhemeng Zhang, Yutao Fan, Yibing Lin, Li Kang, Xiufeng Song, Rui Li, Songtao Huang, Ao Yu, Yuchen Fan, Yanxu Chen, Kaixin Xu, Xiaohong Liu, Yiran Qin, Phil Torr, Chen Zhang, Zhenfei Yin
Abstract
When an LLM-based agent improves on a task, is the gain from the model or from the reasoning paradigm wrapped around it? We study this question by comparing six inference-time paradigms, namely Direct, CoT, ReAct, Plan-Execute, Reflection, and ReCode, across four frontier LLMs and ten benchmarks, yielding roughly 18k runs. We find that reasoning structure helps dramatically on some tasks but hurts on others: ReAct improves over Direct by 44pp on GAIA, while CoT degrades performance by 15pp on HumanEval. No single paradigm dominates, and oracle per-task selection beats the best fixed paradigm by 17.1pp on average. Motivated by this complementarity, we propose a \emph{select-then-solve} approach: before answering each task, a lightweight embedding-based router selects the most suitable paradigm. Across four models, the router improves average accuracy from 47.6\% to 53.1\%, outperforming the best fixed paradigm at 50.3\% by 2.8pp and recovering up to 37\% of the oracle gap. In contrast, zero-shot self-routing only works for GPT-5 at 67.1\% and fails for weaker models, all trailing the learned router. Our results argue that reasoning paradigm selection should be a per-task decision made by a learned router, not a fixed architectural choice.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
SIEVE: When Small Language Models Look in the Mirror Limits of Inference-Only Self-Verification across Model Families and Tasks
Doguk Kim
Abstract
Agentic pipelines increasingly delegate correctness checking to the generator model, replacing human oversight with intrinsic self-verification. We ask when this delegation is safe for small language models (SLMs). We present SIEVE, a controlled study of six instruction-tuned SLMs (Qwen3.5 and Gemma4, 2B--31B) on GSM8K and HumanEval under four conditions: no verification (A), naive self-check (B), role-separated verification (C), and a high-capability external verifier (D, Gemini~3 Flash Preview). Three findings emerge. (i) On GSM8K, naive self-check produces a non-positive $\Delta$ for every tested model, with the magnitude statistically distinguishable from zero only at the lower end of the size tier (e.g., Qwen3.5-4B at $-15.5$pp; smaller drops for Qwen3.5-9B and Gemma4-E4B have CIs that overlap the baseline). (ii) Nominal gains for Gemma on HumanEval under self-verification have bootstrap CIs that overlap the baseline and remain unconfirmed. (iii) The external verifier is not a universal upper bound: with the prompt fixed, iteration-1 false-rejection rates on Condition-A-correct GSM8K answers span $0.0\%$ to $14.4\%$ across targets, and the same verifier exhibits up to $89.5\%$ false-acceptance on incorrect Gemma answers. We frame these as reproducible failure triggers and argue that SLM self-verification reliability is not a simple function of scale.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Triggers and Diagnostics for LLM-Based Interpretability Failures in Active Inference Agents
Archana Vaidheeswaran, Param Raval, Rohit Shenoy
Abstract
LLM-based interpretability layers are increasingly proposed as runtime oversight for autonomous agents, but the failure modes of the explainer itself remain understudied. We report a black-box audit of an LLM-augmented Active Inference (AIF) agent operating on German energy grid data, across three LLM backends (GPT-4o, Claude-3-Opus, Gemini). The lead result: 0 of 30 explanations flag an adversarial 600 MW per-step observation injection (490 MW posterior shift,≈0.9% of grid capacity) under a stated flagging rubric. This is a single-magnitude result without a non-LLM detector baseline; the dose–response sweep and the trivial-detector comparison required to elevate it to a general-blindness claim are not yet run. We additionally document (ii) sycophantic rationalization of objectively wrong actions at 80–95% rates (n = 20/backend, Wilson 95% CIs overlap), under a deployment-realistic prompt that is itself sycophancy-leaning, and (iii) qualitative, provider-dependent prompt-injection susceptibility, with data exfiltration succeeding on every provider tested. We list candidate mitigations but evaluate none of them; verified-fix evaluation is the primary v2 work item. The structural claim is that fluent explanation and faithful oversight are distinct capabilities the explainer pattern silently conflates, and that the agentic-AI failure-mode catalog should therefore be extended past the agent itself to include the supervisory LLM stack designed to watch it.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Constrained Trajectory Optimization for Inference-Time Logic Recovery in Small Language Models
Akash Das
Abstract
While Small Language Models (SLMs) possess significant latent knowledge, their deployment in autonomous agentic workflows is often hindered by 'Distributional Myopia'—a mechanical failure of autoregressive decoding that leads trajectories into irreversible logical sinks. In this work, we characterize these failure modes as a consequence of local optimization ignoring global manifold curvature. To provide a robust solution, we introduce VISTA (Variational Inference-time Steering for Trajectory Alignment), a control-theoretic framework that serves as an external executive function for compact models. VISTA implements a proactive recovery mechanism through three interdependent modules: a linearized predictive buffer for $\mathcal{O}(H)$ foresight, a dual-space stabilization engine to dampen trajectory jitter, and a boundary controller that enforces hard logical anchors via deterministic KKT projections. Beyond aggregate performance gains on MATH500 and IFEval, we provide a granular horizon breach diagnostic analysis, characterizing the precise temporal boundaries where steering intensity must overcome distributional drift. Our empirical results demonstrate that VISTA enables 1B- and 3B-parameter agents to maintain 95% logical adherence at critical junctures where unsteered baselines collapse. By transitioning from stochastic sampling to principled geometric control, we establish a verifiable path for deploying resilient, reasoning-capable agents on resource-constrained hardware.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Dual-Resolution Recursive Energy: Certified Contract–Expand Inference for Sequential Decision Making
Haozhou Gao, ZENG JIARUI, Wendi Ren, Yanwen Liu, Shuang Li
Abstract
Fast habits and slow deliberation are usually modeled as separate systems. We propose a different view: System 1 and System 2 are two resolutions of the same recursive energy. A candidate decision is represented by a tree-structured energy whose root score determines the preferred action. The tree can be evaluated coarsely, by replacing subtrees with learned macro-energies, or finely, by expanding selected subtrees into their lower-level reasoning steps. In this view, a habit is a certified compressed evaluation, while deliberation is selective expansion of the same decision structure. The model switches resolution through learned certificates rather than a separate heuristic gate. If the contracted energy is sufficient to certify the current action choice, the model acts immediately; otherwise, it expands only the uncertain parts of the tree. Training follows a wake–sleep procedure: wake fits expert actions and records useful expansions, while sleep distills these expanded evaluations into macro-energies and calibrates contraction certificates. At test time, the same certificates guide online contract–expand decision making under a compute budget. This yields an imitation-based model of adaptive deliberation in which reasoning effort is allocated only when needed, while expansion traces expose over-contraction failures and learned certificates guide additional recursive expansion when compressed evaluations become unreliable.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Distribution-Free Adaptive Modulation and Coding via Online Conformal Inference under Non-Stationary Fading
Soham Batra, Siddharth Karuturi, Kaustubh Bukkapatnam, Laksh Patel, Tanush A Shastry, Matthew Park
Abstract
Machine learning--based adaptive modulation and coding (ML-AMC) has demonstrated strong empirical performance for next-generation wireless systems, yet existing approaches provide no formal guarantees on block error rate (BLER) coverage under the non-stationary fading conditions ubiquitous in 5G-NR and 6G deployments. We propose Conformal-AMC, a principled framework that wraps any pre-trained MCS classifier with online adaptive conformal inference (ACI) to produce prediction sets with finite-sample, distribution-free miscoverage guarantees. The central theoretical contribution is a tight bound on time-averaged miscoverage that decomposes into an adaptation-noise term, a non-stationarity penalty governed by the channel Markov chain's mixing time $\tau_{\text{mix}}$, and a total-variation drift $V_T$; this decomposition yields a closed-form, Doppler-adaptive learning rate $\eta_{\text{Jakes}}^*$ computable entirely from pilot-estimated channel statistics, requiring no labeled data or manual tuning. We further establish a two-sided coverage--throughput tradeoff (Theorem 4.4) and prove that antenna diversity monotonically tightens the guarantee (Theorem 4.5). Experiments under 3GPP TDL channel models at UE speeds of 3--500~km/h show that Conformal-AMC tracks the target miscoverage level $\alpha = 0.10$ to within $\pm 0.012$ across all speed transitions while achieving a singleton rate of 82.4\%---exceeding the 77.1\% of Split CP and 75.3\% of OLLA at the same coverage level---with all pairwise improvements over baselines significant at $p < 0.001$.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Beyond Type-II: Site-Specific Subspace Inference for Efficient CSI Feedback
Cheng-Jie Zhao, Zhaolin Wang, Zongyao Zhao, Yuanwei Liu
Abstract
We propose a site-specific Type-II feedback design for downlink limited-feedback beamforming. The paper first formulates an effective-rate objective that couples channel-state information (CSI) probing, user equipment (UE)-side compression, base station (BS)-side reconstruction, and online overhead. Guided by this objective, the BS uses a low-overhead synchronization signal block (SSB) reference signal received power (RSRP) fingerprint and a learned site-specific propagation prior to infer a UE-dependent dominant beam subspace before explicit CSI acquisition. The UE then estimates and reports only the effective channel coefficients in this subspace, avoiding full-dimensional online subspace search while retaining a Type-II-style multi-beam representation. We analyze the resulting subspace-capture behavior and jointly optimize the probing codebook and subspace inference network for channel-energy preservation. Experiments show Type-II-comparable capture quality with lower online overhead and UE-side complexity, leading to higher effective spectral efficiency.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Risk-Calibrated Semantic Transmission for Communication-Efficient Heterogeneous Collaborative Inference
Byeonghyeon Park, Joonhyuk Kang
Abstract
This paper proposes a risk-calibrated heterogeneous collaborative inference framework that deploys a lightweight CNN at the edge and a high-capacity ViT at the server. The proposed method uses Conformal Risk Control (CRC) to calibrate the edge-side acceptance threshold with a finite-sample guarantee on the risk of incorrect local acceptance, while Adaptive Prediction Sets (APS) and Grad-CAM are combined to generate class-aware saliency maps for selective patch transmission. By transmitting only semantically informative patches when server inference is required, the proposed framework reduces communication cost while preserving inference accuracy. Experimental results on ImageNet demonstrate that the proposed method achieves 81.05% Top-1 accuracy with a communication cost of 0.26, corresponding to a 74% reduction over full-image transmission.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Tracing Psychometric Inference in Large Language Models
Chih-Hao Hsu, Feng-Chun B Chou, Pin-Hao A Chen
Abstract
Do large language models represent psychological constructs internally, or do they only generate outputs that resemble psychometric structure? We address this question using a cross-persona paradigm across 14 models (Llama3 and Qwen2.5, 0.5B--14B, base and instruct). Given responses on one psychological scale from real individuals ($N = 272$), models predict responses on six other scales. At the behavioral level, LLMs reproduce human cross-scale correlation structure and systematically amplify it, with model-generated correlations exceeding human estimates even after correcting for measurement attenuation. We then examine whether this structure is reflected internally. Contrastive direction analysis reveals an organized geometry in activation space aligned with psychometric relationships. This structure emerges in large instruct models but is not observed in base models. Across models, geometry strength predicts behavioral amplification ($r = 0.68$, $p = 0.008$; partial $r = 0.69$ controlling for log size), independent of model size. To relate internal structure to output behavior, a matched activation-probing paradigm shows that representational amplification is less variable than behavioral amplification ($1.38$--$1.77$ vs $0.53$--$1.53$). A synthetic control with known ground-truth structure shows that this range survives subtraction of a ridge-probe baseline ($\approx 1.3$), with adjusted slopes still predicting behavior at $r = 0.88$. We term the systematic representation-to-behavior gap \emph{readout attenuation}. Together, these findings suggest that LLMs encode structured representations aligned with psychological constructs, while differences in output primarily reflect how these representations are read out.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention
Zehao Jin, Ruixuan Deng, Junran Wang, Xinjie Shen, Chao Zhang
Abstract
Activation steering has emerged as a promising alternative for controlling language-model behavior at inference time by modifying intermediate representations while keeping model parameters frozen. However, large-scale evaluations such as AxBench show that existing steering methods are often outperformed by simple in-context prompting and generalize poorly to unseen concepts. We hypothesize that these limitations arise from unvalidated simplifying assumptions shared across prior methods, which typically restrict steering interventions to fixed, single-step, position-invariant transforms. We propose FLAS (Flow-based Activation Steering), which learns a general, concept-conditioned velocity field $v_t(h,t,c)$ that transports unsteered activations to steered ones without relying on these assumptions. On AxBench, FLAS is the first learned method to consistently outperform prompting, reaching held-out harmonic means of $1.015$ on Gemma-2-2B-IT and $1.113$ on Gemma-2-9B-IT without per-concept tuning. Analysis of the learned flow shows curved, multi-step, token-varying trajectories, which suggests that previous hypotheses on activation space geometry might be incomplete. Our code is available at https://anonymous.4open.science/r/FLAS.
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
Reasoning aligns language models to human inference
Gonçalo Guiomar, Elia Torre, Pehuen Moure, Victoria Shavina, Mario Giulianelli, Shih-Chii Liu, Valerio Mante
Abstract
Do language models make decisions under uncertainty like humans do? And if so, what role does extended reasoning play in the underlying decision process? We answer this question by introducing an active probabilistic reasoning task that cleanly separates sampling (actively acquiring evidence) from inference (integrating evidence towards a decision). Benchmarking humans and a broad set of contemporary LLMs against optimal reference policies reveals a consistent pattern: extended reasoning is the key determinant of strong performance, driving large gains in inference, while yielding only modest improvements in active sampling. To explain these differences, we fit a behavioral model that captures systematic deviations from optimal Bayesian behavior through interpretable parameter families, placing humans and models in a shared low-dimensional cognitive space. The resulting fits show how reasoning shifts models toward human-like regimes of evidence accumulation and belief-to-choice mapping, and yield testable predictions about the latent dynamics that might drive each decision. Probing residual-stream activations of an open-weight reasoning model, we find that the geometry of internal representations tracks these predicted dynamics, linking behavior to representational correlates of the fitted latent dynamics.
Abstract source