Understanding and Improving Information Preservation in Prompt Compression for LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Łajewska, Weronika, Hardalov, Momchil, Aina, Laura, John, Neha Anna, Su, Hang, Màrquez, Lluís
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908585377660928
author Łajewska, Weronika
Hardalov, Momchil
Aina, Laura
John, Neha Anna
Su, Hang
Màrquez, Lluís
author_facet Łajewska, Weronika
Hardalov, Momchil
Aina, Laura
John, Neha Anna
Su, Hang
Màrquez, Lluís
contents Recent advancements in large language models (LLMs) have enabled their successful application to a broad range of tasks. However, in information-intensive tasks, the prompt length can grow fast, leading to increased computational requirements, performance degradation, and induced biases from irrelevant or redundant information. Recently, various prompt compression techniques have been introduced to optimize the trade-off between reducing input length and retaining performance. We propose a holistic evaluation framework that allows for in-depth analysis of prompt compression methods. We focus on three key aspects, besides compression ratio: (i) downstream task performance, (ii) grounding in the input context, and (iii) information preservation. Using our framework, we analyze state-of-the-art soft and hard compression methods and show that some fail to preserve key details from the original prompt, limiting performance on complex tasks. By identifying these limitations, we are able to improve one soft prompting method by controlling compression granularity, achieving up to +23% in downstream performance, +8 BERTScore points in grounding, and 2.7x more entities preserved in compression. Ultimately, we find that the best effectiveness/compression rate trade-off is achieved with soft prompting combined with sequence-level training.The code is available at https://github.com/amazon-science/information-preservation-in-prompt-compression.
format Preprint
id arxiv_https___arxiv_org_abs_2503_19114
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding and Improving Information Preservation in Prompt Compression for LLMs
Łajewska, Weronika
Hardalov, Momchil
Aina, Laura
John, Neha Anna
Su, Hang
Màrquez, Lluís
Computation and Language
Information Retrieval
Machine Learning
68T50
F.2.2; I.2.7
Recent advancements in large language models (LLMs) have enabled their successful application to a broad range of tasks. However, in information-intensive tasks, the prompt length can grow fast, leading to increased computational requirements, performance degradation, and induced biases from irrelevant or redundant information. Recently, various prompt compression techniques have been introduced to optimize the trade-off between reducing input length and retaining performance. We propose a holistic evaluation framework that allows for in-depth analysis of prompt compression methods. We focus on three key aspects, besides compression ratio: (i) downstream task performance, (ii) grounding in the input context, and (iii) information preservation. Using our framework, we analyze state-of-the-art soft and hard compression methods and show that some fail to preserve key details from the original prompt, limiting performance on complex tasks. By identifying these limitations, we are able to improve one soft prompting method by controlling compression granularity, achieving up to +23% in downstream performance, +8 BERTScore points in grounding, and 2.7x more entities preserved in compression. Ultimately, we find that the best effectiveness/compression rate trade-off is achieved with soft prompting combined with sequence-level training.The code is available at https://github.com/amazon-science/information-preservation-in-prompt-compression.
title Understanding and Improving Information Preservation in Prompt Compression for LLMs
topic Computation and Language
Information Retrieval
Machine Learning
68T50
F.2.2; I.2.7
url https://arxiv.org/abs/2503.19114