Enhancing Legal Reasoning in Pre-trained Language Models via Knowledge Graph-Guided Multi-Task Pre-training
Ibrahim Siddig, Munir Georges
Key points
From the paper's conclusion- We evaluate our approach across nine Transformer-based encoders and 324 experimental runs.
Abstract
Legal language understanding requires reasoning over semi-structured regulatory documents, yet standard pre-training objectives do not explicitly target this structural capability. Because current legal language models rely solely on masked language modeling, they treat statutory text as flat token sequences and ignore the underlying hierarchical constraints. To bridge this gap, we present a multi-task pre-training approach for German traffic law (StVO). Our approach combines three complementary objectives: Next Sentence Prediction (NSP), Knowledge Graph (KG) Guided Clustering (CLU), and Knowledge Graph (KG) Aware Paragraph Classification (CLS). This approach explicitly encodes structured legal knowledge directly into the model weights. This encoding enables zero-shot legal reasoning at inference time and removes the need for discrete graph traversal. We evaluate our approach across nine Transformer-based encoders and 324 experimental runs. On synthetic StVO question answering, our models demonstrate consistent relative improvements between 10.3% and 155.0% over baselines. Furthermore, relative to the established LexGLUE baselines (Chalkidis et al., 2022), our models improve over prior results on four of seven legal benchmarks. It also achieves consistent zero-shot transfer gains between 3.4% and 15.8% on Austrian driving regulations. These experimental results indicate that our training approach generalizes successfully beyond the initial training legal domain.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LexReward: A Taxonomy-Driven Reward Framework for Legal Language ModelsarXiv · 2026
- DriveLegal: Toward legally compliant driving via trustworthy hybrid retrieval-augmented LLMsExpert Systems with Applications · 2026
- Modeling legal ontologies with a validation based LLM pipelineFrontiers in Artificial Intelligence · 2026
- Aligning Judge Models to Be Logically Consistent Multi-Rule InterpretersarXiv · 2026
- Towards Better Legal Reasoning LLMs: Signal Balancing and Reward SchedulingarXiv · 2026
- Graph retrieval-augmented generation for legal academic viewpoint question answering: knowledge-graph retrieval, evaluation, and hallucination analysisFrontiers in Artificial Intelligence · 2026