A Tree-of-Thoughts Inspired Hybrid Approach for Legal Case Judgement Summarization using LLMs

Aniket Deroy, Kripabandhu Ghosh, Saptarshi GhosharXiv 2026

TL;DR

Summarizing long legal documents requires a difficult balance between factual precision and narrative readability. This paper introduces Ext-Abs-ToT, a three-stage prompting method inspired by the Tree-of-Thoughts framework that extracts core legal components, evaluates their fidelity, and synthesizes them abstractively. Testing on DeepSeek-R1 and Llama-3.2 demonstrates that this hybrid approach outperforms traditional single-step extractive or abstractive methods across multiple standard NLP evaluation metrics.

What Problem Does This Paper Address?

Legal case judgments are notoriously dense, lengthy, and packed with domain-specific jargon. Automated summarization tools are highly desirable for legal professionals, but they face a classic dilemma:

  • Extractive methods act like a highlighter, copying exact sentences to preserve factual accuracy, but they often result in a choppy, disjointed text flow.
  • Abstractive methods act like a writer, paraphrasing ideas smoothly, but they run a high risk of "hallucinating" or misrepresenting critical legal facts.

While Large Language Models (LLMs) excel at standard text summarization, there has been little systematic exploration into hybrid (extractive-abstractive) prompting strategies that can marry factual fidelity with narrative coherence in the legal domain.

Methods

The authors propose a novel three-stage prompting framework called Ext-Abs-ToT (Extractive-Abstractive Tree-of-Thoughts):

  1. Stage 1 (Extraction): The LLM acts as an expert legal summarizer, decomposing the full text into core rhetorical segments (Facts, Issues Presented, Holding/Ruling, and Court’s Reasoning). It extracts only the most salient sentences directly from the text without generating any new wording.
  2. Stage 2 (Evaluation): The model evaluates its own extracted snippets, assigning a confidence score (1–5) based on Completeness (capturing all necessary points) and Fidelity (ensuring they are direct, unedited extractions).
  3. Stage 3 (Abstraction): Using only the validated snippets from the previous stage, the LLM generates a highly condensed, coherent abstractive summary written in a formal legal style.

This multi-step reasoning process is compared against standard baseline extractive and abstractive prompts:

Baseline Prompts

Datasets

The experiments were conducted using the IN-Ext dataset, a benchmark specifically designed for legal case judgment summarization. It consists of 50 pairs of legal judgments and gold-standard summaries meticulously created by legal experts from a reputed law school in India.

Key Insights and Ideas

  • Deconstruction Before Synthesis: Breaking down a legal text into its structured rhetorical pillars (Facts, Issues, Holdings, Reasoning) provides a scaffolding that prevents the LLM from losing critical context during the final abstractive generation.
  • Self-Correction via Evaluation: Incorporating a verification step (Stage 2) forces the model to audit its own extractions. Grounding the final summary strictly in these validated snippets mitigates the hallucination risks typical of pure abstractive methods.
  • Reasoning Models Excel: DeepSeek-R1 consistently outperformed Llama-3.2 across all configurations, indicating that models optimized for chain-of-thought reasoning possess an inherent edge in parsing complex legal logic.

Key Results

The hybrid Ext-Abs-ToT approach achieved the highest performance across almost all metrics (ROUGE-2, ROUGE-L, METEOR, BERTScore, and MoverScore) for both evaluated LLMs:

  • DeepSeek-R1: The hybrid approach scored 0.306 on ROUGE-2 (compared to 0.295 for purely extractive and 0.249 for purely abstractive) and 0.285 on ROUGE-L.
  • Llama-3.2: The hybrid approach scored 0.239 on ROUGE-2 and 0.259 on ROUGE-L, outperforming its respective baselines.

The complete quantitative breakdown can be seen in the results table below:

Evaluation Metrics

Limitations and Future Work

The primary limitation acknowledged in the study is the scale of evaluation; the experiments were restricted to the 50 document-summary pairs available in the IN-Ext dataset.

For future work, the authors emphasize that hybrid extractive-abstractive prompting is a highly promising paradigm for legal tech. They suggest expanding this line of research to larger datasets and exploring even more sophisticated multi-step reasoning paths to further refine summary quality.

Summary updated

BibTeX
@misc{deroy2026tree,
  author = {Aniket Deroy and Kripabandhu Ghosh and Saptarshi Ghosh},
  title = {{A Tree-of-Thoughts Inspired Hybrid Approach for Legal Case Judgement Summarization using LLMs}},
  year = {2026},
  eprint = {2606.28044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.28044},
}
Figure