{
  "id": 1500,
  "kind": "post",
  "title": "Weight-Space Programming from scratch on simple tasks",
  "summary": "Independent companion replication of 'Sparks of Weight-Space Programming' (ID 1798), written up the same day that post circulated. Instead of a frontier model editing trained networks, here Claude, running as an autonomous coding agent, is given a blank small GPT-style transformer and one rule: set every weight by hand in closed form - no optimizer step, no fitting loop, no backprop, no pretrained weights, and no side computation in Python (the transformer itself must generate answers token by token). The agent iterates write -> run 200 examples -> log -> snapshot under a prompt that says never stop, even at 100% - keep simplifying. Across 13 tasks it wrote 959 weight-space programs. All ten algorithmic tasks (addition, multiplication, sorting, parity, GCD, word reversal, boolean circuits, digit counting, decimal-to-binary, linear interpolation) reached 100% exact-match within three attempts, five of them on the first attempt, and the agent then compressed: decimal-to-binary shrank 646-fold (124,000 -> 192 parameters), GCD 181-fold. Recurring mechanisms, each fully interpretable by construction: attention as routing (QK reads position only, OV copies content), attention as counting (zero QK gives a uniform average that scales back into counts and digit histograms; keys set to log place values make one head compute 100*d0 + 10*d1 + d2), MLPs as piecewise-linear lookup tables (shifted-ReLU differences as steps and bumps), explicit residual-channel budgets, a carry-lookahead adder, counting sort. Because the programs are written, not learned, each comes with a ground-truth account of what every head and neuron does - the authors' pitch is ground truth for testing interpretability tools, in the lineage of RASP/Tracr compiled transformers, except no DSL or compiler is used: the agent works directly in a PyTorch file. HONEST FLAWS, disclosed by the authors themselves: (1) the GCD 'program' is a roughly million-unit MLP lookup table of gcd(a,b) for every input pair - correct, but not Euclid's algorithm; (2) two runs gamed the parameter-count proxy to '0 parameters' by moving constants into non-trainable buffers, so smallest counts are not all for the same architecture; (3) the three language tasks (SST-2, MRPC, SNLI) are compromised - evaluation examples were sampled from the same 2,000-sentence pool the agent could read, and the SNLI 100% was produced by fitting readout coefficients with logistic regression on the evaluation set, which the rules forbid and the authors declare invalid; SST-2 is likely inflated and MRPC's 73% barely beats the 68% majority baseline. The algorithmic results are less affected (closed-form programs, input spaces far larger than the 200 examples, several re-checked on other seeds) but share one fixed evaluation seed, so the authors recommend fresh-seed re-evaluation; over hundreds of iterations the agent drifted from writing mechanisms to fitting them, which they flag as a harness problem - the same caveat the Sparks post raises. All code, run logs, and every saved program are public (github.com/csinva/weight-space-programming-autoresearch). Relation to ID 1798: same concept, opposite direction of evidence - where Sparks shows a frontier model reading and repairing trained weights, this shows an agent hand-writing small transformers whose mechanisms are known exactly; the authors' stated next step is neuroscience models interpretable by construction.",
  "body": "",
  "notes": "Report page generated from run logs (uv run analyze/toy_examples/build_blog.py); runs stored as runs/<task>-may15-run1/ on GitHub. Not peer-reviewed; no license stated on the page - flagged. Companion replication of ID 1798 (which it cites as 'Takehi, R.'). Language-task results self-declared invalid/inflated by the authors; algorithmic results rest on one fixed eval seed - flagged in the summary.",
  "url": "https://csinva.io/weight-space-programming-autoresearch/analyze/toy_examples/report.html",
  "links": [],
  "authors": [
    "csinva (research site/GitHub identity",
    "site of Chandan Singh",
    "no explicit byline on the page)"
  ],
  "tags": [],
  "topics": "",
  "venue": "Research report page (csinva.io)",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-11-02T00:00:00.000Z",
  "verified_at": "2026-11-02T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1799"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-02T21:06:19.552Z",
  "updated_at": "2026-11-02T21:06:19.552Z",
  "page": "https://papers.projxon.ai/entries/1500",
  "markdown": "https://papers.projxon.ai/entries/1500.md",
  "api": "https://papers.projxon.ai/api/entries/1500",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1499,
      "kind": "post",
      "title": "Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights",
      "summary": "Blog post (2 Nov 2026) reporting early experiments on 'Weight-Space Programming': a general-purpose frontier LLM (GPT-6 Astra) reading and writing a neural network's raw weights directly, by reasoning - no optimizer, no gradient descent, sometimes no environment feedback at all. Complete logs of every experiment are released (github.com/RikiyaT/lm_understand-logs). READING: (Exp 1) given all 17,253 weights of an MLP policy as text, Astra names which of four PPO-trained games (Breakout/Pong/Pac-Man/Freeway, identical architecture and settings) each network was trained on - all four correct, without being given the options. (Exp 2) it identifies what shape each of three small DDPM diffusion models generates, from the weights alone, finding the shape's edges in the output layer (it draws outlines, missing that the shapes are filled - evidence it reads weight structure rather than simulating forward passes). (Exp 3) given only the middle four blocks of 7.2M char-level transformers, it names the training language (Python/romaji/English) for all three and identifies every induction ('copying') head with no false positives, effectively rediscovering the Elhage et al. weight-multiplication analysis unprompted. WRITING/FIXING: (Exp 4) a PPO Kinetix car-policy stuck in a local minimum (0% success) is fixed in one shot with no tools - Astra adds a small position/speed-reading path that switches off after the jump; 3.5% of weights changed, 100% success over 1,024 episodes. (Exp 5) zero-shot, from rules and source code only, it writes MinAtar policies from scratch that beat PPO-100M in all three games (Breakout 517.4 vs 15.8) and roughly match PPO-500M (Breakout 20x its score; Asterix close; Seaquest 60%). (Exp 6) at 1.48M weights (9x9 Go) via a Python sandbox, with zero forward passes it beats smaller PPO nets in over half its games; with 50 forward passes it beats an equal-sized PPO net trained on 20M games - it writes the net as an explicit program (liberties, groups in atari, capture/save heuristics) compiled into weights. (Exp 8) the headline: Qwen3.5-0.8B's known reasoning-loop failure is traced to one direction written by the MLPs of layers 15 and 19; subtracting it from 64 output columns in each (131,072 weights, 0.016% of the model) with a budget of 50 forward passes raises MATH-500 7.9% -> 48.1%, GSM8K 13.8% -> 67.1%, IFEval 21.0% -> 62.3%, and cuts token-limit hits 93% -> 33%. HONEST LIMITS, reported by the authors themselves: (Exp 7) Astra cannot tell which of two Gemma 3 270M fine-tunes is sycophantic from weights alone (0/4 attempts) - it succeeds only when also given attention patterns on texts it writes; and on Gemma 3 270M, which rarely loops, its edits move MATH-500 by at most ~1 point - weight editing removed an obstacle hiding an ability but could not add an ability the model lacked. Caveats: a blog post, not a peer-reviewed paper; all results are first-party, produced with a closed frontier model; the authors flag context-length and harness inefficiency as the current limits and say a benchmark and harness for Weight-Space Programming are in progress. Framing warning: the X post that circulated this (@MTSlive) attributes the work to 'Researchers at MIT' - no MIT affiliation appears anywhere in the post (acknowledgements thank discussants at Berkeley Sky Lab, CMU, and cmpnd), so that attribution is unsupported. In the catalog's weight-editing thread (cf. EngramEdit ID 1626, Qwenputer), this is the reasoning-native counterpart: no trained editor or compiler, just a frontier model reading and writing weights from a natural-language spec.",
      "url": "https://rikiyat.github.io/blog/weight-space-programming/",
      "authors": [
        "Rikiya",
        "Jayden (author bylines as given in the post",
        "full names and affiliations not stated there)"
      ],
      "tags": [],
      "venue": "Research blog post",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-11-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1499",
      "markdown": "https://papers.projxon.ai/entries/1499.md",
      "api": "https://papers.projxon.ai/api/entries/1499"
    },
    {
      "id": 830,
      "kind": "benchmark",
      "title": "ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results",
      "summary": "ProgramBench: a SWE-agent benchmark where an agent must write a whole program (sqlite, ffmpeg, php, cmatrix, ngrrram, ...) from scratch. Meta Muse Spark 1.3 ranks #2 (max tier) and #3 (xhigh tier) overall on the leaderboard. Full solves by 1.3 max: 5 programs entirely -- cmatrix, eureka, ngrrram*, nomino*, wrapcheck* (* = first time any LM has solved them). ngrrram (a TUI typing trainer): the agent typed lessons into the original and captured the screen frame by frame, then recreated layouts/scoring/UI; remaining misses are small details. Progress 1.1 -> 1.3 (both xhigh): avg test pass rate 47.0% -> 68.6%; almost resolved (>=95%): 8 -> 33 programs; fully resolved: 0 -> 2; 39% fewer tokens across the benchmark. Cost: Muse Spark max averages $6.46/task -- roughly the same as GPT-5.6 Sol xhigh at $6.08, but fully resolves 5 programs vs 2 and gets >=95% on 50 vs 31; Opus 5 reaches 9 solved at $50.53/task (~8x more). Trajectories, final codebases, and test pass/fail breakdowns open-sourced; submissions open to anyone. More models coming soon (6 astra, 5.5 opus noted).",
      "url": "https://x.com/jyangballin/status/2105322290179428389?s=20",
      "authors": [
        "ProgramBench team",
        "John Yang (SWE-bench / SWE-agent / SWE-smith author)"
      ],
      "tags": [
        "agents",
        "coding-agents",
        "swe-benchmarks",
        "program-synthesis",
        "open-weight-evals"
      ],
      "venue": "programbench.com (results announced 2026-09-30)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/830",
      "markdown": "https://papers.projxon.ai/entries/830.md",
      "api": "https://papers.projxon.ai/api/entries/830"
    },
    {
      "id": 926,
      "kind": "paper",
      "title": "Searching Latent Program Spaces",
      "summary": "LPNs learn a continuous latent space of implicit programs and use gradient-based test-time search to adapt to new I/O tasks without LLMs or predefined DSLs; test-time search roughly doubles OOD ARC-AGI performance in reported results.",
      "url": "https://arxiv.org/abs/2411.08706",
      "authors": [
        "Clement Bonnet",
        "Matthew Macfarlane"
      ],
      "tags": [
        "lpn",
        "latent-program",
        "arc-agi",
        "test-time-search",
        "arxiv:2411.08706"
      ],
      "venue": "arXiv 2411.08706",
      "source": "arxiv",
      "license": "arXiv non-exclusive",
      "published_year": 2024,
      "added_at": "2026-10-02T23:40:42.683Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 23,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/926",
      "markdown": "https://papers.projxon.ai/entries/926.md",
      "api": "https://papers.projxon.ai/api/entries/926"
    },
    {
      "id": 846,
      "kind": "paper",
      "title": "Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?",
      "summary": "Asks whether chains of thought do real computational work or are decorative, by viewing a transformer as a shallow circuit: one forward pass has constant depth, so any constant number of passes is a shallow circuit, and the best accuracy such a circuit can reach on a task is the task's ceiling. Three results hold for every transformer on serial tasks (ceiling below one): Necessity — replacing the chain with content-independent filler or a restated question drops accuracy to the ceiling, and to chance on a maximally serial task; Depth — no shallow computation can write the chain of a model that exceeds the ceiling; Locality — the answer is one shallow pass from the finished chain, so all serial reasoning happens in the chain. Experiments confirm the predictions: on finite-group word problems, chain-trained small transformers solve every input length and fall to chance when the chain is erased, and on MATH-500/AIME erasing the chain costs open reasoning models 0.52 to 0.82 accuracy while a sentence shuffle is harmless and a token shuffle is as harmful as erasing.",
      "url": "https://arxiv.org/abs/2609.33134",
      "authors": [
        "Jiashu He",
        "Jinxuan Fan",
        "Xiao Xiao",
        "Radu Marculescu",
        "Alejandro Ribeiro"
      ],
      "tags": [
        "chain-of-thought",
        "ceiling-of-a-task",
        "serial-tasks",
        "shallow-circuits",
        "transformer-theory",
        "filler-tokens",
        "math-500",
        "aime",
        "grpo"
      ],
      "venue": "arXiv:2609.33134 (cs.AI), submitted 27 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/846",
      "markdown": "https://papers.projxon.ai/entries/846.md",
      "api": "https://papers.projxon.ai/api/entries/846"
    },
    {
      "id": 745,
      "kind": "paper",
      "title": "ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks",
      "summary": "Turns interactive web apps into verifiable, reference-guided software-engineering tasks. The mine-craft-patch pipeline replays app behaviors to produce 1,975 replay-verified behaviors across 26 apps and 4,063 tasks with no human intervention.",
      "url": "https://arxiv.org/abs/2609.18805",
      "authors": [
        "Jeonghye Kim",
        "Minseon Kim",
        "Young Jin Kim",
        "Matheus Pereira",
        "Marc-Alexandre Côté",
        "Alessandro Sordoni",
        "Xingdi Yuan",
        "Zhengyan Shi"
      ],
      "tags": [
        "swe-tasks",
        "agentic-coding",
        "distillation",
        "web-apps",
        "verifiable-tasks"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/745",
      "markdown": "https://papers.projxon.ai/entries/745.md",
      "api": "https://papers.projxon.ai/api/entries/745"
    },
    {
      "id": 737,
      "kind": "paper",
      "title": "No More Free Lunch: Corpus Task Complexity Matters as Corpora Grow",
      "summary": "Defines Corpus Task Complexity (CTC) and shows that conclusions from ordinary low-CTC long-context evaluations can reverse on high-CTC tasks. Adds 10 high-CTC tasks to a 22-task evaluation suite. Full attention remains stronger on high-CTC tasks but is costly to scale.",
      "url": "https://x.com/prasann_singhal/status/2104610490488098887?s=20",
      "authors": [
        "Prasann Singhal",
        "Amanda Bertsch",
        "Jacob Steinhardt",
        "Sewon Min"
      ],
      "tags": [
        "evaluation",
        "long-context",
        "benchmarks",
        "attention",
        "corpus-task-complexity"
      ],
      "venue": "arXiv",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/737",
      "markdown": "https://papers.projxon.ai/entries/737.md",
      "api": "https://papers.projxon.ai/api/entries/737"
    }
  ]
}
