NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Janus: An Algorithm-Evaluator Co-Evolution Framework for LLM-Driven Discovery under Expensive Evaluation Budgets

Ximeng Liu, Qianlong Wang, Yingming Mao, Annan Li, Yatao Li, Shizhen Zhao, Jianmin Wu, Dawei Yin, Dou ShenarXiv 2026

TL;DR

Janus is a framework that co-evolves target programs alongside executable proxy evaluators using Large Language Models (LLMs) to solve complex scientific and engineering tasks. By leveraging the domain knowledge embedded in LLMs to create adaptive, code-based proxies, Janus drastically reduces the need for expensive real-world simulations or physical experiments. On average, it achieves 99% of a standard baseline's performance while slashing the required number of expensive evaluations by 59.1%.

What Problem Does This Paper Address?

LLM-driven discovery systems (such as FunSearch or AlphaEvolve) have shown incredible promise in automatically writing high-performing code. However, they rely on a critical assumption: that evaluating a candidate program is fast and cheap (e.g., counting scalar multiplications or verifying mathematical identities).

When applying these systems to real-world scientific and engineering problems—such as optimizing battery fast-charging protocols or designing photonic cavities—a single evaluation can require hours of high-fidelity simulation or days of physical experimentation. Standard machine learning workarounds use a fixed "surrogate" model to approximate the expensive ground truth. However, these surrogates quickly fail due to search-induced distribution shift (where the optimization process exploits the proxy's blind spots) and label scarcity (where there isn't enough data to train a reliable black-box model across complex physical regimes).

Fig. 3. Fixed-surrogate exploitation in GFP design.

Methods

The authors introduce Janus, a framework that co-evolves both the target programs and the proxy evaluators within a shared evaluation budget. Key innovations include:

  • Evaluator-as-Program: Instead of using standard black-box models (like Gaussian Processes or MLPs), Janus prompts an LLM to generate proxy evaluators as executable Python code. This allows the LLM to inject physical domain knowledge (equations, logical branches) into the proxy structure, making it highly sample-efficient.
  • Region-Conditioned Portfolios: To combat distribution shift, Janus clusters the target program space using code embeddings and maintains a portfolio of specialized proxy evaluators tailored to different regions of the search space.
  • Online Credit Updates: The framework tracks how well each proxy performs in real-time, updating its "credit" dynamically based on actual evaluation outcomes.
  • Real-Anchored Promotion: To prevent proxy errors from corrupting the program population, proxy predictions are strictly used to prioritize candidates. No program can enter the main population without passing a real, high-fidelity validation step.

Datasets

The framework was evaluated across five diverse scientific and engineering program-design benchmarks:

  1. PyBaMM: Designing multistage constant-current protocols for battery fast charging under electrochemical and thermal constraints.
  2. AQM (Active Queue Management): Developing network congestion controllers simulated via packet-level ns-3 discrete-event simulations.
  3. FDTD Demux: Designing a dielectric layout to route wavelengths in a 2D Finite-Difference Time-Domain photonic simulation.
  4. Reactor: Controlling a semi-batch chemical reactor to maximize yield while avoiding thermal runaway.
  5. Perishable IRP: Solving a stochastic perishable inventory routing problem under uncertain demand.

Key Insights and Ideas

  • Code as an Inductive Bias: Code structures are fundamentally better at capturing sharp physical transitions than smooth mathematical surrogates. For instance, in network congestion tasks, an LLM-generated arithmetic proxy accurately captured the "congestion knee" where standard models like Gaussian Processes completely failed due to sparse data.
  • Co-evolution Prevents Exploitation: Traditional static surrogates suffer from optimization exploitation—where the search algorithm finds a loophole in the proxy that does not hold up in reality. By evolving the proxy alongside the target program, Janus continuously patches these loopholes.
  • The Power of Real-Anchoring: By treating proxy evaluators purely as a prioritization filter rather than a final judge, Janus ensures that the true evolutionary frontier is never corrupted by hallucinated or miscalibrated proxy scores.

Key Results

  • Massive Efficiency Gains: Across all five domains, Janus reached 99% of the final improvement achieved by the standard baseline (which only evolves target programs) while using 59.1% fewer real evaluations on average.
  • Superior Final Performance: Janus consistently achieved a higher Area Under the Curve for best-so-far improvement (AUBC$\Delta$) and outperformed human-designed baselines in every single task.
Janus consistently outperforms baselines across five diverse engineering domains under tight evaluation budgets.
  • Evolved Ranking Accuracy: Evolved proxy evaluators became significantly better at ranking unseen candidates over time. For example, in the PyBaMM domain, top-three ranking accuracy (NDCG@3) jumped from 0.688 (seed version) to 0.970 (evolved version).

Limitations and Future Work

  • LLM Backbone Sensitivity: Janus's early-stage performance is sensitive to the quality of the underlying LLM. Testing showed that using a weaker model (like Gemini 2.5 Flash) resulted in less effective early proxy mutations, though the system eventually recovered as more real-world labels accumulated.
  • Computational Overhead: While Janus drastically reduces the number of expensive physical/simulation evaluations, it introduces additional LLM token costs for generating and updating the proxy evaluators. Future work could explore optimizing token usage or distilling evolved programmatic proxies into more compact forms.

Summary updated

BibTeX
@misc{liu2026janus,
  author = {Ximeng Liu and Qianlong Wang and Yingming Mao and Annan Li and Yatao Li and Shizhen Zhao and Jianmin Wu and Dawei Yin and Dou Shen},
  title = {{Janus: An Algorithm-Evaluator Co-Evolution Framework for LLM-Driven Discovery under Expensive Evaluation Budgets}},
  year = {2026},
  eprint = {2608.08189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.08189},
}
Figure