optimization trajectory
An Open-Source Training Dataset for Foundation Models for Hyperparameter Optimization
Klein, Aaron, Rakotoarison, Herilalaina, Thale-Bombien, Luca, Salinas, David
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.
Think in Strategies, Act with Tools: Traceable Agentic Optimization for Combinatorial Problems
Li, Zhongnian, Xu, Shi, Ying, Peng, Gong, Weikang, Wang, Zhixiao, Xu, Xinzheng
Optimization by PROmpting (OPRO) directly leverages Large Language Models (LLMs) to generate candidate solutions through natural-language prompting. However, OPRO's optimization process is difficult to track, which prevents LLMs from capturing useful information accumulated over previous iterations, thereby limiting solution quality. To address this limitation, we propose a Tool-Augmented Strategic Agent (TASA) which summarizes and exploits trajectory to improve solution quality. Specifically, TASA plans the strategy for each step based on the optimization trajectory, which decomposes the optimization process into traceable strategy selections. Moreover, we leverage LLM to construct problem-specific tools and introduce a strategy-guided adaptive tool planner, which efficiently utilizes the information of trajectory to update solutions. We establish local convergence under persistent exploration and evaluate the complete framework under a shared candidate-evaluation budget. The results support its solution quality and the traceability of strategy-guided search.
Goal-Persistent Coding Agents as Scientific Performance Engineers: A Fixed-Radius Nearest-Neighbor Case Study
Coding agents can pursue persistent objectives across many tool-use turns, but evidence that general-purpose agents can conduct rigorous scientific performance engineering remains limited. We present a repository-scale case study in which off-the-shelf Codex and Claude Code agents optimize fixed-radius nearest-neighbor (FRNN) search for particle tracking. Starting from a PyTorch-dependent CUDA implementation, the agents follow an executable goal that specifies exact-correctness tests, profiling requirements, and acceptance criteria without prescribing code transformations. In the primary sequential trajectory, they autonomously remove the PyTorch dependency and conduct hypothesis-driven optimization experiments. The resulting standalone C++/CUDA library exactly reproduces the targeted reference result. Its synchronous NumPy interface achieved 1.6-fold speedup over the original GPU-resident PyTorch interface, despite including host transfers. Similar speedups were observed across different GPU architectures and software stacks. An independent optimization rerun followed a different sequence of hypotheses and reached even better performance on the target workload. These results show that goal-persistent coding agents can act as experimental performance engineers, and that executable scientific contracts are needed both to guide and to validate their optimization.
Non-Uniform Noise-to-Signal Ratio in the REINFORCE Policy-Gradient Estimator
We study this phenomenon through the noise-to-Despite their generality, policy-gradient methods are often signal ratio (NSR) of a policy-gradient estimator, brittle: training can become unstable or get stuck (Henderdefined as the estimator variance (noise) normal-son et al., 2018; Dohare et al., 2023). Prior work has idenized by the squared norm of the true gradienttified multiple reasons for this instability. One is the high (signal). Our main result is that, for (i) finite-variance of stochastic policy-gradient estimators, which can horizon linear systems with Gaussian policies andcause updates to poorly track the true ascent direction; this linear state-feedback, and (ii) finite-horizon poly-motivates variance-reduction techniques such as baselines, nomial systems with Gaussian policies and poly-generalized advantage estimation, and actor-critic methnomial feedback, the NSR of the REINFORCEods (Sutton et al., 1999; Greensmith et al., 2004; Schulman estimator can be characterized exactly--either inet al., 2015b; Haarnoja et al., 2018). Another is overly closed form or via numerical moment-evaluationaggressive policy updates, which motivates methods that algorithms--without approximation. For generalexplicitly constrain update size, e.g., via Kullback-Leibler nonlinear dynamics and expressive policies (intrust regions in TRPO (Schulman et al., 2015a) or clipping cluding neural policies), we further derive a gen-in PPO (Schulman et al., 2017). Other related failure modes eral upper bound on the variance. These char-include policy collapse induced by Adam momentum (Doacterizations enable a direct examination of howhare et al., 2023), degradation due to improper baseline NSR varies across policy parameters and how itselection (Chung et al., 2021; Mei et al., 2022), and loss evolves along optimization trajectories (e.g., SGDof plasticity caused by nonstationary environments (Sokar and Adam).
POP: Prior-Fitted First-Order Optimization Policies
Kobiolka, Jan, Frey, Christian, Shala, Gresa, Kadra, Arlind, Bedalli, Erind, Grabocka, Josif
Gradient-based optimizers are highly sensitive to design choices in their adaptive learning rate mechanisms. To address this limitation, we introduce POP, a meta-learned Reinforcement Learning (RL) policy that predicts adaptive learning rates for gradient descent, conditioned on the contextual information provided in the optimization trajectory. Our method introduces a novel RL reward formulation, a new function-scaling strategy for in-distribution generalization, and a novel prior that is used to sample millions of synthetic optimization problems. We evaluate POP on an established benchmark including 43 optimization functions of various complexity, where it significantly outperforms gradient-based methods. Our evaluation demonstrates strong generalization capabilities without task-specific tuning.
Dr. RTL: Autonomous Agentic RTL Optimization through Tool-Grounded Self-Improvement
Fang, Wenji, Lu, Yao, Liu, Shang, Wang, Jing, Guo, Ziyan, He, Junxian, Tu, Fengbin, Xie, Zhiyao
Recent advances in large language models (LLMs) have sparked growing interest in automatic RTL optimization for better performance, power, and area (PPA). However, existing methods are still far from realistic RTL optimization. Their evaluation settings are often unrealistic: they are tested on manually degraded, small-scale RTL designs and rely on weak open-source tools. Their optimization methods are also limited, relying on coarse design-level feedback and simple pre-defined rewriting rules. To address these limitations, we present Dr. RTL, an agentic framework for RTL timing optimization in a realistic evaluation environment, with continual self-improvement through reusable optimization skills. We establish a realistic evaluation setting with more challenging RTL designs and an industrial EDA workflow. Within this setting, Dr. RTL performs closed-loop optimization through a multi-agent framework for critical-path analysis, parallel RTL rewriting, and tool-based evaluation. We further introduce group-relative skill learning, which compares parallel RTL rewrites and distills the optimization experience into an interpretable skill library. Currently, this library contains 47 pattern--strategy entries for cross-design reuse to improve PPA and accelerate convergence, and it can continue evolving over time. Evaluated on 20 real-world RTL designs, Dr. RTL achieves average WNS/TNS improvements of 21%/17% with a 6% area reduction over the industry-leading commercial synthesis tool.
Generative Adversarial Model-Based Optimization via Source Critic Regularization
Offline model-based optimization seeks to optimize against a learned surrogate model without querying the true oracle objective function during optimization. Such tasks are commonly encountered in protein design, robotics, and clinical medicine where evaluating the oracle function is prohibitively expensive. However, inaccurate surrogate model predictions are frequently encountered along offline optimization trajectories.
On the Limitations of Fractal Dimension as a Measure of Generalization Charlie B. Tan University of Oxford Inรฉs Garcรญa-Redondo Imperial College London Qiquan Wang
Bounding and predicting the generalization gap of overparameterized neural networks remains a central open problem in theoretical machine learning. There is a recent and growing body of literature that proposes the framework of fractals to model optimization trajectories of neural networks, motivating generalization bounds and measures based on the fractal dimension of the trajectory. Notably, the persistent homology dimension has been proposed to correlate with the generalization gap.