2026-11-18 · 专家 · 自然语言处理 · 机器学习

TPHC: Improving Hyper-Connections with Tensor-Parallel Grouped Updates

TPHC通过整合张量并行(TP)分片与超连接(HC)流,提高了超连接在大型语言模型中的性能,通过增加流之间的独立性来增强残差流的更新表达性。

更新于 2026-11-30。作者:Xinying Hu、You Wu、Haoyi Wu、Jianchao Tan、Kefeng Zhang、Yuchen Xie、Kewei Tu。

中文摘要

超连接(HC)将 Transformer 的残差流扩展为 N 个并行流,而多路约束超连接(mHC)在规模上稳定这些流。然而,mHC 在超过四个流的情况下受益甚微,部分原因在于每个子层将单个输出写入所有流,限制了它们更新的差异程度。在本研究中,我们提出了 TPHC,它将张量并行(TP)碎片与 HC 流集成,以促进流之间的更大独立性。具体来说,我们将残差流的单独混合路由到每个 TP 碎片,并在写回时保持单个碎片的输出分离,这样每个流都可以接收到这些输出的不同混合。这种设计使得残差流更新更加丰富,而无需向注意力或 FFN 子层添加参数或 FLOPs。在 TP 下原生支持流碎片化时,TPHC 在使用四个流的情况下,与 mHC 相比,仅在 8B 模型上需要多 9% 的训练时间。将流数量从四个增加到十六个,其训练时间仅增加 19%。在训练于 100B 令牌的 1.1B 模型上,TPHC 相比于 mHC 在匹配的流数量 Nin{4,8,16} 下,将验证损失降低了 0.7-1.0%,并将六个常识推理基准的平均零样本准确率提高了 0.3-0.7 个百分点。我们的代码可在 https://github.com/wuyou2002/TPHC 获取。

英文摘要

Hyper-Connections (HC) expand the residual stream of a Transformer into N parallel streams, and manifold-constrained HC (mHC) stabilizes them at scale. However, mHC benefits little from more than four streams, partly because each sublayer writes a single output to all streams, limiting how differently they can be updated. In this work, we propose TPHC, which integrates tensor-parallel (TP) shards with HC streams to promote greater independence across streams. Specifically, we route a separate mixture of the residual streams to each TP shard and keep the individual shard outputs separate during write-back, so each stream can receive a different mixture of those outputs. This design makes the residual-stream updates more expressive without adding parameters or FLOPs to the attention or FFN sublayers. With native support for stream sharding under TP, TPHC requires only 9% more training time than mHC on an 8B model when both use four streams. Increasing the number of streams from four to sixteen raises its training time by only 19%. On a 1.1B model trained on 100B tokens, TPHC reduces validation loss by 0.7-1.0% and raises average zero-shot accuracy across six commonsense reasoning benchmarks by 0.3-0.7 percentage points relative to mHC at matched stream counts Nin{4,8,16}. Our code is available at https://github.com/wuyou2002/TPHC.

解读

一句话总结

TPHC通过整合张量并行(TP)分片与超连接(HC)流,提高了超连接在大型语言模型中的性能,通过增加流之间的独立性来增强残差流的更新表达性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt