paper-with-me

홈 › Papers

How Much Can RAG Help the Reasoning of LLM?

2024-10-03 · Jingyu Liu, Jiaen Lin, Yong liu

Retrieval-Augmented Generation (RAG) has gained significant popularity in modern Large Language Models (LLMs) due to its effectiveness in introducing new knowledge and reducing hallucinations. However, the deep understanding of RAG remains limited, how does RAG help the reasoning process and can RAG help improve the reasoning capability remains question. While external documents are typically considered as a method to incorporate domain-specific information, they also contain intermediate reasoning results related to the query, this suggests that documents could enhance the reasoning capability of LLMs, which has not been previously explored. In this paper, we investigate this issue in depth and find that while RAG can assist with reasoning, the help is limited. If we conceptualize the reasoning process as a tree with fixed depth, then RAG struggles to assist LLMs in performing deeper reasoning. Additionally, the information in the documents requires preprocessing to filter out noise. We demonstrate that this preprocessing is difficult to achieve simply fine-tuning of the LLM, it often necessitates numerous additional transformer layers to solve the problem. To simplify the problem, we propose DPrompt tuning, which effectively resolves the issue within just limited transformer layers, leading to improved performance.

📄 PDF Abstract BibTeX arXiv:2410.02338

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrieval-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 &…
WordPiece 설명 없음
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}$.
Weight Decay 설명 없음
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.
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…
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 제목 키워드 기반

To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoning

2024-09-18 · Zayne Sprague, Fangcong Yin, Juan Diego Rodriguez, Dongwei Jiang 외

Chain-of-thought (CoT) via prompting is the de facto method for eliciting reasoning capabilities from large language models (LLMs). But for what kinds of tasks is this extra ``thinking'' really helpful? To analyze this, …

MathMMLU

How Much Coffee Was Consumed During EMNLP 2019? Fermi Problems: A New Reasoning Challenge for AI

2021-10-27 · EMNLP 2021 11 · Ashwin Kalyan, Abhinav Kumar, Arjun Chandrasekaran, Ashish Sabharwal 외

Many real-world problems require the combined application of multiple reasoning abilities employing suitable abstractions, commonsense knowledge, and creative synthesis of problem-solving strategies. To help advance AI s…

Let's Do a Thought Experiment: Using Counterfactuals to Improve Moral Reasoning

2023-06-25 · Xiao Ma, Swaroop Mishra, Ahmad Beirami, Alex Beutel 외

Language models still struggle on moral reasoning, despite their impressive performance in many other tasks. In particular, the Moral Scenarios task in MMLU (Multi-task Language Understanding) is among the worst performi…

counterfactualMathMMLUMoral Scenarios+1

Selective Temporal Knowledge Graph Reasoning

2024-04-02 · Zhongni Hou, Xiaolong Jin, Zixuan Li, Long Bai 외

Temporal Knowledge Graph (TKG), which characterizes temporally evolving facts in the form of (subject, relation, object, timestamp), has attracted much attention recently. TKG reasoning aims to predict future facts based…

An Empirical Study of Data Ability Boundary in LLMs' Math Reasoning

2024-02-23 · Zui Chen, Yezeng Chen, Jiaqi Han, Zhijie Huang 외

Large language models (LLMs) are displaying emergent abilities for math reasoning tasks,and there is a growing attention on enhancing the ability of open-source LLMs through supervised fine-tuning (SFT).In this paper, we…

Arithmetic ReasoningAutomated Theorem ProvingMath Word Problem Solving