Introduction
Dense passage retrieval (DPR) models, typically based on BERT, have transformed information retrieval by capturing deep semantic meaning. However, these models face a significant architectural bottleneck: a strict 512-token input limit. This constraint is particularly problematic for document-to-document retrieval in specialized fields like law, where documents often average over 1,200 words. Simply truncating text or using naive scoring methods fails to capture the full semantic context of long-form legal cases.
The PARM Framework
To address these limitations, the authors propose the Paragraph Aggregation Retrieval Model (PARM). Instead of processing entire documents as single units, PARM decomposes both the query document and the target corpus into individual paragraphs.
The retrieval process occurs at the paragraph level. For every paragraph in a query document, the system retrieves a ranked list of relevant paragraphs from the index. These results are then aggregated using a novel method called VRRF (Vector-based aggregation with Reciprocal Rank Fusion weighting). Unlike standard fusion techniques that only consider ranks or scores, VRRF aggregates the actual dense vector embeddings of candidate paragraphs, weighted by their Reciprocal Rank Fusion (RRF) scores. This approach combines the semantic richness of dense embeddings with the proven reliability of rank-based fusion.
Datasets and Evaluation
The model was evaluated using legal datasets with varying levels of granularity to ensure robustness:
- COLIEE 2020 (Task 2): Provides paragraph-level labels for legal case entailment, used for fine-tuning.
- COLIEE 2021 (Task 1): Provides document-level labels for legal case retrieval.
- CaseLaw: A large-scale document-level retrieval dataset used for broader evaluation to ensure the model generalizes beyond the training domain.
Key Results
The experimental results demonstrate that PARM significantly improves recall by uncovering relevant documents that standard document-level retrieval misses. The authors found that two long documents are often relevant due to specific topical alignment in individual paragraphs rather than overall textual identity.
As shown in the performance comparison, VRRF outperformed all baseline aggregation strategies, including standard RRF and vector-averaging methods (VAvg, VMax). On the COLIEEDoc dataset, PARM with VRRF achieved a Recall@1000 of 0.9091 using LegalBERT, a substantial improvement over standard truncation-based approaches. Furthermore, the study found that training on high-quality paragraph-level labels is more effective than using larger, noisier document-level datasets where paragraph relevance is merely assumed.
Conclusion and Future Work
While PARM excels at recall—acting as an ideal first-stage retriever—it can lead to a slight decrease in top-10 precision (nDCG@10). The authors suggest that the optimal pipeline involves using PARM for initial retrieval to capture the broad pool of relevant documents, followed by a dedicated re-ranking model to refine the top results. Future research will focus on denoising weak supervision labels when paragraph-level ground truth is unavailable.
Summary updated