跳到正文
arXiv (AI + Vision + Imaging)· Anif N. Shikder, Ramit Dey, Jan Minac, Lyle E. Muller·· 12 天前AI 评分32

HyperSSM:用四元数通道让线性循环记忆实现精确状态追踪

Symmetry in Time: A Representation Theory of Linear Recurrent Memory

AI 导读

研究用表示理论形式化分析了SSM的状态追踪失败:对角实数与复数SSM只能追踪交换群,能追踪群的转移矩阵必须在实数、复数、四元数上分解为独立块。据此提出的HyperSSM在保持线性时间推理与并行训练的同时加入四元数通道,仅用最多五个状态数即精确求解近期状态追踪基准中的群任务,包括含32个生成元的S_5,并可泛化到训练长度25倍的序列。

正文 · 原文

arXiv:2611.17162v1 Announce Type: new Abstract: State space models (SSMs) are an emerging alternative to Transformers. SSMs offer linear-time inference and parallel training, but most implementations make the parallel scan efficient by making the recurrence diagonal: each channel of the hidden state is multiplied by an input-dependent real or complex number. These numbers commute, so the state records which inputs occurred but not their order. We formalize this with representation theory, which explains and fixes the state-tracking failures previously reported for SSMs. The state update defines a linear representation of the monoid of input sequences, and we show that an SSM tracks a group at every sequence length exactly when that group is a quotient of the group generated by its transition matrices. Two consequences follow. Diagonal real- and complex-valued SSMs can track only commutative groups, while the transition matrices of any SSM that can track a group must split into independent blocks over the real, complex, and quaternion numbers. We then introduce HyperSSM, which adds quaternion channels while keeping linear-time inference and parallel training. Trained only on final answers, HyperSSM solves the group tasks of recent state-tracking benchmarks exactly with at most five state numbers. This includes $S_5$ with 32 generators, where previous SSMs are at chance, and HyperSSM generalizes to sequences 25 times longer than those seen in training. Because the theory says what the transitions must encode, the learned weights of the linear recurrence can be interpreted directly. We demonstrate this by recovering the calibration of a real gyroscope, the rotations of imperfect qubit gates and the geometry of protein backbones.

来源:arXiv (AI + Vision + Imaging) · arxiv.org