揭示Transformer翻译模型的表征坍塌问题并提出有效缓解方法
Representation Collapse in Machine Translation Through the Lens of Angular Dispersion
- 通过角度分散正则化抑制深层表示坍塌
- 该方法提升翻译质量,且在量化后仍有效
- 适用于高资源场景下的端到端神经翻译系统
基于Transformer的现代神经机器翻译模型在高资源数据集上表现优异,但标准的下一步词预测训练策略可能导致表征坍塌现象。该问题在更深的Transformer层中尤为明显,导致几何空间利用效率低下。在连续输出的端到端翻译中,这种坍塌更严重,因为存在将所有向量设为相同值的平凡解。本文分析了离散与连续NMT Transformer在不同训练阶段的表征坍塌动态,引入基于角度分散的现有正则化方法,实验证明其不仅能缓解坍塌,还能提升翻译质量。此外,我们发现量化模型也表现出类似坍塌行为,而正则化带来的收益在量化后依然保持。
原文摘要 · Abstract (English)
Modern neural translation models based on the Transformer architecture are known for their high performance, particularly when trained on high-resource datasets. A standard next-token prediction training strategy, while widely adopted in practice, may lead to overlooked artifacts such as representation collapse. Previous works have shown that this problem is especially pronounced in the representation of the deeper Transformer layers, where it often fails to efficiently utilize the geometric space. Representation collapse is even more evident in end-to-end training of continuous-output neural machine translation, where the trivial solution would be to set all vectors to the same value. In this work, we analyze the dynamics of representation collapse at different levels of discrete and continuous NMT transformers throughout training. We incorporate an existing regularization method based on angular dispersion and demonstrate empirically that it not only mitigates collapse but also improves translation quality. Furthermore, we show that quantized models exhibit similar collapse behavior and that the benefits of regularization are preserved even after quantization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。