Hugging Face Trending Papers

Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers

arXiv AI
Nov 6

Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"

The paper investigates whether large language models (LLMs) can truly reason about neural network weights or merely perform local arithmetic combined with memorized dataset priors. Using Claude Opus 5.5, the authors test the model’s ability to read raw weights of small convolutional networks without tools or forward passes, finding that the model can execute accurate local calculations (e.g., batch‑normalization statistics) but relies heavily on familiar dataset labels and priors for semantic judgments. The study concludes that zero‑shot weight reading is better explained by local arithmetic plus dataset priors rather than genuine weight‑flow tracing, and proposes a protocol for auditing future weight‑space claims.

By Nazmus Sakib Ahmed
arXiv AI
Nov 14

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.

By Jens Lehmann
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
Nov 16

Can LLMs Write Backdoors? An Empirical Security Study of Weight-Space Programming

The study investigates whether large language models (LLMs) can use weight‑space programming (WSP) to inject backdoors into neural networks without traditional training methods. Experiments with five LLMs across an MLP, ResNet‑18, and a Qwen model show that backdoors can be successfully inserted while largely preserving clean performance, often with very few parameter changes. The effectiveness varies by LLM and architecture, with GPT‑6 Astra achieving the broadest success.

By Zhaojia Wang, Jiucui Lu, Zheng Li
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

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
Nov 11

Mixed Signals: Weight-Space Programming for EEG and ECG

The paper demonstrates that weight‑space programming enables language models to edit and even generate the weights of neural networks trained on biosignal data such as EEG and ECG. It shows that these models can debug faults, write entire networks from scratch, and match or surpass traditional training methods using fewer subjects. The study also notes limitations, including difficulty improving already well‑trained models and recognizing the task from weights alone.

By Dara Varam, Taraneh Aminosharieh Najafi, David Atienza
Hugging Face Trending Papers
Nov 10

Mixed Signals: Weight-Space Programming for EEG and ECG

The paper explores weight‑space programming, a method where language models read and edit neural network weights, applied to EEG and ECG biosignal models. It demonstrates that large language models can debug faults and even generate entire weight sets from scratch using only architecture, task, and a few training subjects, achieving performance comparable to or better than traditional pipelines with fewer subjects. The study also notes limitations, such as difficulty improving already well‑trained models and recognizing tasks solely from weights, suggesting further research is needed before practical deployment.

arXiv Machine Learning
Nov 5

Analysis of Local Open-Weight LLM Agents on Vulnerability-Reproduction Tasks

The paper evaluates twelve local open‑weight language models on vulnerability‑reproduction tasks, showing that even small 4B models solve most of the easier tasks while a 27B model is needed for the harder ones. Quantization does not affect which tasks are solved but speeds up performance, and mixture‑of‑experts models achieve similar scores faster. The study also analyzes agent trajectories, noting that successful runs correctly identify the vulnerable function and hypothesis, and the key difference between solved and unsolved tasks is whether that hypothesis yields a working input.

By Jorge Garc\'ia-Carrasco, Javier Sanchis, \'Alvaro Navarro, Alejandro Mat\'e, Juan Trujillo
arXiv AI
6d ago

Language Models Can Rewrite Their Own Weights

The paper demonstrates that a large language model (27B) can autonomously rewrite its own weights without gradients or additional training. By diagnosing its failures through self‑generated graded answers, the model edits its internal parameters, improving accuracy on unseen problems by 6.6 points and repairing corrupted weights to recover performance on image benchmarks. This self‑editing capability emerges only at larger scales, with smaller models unable to perform the edits.

By Jiajun Fan, Neil He, Changyi Yang, Andy Mao, Xi Zhu, Chaoran Cheng, Kaiqu Liang, Shuaike Shen, Zetian Li, Ruihan Guo, Ge Liu
arXiv AI
Nov 6

FedReason: Large Language Models as Weight-Space Meta-Aggregators for Heterogeneous Federated Learning

FedReason introduces a large language model (LLM) that dynamically selects aggregation rules for federated learning by inspecting client model weights in a sandboxed environment. The LLM evaluates candidate rules on a small proxy dataset and submits a Python program that the server executes until the next call, defaulting to FedAvg if the output is invalid. Experiments on CIFAR-10 and CIFAR-100 with ResNet-18 under various heterogeneity and Byzantine scenarios show FedReason outperforming FedAvg by an average of 1.26 percentage points and matching the best server‑side rule on CIFAR‑100, while incurring modest API costs.

By Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour