Multi-Perspective RAG Text Summarizer

RAG multi-perspective summarization TF-IDF LLM-as-Judge web retrieval

Goal

A RAG pipeline that improves multi-perspective summarization by dynamically retrieving and integrating live web documents to produce more balanced, well-grounded summaries on controversial topics.

The Problem

Traditional multi-perspective summarization systems rely on static, curated corpora that quickly become outdated and limited in perspective diversity, often reinforcing one-sided narratives and failing to capture the full range of arguments available on controversial topics. Meanwhile, naive web retrieval introduces noise and irrelevant content, making it difficult to reliably improve summary quality without careful filtering and structured generation.

Methodology

We broke down this project into five stages:

1. Offline Retrieval

2. Web Document Retrieval

3. Relevance Filtering with LLM-as-Judge

4. Corpus Merging

5. Structured Multi-Perspective Summarization

Results

Web-augmented summaries consistently outperformed offline baselines across all k configurations:

k = Merged Offline
5 8.15/10 7.70/10
10 7.94/10 7.77/10
20 7.95/10 7.80/10

Web relevance rates were impressive at lower k values (94-96% at k=5 and k=10) but dropped to 73.8% at k=20, revealing diminishing returns from excessive document retrieval. Notably, 44% of high-context experiments failed due to context window limits (1,500 token generation budget), highlighting the practical trade-off between information richness and model capacity—a finding that aligns with recent "Lost in the Middle" research on LLM context utilization.

Evaluation was comprehensive, using LLM-as-Judge scoring across five dimensions (claim relevance, perspective-claim alignment, perspective distinctness, coverage of core arguments, and factual grounding), each rated 0-2 for a total out of 10. All metrics were calculated with bootstrapped 95% confidence intervals for statistical rigor.