paper-with-me

홈 › Papers

Latent Context Compilation: Distilling Long Context into Compact Portable Memory

2026-01-31 · Zeju Li, Yizhou Zhou, Qiang Xu arxiv

Efficient long-context LLM deployment is stalled by a dichotomy between amortized compression, which struggles with out-of-distribution generalization, and Test-Time Training, which incurs prohibitive synthetic data costs and requires modifying model weights, creating stateful parameters that complicate concurrent serving. We propose Latent Context Compilation, a framework that fundamentally shifts context processing from adaptation to compilation. By utilizing a disposable LoRA module as a compiler, we distill long contexts into compact buffer tokens -- stateless, portable memory artifacts that are plug-and-play compatible with frozen base models. Crucially, we introduce a self-aligned optimization strategy that eliminates the need for synthetic context-relevant QA pairs. By regularizing context reconstruction task with context-agnostic random queries, we force compressed tokens to reside within the model's existing instruction-following manifold. Experiments with Llama-3.1-8B demonstrate that Latent Context Compilation preserves fine-grained details and reasoning capabilities where prior methods falter, effectively decoupling memory density from model parameters even at a 16x compression ratio.

📄 PDF Abstract BibTeX arXiv:2602.21221

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

WiCER: Wiki-memory Compile, Evaluate, Refine Iterative Knowledge Compilation for LLM Wiki Systems

2026-05-08 · Juan M. Huerta arxiv

The LLM Wiki pattern, to compile and provide domain knowledge into a persistent artifact and serve it to LLMs via KV cache inference, promises context access at sub-second latency with zero retrieval failure. Realizing t…

Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement

2024-06-25 · Yunlong Feng, Dechuan Teng, Yang Xu, Honglin Mu 외

Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing th…

In-Context Learning

A Benchmark and Multi-Agent System for Instruction-driven Cinematic Video Compilation

2026-04-12 · Peixuan Zhang, Chang Zhou, Ziyuan Zhang, Hualuo Liu 외 arxiv

The surging demand for adapting long-form cinematic content into short videos has motivated the need for versatile automatic video compilation systems. However, existing compilation methods are limited to predefined task…

Whispering Context: Distilling Syntax and Semantics for Long Speech Transcripts

2025-08-18 · Duygu Altinok arxiv

ASR systems often struggle with maintaining syntactic and semantic accuracy in long audio transcripts, impacting tasks like Named Entity Recognition (NER), capitalization, and punctuation. We propose a novel approach tha…

Context-Guided Decompilation: A Step Towards Re-executability

2025-11-03 · Xiaohan Wang, Yuxin Hu, Kevin Leach arxiv

Binary decompilation plays an important role in software security analysis, reverse engineering, and malware understanding when source code is unavailable. However, existing decompilation techniques often fail to produce…