Weight-Space Programming of Policies and Their Verification via Model Checking
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) can write the weights of small neural networks directly, without gradient descent. This weight-space programming creates policies for sequential decision-making from a task description alone, but nothing guarantees that a written policy behaves as intended. We combine weight-space programming with probabilistic model checking. Given an environment modeled as a Markov decision process and a requirement in probabilistic computation tree logic (PCTL), an LLM writes all weights of a policy network, optionally repairs them on a dataset of optimal actions, and receives model-checking feedback until the requirement holds or a round limit is reached. The model checker Storm computes, rather than estimates from simulations, the probability that the policy satisfies the requirement, so every returned policy is verified. With two LLMs on three environments, the created policy of each of the 18 runs attains the optimal probability, before any dataset or model-checking feedback. Four of six policies programmed for two transporter jobs also complete three jobs with probability 1, so they generalize to a task that the LLM never saw. The pipeline also programs a policy that satisfies a complex safety requirement expressed with the PCTL until operator in all six runs. In one of them, dataset repair raised the accuracy to 98.4% but broke the requirement, and one round of model-checking feedback restored it.
Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Builds on 31 of its 39 references that are in the map. Submitted 8 Nov 2026.
Builds on
31 of 39 references.
References · 31
- 2017Attention Is All You Needcited by 62,125
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,323
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2016HyperNetworkscited by 1,085
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 635
- 2018Programmatically Interpretable Reinforcement Learningcited by 201
- 2021Thinking Like Transformerscited by 201
- 2023Equivariant Architectures for Learning in Deep Weight Spacescited by 132
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 125
- 2022Learning to Learn with Generative Models of Neural Network Checkpointscited by 102
19 more
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 98
- 2023Permutation Equivariant Neural Functionalscited by 85
- 2018Omega-Regular Objectives in Model-Free Reinforcement Learningcited by 78
- 2025Text-to-LoRA: Instant Transformer Adaptioncited by 78
- 2020The Probabilistic Model Checker Stormcited by 68
- 2021Scalar reward is not enough: A response to Silver, Singh, Precup and Sutton (2021)cited by 58
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applicationscited by 30
- 2026A Survey of Weight Space Learning: Understanding, Representation, and Generationcited by 28
- 2022COOL-MC: A Comprehensive Tool for Reinforcement Learning and Model Checkingcited by 21
- 2025Generative Modeling of Weights: Generalization or Memorization?cited by 18
- 2021dtControl 2.0: Explainable Strategy Representation via Decision Tree Learning Steered by Expertscited by 15
- 2024Safety-Oriented Pruning and Interpretation of Reinforcement Learning Policiescited by 11
- 20241-2-3-Go! Policy Synthesis for Parameterized Markov Decision Processes via Decision-Tree Learning and Generalizationcited by 6
- 2026Formally Verifying and Explaining Sepsis Treatment Policies with COOL-MCcited by 4
- 2025Co-Activation Graph Analysis of Safety-Verified and Explainable Deep Reinforcement Learning Policiescited by 3
- 2025Verifying Memoryless Sequential Decision-making of Large Language Modelscited by 2
- 2026Adaptive Probabilistic Shielding by Learning MDPs for Safe Reinforcement Learningcited by 1
- 2026Weight-Space Programming for Improving Image-Restoration Diffusion Models: Technical Conjectures and a Recursive Improvement Loopcited by 1
- 2026Function-Preserving Audits of Visual Weight Readerscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.