arXiv AI

Compiling Known Rules into Compact Neural Agents: Weight-Space Programming on Unseen Games

The paper introduces weight‑space programming (WSP), a method that uses language models to directly generate neural network weights without training. In experiments on 20 unpublished ARC‑AGI‑3‑style game families, a 57k‑parameter recurrent architecture produced agents that achieved up to 56% success on unseen levels, while Python‑based writers reached 97‑100% success. The resulting networks are highly sparse and integer‑based, yet they are fragile to standard PPO fine‑tuning and offer limited advantage over traditional Python programs.

arXiv AI
Nov 16

WeightBench: Evaluating Language Models as Weight-Space Programmers

WeightBench is a benchmark designed to evaluate large language models (LLMs) on their ability to program in weight space, a capability known as Weight‑Space Programming (WSP). The benchmark comprises 42 tasks across five tracks—reading, fixing, writing weights, recognizing impossible edits, and data‑free compression—testing LLMs on networks ranging from 2K‑parameter control policies to 7B‑parameter language models. Results show that top agents can read small networks and write control policies without execution, but struggle with patching language models, compressing them without data, or distinguishing impossible edits.

By Aayush Marasini, Barsat Khadka, Nick Rahimi
arXiv AI
6d ago

Zero-Shot Weight-Space Programming for Prediction and Classification of Target Variables in Structured Datasets

The paper presents a method called zero‑shot weight‑space programming, where a large language model is given a small dataset and a feed‑forward network architecture and writes out every weight and bias directly, without any optimization or gradient descent. The resulting frozen networks achieve closed‑form optimality on linear problems, match irreducible error on several synthetic tasks, and outperform gradient‑descent baselines on two benchmarks, while failing on oblique‑structured problems that can be mitigated by alternative constructors. The study demonstrates that language models can perform statistical inference and parameter synthesis purely from data and architecture specifications.

By Eduardo C. Garrido-Merch\'an
arXiv AI
6d ago

Zero-Shot Weight-Space Programming Across a Difficulty-Graded Ladder of Two-Player Games

The paper presents a study of zero‑shot weight‑space programming, where a feed‑forward network’s weights are set manually to implement a desired computation without training. The authors construct ten such networks across a difficulty‑graded ladder of two‑player games—Nim, tic‑tac‑toe, two sizes of Connect Four, and a chess endgame—each paired with an unrelated game of matched difficulty to isolate difficulty effects. Six of the networks achieve a complete, non‑statistical proof of correctness against an independent oracle, while the chess‑endgame network demonstrates a sharp performance drop when moving from one‑ply tactics to full adversarial play, illustrating an architectural ceiling rather than an engineering limitation. The study releases all networks, oracles, construction‑cost data, and a cold‑prompt protocol for future cross‑model comparisons.

By Eduardo C. Garrido-Merch\'an
arXiv AI
6d ago

Weight-space programming for tractor guidance controller: large language models natively write neural network weights that steer a real tractor

The paper demonstrates that large language models can directly read and write the weights of a neural network for tractor guidance, a process called Weight‑Space Programming. Using GPT‑6 Astra and Claude Fable, the models repaired a pre‑trained controller and even wrote a new controller from zero weights with minimal simulated evaluations, outperforming evolution strategies and matching pure pursuit in real‑world tests. The resulting controllers were sparse, classically cascaded, and achieved comparable accuracy to gradient‑descent‑trained models.

By Timo Oksanen
arXiv AI
Sep 17

Compiled Agency: Frontier General-Purpose Coding Agents Build Winning Game Players from Bare Interaction - from Flappy Bird to StarCraft II and Civilization

The paper introduces Gauntlet, a framework that lets large language models autonomously build game-playing agents from a bare contract—just a game description, raw observation/action interface, and an empty policy file. In a single session, the model experiments with the game, compiles a standalone controller, and the resulting program is evaluated on held‑out instances without further model calls. The authors demonstrate that these compiled agents can win full‑scale games such as StarCraft II and Civilization, marking the first time a language‑agent system has achieved standalone victory in such complex titles.

By Joey Xiao, Haonan Huang
arXiv Machine Learning
5d ago

MOLT: A Hugging Face-Native, Minimal, and Scalable Framework for Agentic Reinforcement Learning

MOLT is an open‑source, Hugging Face‑native framework for agentic reinforcement learning that is both minimal and scalable. Its codebase is only about 9.2K lines of Python, enabling researchers to read and modify the entire RL pipeline. MOLT supports large models—from 4 B to 753 B parameters—without bridge code, and achieves high throughput and faster asynchronous training compared to existing Megatron‑based stacks.

By Jian Hu, Huiying Li, Hao Zhang, Binfeng Xu, Yifan Zhang, Shaokun Zhang, Hemil Desai, Michael Demoret, Pavlo Molchanov, Jan Kautz, Yi Dong
arXiv AI
Sep 28

Up and Down the Abstraction Ladder: Code-Based Skills for Language Agents

The paper introduces CodeHack, a library of code-based skills with natural-language descriptions designed to improve language agents in complex environments like NetHack. By allowing agents to invoke reusable skills instead of selecting individual actions, the study shows that skill-based agents nearly triple game progression and cut inference cost by 86% in zero‑shot settings, while still retaining the option to fall back on primitive actions. In reinforcement learning, skill-based agents learn faster, achieving a 7.2× larger average gain in dungeon level within the same training budget.

By Bart{\l}omiej Cupia{\l}, Jens Tuyls, Maciej Wo{\l}czyk, Davide Paglieri, Martin Klissarov, Benjamin Eysenbach, Piotr Mi{\l}o\'s, Karthik R. Narasimhan