- Fri, 26 Jul 2024 Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks
- Mon, 23 Sep 2024 Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
- levels
- Level-1 Explicit Facts -> RAG
- Level-2 Implicit Facts -> Iterative RAG
- Level-3 Interpretable Rationales -> Prompt Tuning / CoT Prompting
- Level-4 Hidden Rationales -> Offline Learning / In Context Learning (ICL) / Fine-tuning
- advantages
- Enhanced Professionalism and Timeliness
- Alignment with Domain Expert
- Reduction in Model Hallucination
- Improved Controllability and Explainability
- levels
- Thu, 3 Oct 2024 A Comprehensive Survey of Retrieval-Augmented Generation (RAG): Evolution, Current Landscape and Future Directions
- 非常基础
- Mon, 30 Jan 2023 REPLUG: Retrieval-Augmented Black-Box Language Models
- We introduce REPLUG, a retrieval-augmented language modeling framework that treats the language model (LM) as a black box and augments it with a tuneable retrieval model.
- Wed, 8 May 2024 A Method for Parsing and Vectorization of Semi-structured Data used in Retrieval Augmented Generation
- unstructured -> .docx -> chunk by title -> RAG
- Mon, 17 Jun 2024 Evaluating the Efficacy of Open-Source LLMs in Enterprise-Specific RAG Systems: A Comparative Study of Performance and Scalability
- Web Crawling + BAAI/bge-large-en-v1.5 + FAISS + Ensemble Retriever + DeepEval + Llama3-8B
- Mon, 24 Jun 2024 Context-augmented Retrieval: A Novel Framework for Fast Information Retrieval based Response Generation using Large Language Model
- Query-Index Classification Model: The query is classified into the appropriate domain/category using the classification model
- DistilBERT Training Accuracy 1.00 Testing Accuracy 0.42 Recall 0.42 Precision 0.59 ???
- Entity Extraction, BM25 retriever, Hybrid Retriever
- Index Generation: OpenAI’s text-embedding-ada-002 embeddings with a chunk size limit of 512 tokens
- Query-Index Classification Model: The query is classified into the appropriate domain/category using the classification model
- Fri, 20 Sep 2024 Introducing Contextual Retrieval
- A note on simply using a longer prompt
- Sometimes the simplest solution is the best. If your knowledge base is smaller than 200,000 tokens (about 500 pages of material), you can just include the entire knowledge base in the prompt that you give the model, with no need for RAG or similar methods.
- Using Prompt Caching
- BM25 + semantic embeddings
- We’ve written a prompt that instructs the model to provide concise, chunk-specific context that explains the chunk using the context of the overall document.
- WHOLE_DOCUMENT + CHUNK_CONTENT -> llm -> contextual text
- Using Prompt Caching to reduce the costs of Contextual Retrieval
- A note on simply using a longer prompt
- Mon, 14 Oct 2024 EasyRAG: Efficient Retrieval-Augmented Generation Framework for Automated Network Operations
- https://zhuanlan.zhihu.com/p/7272025344
- Easy 的背后有多少人工就有多少智能
In response to diverse queries, the RAG system routes to specific pipelines tailored for different scenario, a feature essential for a versatile RAG architecture designed to handle a wide array of situations.
Not all queries require retrieval-augmented due to the inherent capabilities of LLMs. Queries requiring retrieval proceed through the RAG modules; others are handled directly by LLMs.
-
Sun, 8 Oct 2023 Self-Knowledge Guided Retrieval Augmentation for Large Language Models
- 将 query 二分类,需不需检索
- 提出四种方法构造分类器
- Direct Prompting,直接问llm
- in-Context Learning,给llm几个例子
- Training a Classifier,比如 BERT
- Nearest Neighbor Search
-
Tue, 30 Apr 2024 When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively
- 分类学 Adaptive Retrieval、Never-Retrieve (NR-LLM)、Always-Retrieve (AR-LLM)
- LLMs are trained to generate a special token, ⟨RET⟩, when they do not know the answer to a question
-
Mon, 1 Jul 2024 Searching for Best Practices in Retrieval-Augmented Generation
- 将 query 二分类,需不需检索
- BERT-base-multilingual Acc 0.95 Prec 0.96 Rec 0.94 F1 0.95
-
Wed, 21 Feb 2024 Self-DC: When to retrieve and When to generate? Self Divide-and-Conquer for Compositional Unknown Questions
- 使用 Confidence Score 分成三类,知道不知道,不确定,然后将不确定分解
- Confidence Score Acquisition 1. verbalize-based 2. probability-based
- generate-then-read
- retrieve-then-read
- decompose
- combine-sub-qas
- Baselines 1) Direct Prompting 2) Chain-of-thought (CoT) prompting 3) GenRead 4) Retrievethen-read (RR) 5) Self-Ask 6) IRCoT 7) REFEED 8) ITER-RETGEN
- Thu, 30 Apr 2020 Question Rewriting for Conversational Question Answering
- Tue, 19 Jan 2021 A Comparison of Question Rewriting Methods for Conversational Passage Retrieval
- Sat, 22 Jan 2022 Question rewriting? Assessing its importance for conversational question answering
- Tue, 7 Nov 2023 Large Language Model based Long-tail Query Rewriting in Taobao Search
- Tue, 19 Dec 2023 Rewriting Conversational Utterances with Instructed Large Language Models
- Tue, 23 May 2023 Query Rewriting for Retrieval-Augmented Large Language Models
- Sun, 31 Mar 2024 RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation
- As demonstrated in previous research (Shi et al., 2023a), irrelevant context not only diminishes generation quality but may also obstruct LLMs’ ability to answer queries they are otherwise capable of addressing.
-
- Adaptive Retrieval ) For straightforward queries, LLMs should respond directly rather than incorporating unnecessary context
-
- Query Decomposition ) for complex queries, simply searching with the original query often fails to retrieve adequate information. It’s crucial for LLMs to first break down such queries into simpler, answerable sub-queries, and then search for information relevant to these sub-components
-
- Query Rewriting\Query Disambiguation ) for ambiguous queries with multiple possible answers, using the original query for information retrieval is insufficient. To provide complete and nuanced responses, LLMs must learn to clarify the query, ideally by identifying the user’s intent, and then craft a more targeted search query
-
- As demonstrated in previous research (Shi et al., 2023a), irrelevant context not only diminishes generation quality but may also obstruct LLMs’ ability to answer queries they are otherwise capable of addressing.
- Mon, 15 Jul 2024 Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems
- Question Rewriter+ -> Retrieval Trigger -> Knowledge Retriever -> Knowledge Filter -> LLM Reader -> Memory Knowledge Reservoir
- (1) single query have an inherent upper limit of retrievable relevant information;
- (2) employing multiple queries that focus on different semantic aspects can surpass the information plateau, enhancing both the precision and recall of information retrieval;
- (3) The phenomenon of irrelevant knowledge is pervasive in RAG and becomes more pronounced with larger volumes of retrieved external information; and
- (4) rewriting ambiguous questions into intent-specific questions improves the precision of responses.
- Thu, 18 Jan 2024 ChatQA: Surpassing GPT-4 on Conversational QA and RAG
- Query Rewriting 并没有增加新的信息,最新的 Retrieval(Embedding) Model 大小来到了7B 甚至更大,基础模型也使用LLM as Retrieval。
- Conversational Query Rewriting Most of the previous solutions are query rewriting methods.
- The latest turn of question is rewritten to be a standalone query without additional information from previous dialogue history (Vakulenko et al., 2021a; Ye et al., 2023; Mo et al., 2023),
- so it can be directly used by retrieval model to retrieve relevant context (Vakulenko et al., 2021b; Mele et al., 2021; Raposo et al., 2022; Mo et al., 2023).
- 使用大 retrieval model 的效果与使用 GPT-3.5-Turbo Query Rewriting 相当
- fine-tuning a good single-turn retriever on high-quality conversational query context pairs performs on par with leveraging the state-of-the-art rewriter.
- However, rewriting method requires extra computational time for autoregressive generation process and probably also API cost for using powerful models like GPT-3.5-Turbo.
- Mon, 1 Jul 2024 Searching for Best Practices in Retrieval-Augmented Generation
- However, query rewriting and query decomposition did not enhance retrieval performance as effectively
- Sat, 20 Jul 2024 Golden-Retriever: High-Fidelity Agentic Retrieval Augmented Generation for Industrial Knowledge Base
- 处理行话
- Mon, 9 Sep 2024 MemoRAG: Moving towards Next-Gen RAG Via Memory-Inspired Knowledge Discovery
- RQ-RAG 效果比较差
- Mon, 23 Dec 2024 A Survey of Query Optimization in Large Language Models
- Query Expansion (Internal Expansion, External Expansion)
- Question Decomposition 我们真的需要 Monte Carlo Tree Search 吗?
- Query Disambiguation
- Query Abstraction
- Thu, 22 Aug 2019 Multi-passage BERT: A Globally Normalized BERT Model for Open-domain Question Answering
- 实际测试,Natural Questions这类不是Multi-hop的数据集就是100 words的上下文就够了,对所有生成模型上下文越长,效果越差
- 就是很迷,长上下文能不能支棱起来
- Mon, 5 Nov 2023 Small-to-Big Retrieval
- Mon, 11 Dec 2023 Dense X Retrieval: What Retrieval Granularity Should We Use?
- Wed, 31 Jan 2024 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- Tue, 12 Mar 2024 5 Levels Of Text Splitting
- Mon, 20 May 2024 Question-Based Retrieval using Atomic Units for Enterprise RAG
- Fri, 21 Jun 2024 LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMs
- Tue, 25 Jun 2024 LumberChunker: Long-Form Narrative Document Segmentation
- Mon, 1 Jul 2024 Searching for Best Practices in Retrieval-Augmented Generation
- Larger chunks can capture more context, but they also generate more noise, requiring longer processing time and higher costs.
- While smaller chunks may not fully convey the necessary context, they do have less noise
- Fri, 26 Jul 2024 Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks
- 除了论文里提出,有名有姓的方法,Sliding Window、Metadata Attachment、Hierarchical Index也是简单有效的方法
- Sat, 7 Sep 2024 Late Chunking: Contextual Chunk Embeddings Using Long-Context Embedding Models
- 先过transformer layers,在sequence_output上做Chunking mean pooling,有意思
- Wed, 16 Oct 2024 Is Semantic Chunking Worth the Computational Cost?
- We demonstrate that while semantic chunking shows some benefits in certain scenarios, these are inconsistent and often insufficient to justify the computational cost.
- BruteForce 对于几个pdf的数据量,硬算速度也很快
- Milvus
- Chroma
- Faiss
- hnswlib
- Tue, 10 Sep 2024 Operational Advice for Dense and Sparse Retrievers: HNSW, Flat, or Inverted Indexes?
- based on Lucene 9.9.1 (released Dec. 2023)
- https://www.elastic.co/cn/blog/whats-new-elasticsearch-platform-8-13-0 至少Elasticsearch 8.0 就支持 HNSW 和 flat
- 问题就来了,Table 2 看不出随着数据量增加,HNSW 和 flat 召回如何变化,期待更详细的测试
- https://github.com/harsha-simhadri/big-ann-benchmarks/blob/main/neurips23/ongoing_leaderboard/leaderboard.md
- Pinecone 和 Zilliz 真的好猛
你没看错,是生成增强检索
- Thu, 17 Sep 2020 Generation-Augmented Retrieval for Open-domain Question Answering
- Tue, 20 Dec 2022 Precise Zero-Shot Dense Retrieval without Relevance Labels
- Given a query, HyDE first zero-shot instructs an instruction-following language model (e.g. InstructGPT) to generate a hypothetical document.
- Fri, 6 Oct 2023 Keyword Augmented Retrieval: Novel framework for Information Retrieval integrated with speech interface
- Wed, 31 Jan 2024 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- Fri, 26 Jul Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks
- 使用通用大模型做 Reranking 也不是不行,就是有的慢
- Another straightforward and effective approach involves having the LLM evaluate the retrieved content before generating the final answer
- Mon, 29 Jan 2024 Corrective Retrieval Augmented Generation
- a lightweight retrieval evaluator is designed to assess the overall quality of retrieved documents for a query, returning a confidence degree based on which different knowledge retrieval actions can be triggered.
- Confidence: CORRECT INCORRECT AMBIGUOUS
Retrieval results may contain redundant or unnecessary information. Additionally, long prompts can slow down the inference process.
Summarization tasks can be extractive or abstractive.
- Fri, 6 Oct 2023 RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation
- Tue, 10 Oct 2023 LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression
The performance of subsequent processes, such as LLM response generation, may be affected by the order documents are provided.
- Thu, 6 Jul 2023 Lost in the Middle: How Language Models Use Long Contexts
- 将重要的文档排到两边,大模型会偷懒不看中间的文档
- 太诡异了,如果(2024年)新训练的,标榜长上下文的模型还需要将检索文档重新排序,那就真的太诡异了。
Given the input question, the retrieved knowledge, and the generated answer, a small language model is trained to determine whether the generated answer correctly reflects the retrieved knowledge.
- Wed, 24 May 2023 SAIL: Search-Augmented Instruction Learning
- We show that instruction-tuned LLMs can be heavily misled by distracting grounding information and noisy search results.
- 微调模型
- Tue, 17 Oct 2023 Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
- 微调模型
- Thu, 19 Oct 2023 Knowledge-Augmented Language Model Verification
- Mon, 29 Jan 2024 Corrective Retrieval Augmented Generation
- Thu, 11 Jul 2024 Speculative RAG: Enhancing Retrieval Augmented Generation through Drafting
- Diversity and reduced redundancy in retrieval improves draft quality significantly. 检索的noise对生成的影响还是挺大的
- ∗We use the RAG drafter’s generation probability ρDraft as the confidence score for selecting drafts when we use it alone
- we use Mistral7B or Mixtral8x7B as the RAG verifier, and denote them as MVerifier-7B or MVerifier-8x7B
- MDrafter-7B 是有什么魔法吗?
- Table 1 TriviaQA
- Mistral7B 54.15 Mistral-Instruct7B 67.11 -> MDrafter-7B∗ 71.11 ?
- Table 1 PubHealth
- Mistral7B 34.85 Mistral-Instruct7B 42.15 -> MDrafter-7B∗ 75.58 ?
利用llm的Planning&reasoning, 做RAG复杂流程调度
reasoning 的风吹到了 RAG
- Thu, 9 Jan 2025 Search-o1: Agentic Search-Enhanced Large Reasoning Models
- QwQ-32B
- Thu, 20 Jan 2025 DeepSeek-R1
- Wed, 26 Mar 2025 MCTS-RAG: Enhancing Retrieval-Augmented Generation with Monte Carlo Tree Search
- Fri, 11 Oct 2024 DeepNote: Note-Centric Deep Retrieval-Augmented Generation
- DeepNote employs notes as carriers for refining and accumulating knowledge.
- During in-depth exploration, it uses these notes to determine retrieval timing, formulate retrieval queries, and iteratively assess knowledge growth,
- ultimately leveraging the best note for answer generation.
- Mon, 1 Jul 2024 Searching for Best Practices in Retrieval-Augmented Generation
- Wed, 10 Jul 2024 FACTS About Building Retrieval Augmented Generation-based Chatbots
- Mon, 4 Sep 2023 Benchmarking Large Language Models in Retrieval-Augmented Generation
- Noise Robustness
- Negative Rejection
- Information Integration
- Counterfactual Robustness
- Fri, 7 Jun 2024 CRAG -- Comprehensive RAG Benchmark
- kdd-cup-2024
- Task
- Task 1: Retrieval Summarization.
- Task 2: KG and Web Retrieval Augmentation.
- Task 3: End-to-end RAG.
- Question type
- Simple \ Simple w. condition \ Set \ Comparison \ Aggregation \ Multi-hop \ Post-processing heavy \ False Premise
- Metrics
- We then use a scoring method Scoreh with score 1, 0.5, 0, and -1 for each perfect, acceptable, missing, and incorrect answer, respectively
- ragas
- Mon, 29 May 2023 A Critical Evaluation of Evaluations for Long-form Question Answering
- We encourage future work to move away from a single “overall score” of the answer and adopt a multi-faceted evaluation, targeting aspects such as factuality and completeness.
- Mon, 20 May 2024 xFinder: Robust and Pinpoint Answer Extraction for Large Language Models
- RegEx accuracy in the best evaluation framework is 74.38%, we propose xFinder, a model specifically designed for key answer extraction.
- Fri, 19 Jul 2024 RAG-QA Arena: Evaluating Domain Robustness for Long-form Retrieval Augmented Question Answering
随着大模型能力不断提升, zeroshot、in-Context Learning 和 follow instructions 的能力不断增强,专门为 RAG 任务 Fine-Tuning 到底有多大的收益
- Wed, 24 May 2023 SAIL: Search-Augmented Instruction Learning
- We show that instruction-tuned LLMs can be heavily misled by distracting grounding information and noisy search results.
- We constructed a search-augmented instruction training corpus.
- We fine-tune a 7B-parameter language model (SAIL-7B) with the constructed training set, which outperforms strong baseline models including GPT-3.5-Turbo and Vicuna-13B on several NLP tasks.
- Thu, 18 Jan 2024 ChatQA: Surpassing GPT-4 on Conversational QA and RAG
- Fri, 15 Mar 2024 RAFT: Adapting Language Model to Domain Specific RAG
- This paper studies the following question – How do we adapt pre-trained LLMs for Retrieval Augmented Generation (RAG) in specialized domains?
- Fri, 19 Jul 2024 ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilities
- Thu, 15 Aug 2024 Hermes 3 Technical Report
- For RAG, the model has been trained to cite retrieval sources using the tag
- Thu, 17 Oct 2024 Block-Attention for Efficient RAG
- Block-Attention enables us to reuse the KV states of passages that have been seen before, thereby significantly reducing the latency and the computation overhead during inference
- Tue, 17 Oct 2023 Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
- Agentic RAG?
- Retrieve Decides when to retrieve with R.
- ISREL d provides useful information to solve x.
- ISSUP All of the verification-worthy statement in y is supported by d.
- ISUSE y is a useful response to x.
- Agentic RAG?
- Sun, 31 Mar 2024 RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation
- rewriting, decomposition, disambiguation
- we meticulously developed three distinct selection methods that do not rely on external LLMs for trajectory evaluation (Yao et al., 2024) (Tree of thoughts)
- RQ-RAG shows superior performance on multi-hop QA datasets
- Mon, 6 May 2024 When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively
- LLMs are trained to generate a special token, ⟨RET⟩, when they do not know the answer to a question.
- Wed, 24 Apr 2024 From Local to Global: A Graph RAG Approach to Query-Focused Summarization
- Tue, 8 Oct 2024 LightRAG: Simple and Fast Retrieval-Augmented Generation
2024 年是 Knowledge Graph (KG)
- Fri, 7 Jun 2024 CRAG -- Comprehensive RAG Benchmark
- Fri, 9 Aug 2024 A Hybrid RAG System with Comprehensive Enhancement on Complex Reasoning
2025 年是 Vision Question Answering
- Tue, 29 Jul 2025 Solution for Meta KDD Cup'25: A Comprehensive Three-Step Framework for Vision Question Answering
- Data augmentation & Model Fine-Tuning
- listwise reranking
- Mar, 8 Feb 2023 Needle in a haystack
- Doing simple retrieval from LLM models at various context lengths to measure accuracy
- Mon, 28 Aug 2023 LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
- Wed, 21 Feb 2024 ∞Bench: Extending Long Context Evaluation Beyond 100K Tokens
- LRA (Tay et al., 2020) ∼10K
- LongBench (Bai et al., 2023) ∼10K QA, summarization, synthetic retrieval, and code
- L-Eval (An et al., 2023) 4K - 60K QA, summarization, math, retrieval, and multiple-choice (MC)
- LooGLE (Li et al., 2023) ∼20K summary and QA
- ∞BENCH (ours) ∼200K
- Retrieve.PassKey
- Retrieve.Number
- Retrieve.KV
- En.Sum
- En.QA
- En.MC
- En.Dia
- Zh.QA
- Code.Debug
- Code.Run
- Math.Calc
- Math.Find
- Tue, 9 Apr 2024 RULER: What's the Real Context Size of Your Long-Context Language Models?
- https://github.com/NVIDIA/RULER
- Retrieval: Needle-in-a-haystack (NIAH)
- Single NIAH (S-NIAH)
- Multi-keys NIAH (MK-NIAH)
- Multi-values NIAH (MV-NIAH)
- Multi-queries NIAH (MQ-NIAH)
- Multi-hop Tracing: Variable Tracking (VT)
- Aggregation: Common Words (CWE) and Frequent Words Extraction (FWE)
- Question Answering (QA)
- GLM4 (9B) 效果不错
- Sat, 29 Jun 2024 Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLP
- As a community, we require a more precise vocabulary to understand what makes long-context tasks similar or different.
- We propose two orthogonal axes of difficulty
- Task Design in Long Context
- Natural construction.
- Synthetic construction.
- Fri, 13 Dec 2024 SCBench: A KV Cache-Centric Analysis of Long-Context Methods
-
- KV cache generation,
-
- KV cache compression,
-
- KV cache retrieval, and
-
- KV cache loading
- Our findings show that sub-O(n) memory methods suffer in multi-turn scenarios, while sparse encoding with O(n) memory and sub-O(n2) pre-filling computation perform robustly.
- we identify attention distribution shift issues in long-generation scenarios.
- Task performance shows varying decline trends, as illustrated in Fig. 3b. Sparse KV cache methods excel in tasks requiring global information, whereas O(n) memory is essential for tasks involving exact match retrieval.
- 所以对kv cache 的压缩不容易
-
- Wed, 4 Oct 2023 Retrieval meets Long Context Large Language Models
- GPT-3.5-turbo-16k 和 Llama2-70B 长文本能力真的不太行, 2024年模型长文本能力进步非常快
- 测试以QA为主,对标LongBench,也跟不上时代了
- Tue, 23 Jul 2024 Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach
- LongBench and ∞Bench, mainly focus on tasks that are (a) in English, (b) real, and (c) query-based
- Results reveal that when resourced sufficiently, LC consistently outperforms RAG in terms of average performance.
- However, RAG’s significantly lower cost remains a distinct advantage.
- Based on this observation, we propose SELF-ROUTE, a simple yet effective method that routes queries to RAG or LC based on model self-reflection.
- For the queries deemed unanswerable, we proceed to the second step, providing the full context to the long-context LLMs to obtain the final prediction (i.e., LC)
- 相当于一种 Adaptive Retrieval 方法
- Tue, 27 Aug 2024 Writing in the Margins: Better Inference Pattern for Long Context Retrieval
- Needle Retrieval and Single-Hop Question Answering
- Unsurprisingly, RAG emerges as the most optimal pattern for six out of seven evaluated models when extending the context length to 64k tokens in SQuAD. Indeed, for single-hop reasoning tasks, if the filtering process is successful (here we approximate the retriever by an LLM classifier), the challenge is reduced to a trivial task of retrieving a needle from a context window of 4096 tokens. However, this assumption in the RAG setup is overly optimistic because the LLMs used in our experiment are at least 7B in model parameters, and such large models are not typically used as retrievers.
- 反过来说,如果成本可控,用7B以上的模型做retrievers几乎完美
- Needle Retrieval and Single-Hop Question Answering
- Mon, 9 Sep 2024 MemoRAG: Moving towards Next-Gen RAG Via Memory-Inspired Knowledge Discovery
- LongBench InfBench UltraDomain
- Using Long LLMs as Memory Model
- it employs a light but longrange LLM to form the global memory of database, generates draft answers
- it leverages an expensive but expressive LLM, which generates the ultimate answer based on the retrieved information.
- Fri, 20 Sep 2024 Introducing Contextual Retrieval
- A note on simply using a longer prompt
- Sun, 6 Oct 2024 Inference Scaling for Long-Context Retrieval Augmented Generation
- IterDRAG 只用从 32k -> 128k 才能超越 RAG 和 DRAG
- Agentic RAG 需要非常大的 Inference Scaling 才能体现出优势
- Tue, 5 Nov 2024 Long Context RAG Performance of Large Language Models
- 给模型更多512token的片段,而不是更长的连续上下文????
使用短上下文近似长上下文效果, 相当于一种特别的 Agentic RAG
- Sun, 18 Feb 2024 LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaboration
- Needle-in-a-Haystack PLUS (Single-Doc QA + Multi-Doc QA)
- Fri, 24 May 2024 Are Long-LLMs A Necessity For Long-Context Tasks?
- Single-Doc QA Multi-Doc QA + Summarization + Synthetic Task: Passage Count Self-Constructed Dataset + Code Completion
- Hand-Designed Agent
- Task Understanding
- Retrieve
- Move
- Append
- Merge
- Answer
- Aggregation
- Tue, 4 Jun 2024 Chain of Agents: Large Language Models Collaborating on Long-Context Tasks
- QA Summarization Code Completion
- Sat, 12 Oct 2024 LLM×MapReduce: Simplified Long-Sequence Processing using Large Language Models
- ∞BENCH
- Map Stage + Collapse Stage + Reduce Stage
- However, in complex cases where historical and current information conflict, LC-Boost may struggle to fully resolve the issue relying solely on the accumulated summary and the current text.
- Thu, 10 Oct 2024 TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text
- 使用 Chunked Text 预计算 KV Caches,在线重建 kvcache 推理
- Wed, 22 May 2024 FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research
- Wed, 21 Aug 2024 RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
- Fri, 22 May 2020 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Wed, 8 Dec 2021 Improving language models by retrieving from trillions of tokens
- Tue, 31 Oct 2023 GAR-meets-RAG Paradigm for Zero-Shot Information Retrieval
- Fri, 8 Mar 2024 PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-design
