Legal Retrieval for Public Defenders
Dominik Stammbach, Kylie Zhang, Patty Liu, Nimra Nadeem, Lucia Zheng, Peter Henderson
TL;DR
This work addresses the need for trustworthy AI support in public defense by introducing the NJ BriefBank, a retrieval system that surfaces relevant appellate briefs to aid research and drafting. It pairs the BriefBank with a manually annotated Public Defense Dataset (PD) and a taxonomy of defender queries to study realistic information needs, revealing a strong domain shift between existing legal benchmarks and real-world defense work. The authors show that incorporating domain knowledge—through optimized synthetic data, IRAC-based query expansion, and legal-domain pretraining—substantially improves retrieval performance, while fine-tuning on standard legal benchmarks often hurts public-defense results. The work also demonstrates the value of academia–legal-institution collaboration, providing release-ready artifacts and guidance for building practical, reliable retrieval tools for public defenders and for advancing more realistic benchmarks in legal information retrieval.
Abstract
AI tools are increasingly suggested as solutions to assist public agencies with heavy workloads. In public defense, where a constitutional right to counsel meets the complexities of law, overwhelming caseloads and constrained resources, practitioners face especially taxing conditions. Yet, there is little evidence of how AI could meaningfully support defenders' day-to-day work. In partnership with the New Jersey Office of the Public Defender, we develop the NJ BriefBank, a retrieval tool which surfaces relevant appellate briefs to streamline legal research and writing. We show that existing legal retrieval benchmarks fail to transfer to public defense search, however adding domain knowledge improves retrieval quality. This includes query expansion with legal reasoning, domain-specific data and curated synthetic examples. To facilitate further research, we provide a taxonomy of realistic defender search queries and release a manually annotated public defense retrieval dataset. Together, our work offers starting points towards building practical, reliable retrieval AI tools for public defense, and towards more realistic legal retrieval benchmarks.
