Prompt Compression Research

Working bibliography for base models, compression papers, checkpoints, and implementation resources used or considered by this project.

Current Decision

PCToolkit Assessment

Runtime Baselines And Checkpoints

LLMLingua-2 BERT-base multilingual MeetingBank

current baseline

Small extractive token-classification checkpoint used by the service today.

LLMLingua-2 XLM-RoBERTa-large MeetingBank

benchmark

Larger LLMLingua-2 checkpoint to compare for quality versus latency and memory cost.

Core LLMLingua Lineage

LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models

EMNLP 2023

Original LLMLingua prompt compression work.

LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression

ACL 2024

Long-context variant focused on improving long-context information processing and RAG-style prompts.

LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression

ACL 2024 Findings

Extractive token-classification approach used as this project's baseline.

SecurityLingua: Efficient Defense of LLM Jailbreak Attacks via Security-Aware Prompt Compression

CoLM 2025

Security-oriented prompt compression from the LLMLingua research line.

Newer Compression Research To Track

An Empirical Study on Prompt Compression for Large Language Models

2025

Comparative study across several prompt-compression methods and datasets.

Prompt Compression in the Wild

2026

Latency, rate-adherence, and quality study. Useful for deciding when compression actually pays for itself.

Prompt Compression in Diffusion Large Language Models: Evaluating LLMLingua-2 on LLaDA

2026

Evaluates whether LLMLingua-2 compression transfers to diffusion LLMs.

DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression

2025

Attention-aware task-agnostic compression candidate. Relevant if an implementation becomes practical.

SCOPE: A Generative Approach for LLM Prompt Compression

2025

Generative chunking-and-summarization compressor. Good challenger or teacher, but risky as default runtime.

Cmprsr: Abstractive Token-Level Question-Agnostic Prompt Compressor

2025

Small-LLM compressor trained for compression-rate adherence and downstream quality.

CompactPrompt: A Unified Pipeline for Prompt Data Compression in LLM Workflows

2025

Broader prompt and file-level compression pipeline. Useful for structured-data ideas.

Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference

2024

Sentence-level context-aware compressor with released code and dataset.

ACoRN: Noise-Robust Abstractive Compression in Retrieval-Augmented Language Models

2025

RAG-focused abstractive compressor with noise-robust training steps.

Implementation Repositories And Package Resources

Microsoft LLMLingua

current compressor

Library used by the runtime compressor wrapper.

Toolkit for Prompt Compression

benchmark reference

Research toolkit linked by the empirical prompt-compression study. Use for benchmark design and candidate wrappers, not as a production runtime dependency.

Hugging Face Transformers

model loading

Underlying model/tokenizer stack for LLMLingua-2 checkpoints and possible direct adapter work.

Hugging Face PEFT

LoRA candidate

Likely adapter/LoRA library if we move beyond rules-only tenant profiles.

PyTorch

ML runtime

Tensor and model runtime used through Transformers and LLMLingua.

FastAPI

HTTP API

API framework used by `app/main.py`.

Pydantic

schemas

Request and response schema validation.

Uvicorn

ASGI server

Local and container ASGI server for FastAPI.

Hugging Face Datasets

training data

Dataset utilities available for future training and evaluation workflows.

Requests

HTTP client

Simple HTTP client dependency used by scripts and smoke tests.

TOON Format

structured data

Compact structured-data format used by this repo's JSON-to-TOON compression path.