TL;DR
HERA is a new agentic framework that tackles high-dimensional Bayesian optimization (HDBO) by using a Large Language Model (LLM) as a high-level strategist rather than a numerical calculator. By managing "working hypotheses" about a function's hidden structure and delegating candidate generation to a specialized numerical engine (PRISM), HERA outperforms existing agentic methods and remains competitive with state-of-the-art classical HDBO algorithms.
What Problem Does This Paper Address?
Bayesian Optimization (BO) is the gold standard for optimizing expensive "black-box" functions (like tuning a robot's gait or designing a new molecule). However, when the number of variables grows large—the "high-dimensional" regime—standard BO breaks down. To succeed, HDBO requires specific structural assumptions, such as sparsity (only a few variables matter), low-rank embeddings (the problem exists in a smaller subspace), or additivity (variables don't interact much).
The challenge is that for a true black box, you don't know which assumption is correct. Recent "agentic" BO methods have tried using LLMs to guide the search, but they typically struggle in high dimensions because LLMs are poor at generating precise high-dimensional numerical vectors and often lack the specialized machinery needed for HDBO. The authors identify a "transfer gap" where existing agentic systems fail to outperform classical numerical baselines when the dimensionality scales up.
Methods
The authors introduce HERA (Hypothesis- and Evidence-guided Research Agent) and its numerical counterpart, PRISM (Portfolio of Reconfigurable Inference and Search Methods).
The core innovation is a division of labor:
- HERA (The Strategist): An LLM agent that interprets task context and numerical feedback. Instead of picking specific points to evaluate, HERA maintains a "working hypothesis" about the objective's structure and selects the best HDBO strategy from a portfolio.
- PRISM (The Engine): A suite of specialized HDBO algorithms (including TuRBO, LassoBO, and ALEBO). Once HERA selects a strategy, PRISM executes a "search block"—a sequence of evaluations—and returns structural diagnostics as evidence.
HERA uses a specific action space to control the process, including set_search_strategy and run_search_block(L), where $L$ is the number of evaluations to perform before the agent reassesses. This "block-level" control significantly reduces LLM inference costs compared to per-evaluation reasoning.
The differences in control roles between HERA and previous systems like Sara are summarized below:
Datasets
The framework was evaluated on two main suites:
- Synthetic Benchmarks: High-dimensional versions of standard functions like Hartmann6 (100-D), Ackley10 (200-D), Levy15 (300-D), and Rosenbrock10 (300-D). These were "anonymized" (no metadata) to test HERA's ability to learn structure purely from data.
- Real-World Tasks: Eight diverse HDBO problems ranging from 60 to 256 dimensions, including:
- Rover & Ant: Trajectory planning and continuous control.
- MOPTA & Mazda: Engineering and car structure design.
- Chip Design: Macro placement for integrated circuits.
- Median Molecules: Molecular optimization in a latent space.
Key Insights and Ideas
- LLMs as Strategists, Not Calculators: The authors argue that LLMs shouldn't be asked to solve high-dimensional geometry directly. Instead, they should manage the process of optimization, deciding which numerical bias to test next.
- Working Hypotheses: HERA doesn't try to find the "true" global structure of the function. Instead, it maintains an actionable "working hypothesis"—a best guess of what makes the objective searchable right now.
- Structural Diagnostics are Essential: PRISM provides HERA with specific "evidence" channels, such as surrogate credibility, coordinate sparsity, and low-dimensional variation. These signals allow the agent to switch strategies (e.g., moving from a global sparse search to a local trust-region search) when progress stalls.
- Metadata is a Double-Edged Sword: While task descriptions (metadata) help HERA jumpstart optimization in tasks like Rover, the agent remains robust even when metadata is absent, relying on numerical evidence to recover performance.
Key Results
HERA effectively closed the "transfer gap" that plagued previous agentic BO methods in high dimensions.
- Synthetic Performance: On metadata-free tasks, HERA outperformed other agentic baselines (like LLAMBO and Centaur) and ranked among the top classical HDBO methods across all four functions.
- Real-World Dominance: HERA achieved the best mean final objective on 7 out of 8 real-world tasks when compared to other agentic systems.
- Efficiency: By using adaptive search blocks and context compaction, HERA managed to maintain high performance while keeping LLM token usage and inference costs manageable.
Limitations and Future Work
- Portfolio Dependency: HERA's performance is ultimately bounded by the quality of the numerical strategies available in the PRISM portfolio. If none of the included HDBO methods fit the task, HERA cannot invent a new one.
- Diagnostic Reliability: The authors noted that some diagnostics (like interaction grouping) remain unreliable in the very early stages of optimization when data is extremely sparse.
- Future Directions: The authors suggest expanding the tool space, improving the calibration of structural diagnostics, and exploring how an agent might transfer strategy-level experience across different but related optimization tasks.
Summary updated