paper-with-me

Papers

Entropy-Based Decoding for Retrieval-Augmented Large Language Models

2024-06-25 · Zexuan Qiu, Zijing Ou, Bin Wu, Jingjing Li, Aiwei Liu, Irwin King

Augmenting Large Language Models (LLMs) with retrieved external knowledge has proven effective for improving the factual accuracy of generated responses. Despite their success, retrieval-augmented LLMs still face the distractibility issue, where the generated responses are negatively influenced by noise from both external and internal knowledge sources. In this paper, we introduce a novel, training-free decoding method guided by entropy considerations to mitigate this issue. Our approach utilizes entropy-based document-parallel ensemble decoding to prioritize low-entropy distributions from retrieved documents, thereby enhancing the extraction of relevant information of context. Additionally, it incorporates a contrastive decoding mechanism that contrasts the obtained low-entropy ensemble distribution with the high-entropy distribution derived from the model's internal knowledge across layers, which ensures a greater emphasis on reliable external information. Extensive experiments on open-domain question answering datasets demonstrate the superiority of our method.

📄 PDF Abstract BibTeX arXiv:2406.17519

Code (1)

codelion/optillm/blob/main/optillm/entropy_decoding.py pytorch

Tasks

Open-Domain Question AnsweringQuestion AnsweringRetrieval

Similar Papers 제목 키워드 기반

Modeling Uncertainty Trends for Timely Retrieval in Dynamic RAG

2025-11-13 · Bo Li, Tian Tian, Zhenghua Xu, Hao Cheng 외 arxiv

Dynamic retrieval-augmented generation (RAG) allows large language models (LLMs) to fetch external knowledge on demand, offering greater adaptability than static RAG. A central challenge in this setting lies in determini…

KNN-LM Does Not Improve Open-ended Text Generation

2023-05-24 · Shufan Wang, Yixiao Song, Andrew Drozdov, Aparna Garimella 외

In this paper, we study the generation quality of interpolation-based retrieval-augmented language models (LMs). These methods, best exemplified by the KNN-LM, interpolate the LM's predicted distribution of the next word…

RetrievalText Generation

BEE-RAG: Balanced Entropy Engineering for Retrieval-Augmented Generation

2025-08-07 · Yuhao Wang, Ruiyang Ren, Yucheng Wang, Jing Liu 외 arxiv

With the rapid advancement of large language models (LLMs), retrieval-augmented generation (RAG) has emerged as a critical approach to supplement the inherent knowledge limitations of LLMs. However, due to the typically …

RASD: Retrieval-Augmented Speculative Decoding

2025-03-05 · Guofeng Quan, Wenfeng Feng, Chuzhan Hao, Guochao Jiang 외

Speculative decoding accelerates inference in large language models (LLMs) by generating draft tokens for target model verification. Current approaches for obtaining draft tokens rely on lightweight draft models or addit…

Retrieval

Retrieval-augmented Decoding for Improving Truthfulness in Open-ended Generation

2025-08-04 · Manh Nguyen, Sunil Gupta, Hung Le arxiv

Ensuring truthfulness in large language models (LLMs) remains a critical challenge for reliable text generation. While supervised fine-tuning and reinforcement learning with human feedback have shown promise, they requir…

Reinforcement LearningText Generation