Papers › LAiW: A Chinese Legal Large Language Models Benchmark

LAiW: A Chinese Legal Large Language Models Benchmark

9 Oct 2023arXiv:2310.05620archive 2025-07-28

Yongfu Dai, Duanyu Feng, Jimin Huang, Haochen Jia, Qianqian Xie, Yifang Zhang, Weiguang Han, Wei Tian, Hao Wang

General and legal domain LLMs have demonstrated strong performance in various tasks of LegalAI. However, the current evaluations of these LLMs in LegalAI are defined by the experts of computer science, lacking consistency with the logic of legal practice, making it difficult to judge their practical capabilities. To address this challenge, we are the first to build the Chinese legal LLMs benchmark LAiW, based on the logic of legal practice. To align with the thinking process of legal experts and legal practice (syllogism), we divide the legal capabilities of LLMs from easy to difficult into three levels: basic information retrieval, legal foundation inference, and complex legal application. Each level contains multiple tasks to ensure a comprehensive evaluation. Through automated evaluation of current general and legal domain LLMs on our benchmark, we indicate that these LLMs may not align with the logic of legal practice. LLMs seem to be able to directly acquire complex legal application capabilities but perform poorly in some basic tasks, which may pose obstacles to their practical application and acceptance by legal experts. To further confirm the complex legal application capabilities of current LLMs in legal application scenarios, we also incorporate human evaluation with legal experts. The results indicate that while LLMs may demonstrate strong performance, they still require reinforcement of legal logic.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.05620")

Code

Syntology Ran 11 of 14 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dai-shen/laiw officialmentioned in papermentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
8ran
3unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from dai-shen/laiw. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

mean dai-shen/laiw/src/financial-evaluation/lm_eval/metrics.py official repository ran · violated contract fingerprinted MIT (permissive) · 0928f497e20fb443 · report
escaped_split dai-shen/laiw/src/financial-evaluation/lm_eval/utils.py official repository ran MIT (permissive) · 57e732507bad40db · report
group dai-shen/laiw/src/financial-evaluation/lm_eval/utils.py official repository ran MIT (permissive) · 359c35fdcd7a0ee5 · report
hash_args dai-shen/laiw/src/financial-evaluation/lm_eval/base.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · ea06eaae4fc1eaf0 · report
insert_space dai-shen/laiw/precision/legal_metrics.py official repository ran fingerprinted MIT (permissive) · 0510e8cbb2c5a1e3 · report
mcc dai-shen/laiw/precision/legal_metrics.py official repository ran fingerprinted MIT (permissive) · 1213c8a6b0d1d84a · report
pop_stddev dai-shen/laiw/src/financial-evaluation/lm_eval/metrics.py official repository ran fingerprinted MIT (permissive) · 518b2201c66c2ad3 · report
process_text dai-shen/laiw/src/tasks/utils.py official repository ran fingerprinted MIT (permissive) · efc4c3ac590c9737 · report
sample_stddev dai-shen/laiw/src/financial-evaluation/lm_eval/metrics.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · d40f0123e8a8f5c0 · report
simple_parse_args_string dai-shen/laiw/src/financial-evaluation/lm_eval/utils.py official repository ran fingerprinted MIT (permissive) · cd999ad59caf84a7 · report
single_chat dai-shen/laiw/src/chatlm.py official repository ran MIT (permissive) · df801139cecd0329 · report
evaluate dai-shen/laiw/src/interface.py official repository unverified MIT (permissive) · 5a6e0b41ccbd8a98 · report
generate_prompt dai-shen/laiw/src/interface.py official repository unverified MIT (permissive) · d8c48497dd9cc819 · report
make_table dai-shen/laiw/src/evaluator.py official repository unverified MIT (permissive) · 9d95c14130837ee4 · report

Tasks

Information Retrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections