计算机科学 > 机器学习
[提交于 2026年11月29日]
标题:Latent Assembly: Causal Discovery and Cross-Task Linking of Executable Operations in Language Models
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Can computations learned by language models be extracted as executable operations and assembled into new programs? We introduce a causal framework that recovers typed program states, discovers state-dependent operations and neural interfaces through which one operation's output becomes another's input. The framework identifies operations by their causal transformations rather than their physical locations and tests reuse through predicted intermediate states, causal execution, and recompilation. In controlled transformers, our framework discovers ground-truth operation classes and composition laws starting from unlabeled neural activations. In pretrained Qwen, Gemma, and Llama models, we discover SELECT and LOAD operations connected by a reusable record-reference interface and validate their composition and recompilation. Native-mediation experiments further show that the models' own computations use the consumer-interface subspaces recovered by our framework. Further, we show that three distinct operations discovered and qualified independently from separate tasks using our framework can be linked to execute semantically distinct tasks with no target-task fitting. We discover the frozen neural calling conventions through which the operations communicate. The three-operation chain achieves 81% accuracy against a 90% model-native oracle. Counterfactual changes to upstream arguments produce the downstream behavior implied by the altered program. These results provide causal evidence that independently qualified computations can exchange executable internal values through reusable interfaces. These results establish a scoped form of neural programmability: independently qualified computations can exchange arguments and execute together. They open a path toward making learned computations accessible as components that can be inspected, tested, and deliberately recombined.
提交历史
来自:Yuhan Chen[v1] 2026年11月29日 星期日 04:15:36 UTC (560 KB)