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

241–260 of 446

  • NeurIPS · Main conference

    HALO: Homotopy-Augmented Layer Optimization for Stable LLM Supervised Post-training

    Mengxiang Zhang, Lingyuan Liu

    Abstract

    Supervised post-training, including supervised fine-tuning (SFT) and knowledge distillation (KD), is essential for adapting large language models (LLMs) to specialized domains. However, traditional supervised post-training methods often suffer from catastrophic forgetting, training instability, and prohibitive computational costs. While layer-wise strategies have emerged as efficient alternatives, they introduce a representation bottleneck, where constrained updates in early stages limit feature diversity and impair final generalization. To resolve these issues, we develop HALO (Homotopy-Augmented Layer Optimization), a homotopy-driven layer-wise strategy for LLM post-training. By introducing a continuous homotopy parameter and a sequence of monotonically increasing auxiliary functions, we formulate the post-training process as a continuous deformation of the optimization problem that progressively incorporates layers into the trainable set. Specifically, HALO unfreezes the model from the output back to the input in a structured sequence. We theoretically characterize how this continuation yields a stable, bounded-error optimization trajectory across stage expansions under local regularity conditions. Extensive experiments across diverse model families and sizes demonstrate that HALO consistently enhances performance and generalization. Notably, HALO exhibits strong robustness in challenging scenarios, especially in low-resource settings, while significantly reducing convergence time and iteration counts. Our results position HALO as an effective and accessible framework for high-performing LLM specialization.

    Abstract source
  • NeurIPS · Main conference

    DELTA: Robustly Training Label-Conditional Diffusion Models with Weak Annotations

    Dong-Dong Wu, Jiacheng Cui, Wei Wang, Zhiqiang Shen, Masashi Sugiyama

    Abstract

    While label-conditional diffusion models exhibit remarkable generative capabilities recently, their success heavily relies on massive, cleanly labeled datasets. In practice, categorical supervision is rarely perfect: it is often corrupted by noise, clouded by ambiguity, or partially missing. Training directly on such weak annotations severely degrades generation quality, and existing robust methods offer only fragmented solutions that depend on scarce auxiliary priors. To overcome these limitations, we propose DELTA, a unified framework that robustly trains diffusion models across all three weak annotation types without any external priors. By treating the unknown true label as a latent variable, DELTA optimizes a principled variational objective that jointly recovers the clean data distribution and infers the true label posteriors. To make this joint training computationally tractable, we further introduce a median-centered timestep sampling strategy that efficiently concentrates evaluation where the diffusion process is most informative. Extensive experiments demonstrate that DELTA produces high-fidelity, class-consistent samples across diverse weak supervision scenarios, outperforming specialized baselines while demanding strictly less prior knowledge.

    Abstract source
  • NeurIPS · Main conference

    AR-Edit: Training-Free Autoregressive Video Editing without Inversion

    Hovhannes Margaryan, Quentin Bammey, Christian Sandor, Vicky Kalogeiton

    Abstract

    Editing a video stream in real time, without access to future frames, is essential for interactive applications. Existing training-free video editing methods, however, assume full offline access to the entire sequence, while streaming approaches either rely on additional training or are limited to specific editing techniques. We show that this limitation can be removed by analyzing the self-attention dynamics of DMD-distilled autoregressive (AR) video diffusion models. We uncover a key asymmetry: queries and keys remain stable and aligned with their source counterparts across denoising timesteps, while values diverge and encode the evolving content. Inherited from the non-distilled bidirectional teacher, this asymmetry is strongest at high noise, where few-step streaming models operate. The resulting mechanism is simple: a single forward pass suffices to capture source identity in the value features, which can be reused throughout generation. Starting from pure Gaussian noise and injecting only these source values reconstructs the input with fidelity matching or surpassing inversion-based methods, effectively eliminating inversion. Based on this insight, we introduce AR-Edit, a training-free, inversion-free method that caches source values once and selectively injects them during denoising. Across multiple AR backbones, AR-Edit enables real-time streaming editing with superior source preservation and tonal fidelity at minimal overhead.

    Abstract source
  • NeurIPS · Main conference

    NitroBox: Lightning-Fast Sandbox for Large-Scale RL Training

    Yuzhou Nie, Ruilin Zhou, Zhaorun Chen, Jingyang Zhang, Yan Shao, Hongwei Li, Bo Li, Dawn Song, Wenbo Guo

    Abstract

    Recent work on agentic training efficiency has mainly focused on improving learning algorithms, rollout strategies, or model–hardware co-design. However, these approaches overlook an important source of training latency: the sandbox that runs the environments. In fact, creating, executing, and resetting containers accounts for an important portion of the rollout process in RL training, substantially slowing down overall training. This overhead largely stems from the centralized management mechanisms (e.g., a daemon) of existing sandboxes, along with additional features (e.g., multi-tenancy) that are unnecessary for reinforcement learning (RL). Moreover, existing sandboxes are designed for general-purpose usage, making them a poor fit for the requirements of RL rollout and training. We propose NitroBox, a novel sandbox system purpose-built for agentic RL that significantly accelerates the rollout and training process. Technically speaking, we first comprehensively redesign NitroBox's lifecycle to eliminate the dependency on a daemon, so that every sandbox instance is fully independent during creation, startup, and reset (e.g., via rootless full-namespace isolation). Furthermore, we introduce a copy-on-write mechanism to enable fast initialization across multiple instances. Second, we strip features that are time-consuming but unnecessary for RL — such as multi-tenancy — while preserving the core functionality and security guarantees needed for RL training. Finally, we introduce RL-native features to further improve efficiency, such as optional CRIU-based process checkpoint saving and restoring for mid-trajectory branching. Our experiments show that NitroBox is faster than Docker across the entire lifecycle: 10.6× faster in sandbox creation, 24.6× in reset, and 19.1× in deletion. When training Qwen2.5-Coder-32B-Instruct with GRPO at c=32 concurrency, end-to-end wall-clock training time drops from 40.6 hours to 28.4 hours when replacing Docker with NitroBox, while preserving the same training performance.

    Abstract source
  • NeurIPS · Main conference

    StainNFT: Curriculum-Gated Multi-Reward Post-Training for Pathology-Faithful Virtual Staining

    shurong yang, Dong Wei, Qiong Peng, Xian Wu, Yefeng Zheng, Liansheng Wang

    Abstract

    Immunohistochemical (IHC) staining encodes molecular protein expression critical for clinical diagnosis, yet its chemical procedures are costly and time-consuming. Virtual staining offers a compelling alternative by digitally synthesizing IHC images from hematoxylin-eosin (H\&E) stained slides. Despite remarkable progress in diffusion- and flow-matching-based virtual staining, supervised fine-tuning (SFT) remains fundamentally limited in pathological fidelity due to its coarse, spatially averaged supervision signal that starves sparse DAB-positive regions of effective gradients. Reinforcement learning (RL) can exploit inter-rollout variance for outcome-level pathological supervision, but naively applying DAB-based rewards triggers severe reward hacking that collapses the image distribution and degrades perceptual quality. This paper presents StainNFT, a flow matching RL post-training framework built on a curriculum reward strategy that gates fine-grained optical density supervision on per-sample DAB mask IoU. To enhance fine-grained pathological fidelity, we introduce expression-aware reweighting, multi-scale block supervision, and a closed-loop implicit pathological semantic reward derived from pathology foundation model priors. Extensive experiments on seven benchmarks demonstrate that StainNFT consistently outperforms existing methods in both perceptual quality and pathological fidelity for H\&E-to-IHC virtual staining. Ablation studies confirm the effectiveness of each proposed component. Our code and trained models will be released.

    Abstract source
  • NeurIPS · Main conference

    Token-Conditional Expert Dropout: Implicit Regularization for Stable MoE Pretraining

    Haili Wang

    Abstract

    Sparse Mixture-of-Experts (MoE) layers underpin many of the most capable open-weight large language models, including DeepSeek-V3.2, Qwen3-MoE, and the Llama~4 family, but their pretraining is prone to an early-stage pathology in which a few experts dominate the routing distribution while the remainder are starved of gradient signal. Common remedies---load-balancing auxiliary losses, sequence-level balance constraints, and router z-loss penalties---push the gating distribution toward uniformity through additional gradient signals that compete with the language-modeling objective and require coefficient tuning. We argue that the root issue is a positive-feedback loop between expert capability and expert selection, and we propose Token-Conditional Expert Dropout (TCED), a training-time perturbation that masks the chosen expert for a token with probability proportional to that expert's recent utilization and re-routes the token to the highest-scoring alternative. TCED requires no auxiliary loss and no learned parameters; it has three hyperparameters, of which we fixed two a priori and swept only the dropout rate. With the utilization-dependent probability detached, the TCED gradient is unbiased for a convex combination of the original and re-routed objectives rather than for the original objective itself, and under a stationary-router assumption we prove a steady-state bound on the variance of normalized expert utilization; the early, non-stationary collapse phase is covered only empirically. We pretrain a 1.4B-active / 8B-total MoE (64 experts, top-6 routing) on 480B tokens, with one run per recipe. Relative to a tuned auxiliary-loss + z-loss baseline, TCED lowers steady-state utilization variance by 67\% and improves MMLU-Pro and GPQA by 2.1 points each, and it performs on par with bias-based auxiliary-loss-free balancing (within 0.4 points, 13\% lower variance). These findings are limited to the tested scale, expert count, routing width, and token budget.

    Abstract source
  • NeurIPS · Main conference

    Pretraining Curricula Enable Selective Fine-tuning

    Sebastian Bruijns, Jirko Rubruck, Mia Whitefield, Kai J Sandbrink, Laurence T Hunt, Fazl Barez, Christopher Summerfield

    Abstract

    Transformers follow _implicit_ curricula whereby some tasks are learned before others. However, how _explicit_ pretraining curricula influence learning, generalization, and the selectivity of fine-tuning is unclear. This is important for AI safety, where fine-tuning is used to selectively suppress misaligned behaviors. Here, we train small-scale transformers on two simple and well-controlled tasks to establish the effects of curricula that pretrain tasks in a balanced (sampled uniformly) or an imbalanced (one task early, the other late) fashion. We show that imbalanced learning of two conflicting copy tasks promotes in-context learning and improves the selectivity of refusal fine-tuning. Ablations and activation patching show that this occurs because imbalanced pretraining encourages tasks to be disentangled in separable neural circuits, whereas balanced training routes both tasks through a common pathway. We extend these findings to a synthetic language learning task involving rule-consistent and rule-violating data, where imbalanced curricula similarly lead to more localized, less entangled rule representations, resulting in more robust rule-following behavior. Our results show that imbalanced pretraining curricula are an important tool for promoting disentangled representations in small models, with promising potential applications for increased precision and reliability of safety fine-tuning.

    Abstract source
  • NeurIPS · Main conference

    Optimal Representation Size: High-Dimensional Analysis of Pretraining and Linear Probing

    Valentina Njaradi, Clémentine Dominé, Rachel A Swanson, Marco Mondelli, Andrew Saxe

    Abstract

    Data-efficient generalisation is a central objective in both artificial and biological learning. A common strategy is extracting reusable structure from abundant unlabelled data, enabling efficient adaptation to new tasks using limited supervision. This two-stage paradigm underlies modern training pipelines, in which pretraining is followed by fine-tuning or linear probing. We provide an analytical model of this process, formalising structure extraction as principal component analysis on unlabelled data and downstream learning as linear regression on a separate labelled dataset. In the high-dimensional regime, we derive exact expressions for training and generalisation errors, characterising their dependence on representation dimensionality, unlabelled and labelled sample sizes, and task alignment. Our results show that pretrained representations strongly influence downstream generalisation, and we characterize the optimal representation size across data regimes. With abundant pretraining but scarce downstream data, maximally compressed representations are optimal, whereas with limited pretraining data, higher-dimensional representations generalise better. Furthermore, we establish an exact trade-off between pretraining and supervision, quantifying how much unlabelled data is required to replace a single labelled sample. Beyond our idealised model, we observe similar phenomenology in autoencoders and pretrained LLMs. Altogether, we highlight that optimising representation size is critical for downstream generalisation and identify when compression during pretraining is beneficial.

    Abstract source
  • NeurIPS · Main conference

    AOT-POT: Adaptive Operator Transformation for Large-Scale PDE Pre-training

    Qitan Lv, Hong Wang, Hao Zhongkai, Wen Wu, Xuenan Xu, Bowen Zhou, Feng Wu, Chao Zhang

    Abstract

    Pre-training neural operators on diverse PDE datasets has emerged as a promising paradigm for building general-purpose surrogate models in scientific machine learning. However, the **inherent complexity** and **structural diversity** of PDE solution operators make multi-PDE pre-training fundamentally difficult. Existing approaches address this mainly by enlarging model capacity, while the target solution operators themselves remain unchanged. Inspired by classical numerical analysis---where a problem-tailored *operator transformation* reformulates a complex PDE into a numerically easier equivalent---we propose to similarly reformulate the target solution operators, turning a heterogeneous set of complex, structurally divergent operators into a simpler and better-aligned equivalents. Since different PDEs admit different simplifications, the transformation must be *adaptive and input-dependent*, so that a single neural operator can approximate the entire family jointly. We instantiate this idea as AOT-POT (**A**daptive **O**perator-**T**ransformation for **P**re-training **O**perator **T**ransformer), which realizes such a transformation by expanding the hidden representation into multiple parallel streams, aggregating and redistributing them with input-dependent weights before and after each sub-layer, and mixing streams through Sinkhorn-projected doubly stochastic matrices for stable training. Together, these mechanisms reformulate the diverse, complex solution operators into a simpler equivalents that a single architecture can approximate jointly. Empirically, AOT-POT achieves state-of-the-art results on 12 PDE benchmarks with only 3% additional parameters, reducing the relative L2 error by up to 77.6% (40.9% on average). Fine-tuning further reduces L2 error by up to 92% on in-domain PDEs and 89% on out-of-domain PDEs, confirming that adaptive operator transformation is an orthogonal and effective axis for advancing PDE foundation models, beyond merely scaling model capacity.

    Abstract source
  • NeurIPS · Main conference

    Interpretable Transformers with Sparse Attention Post-training

    Florent Draye, Anson Lei, Hsiao-Ru Pan, Ingmar Posner, Bernhard Schölkopf

    Abstract

    We introduce a simple post-training method that makes transformer attention sparse without sacrificing performance. Applying a flexible sparsity regularisation under a constrained-loss objective, we show on models up to 7B parameters that it is possible to retain the original pretraining loss while reducing attention connectivity to $\approx 0.4$% of its edges. Unlike sparse-attention methods designed for computational efficiency, our approach leverages sparsity as a structural prior: it preserves capability while exposing a more organized and interpretable connectivity pattern. We find that this local sparsity cascades into global circuit simplification: task-specific circuits involve far fewer components (attention heads and MLPs) with up to 100× fewer edges connecting them. Additionally, using cross-layer transcoders, we show that sparse attention substantially simplifies attention attribution, enabling a unified view of feature-based and circuit-based perspectives. These results demonstrate that transformer attention can be made orders of magnitude sparser, suggesting that much of its computation is redundant and that sparsity may serve as a guiding principle for more structured and interpretable models.

    Abstract source
  • NeurIPS · Main conference

    Empowering Time Series Analysis with Large-Scale Multimodal Pretraining

    Peng Chen, Siyuan Wang, hu, Xingjian Wu, Yang Shu, Zhongwen Rao, Meng Wang, Yijie Li, Bin Yang, Chenjuan Guo

    Abstract

    While existing time series foundation models primarily rely on large-scale unimodal pretraining, they lack complementary modalities to enhance time series understanding. Building multimodal foundation models is a natural next step, but it faces key challenges: 1) lack of a unified multimodal pretraining paradigm and large-scale multimodal corpora for time series analysis; 2) how to effectively integrate heterogeneous modalities and enhance model generalization. To address these challenges, we take an early step toward multimodal foundation models for time series analysis. We first propose a multimodal pretraining paradigm that leverages time series with endogenous modalities (derived images and text) and exogenous knowledge (real-world news), providing a comprehensive multi-view perspective for time series analysis. To support this, we develop an automated data construction pipeline to curate MM-TS, the large-scale multimodal time series dataset spanning six domains, with up to one billion points. Then we propose HORAI, a frequency-enhanced multimodal foundation model. It integrates two core components: the Frequency-enhanced Cross-Modality Encoder and the Time-Frequency Decoder, designed to effectively fuse multimodal features and enhance model generalization across modalities and domains. After pretraining on MM-TS, HORAI achieves state-of-the-art zero-shot performance on time series forecasting and anomaly detection tasks, demonstrating strong generalization. We provide our code at https://github.com/decisionintelligence/HORAI.

    Abstract source
  • NeurIPS · Main conference

    Training on Documents About Monitoring Leads to CoT Obfuscation

    Reilly Haskins, Bilal Chughtai, Joshua Engels

    Abstract

    Chain-of-thought (CoT) monitoring is one of the most promising tools we have for detecting model misbehavior, but its effectiveness depends on models faithfully externalizing their reasoning. Motivated by this vulnerability, we present a proof of concept study of whether monitor-aware models are capable of obfuscating their reasoning to evade detection. We use synthetic document finetuning to expose eight models to realistic pre-training-style documents describing a CoT monitor and find that monitor-aware models consistently achieve higher rates of undetected misbehavior compared to unaware controls. This effect is weaker but still present on a harder agentic task. Because these documents are highly concentrated and involve a clear description of what the monitor flags, we treat this as an upper bound on the threat rather than a realistic estimate for current pretraining. We also show that CoT controllability, a model's ability to reshape its own reasoning trace under an imposed constraint, is closely correlated with obfuscation success across the eight models studied ($r=0.800$, $p=0.017$). Under equal reinforcement learning optimization pressure, a monitor-aware gpt-oss-120b also learns to reward-hack without triggering a CoT monitor substantially faster than an unaware control. Together, these results suggest that knowledge of monitoring combined with high CoT controllability poses a risk to CoT-based monitoring.

    Abstract source
  • NeurIPS · Main conference

    Rethinking Training Targets, Architectures and Data Quality for Universal Speech Enhancement

    Szu-Wei Fu, Rong Chao, Xuesong Yang, Sung-Feng Huang, Ryandhimas E Zezario, Rauf Nasretdinov, Ante Jukić, Yu Tsao, Frank Wang

    Abstract

    Universal Speech Enhancement (USE) aims to restore speech quality under diverse degradation conditions while preserving signal fidelity. Despite recent progress, key challenges in training target selection, the distortion--perception tradeoff, and data curation remain unresolved. In this work, we systematically address these three overlooked problems. First, we revisit the conventional practice of using early-reflected speech as the dereverberation target and show that it can degrade perceptual quality and downstream ASR performance. We instead demonstrate that time-shifted anechoic clean speech provides a superior learning target. Second, guided by the distortion--perception tradeoff theory, we propose a simple two-stage framework that achieves minimal distortion under a given level of perceptual quality. Third, we analyze the trade-off between training data scale and quality for USE, revealing that training on large uncurated corpora imposes a performance ceiling, as models struggle to remove subtle artifacts. Our method achieves state-of-the-art performance on the URGENT 2025 non-blind test set and exhibits strong language-agnostic generalization, making it effective for improving TTS training data. Model weights are available for download at: https://huggingface.co/nvidia/RE-USE.

    Abstract source
  • NeurIPS · Main conference

    Training Language Models to Explain Their Own Computations

    Belinda Z Li, Zifan Carl Guo, Vincent Huang, Jacob Steinhardt, Jacob Andreas

    Abstract

    Can language models (LMs) learn to faithfully describe their internal computations? Are they better able to describe themselves than other models? We study the extent to which LMs' privileged access to their own internals can be leveraged to produce new techniques for explaining their behavior. Using existing interpretability techniques as a source of ground truth, we fine-tune LMs to generate natural language descriptions of (1) the information encoded by LM features, (2) the causal structure of LMs' internal activations, and (3) the influence of specific input tokens on LM outputs. When trained with only tens of thousands of example explanations, explainer models exhibit non-trivial generalization to new queries. This generalization appears partly attributable to explainer models' privileged access to their own internals: fine-tuning a model to explain its *own* computations generally works better than fine-tuning a different model (even if the explainer model is significantly more capable than the target). Our results suggest not only that LMs can learn to reliably explain their internal computations, but that such explanations offer a scalable complement to existing interpretability methods.

    Abstract source
  • NeurIPS · Main conference

    PhysAgentGym: Physical-Law Verifiers for Training Small Code-Reasoning Agents

    Lama Moukheiber

    Abstract

    Code-reasoning agents trained from rollouts rely on verifiers, such as expert an- notation, hand-written unit tests, or learned reward models, each of which needs human effort for every new domain. However, in domains governed by closed- form physical laws, whether the laws themselves can serve as automatic verifiers remains unclear. We propose PhysAgentGym, an agentic code-execution gym for classical mechanics of point masses, in which a language model writes a Python program that simulates a physics scenario and a rule-based verifier com- piles natural-language standards into checks on the emitted trajectory. The scores are annotation-free, since physical laws supply the ground truth and neither the agent nor the verifier reads the exact solution, and an audit against these withheld solutions shows that every highly scored test trajectory from Claude Sonnet 4.5, Claude Opus 4.8, GPT-5, and our trained 7B model matches its exact solution. Fine-tuning Qwen2.5-Coder on Claude Sonnet 4.5 rollouts selected by the verifier brings the 7B model statistically on par with Sonnet 4.5 and GPT-5. It matches Sonnet 4.5 on held-out Circular Motion and comes close on held-out Damping, a phenomenon absent from training. Frontier models already reach the highest score the verifier gives in practice, but on harder composite tasks with drag, orbits, and driven and coupled oscillators, where the exact solution earns nearly the full score, the verifier separates correct from wrong physics and Claude Opus 4.8 scores measurably above Sonnet 4.5.

    Abstract source
  • NeurIPS · Main conference

    CLIFT: Conformal Self-Verification for Web Agent Training and Test-Time Scaling

    Yifan Zhang, Yutong Dai, Viraj Prabhu, Zhiyuan Hu, Ran Xu, Zeyuan Chen

    Abstract

    Open-source web agents are now strong enough to execute realistic browser tasks, but training them with reinforcement learning still depends on weak supervision: binary task success is too sparse for credit assignment, while frontier-language-model judges are too expensive to call at every step and cannot be assumed available at deployment. We introduce CLIFT, a training and test-time scaling method built around conformal self-verification. During training, the agent answers natural-language verification questions about its own rollouts; a Compositional Conformal Certifier keeps only question signals whose URL-conditional evidence agrees with a training-time judge, assigns signed trust weights through polarity-aware lift, and blends the resulting verifier score into per-step rewards in a way that never subtracts from the judge baseline. At test time, the same certified bank is frozen and reused as structured evidence for Conformal Trajectory Selection (CTS): the agent samples a greedy rollout and one or more diverse retries, the self-verifier summarises each URL trace, and a conservative majority-vote rule chooses whether to swap away from the current incumbent without calling any external judge. This single mechanism supports three settings. On WebArena Infinity, CLIFT achieves state-of-the-art performance among open-source web agents. On VisualWebArena, a bank trained with the open model transfers to GPT-5.5 at test time and reaches state-of-the-art performance under the canonical harness. On Online Mind2Web, without training an agent on the benchmark, translating the certified question bank improves a live-web agent in zero-shot evaluation. Together these results position conformal self-verification as a way to turn costly judge feedback into a reusable training signal and a judge-free test-time scaling signal.

    Abstract source
  • NeurIPS · Main conference

    The Mirage of Optimizing Training Policies: Monotonic Inference Policies as the Real Objective for LLM Reinforcement Learning

    Jing Liang, Hongyao Tang, Yi Ma, Yancheng He, Weixun Wang, Xiaoyang Li, Wenbo Su, Jinyi Liu, YAN ZHENG, Jianye Hao, Bo Zheng

    Abstract

    Reinforcement learning (RL) has gained growing attention in large language model (LLM) post-training, yet RL training remains fragile and can suffer from instability or collapse. One vital cause is training-inference mismatch: LLM adopts separate inference and training engines for generation efficiency and training precision, which in practice exhibits inconsistent probabilities for the same trajectories on training and inference sides, even with synchronized model parameters. This naturally induces a special type of off-policyness ever existing and poisoning the training. Prior works have made various efforts in addressing the off-policyness to stabilize the training policies under the mismatch. In this paper, we point out the objective misalignment neglected by existing works that an effective update to the policy in the training engine doesn't necessarily ensures the improvement of the inference policy, i.e., the one used in deployment. To this end, we propose a new policy optimization objective for LLM RL, named Monotonic Inference Policy Improvement (MIPI). Following this principle, we introduce Monotonic Inference Policy Update (MIPU), a two-step LLM RL framework that constructs sampler-referenced candidate updates and selectively accepts synchronized candidates using an inference-side gap proxy. Experiments conducted on two model scales under high mismatch show that MIPU improves average reasoning performance and training stability.

    Abstract source
  • NeurIPS · Main conference

    CSO-LLM: Class Subspace Orthogonalization for Post-Training Backdoor Detection and Trigger Inversion in LLMs

    Zhengxing Li, David J Miller, Guangmingmei Yang, George Kesidis

    Abstract

    While post-training backdoor detection and trigger inversion schemes have been developed for AIs used e.g. for images, there is a paucity of such methods for LLMs. First, the LLM input space is discrete, with up to $150{,}000^k$ $k$-tuples to consider with $k$ the token-length of a putative trigger. Second, one must blacklist tokens typical of the putative target response (class) of an attack, as such tokens may give false detection signals. However, a comprehensive blacklist is not available, in general, for a given domain. We develop a highly effective detection and inversion framework for LLMs treated as classifiers. Central to our approach is class subspace orthogonalization (CSO), a novel plug-and-play paradigm for backdoor detection that serves two fundamental roles when applied to LLMs: (i) it enhances both sensitivity and specificity of a baseline detector; (ii) it provides a form of implicit blacklisting, as it penalizes against inclusion, in a candidate trigger, of tokens that induce signal perturbations "in the direction of" the putative target class of an attack. One version of our detector performs continuous optimization in token embedding space, while a companion trigger-inversion and detection method performs greedy accretion in discrete token space. Our methods give both strong detection performance and accurate inversion of ground-truth triggers on several LLM classification domains, and for several different LLM architectures.

    Abstract source
  • NeurIPS · Main conference

    Attention-Based Pretraining for Unsupervised Amortized Causal Discovery

    Naiyu Yin, Tian Gao, Yue Yu

    Abstract

    Directed Acyclic Graphs (DAGs) are foundational to many areas of AI research, providing a formal language for causal reasoning and model interpretability. However, learning DAGs remains challenging, due to super-exponential computational cost and diminished accuracy in small sample regimes. To address these challenges, we introduce Attention-DAG (ADAG), a novel linear transformer architecture for unsupervised amortized DAG learning. Unlike traditional unsupervised DAG learning methods which recover the graph structure from data of each individual domain, ADAG leverages the knowledge from multiple domains. It provides a nonlinear mapping from observational data of each domain to both the corresponding graph structure and the underlying parameters of Structural Equation Models (SEMs). This enables efficient zero-shot inference of causal structures in new domains with unseen SEM parameters. Remarkably, we demonstrate that for the DAG learning problem, attention acts as a fixed-point iterative scheme, so the training on multiple domains effectively discovers an efficient solver for the constraint optimization problem. Extensive evaluations on synthetic and realistic benchmarks demonstrate that ADAG significantly outperforms existing baselines in accuracy and efficiency, particularly when data is scarce. Our code accompanying this paper is provided at \url{https://github.com/fishmoon1234/Attention-Based-Causal-Discovery}.

    Abstract source
  • NeurIPS · Main conference

    Rethinking Bayesian Optimization for Co-Optimizing LLM Training Configurations

    Zhiliang Chen, Alfred Leong, Shao Yong Ong, Apivich Hemachandra, Gregory Kang Ruey Lau, Chuan Sheng Foo, Zhengyuan Liu, Nancy F Chen, Bryan Kian Hsiang Low

    Abstract

    Fine-tuning an LLM to maximize performance on a downstream task requires finding the optimal data and model configuration. This is a black-box optimization problem that Bayesian optimization (BO) addresses by sequentially evaluating training configurations and using observed performance feedback to adaptively guide the search towards better configurations. However, directly applying BO to the joint data-model space suffers from two fundamental challenges: the prohibitive cost of full LLM training at each iteration, and the large number of BO iterations required for effective exploration due to the high problem dimensionality. This paper introduces JoBS, a BO-based approach that co-optimizes data and model configurations without requiring a full training run at every iteration. JoBS allocates an initial portion of the optimization budget to learn a scaling-law-inspired performance predictor that estimates fully trained LLM performance from only a small number of training steps. The remaining budget is then used to run BO with this predictor, eliminating the need for full training runs and enabling JoBS to explore significantly more data and model configurations within the same budget. We analyze JoBS' average regret and derive the optimal budget allocation between predictor learning and BO iterations. Empirically, JoBS outperforms independent data and model optimization methods and existing multi-fidelity BO baselines across a diverse set of downstream tasks. Our code is available at https://github.com/a35453779/JoBS.

    Abstract source