Pith. sign in

REVIEW 1 cited by

Compressed Context Memory For Online Language Model Interaction

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2312.03414 v2 pith:M4KFIYLV submitted 2023-12-06 cs.LG cs.CL

classification cs.LGcs.CL
keywords contextmemorymodellanguageapproachcompressionprocessattention
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

This paper presents a context key/value compression method for Transformer language models in online scenarios, where the context continually expands. As the context lengthens, the attention process demands increasing memory and computations, which in turn reduces the throughput of the language model. To address this challenge, we propose a compressed context memory system that continually compresses the accumulating attention key/value pairs into a compact memory space, facilitating language model inference in a limited memory space of computing environments. Our compression process involves integrating a lightweight conditional LoRA into the language model's forward pass during inference, without the need for fine-tuning the model's entire set of weights. We achieve efficient training by modeling the recursive compression process as a single parallelized forward computation. Through evaluations on conversation, personalization, and multi-task learning, we demonstrate that our approach achieves the performance level of a full context model with $5\times$ smaller context memory size. We further demonstrate the applicability of our approach in a streaming setting with an unlimited context length, outperforming the sliding window approach. Codes are available at https://github.com/snu-mllab/context-memory.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Dynamic Long Short-Term Memory Based Memory Storage For Long Horizon LLM Interaction

    cs.CL 2025-07 reject novelty 3.0 of 10

    A lightweight preference-memory system for LLMs is proposed, but its LSTM memory encoder shows no improvement in preference following and only the BERT preference filter performs moderately on formal utterances.

Pith tools