Skip to content
简体中文

切换主题

arXiv 2611.30634 · cs.LG · 2026-11-23

Rewirable Circuits in Transformers with Loom Attention

Da Xiao, Qingye Meng, Shengping Li, Xingyuan Yuan

机构待核实

在最新榜 #40 2026-W48 第 5 名 本站收录于 2026-11-25

一句话要点

LoomAttention通过动态重连Transformer内部电路,在不增加计算量的前提下,实现与高算力模型相当的性能,显著提升小模型在下游任务中的表现。

LoomAttention enables Transformer circuits to be dynamically rewired, achieving performance comparable to high-compute models with minimal additional FLOPs.

要点

  • 传统Transformer结构中注意力机制固定,难以适应复杂语义关系;LoomAttention通过在每个token层面动态交织垂直与水平注意力,实现电路的可重连性。
  • 采用归一化门控线性注意力对每token的矩阵记忆进行高效处理,将压缩后的头输出作为第二残差流,形成向量流与矩阵流并行的双流架构。
  • 在语言建模及下游任务中,LoomFormer在仅增加2% FLOPs的情况下,性能接近使用3倍计算量训练的基线模型,并在零样本或五样本设置下超越Pythia-12B。
  • 该方法在不同规模模型和训练预算下均表现稳定,验证了其在效率与性能之间的良好平衡,但未明确说明对长序列或特定领域任务的适应性。
English overview

LoomAttention introduces dynamic circuit rewiring in Transformers by combining vertical and horizontal attention at each token. It uses a per-token matrix memory with gated linear attention to enable efficient vertical attention, forming a dual-stream architecture. LoomFormer achieves performance comparable to high-compute baselines with minimal extra FLOPs across various model sizes and tasks.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

99HF 点赞
23GitHub stars
0引用(Semantic Scholar)
56.1热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)