When Context Is Not Enough: Retrieval Outperforms Full-Document Prompting on Indonesian Constitutional Court Verdicts

The expansion of large language model (LLM) context windows raises a practical question for document-grounded question answering: if an entire source document fits into the prompt, is retrieval-augmented generation (RAG) still necessary? VerdictBench evaluates this question on 50 Indonesian Constitutional Court (Mahkamah Konstitusi, MK) verdicts and 300 human-reviewed question-answer pairs spanning four cognitive types. The study compares Long Context (LC), Dense RAG, and Multi-Stage RAG across Gemini 2.5 Flash and GPT-4o Mini. Dense RAG is the repository's historical Simple RAG condition: fixed-size chunking, dense embedding retrieval, and FAISS top-5 selection. Multi-Stage RAG is the historical Advanced RAG condition: query rewriting, metadata filtering, hybrid BM25+dense retrieval, and cross-encoder reranking. A post-hoc audit found that the original LC faithfulness evaluation used a 503-character logging preview rather than the full generation context, so this revision reports gold-evidence faithfulness, where all answers are judged against human-verified evidence paragraphs. Under this metric, LC and Dense RAG have no statistically significant Phase 2 faithfulness difference across both model families, with negligible paired effect sizes (Gemini: $d_z = 0.008$, $p = 0.43$; GPT-4o Mini: $d_z = 0.017$, $p = 0.49$). Both outperform Multi-Stage RAG. Dense RAG remains operationally preferable: it achieves comparable faithfulness at 16-25x lower cost and avoids the 56.7% long-verdict non-response rate observed for LC in Phase 1. The ablation study shows that every Multi-Stage RAG component reduces oracle faithfulness relative to the Dense RAG baseline. These results suggest that large context windows do not remove the need for retrieval in Indonesian legal QA; they shift the tradeoff from answer quality alone to cost, reliability, and evidence-selection control.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-27
DOI
https://doi.org/10.5281/zenodo.20960791
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

When Context Is Not Enough: Retrieval Outperforms Full-Document Prompting on Indonesian Constitutional Court Verdicts

Muhammad Iqbal Hilmy Izzulhaq
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

When Context Is Not Enough: Retrieval Outperforms Full-Document Prompting on Indonesian Constitutional Court Verdicts

Muhammad Iqbal Hilmy Izzulhaq
preprint en

Abstract

The expansion of large language model (LLM) context windows raises a practical question for document-grounded question answering: if an entire source document fits into the prompt, is retrieval-augmented generation (RAG) still necessary? VerdictBench evaluates this question on 50 Indonesian Constitutional Court (Mahkamah Konstitusi, MK) verdicts and 300 human-reviewed question-answer pairs spanning four cognitive types. The study compares Long Context (LC), Dense RAG, and Multi-Stage RAG across Gemini 2.5 Flash and GPT-4o Mini. Dense RAG is the repository's historical Simple RAG condition: fixed-size chunking, dense embedding retrieval, and FAISS top-5 selection. Multi-Stage RAG is the historical Advanced RAG condition: query rewriting, metadata filtering, hybrid BM25+dense retrieval, and cross-encoder reranking. A post-hoc audit found that the original LC faithfulness evaluation used a 503-character logging preview rather than the full generation context, so this revision reports gold-evidence faithfulness, where all answers are judged against human-verified evidence paragraphs. Under this metric, LC and Dense RAG have no statistically significant Phase 2 faithfulness difference across both model families, with negligible paired effect sizes (Gemini: $d_z = 0.008$, $p = 0.43$; GPT-4o Mini: $d_z = 0.017$, $p = 0.49$). Both outperform Multi-Stage RAG. Dense RAG remains operationally preferable: it achieves comparable faithfulness at 16-25x lower cost and avoids the 56.7% long-verdict non-response rate observed for LC in Phase 1. The ablation study shows that every Multi-Stage RAG component reduces oracle faithfulness relative to the Dense RAG baseline. These results suggest that large context windows do not remove the need for retrieval in Indonesian legal QA; they shift the tradeoff from answer quality alone to cost, reliability, and evidence-selection control.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.