arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.09816cs.LGcs.AI
收藏

压缩计算:Universal-AND 问题玩具模型中的稠密电路

Compressed Computation: Dense Circuits in a Toy Model of the Universal-AND Problem

Independent(独立研究者)

Adam Newgas

AI总结:

本文研究 Universal-AND 问题的玩具模型,发现模型在隐藏维度受限时能学习到完全稠密的压缩计算电路,其效率与鲁棒性优于理论构造,揭示了网络电路形成机制与叠加表示的灵活性。

摘要:

神经网络具备叠加能力——即表示比维度数量更多的特征。近期工作考虑了计算而非存储的类似概念,并提出了理论构造。但关于这些电路在实践中能否被学习,鲜少有研究探讨。在本研究中,我们研究了 Universal-AND 问题的一个玩具模型,该模型计算 $m$ 个稀疏输入的所有 $m\choose 2$ 个对的 AND 运算。决定非线性激活数量的隐藏维度被限制,以迫使模型寻找一种计算高效的电路,称为压缩计算。我们发现训练过程找到了一个与理论构造不符的简单解。它是完全稠密的——每个神经元都对每个输出有贡献。该解电路随维度自然扩展,在错误率与神经元效率之间进行权衡。它对稀疏度及其他关键参数的变化同样具有鲁棒性,并自然扩展到其他布尔运算和布尔电路。我们详细解释了找到的解,并计算了为何在低稀疏度下它比理论构造更高效。我们的发现揭示了模型倾向于形成的电路类型及叠加表示的灵活性。这有助于更广泛地理解网络电路与可解释性。

英文摘要:

Neural networks are capable of superposition -- representing more features than there are dimensions. Recent work considers the analogous concept for computation instead of storage, proposing theoretical constructions. But there has been little investigation into whether these circuits can be learned in practice. In this work, we investigate a toy model for the Universal-AND problem which computes the AND of all $m\choose 2$ pairs of $m$ sparse inputs. The hidden dimension that determines the number of non-linear activations is restricted to pressure the model to find a compute-efficient circuit, called compressed computation. We find that the training process finds a simple solution that does not correspond to theoretical constructions. It is fully dense -- every neuron contributes to every output. The solution circuit naturally scales with dimension, trading off error rates for neuron efficiency. It is similarly robust to changes in sparsity and other key parameters, and extends naturally to other boolean operations and boolean circuits. We explain the found solution in detail and compute why it is more efficient than the theoretical constructions at low sparsity. Our findings shed light on the types of circuits that models like to form and the flexibility of the superposition representation. This contributes to a broader understanding of network circuitry and interpretability.

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

↑