paper-with-me

홈 › Papers

Invar-RAG: Invariant LLM-aligned Retrieval for Better Generation

2024-11-11 · Ziwei Liu, Liang Zhang, Qian Li, Jianghua Wu, Guangxu Zhu

Retrieval-augmented generation (RAG) has shown impressive capability in providing reliable answer predictions and addressing hallucination problems. A typical RAG implementation uses powerful retrieval models to extract external information and large language models (LLMs) to generate answers. In contrast, recent LLM-based retrieval has gained attention for its substantial improvements in information retrieval (IR) due to the LLMs' semantic understanding capability. However, directly applying LLM to RAG systems presents challenges. This may cause feature locality problems as massive parametric knowledge can hinder effective usage of global information across the corpus; for example, an LLM-based retriever often inputs document summaries instead of full documents. Moreover, various pre-trained tasks in LLMs introduce variance, further weakening performance as a retriever. To address these issues, we propose a novel two-stage fine-tuning architecture called Invar-RAG. In the retrieval stage, an LLM-based retriever is constructed by integrating LoRA-based representation learning to tackle feature locality issues. To enhance retrieval performance, we develop two patterns (invariant and variant patterns) and an invariance loss to reduce LLM variance. In the generation stage, a refined fine-tuning method is employed to improve LLM accuracy in generating answers based on retrieved information. Experimental results show that Invar-RAG significantly outperforms existing baselines across three open-domain question answering (ODQA) datasets. Code is available in the Supplementary Material for reproducibility.

📄 PDF Abstract BibTeX arXiv:2411.07021

Code (0)

등록된 구현이 없습니다.

Tasks

HallucinationInformation RetrievalOpen-Domain Question AnsweringQuestion AnsweringRAGRepresentation LearningRetrievalRetrieval-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 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
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.
WordPiece 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Rethinking Rotation Invariance with Point Cloud Registration

2022-12-31 · Jianhui Yu, Chaoyi Zhang, Weidong Cai

Recent investigations on rotation invariance for 3D point clouds have been devoted to devising rotation-invariant feature descriptors or learning canonical spaces where objects are semantically aligned. Examinations of l…

3D Shape ClassificationPoint Cloud RegistrationRetrieval

A Kind of Affine Weighted Moment Invariants

2017-06-05 · Hanlin Mo, You Hao, Shirui Li, Hua Li

A new kind of geometric invariants is proposed in this paper, which is called affine weighted moment invariant (AWMI). By combination of local affine differential invariants and a framework of global integral, they can m…

Image RetrievalRetrieval

Learning to Infer Run-Time Invariants from Source code

2021-01-01 · NeurIPS Workshop CAP 2020 12 · Vincent Josua Hellendoorn, Premkumar Devanbu, Alex Polozov, Mark Marron

Source code is notably different from natural language in that it is meant to be executed. Experienced developers infer complex "invariants" about run-time state while reading code, which helps them to constrain and pred…

Orientation Invariant Feature Embedding and Spatial Temporal Regularization for Vehicle Re-Identification

2017-10-01 · ICCV 2017 10 · Zhongdao Wang, Luming Tang, Xihui Liu, Zhuliang Yao 외

In this paper, we tackle the vehicle Re-identification (ReID) problem which is of great importance in urban surveillance and can be used for multiple applications. In our vehicle ReID framework, an orientation invariant …

RetrievalVehicle Re-Identification

A general framework for rotation invariant point cloud analysis

2024-02-02 · Shuqing Luo, Wei Gao

We propose a general method for deep learning based point cloud analysis, which is invariant to rotation on the inputs. Classical methods are vulnerable to rotation, as they usually take aligned point clouds as input. Pr…