Skip to main content
QUICK REVIEW

[论文解读] Cognitive Chunking for Soft Prompts: Accelerating Compressor Learning via Block-wise Causal Masking

Guojie Liu, Yiqi Wang|arXiv (Cornell University)|Feb 15, 2026
Topic ModelingComputer Science被引用 0
一句话总结

论文提出 Parallelized Iterative Compression (PIC),使用分块因果掩码将内存令牌约束在序列上下文块内,提高软提示压缩效率和下游 QA/ICL 性能,尤其在高压缩下训练更快。

ABSTRACT

Providing extensive context via prompting is vital for leveraging the capabilities of Large Language Models (LLMs). However, lengthy contexts significantly increase inference latency, as the computational cost of self-attention grows quadratically with sequence length. To mitigate this issue, context compression-particularly soft prompt compressio-has emerged as a widely studied solution, which converts long contexts into shorter memory embeddings via a trained compressor. Existing methods typically compress the entire context indiscriminately into a set of memory tokens, requiring the compressor to capture global dependencies and necessitating extensive pre-training data to learn effective patterns. Inspired by the chunking mechanism in human working memory and empirical observations of the spatial specialization of memory embeddings relative to original tokens, we propose Parallelized Iterative Compression (PIC). By simply modifying the Transformer's attention mask, PIC explicitly restricts the receptive field of memory tokens to sequential local chunks, thereby lowering the difficulty of compressor training. Experiments across multiple downstream tasks demonstrate that PIC consistently outperforms competitive baselines, with superiority being particularly pronounced in high compression scenarios (e.g., achieving relative improvements of 29.8\% in F1 score and 40.7\% in EM score on QA tasks at the $64 imes$ compression ratio). Furthermore, PIC significantly expedites the training process. Specifically, when training the 16$ imes$ compressor, it surpasses the peak performance of the competitive baseline while effectively reducing the training time by approximately 40\%.

研究动机与目标

  • 为LLM 的上下文压缩提供动机,以在保持信息的前提下降低推理延迟。
  • 研究内存-上下文的交互及类认知分块的空间专门化现象的出现。
  • 提出一个可学习、内存高效的压缩范式,使内存令牌与输入块对齐。
  • 开发 PIC,使在实现分块序列约束的同时实现并行处理。
  • 在人机交互和 ICL 任务中展示数据高效的训练和改进的下游性能。

提出的方法

  • 分析内存-上下文的交互,观察内存嵌入的空间专门化。
  • 引入逐序列的分块对齐,使每个内存令牌只关注特定输入块。
  • 提出带有分块因果注意力掩码的 Parallelized Iterative Compression (PIC)。
  • 构造输入序列 Z = [X, M],并强制可见性规则,使内存令牌仅关注其所在块及先前的内存。
  • 以 Text Reconstruction 和 Text Completion 为目标进行预训练;在下游任务上进行微调。
  • 与六个基线(包括 PCC 变体)在 RAG QA 和 ICL 设置中进行比较。

实验结果

研究问题

  • RQ1在强制的分块到上下文的序列对齐下,是否能降低软提示压缩的学习复杂度?
  • RQ2在高压缩下,PIC 是否比无约束全局注意更好地保留与任务相关的信息?
  • RQ3分块掩码对数据和时间是否高效用于压缩器训练?
  • RQ4在 16x–64x 的压缩比下,PIC 如何影响下游的 QA 和 ICL 性能?

主要发现

  • PIC 加速压缩器收敛,预训练初期动态更快(大约 1.1×–1.3× 的加速)。
  • 在高压缩(如 16× 和 64×)下,PIC 相对于基线在 QA 指标上获得更大相对增益。
  • 数据效率分析表明,在 16× 压缩时,PIC 的峰值性能超过基线,训练时间约少 40%。
  • PIC 产生更正交、信息丰富的内存嵌入,减少内存令牌之间的冗余和对立语义。
  • 在 RAG QA 和 ICL 中,PIC 展现出稳健的性能提升和数据扩展时的训练稳定性改善。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。