PL-CA: A Parametric Legal Case Augmentation Framework
Authors:
Preprint
Abstract
Conventional RAG is considered one of the most effective methods for addressing model knowledge insufficiency and hallucination, particularly in the judicial domain that requires high levels of knowledge rigor, logical consistency, and content integrity. However, the conventional RAG method only injects retrieved documents directly into the model's context, which severely constrains models due to their limited context windows and introduces additional computational overhead through excessively long contexts, thereby disrupting models' attention and degrading performance on downstream tasks. Moreover, many existing benchmarks lack expert annotation and focus solely on individual downstream tasks while real-world legal scenarios consist of multiple mixed legal tasks, indicating conventional benchmarks' inadequacy for reflecting models' true capabilities. To address these limitations, we propose PL-CA, which introduces a parametric RAG (P-RAG) framework to perform data augmentation on corpus knowledge and encode this legal knowledge into parametric vectors, and then integrates this parametric knowledge into the LLM's feed-forward networks (FFN) via LoRA, thereby alleviating models' context pressure. Additionally, we also construct a multi-task legal dataset comprising more than 2000 training and test instances, which are all expert-annotated and manually verified. We conduct our experiments on our dataset, and the experimental results demonstrate that our method reduces the overhead associated with excessively long contexts while maintaining competitive performance on downstream tasks compared to conventional RAG. Our code and dataset are provided in the appendix.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- JuDGE: Benchmarking Judgment Document Generation for Chinese Legal System2025
- Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorization2025
- DELTA: Pre-Train a Discriminative Encoder for Legal Case Retrieval via Structural Word AlignmentProceedings of the AAAI Conference on Artificial Intelligence, 2025
- LeCaRDv2: A Large-Scale Chinese Legal Case Retrieval Dataset2024
- Neuron-Level Knowledge Attribution in Large Language Models2024
- SAILER: Structure-aware Pre-trained Language Model for Legal Case Retrieval2023
- Precedent-Enhanced Legal Judgment Prediction with LLM and Domain-Model Collaboration2023
- LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Development2023
- Pre-Training With Whole Word Masking for Chinese BERTIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2021
- Lawformer: A pre-trained language model for Chinese legal long documentsAI Open, 2021