NeurIPS papers
Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.
Explore the NeurIPS analysisSearch results
381–396 of 396
- NeurIPS · Main conference
On the Sparsity of Direct Preference Optimization: Weight Disentanglement in the NTK Regime
Kensuke Sasaki, Issei Sato
Abstract
Direct Preference Optimization (DPO) has been widely adopted for aligning language models with human preferences. Recent empirical work has revealed that DPO induces remarkably sparse parameter updates, yet no theoretical explanation for this phenomenon has been offered. We analyze DPO's optimization dynamics under a neural tangent kernel linearization and show that the logistic structure of the DPO loss gives rise to an implicit maximum-margin bias. Building on this observation, we introduce the concept of _dual sparsity_: the DPO update direction is a sparse linear combination (data-level sparsity, driven by support vectors) of sparse gradient feature vectors (parameter-level sparsity, arising from gradient cancellation between preferred and dispreferred responses). We formalize this structure in our main theorem, bound the number of support pairs by a margin-dependent spectral quantity, and present a framework relating dual sparsity to weight disentanglement---a condition favorable for model merging. Experiments on GPT-2 Small and Medium and on 7--9B instruction-tuned models (Llama-3-8B, Mistral-7B, Gemma-2-9B) with the Anthropic HH-RLHF and UltraFeedback datasets confirm both sources of sparsity, and experiments on GPT-2 show that DPO reduces cross-task interference by up to $35{\times}$ compared to supervised fine-tuning.
Abstract source - NeurIPS · Main conference
Language Model-Driven Kernel Discovery for High-Dimensional Bayesian Optimization
Taeyoung Yun, Woocheol Shin, Inhyuck Song, Jaewoo Lee, Jinkyoo Park
Abstract
Gaussian Process (GP) kernels are central to Bayesian optimization (BO), yet designing effective kernels for high-dimensional problems still relies on extensive manual engineering. Existing automated approaches struggle in high dimensions for two bottlenecks: their kernel search space is limited to additions and multiplications of base kernels, and Large Language Model (LLM)-based approaches require conditioning on raw observations, which becomes infeasible due to context-length limits and the difficulty of extracting meaningful patterns. We introduce **Kernel Discovery**, an LLM-driven evolutionary framework for high-dimensional BO that searches a broader kernel space beyond predefined composition rules and does not require conditioning on observations. Motivated by the observation that directly prompting an LLM to generate kernel code yields syntactically varied but functionally identical kernels, we adopt a two-stage approach: an LLM first proposes novel mathematical forms, then a second LLM call converts each form into validated, executable code. We also utilize LOO-CRPS instead of MLL as a selection criterion to penalize overfitted kernels. On five high-dimensional BO benchmarks, our method achieves an average rank of **1.0 out of 17**, outperforming competitive baselines. We further analyze the discovered kernels to identify which kernels lead to improvements in high-dimensional BO.
Abstract source - NeurIPS · Main conference
Posterior Inference in Latent Space for Scalable Constrained Black-box Optimization
Kiyoung Om, Kyuil Sim, Taeyoung Yun, Hyeongyu Kang, Jinkyoo Park
Abstract
Optimizing high-dimensional black-box functions under black-box constraints is a pervasive task in a wide range of scientific and engineering problems. These problems are typically harder than unconstrained problems due to hard-to-find feasible regions. In this paper, we propose a new framework to solve high-dimensional, constrained black-box optimization problems via posterior inference in the latent space of generative models. Our method iterates through two stages. First, we train flow-based models to capture the data distribution and surrogate models that predict both function values and constraint violations. Second, we cast the candidate selection problem as a posterior inference problem to effectively search for promising candidates that have high objective values while not violating the constraints. Concretely, we utilize diffusion models to amortize the sampling from the posterior distribution in the latent space of flow-based models, which can bypass the issue of mode collapse. We empirically demonstrate that our method achieves superior performance across synthetic and real-world tasks. Our code is available [here](https://anonymous.4open.science/r/CiBO-3869/).
Abstract source - NeurIPS · Main conference
From Expert Knowledge to Optimization Modeling: Prototype-Based Data Synthesis and Logical Reinforcement Learning
Bo Hu, Qingcan Kang, Qian Liu, Mingxuan Yuan
Abstract
Existing approaches to optimization modeling using large language models (LLMs) treat tasks through from-scratch construction, generating variables, objectives, and constraints without leveraging reusable structural knowledge. However, in realworld scenarios, expert modelers typically begin by identifying the canonical type or core structure of a problem, followed by iterative refinements based on specific task requirements. To incorporate this expert incremental logic, we propose a novel two-stage framework. In the first stage, we conduct Logic-Anchored Data Synthesis starting from 17 canonical prototypes, preserving critical bottleneck constraints and generating synthetic problem–formulation pairs. These pairs, together with the OR-Instruct dataset, are used for supervised fine-tuning (SFT) to initialize a policy. Separately, for each generated problem, we produce multiple modeling trajectories that follow a prototype-grounded order with variables preceding expressions. These trajectories are ranked according to criteria of accuracy and efficiency, and subsequently used to train a Logical Reward Model (LRM). In the second stage, we introduce Logic-Test-Time Group Relative Policy Optimization (Logic-TGRPO), which leverages the LRM during test-time reinforcement learning to reward accurate prototype identification and disciplined structural adherence while penalizing illogical patterns. Evaluated across seven benchmarks, our 8B parameter model achieves an average accuracy of 80.6%, outperforming comparably scaled baselines and competing effectively with heavyweight multi-agent systems with far fewer parameters. Performance remains competitive across benchmarks with diverse narrative sources. Expert modeling knowledge, represented through structural prototypes and logic-aware rewards, improves automated optimization modeling. Ablations show that the synthetic data and both logic-aware rewards each contribute to the overall gains, with the full framework achieving the highest average accuracy.
Abstract source - NeurIPS · Main conference
Closed-Form Last Layer Optimization
Alexandre Galashov, Nathaël Da Costa, Liyuan Xu, Philipp Hennig, Arthur Gretton
Abstract
Neural networks are typically optimized with variants of stochastic gradient descent. Under a squared loss, however, the optimal solution to the linear last layer weights is known in closed-form. We propose to leverage this during optimization, treating the last layer as a function of the backbone parameters, and optimizing solely for these parameters. We show this is equivalent to alternating between gradient descent steps on the backbone and closed-form updates on the last layer. We adapt the method for the setting of stochastic gradient descent, by trading off the loss on the current batch against the accumulated information from previous batches. We provide theoretical analyses showing convergence of the method to an optimal solution in the neural tangent kernel regime, as well as quantifying the gains compared to standard SGD in a one-step analysis. Finally, we demonstrate the effectiveness of our approach compared with SGD and Adam on a squared loss in several regression tasks, including neural operators and causal inference.
Abstract source - NeurIPS · Evaluations and Datasets
An Open-Source Training Dataset for Foundation Models for Hyperparameter Optimization
Aaron Klein, Herilalaina Rakotoarison, Luca Thale-Bombien, David Salinas
Abstract
Most hyperparameter optimization methods require extensive tuning of their own hyperparameters, often limiting their ability to generalize across different benchmark families. Foundation models for hyperparameter optimization that learn optimization principles from a large collection of optimization trajectories offer a promising alternative, with the potential to outperform manually designed methods across diverse problem classes. However, prior work has either relied on non-public datasets or on purely synthetic data, limiting reproducibility and generalization to real-world problems. As a result, progress in this area has been constrained by the lack of large-scale, real-world, publicly available pre-training data. We introduce BBO-Pile, the first open-source dataset comprising over 500K optimization trajectories evaluated across 3,095 different hyperparameter optimization tasks and global optimization problems for different optimizers, which represents by far the largest public dataset for this task. Using this dataset, we train a family of foundation models at multiple scales, ranging from 2M to 80M parameters and from 200M to 2B training tokens, and study their scaling behavior with respect to compute. Our results demonstrate that large-scale pre-training is a viable and effective approach to imitate hyperparameter optimization methods, paving the way for future research in this direction.
Abstract source - NeurIPS · Main conference
An Educated Guess: Deriving Statistically Aligned Gradient Estimates for Zeroth-Order Optimization
Justus F Hübotter, Serge Thill, Marcel A. J. van Gerven, Nasir Ahmad
Abstract
As novel hardware architectures are explored for the purposes of machine learning, including neuromorphic chips, asynchronous systems, and ASICs, effective learning algorithms are highly desirable. While backpropagation is the standard for differentiation on standard hardware, its requirement for global synchrony and exact differentiability limits the exploration of exotic algorithms on non-traditional substrates and devices. Zeroth-order (ZO) optimisation methods, such as SPSA and weight perturbation, offer a compelling alternative by estimating gradients through inference-only passes; however, these methods have historically suffered due to the `curse of dimensionality', where random perturbations become increasingly misaligned with the true gradient in high-dimensional spaces. In this work, we move beyond blind random noise by deriving zeroth-order search directions from activation geometry available during the forward pass. This leads to a family of Spectral Zeroth-Order methods, SZO-κ, whose directions solve local response-based gradient-guessing objectives under explicit stochastic assumptions. These methods explore feature-supported directions that are more likely to produce informative loss responses. Using multilayer and convolutional networks, we analyse gradient alignment, bias-variance structure, and training stability of these methods relative to standard perturbation baselines and backpropagation.
Abstract source - NeurIPS · Main conference
DP-EGGROLL: Centered Fitness-Vector Privatization for Backprop-Free Differentially Private Optimization
David T Zagardo
Abstract
Evolution strategies (ES) train models by comparing the losses of perturbed candidates. A difficult training example can blow up the loss for every candidate. That shared loss tells us nothing about which candidate did better, yet it can cause clipping to shrink the differences in utility between candidates. DP-EGGROLL subtracts each training example's mean loss across candidates before clipping. We show that this cannot increase clipping error in the candidate comparisons for that training example. Clipping bounds each training example's contribution to learning, and we account for privacy across steps using the Poisson-sampled Gaussian mechanism. For independent Gaussian perturbations and linear centered rewards without weight decay, we also bound the average squared gradient norm of the smoothed objective. Across five tabular classification tasks and five privacy budgets, centering improved mean test AUROC over independently tuned uncentered DP-EGGROLL in all 25 settings. Against fast DP-AdamW, DP-EGGROLL met the non-inferiority criterion for AUROC in 22 of 25 settings at a margin of 0.01. Its median training-loop speedup across all 25 settings was $4.18\times$. In regression, it met the RMSE non-inferiority criterion in 14 of 25 settings (18 of 25 in post hoc analysis). We also evaluated small vision models, classifiers trained on frozen features, and RoBERTa-large with LoRA. On IMDb, centering improved macro-AUROC over the uncentered method, but DP-EGGROLL training took about 40 times as long as DP-AdamW.
Abstract source - NeurIPS · Main conference
Conservative Continuous-Time Treatment Optimization
Nora Schneider, Georg Manten, Niki Kilbertus
Abstract
Finding optimal treatment plans in continuous time is crucial for personalized medicine. Existing methods, however, do not explicitly optimize treatment plans and instead focus solely on predicting treatment effects. Naive optimization over these treatment-response models can exploit model errors, resulting in plans that appear optimal under the learned model but perform poorly in practice. To mitigate model exploitation, we propose SigCTO (Signature-based Conservative Treatment Optimization), a conservative framework for continuous-time treatment optimization. We derive a path-space regularizer based on signature-kernel maximum mean discrepancy that penalizes treatment plans for which predicted and true responses differ. Under suitable assumptions, the regularizer allows for consistent estimation, and the regularized objective upper bounds the true treatment cost. Experiments on pharmacometric simulators show that \ours finds treatment plans with lower ground-truth costs than state-of-the-art baselines. On real-world ICU data, SigCTO predicts treatment cost more accurately than baselines, and the regularizer detects prediction errors.
Abstract source - NeurIPS · Main conference
AgentCBO: Causal Belief Routing for Bayesian Optimization under Unknown Graphs
Qiyu Wei, Xin Zhang, Richard Allmendinger, Mauricio A Álvarez
Abstract
Causal Bayesian optimization (CBO) typically relies on the unrealistic assumption of a perfectly known causal graph. Recent methods relax this constraint by coupling optimization with structure learning, but they often waste sample budgets on structural uncertainties that are irrelevant to the optimizer. In this paper, we formalize routing-equivalence to shift the objective from full causal-graph recovery to causal belief routing, where structural differences only matter when they alter optimizer-facing objects such as admissible exploration sets and do-priors. Furthermore, we propose agentcbo, a graph-belief routing framework that incorporates LLM causal priors through guarded proposal and commit mechanisms. Specifically, a Language-Prior Agent combines LLM beliefs with constraint-based discovery to extract a protected causal backbone alongside residual uncertain edges. A Calibration Agent and a Residual Repair Agent then refine only these uncertain structures through score-gated bounded local edits. Finally, a deterministic commit gate evaluates candidate updates using routing-proxy checks before allowing them to influence intervention selection. Across ten benchmarks, agentcbo performs comparably to known-graph CBO, demonstrating that guarded LLM priors can improve fixed-budget CBO performance.
Abstract source - NeurIPS · Main conference
Meta-Cognitive Memory Policy Optimization for Long-Horizon LLM Agents
Ziyan Liu, Zhezheng Hao, Yeqiu Chen, Hong Wang, JingRen Hou, Ruiyi Ding, Yongkang Yang, Wence Ji, Wei Xia, Feng Liu
Abstract
Memory-augmented LLM agents tackle complex long-horizon tasks by recursively summarizing interaction trajectories into compact memory. However, existing approaches typically train these memory policies using outcome-based reinforcement learning, failing to localize where intermediate memory quality degrades. As interactions unfold, ambiguous recursive summaries progressively discard task-relevant information and introduce semantic noise. This exacerbates belief deviation, obscuring the agent’s estimate of the latent task state and ultimately derailing long-horizon reasoning. We therefore argue that memory optimization should target not only trajectory-level success but also belief preservation during recursive summarization. To this end, we introduce Belief Entropy, a self-supervised proxy that probes how uncertain the model remains about the latent task state given its current memory. Based on this proxy, we propose Metacognitive Memory Policy Optimization (MMPO). Instead of relying only on sparse outcome-based signals, MMPO provides fine-grained, memory-specific supervision via explicitly penalizing summaries that induce high epistemic uncertainty. Experiments show that MMPO consistently outperforms existing methods on diverse long-horizon tasks, maintaining 97.1% performance even when scaled to 1.75M-token contexts.
Abstract source - NeurIPS · Main conference
SAMPPO: Structure-Aware Mirror Proximal Policy Optimization
Corinna Cortes, Mehryar Mohri, Yutao Zhong
Abstract
The alignment of Large Language Models (LLMs) via RLHF typically relies on Proximal Policy Optimization (PPO) with a uniform clipping parameter $\epsilon$ to maintain a stable trust region. We show that this uniform constraint is ill-suited for the non-uniform semantic topology of natural language: in *semantically dense* regions, where candidate tokens act as contextual synonyms, noisy advantage estimates destabilize the trust region, causing *policy collapse*: a significant loss of generative diversity and entropy. We propose *Structure-Aware Mirror Proximal Policy Optimization (SAMPPO)*, which introduces an adaptive trust region governed by local semantic density. Using a per-timestep *Semantic Isolation Score*, SAMPPO dynamically tightens clipping in dense regions and relaxes it in sparse ones. We derive a *Structure-Aware Monotonic Improvement* bound, establish a formal link to margin-shifted $H$-consistency, and prove that the adaptive schedule realizes a uniform weighted-KL budget, which we verify empirically. On HH-RLHF and HelpSteer with Llama-3.1-8B and Gemma-2-2B, SAMPPO prevents entropy collapse, consistently outperforms PPO and BAPO across LLM-judge, reward-model, and diversity evaluations, and remains competitive with DPO and SimPO at $+1.9\\%$ wall-clock overhead.
Abstract source - NeurIPS · Main conference
LOCU: Löwdin-Orthogonalized Constraint Updates for Multi-Constraint Policy Optimization
Joonyoung Lim, Younghwan Yoo
Abstract
We investigate multi-constraint policy optimization in constrained Markov decision processes (CMDPs), where interactions among constraint gradients often yield ill-conditioned update directions, causing numerically fragile steps and unintended cancellation or redundant overlap in constraint corrections. To address this, we propose LOCU, which mitigates numerical instability arising from constraint interactions by applying symmetric L\"owdin orthogonalization to the natural gradients of the reward and constraints under the Fisher–Rao metric. Combined with Fisher-geometric screening and near-collinear compression, LOCU yields a compact reduced space in which the trust region becomes a Euclidean ball and constraints are handled symmetrically through a low-dimensional active-set solve. For infeasible iterates, LOCU constructs a Pareto-descent direction which preserves the local feasibility of satisfied constraints within the same reduced formulation. Experiments show that LOCU remains stable under high constraint coupling, narrow feasible regions, and infeasible starts, and generalizes across different cost critic architectures.
Abstract source - NeurIPS · Main conference
Ensemble Modeling for Time Series Forecasting: an Adaptive Robust Optimization Approach
Leonard Boussioux, Henry Mao, Dimitris Bertsimas
Abstract
Accurate time-series forecasting is critical for many problems involving temporal data. Ensemble modeling is a well-established technique that leverages multiple predictive models to improve accuracy and robustness, since a single predictor's performance can vary widely due to shifts in the underlying data distribution. This paper proposes a new methodology for building robust ensembles of time series forecasting models. Our approach uses Adaptive Robust Optimization (ARO) to construct a linear regression ensemble whose model weights adapt over time. We demonstrate the effectiveness of our method through synthetic experiments covering eight disturbance scenarios, from no drift to abrupt regime shifts, and real-world applications, including air pollution management, energy consumption forecasting, and tropical cyclone intensity forecasting. In the real-world applications, our adaptive ensembles outperform the best ensemble member in hindsight by 16-26\% in root mean square error (RMSE) and 14-28\% in conditional value at risk at the 15\% level and improve over the other ensemble methods we compare on most metrics. In the synthetic experiments, they have lower mean RMSE than a rolling-ridge comparator in seven of the eight scenarios, significantly in four, while an abrupt regime shift that first appears after model selection remains a limitation.
Abstract source - NeurIPS · Main conference
Rethinking Language Model Scaling under Transferable Hypersphere Optimization
Liliang Ren, Yang Liu, yelong shen, Weizhu Chen
Abstract
Scaling laws for large language models depend critically on the optimizer and parameterization. Existing hyperparameter transfer laws are mainly developed for first-order optimizers, and they do not structurally prevent training instability at scale. Recent hypersphere optimization methods constrain weight matrices to a fixed-norm hypersphere, offering a promising alternative for more stable scaling. We introduce HyperP (Hypersphere Parameterization), the first framework for transferring optimal learning rates across model width, depth, training tokens, and Mixture-of-Experts (MoE) granularity under the Frobenius-sphere constraint with the Muon optimizer. We prove that weight decay is a first-order no-op on the Frobenius sphere, show that Depth-$\mu$P remains necessary, contrary to the claim that MuonH is inherently depth-transferable, and find that the optimal learning rate follows a data-scaling power law with the same "magic exponent" 0.32 previously observed for AdamW. A single base learning rate tuned at the smallest scale transfers across all compute budgets we study under HyperP, yielding $1.58\times$ compute efficiency leverage over a strong Muon baseline with the identical dense architecture at $6\times10^{21}$ FLOPs. Moreover, HyperP delivers transferable stability: all monitored instability indicators, including $Z$-values, output RMS, and activation outliers, remain bounded and non-increasing under training FLOPs scaling. We also propose SqrtGate, an MoE gating mechanism derived from the hypersphere constraint that preserves output RMS across MoE granularities for stable granularity scaling, and show that hypersphere optimization enables substantially larger auxiliary load-balancing weights, yielding both strong performance and good expert balance. We release our training codebase at https://github.com/microsoft/ArchScale.
Abstract source - NeurIPS · Main conference
Expert-guided Bayesian optimization for sustainable protein design
Anna Thomas, Georgios Zaverdinos, Petros Mandalis, Andreas Orfanoudakis, Akihiro Takino, Sohum Patnaik, David J Kraus, Panos Kostopoulos, Caroline Cotto, Nikos Tsiaparas, Dan Jurafsky, Aadit Patel
Abstract
Agentic laboratories give LLM agents control of experiments, alongside scientific tools such as optimizers and code execution. How should such systems choose the next experiment? We study whether an LLM agent should propose experiments directly, delegate them to Bayesian optimization (BO), or select the design space itself and delegate refinement. We formalize the third option as Expert-Guided Bayesian Optimization (EGBO), in which an expert (e.g., an LLM or a human) selects a low-dimensional subspace for BO and may adaptively expand it over time. We decompose EGBO's suboptimality into a selection gap and an optimization gap, and characterize the coverage-dimension tradeoff governing when expert guidance helps. To support in silico prototyping before costly laboratory work, we introduce FormulateBench, a suite of 24 sustainable protein formulation tasks. In batched experiments that mirror our laboratory deployment, EGBO outperforms conventional BO. The strongest LLMs match EGBO without noise but underperform it under noise, even when told the noise level. When deployed to optimize two plant-based dairy products, EGBO improves utility, as assessed by a trained human panel, by 29\% and 26\% in 10 batched iterations each. In a comparison with a professional food scientist given the same time budget, EGBO reached a best observed utility of 0.992, vs. 0.850 for the food scientist.
Abstract source