SDD-LawLLM: Advancing Intelligent Legal Systems Through Synthetic Data-Driven Fine-Tuning of Large Language Models
The extensive use of large language models (LLMs) across various natural language processing tasks has markedly elevated the intelligence of legal systems. Despite their exceptional performance in terms of accuracy, these systems still struggle with explainability. To tackle this challenge, we propose an approach to boost the question-answering abilities of LLMs through data synthesis, focusing on Qwen-7B. By incorporating Retrieval-Augmented Generation (RAG) techniques, we enhance the system’s transparency and reliability by introducing detailed reasoning processes (CoT Prompts). Our experimental results indicate that our trained LLMs exhibit significant improvements in both answer accuracy and explainability, especially in objective evaluation tasks. Additionally, subjective assessments reveal that the model’s responses are not only precise but also highly understandable, thus boosting user confidence in the system. Overall, our research offers valuable insights and technical advancements for the development of intelligent legal question-answering systems, with significant theoretical and practical implications.
Authors
- Haixiang Zhang (ORCID: https://orcid.org/0009-0004-5802-1645)
- Zhengdong Xiao (ORCID: https://orcid.org/0000-0001-7536-1052)
- Jie Feng (ORCID: https://orcid.org/0000-0001-9496-0034)
- Yinying Lu (ORCID: https://orcid.org/0009-0009-6145-1976)
- Hanjie Ma
- Jian Yu (ORCID: https://orcid.org/0009-0009-9041-7507)
Institutions
- Zhejiang Sci-Tech University (CN)
- Alibaba Group (China) (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-02-13
- DOI
- https://doi.org/10.3390/electronics14040742
- Citations
- 4
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 34.09
Funders
- Hangzhou Science and Technology Bureau