Abstract
This paper introduces Genesys, an autonomous multi-agent framework designed for the automated discovery and verification of novel language model architectures. By simulating a full research lifecycle—encompassing literature review, architectural ideation, implementation, and large-scale pre-training—Genesys overcomes traditional bottlenecks in Neural Architecture Search (NAS). Utilizing a factorized design space (GAU Trees) and a unit-based code generation strategy, the system discovered over 1,000 unique architectures. Empirical evaluations demonstrate that top-performing discovered models, such as Geogate and VQH, consistently outperform established baselines like GPT-2 and Mamba2 across multiple benchmarks at the 350M parameter scale.
Introduction
While Large Language Models (LLMs) have achieved remarkable success, their underlying architectures remain largely the product of human intuition and iterative manual experimentation. The Transformer, for instance, has dominated the field for years with only incremental modifications. Automated Scientific Discovery (ASD) seeks to transition this design process to AI agents. However, previous attempts at automated Neural Architecture Search (NAS) have been hindered by the open-ended nature of research goals and the technical difficulty of generating complex, multi-component code in a single pass.
The Genesys Framework
To address these challenges, researchers from the Allen Institute for AI and Dartmouth developed Genesys, a multi-agent system operating within the Language Model Architecture Discovery Environment (LMADE). Genesys simulates the workflow of a research laboratory through specialized agents:
- Proposer: Generates novel architectural ideas based on a curated library of 297 seminal papers.
- Reviewer: Acts as an adversarial filter, critiquing proposals for theoretical soundness and novelty before they reach the implementation stage.
- Planner-Coder-Observer: A trio responsible for translating high-level ideas into executable PyTorch code and monitoring training progress.
Technical Innovations
Design Factorization via GAU Trees
Rather than treating a model as a monolithic block of code, Genesys decomposes architectures into a tree of Generalized Autoregressive Units (GAUs). This tree-based representation enables a form of "Genetic Programming," where the system can mutate or cross over specific components—such as swapping a standard attention head for a novel gated mechanism—to evolve superior designs.
Viterbi-style Unit-based Generation
A significant bottleneck in AI-driven coding is the high failure rate of "one-shot" prompting for complex systems. Genesys employs a unit-by-unit generation approach. If a specific unit fails a symbolic check, the system retries only that component. This method yielded an 86 percentage point improvement in code generation success compared to direct prompting, suggesting that the primary bottleneck in AI-driven coding is structural rather than purely cognitive.
Ladder of Scales
To manage the immense computational costs of training over 1,000 models, Genesys employs a "Ladder of Scales" strategy. It initially screens 1,000 models at a 14M parameter scale using a high-quality training corpus (SmolLM-1/8-Corpus). Only the most promising "fittest" survivors are promoted to a 350M parameter pre-training phase for final evaluation.
Experimental Results
The system successfully produced 1,162 new designs, with 1,062 verified through pre-training. The discovery process revealed a "hubness" in innovation, where a few highly effective architectural units (such as specific normalization or gating layers) were repeatedly discovered and integrated into successful descendant models, mirroring human citation networks.
At the 350M parameter scale, discovered architectures like Geogate (Geometric Gated Attention) and VQH (Vector Quantized Hierarchical) outperformed established baselines including GPT-2, Mamba2, and RWKV7 on 6 out of 9 core benchmarks, including BLiMP, WNLI, and RTE.
Limitations and Future Work
Despite its success, Genesys faces constraints. The system is currently limited by standard PyTorch implementations, making it difficult to autonomously reason about hardware-level optimizations like FlashAttention. Additionally, while the architectures show promise at 350M parameters, their performance at the 70B+ scale remains an open question. Future iterations may incorporate reinforcement learning to allow the "Designer" agents to learn more effectively from the "Verifier" feedback loop over time.
Conclusion
Genesys represents a significant step toward fully autonomous scientific discovery in machine learning. By automating the entire research pipeline, it demonstrates that AI can not only optimize existing designs but also "dream up" and implement novel, high-performing architectures that rival human-designed standards.
Summary updated