Abstract
Automated summarization of legal documents is critical for managing the vast volume of judicial records. However, standard evaluation metrics like BLEU and ROUGE often fail to capture the nuanced legal "intent" required for high-quality summaries. This paper introduces the Intent Metric, a novel evaluation framework designed to measure how effectively a summary captures core legal concepts. Our results demonstrate that the Intent Metric correlates significantly better with human expert judgment than traditional lexical-overlap metrics.
Introduction
Legal practitioners frequently navigate extensive documentation; for instance, a single Indian Supreme Court judgment can exceed 4,500 words. While automated summarization offers a solution to reduce billable hours and improve efficiency, evaluating the quality of these summaries remains a significant challenge. Standard Natural Language Processing (NLP) metrics, such as BLEU or ROUGE, are primarily "context-free," focusing on word overlap rather than semantic meaning. In the legal domain, missing a specific phrase that establishes motive or intent can render a summary useless, even if it is grammatically correct. We address this gap by proposing a framework that prioritizes "intent phrases" over simple word counts.
Methodology
The proposed framework consists of three main components:
1. The Intent Metric
The core contribution of this work is the Intent Metric. It defines a "closePair" as a match between a manually annotated "intent phrase" and a sentence in the generated summary. By calculating the fraction of summary sentences containing these phrases (Precision) and the fraction of total intent phrases captured (Recall), we derive an Intent-based F1-Score.
2. Automated Intent Extraction
To ensure scalability, we employ Joint-BERT, a transformer-based model, to automatically identify intent phrases and classify the legal category of the case (e.g., Corruption, Murder). This allows the metric to be applied to new documents without requiring manual annotation for every evaluation.
3. Summarization Baselines
We evaluated several summarization models to test the robustness of our metric:
- Extractive Models: Graphical Models and LetSum.
- Neural/Transformer-based Models: BERT Extractive Summarizer and Legal-LED (Longformer Encoder-Decoder), the latter specifically designed to handle the long token sequences typical of legal documents.
Results and Discussion
Our analysis reveals a significant divergence between standard metrics and human satisfaction.
As shown in the correlation analysis, standard metrics like BLEU often show low or even negative correlation with human relevance scores in legal contexts. On the Indian dataset, the Intent Metric achieved a 0.42 correlation with human relevance, while BLEU scored -0.09. This confirms that capturing the "legal point" is more critical than matching vocabulary.
In terms of model performance, Legal-LED showed strong results on the Indian dataset but was noted for its high resource consumption, often utilizing over 95% of GPU memory for longer summaries. Additionally, using JointDistilBERT, we achieved up to 95% accuracy in classifying sentence-level intent within the Indian dataset.
Conclusion
This research highlights the necessity of domain-specific evaluation metrics in legal AI. The Intent Metric provides a more reliable measure of summary quality by focusing on the semantic "intent" of judicial documents. Future work will involve expanding the dataset to include more legal categories and testing the framework across diverse international legal systems to ensure global robustness.
Summary updated