More on the topic...
Generating detailed summary...
Failed to generate summary. Please try again.
Recursive’s AI research system runs the full research loop on its own: it proposes ideas, implements them, runs experiments, checks for reward hacks, and picks the next trial. On three benchmarks—fixed-budget language-model training, small-model speed, and GPU kernel optimization—it matched or beat state-of-the-art. The team has open-sourced the code and data so anyone can inspect their findings.
On the NanoChat autoresearch test, the system started from the same seed as Andrej Karpathy’s repo and bested the community’s collective effort. After stripping out minor hacks from the previous top solution and evaluating it over ten seeds, that human-agent mix averaged 0.9372 bits per byte (BPB). Recursive’s system hit 0.9109 BPB, shaving 1.3× off the training time to reach Karpathy’s original overnight quality. Even when it began from a plain Transformer with AdamW (1.059 BPB), it fell to 0.9344 BPB—again outdoing the public best.
The key innovations weren’t single tricks but a mix of tweaks across architecture, optimizer behavior, weight-decay schedules, compiler flags, and memory. A standout was hashed n-gram tables in the attention-value path. Instead of just standard value embeddings, the model uses bigram and trigram hash tables with learned gates. Each layer employs different hash primes to reduce repeat collisions. That adds up to 1–2 billion sparse parameters on a 50 M-parameter model without a big speed hit.
A parallel run on the vanilla Transformer rediscovered hash tables and squared-ReLU MLPs but also introduced things like token shifting, weight averaging before evaluation, and byte-level feature embeddings. Those differences show the system isn’t just replaying the same sequence of improvements twice. The code snippets in the article detail how layers mix gated bigram and trigram lookups into the value stream and assign distinct hash functions per layer.
Questions about this article
No questions yet.