arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.16963cs.LG
收藏

压缩即路由:重构误差作为模块化语言模型的内在信号

Compression is Routing: Reconstruction Error as an Intrinsic Signal for Modular Language Models

Zhongpan Tang

AI总结:

本文提出'压缩即路由'架构,通过端到端Transformer自编码器实现序列压缩,利用重构误差作为内在信号,提升领域辨别能力并简化路由机制。

摘要:

当前大型语言模型(LLMs)面临三大主要挑战:上下文长度限制、高推理成本以及持续学习中的灾难性遗忘。尽管混合专家(MoE)架构缓解了一些这些冲突,但其路由机制通常依赖于显式训练的辅助分类器。这不仅增加了系统复杂性,而且在处理混合领域输入时往往缺乏可解释性。基于

英文摘要:

Current Large Language Models (LLMs) face three major challenges: context length limitations, high inference costs, and catastrophic forgetting during continual learning. While Mixture-of-Experts (MoE) architectures mitigate some of these conflicts, their routing mechanisms typically rely on explicitly trained auxiliary classifiers. This not only increases system complexity but also often lacks interpretability when handling mixed-domain inputs. Building upon the premise that ``Compression is Intelligence,'' this paper proposes a novel architectural philosophy: Compression is Routing. We trained an 87M-parameter end-to-end Transformer Autoencoder, achieving a 64x sequence length compression (compressing 512 tokens into 8 latent vectors). Experimental results demonstrate that this compressor possesses extreme domain discriminative capability: it achieves a reconstruction accuracy of 99.47% on the in-domain (code) validation set; accuracy drops sharply to 47.76% on a semi-out-of-distribution domain (Wiki text); and further plummets to just 0.57% on a fully out-of-distribution domain (random sequences). This extreme and systematic performance discrepancy establishes the validity of reconstruction error as an Intrinsic Distribution Fingerprint. Based on this, we propose that expert modules can be automatically scheduled using reconstruction residuals directly, without the need for explicit gating networks. This mechanism offers excellent scalability. Furthermore, this architecture provides a new perspective on ``VRAM compression'' for handling ultra-long contexts. This report aims to verify the physical validity of this foundational architecture, offering a new research perspective for the next generation of scalable modular neural networks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑