Saved in:
Bibliographic Details
Main Authors: Li, Wenhao, Sun, Bangcheng, Ye, Weihao, Zhang, Tianyi, Yu, Daohai, Chao, Fei, Ji, Rongrong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.09199
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908803801284608
author Li, Wenhao
Sun, Bangcheng
Ye, Weihao
Zhang, Tianyi
Yu, Daohai
Chao, Fei
Ji, Rongrong
author_facet Li, Wenhao
Sun, Bangcheng
Ye, Weihao
Zhang, Tianyi
Yu, Daohai
Chao, Fei
Ji, Rongrong
contents Scaling language models to longer contexts is essential for capturing rich dependencies across extended discourse. However, naïve context extension imposes significant computational and memory burdens, often resulting in inefficiencies during both training and inference. In this work, we propose CCF, a novel context compression framework designed to enable efficient long-context modeling by learning hierarchical latent representations that preserve global semantics while aggressively reducing input redundancy. CCF integrates segment-wise semantic aggregation with key-value memory encoding, forming compact representations that support accurate reconstruction and long-range understanding. To further enhance scalability, we introduce a training-efficient optimization strategy that couples incremental segment decoding with sparse reservoir sampling, substantially reducing memory overhead without degrading performance. Empirical results on multiple long-context language modeling benchmarks demonstrate that CCF achieves competitive perplexity under high compression ratios, and significantly improves throughput and memory efficiency compared to existing approaches. These findings highlight the potential of structured compression for scalable and effective long-context language modeling.
format Preprint
id arxiv_https___arxiv_org_abs_2509_09199
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
Li, Wenhao
Sun, Bangcheng
Ye, Weihao
Zhang, Tianyi
Yu, Daohai
Chao, Fei
Ji, Rongrong
Computation and Language
Scaling language models to longer contexts is essential for capturing rich dependencies across extended discourse. However, naïve context extension imposes significant computational and memory burdens, often resulting in inefficiencies during both training and inference. In this work, we propose CCF, a novel context compression framework designed to enable efficient long-context modeling by learning hierarchical latent representations that preserve global semantics while aggressively reducing input redundancy. CCF integrates segment-wise semantic aggregation with key-value memory encoding, forming compact representations that support accurate reconstruction and long-range understanding. To further enhance scalability, we introduce a training-efficient optimization strategy that couples incremental segment decoding with sparse reservoir sampling, substantially reducing memory overhead without degrading performance. Empirical results on multiple long-context language modeling benchmarks demonstrate that CCF achieves competitive perplexity under high compression ratios, and significantly improves throughput and memory efficiency compared to existing approaches. These findings highlight the potential of structured compression for scalable and effective long-context language modeling.
title CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
topic Computation and Language
url https://arxiv.org/abs/2509.09199