Applied Sciences

Outcome Prediction and Statutory Grounding in Mexican Labor Law: A Controlled Benchmark of Retrieval, Graph Augmentation, and Reward-Guided Selection Across Quantized LLMs

Ali Aldo Gallardo-Delgado, Juan Arturo Nolazco-Flores, Josue Genaro Almaraz-Rivera, Angeles Belem Priego-Sanchez

Computational · n=90

Key points

From the paper's conclusion
  • These findings indicate that better access to legal knowledge does not necessarily improve outcome prediction.

Abstract

Legal decision-support systems require accurate outcome predictions and grounding in applicable statutes and precedents. We introduce a reproducible benchmark that evaluates these capabilities separately in Mexican labor law. Two practicing attorneys wrote 90 labor-law scenarios with expert-assigned outcome labels and gold statutory citations, and a corpus of 330 documents (321 Supreme Court resolutions and 9 federal laws) served as the retrieval substrate. Four architectures—parametric-only generation, retrieval-augmented generation (RAG), graph retrieval-augmented generation (GraphRAG), and reward-guided best-of-N selection—were evaluated across five quantized 7B–9B backbone configurations, yielding 20 conditions and 1800 case–condition observations. With the 90 cases as the unit of analysis, dense retrieval significantly improved statutory grounding but produced no detectable improvement in outcome prediction. Under the evaluated implementation, GraphRAG provided no measurable advantage over standard RAG, and only four conditions significantly exceeded the 54.4% majority-class baseline. Performance varied with the backbone: the architecture-by-backbone interaction was significant once repeated observations of each case were modeled, and architecture rankings differed between the two batches from which the benchmark was assembled. An evaluation audit identified thirteen measurement, configuration, and implementation failure modes. These findings indicate that better access to legal knowledge does not necessarily improve outcome prediction. Comparisons between architectures, averaged across the benchmark, should therefore be interpreted in light of its composition.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Outcome Prediction and Statutory Grounding in Mexican Labor Law: A Controlled Benchmark of Retrieval, Graph Augmentation, and Reward-Guided Selection Across Quantized LLMs — Science Skim