TL;DR
Loom is a scalable neural computer architecture that executes C-compiled programs within a transformer-based system, enabling fixed-cost, program-independent execution of diverse programs.
Contribution
It introduces Loom, a neural architecture with fixed weights that can execute any compiled program efficiently within a transformer framework.
Findings
Loom can execute a Sudoku solver with 284 instructions.
The architecture uses a fixed-size tensor for full machine state.
Source code is publicly available at the provided GitHub URL.
Abstract
We present Loom, a computer architecture that executes programs compiled from C inside a looped transformer whose weights are derived analytically. The architecture implements a 22-opcode instruction set in 8 transformer layers. Each forward pass executes one instruction; the model is applied iteratively until the program counter reaches zero. The full machine state resides in a single tensor of fixed size, and every step has fixed cost for fixed and , independent of program length or execution history. The default configuration uses and , yielding 4.7 million parameters and 928 instruction slots. A compact configuration at and suffices for a 99 Sudoku solver (284 instructions). The weights are program-independent: programs live in the state tensor, and the same fixed-weight model executes any…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
