onóna:绑定反嵌入的双嵌入

·

研究论文 · 2026/11/11

onóna 提出一种双表参数化方法,在保持输入输出权重共享的同时提升输出表达能力。Transformer 以两个嵌入表的平均值作为输入,输出头则结合由相同两个表定义的 softmax 分布,混合权重由仅依赖当前输入 token 的门控决定,其值可在推理时预计算,且 Transformer 主体不变。在 142M、330M 和 1B 规模的 Dense、Gated DeltaNet 混合、混合专家和 Attention Residual 架构上评估,在匹配 token 预算下,onóna 在 12 次比较中的 11 次降低了最终验证损失和外部困惑度,在 12 次中的 10 次提高了八个下游任务的平均准确率。损失上的唯一例外是 1B MoE 模型。代价是额外一个嵌入表和一个词汇投影。

该方法在几乎不增加参数成本的前提下,通过简单的双表设计显著提升语言模型性能,且兼容多种主流架构,具有较高的实用价值。

Weight tying reduces the parameter cost of language models, but the usual tied output head is limited to a single softmax. We introduce onóna, a two-table parameterization that increases output expressiveness while preserving input-output weight sharing. The Transformer takes the average of two embedding tables as input, and the output head combines the softmax distributions defined by those same tables. A gate conditioned only on the current input token determines the mixture weight. Its values can be precomputed for inference, and the Transformer body remains unchanged. We evaluate onóna across Dense, Gated DeltaNet hybrid, mixture-of-experts, and Attention Residual architectures at 142M, 330M, and 1B scales. Under matched token budgets, onóna lowers final validation loss and external perplexity in 11 of 12 comparisons and raises the average accuracy over eight downstream tasks in 10 of 12. The one exception on loss is the 1B MoE model. The cost is one extra embedding table and one extra vocabulary projection.

阅读原文

参与讨论