paper-with-me

Papers

MBA-RAG: a Bandit Approach for Adaptive Retrieval-Augmented Generation through Question Complexity

2024-12-02 · Xiaqiang Tang, Qiang Gao, Jian Li, Nan Du, Qi Li, Sihong Xie

Retrieval Augmented Generation (RAG) has proven to be highly effective in boosting the generative performance of language model in knowledge-intensive tasks. However, existing RAG framework either indiscriminately perform retrieval or rely on rigid single-class classifiers to select retrieval methods, leading to inefficiencies and suboptimal performance across queries of varying complexity. To address these challenges, we propose a reinforcement learning-based framework that dynamically selects the most suitable retrieval strategy based on query complexity. % our solution Our approach leverages a multi-armed bandit algorithm, which treats each retrieval method as a distinct ``arm'' and adapts the selection process by balancing exploration and exploitation. Additionally, we introduce a dynamic reward function that balances accuracy and efficiency, penalizing methods that require more retrieval steps, even if they lead to a correct result. Our method achieves new state of the art results on multiple single-hop and multi-hop datasets while reducing retrieval costs. Our code are available at https://github.com/FUTUREEEEEE/MBA .

📄 PDF Abstract BibTeX arXiv:2412.01572

Code (1)

futureeeeee/mba 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Multi-Head Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits

2026-01-19 · Siguang Chen, Chunli Lv, Miao Xie arxiv

Large language models (LLMs) have become powerful and widely used systems for language understanding and generation, while multi-armed bandit (MAB) algorithms provide a principled framework for adaptive decision-making u…

Multi-Armed Bandits

Rethinking the Necessity of Adaptive Retrieval-Augmented Generation through the Lens of Adaptive Listwise Ranking

2026-04-17 · Jun Feng, Jiahui Tang, Zhicheng He, Hang Lv 외 arxiv

Adaptive Retrieval-Augmented Generation aims to mitigate the interference of extraneous noise by dynamically determining the necessity of retrieving supplementary passages. However, as Large Language Models evolve with i…

Optimizing User Profiles via Contextual Bandits for Retrieval-Augmented LLM Personalization

2026-01-17 · Linfeng Du, Ye Yuan, Zichen Zhao, Fuyuan Lyu 외 arxiv

Large language models (LLMs) excel at general-purpose tasks, yet adapting their responses to individual users remains challenging. Retrieval augmentation provides a lightweight alternative to fine-tuning by conditioning …

RA-BLIP: Multimodal Adaptive Retrieval-Augmented Bootstrapping Language-Image Pre-training

2024-10-18 · Muhe Ding, Yang Ma, Pengda Qin, Jianlong Wu 외

Multimodal Large Language Models (MLLMs) have recently received substantial interest, which shows their emerging potential as general-purpose models for various vision-language tasks. MLLMs involve significant external k…

DenoisingQuestion AnsweringRetrieval

Multimodal Adaptive Retrieval Augmented Generation through Internal Representation Learning

2026-02-28 · Ruoshuang Du, Xin Sun, Qiang Liu, Bowen Song 외 arxiv

Visual Question Answering systems face reliability issues due to hallucinations, where models generate answers misaligned with visual input or factual knowledge. While Retrieval Augmented Generation frameworks mitigate t…

Visual Question AnsweringRepresentation LearningImage Retrieval