Paper - L2MAC: Large Language Model Automatic Computer for Extensive Code Generation
FreeLLM-based automatic computer for extensive, coherent code and text generation.
About Paper - L2MAC: Large Language Model Automatic Computer for Extensive Code Generation
L2MAC is the first practical LLM-based general-purpose stored-program automatic computer (von Neumann architecture) framework, implemented as a multi-agent system for generating long and consistent outputs. It overcomes the fixed context window limitation of transformer LLMs by incorporating a memory system with an instruction registry (populated with a prompt program for the task) and a file store (holding final and intermediate outputs). Each instruction is executed by a separate LLM agent, managed by a control unit that performs precise memory reading and writing. L2MAC achieves state-of-the-art performance in generating large codebases for system design tasks and also works for general-purpose extensive text generation, such as writing entire books. The work was published at ICLR 2024.
Key Features
Pros & Cons
- State-of-the-art performance in generating large codebases compared to other coding methods
- Overcomes LLM context window limits for long outputs
- General-purpose design applicable to various long-form generation tasks