Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Zhichao, Bi, Bin, Luo, Yanqi, Asur, Sitaram, Cheng, Claire Na
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2502.09017
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909569660223488
author Wang, Zhichao
Bi, Bin
Luo, Yanqi
Asur, Sitaram
Cheng, Claire Na
author_facet Wang, Zhichao
Bi, Bin
Luo, Yanqi
Asur, Sitaram
Cheng, Claire Na
contents The rapid advancements in large language models (LLMs) have highlighted the challenge of context window limitations, primarily due to the quadratic time complexity of the self-attention mechanism (\(O(N^2)\), where \(N\) denotes the context window length). This constraint impacts tasks such as retrieval-augmented generation (RAG) in question answering (Q\&A) and long context summarization. A common approach involves selecting content with the highest similarity to the query; however, this often leads to redundancy and the exclusion of diverse yet relevant information. Building on principles from Maximal Marginal Relevance (MMR) and Farthest Point Sampling (FPS), we integrate diversity into the content selection process. Our findings reveal that incorporating diversity substantially increases the recall of selecting relevant sentences or chunks before LLM-based Q\&A and summarization. These results highlight the importance of maintaining diversity in future LLM applications to further improve summarization and Q\&A outcomes.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09017
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Diversity Enhances an LLM's Performance in RAG and Long-context Task
Wang, Zhichao
Bi, Bin
Luo, Yanqi
Asur, Sitaram
Cheng, Claire Na
Computation and Language
Machine Learning
The rapid advancements in large language models (LLMs) have highlighted the challenge of context window limitations, primarily due to the quadratic time complexity of the self-attention mechanism (\(O(N^2)\), where \(N\) denotes the context window length). This constraint impacts tasks such as retrieval-augmented generation (RAG) in question answering (Q\&A) and long context summarization. A common approach involves selecting content with the highest similarity to the query; however, this often leads to redundancy and the exclusion of diverse yet relevant information. Building on principles from Maximal Marginal Relevance (MMR) and Farthest Point Sampling (FPS), we integrate diversity into the content selection process. Our findings reveal that incorporating diversity substantially increases the recall of selecting relevant sentences or chunks before LLM-based Q\&A and summarization. These results highlight the importance of maintaining diversity in future LLM applications to further improve summarization and Q\&A outcomes.
title Diversity Enhances an LLM's Performance in RAG and Long-context Task
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2502.09017