🤖 AI Summary
This work proposes an end-to-end automated approach for generating well-structured legal commentaries with accurate citations directly from large volumes of case law, without relying on manually constructed doctrinal frameworks. Leveraging 4,555 judgments from the German Federal Court of Justice that reference specific provisions of the German Civil Code, the method integrates paragraph-level retrieval, extractive summarization, keyword extraction, and embedding-based clustering, followed by collaborative generation of headings and commentary content using four large language models, which are then fused into a coherent text. This approach achieves, for the first time, dynamically updatable legal commentaries, demonstrating strong performance across five key metrics: topical relevance, heading alignment, citation fidelity, cluster distinctiveness, and logical ordering. The results confirm the feasibility of updating legal knowledge rapidly and cost-effectively—within minutes—thereby transcending traditional expert-driven manual compilation.
📝 Abstract
We present a fully automated pipeline that transforms large collections of court decisions into legal commentaries for statutes - without providing any handcrafted doctrinal framework. Using 4.555 decisions of the German Federal Court of Justice that cite sections 242, 280, 812 and 823 of the German Civil Code (BGB), we extract paragraph-level chunks, summarize their reasoning, and derive keywords, which are embedded and clustered. For each cluster, an LLM generates headings and synthesizes citation-rich sections, which are then merged into coherent commentaries by four state-of-the-art LLMs. We evaluate along five dimensions - topical relevance, heading-match, citation faithfulness, cluster distinction and logical ordering - using both a human expert and an LLM-judge. Our results show that commentary-like argument mining from court decisions to generate reports that can be refreshed within minutes at minimal cost is feasible, yet they highlight limitations arising from restricted sources and the normativity of legal reasoning.