LexKeyPlan: Planning with Keyphrases and Retrieval Augmentation for Legal Text Generation: A Case Study on European Court of Human Rights Cases

Large language models excel at legal text generation but often produce hallucinations due to their sole reliance on parametric knowledge.Retrieval-augmented models mitigate this by providing relevant external documents to the model but struggle when retrieval is based only on past context, which may not align with the model's intended future content.We introduce LexKeyPlan, a novel framework that integrates anticipatory planning into generation.Instead of relying solely on context for retrieval, LexKeyPlan generates keyphrases outlining future content serving as forwardlooking plan, guiding retrieval for more accurate text generation.This work incorporates planning into legal text generation, demonstrating how keyphrases-representing legal concepts-enhance factual accuracy.By structuring retrieval around legal concepts, LexKey-Plan better aligns with legal reasoning, making it particularly suited for legal applications.Using the ECHR corpus as case study, we show that LexKeyPlan improves factual accuracy and coherence by retrieving information aligned with the intended content.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-short.32
Citations
2
Primary Topic
Advanced Text Analysis Techniques
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LexKeyPlan: Planning with Keyphrases and Retrieval Augmentation for Legal Text Generation: A Case Study on European Court of Human Rights Cases

Santosh T.y.s.s, Elvin Quero Hernandez
2 citations
Advanced Text Analysis Techniques
4.96
article

LexKeyPlan: Planning with Keyphrases and Retrieval Augmentation for Legal Text Generation: A Case Study on European Court of Human Rights Cases

Santosh T.y.s.s, Elvin Quero Hernandez
article en
2 citations

Abstract

Large language models excel at legal text generation but often produce hallucinations due to their sole reliance on parametric knowledge.Retrieval-augmented models mitigate this by providing relevant external documents to the model but struggle when retrieval is based only on past context, which may not align with the model's intended future content.We introduce LexKeyPlan, a novel framework that integrates anticipatory planning into generation.Instead of relying solely on context for retrieval, LexKeyPlan generates keyphrases outlining future content serving as forwardlooking plan, guiding retrieval for more accurate text generation.This work incorporates planning into legal text generation, demonstrating how keyphrases-representing legal concepts-enhance factual accuracy.By structuring retrieval around legal concepts, LexKey-Plan better aligns with legal reasoning, making it particularly suited for legal applications.Using the ECHR corpus as case study, we show that LexKeyPlan improves factual accuracy and coherence by retrieving information aligned with the intended content.

Technical University of Munich (DE)
Openalex Percentile: Top 5%
Advanced Text Analysis Techniques
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.