paper-with-me

홈 › Papers

One Token Can Help! Learning Scalable and Pluggable Virtual Tokens for Retrieval-Augmented Large Language Models

2024-05-30 · Yutao Zhu, Zhaoheng Huang, Zhicheng Dou, Ji-Rong Wen

Retrieval-augmented generation (RAG) is a promising way to improve large language models (LLMs) for generating more factual, accurate, and up-to-date content. Existing methods either optimize prompts to guide LLMs in leveraging retrieved information or directly fine-tune LLMs to adapt to RAG scenarios. Although fine-tuning can yield better performance, it often compromises the LLMs' general generation capabilities by modifying their parameters. This limitation poses challenges in practical applications, especially when LLMs are already deployed, as parameter adjustments may affect their original functionality. To address this, we propose a novel method that involves learning scalable and pluggable virtual tokens for RAG. By maintaining the LLMs' original parameters and fine-tuning only the embeddings of these pluggable tokens, our approach not only enhances LLMs' performance but also preserves their general generation capabilities. Furthermore, we design several training strategies to improve the scalability, flexibility, and generalizability of our method. Comprehensive experiments across 12 question-answering tasks demonstrate the superiority of our approach.

📄 PDF Abstract BibTeX arXiv:2405.19670

Code (2)

daod/spring 공식 구현 pytorch
ruc-nlpir/flashrag pytorch

Tasks

Question AnsweringRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

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 &…
Attention 설명 없음
WordPiece 설명 없음
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.
Weight Decay 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…

Similar Papers 제목 키워드 기반

HubRouter: A Pluggable Sub-Quadratic Routing Primitive for Hybrid Sequence Models

2026-04-24 · Abhinaba Basu arxiv

We introduce HubRouter, a pluggable module that replaces O(n^2) attention layers with O(nM) hub-mediated routing, where M << n is a small number of learned hub tokens. We demonstrate it in two from-scratch architectures:…

AnyExperts: On-Demand Expert Allocation for Multimodal Language Models with Mixture of Expert

2025-11-23 · Yuting Gao, Wang Lan, Hengyuan Zhao, Linjiang Huang 외 arxiv

Multimodal Mixture-of-Experts (MoE) models offer a promising path toward scalable and efficient large vision-language systems. However, existing approaches rely on rigid routing strategies (typically activating a fixed n…

CosyVoice: A Scalable Multilingual Zero-shot Text-to-speech Synthesizer based on Supervised Semantic Tokens

2024-07-07 · Zhihao Du, Qian Chen, Shiliang Zhang, Kai Hu 외

Recent years have witnessed a trend that large language model (LLM) based text-to-speech (TTS) emerges into the mainstream due to their high naturalness and zero-shot capacity. In this paradigm, speech signals are discre…

Language ModellingLarge Language ModelQuantizationspeech-recognition+5

InteractDiffusion: Interaction Control in Text-to-Image Diffusion Models

2023-12-10 · CVPR 2024 1 · Jiun Tian Hoe, Xudong Jiang, Chee Seng Chan, Yap-Peng Tan 외

Large-scale text-to-image (T2I) diffusion models have showcased incredible capabilities in generating coherent images based on textual descriptions, enabling vast applications in content generation. While recent advancem…

Human-Object Interaction GenerationObjectTriplet

TivTok: Broadcasting Time-Invariant Tokens for Scalable Video Tokenization

2026-06-16 · Weiliang Chen, Yuanhui Huang, Xuebo Wang, Yueqi Duan arxiv

Video tokenization is fundamental to scalable video generation, as the number of tokens directly determines the computational cost and the length of videos that can be modeled. Existing tokenizers mainly improve scalabil…

Video Generation