NeurIPS papers
Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.
Explore the NeurIPS analysisSearch results
1,021–1,040 of 8,477
- NeurIPS · Main conference
Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling
Yizhu Jiao, Ruixiang Zhang, Richard H Bai, Jiawei Han, Ronan Collobert, Yizhe Zhang
Abstract
Code generation is typically trained in the \emph{primal} space of programs: a model produces a candidate solution and receives sparse execution feedback, often a single pass/fail bit. Test-time scaling enriches the inference procedure by sampling multiple candidates and judging among them, but the comparative information this process reveals is discarded after inference. We argue that this information defines a \emph{dual} judgment space that provides a far richer training signal: the model learns not from an isolated success or failure, but from the relative correctness structure across its own plausible attempts, identifying which succeed, which fail, and what distinguishes them. We introduce \textbf{DuST} (\textbf{Du}al \textbf{S}elf-\textbf{T}raining), a framework for self-training from the dual judgment space. DuST samples candidate programs from the model's own distribution, labels them through sandbox execution, retains groups containing both successes and failures, and trains the model to rank candidates by execution correctness using GRPO. The objective is purely discriminative: the model is never directly rewarded for generating correct programs. Dual self-training improves both judgment and generation. Across four models spanning two families and three scales (4B to 30B), DuST consistently improves Best-of-4 test-time scaling on LiveCodeBench. For Qwen3-30B-Thinking on LiveCodeBench v6, judgment quality improves by +6.2 NDCG, single-sample pass@1 improves by +3.1, and Best-of-4 accuracy improves by +4.1. The trained model's single rollout matches the base model's Best-of-4 performance. SFT on the same ranking data improves judgment without improving generation, confirming that on-policy RL is the mechanism that transfers dual-space learning back into primal generation. The source code is released on \href{https://github.com/yzjiao/DuST}{GITHUB}.
Abstract source - NeurIPS · Main conference
Sign-Based Optimizers Under Heavy-Tailed Noise: On the Effectiveness of Lion and Muon
Dingzhi Yu, Hongyi Tao, Yuanyu Wan, Lijun Zhang
Abstract
While adaptive gradient methods are the workhorse of modern machine learning, sign-based optimization algorithms such as Lion and Muon have recently demonstrated superior empirical performance over AdamW in training large language models (LLMs). However, a theoretical understanding of why sign-based updates outperform variance-adapted methods remains elusive. In this paper, we aim to bridge the gap between theory and practice through the lens of heavy-tailed gradient noise, a phenomenon frequently observed in language modeling tasks. Theoretically, we introduce a novel generalized heavy-tailed noise condition that captures the behavior of LLMs more accurately than standard finite variance assumptions. Under this noise model, we establish sharp convergence rates of SignSGD and Lion for generalized smooth function classes, matching or surpassing previous best-known bounds. Furthermore, we extend our analysis to Muon and Muonlight, providing what is, to our knowledge, the first rigorous analysis of matrix optimization under heavy-tailed stochasticity. These results offer a strong theoretical justification for the empirical superiority of sign-based optimizers, showcasing that they are naturally suited to handle the noisy gradients associated with heavy tails. Empirically, LLM pretraining experiments validate our theoretical insights and confirm that our proposed noise models are well-aligned with practice.
Abstract source - NeurIPS · Main conference
Extracting Search Trees from LLM Reasoning Traces Reveals Myopic Planning
Sixing Chen, Ji-An Li, Saner Cakir, Sinan Akcali, Kayla Lee, Marcelo G Mattar
Abstract
Large language models (LLMs), especially reasoning models, generate extended chain-of-thought (CoT) reasoning that often contains explicit deliberation over possible futures. Yet it remains unclear whether this deliberation constitutes genuine planning, how it is structured, and what aspects of it drive performance. Here we introduce a method for characterizing LLM planning by extracting search trees from reasoning traces in the board game four-in-a-row. By fitting computational models to the extracted search trees, we quantify how plans are structured and how they influence move decisions. We find that LLMs search less deeply than humans, and that their performance is better predicted by search breadth than depth. Most strikingly, although LLMs expand deep nodes in their traces, their move choices are best explained by a myopic model that ignores those nodes entirely. A causal intervention that selectively prunes CoT paragraphs supports that move selection depends predominantly on shallow rather than deep nodes. These patterns contrast with human planning, where performance is driven primarily by deep search. Together, our findings reveal a key difference between LLM and human planning: human expertise rests on deeper search, whereas LLMs generate deep lookahead but fail to act on it. This dissociation offers concrete targets for aligning LLM and human planning. More broadly, our framework provides a generalizable approach for interpreting the structure of LLM planning across strategic domains.
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
LOTION: Smoothing the Optimization Landscape for Quantized Training
Mujin Kwun, Depen Morwani, Huangyuan Su, Stephanie Gil, Nikhil Anand, Sham Kakade
Abstract
Optimizing neural networks for quantized objectives is fundamentally challenging because the quantizer is piecewise constant, yielding zero gradients everywhere except at quantization thresholds where the derivative is undefined. Most existing methods address this issue using gradient approximations like Straight-Through Estimators (STE). In this work, taking inspiration from Nesterov smoothing, we approximate the quantized loss surface with a continuous loss surface. In particular, we introduce LOTION, \textbf{L}ow-precision **O**ptimization via s**T**ochastic-no**I**se sm**O**othi**N**g, a principled smoothing framework that replaces the raw quantized loss with its expectation under unbiased stochastic-rounding noise. This exact expected objective is continuous and preserves the global minima of the original quantized loss. For neural networks, we use a second-order expansion to derive a practical stochastic rounding-variance regularizer. We evaluate LOTION on synthetic testbeds and on 150M-, 300M-, and 600M-parameter language models. In the 150M W4A16 and W3A16 comparisons, LOTION achieves lower quantized validation loss than standard QAT and PTQ as well as modern baselines like CAGE and PARQ.
Abstract source - NeurIPS · Main conference
Plausibility Is Not Prediction: Contrastive Evidence for LLM-Based Cellular Perturbation Reasoning
XINYU YUAN, Xixian Liu, Jianan Zhao, Ya Shi Zhang, Hongyu Guo, Jian Tang
Abstract
Perturbation experiments are central to understanding cellular mechanisms, but remain costly and sparse, motivating prediction of gene expression responses for unobserved conditions. A promising recent direction leverages large language models (LLMs) as “virtual cell” simulators—using stepwise, knowledge-grounded mechanistic reasoning to infer differential expression—pointing toward an interpretable, knowledge-driven paradigm that transcends purely data-driven approaches. However, we find that plausibility is not prediction: despite producing biologically plausible explanations, these methods fail to capture perturbation-specific effects — systematically overestimating differential expression, often underperforming a simple gene‑frequency baseline in aggregate evaluations, and collapsing to chance-level performance at the per-gene level. This reveals a reliance on intrinsic gene response tendencies rather than true perturbation reasoning. We trace this failure to how evidence is presented: existing methods evaluate perturbation–gene pairs in isolation, without exposing how related perturbations differ in their effects on the same gene. To address this limitation, we introduce **CORE** (**C**ontrastive **O**rganization of **R**elational **E**vidence), which reframes prediction as a comparison task by organizing evidence into positive and negative outcomes from related perturbations. Using a biomedical knowledge graph for evidence retrieval, CORE reduces severe positive-prediction bias in weaker backbones and improves perturbation-specific prediction in both LLM-based and non-LLM settings: its two instantiations, CORE-Reasoning and CORE-Voting, raise macro-per-gene AUROC from 0.462 to 0.541 with Qwen3.5-9B on C32 and from 0.500 to 0.715 on K562, respectively. This highlights contrastive evidence organization as essential to reliable LLM-based perturbation reasoning. Code and data release is at https://github.com/KatarinaYuan/CORE.
Abstract source - NeurIPS · Main conference
SEAD: Competence-Aware On-Policy Distillation via Entropy-Guided Supervision
Michael Lee, Zelei Cheng, Yu Wang, Renkun Ni, Sambit Sahu, Shi-Xiong Zhang, William Campbell
Abstract
In on-policy distillation (OPD), the student generates the prefixes on which the teacher provides supervision. The value of a teacher correction can therefore vary with the student’s competence. We introduce SEAD, which adapts supervision at three scales. Within each rollout, teacher and student entropy ranks determine which tokens receive a direct loss and which divergence applies. Roughly half of the tokens receive no direct loss. At positions with the highest teacher entropy, a cosine schedule shifts the loss from a mixture of forward and reverse KL to reverse KL alone. At the prompt level, SEAD orders prompts by their estimated difficulty for the initial student and draws successive batches without replacement. With a 7B OLMo-3 student and a 32B teacher, SEAD reaches a mean accuracy of 64.17% across six math benchmarks (three training seeds), 5.0 percentage points above the single-run vanilla OPD baseline.
Abstract source - NeurIPS · Main conference
The Value of Covariance Matching in Gaussian DDPMs and the Lanczos Sampler
Sahil Akhtar, Aymane El Gadarri, Vivek Farias, Adam Jozefiak
Abstract
A central error measure in Gaussian DDPMs is the path-space KL divergence between the exact reverse chain and the learned Gaussian reverse process. This quantity is especially relevant for procedures such as classifier guidance, which perturb the entire reverse trajectory rather than only the terminal sample. Prior analyses show that standard isotropic reverse covariances suffer an unavoidable $\Omega(1/T)$ path-KL error as the number of denoising steps $T$ grows. We show that matching the full posterior covariance breaks this barrier, yielding an order-wise improvement that reduces the path KL to $O(1/T^2)$. To make full covariance matching practical, we introduce the Lanczos Gaussian sampler, a training-free, matrix-free method for sampling from the optimal reverse covariance using only covariance-vector products, which are available through Jacobian-vector products of the posterior mean. The sampler avoids dense covariance storage and auxiliary covariance models. We prove that its approximation error decays exponentially in the number of Lanczos steps, where each Lanczos step requires a single Jacobian-vector product. Empirically, using only just three such steps improves sample quality over strong diagonal-covariance baselines, including OCM-DDPM, across standard image benchmarks. This identifies full covariance matching as both theoretically valuable and practically accessible for fast DDPM sampling.
Abstract source - NeurIPS · Main conference
On the Runway Cascade of Transformers for Language Modeling
Hunjae Lee, Corey Clark
Abstract
In decoder-only (causal) transformers, the computation graph created by causal masking routes information through both direct-path attention and indirect paths formed by intermediate tokens. We denote these indirect paths between token pairs as their \textit{runways}. We argue that certain failure modes of causal transformers as observed by a growing body of recent works are likely exacerbated by a misalignment between these two information propagation modes. We formalize \textit{runway cascade} as a phenomenon whereby this misalignment results in redundancies and irrelevant information cascading to token representations despite adequately learned attention patterns. As a solution, we propose \textit{runway-aware rewiring} as a more explicit way of incorporating runway context directly into each token's direct-path attention. This mechanism re-wires the attention pattern for each token based on a summary of its runway landscape, enabling awareness of accumulating representational influences and allowing for more balanced information propagation. Our proposed methodology introduces no additional parameters and can seamlessly be integrated into standard attention mechanism. Empirically, our rewired transformer results in steady improvements in general language modeling as well as noticeably stronger information retrieval and extrapolation abilities compared to standard transformers.
Abstract source - NeurIPS · Main conference
LensCT: Fine-Grained AI-Involved Text Detection via Temporal-Hierarchical Tomograms of LLM Internals
Hanxi Guo, Siyuan Cheng, Kaiyuan Zhang, Guangyu Shen, Xiangyu Zhang
Abstract
LLMs are increasingly used not only to generate text from scratch, but also to polish and extend human writing. This makes AI detection a fine-grained problem: downstream users often need to understand the level and form of AI involvement in a text, rather than merely separate human from machine. Existing detectors are poorly suited to this setting because they compress the evidence into scalar scores, selected features, or surface linguistic cues, which miss the subtle patterns left by different forms of AI involvement. We propose ***LensCT***, which makes a frozen LLM's internal predictive behavior visible as a tomogram: an image-like map of how the model responds across tokens and layers. The tomogram captures both temporal patterns along the input sequence and hierarchical patterns across transformer layers, providing a richer view of AI involvement than compressed detector scores. A vision backbone then reads this tomogram to classify the level of AI involvement. On a **237,500**-sample English benchmark spanning five domains and six frontier LLM generators, ***LensCT*** achieves **0.990** in-distribution macro-AUROC, reducing error by **28.6%** over the strongest baseline. Across **697,500** total evaluation samples, ***LensCT*** consistently outperforms prior detectors under cross-generator, cross-domain, cross-language, and adversarial shifts, showing that temporal-hierarchical tomograms provide a robust and transferable signal for fine-grained AI-involvement detection. The implementation code is available at https://github.com/MarkGHX/LensCT.
Abstract source - NeurIPS · Main conference
Comparing Transformers and Hybrid Models at the Token Level
Yanhong Li, Will Merrill
Abstract
Hybrid language models combine attention and recurrence: recurrent layers theoretically ameliorate pure transformers' state-tracking limitations, and hybrids can empirically outperform pure transformers in loss and downstream evaluations (Waleffe et al., 2024; Merrill et al., 2026). Which data or capabilities drive these gains, and how closely they reflect hybrids' theoretical advantages, remains unclear. We address this using the open-weight Olmo 3 (Olmo et al., 2026) and Olmo Hybrid (Merrill et al., 2026) checkpoints, comparing losses for the matched transformer and hybrid at identical target tokens and prefixes, stratified by natural token tags, copy features, delimiter structure, and controlled synthetic probes. The hybrid lowers loss on most tag families, especially open-class content words, with smaller gains on many closed-class function words. Across prose, code, and markup, its advantage is larger on opening than corresponding closing delimiters and nearly vanishes on repeated $n$-grams. Probes likewise favor the hybrid on pronoun memory and entity tracking, but the transformer on bracket matching requiring closing delimiters. These patterns suggest hybrids' recurrent layers improve predictions using document semantic state, while attention helps predict tokens predictable by $n$-gram copying or syntactic bracket matching. Proof-of-concept filtered evaluations show how token-level decompositions can sharpen pretraining diagnostics for hybrid architectures.
Abstract source - NeurIPS · Main conference
Discrete-Diffusion Posterior Sampling with Langevin-Inspired Proposals
Sattwik Basu, Chaitanya Amballa, Jorge V Sampedro, Romit Roy Choudhury
Abstract
We study posterior sampling for inverse problems in discrete state spaces using discrete diffusion models as generative priors. While continuous diffusion models have become widely used for inverse problems, their discrete counterparts remain comparatively underexplored. Existing discrete posterior samplers often rely on continuous relaxations of discrete variables, Gibbs-style updates, or mechanisms specialized to particular corruption processes, which can limit scalability or generality. We propose $\Delta$LPS, a Discrete Langevin-Inspired Posterior Sampler that uses gradient information to identify promising discrete moves without leaving the discrete state space. The resulting approach enables efficient parallel updates across all token dimensions and is agnostic to the training paradigm of the discrete diffusion prior, including masked and uniform-state diffusion. We evaluate our method on image restoration tasks across MNIST, CIFAR, and FFHQ, spatial mapping, guided DNA-sequence generation, and monophonic music infilling, covering linear, nonlinear, and blind inverse problems. Across these settings, we improve over recent discrete diffusion posterior samplers and are competitive with strong continuous diffusion-based inverse solvers. Our results suggest that fully discrete, gradient-informed posterior samplers offer a scalable and general path toward solving inverse problems over discrete representations.
Abstract source - NeurIPS · Main conference
Global Convergence of Four-Layer Matrix Factorization under Random Initialization
Minrui Luo, Weihang Xu, Xiang Gao, Maryam Fazel, Simon Du
Abstract
Gradient descent dynamics on the deep matrix factorization problem is extensively studied as a simplified theoretical model for deep neural networks. Although the convergence theory for two-layer matrix factorization is well-established, no global convergence guarantee for general deep matrix factorization under random initialization has been established to date. To address this gap, we provide a polynomial-time global convergence guarantee for randomly initialized gradient descent on four-layer matrix factorization, given certain conditions on the target matrix and a standard balanced regularization term. Our analysis employs new techniques to show saddle-avoidance properties of gradient descent dynamics, and extends previous theories to characterize the change in eigenvalues of layer weights.
Abstract source - NeurIPS · Main conference
Matched-Control Tests of Strategy Alignment in Routed Distillation
Bob Li, Shuang Cao, Constance Liu
Abstract
Reasoning distillation must turn diverse teacher solutions into consistent supervision for shared experts. We study strategy alignment as two coupled requirements: grouping traces by reasoning strategy and assigning those groups consistently across inputs. Our matched-control protocol tests both requirements while fixing the teacher-trace budget and routed capacity. Auto-v4-Open implements them with a shared strategy representation and domain-wide adapter labels. At 4.80B teacher-trace tokens, it reaches 58.62% on a five-domain out-of-distribution average, exceeding routing-only and matched-shuffle controls by 2.46 and 2.04 percentage points. Coherence-preserving controls remain 1.68–1.91 points behind, removing cross-input alignment costs 2.60 points, and verifier-free strategy discovery retains a 2.12-point gain over routing alone. The assignment advantage transfers to native sparse-MoE and soft-prefix routing and complements modern distillation recipes, reaching 60.31% with Uni-OPD. The fixed pipeline also exceeds routing-only MoA on MMLU-Pro, LiveBench, BBEH, and OlympiadBench by 4.91, 3.99, 3.70, and 2.87 points. These results establish strategy-consistent supervision as an actionable source of transfer gains across routed distillation designs.
Abstract source - NeurIPS · Main conference
Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction
Ngoc Bui, Trung Hieu Nguyen, Arman Cohan, Rex Ying
Abstract
The key--value (KV) cache is a major bottleneck in long-context inference, where memory and computation grow with sequence length. Existing KV eviction methods reduce this cost but typically degrade performance relative to full-cache inference. Our key insight is that full-cache attention is not always optimal: in long contexts, irrelevant tokens can dilute attention away from useful evidence, so selective, learnable eviction can improve generation rather than merely approximate the full cache. We introduce a global retention-based KV eviction method that learns each token's future utility under a unified memory budget. Lightweight retention gates assign utility scores to cached KV entries, and a shared final scoring projection calibrates these scores across all layers and heads. This enables a single global eviction policy in which tokens from different layers, heads, and modalities compete directly for cache capacity. We further provide theoretical analysis showing that preferentially retaining useful tokens reduces attention dilution, and we justify geometric retention as a query-agnostic proxy for future utility. Across long-context language and vision--language benchmarks, our method substantially reduces KV memory while matching or surpassing full-cache inference. These results suggest that learned, globally calibrated KV eviction is not only a compression technique, but also a mechanism for improving long-context reasoning.
Abstract source - NeurIPS · Main conference
Stochastic Dynamic Barrier Perturbed Gradient Methods for Nonconvex Simple Bilevel Optimization
Mohammad Mahdi Ahmadi, Jincheng Cao, Aryan Mokhtari, Erfan Yazdandoost Hamedani
Abstract
We study stochastic simple bilevel optimization with smooth, possibly nonconvex upper- and lower-level objectives accessed only through stochastic gradient oracles. A key challenge is that the dual multiplier induced by the lower-level constraint may become unbounded near lower-level stationary points, invalidating bounded-dual analyses and destabilizing stochastic gradient estimates. To address this, we propose *Stochastic Dynamic Barrier Perturbed Gradient* (SDBPG), a single-loop method that adaptively perturbs the dual formulation to regularize this degeneracy. The perturbation stabilizes the multiplier and yields controlled bias and variance even near the lower-level stationarity region. We establish stationarity guarantees and the complexity results of SDBPG under an additional rare-visit assumption that restricts how frequently the iterates encounter regions of unfavorable gradient alignment. To overcome this assumption, we further develop PR-SDBPG, a penalty-regularized variant that eliminates the rare-visit assumption, and VR-PR-SDBPG, which improves the resulting sample complexities entirely through variance reduction. To our knowledge, these are the first explicit $(\epsilon_f,\epsilon_g)$-stationarity guarantees for stochastic nonconvex-nonconvex simple bilevel optimization.
Abstract source - NeurIPS · Main conference
FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks
Hongbo Chen, Zihao Ren
Abstract
The Lipschitz constant of neural networks is widely used in robustness, control, generalization bounds, and training stability. As modern neural networks continue to scale, existing methods for Lipschitz estimation are either very time-consuming or overly loose. In this work, we focus on both fast and accurate Lipschitz estimation for large feedforward neural networks. We first reformulate the well-known semidefinite program (SDP) framework into an explicit recursive form, and introduce a key theoretical result, bound backpropagation: the SDP objective has upper and lower bounds that can be propagated backward along the recursive computation graph and depend only on partial variables. Leveraging this property, we decompose the original SDP into a sequence of small subproblems, each minimizing a combination of upper and lower bounds over partial variables. We prove that each subproblem is one-dimensional and convex, enabling fast solution via the secant method. Finally, we present the full FLIP algorithm and its complexity, yielding fast and tight Lipschitz estimation for large feedforward networks. Experiments on both randomly generated and trained networks show that FLIP improves speed and tightness by several orders of magnitude over prior methods, giving the tightest Lipschitz estimates for 100M-parameter networks in seconds. Our code is available at: \url{https://github.com/hongboc616/FLIP}.
Abstract source - NeurIPS · Main conference
Vision Token Pruning via Query-Vision Interaction Decomposition
Harshithanjani Athi, Sravan Kumar Ankireddy, Jianzhong Zhang, Hyeji Kim
Abstract
Large vision-language models (VLMs), which process both visual inputs and text queries, incur high inference costs due to the large number of visual tokens, making visual token pruning a natural approach for improving efficiency. Recent work has leveraged query information to guide token selection, often through heuristics derived from attention patterns or token dynamics. However, these approaches do not explicitly exploit the underlying structure of query-vision interactions. We address this gap by observing that the query-vision interaction matrix, naturally induced by the query and key projections already present in transformer attention, is effectively low-rank, with a small number of dominant latent interaction modes capturing query-relevant semantics. Motivated by this observation, we propose Query-Vision Decomposition (QViD), a novel training-free query-aware visual token pruning method that exploits this structure. Extensive experiments on both image and video understanding benchmarks show that QViD consistently improves performance under matched token budgets, with the largest gains appearing under aggressive compression regimes.
Abstract source - NeurIPS · Main conference
Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topology
Jesseba Fernando, Grigori Guitchounts
Abstract
Large language models are remarkably capable, yet how computation propagates through their layers remains poorly understood. A growing line of work treats depth as discrete time and the residual stream as a dynamical system, where each layer's nonlinear update has a local linear description. However, previous analyses have relied on scalar summaries or approximate linearizations, leaving the full spectral geometry of trained LLMs unknown. We perform full Jacobian eigendecomposition across three production-scale LLMs and show that training installs a cumulative low-rank bottleneck that funnels perturbations into a small fraction of the residual stream's effective dimensions. The Jacobians are non-normal—their eigenvalues alone do not predict how they amplify perturbations—and training extends non-normality from the first few layers deep into the network. Removing structured non-normality while preserving the eigenspectrum largely dissolves the dimensional funneling. We further show that residual-stream units bridging activation-graph communities are preferentially amplified by the Jacobian, a coupling that is absent at initialization and whose sign tracks each layer's self-alignment. These results reveal a learned spectral geometry in LLMs, in which training installs non-normal structure that funnels perturbations through depth and is coupled to the network's functional topology.
Abstract source - NeurIPS · Main conference
Probabilistic Tiny Recursive Model
Amin Sghaier, Ali Parviz, Alexia Jolicoeur-Martineau
Abstract
Tiny Recursive Models (TRM) solve complex reasoning tasks with a fraction of the parameters of modern large language models (LLMs) by iteratively refining a latent state and final answer. While powerful, their deterministic recursion can lead to convergence at suboptimal solutions, without escape mechanism. A common workaround relies on task-specific input perturbations at test time combined with answer aggregation via voting. We introduce Probabilistic TRM (PTRM), a task-agnostic framework for test-time compute scaling that addresses this limitation through stochastic exploration. PTRM injects Gaussian noise at each deep recursion step, enabling parallel trajectories to explore diverse solution basins, and selects among them with a criterion such as the model’s existing Q head (used for early stopping in the original TRM). Without requiring retraining or task-specific augmentations, PTRM enables substantial accuracy gains across benchmarks, including Sudoku-Extreme ($87.28\%$ to $98.75\%$), N-Queens ($48.1\%$ to $75.5\%$ on 16×16 boards), and various puzzles from Pencil Puzzle Bench ($62.6\%$ to $91.2\%$). On the latter, PTRM achieves nearly double the accuracy of an ensemble of frontier LLMs ($91.2\%$ vs. $55.1\%$) at a small fraction of the cost, using only 7M parameters.
Abstract source