Archon: An Architecture Search Framework for Inference-Time Techniques

Jon Saad-Falcon, Adrian Gamarra Lafuente, Shlok Natarajan, Nahum Maru, Hristo Todorov +6 more
9/1/2024
65 citations

Official code: ScalingIntelligence/Archon (219 stars, Python, Apache-2.0, last commit 2025-03-07).

Abstract

Inference-time techniques, such as repeated sampling or iterative revisions, are emerging as powerful ways to enhance large-language models (LLMs) at test time. However, best practices for developing systems that combine these techniques remain underdeveloped due to our limited understanding of the utility of each technique across models and tasks, the interactions between them, and the massive search space for combining them.

Show full abstract

To address these challenges, we introduce Archon, a modular and automated framework for optimizing the process of selecting and combining inference-time techniques and LLMs. Given a compute budget and a set of available LLMs, Archon explores a large design space to discover optimized configurations tailored to target benchmarks. It can design custom or general-purpose architectures that advance the Pareto frontier of accuracy vs. maximum token budget compared to top-performing baselines. Across instruction-following, reasoning, and coding tasks, we show that Archon can leverage additional inference compute budget to design systems that outperform frontier models such as OpenAI's o1, GPT-4o, and Claude 3.5 Sonnet by an average of 15.1%.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Archon provides a modular framework for combining different inference-time techniques and LMs with just a JSON config file.

21929Python, DockerfileSep 23, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{saadfalcon2024archon,
  title  = {Archon: An Architecture Search Framework for Inference-Time Techniques},
  author = {Jon Saad-Falcon and Adrian Gamarra Lafuente and Shlok Natarajan and Nahum Maru and Hristo Todorov and E. Guha and E. K. Buchanan and Mayee Chen and Neel Guha and Christopher Ré and Azalia Mirhoseini},
  year   = {2024},
  eprint = {2409.15254},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.15254},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.15254.svg)](https://codeofpaper.com/paper/2409.15254)

Discussion