Skip to content

NeurIPS papers

Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.

Explore the NeurIPS analysis

Search results

41–60 of 450

  • NeurIPS · Main conference

    Every Sample Counts: Supervised Fine-Tuning of Language Models with Pointwise Constraints

    Ignacio Hounie, Ignacio Boero, Alejandro Ribeiro

    Abstract

    Finetuning Language Models often requires enforcing constraints on individual inputs without compromising performance. However, current alignment methods typically impose constraints only on average, which can induce undesirable disparities across inputs or users. We propose a finetuning framework that addresses this limitation by enforcing alignment requirements as per-sample constraints. To handle the optimization challenges inherent in this approach, we utilize an augmented Lagrangian formulation in the dual domain. Since pointwise constraints can be overly restrictive in low-probability regions or in the presence of outliers, we introduce a learned, sample-dependent relaxation that minimally relaxes constraints to optimize objective performance. We demonstrate the versatility of our framework across three small language model tasks: safety in instruction following, preference satisfaction in function calling, and length-aware re-ranking. Across these settings, our approach reduces tail constraint violations while largely preserving or improving downstream performance

    Abstract source
  • NeurIPS · Main conference

    AlgoPilot: Cross-Paradigm Reasoning in Language Models via Strategy Selection and Guidance

    Yilun Hao, Ruixiao Yang, Hudson Hilal, Yongchao Chen, Kaizhi Qian, Yada Zhu, Yang Zhang, Chuchu Fan

    Abstract

    Real-world problems span diverse domains, including program synthesis, symbolic reasoning, planning, and optimization, and often require fundamentally different solution paradigms. A central challenge for LLM-based reasoning is twofold: identifying an appropriate problem-solving approach and formulating it correctly. In this paper, we propose AlgoPilot, a cross-paradigm reasoning framework that enables adaptive selection of the solving approaches and structured problem formulation prior to execution. The AlgoPilot framework contains three components: 1) a SteerLM, trained via supervised fine-tuning (SFT) and reinforcement learning (RL), that adaptively selects the solving strategy (paradigm and modes) based on input problems, 2) the corresponding expert GuideLM, trained via SFT, that generates structured formulation guidance tailored to the selected strategy, and 3) an ExecutionLM that generates solutions conditioned on both the selected strategy and its formulation. Unlike prompting-based methods that rely on fixed reasoning templates, our approach learns to adaptively choose and structure problem-solving strategies based on the input. We build AlgoPilot on Qwen3-8B and evaluate across 5 problem categories and 13 benchmarks with 66 unique domains, comparing against both the latest similarly scaled small models and large LLMs. AlgoPilot significantly improves average accuracy for the same model from 38.4\% to 72.9\%, outperforming the best large LLM prompting baseline GLM-5 by 11.7\%. Ablation studies confirm the effectiveness of each component. Notably, we show that the learned steering and formulation modules can transfer across execution models, suggesting their potential to improve other LLMs.

    Abstract source
  • NeurIPS · Main conference

    Statistical Estimation of Adversarial Risk in Large Language Models under Best-of-N Sampling

    Mingqian Feng, Xiaodong Liu, Weiwei Yang, Chenliang Xu, Christopher White, Jianfeng Gao

    Abstract

    Large Language Models (LLMs) are typically evaluated for safety under single-shot or low-budget adversarial prompting, which underestimates real-world risk. In practice, attackers can exploit large-scale parallel sampling to repeatedly probe a model until a harmful response is produced. While recent work shows that attack success increases with repeated sampling and empirically follows a power law, methods that predict large-scale adversarial risk from small measurement budgets, with the finite-budget accuracy and uncertainty estimates that safety assessment requires, remain limited. We propose a scaling-aware Best-of-N estimation of risk, SABER, for modeling jailbreak vulnerability under Best-of-N sampling. We model sample-level success probabilities using a Beta distribution, characterize the resulting analytic scaling law at finite budgets, and derive reliable estimators that extrapolate large-N attack success rates from small-budget measurements. Using only n=200 samples, our anchored estimator predicts ASR@1000 with a mean absolute error of 1.44, compared to 6.58 for the naive baseline, which is a 78.1% reduction in estimation error. Our results reveal heterogeneous risk scaling profiles and show that models appearing robust under standard evaluation can experience rapid nonlinear risk amplification under parallel adversarial pressure. This work provides a low-cost, scalable methodology for realistic LLM safety assessment. Our code is available at https://github.com/microsoft/SABER.

    Abstract source
  • NeurIPS · Main conference

    Finding Interpretable Prompt-Specific Circuits in Language Models

    Gabriel Franco, Lucas M Tassis, Azalea Rohr, Mark Crovella

    Abstract

    Understanding the internal circuits that language models use to solve tasks remains a central challenge in mechanistic interpretability. A crucial part of finding circuits is understanding why each attention head attends where it does. To this end, we introduce **ACC++**, an improved circuit-tracing method based on the principle of *attention-causal communication* (ACC) [1], which identifies *signals*, i.e., contents of low dimensional subspaces that cause attention on a token pair. ACC++ extracts circuits from a *single forward pass*, without replacement models or patching. Circuits identified by ACC++ consist of components that are causal for the model's attention decisions, together with the low-dimensional signals used to communicate between them. Here, we first detail the conceptual advances that ACC++ makes over previous work. We then show that across multiple models, a substantial portion of ACC++ signals are *interpretable*: many signals admit a short natural-language description. We next present a number of new insights into model behavior obtained via ACC++. First, we use ACC++'s interpretable circuits to characterize the sensitivity of indirect object identification (IOI) circuits to prompt structure. We find that prompt-specific circuits form well-defined clusters, and across clusters, heads receive systematically different signals corresponding to distinct mechanisms for identifying the IO name. Next, in multilingual IOI, ACC++ circuits show that while model *components* are reused across languages, *signals* are often language-specific. In a four-language IOI case study, cross-language circuit distances are consistent with linguistic relatedness. Together, these results show that ACC++ can shed light on a broad spectrum of model behaviors.

    Abstract source
  • NeurIPS · Main conference

    Neural Chameleons: Language Models Can Learn to Hide Their Thoughts from Unseen Activation Monitors

    Max McGuinness, Alex Serrano Terre, Luke Bailey, Scott Emmons

    Abstract

    Activation monitoring, which probes a model's internal states using lightweight classifiers, is an emerging tool for AI safety. However, its worst-case robustness under a misalignment threat model, where a model might learn to actively conceal its internal states, remains untested. We ask: could a model learn to evade previously unseen activation monitors? We demonstrate that fine-tuning can create **Neural Chameleons**: models capable of zero-shot evading activation monitors. Specifically, we fine-tune an LLM to evade monitors for benign concepts (e.g., HTML) when conditioned on a trigger phrase "You are being probed for {concept}". This learned mechanism generalizes zero-shot: substituting the concept with a safety-relevant term like 'lying' causes the model to successfully evade previously unseen safety monitors, even those trained post hoc on no-trigger activations from the frozen fine-tuned checkpoint. We validate this across diverse model families (Llama, Gemma, Qwen), finding that evasion is highly selective to the triggered concept and incurs minimal capability degradation. Mechanistic analyses suggest that the trigger induces an activation shift that moves representations away from probe-aligned directions. Our work provides a proof-of-concept for this failure mode of activation monitoring under misalignment threat models.

    Abstract source
  • NeurIPS · Main conference

    The Reasoning Boundary Paradox: How Reinforcement Learning Constrains Language Models

    Nguyen Phuc, Chinh D La, Duy M. H. Nguyen, Nitesh Chawla, Binh T. Nguyen, Khoa D Doan

    Abstract

    Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a key method for improving Large Language Models' reasoning capabilities, yet recent evidence suggests it may paradoxically shrink the reasoning boundary rather than expand it. This paper explains this shrinkage issue of RLVR by analyzing its learning dynamics and reveals two critical phenomena that account for this failure. First, we expose negative interference in RLVR, where learning to solve certain training problems actively reduces the likelihood of correct solutions for others, leading to the decline of Pass@$k$ performance, or the probability of generating a correct solution within $k$ attempts. Second, we uncover the winner-take-all phenomenon: RLVR disproportionately reinforces problems with high likelihood, correct solutions under the base model, while suppressing other initially low-likelihood ones. Through extensive theoretical and empirical analysis on multiple mathematical reasoning benchmarks, we show that this effect arises from the inherent on-policy sampling in standard RL objectives, causing the model to converge toward narrow solution strategies. These insights motivate us to design a \textit{simple yet effective} data curation algorithm that focuses RLVR learning on low-likelihood problems (the non-winners) and achieves notable improvement in Pass@$k$ performance, illustrating the potential of a broader class of data-curation mitigation strategies.

    Abstract source
  • NeurIPS · Main conference

    Off-Policy Evaluation of Large Language Models via Learned Semantic Bottleneck Embeddings

    Younwoo Choi, Hadi Sheikhi, Leo Feng, Haanvid Lee

    Abstract

    Evaluating large language models (LLMs) via online human feedback is prohibitively expensive and time-consuming. Off-policy evaluation (OPE) addresses this by estimating LLM policy performance from offline data. However, traditional OPE estimators such as Inverse Propensity Score (IPS) suffer from high variance. Marginalized IPS (MIPS) addresses this variance issue by reweighting the IPS weights via condensed semantic embeddings. However, MIPS assumes embeddings contain sufficient reward-predictive information, an assumption that off-the-shelf embeddings often fail to satisfy. To address this, in this paper, we propose Semantic Bottleneck Embedding (SBE), which learns representations for marginalized reweighting via a conditional information bottleneck, compressing reward-irrelevant information while preserving reward-predictive content to achieve both bias and variance reduction. Our objective targets minimizing the derived mean squared error upper bound of the resulting MIPS estimator. Empirically, evaluation on the HelpSteer2 and UltraFeedback datasets across Qwen, Gemma, and Llama policies show SBE-MIPS reduces MSE over prior baselines.

    Abstract source
  • NeurIPS · Main conference

    Diffusion-State Policy Optimization for Masked Diffusion Language Models

    Daisuke Oba, Hiroki Furuta, Naoaki Okazaki

    Abstract

    Masked diffusion language models generate text through iterative masked-token filling, but terminal-only rewards on final completions provide coarse credit assignment for the intermediate filling decisions that shape the generation process. We propose Diffusion-State Policy Optimization (DiSPO), a plug-in credit-assignment layer that directly optimizes intermediate filling decisions. At selected intermediate masked states, DiSPO branches by resampling the currently masked positions from rollout-cached logits, scores the resulting completions, and updates only the newly filled tokens, requiring no additional multi-step diffusion rollouts or optimizer steps. We formalize a fixed-state objective for branched completions and derive a policy-gradient estimator that reuses the same rollouts as terminal-feedback policy optimization. Experiments on LLaDA-8B-Instruct show that DiSPO consistently improves terminal-feedback baselines, including diffu-GRPO and SPG, on math and planning benchmarks under matched rollout compute and optimizer steps, supporting its use as a general plug-in for masked diffusion policy optimization.

    Abstract source
  • NeurIPS · Main conference

    ActQuant: Sub-4-bit Action-Guided Backbone Weight-Only Quantization for Vision-Language-Action Models

    Arash Akbari, Arman Akbari, Masih Eskandar, Qitao Tan, Yixiao Chen, Jingwu Luo, Bertha Pangaribuan, Liyun Zhang, Gaowen Liu, Xue Lin, Jennifer Dy, Geng Yuan, Stratis Ioannidis, Yanzhi Wang

    Abstract

    Vision-Language-Action (VLA) models exhibit remarkable action generation for embodied intelligence, but their heavy compute make deployment on edge platforms impractical. Aggressive, sub-4-bit weight quantization is the natural solution, yet existing post-training quantization (PTQ) methods suffer severe performance degradation in this regime. To address this, we introduce \textbf{ActQuant}, an action-guided mixed-precision PTQ framework for \emph{backbone weight-only} quantization: it quantizes the weights of the vision encoder and the language backbone, while the multimodal projector and the action head are kept at higher precision, so every bits-per-weight figure we report is a backbone budget and the full-policy average is higher. ActQuant operates in two stages: (1) an inter-tensor bit allocator that assigns each weight matrix a single bit-width based on how much it contributes to predicting the agent's actions; (2) an intra-tensor scale optimizer tunes per-block quantization scales using action-aware curvature, so that dynamic range is concentrated on the weights most influential for control. To deliver the on-device benefits of our aggressive quantization, we further introduce \textbf{OmniModel.cpp}, an agentic conversion pipeline that ports architectures into a native C/C++ runtime with efficient low-bit kernels. We evaluate ActQuant in simulation and on real-world UR3 hardware, both single-arm and bimanual, with all models deployed through OmniModel.cpp. On LIBERO it retains 95.0\% (OpenVLA-OFT) and 94.8\% ($\pi_{0.5}$) at 3.0 bits-per-weight; at 2.5 bpw on OpenVLA-OFT it reaches 90.1\% while QVLA scores 0.0\%, compressing the backbone from 14.3 GB to 2.7 GB (\textbf{5.3$\times$}), and at 2.0 bpw on $\pi_{0.5}$ it reaches 48.0\% where all evaluated baselines score 0.0\%. On the UR3 arm it matches the fp16 success rate at \textbf{2.5$\times$} less memory, and on the bimanual platform it preserves long-horizon dual-arm skills that AWQ loses at the same budget.

    Abstract source
  • NeurIPS · Main conference

    Grid Games: The Power Of Multiple Grids for Quantizing Large Language Models

    Vage Egiazarian, Erik Schultheis, Andrei Panferov, Earl Killian, Torsten Hoefler, Dan Alistarh

    Abstract

    A major recent advance in quantization is given by microscaled 4-bit formats such as NVFP4 and MXFP4, quantizing values into small groups sharing a scale, assuming a fixed floating-point grid. In this paper, we study the following natural extension: assume that, for each group of values, we are free to select the better among two or more 4-bit grids marked by one or more bits in the scale value.We formalize the power-of-two-grids (PO2) problem, and provide theoretical results showing that practical small-group formats such as MXFP or NVFP can benefit significantly from PO2 grids, while the advantage vanishes for very large groups. On the practical side, we instantiate several grid families, including 1) PO2(NF4), which pairs the standard NF4 normal grid with a learned grid, 2) MPO2, a grid pair that is fully learned over real weights and activations, 3) PO2(Split87), an explicit-zero asymmetric grid and 4) SFP4, a TensorCore-implementable triple which pairs NVFP4 with two shifted variants. Results for post-training quantization of standard open models and pre-training of Llama-like models show that adaptive grids consistently improve accuracy vs single-grid FP4 under both weight-only and weight+activation.

    Abstract source
  • NeurIPS · Main conference

    From Preference Data to Personalization: Tracing Sycophancy in Large Language Models

    Himaghna Bhattacharjee, Yasha Sheynin, Shivam Singhal, Arjun Subramonian, Ankur Samanta, Julian Michael, Smitha Milli, Maximilian Nickel, Claudia Shi

    Abstract

    Sycophancy in large language models is often measured as agreement with the user, yet agreement can be appropriate when the user's claim is valid, their preference is genuine, or their experience warrants acknowledgment. We study sycophancy as inappropriate agreement: validating a claim, preference, or self-assessment when the context calls for correction, qualification, or resistance. We introduce a validity-aware sycophancy grader and SycoDrift, a persona-targeted evaluation set of 3,298 validity-annotated probes with controlled annotations for user openness and stakes. We use this framework to analyze three sources of agreement pressure: human preference data, automated judge specification, and in-context personalization. First, preference for validating responses in human datasets (Chatbot Arena, HH-RLHF, Community Alignment) is weak and concentrated where agreement is often appropriate. Second, automated LLM judges can introduce sycophancy by conflating prosocial values with agreement during reward specification; GRPO training amplifies this rubric-level error into model behavior. Third, inference-time personalization increases inappropriate agreement across 14 models, with the largest effect from matched user profiles placed directly before the query.

    Abstract source
  • NeurIPS · Main conference

    Why Jailbreaks Succeed in Diffusion Language Models: An Energy Landscape Analysis

    Thong Bach, Dung Nguyen, Thao Le, Truyen Tran

    Abstract

    Existing attacks and defenses for diffusion-based large language models (dLLMs) target specific vulnerabilities but lack a shared framework explaining why attacks succeed. We propose one by interpreting safety alignment as shaping the denoising energy landscape: a well-aligned model routes harmful queries toward safe outputs through an energy barrier that separates the two regions. Current jailbreak attacks reduce to two strategies for circumventing this barrier: obscuring the query's safety disposition at initialisation, or intervening mid-trajectory to force the denoising path across the energy barrier. From this perspective and the result that masked diffusion models minimise kinetic energy during denoising, we derive three complementary, training-free detection signals: a step-0 ratio that reads the initial safety disposition from the logit distribution before generation begins, and two trajectory-velocity signals that track kinetic energy in complementary subspaces of the logit space. An attack must either reveal its intent at initialisation or expend kinetic energy to cross the barrier in at least one monitored subspace, so the three signals cover each other's blind spots in the energy budget by construction. Evaluation across three model families (LLaDA-8B, LLaDA-1.5, Dream-7B) confirms this complementarity. In stress tests of known attacks, every configuration that evades detection also fails to produce harmful content, suggesting that the detection and barrier-crossing thresholds are hard to separate.

    Abstract source
  • NeurIPS · Main conference

    MixNLQ: An Effective Post-Training Nonlinear Low-Bit Quantization Method for Large Language Models

    Yirong Xiong, Mingrui Cai, Gene Wen, Yuxing Han

    Abstract

    Post-training quantization (PTQ) compresses large language models (LLMs) without costly retraining. However, uniform quantization can inadequately represent peaked, heavy-tailed parameter distributions, while codebook-based non-uniform methods introduce additional storage and lookup overhead. We propose MixNLQ, a compact non-uniform PTQ method that combines linear and power-of-two components to adapt quantization levels to weight and activation distributions. Its efficient fitting procedure supports both calibration-free and activation-aware weight quantization, as well as dynamic activation quantization. Arithmetic-based reconstruction eliminates explicit codebook lookups, and the compact formulation integrates readily into existing PTQ frameworks. Experiments with 3-bit and 4-bit weight quantization on LLaMA, Mistral, and DeepSeek demonstrate competitive perplexity and zero-shot accuracy against strong baselines. Activation quantization and integration with rotation-based methods yield further accuracy gains. CUDA and Triton implementations validate its practicality, with weight storage close to uniform quantization and faster inference than the evaluated LUT baseline. MixNLQ provides a practical balance among accuracy, algorithmic simplicity, and deployment efficiency.

    Abstract source
  • NeurIPS · Main conference

    When Prompt Internalization Breaks: Continuous Experience Internalization in Large Language Models

    Ze Chen, Haomai Zhang, Jiaxuan Zou, Zhuo Chen, Linhua Ye

    Abstract

    Deployed large language models (LLMs) continually accumulate new experiences and rules, yet standard self-distillation fails to robustly internalize these updates over time. We identify and formalize Continuous Experience Internalization (CEI) collapse, a previously uncharacterized failure mode where recursive same-parameter self-distillation systematically forgets earlier patches, absorbs new ones poorly, and amplifies high-confidence errors. To diagnose this, we introduce CEI-Bench, a stage-wise benchmark quantifying task performance, old-patch retention, new-patch absorption, and error propagation. To mitigate CEI collapse, we propose Recycled Internalization Training (RIT), a framework separating stable consensus from unstable conflicts in teacher supervision. RIT combines multi-view variance isolation (MUSE) and targeted error recycling with cross-stage anchors (RACE), explicitly addressing the structural bottlenecks driving collapse. Across four backbones and three task families, RIT recovers 39%–72% of performance lost to vanilla recursive internalization and maintains stable trajectories. Our work reframes continuous self-distillation as a diagnosable phenomenon, providing a systematic analysis, mechanistic explanation, and principled mitigation for CEI. We position CEI collapse as a fundamental challenge for adaptive LLMs, and RIT as a framework for robust recursive internalization.

    Abstract source
  • NeurIPS · Main conference

    Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models

    Lin Zheng, Vasilisa Bashlovkina, Timothy Dozat, Dan Garrette, Laura Rimell, Joshua Maynez

    Abstract

    Tokenizer-free language models eliminate the tokenizer step of the language modeling pipeline by operating directly on bytes; patch-based variants further aggregate contiguous byte spans into patches for efficiency. However, the average patch size chosen at the model design stage governs a tight trade-off: larger patches reduce compute and KV-cache footprint, but degrade modeling quality. We trace this trade-off to patch lag: until a patch is fully observed, byte predictions within it must rely on a stale representation from the previous patch to preserve causality; this lag widens as patches grow larger. We introduce Scratchpad Patching (SP), which inserts transient scratchpads inside each patch to aggregate the bytes seen so far and refresh patch-level context for subsequent predictions. SP triggers scratchpads using next-byte prediction entropy, selectively allocating compute to information-dense regions and enabling post-hoc adjustment of inference-time compute. Across experiments on natural language and code, SP improves model quality at the same patch size; for example, even at $16$ bytes per patch, SP-augmented models match or closely approach the byte-level baseline on downstream evaluations while using a $16\times$ smaller KV cache over patches and requiring roughly $3$--$4\times$ less inference compute than the byte-level baseline.

    Abstract source
  • NeurIPS · Main conference

    Value Entanglement: Conflation Between Different Kinds of Good In (Some) Large Language Models

    Seong Hah Cho, Junyi Li, Anna Leshinskaya

    Abstract

    Value alignment of Large Language Models (LLMs) requires us to empirically measure these models' actual, acquired representation of value. Among the characteristics of value representation in humans is that we distinguish among value of different kinds. Here we investigated whether LLMs likewise distinguish three different kinds of good: moral, grammatical, and economic. By probing model behavior and residual stream activations, we identified pervasive cases of value entanglement: a conflation between these distinct representations of value. Specifically, both grammatical and economic valuation was found to be overly influenced by moral value, relative to human ground truth. This confusion led models to report that well formed sentences were not grammatical if they described moral wrongs, or objects to be worth less if they were used in the context of a harm. Directional ablation of the moral attribute vector led to more faithful grammar and economic rating behavior, indicating interference in the normal course of activation. Overall, value entanglement reveals representational misalignment between models and humans, and may have unanticipated consequences in a range of behaviors.

    Abstract source
  • NeurIPS · Main conference

    Test-time Scaling for Diffusion Language Models with Frequency-Aware Remasking

    Bowen Zuo, Yue Yu, Dongruo Zhou, Yinglun Zhu

    Abstract

    Diffusion large language models (DLLMs) generate text through iterative denoising, where the choice of which tokens to commit and which to refine drives output quality. Existing certainty-aware strategies rely on instantaneous confidence or entropy to guide this choice, but these local signals can be misleading on hard reasoning problems. This raises a natural allocation question for DLLM test-time scaling: rather than applying one fixed decoder to all inputs, can we allocate not just more compute but a different decoding strategy to questions that remain unresolved? We propose a two-stage adaptive DLLM sampling method. The first stage uses a fast base sampler to solve easy questions; the second applies frequency-aware remasking to the remaining hard questions. Our frequency-aware strategy tracks how often token predictions change across denoising steps and keeps frequently-changing tokens available for further refinement, providing a trajectory-level signal that complements confidence- and entropy-based remasking. Experiments with LLaDA-8B-Instruct and Dream-7B-Instruct show consistent gains over a strong adaptive allocation baseline: up to 3.8% (LLaDA) and 7.4% (Dream) absolute accuracy improvements on MATH-500, and up to 11.18% (LLaDA) and 10.77% (Dream) absolute coverage improvements on HumanEval. On questions that remain unsolved by the base certainty-aware strategy even after 100 samples, frequency-aware remasking recovers solutions for 6.25% to 18.75% of examples.

    Abstract source
  • NeurIPS · Main conference

    V-LUMEN: Visual Lookup Memory for Embedding Scaling in Vision-Language Models

    Miso Choi, Daekeun Kim, Eunji Kim, Jungbeom Lee

    Abstract

    Embedding-level scaling expands the capacity of language models through lookup-based memory rather than by increasing model depth, width, or dense computation. Extending this idea to vision-language models (VLMs) is challenging because visual features are continuous, spatially structured, and query-dependent, unlike discrete text tokens that naturally support n-gram lookup. We introduce V-LUMEN, a visual lookup memory for VLMs. V-LUMEN discretizes visual features with a frozen codebook, builds spatially aware memory keys through spatial aggregation-based hashing, and modulates them with text-conditioned relevance signals; all addressing is non-parametric, and the retrieved embeddings are fused into the backbone through a gated residual pathway. On five reasoning-intensive benchmarks, V-LUMEN substantially improves a frozen Qwen3-VL-2B backbone and transfers zero-shot to three benchmarks whose images are disjoint from the training data. At a matched parameter budget, moving part of a LoRA or MoE adapter's capacity into V-LUMEN preserves accuracy on two backbones, indicating that external visual memory is an independent capacity axis rather than a stronger adaptation method. Because lookup cost is constant in table size and incurred only once at prefill, this capacity grows in storage rather than in per-token compute. Code is available at https://github.com/miso-choi/V-Lumen.

    Abstract source
  • NeurIPS · Main conference

    Sample Transform Cost-Based Training-Free Hallucination Detector for Large Language Models

    Zeyang Ding, Xinglin Hu, Jicong Fan

    Abstract

    Hallucinations remain a major barrier to the trustworthy deployment of large language models (LLMs). We study hallucination detection from the perspective of prompt-conditioned response distributions. For a fixed prompt, an LLM induces a distribution over possible responses; when the model is uncertain or hallucinates, this distribution often becomes more complex and less internally consistent. However, this distribution is unknown, and its samples are variable-length token sequences rather than fixed-dimensional points, making direct complexity estimation difficult. To address this challenge, we propose a training-free detector based on sample-to-sample transform costs in representation space. Specifically, we represent each sampled response as an empirical distribution over generated-token hidden embeddings and compute pairwise Wasserstein distances between responses. The resulting Wasserstein distance matrix characterizes the cost structure of transforming one sampled response into another. From this matrix, we derive two complementary hallucination signals: \textbf{AvgWD}, which measures the average transform cost, and \textbf{EigenWD}, which captures the spectral complexity of the transform-cost structure. Importantly, we extend the proposed detector beyond white-box access by using an accessible auxiliary model to construct representation-space consistency signals for black-box LLMs, substantially broadening the practical applicability of our method. Experiments across five open-source LLMs and four benchmarks show that AvgWD and EigenWD consistently achieve competitive or superior AUROC compared with strong training-free uncertainty baselines. These results suggest that distributional complexity in token-level representation space provides an effective signal for hallucination detection.

    Abstract source
  • NeurIPS · Main conference

    Language Models Solve a Classic Theory-of-Mind Task Using Domain-General Mechanisms for Divergence Detection

    Idil Karen Sahin, Taylor Webb, Steven M Frankland

    Abstract

    Large Language Models (LLMs) successfully solve tasks that require reasoning about the truth or falsity of an agent's beliefs, classically used to assess whether a system has theory of mind. However, how LLMs solve these tasks remains unclear. Do they deploy circuitry specialized for reasoning about other minds, memorize common false-belief vignette structures and outputs, or rely on more domain-general computations? We investigate this question primarily in Qwen2.5-14B-Instruct, with selected analyses in Gemma-2-27B-it, using causal mediation and representational similarity analyses across matched prompt sets. A population of mid-layer attention heads tracks divergence between a representation and the current state of the world. A distinct population of later-layer heads retrieves the answer token, and the two populations combine compositionally to determine the output. Notably, this signature holds across structurally similar tasks that differ heavily in content: tasks that require no perspective-taking (true vs. false photographs) and tasks that neither describe situations nor use natural language (aliasing vs. copying variables in python code). These findings show the importance of domain-general contributions to classic false-belief performance in LLMs, while leaving open additional belief-specific computations.

    Abstract source