arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.08816cs.LG
收藏

Loom:一种可扩展的分析神经计算机架构

Loom: A Scalable Analytical Neural Computer Architecture

Columbia University(哥伦比亚大学)

Mehmet Kerem Turkcan

AI总结:

Loom是一种可扩展的分析神经计算机架构,通过循环变压器执行编译后的C程序,具有固定成本和固定参数的高效执行机制。

摘要:

我们介绍了Loom,一种计算机架构,它在循环变压器中执行编译后的C程序,其权重通过分析方法得出。该架构在8个变压器层中实现了22条指令集。每次前向传递执行一条指令;模型被迭代应用,直到程序计数器达到零。完整的机器状态存储在一个固定大小的张量$X \in \mathbb{R}^{d \times n}$中,每一步的固定成本取决于固定的$d$和$n$,与程序长度或执行历史无关。默认配置使用$d = 155$和$n = 1024$,产生470万个参数和928个指令槽。一个紧凑的配置在$d = 146$和$n = 512$下足以解决9$\times$9数独问题(284条指令)。权重是程序无关的:程序存在于状态张量中,相同的固定权重模型可以执行任何编译的程序。我们公开发布了Loom的源代码,地址为https://github.com/mkturkcan/Loom。

英文摘要:

We present Loom, a computer architecture that executes programs compiled from C inside a looped transformer whose weights are derived analytically. The architecture implements a 22-opcode instruction set in 8 transformer layers. Each forward pass executes one instruction; the model is applied iteratively until the program counter reaches zero. The full machine state resides in a single tensor $X \in \mathbb{R}^{d \times n}$ of fixed size, and every step has fixed cost for fixed $d$ and $n$, independent of program length or execution history. The default configuration uses $d = 155$ and $n = 1024$, yielding 4.7 million parameters and 928 instruction slots. A compact configuration at $d = 146$ and $n = 512$ suffices for a 9$\times$9 Sudoku solver (284 instructions). The weights are program-independent: programs live in the state tensor, and the same fixed-weight model executes any compiled program. We make Loom source code publicly available at https://github.com/mkturkcan/Loom.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑