EnronQA: Towards Personalized RAG over Private Documents
Michael J. Ryan, Danmei Xu, Chris Nivera, Daniel Campos
TL;DR
EnronQA introduces a large-scale, private-email QA benchmark designed to benchmark retrieval-augmented generation (RAG) in privacy-preserving, personalized settings. The authors present a rigorous, multi-stage dataset construction pipeline (corpus filtering, QA generation, post-processing) to produce 103,638 emails and 528,304 QA pairs across 150 inboxes, enabling exploration of retrieval quality, personalization, and memorization tradeoffs. Through calibration studies and extensive RAG benchmarking, the work shows context augmentation yields linear gains on EnronQA and demonstrates that BM25 can be a strong baseline while larger models improve performance; a case study on LoRA memorization suggests memorization can approach long-context performance but does not yet surpass retrieval-based methods. The resource is released to support continued pretraining, memorization research, and privacy-preserving enterprise LLM deployments, highlighting EnronQA as a foundation for advancing private and personalized information retrieval.
Abstract
Retrieval Augmented Generation (RAG) has become one of the most popular methods for bringing knowledge-intensive context to large language models (LLM) because of its ability to bring local context at inference time without the cost or data leakage risks associated with fine-tuning. A clear separation of private information from the LLM training has made RAG the basis for many enterprise LLM workloads as it allows the company to augment LLM's understanding using customers' private documents. Despite its popularity for private documents in enterprise deployments, current RAG benchmarks for validating and optimizing RAG pipelines draw their corpora from public data such as Wikipedia or generic web pages and offer little to no personal context. Seeking to empower more personal and private RAG we release the EnronQA benchmark, a dataset of 103,638 emails with 528,304 question-answer pairs across 150 different user inboxes. EnronQA enables better benchmarking of RAG pipelines over private data and allows for experimentation on the introduction of personalized retrieval settings over realistic data. Finally, we use EnronQA to explore the tradeoff in memorization and retrieval when reasoning over private documents.
