적절한 균형 찾기: LLM 검색에서의 관련성과 다양성
Finding the Right Balance: Relevance and Diversity in LLM Retrieval
한국어 초록
검색 다양화는 검색-증강 생성(RAG) 프레임워크에서 널리 활용되고 있지만, 이전 연구들은 이것이 검색 및 답변 품질을 향상시키는지에 대해 서로 다른 결과를 보입니다. 본 연구에서는 다양화의 효과가 주로 후보군 풀(candidate-pool)의 중복성에 따라 달라지며, 질의가 요구하는 고유한 증거 조각의 수와 일치하는 패턴을 보임을 밝힙니다. 통제된 유사 중복(near-duplicate) 주입 및 실제 프로덕션 환경 방식의 중첩 청킹(overlapping chunking)을 사용하여, 깔끔한 풀에서는 다양화가 관련성, 증거 포괄성 및 답변 품질을 저하시키지만, 중복성으로 인해 최근접 이웃(nearest-neighbor) 검색이 반복된 구절을 선택하게 되는 다중 증거 태스크에서는 유익해진다는 점을 발견했습니다. 따라서 최근접 이웃 상위 $k$개 선택에서 유효한 고유 문서 수가 질의의 증거 요구량 아래로 떨어질 때만 다양화를 적용하는 질의 적응형 규칙을 제시합니다. 기존 임베딩으로부터 계산되는 이 규칙은 달성 가능한 이득의 대부분을 포착하고, 데이터셋과 인코더 전반에 걸쳐 전이되며, 단일 증거 질의에 대해서는 자동으로 최근접 이웃 검색으로 축소됩니다. 또한 중복 구조를 나타내는 마진(margin)을 가진 정확한 최근접 이웃 폴백을 포함하는 기하학적 리랭커인 RNG-Score를 소개합니다. 결론적으로, 다양화는 관찰 가능한 중복성과 증거 요구사항에 기반하여 선별적으로 사용되어야 합니다.
원문 초록
Retrieval diversification is widely available in retrieval-augmented generation (RAG) frameworks, yet prior studies disagree on whether it improves retrieval and answer quality. We show that its effectiveness varies primarily with candidate-pool redundancy, in a pattern consistent with the number of distinct evidence pieces a query requires. Using controlled near-duplicate injection and production-style overlapping chunking, we find that diversification harms relevance, evidence coverage and answer quality on clean pools, but becomes beneficial on multi-evidence tasks when redundancy causes nearest-neighbor retrieval to select repeated passages. We therefore introduce a query-adaptive rule that diversifies only when the effective number of distinct documents in the nearest-neighbor top-$k$ selection falls below the query's evidence requirement. Computed from existing embeddings, the rule captures most of the achievable gain, transfers across datasets and encoders and automatically reduces to nearest-neighbor retrieval for single-evidence queries. We also introduce RNG-Score, a geometric reranker with an exact nearest-neighbor fallback whose margin indicates duplicate structure. Overall, we conclude that diversification should be used selectively, based on observable redundancy and evidence requirements.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
36 pages, 8 figures, 13 tables. Code and results: https://github.com/GuillaumeBrouillette/finding-the-right-balance