TL;DR
While modern Large Language Models (LLMs) and domain-specific abstractive models can generate more "natural" legal summaries than traditional extractive methods, they are prone to significant factual hallucinations—such as inventing U.S. statutes for Indian court cases. The study concludes that these models are not yet ready for fully autonomous deployment and currently require a "human-in-the-loop" approach to ensure legal accuracy.
What Problem Does This Paper Address?
Legal case judgements are notoriously long and complex, making them difficult for even seasoned practitioners to digest quickly. While automatic summarization could save thousands of human hours, the field has traditionally relied on extractive summarization (selecting key sentences from the original text).
Recently, abstractive summarization (generating new text that captures the essence of the original) has gained traction due to the rise of LLMs like ChatGPT. However, the legal domain has zero tolerance for factual errors. This paper investigates whether off-the-shelf LLMs and domain-specific pre-trained models are actually "ready for prime time" in summarizing Indian Supreme Court judgements, specifically looking for inconsistencies and "hallucinations" that standard metrics might miss.
Methods
The researchers compared three families of models:
- General-domain LLMs: OpenAI’s
text-davinci-003andgpt-3.5-turbo(ChatGPT), tested in a zero-shot setting with specific prompts like "Tl;Dr" and length-constrained instructions. - Legal domain-specific abstractive models:
Legal-PegasusandLegal-LED(Longformer Encoder-Decoder), including versions fine-tuned specifically on Indian legal data (-INversions). - Extractive baselines: Traditional models like
BertSumandCaseSummarizerfor comparison.
Because legal documents often exceed the token limits of these models, the authors employed a divide-and-conquer chunking strategy. Documents were split into 1,024-word chunks, summarized individually, and then concatenated.
Beyond standard overlap metrics (ROUGE, BLEU), the authors introduced consistency metrics:
- SummaC: Uses Natural Language Inferencing (NLI) to check if summary sentences logically follow from the source.
- NumPrec & NEPrec: Measures the precision of numbers (dates, sections) and Named Entities (people, organizations) to catch factual drift.
Datasets
The study utilized the IN-Abs dataset, which consists of 7,130 judgement-summary pairs from the Indian Supreme Court. The summaries (or "headnotes") were written by legal experts.
- Training Set: 7,030 pairs used for fine-tuning the domain-specific models.
- Test Set: 100 pairs used for the final evaluation of all models.
Key Insights and Ideas
- The "ROUGE" Illusion: Abstractive models often achieve higher ROUGE and BLEU scores than extractive ones, suggesting they are "better." However, these metrics only measure word overlap and can completely miss a summary that is fluent but factually wrong.
- Domain Contamination: One of the most striking findings was that models pre-trained on U.S. legal data (like the base
Legal-LED) frequently hallucinated U.S. court names and statutes (e.g., "Securities Act of 1933") when summarizing Indian cases. - Fine-tuning is a Shield: Fine-tuning on local data (
LegLED-IN) significantly reduced these cross-border hallucinations, though it didn't eliminate them entirely. - Chunking Artifacts: The chunking process often led to "merged" sentences at boundaries, resulting in incomplete or nonsensical phrasing.
- Identity Confusion: Models frequently struggled with roles, sometimes confusing the names of lawyers with the appellants they represented.
Key Results
As shown in the performance table below, the fine-tuned legal models generally outperformed both general LLMs and extractive baselines on standard metrics.
- Quantitative:
LegLED-INachieved the highest BLEU score (19.81%) and ROUGE-L F1. Interestingly,davinci-summ(a general LLM) outperformed several legal-specific models in ROUGE-L, showing the power of general-purpose pre-training. - Consistency: While LLMs were fluent, their SummaC scores (measuring logical consistency) were relatively low (0.57–0.63). The fine-tuned
LegLED-INreached the highest consistency score of 0.85. - Qualitative Errors: The authors documented "meaningless" sentences where place names were called languages, and instances where a case from 1961 was summarized as occurring in 2019.
Limitations and Future Work
The authors acknowledge several hurdles:
- Naive Chunking: The current method assumes every part of a legal document is equally important, which isn't true in practice (e.g., the final ruling is usually more critical than the initial facts).
- Metric Reliability: Metrics like
NEPrecrely on Spacy, which may struggle to identify all entities correctly in the specific context of Indian legal jargon. - Human-in-the-loop: The primary conclusion is that we cannot yet remove the human expert from the loop.
Future research will focus on developing better methods to detect complex factual errors and exploring more sophisticated, importance-aware chunking strategies to handle long-form legal text.
Summary updated