From Reading to Compressing: Exploring the Multi-document Reader for Prompt Compression
Rattachement africain : kr. Niveau de preuve : code pays fourni par la source.
Le résumé fourni par la source
Large language models (LLMs) have achieved significant performance gains using advanced prompting techniques over various tasks.However, the increasing length of prompts leads to high computational costs and often obscures crucial information.Prompt compression has been proposed to alleviate these issues, but it faces challenges in (i) capturing the global context and (ii) training the compressor effectively.To tackle these challenges, we introduce a novel prompt compression method, namely Reading To Compressing (R2C), utilizing the Fusionin-Decoder (FiD) architecture to identify the important information in the prompt.Specifically, the cross-attention scores of the FiD are used to discern essential chunks and sentences from the prompt.R2C effectively captures the global context without compromising semantic consistency while detouring the necessity of pseudo-labels for training the compressor.Empirical results show that R2C retains key contexts, enhancing the LLM performance by 6% in out-of-domain evaluations while reducing the prompt length by 80%.
Ce résumé expose les affirmations des auteurs. BNTIC ne l’interprète pas comme une validation indépendante des résultats.
Le contrôle bibliographique ouvert
DOI retrouvé dans Crossref DOI retrouvé ; titre concordant.
- Titre Crossref
- From Reading to Compressing: Exploring the Multi-document Reader for Prompt Compression
- Date Crossref
- 01/01/2024
- Éditeur
- Association for Computational Linguistics
- Type
- proceedings-article
Ce recoupement confirme des métadonnées liées au DOI. Il ne confirme ni la méthode ni les conclusions de l’étude, et il ne compte pas comme une seconde source scientifique indépendante.
Les institutions déclarées
Une affiliation ne permet pas de déduire la nationalité d’un auteur.