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

가중치 공간 프로그래밍의 재현과 확장: 최전선 LLM이 프로그램을 가중치로 컴파일하고 입력 레이어를 읽는다

Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly · arXiv · 2026년 11월 16일

- **연구 문제** frontier LLM이 신경망 가중치를 직접 쓰고 읽을 수 있는지, 그 능력의 범위가 어디까지인지가 불분명합니다.
- **연구 방법** Breakout 등 MinAtar 게임 네트워크를 도구 없이 쓰게 하고, 작성된 가중치를 Python으로 역변환하거나 평문 가중치를 읽혀 평가했습니다.

## LLM은 프로그램을 가중치로 쓸 수 있는가

이 논문이 다루는 질문은 frontier LLM이 도구 없이 한 번의 응답으로 작은 신경망의 가중치를 직접 쓸 수 있는지, 그리고 그렇게 쓴 가중치를 다시 읽어 무엇을 하는지 알 수 있는지입니다. MIT 측 보고는 GPT-6 Astra가 MinAtar Breakout용 네트워크를 단일 응답으로 작성했다고 전했지만, 이 논문은 그 주장을 재현하고 범위를 따져 봅니다.

이 질문은 두 방향으로 나뉩니다. 하나는 프로그램을 가중치로 옮기는 쓰기이고, 다른 하나는 가중치에서 학습 목적을 읽어 내는 읽기입니다. 두 능력 모두 도구를 쓰지 않는 조건에서 확인해야 의미가 있습니다.

## 가중치 작성과 Breakout 점수

Astra가 쓴 Breakout 네트워크는 세 번의 실행에서 514, 550, 307점을 기록했습니다. 원 보고 점수는 517점입니다.

모델이 학습 데이터를 외운 것이 아닌지 확인하기 위해 원래 게임에 없는 좌우 반전 Breakout과 상하 반전 Breakout을 추가로 요청했습니다. 표준 Breakout용 네트워크는 이 변형에서 0.5점과 0.0점에 그쳤지만, 변형용으로 쓴 네트워크는 두 변형에서 평균 515점을 기록했습니다. 이 결과는 모델이 게임 코드에서 규칙을 가져와 작업하고 있음을 시사합니다.

## 가중치를 Python으로 역변환

저자들은 두 모델에게 Astra의 Breakout 네트워크를 Python으로 역변환하게 했습니다. 두 모델은 네트워크를 실행하거나 게임을 시뮬레이션할 수 없었고, 가중치와 아키텍처, 게임 규칙, 입출력 사양만 받았습니다. 두 프로그램은 49,189개의 게임 상태에서 네트워크와 같은 행동을 선택했고, 1,000 게임에서 평균 502.9점으로 네트워크와 같은 점수를 냈습니다.

이 결과는 네트워크가 명시적인 계획으로 쓰였다는 해석을 뒷받침합니다. 첫 번째 층의 두 유닛은 공의 이동 방향을, 네 유닛은 벽에 튕긴 뒤 공이 떨어질 열을 추적하고, 두 번째 층이 패들을 그 열로 옮기는 구조로 읽힙니다.

## 손글씨 숫자에서의 한계

프로그램으로 컴파일할 수 있는 게임과 달리, 손글씨 숫자 분류는 쓸 프로그램이 명확하지 않은 과제입니다. 이 실험에서 네트워크는 은닉층 2개와 각 32개 유닛, 입력 784개, 출력 10개의 구조를 썼고, 10,000개 테스트 이미지의 정확도로 평가했습니다.

Astra의 네트워크는 3회 실행 평균 49.6%를 기록했습니다. 단순 템플릿 분류기는 82.0%였고, 같은 구조를 60,000개 학습 이미지로 학습한 기준은 96.7%였습니다. 따라서 가중치 작성은 프로그램으로 옮길 수 있는 과제에서 강하지만, 흐릿한 과제에서는 단순한 기준에도 못 미칩니다.

## 가중치 읽기와 입력층의 역할

가중치를 셔플하면 두 모델 모두 무작위 수준으로 떨어졌습니다. 이는 모델이 가중치를 실제로 읽고 있다는 근거입니다.

![Figure 1: First-layer weight norms per input channel for the four original games. Each map is the 10 ×10 grid; a cell’s colour is the size of the 32 weights le…](https://refivu.com/papers/1cc59c96-8887-4c52-9004-ea4c1b7d6e52/figures/figure-3d20fa535011a81e1d4376c3d46d30f3.png?thumb=512)

**Figure 1** : First-layer weight norms per input channel for the four original games. Each map is the 10 ×10 grid; a cell’s colour is the size of the 32 weights leaving that input, scaled independently from the minimum (palest) to the maximum (darkest) weight for each input channel for each game. The bottom row is the Breakout network with its weights shuffled, as in the original MIT control.

[원문](https://arxiv.org/abs/2611.21449v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly · Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

새로 설계한 세 게임에서는 입력층 히트맵으로 보드의 위치 정보는 복원되었지만, 행동의 의미나 게임 메커니즘은 대부분 놓쳤습니다. Whac-A-Mole에서는 구멍 배치를 정확히 찾았으나 두더지를 때리는 행동을 제대로 설명하지 못했습니다. 따라서 가중치 읽기는 주로 입력층 구조를 읽는 능력으로 보는 것이 적절합니다.

![Figure 2: First-layer heatmaps for three new games (A–C), drawn as in Figure 1, from the best of three networks per game, each trained for a billion steps](https://refivu.com/papers/1cc59c96-8887-4c52-9004-ea4c1b7d6e52/figures/figure-6d6cfd229575fcf73eca1e9a260d6cb2.png?thumb=512)

**Figure 2** : First-layer heatmaps for three new games (A–C), drawn as in Figure 1, from the best of three networks per game, each trained for a billion steps.

[원문](https://arxiv.org/abs/2611.21449v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly · Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 평문 가중치 감사

Astra는 학습 중 독성 처리된 모델을 10회 중 10회 찾았고, 학습 뒤 독성 처리된 모델은 10회 중 7회 찾았습니다. 악성 어댑터 식별에서는 Astra가 32개 중 23개를 맞혔고, Qwen3.8-27B는 32개 중 14개로 우연 수준에 가까웠습니다.

그러나 어떤 모델도 트리거 문구를 찾거나 악성 행동을 설명하지 못했습니다. 저자들은 이 감사 능력이 식별 수준에 머물고 있다고 봅니다.

## 한계와 남은 문제

이 연구는 3일 동안 진행된 스프린트였고, 대부분의 결과는 모델과 과제당 1회에서 5회의 실행에서 얻었습니다. 점수는 실행마다 달라졌고, 일부 실행은 API 실패로 잃었습니다. 사용한 모델은 독점 모델이며 버전이 바뀔 수 있습니다.

또한 네트워크는 모두 작고, 손글씨 숫자 같은 흐릿한 과제는 하나만 다뤘습니다. 공개된 네트워크와 로그가 미래 모델의 학습에 포함되었을 가능성도 있어 일반화에 주의가 필요합니다.

## 논문 정보

- **저자**: Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 16일
- **등록일**: 2026년 11월 18일
- **수정일**: 2026년 11월 16일
- **버전**: v1
- **arXiv**: 2611.21449
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.21449v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.21449v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Researchers at MIT recently reported that GPT-6 Astra, a frontier large language model (LLM), can write the weights of small neural networks directly in a single reply, and can read the raw weights of small networks to say what they were trained to do. In a three-day sprint, we replicated and extended these results. Our four findings: (1) Writing weights reproduces. Astra's networks for the game Breakout scored 514, 550 and 307 (versus MIT's 517), and scored just as well on two modified versions of Breakout. Claude Opus 5.5 can also write working networks, but often runs out of output tokens. (2) What is new is translating programs into weights. Earlier models could write a good policy as code a generation before they could write network weights, and the networks the models write behave like compiled programs: two models independently decompiled Astra's Breakout network into Python matching its actions in all tested states. On classifying handwritten digits, Astra's networks scored 50% on average, below a simple classifier (82%). (3) Reading weights is mostly reading the input layer. Astra and Opus 5.5 identify which game a network plays almost perfectly, but on three new games we designed and trained ourselves, Astra recovered where things are on the board, while mostly missing how the game works. (4) Auditing from weights alone is possible but shallow. Without executing code, Astra picked out a small language model poisoned during training in 10 of 10 runs, one poisoned by extra training afterwards in 7 of 10, and a malicious adapter in 23 of 32 cases, but never identified the trigger or malicious behaviour. Open-weight models lag behind. From this early study, we conclude that LLMs can read and write small networks, but that this currently amounts to compiling hand-designed programs and reading the layout of the input layer. It is a promising but early tool for interpretability.

## 원문 인용

Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly (2026). Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers. arXiv:2611.21449v1. https://arxiv.org/abs/2611.21449v1

**BibTeX**

```
@misc{goworek2026replicating,
  title = {{Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers}},
  author = {Roksana Goworek and Alexander Hickey and Federico Nanni and Martin O'Reilly},
  year = {2026},
  eprint = {2611.21449},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21449v1}
}
```

## 이 논문의 용어

- [Qwen3.8-27B](https://refivu.com/terms/4cabdbb54f57-qwen3-8-27b)
- [Claude Opus 5.5](https://refivu.com/terms/5a529ff69f21-claude-opus-5-5)
- [GPT-6 Astra](https://refivu.com/terms/b41650762174-gpt-6-astra)
- [proximal policy optimisation (PPO)](https://refivu.com/terms/8d2a4dc33f5d-proximal-policy-optimisation-ppo)
- [weight-space programming](https://refivu.com/terms/358dee0dc63b-weight-space-programming)
- [Dolma 3](https://refivu.com/terms/0fafb2fb46d2-dolma-3)
- [Kimi-K3.1-Pro](https://refivu.com/terms/80e38766d6e7-kimi-k3-1-pro)
- [Seaquest](https://refivu.com/terms/ee66d6dab19b-seaquest)

## 다른 논문 해설

- [Benchmarking Large Language Models for Linguistic Annotation](https://refivu.com/papers/31699f2b-c12b-41fb-89a9-0fd2b94ea922-benchmarking-large-language-models-for-linguistic-annotation.md)
- [Reading or Remembering? Measuring Temporal Contamination in Language Models](https://refivu.com/papers/5afc0a85-1e8b-4d60-90e5-d2f7a27505c1-reading-or-remembering-measuring-temporal-contamination-in.md)
- [Right Reason, Wrong Advice: Evaluating Recourse in LLM Explanations of Denied Requests](https://refivu.com/papers/34c6cc11-b6ba-4689-b799-ba73bd978076-right-reason-wrong-advice-evaluating-recourse-in-llm.md)
- [Tight PAC-Bayes Generalisation Guarantees for Large Language Model Judges](https://refivu.com/papers/76be57bd-6d84-4edc-a631-7929a18f0aa9-tight-pac-bayes-generalisation-guarantees-for-large-language.md)
- [Edit Recommendation: Can LLMs Anticipate Edit Requests from Users, and When?](https://refivu.com/papers/160d80a4-47cc-42cf-b64b-7113657c8378-edit-recommendation-can-llms-anticipate-edit-requests-from.md)
- [Scientific Coding with Large Language Models: Evidence from Finite Element Analysis](https://refivu.com/papers/fbc5e96e-993c-477a-b7cc-7e022fd35897-scientific-coding-with-large-language-models-evidence-from.md)
- [AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions](https://refivu.com/papers/d6ae6e57-c73c-4909-b2a8-0a7a84033d1f-auxspec-learning-to-autoformalize-program-specifications-via.md)
- [Variationally correct physics-informed operator learning for nonlinear partial differential equations](https://refivu.com/papers/cf8b9cd8-5f0b-470f-b5a1-a84a0d686de9-variationally-correct-physics-informed-operator-learning-for.md)
- [Representational Change Under Self-Consuming Training: A Sparse Autoencoder Analysis](https://refivu.com/papers/fd9aa9a7-6b2c-40a8-a1bc-d78fec01bb09-representational-change-under-self-consuming-training-a.md)
- [Syllable- and Word-Level Evaluation of Tibetan OCR](https://refivu.com/papers/970137ad-b559-4e84-ab19-3c9fc9e6d2ac-syllable-and-word-level-evaluation-of-tibetan-ocr.md)
- [Train After You Measure: a Pre-Registered Learning Curve for Fine-Tuning Typed Decision Models on One User's Labels](https://refivu.com/papers/507ccf1d-2820-4094-a1d3-aa86efdbe0f9-train-after-you-measure-a-pre-registered-learning.md)
- [MegNIST, A Benchmark for Non-Invasive Inner Speech Decoding](https://refivu.com/papers/22ae1019-60f8-4bd2-9bbf-392feb7ad037-megnist-a-benchmark-for-non-invasive-inner-speech.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1cc59c96-8887-4c52-9004-ea4c1b7d6e52-replicating-and-extending-weight-space-programming-frontier)
