Leverage Knowledge Graph and Large Language Model for Law Article Recommendation: A Case Study of Chinese Criminal Law

This paper proposes a hybrid law article recommendation framework that integrates a Case-Enhanced Law Article Knowledge Graph (CLAKG) with Large Language Model reasoning to significantly improve judicial efficiency and accuracy in Chinese criminal law cases, achieving a notable performance boost from 0.549 to 0.694.

Yongming Chen, Miner Chen, Ye Zhu, Juan Pei, Siyu Chen, Yu Zhou, Yi Wang, Yifan Zhou, Hao Li, Songan Zhang

Published 2026-03-04
📖 4 min read☕ Coffee break read

Imagine you are a judge in a busy courtroom. Every day, you face piles of new cases. Your job is to read the messy story of what happened, find the exact law that applies, and write a fair verdict. It's like trying to find a specific needle in a haystack, but the haystack is made of thousands of laws, and the needle changes shape every time.

This paper introduces a new "super-assistant" for judges. It combines two powerful tools: a Massive Digital Library (Knowledge Graph) and a Super-Intelligent Brain (Large Language Model).

Here is how it works, broken down into simple concepts:

1. The Problem: The "Hallucinating" Brain

In the past, judges (and computers) tried to guess the right law just by reading the case story.

  • Old Computers: They were like students who memorized keywords. If a case mentioned "stealing," they looked for the word "theft." But they missed the meaning. If the text was complex, they got confused.
  • New AI (LLMs): These are like brilliant students who have read the entire library. They understand the story well. But, they have a bad habit called "hallucination." Sometimes, to sound confident, they make up laws that don't exist or cite the wrong article number. In law, making things up is dangerous.

2. The Solution: The "Case-Enhanced" Library (CLAKG)

The authors built a special, organized library called CLAKG (Case-Enhanced Law Article Knowledge Graph).

  • The Metaphor: Imagine a giant, interactive spiderweb.
    • The Nodes (Dots): These are the laws (like Article 385) and the past court cases.
    • The Strings (Lines): These connect a past case to the law it used. They also connect specific details (like "bribery" or "abuse of power") to the laws.
  • The Magic: Instead of just reading text, the computer looks at this web. It sees that "Case A" is connected to "Law X" because they both share the detail "bribery." It's not just guessing; it's following the map.

3. How the System Works (The "Closed Loop")

The system works in three steps, like a team of experts:

  • Step 1: The Librarian (Building the Map)
    The system uses AI to read old court documents and automatically update the spiderweb. It links new cases to the right laws. If a human lawyer spots a mistake, they fix it, and the web gets smarter. This is the "Closed Loop"—the system learns from human feedback.

  • Step 2: The Detective (Finding Clues)
    When a new case comes in, the system doesn't just read the text. It acts like a detective looking for "keywords" (like "taking money" or "abusing power"). It uses the spiderweb to find the top 5 laws that are most similar to these clues.

  • Step 3: The Judge's Assistant (The Recommendation)
    The AI (the "Brain") is given a strict rule: "You can only choose from these 5 laws the Detective found. Do not make up new ones."
    The AI then compares the new case to these 5 options and says, "I recommend Article 385 because it matches the bribery details." Because it is forced to look at the real data from the web, it stops making things up.

4. The Results: Why It Matters

The researchers tested this on Chinese Criminal Law.

  • The Old Way: Without this system, the AI was right about 55% of the time.
  • The New Way: With the "Spiderweb Library" and the strict rules, the AI was right 69% of the time.
  • The Comparison: It beat every other method they tried, including standard computer models and other AI tools that didn't use this special library.

The Big Picture Analogy

Think of it like GPS vs. a Guessing Game.

  • Old AI: Like a driver guessing the route based on a vague memory. They might get close, but they often end up in a dead end or a fake street.
  • This Paper's System: Like a GPS that has a live map of every road and traffic report. It doesn't guess; it calculates the exact path based on real data. If the driver (the human expert) sees a road is closed, they update the map, and the GPS gets even better for next time.

In short: This paper shows that if you give a super-smart AI a strict, organized map of the law and force it to stick to that map, it becomes a much more reliable and accurate tool for helping judges do their jobs.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →