paper-with-me

홈 › Papers

From Reading to Compressing: Exploring the Multi-document Reader for Prompt Compression

2024-10-05 · Eunseong Choi, Sunkyung Lee, Minjin Choi, June Park, Jongwuk Lee

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 Fusion-in-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%.

📄 PDF Abstract BibTeX arXiv:2410.04139

Code (1)

eunseongc/r2c 공식 구현 pytorch

Tasks

Decoder

Similar Papers 제목 키워드 기반

LayoutReader: Pre-training of Text and Layout for Reading Order Detection

2021-08-26 · EMNLP 2021 11 · Zilong Wang, Yiheng Xu, Lei Cui, Jingbo Shang 외

Reading order detection is the cornerstone to understanding visually-rich documents (e.g., receipts and forms). Unfortunately, no existing work took advantage of advanced deep learning models because it is too laborious …

Document Layout AnalysisOptical Character Recognition (OCR)Reading Order Detection

Reception Reader: Exploring Text Reuse in Early Modern British Publications

2023-02-08 · David Rosson, Eetu Mäkelä, Ville Vaara, Ananth Mahadevan 외

The Reception Reader is a web tool for studying text reuse in the Early English Books Online (EEBO-TCP) and Eighteenth Century Collections Online (ECCO) data. Users can: 1) explore a visual overview of the reception of a…

Envisioning the Next-Gen Document Reader

2023-02-15 · Catherine Yeh, Nedim Lipka, Franck Dernoncourt

People read digital documents on a daily basis to share, exchange, and understand information in electronic settings. However, current document readers create a static, isolated reading experience, which does not support…

Medical Exam Question Answering with Large-scale Reading Comprehension

2018-02-28 · Xiao Zhang, Ji Wu, ZhiYang He, Xien Liu 외

Reading and understanding text is one important component in computer aided diagnosis in clinical medicine, also being a major research problem in the field of NLP. In this work, we introduce a question-answering task ca…

MedQAQuestion AnsweringReading Comprehension

RoR: Read-over-Read for Long Document Machine Reading Comprehension

2021-09-10 · Findings (EMNLP) 2021 11 · Jing Zhao, Junwei Bao, Yifan Wang, Yongwei Zhou 외

Transformer-based pre-trained models, such as BERT, have achieved remarkable results on machine reading comprehension. However, due to the constraint of encoding length (e.g., 512 WordPiece tokens), a long document is us…

Machine Reading ComprehensionReading ComprehensionTriviaQA