Small edits.
Different intelligence.
A neural network is a program written in numbers.
Step inside, change its weights, and watch its world change.
Program a boundary
A tiny network learns nothing here. You decide what its parameters compute.
The starting network contains a faulty output connection. Apply the hand-designed repair, or explore individual parameters below.
Decision landscape
LIVE INFERENCEThe program is the parameters.
// No optimizer. No backpropagation. const hidden = W.map((row, i) => Math.max(0, dot(row, [x, y]) + b[i]) ); const probability = sigmoid( dot(v, hidden) + bias );
The landscape updates with each change.
Read. Repair. Write.
Run small-scale weight-space experiments using your own model. No optimizer, preset repair, or simulated AI response is used in this section.
Repair/write are scored against the target pattern selected above. Custom instructions do not change the scoring target. This architecture cannot express every possible behavior.
Model connection
The prompt and key are sent directly to the endpoint you enter. Use a trusted endpoint that allows browser requests (CORS). No keys are saved or included in exports. Local servers may require browser/local-network permission and a local copy of this app.
Read mode sends architecture and shuffled weights, without the answer. Repair sends a snapshot of your current weights. Write starts with all zeros. Test coordinates and expected answers are not included.
Results appear after evaluation. A proposal can fail, regress, or be rejected as invalid.
Scores use 1,024 pseudorandom inputs on [−1,1]², separate from the visible grid. A seed is saved in the run export for reproducibility. Reusing feedback is iterative testing, not an untouched benchmark.
Scope and limitations
These experiments use a 17-parameter classifier, not a language model checkpoint. Reading tests distinguish only the three built-in pattern families. No Qwen editing, game-playing environments, MATH-500 or IFEval benchmark, or replication of the paper’s numerical results is implemented. Models may produce incorrect explanations or parameters. Read the measured results, inspect the proposed weights, and compare multiple runs.
What if weights were
something we could write?
Weight-space programming asks whether a language model can inspect, repair, or construct a neural network directly through its parameters.
This lab is an independent educational illustration. The original playground uses hand-crafted weights. The experiment workspace accepts real model proposals, but does not reproduce the article’s large-model experiments or benchmark results.
Explore the article by Rikiya Takehi & collaborators ↗