← Latest papers
💬 NLP

Generative Chinese Statute Retrieval

This paper introduces GCSR, a generative framework that reformulates Chinese statute retrieval as a sequence generation task using multi-granularity structured document IDs and multi-task training to effectively bridge the gap between colloquial queries and formal statutory language, outperforming existing retrieval baselines.

Original authors: Yiteng Tu, Zitao Su, Weihang Su, Xuanyi Chen, Yueyue Wu, Yiqun Liu, Min Zhang, Qingyao Ai

Published 2026-07-14
📖 4 min read☕ Coffee break read

Original authors: Yiteng Tu, Zitao Su, Weihang Su, Xuanyi Chen, Yueyue Wu, Yiqun Liu, Min Zhang, Qingyao Ai

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you're trying to find a specific rule in a giant, dusty library where the books are written in a super-strict, formal language, but you're asking your question in casual, everyday slang. That's the daily struggle of Statute Retrieval: connecting a regular person's messy, real-life problem (like "My boss didn't pay me for working late!") to the exact, rigid legal paragraph that solves it.

For a long time, search engines tried to solve this like a librarian scanning a card catalog. They'd look for matching words. If you didn't use the exact fancy legal word, they'd miss your answer. The paper argues that this old-school "look for keywords" method is like trying to find a needle in a haystack by only looking for the color gold, even though the needle might be silver.

The Big Idea: The "Generative" Librarian
The authors, a team from Tsinghua University and Quancheng Laboratory, propose a new way called GCSR. Instead of searching through a list, imagine a super-smart librarian who doesn't just look up books but actually dreams up the exact address of the book you need.

In this system, the "address" of a law isn't just a random number. The team invented a Multi-granularity Structured DocID. Think of this as a super-detailed GPS coordinate for a law. Instead of just saying "Book 42," the address says: "Civil Law, Chapter on Liability, Section on Product Defects, specifically about the Manufacturer." This address is built from pieces like the type of law, who it affects, and a short summary of what it does. It turns a boring legal text into a structured map that the computer can navigate.

How They Trained the Brain
To teach this AI librarian, they didn't just show it the laws. They used a Multi-task Training Strategy, which is like giving the librarian three different jobs to master:

  1. The Indexer: They showed the law and asked the AI to write its own GPS address. This taught the AI the structure of the library.
  2. The Translator: They used another AI to invent 10 different "fake" questions for every law, written in casual, messy language (like "My boss is mean and didn't pay me"). This helped the AI learn how to connect slang to serious legal terms.
  3. The Realist: Finally, they tested it with real questions from real people to make sure it could handle the noise and confusion of actual life.

The Results: Does It Work?
The team tested this on a dataset called STARD, which contains 1,543 real questions from regular people and a library of 55,348 Chinese laws. They measured success by seeing how often the right law showed up in the top results (Hits@K).

The results were clear: GCSR consistently beat the other methods.

  • Old Keyword Search (Sparse): Got a Hits@3 score of 0.305 to 0.319.
  • Standard AI Search (Dense): Got a Hits@3 score of 0.468.
  • GCSR (The New Way): Scored a 0.522 on Hits@3, 0.536 on Hits@5, 0.544 on Hits@10, and 0.547 on Hits@20.

The paper suggests that this generative approach is a strong contender for the future of legal search because it bridges the gap between how people talk and how laws are written.

What They Ruled Out
The paper explicitly argues against a few things:

  • Just using keywords isn't enough: They found that simple keyword matching (like BM25) often misses the mark because people don't speak like lawyers.
  • Standard "Legal" AI models aren't perfect: Models trained specifically on court cases (like SAILER or Lawformer) actually performed worse here. The authors suggest this is because those models are used to long, story-like court stories, not the short, abstract, and rigid language of statutes.
  • Simple addresses don't work: If you just give the AI a random number or a simple title as the "address," it gets confused. The detailed, structured GPS coordinates are necessary for the AI to understand the hierarchy of the law.

How Sure Are They?
The authors are quite confident in these numbers based on their experiments. They ran the tests on a specific dataset and found that their method outperformed the others significantly (with statistical significance noted at p < 0.05). However, they are careful to say this is a "promising paradigm" and a "new state-of-the-art" for Chinese statutes. They don't claim it's a magic bullet for every legal system in the world yet, but the results suggest it works very well for the specific problem of turning casual questions into formal legal answers.

In short, GCSR suggests that if you want to find a law, you shouldn't just search for words; you should ask an AI to generate the exact "address" of the rule you need, using a map that understands both your slang and the law's structure.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →