paper-with-me

Papers

Likelihood as a Performance Gauge for Retrieval-Augmented Generation

2024-11-12 · Tianyu Liu, Jirui Qi, Paul He, Arianna Bisazza, Mrinmaya Sachan, Ryan Cotterell

Recent work finds that retrieval-augmented generation with large language models is prone to be influenced by the order of retrieved documents in the context. However, the lack of in-depth analysis limits the use of this phenomenon for prompt engineering in practice. In this study, we posit that likelihoods serve as an effective gauge for language model performance. Through experiments on two question-answering datasets with a variety of state-of-the-art language models, we reveal correlations between answer accuracy and the likelihood of the question at both the corpus level and the instance level. In addition, we find that question likelihood can also indicate the position of the task-relevant information in the context. Based on these findings, we propose two methods that use question likelihood as a gauge for selecting and constructing prompts that lead to better performance. We demonstrate their effectiveness with experiments. In addition, our likelihood-based methods are efficient, as they only need to compute the likelihood of the input, requiring much fewer language model passes than heuristic prompt engineering methods that require generating responses. Our analysis deepens our understanding of how input prompts affect model performance and provides a promising direction for efficient prompt optimization.

📄 PDF Abstract BibTeX arXiv:2411.07773

Code (1)

lyutyuh/poptimizer 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingPrompt EngineeringQuestion AnsweringRetrievalRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Seeing through the Conflict: Transparent Knowledge Conflict Handling in Retrieval-Augmented Generation

2026-01-11 · Hua Ye, Siyuan Chen, Ziqi Zhong, Canran Xiao 외 arxiv

Large language models (LLMs) equipped with retrieval--the Retrieval-Augmented Generation (RAG) paradigm--should combine their parametric knowledge with external evidence, yet in practice they often hallucinate, over-trus…

Beyond Perplexity: Let the Reader Select Retrieval Summaries via Spectrum Projection Score

2025-08-08 · Zhanghao Hu, Qinglin Zhu, Siya Qi, Yulan He 외 arxiv

Large Language Models (LLMs) have shown improved generation performance through retrieval-augmented generation (RAG) following the retriever-reader paradigm, which supplements model inputs with externally retrieved knowl…

Synchronous Faithfulness Monitoring for Trustworthy Retrieval-Augmented Generation

2024-06-19 · Di wu, Jia-Chen Gu, Fan Yin, Nanyun Peng 외

Retrieval-augmented language models (RALMs) have shown strong performance and wide applicability in knowledge-intensive tasks. However, there are significant trustworthiness concerns as RALMs are prone to generating unfa…

RerankingRetrievalRetrieval-augmented GenerationUncertainty Quantification

AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation

2025-09-22 · Lvzhou Luo, Yixuan Cao, Ping Luo arxiv

Retrieval-augmented generation improves the factual accuracy of Large Language Models (LLMs) by incorporating external context, but often suffers from irrelevant retrieved content that hinders effectiveness. Context comp…

UniMS-RAG: A Unified Multi-source Retrieval-Augmented Generation for Personalized Dialogue Systems

2024-01-24 · Hongru Wang, WenYu Huang, Yang Deng, Rui Wang 외

Large Language Models (LLMs) has shown exceptional capabilities in many natual language understanding and generation tasks. However, the personalization issue still remains a much-coveted property, especially when it com…

RAGResponse GenerationRetrievalRetrieval-augmented Generation