死重,活信号:冻结语言模型的前馈图
Dead Weights, Live Signals: Feedforward Graphs of Frozen Language Models
AI总结:
本文提出了一种前馈图架构,利用异构冻结大语言模型作为计算节点,通过学习的线性投影在共享连续潜在空间中通信。该架构在冻结模型上实现了端到端可训练的多节点图,通过反向传播优化投影矩阵,取得优于单一模型的性能。
摘要:
我们提出了一种前馈图架构,其中异质冻结的大语言模型作为计算节点,通过学习的线性投影在共享的连续潜在空间中进行通信。基于最近的工作,展示了独立训练的LLM潜在空间之间的几何兼容性,我们扩展了这一发现,从静态双模型控制到端到端可训练的多节点图。投影矩阵通过反向传播通过残差流注入钩子进行联合优化。三个小型冻结模型(Llama-3.2-1B,Qwen2.5-1.5B,Gemma-2-2B)将输入编码到共享的潜在空间,其聚合信号被注入到两个较大的冻结模型(Phi-3-mini,Mistral-7B)中,这些模型的表示馈入一个轻量级的交叉注意力输出节点。该架构仅有17.6M个可训练参数,相对于约12B个冻结参数,实现了87.3%在ARC-Challenge,82.8%在OpenBookQA,67.2%在MMLU的性能,分别优于最佳单一组成部分模型11.4、6.2、1.2个百分点,并优于参数匹配的学得分类器在冻结单一模型上的表现。通过多个冻结模型边界进行的梯度流动在经验上被证明是可行的,输出节点在没有显式监督的情况下在层-2节点之间发展出选择性路由行为。
英文摘要:
We present a feedforward graph architecture in which heterogeneous frozen large language models serve as computational nodes, communicating through a shared continuous latent space via learned linear projections. Building on recent work demonstrating geometric compatibility between independently trained LLM latent spaces~\cite{armstrong2026thinking}, we extend this finding from static two-model steering to end-to-end trainable multi-node graphs, where projection matrices are optimized jointly via backpropagation through residual stream injection hooks. Three small frozen models (Llama-3.2-1B, Qwen2.5-1.5B, Gemma-2-2B) encode the input into a shared latent space whose aggregate signal is injected into two larger frozen models (Phi-3-mini, Mistral-7B), whose representations feed a lightweight cross-attention output node. With only 17.6M trainable parameters against approximately 12B frozen, the architecture achieves 87.3\% on ARC-Challenge, 82.8\% on OpenBookQA, and 67.2\% on MMLU, outperforming the best single constituent model by 11.4, 6.2, and 1.2 percentage points respectively, and outperforming parameter-matched learned classifiers on frozen single models by 9.1, 5.2, and 6.7 points. Gradient flow through multiple frozen model boundaries is empirically verified to be tractable, and the output node develops selective routing behavior across layer-2 nodes without explicit supervision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。