DeepLegal-CN: Research and Application of a DeepSeek-Based Large Language Model for the Legal Domain

The legal domain is one of the most linguistically intensive professional fields, characterized by complex structures, specialized terminology, and intricate logical reasoning. Legal professionals must frequently handle diverse legal documents such as regulations, judgments, contracts, and legal opinions. This complexity poses significant challenges for natural language processing (NLP), especially in understanding and generating legal texts. Recent advancements in large language models (LLMs) have demonstrated remarkable generalization capabilities across various NLP tasks, sparking interest in their application to legal scenarios. However, most existing LLMs face limitations in legal applications, especially in Chinese contexts. Proprietary models entail high inference costs and raise privacy concerns, while open-source models often lack domain-specific training on legal corpora. Moreover, the majority are trained on English datasets, limiting their adaptability to Chinese legal language, which differs significantly in expression and logic. To address these challenges, this paper proposes a legal LLM framework based on DeepSeek, a powerful open-source Chinese LLM. The framework integrates feature engineering and task-driven prompt design to enhance the model’s capability in understanding and reasoning over Chinese legal texts. We evaluate the model across multiple tasks, including legal question answering and case matching, demonstrating its effectiveness and identifying existing limitations. This study provides a novel approach for legal AI development in the Chinese context and offers valuable insights into building adaptable, domain-aware LLMs for legal applications.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/cisce65916.2025.11065329
Citations
1
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
8.52
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DeepLegal-CN: Research and Application of a DeepSeek-Based Large Language Model for the Legal Domain

S. Guo
1 citations
Artificial Intelligence in Law
8.52
article

DeepLegal-CN: Research and Application of a DeepSeek-Based Large Language Model for the Legal Domain

S. Guo
article en
1 citations

Abstract

The legal domain is one of the most linguistically intensive professional fields, characterized by complex structures, specialized terminology, and intricate logical reasoning. Legal professionals must frequently handle diverse legal documents such as regulations, judgments, contracts, and legal opinions. This complexity poses significant challenges for natural language processing (NLP), especially in understanding and generating legal texts. Recent advancements in large language models (LLMs) have demonstrated remarkable generalization capabilities across various NLP tasks, sparking interest in their application to legal scenarios. However, most existing LLMs face limitations in legal applications, especially in Chinese contexts. Proprietary models entail high inference costs and raise privacy concerns, while open-source models often lack domain-specific training on legal corpora. Moreover, the majority are trained on English datasets, limiting their adaptability to Chinese legal language, which differs significantly in expression and logic. To address these challenges, this paper proposes a legal LLM framework based on DeepSeek, a powerful open-source Chinese LLM. The framework integrates feature engineering and task-driven prompt design to enhance the model’s capability in understanding and reasoning over Chinese legal texts. We evaluate the model across multiple tasks, including legal question answering and case matching, demonstrating its effectiveness and identifying existing limitations. This study provides a novel approach for legal AI development in the Chinese context and offers valuable insights into building adaptable, domain-aware LLMs for legal applications.

University of Technology Sydney (AU)
Peace, Justice and strong institutions
Openalex Percentile: Top 4%
Artificial Intelligence in Law
8.52
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.

DeepLegal-CN: Research and Application of a DeepSeek-Based Large Language Model for the Legal Domain — S. Guo · (2025) | TGRS Research Map | TGRS