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

21–40 of 446

  • NeurIPS · Main conference

    RL-IF: Tracking Non-local Training Data Influence for Online Reinforcement Learning

    Shixuan Liu, Cheng Tang, Yuzheng Hu, Fan Wu, Han Zhao, Jiaqi Ma

    Abstract

    Online reinforcement learning (RL) has achieved significant success in decision-making tasks, but modern online RL remains highly sensitive to the quality of training experience. Understanding the contribution of individual training instances is therefore central to data-centric RL, with applications ranging from experience selection to policy interpretation. Existing data attribution methods for online RL primarily focus on local influence within a single training round, overlooking the non-local data influence across multiple training rounds. In this work, we formalize data attribution in online RL through a trajectory-level leave-one-out quantity, RL-LOO, which measures how one training sample influences a downstream target after subsequent online updates have taken place. We then derive RL-IF, a first-order estimator that propagates data influence through both optimization effects and policy-induced sampling effects, and provide theoretical guarantees on its approximation accuracy under smoothness assumptions. Our analysis further disentangles these two effects and shows both theoretically and empirically that the full RL-IF estimator can often be well approximated using the optimization effect alone. Building on this observation, we develop RINSE, a practical data filtering method for online RL. Experiments on standard control benchmarks and an RLHF-style toxicity-mitigation setting show that RINSE improves training efficiency and final performance over standard PPO and local attribution baselines. These results suggest that RL-IF provides a practical and principled framework for understanding and improving online RL.

    Abstract source
  • NeurIPS · Main conference

    Training-Free Open World Object Detection

    Junwoo Heo, Chang-Sik Woo, Gyeong-Moon Park

    Abstract

    Open World Object Detection (OWOD) requires a detector to recognize known categories, detect unknown objects, and incrementally learn new classes. Recent work such as OW-OVD adapts a pre-trained Vision-Language Object Detector (VLOD) to OWOD through fine-tuning. However, this approach demands costly backpropagation and often degrades the detector's own zero-shot performance on known categories, calling into question whether training is necessary. In this paper, we propose CAVE (Clustering in Attribute-Visual Embedding space), a training-free framework that adapts a VLOD to OWOD without any parameter updates. From a single forward pass, CAVE collects visual and attribute statistics for each class via von Mises-Fisher-based clustering, along with attribute co-occurrence patterns, without any gradient computation. At inference, for known-class detection, CAVE fuses the original VLOD's text-based scores with the MAS (Mixture-Aggregate Score) derived from the collected statistics, while for unknown discovery, it uses the AOS (Attribute Objectness Score), which combines superclass responses with attribute co-occurrence patterns. Experiments on M-OWODB show that CAVE outperforms OW-OVD (+16.2 known-class mAP at Task 4 and +28.0 average unknown recall), while surpassing the zero-shot VLOD across all incremental tasks (+1.3 known-class mAP at Task 4).

    Abstract source
  • NeurIPS · Main conference

    Kaiyuan-2B: Open LLM Pretraining Guided by Quantile Benchmarking of Heterogeneous Corpora

    Kairong Luo, Zhenbo Sun, Shengqi Chen, Xinyu Shi, Bowen Yu, Yunyi Chen, Chenyi Dang, Tao H Tao, Hui Wang, Fangming Liu, Kaifeng Lyu, Wenguang Chen

    Abstract

    Fully open pretraining now has increasingly reproducible recipes and accessible web-scale corpora. What remains missing is a principled way to merge scored open-web data. Corpora such as DCLM Baseline and FineWeb-Edu are built with different filters and scorers, so their raw scores are not directly comparable. Because web data is large, heterogeneous, and token-budget dominant, choosing an additional retained fraction is a consequential compute decision rather than a minor sampling detail. We formulate this setting as heterogeneous top-p mixing: choosing top-p retained fractions for each corpus along its score distribution under a fixed total token budget. We propose quantile benchmarking, a proxy-training framework that probes fixed score quantiles from each source and compares them through a shared downstream-utility metric. The resulting measurements reveal benchmark-dependent source orderings, large within-source utility variance, and a strong knowledge bias in current scorers. In particular, higher-score regions often degrade broader commonsense benchmarks such as PIQA and HellaSwag. We then fit benchmark-conditioned utility curves and derive top-p mixing cutoffs through a global utility threshold. 40B-token ablation experiments show that quantile-benchmarking-guided thresholds improve over both uniform mixing and heuristic top-p filtering. Finally, we apply the resulting recipe to train a 2B model over 2.2T tokens with a fully open recipe, reaching the Pareto frontier of parameter efficiency among compared fully open models of similar scale.

    Abstract source
  • NeurIPS · Main conference

    HiFloat4 Format for Language Model Pre-training on Ascend NPUs

    Mehran Taghian Jazi, Yunke Peng, Anandharaju D Raju, Xing Huang, Yao Wang, Yaoyuan Wang, Wei Guo, Yuanyong Luo, Tianchi Hu, JUNSONG WANG, Xin Wang, Hu Liu, Yu Cheng, Yu ZiWei, Hongliang Li, Mehdi Rahimifar, Lei YAN, wxuefei, Zhuang Ma, Liulei, Hui Yu, Hoang Le, Hei Yi Mak, Tanzila Rahman, Shadan Golestan

    Abstract

    Training large foundation models at low numerical precision is one of the most promising directions for reducing the compute and memory cost of modern AI. Recent 4-bit floating-point formats such as MXFP4 and NVFP4 can be applied to linear GEMM operations in LLMs, but their limited dynamic range introduces numerical instability that prior work addresses by stacking stabilization mechanisms, typically executed at higher precision and partially eroding the efficiency gains that motivate FP4. In this work, we argue that numerical format design is itself a first-class lever for stable FP4 training, and present the first systematic study of FP4 LLM pretraining on energy-efficient Huawei Ascend NPUs. We compare HiFloat4 (HiF4) against both MXFP4 and NVFP4, holding one recipe fixed across three architectures: dense OpenPangu-1B and Llama3-8B, and Mixture-of-Experts Qwen3-MoE-30B, executing all linear and expert GEMMs in FP4. At matched storage — NVFP4 and HiF4 both spend 4.5 bits per value — the three differ far more in what they need before they will train at all than in final accuracy. HiF4 reaches a relative loss of 1.55\% with no stabilization, below fully stabilized MXFP4 (1.79\%) and below NVFP4 carrying the per-tensor scaling it cannot train without (2.00\%); a single Random Hadamard Transform (RHT) takes it under 1\% on the two larger models (0.85\%, 0.88\%). Our results suggest that stable, accurate FP4 training does not require an ever-growing stack of stabilization techniques; it requires the right numerical format.

    Abstract source
  • NeurIPS · Main conference

    On Neural Scaling Laws for Weather Emulation through Continual Training

    Shashank Subramanian, Alexander Kiefer, Arnur Nigmetov, Amir Gholami, Dmitriy Morozov, Michael Mahoney

    Abstract

    Neural scaling laws, which in some domains can predict the performance of large neural networks as a function of model, data, and compute scale, are the cornerstone of building foundation models in Natural Language Processing and Computer Vision. We study neural scaling in Scientific Machine Learning, focusing on models for weather forecasting. To analyze scaling behavior in as simple a setting as possible, we adopt a minimal, scalable, general-purpose Swin Transformer architecture, and we use continual training with constant learning rates and periodic cooldowns as an efficient training strategy. We show that models trained in this minimalist way follow predictable scaling trends and can outperform standard cosine learning rate schedules. Cooldown phases can be repurposed to improve downstream performance, e.g., enabling accurate multi-step rollouts over longer forecast horizons or sharper predictions through spectral loss adjustments. We also systematically explore a wide range of model and dataset sizes under various compute budgets to construct IsoFLOP curves, and we identify compute-optimal training regimes. Extrapolating these trends to larger scales highlights potential performance limits, demonstrating that neural scaling can serve as an important diagnostic for efficient resource allocation. We open-source our code for reproducibility.

    Abstract source
  • NeurIPS · Main conference

    ML-AutoResearch: Training Machine Learning Research Agents with Automatically Generated Environments

    Ziyang Cai, Seyyedamirhossein Saeidi, Harkirat Singh Behl

    Abstract

    Training LLM agents to carry out the engineering-heavy work of machine learning (ML) research, such as implementing baselines, running experiments, and debugging, requires large amounts of process-level supervision. Existing static benchmarks omit critical intermediate steps such as debugging and incremental reasoning, and manual data collection is prohibitively expensive. To overcome this data bottleneck, we introduce ML-AutoResearch (ML-AR), a scalable pipeline for automatically generating synthetic, end-to-end ML research tasks. Each task defines a complete research cycle, including problem specification, dataset selection, baseline implementation, and iterative improvement. To ensure realism and executability, tasks are grounded in real-world datasets and refined via an automated self-debugging procedure without requiring human supervision. We construct a large-scale dataset of teacher trajectories on these synthetic tasks to train student agents via supervised fine-tuning. We evaluate the resulting agents across 3 diverse ML research benchmarks. Across Qwen3 students at three sizes (4B–14B), fine-tuning on ML-AR trajectories improves the mean MLGym area under the performance profile (AUP) by 5.7–9.1% over three evaluation seeds, improves normalized MLAgentBench scores at every size, and transfers to AutoResearch. Smaller gains persist when the trajectories come from the open-weight Qwen3-32B instead of GPT-5. Because training is supervised imitation of teacher trajectories, ML-AR targets the execution skills of ML experimentation rather than teacher-independent scientific discovery; we report contamination analyses, multi-seed variance, and remaining per-task regressions.

    Abstract source
  • NeurIPS · Main conference

    Advanced Routing as Regularization Allocation for Efficient Diffusion Transformer Training

    Qin MA, XIAOQI SUN, bo li, Yuquan Zhou, Weizhong Zhang

    Abstract

    Diffusion Transformers (DiTs) have achieved strong performance in visual generation, but their dense token processing leads to slow training convergence and high computational cost. Recent token routing methods such as TREAD accelerate training by allowing a random subset of tokens to bypass intermediate layers. It can be expected that carefully tuning the routing ratios over time steps or layers can achieve more significant accelerations. However, the theoretical mechanisms underlying stochastic routing remain underexplored, making the tuning of routing ratios intractable. In this paper, we first theoretically show that stochastic token routing can be interpreted as an implicit route-sensitivity regularizer. Under this view, the routing ratio determines the strength of the induced regularization: larger routing ratios introduce stronger route-induced perturbations and therefore stronger regularization pressure. This further motivates a noise-conditioned routing strategy. In diffusion training, samples at larger timesteps contain heavier noise and often provide less stable gradient signals, suggesting that they may require stronger regularization. We therefore assign larger routing ratios to higher-noise samples, allowing the routing-induced regularization strength to adapt to the noise condition. Based on this insight, we propose \emph{Noise-Aware Routing}, which partitions samples within each mini-batch into low-, middle-, and high-noise regions and assigns progressively larger routing ratios to them. This simple noise-conditioned allocation synergistically bridges computational savings with enhanced model priors. Extensive experiments on class-conditional ImageNet generation show that our method accelerates training convergence and improves generation quality. Noise-Aware Routing achieves up to \textbf{15.6}$\times$ and \textbf{20}$\times$ convergence speedups over DiT baselines—and outperforms TREAD—on ImageNet-256 and ImageNet-512, respectively, measured by the training iterations required to match our 400K-step FID. In the guided setting, our method achieves an FID of \(2.67\) with a substantially shorter training iterations without architectural changes.

    Abstract source
  • NeurIPS · Main conference

    Accelerating Neural Network Training with Augmented Koopman Dynamics

    Jingyi Huang, Keyan Miao, Kostas Margellos, Paul Goulart

    Abstract

    Neural network training can be viewed as a discrete-time dynamical system whose trajectory can be learned and extrapolated to reduce the cost of repeated backpropagation. Koopman operator theory, which represents nonlinear dynamics as linear evolution in a space of observables, has been used for this purpose, but prior approaches model network parameters alone. This provides an incomplete state description for modern optimisers, whose updates depend on momentum and adaptive gradient statistics. We propose a training acceleration method based on augmented Koopman dynamics, in which the state comprises both model parameters and optimiser internal states. We estimate a strided, multi-step Koopman operator from training snapshots taken every $d$ iterations, thereby suppressing high-frequency fluctuations induced by mini-batch training and reducing snapshot storage. The learned linear model jointly extrapolates parameters and optimiser states, bypassing an adaptively chosen number of backpropagation steps. A safeguarding mechanism evaluates candidates over multiple horizons on a freshly sampled training mini-batch and accepts only candidates that outperform the most recent backpropagation iterate on that mini-batch. We instantiate the method for SGD with momentum, AdaDelta, Adam, and AdamW. Experiments on MNIST, CIFAR-10, and ImageNet-1K demonstrate substantial reductions in backpropagation steps and wall-clock training time while maintaining or improving final model performance.

    Abstract source
  • NeurIPS · Bridging the Future

    AI and Data Science for Her: Training the Next Generation of High School Girls in Nigeria

    Aderonke Sakpere

    Abstract

    This program will train 300 Nigerian high school girls across six geopolitical zones of the country in the fundamentals of AI and data science. Grounded in published research on how teenage girls engage with technical subjects, the curriculum is deliberately girl-centered, pairing students with female mentors already working in AI, and connecting technical concepts to capstone projects addressing real challenges in healthcare, agriculture, and education. AI clubs formed in each participating school will keep the learning going long after the program’s formal end

    Abstract source
  • NeurIPS · Main conference

    Do Heavy Tails Help Diffusion? On the Subtle Trade-off Between Initialization and Training

    Hamza Cherkaoui, Hélène Halconruy, Antonio Ocello

    Abstract

    Recent works have proposed incorporating heavy-tailed (HT) noise into diffusion- and flow-based generative models, with the goals of better recovering the tails of target distributions and improving generative diversity. This motivation is intuitive: if the data are heavy-tailed, HT noise may appear better matched than light-tailed (LT) Gaussian noise. However, replacing Gaussian noise by HT noise also changes the underlying estimation problem. In this paper, we revisit this paradigm through a combined theoretical and empirical study, establishing sampling-error bounds for two representative diffusion models driven by HT and LT noise. We show that HT diffusion models can achieve exponentially fast initialization, but accumulated training errors may offset this advantage. Experiments on synthetic and real-world datasets support our theoretical findings. Our results call into question a growing design trend in generative modeling and challenge the use of HT noise to improve rare-region exploration.

    Abstract source
  • NeurIPS · Main conference

    Implicit Bias in State Space Models and Linear Autoregressive Training

    Gal Katzhendler, Gilad Yehudai, Gal Vardi

    Abstract

    Linear State Space Models (SSMs) and linear autoregressive sequence models reuse the same parameters across a sample-dependent number of steps. As a result, different examples impose constraints through different predictors, even though all predictors share the same weights. We study this phenomenon through a general model of multiple non-homogeneous polynomial predictors with shared parameters, in a classification setting. Under standard interpolation and directional-convergence assumptions, together with a trajectory-dependent effective-degree condition, we show that gradient descent on the exponential loss converges in direction to a KKT point of an \emph{effective-degree max-margin problem}. In this problem, only examples with minimal effective degree impose hard margin constraints; examples with faster-growing margins are asymptotically inactive except for feasibility. Our result provides a first-order characterization of the implicit bias in linear SSMs and linear autoregressive models. It exposes a mechanism of length bias: a longer input sequence or additional autoregressive steps may increase the example's effective degree, and the examples with the smallest effective degree dominate the limiting classifier. Our result highlights how non-homogeneity and parameter sharing alter classical homogeneous implicit-bias results.

    Abstract source
  • NeurIPS · Main conference

    From Zero to Hero: Training-Free Custom Concept Spawning in Interactive World Models

    Kiymet Akdemir, Pinar Yanardag

    Abstract

    Autoregressive world models have emerged as a powerful paradigm for interactive video generation, allowing users to navigate dynamically generated environments through actions. These models are typically conditioned on a text prompt and/or a single reference frame, from which the entire world is generated. Yet the moment the user navigates beyond what is visible in that frame, the unseen regions are populated by the base model's priors, with no mechanism for the user to specify what should appear and where. This is a fundamental limitation for applications such as gaming, interactive storytelling, and simulation, where controllable scene composition is essential. We refer to this missing capability as concept spawning: introducing a user-specified visual concept into a world model, analogous to spawning in a game engine. We introduce SPAWN (Swapping Pinned Anchor with Windowed iNjection), a training-free method for concept spawning. SPAWN exploits a structural property of image-to-video backbones: the first slot of the context memory is pinned to the reference frame and acts as a foundational anchor for every generated chunk. By swapping this anchor with an external concept latent over a short injection window, we cause the concept to propagate naturally through the rollout via the model's own memory. SPAWN supports concepts from fine-grained entities such as characters and props to large elements such as buildings and landscapes, and accepts either an image or a text description as input. Experiments show that SPAWN integrates concepts with consistent lighting, scale, and perspective while preserving identity and temporal coherence, demonstrating that controllable concept spawning is achievable without any training in image-conditioned autoregressive video world models.

    Abstract source
  • NeurIPS · Main conference

    SVDP: Training-Free Contextual Sparsity Predictors for Fast LLM Inference

    Georgii Serbin, Kirill Koshkin, Zhongao Sun, Anastasiya Bistrigova, Constantine Korikov

    Abstract

    Contextual sparsity is one of the approaches used to reduce computational complexity in the inference process of large language models (LLMs). Existing techniques for efficient LLM inference acceleration based on contextual sparsity with minimal accuracy degradation require training sparse pattern predictors. This paper presents a framework for accelerating the inference of ReGLU-based feed-forward networks (FFNs) within LLMs. The proposed framework provides a fast, training-free method for building sparse pattern predictors using truncation-aware singular value decomposition (SVD) of the gate projection matrix, along with a threshold calibration algorithm, and inference executors supporting conditional computation on CUDA and CANN devices. Experiments on three sparse LLMs with an average activation sparsity level of 90\% in the FFNs demonstrate up to a 1.8x end-to-end decoding time speedup with less than 1\% degradation in benchmark scores on tasks involving math and code generation. This work advances the deployment of LLMs on edge devices.

    Abstract source
  • NeurIPS · Main conference

    How does RL Post-training Induce Skill Composition? A Case Study on Countdown

    Simon Park, Simran Kaur, Sanjeev Arora

    Abstract

    While reinforcement learning (RL) successfully enhances reasoning in large language models, its role in fostering compositional generalization (the ability to synthesize novel skills from known components) is often conflated with mere length generalization. To this end, we study what RL post-training teaches models about skill composition and how the composition structure affects the skill transfer. We focus on the \countdown{} task (given $n$ numbers and a target, form an expression that evaluates to the target) and analyze model solutions using expression trees, where each subtree corresponds to a reusable subtask and thus can be viewed as a ``skill.'' Tracking tree shapes and their success rates over training, we find: (i) out-of-distribution (OOD) generalization to larger $n$ and to unseen tree shapes, indicating compositional reuse of subtasks; (ii) the order of skill acquisition depends upon the composition structure---models master shallow balanced trees (workload is balanced between subtasks) before deep unbalanced ones, with persistent fragility on right-heavy structures for a fixed composition depth. Our diagnostic reveals what is learned, in what order, and where generalization fails, clarifying how RL-only post-training induces OOD generalization beyond what standard metrics such as pass@k reveal. To study the implications of our findings for real-world tasks, we present a preliminary study on formal theorem proving.

    Abstract source
  • NeurIPS · Main conference

    Scaling Cheap Synthetic Pretraining Improves Indoor Radio-Map Prediction

    Khoren Petrosyan, Artashes Mkrtchyan, Rafayel Mkrtchyan, Hrant Khachatryan, Theofanis Raptis

    Abstract

    Accurate pathloss prediction is important for planning indoor wireless networks, localization and network optimization for Wi-Fi as well as mobile networks, but good training data is very scarce, limiting how much this area can benefit from advances in deep learning. The data scarcity problem is partly mitigated by using synthetic datasets generated with high-quality, often commercial-grade simulators that are fed real building information. However, this is not scalable either, as real building layouts and the electromagnetic properties of their walls are scarce, and high-quality simulators are often proprietary, costly and computationally expensive. To address both of these bottlenecks, we introduce a probabilistic input generator that automatically creates diverse indoor layouts and a simple, fast ray tracer that calculates approximate radio maps for them. Using this pipeline, we generate 128M synthetic samples, pretrain ResNet-101 and Swin-T based U-Net encoder-decoders, then fine-tune them on five high-quality downstream benchmark tasks. Although our simulator is much simpler than the one used for the benchmarks, our ResNet-101 model reduces error by 16% on average relative to the best known models across the five indoor radio-map prediction tasks and improves transfer on a small real-measurement dataset. Both architectures improve predictably as pretraining data grows from 2M to 128M samples: our scaling law fitted on 2M to 16M samples predicts the mean normalized downstream RMSE at 32M to 128M with 3.33% mean absolute percentage error for ResNet-101 and 7.10% for Swin-T. We show that a cheap approximate simulator and randomly generated layouts are enough to reach state-of-the-art indoor pathloss prediction when combined with a small amount of high-quality data. We release the full pipeline, the layout generator, the simulator and the distributed dataset generation code.

    Abstract source
  • NeurIPS · Main conference

    Transcoda: End-to-End Zero-Shot Optical Music Recognition via Data-Centric Synthetic Training

    Daniel Dratschuk, Paul Swoboda

    Abstract

    Optical Music Recognition (OMR), the task of transcribing sheet music into a structured textual representation, is currently bottlenecked by a lack of large-scale, annotated datasets of real scans. Synthetic training pages often lack the crowded layouts, performance markings, and scan defects found in real scores. In Humdrum **kern, a text format for music notation, different encodings can produce the same printed score. The model must therefore learn encoding choices as well as musical content. We propose Transcoda, an OMR system built on (i) a synthetic data pipeline that combines dense score layouts, notation distractors, and scan degradation, (ii) a normalization of common equivalent **kern encodings and (iii) constrained decoding to ensure the syntactic correctness of the output. This approach allows us to train a compact 108M-parameter model in 9.8 hours on a single GPU that outperforms Legato, a model with 8.7x more parameters. It also has the lowest error of all compared systems on our synthetic test set. On real scans it reaches 22.59% OMR-NED, a music-aware error rate, on the 202 pages of IMSLP-Real, a new benchmark of manually checked transcriptions (Legato: 53.20%), and reduces the error rate on historical Polish scans to 21.95% OMR-NED (down from 52.00% for Legato). We make our model, data and generation pipeline publicly available at https://github.com/btrkeks/transcoda.

    Abstract source
  • NeurIPS · Main conference

    Vector Policy Optimization: Training for Diversity Improves Test-Time Search

    Ryan Bahlous-Boldi, Isha Puri, Idan Shenfeld, Akarsh Kumar, Mehul Damani, Sebastian Risi, Omar Khattab, Zhang-Wei Hong, Pulkit Agrawal

    Abstract

    Language models must now generalize out of the box to novel environments and work inside inference-scaling search procedures, such as AlphaEvolve, that select rollouts with a variety of task-specific reward functions. Unfortunately, the standard paradigm of LLM post-training optimizes a pre-specified scalar reward, often leading current LLMs to produce low-entropy response distributions and thus to struggle at displaying the diversity that inference-time search will require. We propose Vector Policy Optimization (VPO), an RL algorithm that explicitly trains policies to anticipate diverse downstream reward functions and to produce diverse solutions. VPO exploits that rewards are often vector-valued in practice, like per-test-case correctness in code generation or, say, multiple different user personas or reward models. VPO combines multi-answer prompting with a set-level reward to train the LLM to produce sets of solutions that specialize to different trade-offs in the vector reward space. Across four tasks, VPO matches or beats the strongest scalar RL baselines on test-time search (e.g. pass@k and best@k), with the gap widening as the search budget grows. For evolutionary search, VPO models unlock problems that GRPO models cannot solve at all. As test-time search becomes standard, diversity may need to become the default post-training objective.

    Abstract source
  • NeurIPS · Main conference

    Transformers Provably Learn Graph Search: Training Dynamics and the Exponential Power of Depth

    Xutao Ma, Somayeh Sojoudi

    Abstract

    Large Language Models (LLMs) have achieved remarkable progress on complex reasoning tasks, yet the mechanisms by which they acquire reasoning capabilities and the efficiency of their reasoning remain poorly understood. In this paper, we investigate the path-finding problem over directed graphs—a symbolic abstraction of multi-step reasoning. We first characterize the architectural requirements for this task, proving that one-layer transformers require $\Omega(N^2)$ size on dense graphs to implement the key DFS child-selection primitive. While a two-layer transformer implements full DFS with $O(N\log(N))$ size. Thus, a second layer is necessary and sufficient for near-linear DFS reasoning. We then extend this expressivity analysis to deeper models: for every $k\geq3$, a $k$-layer transformer implements a bounded-reachability DFS policy with look-ahead horizon $1+2^{k-3}$, establishing an exponential increase in reachability horizon with depth. Finally, going beyond expressivity, given appropriately curated training data, we show that two-layer transformers can provably learn to execute DFS via gradient flow and generalize to unseen graphs. Together, our results provide a mechanistic account of how transformers implement graph search, how depth expands bounded look-ahead, and how such reasoning algorithms can emerge through training.

    Abstract source
  • NeurIPS · Main conference

    DSAQuant: Denoising-Stage-Aligned Quantization-Aware Training for Video Generation

    Shuaiting Li, Zelin Gao, Haibin Shen, Yujun Shen, Haotong Qin, Yinghao Xu

    Abstract

    Video diffusion models (VDMs) have achieved impressive progress in text-to-video generation, but their high memory and computational costs hinder practical deployment. Quantization-aware training (QAT) is an effective solution for compressing and accelerating advanced generative models without runtime overhead at inference. % However, existing QAT methods suffer from a distinctive challenge in VDMs: while they often preserve prompt semantics, global layout, and coarse motion, the quantized model severely degrades visual details, texture fidelity, and sharpness. In this paper, we trace this degradation to the timestep-agnostic design of conventional quantization pipelines, which overlooks the stage-wise functionality of video denoising. In VDMs, early denoising steps mainly establish global structure and motion, whereas middle and late steps refine local appearance and high-frequency details. Based on this insight, we propose \textbf{DSAQuant}, a \textbf{D}enoising-\textbf{S}tage-\textbf{A}ligned \textbf{Quant}ization-aware training framework for VDMs. During training, \textit{Denoising-Stage Oriented Supervision} preserves teacher distillation in early steps for stable structure planning, while shifting later steps toward target-driven optimization to enhance detail reconstruction. During inference, \textit{Denoising-Stage Gated Guidance} disables CFG in the final denoising steps to prevent it from amplifying quantization-induced errors into high-frequency artifacts. Extensive experiments on the Wan and CogVideoX families under W4A4 and W3A3 settings show that DSAQuant consistently outperforms the SOTA QAT baseline, improving the VBench average score by up to 6.60 under aggressive W3A3 quantization while preserving strong text-video alignment. These results demonstrate that effective VDM quantization requires not only reducing quantization error, but also aligning quantization training and inference with the stage-wise nature of video diffusion. Our code is publicly available at \url{https://github.com/robbyant-research/DSAQuant}, and demo videos at \url{https://robbyant-research.github.io/DSAQuant/}.

    Abstract source
  • NeurIPS · Main conference

    Beyond What Seems Necessary: Hidden Gains from Scaling Training-Time Reasoning Length under Outcome Supervision

    Yihao Xue, Allan Zhang, Jianhao Huang, Amit Sahai, Baharan Mirzasoleiman

    Abstract

    Training LLMs to think and reason for longer has become a key ingredient in building state-of-the-art models that can solve complex problems previously out of reach. Recent efforts pursue this in different ways, such as RL fine-tuning to elicit long CoT or scaling latent reasoning through architectural recurrence. This makes reasoning length an important scaling knob. In this work, we identify a novel phenomenon (both theoretically and experimentally): under outcome-only supervision, out-of-distribution (OOD) performance can continue improving as training-time reasoning length (e.g., the token budget in RL, or the loop count in looped Transformers) increases, even after in-distribution (ID) performance has saturated. This suggests that robustness may require a larger budget than ID validation alone would indicate. We provide theoretical explanations via two mechanisms: (i) self-iteration can induce a stronger inductive bias in the hypothesis class, reshaping ID-optimal solutions in ways that improve OOD generalization; and (ii) when shortcut solutions that work for ID samples but not for OOD samples persist in the hypothesis class, regularization can reduce the learned solution's reliance on these shortcuts as the number of self-iterations increases. We complement the theory with empirical evidence from two realizations of scaling training-time reasoning length: increasing the number of loops in looped Transformers on a synthetic task, and increasing token budgets during RL fine-tuning of LLMs on mathematical reasoning, coding, and cross-representation tasks.

    Abstract source