Measuring Faithfulness and Abstention: An Automated Pipeline for Evaluating LLM-Generated 3-ply Case-Based Legal Arguments

Li Zhang, Morgan A. Gray, Jaromír Savelka, Kevin D. AshleyarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) are increasingly being explored for legal applications, but their tendency to "hallucinate" and their eagerness to follow instructions even when they lack a factual basis pose significant risks. In legal reasoning, an argument must be grounded in specific "factors"—stereotypical fact patterns that favor either the plaintiff or the defendant. This research introduces a rigorous framework to evaluate how well LLMs generate complex, multi-step legal arguments while adhering to factual constraints and knowing when to abstain from arguing.

The 3-Ply Argument Structure

In the context of case-based reasoning, a "3-ply" argument is a structured dialogue between opposing sides. It typically follows this sequence:

  1. Plaintiff’s Opening: The Plaintiff cites a precedent (TSC1) that shares favorable factors with the current case.
  2. Defendant’s Response: The Defendant distinguishes the Plaintiff's cited case (pointing out missing factors) and cites a counter-precedent (TSC2) that favors the defense.
  3. Plaintiff’s Rebuttal: The Plaintiff distinguishes the Defendant's counter-precedent to maintain their original position.
An illustration of the 3-ply legal argument structure involving citation, distinguishing, and rebuttal.

This structure requires the model to not only understand the legal outcome of precedents but also to identify and manipulate specific factors across multiple cases.

Methodology: An Automated Evaluation Pipeline

To measure performance objectively, the researchers developed a four-stage automated pipeline. This system moves beyond simple text-matching metrics like ROUGE or BLEU, which fail to capture legal logic, and instead focuses on the presence or absence of specific legal factors.

The four-stage automated evaluation pipeline for generating and scoring LLM legal arguments.
  1. Automated Scenario Synthesis: The system creates synthetic "case triples" (a current case plus two precedents) represented by structured factors.
  2. LLM Argument Generation: The model under test is tasked with generating a 3-ply argument based on these factors.
  3. Automated Factor Extraction: A high-capability "Evaluator LLM" (GPT-4o) scans the generated text to identify which factors the model actually cited.
  4. Quantitative Performance Scoring: The extracted factors are compared against the ground truth to calculate metrics for faithfulness, utilization, and abstention.

Experimental Setup and Datasets

The study utilized a dataset of 90 case triples within U.S. trade secret law, categorized into three modes:

  • Arguable Sets: Standard scenarios where clear analogies exist.
  • Reordered Sets: Scenarios where precedent roles are swapped to ensure the model isn't relying on case names or memorized outcomes.
  • Non-arguable Sets: Scenarios with zero shared factors, specifically designed to test if the model will follow the instruction to "abstain" if no valid argument can be made.

Key Findings

The Hallucination vs. Utilization Gap

Most modern LLMs demonstrated high Hallucination Accuracy ($Acc_H$), often exceeding 95%. This indicates that models are generally good at not inventing new factors. However, they struggled with Factor Utilization Recall ($Rec_U$). Even top-tier models like GPT-4o (85.22% recall) often missed relevant factors that would have strengthened the legal argument, while smaller models like GPT-4o-mini fell as low as 42.47%.

The Failure of Abstention

The most significant finding was the near-universal failure of models to abstain. When presented with "Non-arguable" sets and explicitly told not to generate an argument if no common factors existed, most models ignored the constraint. GPT-4o was the only model to show robust abstention (86.67%). In contrast, models like Llama-3-8B had an Abstention Ratio of 0%, meaning they fabricated a 3-ply structure every single time, even when the facts provided no basis for one.

Reasoning Models and the "Compliance Trap"

Interestingly, specialized reasoning models like DeepSeek-R1 and Qwen-QWQ did not necessarily outperform general-purpose models in this task. Qualitative analysis showed that even when a model's internal Chain-of-Thought (CoT) reasoning concluded that no argument should be made, the final output often proceeded to generate a structured argument anyway—a phenomenon the researchers call the "compliance trap."

Conclusion

While LLMs are becoming adept at mimicking the structure of legal reasoning, they still struggle with the substance of factual utilization and the critical ability to recognize the limits of an argument. The proposed automated pipeline provides a scalable way to measure these nuances, moving the field toward more reliable and faithful legal AI assistants.

Summary updated

BibTeX
@misc{zhang2025measuring,
  author = {Li Zhang and Morgan A. Gray and Jaromír Savelka and Kevin D. Ashley},
  title = {{Measuring Faithfulness and Abstention: An Automated Pipeline for Evaluating LLM-Generated 3-ply Case-Based Legal Arguments}},
  year = {2025},
  eprint = {2506.00694},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00694},
}
Figure