Bilingual Hybrid Judicial-Opinion Retrieval for Puerto Rico and Texas: Dense, Lexical, and LLM-Augmented
Date
Authors
Advisor
Publisher
Polytechnic University of Puerto Rico
Item Type
Article
Poster
Poster
- Total Views Total Views4
- Total Downloads Total Downloads2
Abstract
This article presents the design, implementation, and evaluation of a bilingual English/Spanish information retrieval prototype over judicial opinions from Puerto Rico and Texas courts. Judicial opinions are ingested from the CourtListener REST API, cleaned, segmented into paragraph-aware chunks, embedded with a multilingual sentence-transformer model, and indexed in Facebook AI Similarity Search (FAISS) for dense retrieval, with a parallel Best Matching 25 (BM25) index supporting lexical retrieval. A weighted Reciprocal Rank Fusion (RRF) layer combines semantic and lexical rankings. An optional layer adds query rewriting and cross-encoder reranking using a locally hosted Gemma 3 large language model. On a stratified held-out split of thirty-two queries, weighted hybrid RRF reaches a normalized discounted cumulative gain at rank 10 (nDCG@10) of 0.5615, while cross-encoder reranking raises this value to 0.7680 at roughly twenty times higher latency. The system preserves end-to-end traceability to source judicial opinions and is presented as a research prototype, not a legal-advice product.
Description
Design Project Article for the Graduate Programs at the Polytechnic University of Puerto Rico. Includes a graduate project poster summarizing the research through concise text and visuals derived from the same study.
Keywords
Bilingual Information Retrieval, Dense Embeddings, Hybrid Search, Reciprocal Rank Fusion
Citation
Pérez Cabezas, A. (2026). Bilingual Hybrid Judicial-Opinion Retrieval for Puerto Rico and Texas: Dense, Lexical, and LLM-Augmented [Graduate project poster]. Graduate School, Polytechnic University of Puerto Rico. Puerto Rico Cloud Repository (PRCR). https://hdl.handle.net/20.500.12475/3413