LexSage: Multi-Task Optimization in Legal Large Language Model Applications

With the increasing complexity of tasks in the legal domain, traditional methods struggle to meet the demands of multi-task scenarios and face significant bottlenecks in task accuracy and efficiency. To address this, we propose LexSage, a legal large language model that leverages the one-shot capability of large language models (LLMs). By utilizing different prompt templates to assist in data generation and applying data augmentation techniques to further expand the dataset, LexSage performs instruction fine-tuning on the Qwen2.5-7B model with a comprehensive legal dataset. Through knowledge sharing and structural optimization across tasks, LexSage achieves a synergistic effect during multi-task fine-tuning, effectively integrating and enhancing the knowledge and expressive power across different tasks. Evaluation on LawBench shows that LexSage exhibits significant performance improvement in multiple tasks, including 25.6% improvement in the case analysis task compared to the GPT4 model, and 15.6% improvement in the law recitation task compared to the hanfei legal large language model. The experimental results show that LexSage demonstrates a strong comprehensive processing capability in legal intelligence applications, providing new ideas and technical support for the intelligent development of the legal field.

Authors

Institutions

Publication Details

Published
2024-12-27
DOI
https://doi.org/10.1109/icairc64177.2024.10900222
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LexSage: Multi-Task Optimization in Legal Large Language Model Applications

Weijun Gao, Yang Zhang, Xiaowen Li, Lin Han
Artificial Intelligence in Law
article

LexSage: Multi-Task Optimization in Legal Large Language Model Applications

Weijun Gao, Yang Zhang, Xiaowen Li, Lin Han
article en

Abstract

With the increasing complexity of tasks in the legal domain, traditional methods struggle to meet the demands of multi-task scenarios and face significant bottlenecks in task accuracy and efficiency. To address this, we propose LexSage, a legal large language model that leverages the one-shot capability of large language models (LLMs). By utilizing different prompt templates to assist in data generation and applying data augmentation techniques to further expand the dataset, LexSage performs instruction fine-tuning on the Qwen2.5-7B model with a comprehensive legal dataset. Through knowledge sharing and structural optimization across tasks, LexSage achieves a synergistic effect during multi-task fine-tuning, effectively integrating and enhancing the knowledge and expressive power across different tasks. Evaluation on LawBench shows that LexSage exhibits significant performance improvement in multiple tasks, including 25.6% improvement in the case analysis task compared to the GPT4 model, and 15.6% improvement in the law recitation task compared to the hanfei legal large language model. The experimental results show that LexSage demonstrates a strong comprehensive processing capability in legal intelligence applications, providing new ideas and technical support for the intelligent development of the legal field.

Zhengzhou University (CN), National Supercomputing Center in Wuxi (CN)
Openalex Percentile: Top 54%
Artificial Intelligence in Law
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.