CLLGApr 23, 2025

MOOSComp: Improving Lightweight Long-Context Compressor via Mitigating Over-Smoothing and Incorporating Outlier Scores

arXiv:2504.16786v14 citationsh-index: 1
Originality Incremental advance
AI Analysis

This addresses efficiency challenges for deploying long-context models in resource-constrained environments, representing an incremental improvement over existing compression methods.

The paper tackles the problem of high inference time and resource consumption in long-context processing for large language models by proposing MOOSComp, a token-classification-based compression method that improves performance on benchmarks and achieves a 3.3x speedup at a 4x compression ratio on a mobile device.

Recent advances in large language models have significantly improved their ability to process long-context input, but practical applications are challenged by increased inference time and resource consumption, particularly in resource-constrained environments. To address these challenges, we propose MOOSComp, a token-classification-based long-context compression method that enhances the performance of a BERT-based compressor by mitigating the over-smoothing problem and incorporating outlier scores. In the training phase, we add an inter-class cosine similarity loss term to penalize excessively similar token representations, thereby improving the token classification accuracy. During the compression phase, we introduce outlier scores to preserve rare but critical tokens that are prone to be discarded in task-agnostic compression. These scores are integrated with the classifier's output, making the compressor more generalizable to various tasks. Superior performance is achieved at various compression ratios on long-context understanding and reasoning benchmarks. Moreover, our method obtains a speedup of 3.3x at a 4x compression ratio on a resource-constrained mobile device.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes