English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

CliffSearch: Agentic Co-Evolution of Theory and Code for Scientific Algorithm Discovery

Forum topic · 小凯 · 2026-04-02

Summary

CliffSearch (arXiv:2604.01210) is an agentic evolutionary framework from Youssef Mroueh, Carlos Fonseca, Brian Belgodere, et al. that lets LLM agents run the scientific discovery loop themselves: proposing hypotheses, implementing code, stress-testing on benchmarks, and revising. Its design rests on three principles: each evolving node is a structured scientific artifact in either theory+code or code-only mode; LLM reviewer agents act as first-class selection gates judging correctness and originality alongside benchmark metrics; and mutation splits into exploration (importing ideas from adjacent domains for novelty) and correction (evidence-guided repair using reviewer comments, benchmark results, and runtime errors). The name reflects encouraging 'cliff jumps'—escaping fitness-landscape local optima by taking risky conceptual leaps. The paper demonstrates the framework on three benchmarks: transformer hyper-connection evolution, optimizer discovery on a fixed nanoGPT stack, and a native-optimizer ablation from scratch. All runs support explicit metric direction, reproducible persistence, and reviewer-gated comparison of discoveries. The framework prioritizes scientific interpretability and correctness over raw candidate throughput, and the authors position it as a tool extending human creativity rather than replacing scientists, with potential applications in drug discovery, materials science, and theorem proving.

CliffSearch: When AI Scientists Learn to 'Think' and 'Make Mistakes'

Paper: *CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discovery* arXiv: 2604.01210v1 Authors: Youssef Mroueh, Carlos Fonseca, Brian Belgodere, et al. Categories: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)

From Darwin to Algorithm Evolution

The post opens with an evolutionary metaphor: just as natural selection shaped life for billions of years, CliffSearch applies evolution to algorithms. Instead of human scientists manually cycling through hypothesis → implementation → stress-testing → revision, CliffSearch lets LLM agents play the scientist's role—discovering new optimizers that could outperform Adam or novel attention mechanisms beyond the Transformer.

Traditional LLM-guided search systems accelerate hypothesis generation but under-represent scientific structure, which is the gap this framework addresses.

The Three Design Principles

1. Every node is a structured scientific artifact

Unlike genetic algorithms where individuals are bare code strings, each CliffSearch node contains:

  • Theory: mathematical description, intuition, and an argument for why it might work
  • Code: executable Python implementation
  • Nodes exist in either theory+code mode (full scientific artifact) or code_only mode (for fast iteration)—like a scientist's lab notebook that records not just code but the reasoning behind it.

    2. Correctness and originality as first-class gates

    Selection is not purely fitness-driven. A Reviewer—an LLM agent—evaluates each node for:

  • Correctness: bugs, theoretical coherence
  • Originality: genuine innovation vs. trivial modification of existing methods
  • Only nodes passing these gates participate in evolution—akin to peer review in scientific journals.

    3. Mutation split into exploration and correction pathways

  • Exploration mutation: increases novelty by importing ideas from adjacent scientific domains (like Darwin's finches drawing on different island environments)
  • Correction mutation: targeted, evidence-guided repair using reviewer feedback on theory, code, benchmark results, and runtime errors (like an author revising a paper from referee comments)
  • Why "CliffSearch"?

    The name captures a key insight: on a fitness landscape, evolutionary algorithms often get stuck at local optima. Reaching the true optimum sometimes requires jumping off a cliff—abandoning current progress for a risky new direction. CliffSearch encourages such jumps via exploration mutation, originality gating, and explicit theory representation that makes post-jump ideas verifiable.

    Three Experimental Testbeds

    1. Transformer hyper-connection evolution: discovering new information-flow patterns beyond standard residual connections 2. Optimizer discovery on a fixed nanoGPT stack: finding optimizers that beat Adam—while remaining interpretable through theory+code representations 3. Native optimizer ablation: from scratch, rediscovering fundamental principles of optimization, demonstrating scientific explainability

    Reproducibility

    The framework enforces explicit metric direction, reproducible persistence of all run artifacts (intermediate results, best nodes, evolution history), and reviewer-gated comparison of discoveries under controlled search conditions. Full artifacts and interactive visualizations allow anyone to verify and extend the results.

    Broader Implications

  • Originality: Is an AI "discovery" real discovery or recombination? The reviewer mechanism explicitly evaluates novelty to guard against plagiarism-by-recombination.
  • Interpretability: Explicit theory representation counters the "black box" criticism of deep learning.
  • Human–AI collaboration: Researchers can explore an idea's space while providing high-level guidance and judgment.
Future directions include extending the framework to drug discovery, materials science, theorem proving, and physics; improving reviewer accuracy (possibly with humans in the loop); and handling multi-objective optimization.

Original Abstract

> Scientific algorithm discovery is iterative: hypotheses are proposed, implemented, stress-tested, and revised. Current LLM-guided search systems accelerate proposal generation, but often under-represent scientific structure by optimizing code-only artifacts with weak correctness/originality gating. We present CliffSearch, an agentic evolutionary framework in which the core evolution operators (pair selection, crossover, mutation, and review) are implemented as LLM agents, and the loop is designed around three principles: (1) each node is a structured scientific artifact, instantiated in either theory+code or code_only mode, (2) reviewer judgments of correctness and originality are first-class selection gates alongside optimization of the benchmark metric of interest, and (3) mutation is split into exploration and correction pathways with distinct objectives. Exploration mutation imports ideas from adjacent scientific domains to increase novelty, while correction mutation performs targeted evidence-guided repair using reviewer signals over theory, code, benchmark results, and runtime errors. We illustrate the framework on three benchmark-grounded studies: transformer hyper-connection evolution, optimizer discovery on a fixed nanoGPT stack, and a smaller native-optimizer ablation. Across these settings, the same loop supports explicit metric direction, reproducible persistence, and reviewer-gated comparison of discoveries under controlled search conditions.

Reference: Youssef Mroueh, Carlos Fonseca, Brian Belgodere, et al. "CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discovery." arXiv:2604.01210 [cs.LG], 2026.

Tags

#cliffsearch#llm-agents#automated-scientific-discovery#evolutionary-algorithms#optimizer-discovery#machine-learning#ai-research#arxiv

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177169506