Hugging Face Daily Papers论文
Complex KDA:理解与增强 Kimi Delta Attention 的表达力
该研究针对基于 delta-rule 的线性 RNNs 表达力受限的问题,提出 Kimi Delta Attention (KDA)。通过结合单次 delta-rule 变换与二次反射,KDA 能在不增加更新秩和计算成本的情况下实现二维旋转,从而有效提升了序列建模能力。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract
Linear RNNs based on the delta-rule enable efficient sequence modeling, but their linear updates with a low-rank correction constrain their expressivity. Prior work has shown that composing two delta-rule transitions in a single recurrent update can model a 2D rotation, but this increases the rank and the cost of the updates compared to a single transition. We show that Kimi Delta Attention (KDA) can realize 2D rotations by combining a single delta-rule transformation with a second reflection supplied by its channel-wise gate. This requires extending the parameter ranges of KDA by combining two existing range extensions: allowing gates in [-1,1] and the delta-rule coefficient β in [0,2]. We call the resulting model Complex KDA (CKDA). It preserves KDA's stability and efficiency, with transitions that remain diagonal-plus-rank-one and non-expansive, while reaching the state-tracking expressivity of DeltaProduct_2. We characterize the expressivity of CKDA and prove that every orthogonal diagonal-plus-rank-one matrix is exactly a CKDA transition matrix. A single CKDA layer can track every finite group isomorphic to a subgroup of SO(3), and many state-tracking results use one fewer layer for CKDA compared to other diagonal-plus-rank-one Linear RNNs. Empirically, combining both extensions yields the strongest length extrapolation among tested KDA range settings on S_3, S_4, and periodic audio continuation. In language modeling, CKDA outperforms Transformers and other linear RNNs, obtains similar results to a KDA baseline, and shows promising scaling behavior. Our code is open source at https://github.com/OpenEuroLLM/ComplexKDA and our models are available at https://huggingface.co/collections/openeurollm/complexkda.
Introducing a modification of Kimi Delta Attention to enable complex state tracking, in particular S4, A5, arbitrary rotations in a single layer. This is enabled through the combination of extended 𝛽 ∈ [0, 2] and 𝛂 ∈ [-1, 1]^d ranges - leading to a potential complex eigenvalue pair.

Reaching a qualitative difference in audio modeling. Performing on par in speed and performance in language modeling with vanilla KDA - outperforming other linear RNN/attention variants.