Self-Filtered Distillation with LLMs-generated Trust Indicators for Reliable Patent Classification
This paper proposes Self-Filtered Distillation (SFD), a novel framework that enhances reliable patent classification by treating LLM-generated rationales as dynamic trust indicators rather than ground-truth labels, thereby filtering out logical errors and achieving significant performance improvements on large-scale datasets through an integrated unsupervised trust scoring mechanism.
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 are trying to teach a young apprentice (a small computer program) how to sort millions of complex legal documents called patents. These documents are like dense, technical manuals written in a secret code. To help the apprentice learn, you hire a brilliant but occasionally distracted Master Teacher (a Large Language Model, or LLM) to read the documents and explain why a patent belongs in a specific category.
The problem? The Master Teacher is smart, but sometimes it gets confused, makes up facts, or gives explanations that don't quite fit the rules. If you just blindly tell the apprentice, "Listen to everything the Master says," the apprentice will learn those mistakes too.
This paper introduces a new teaching method called Self-Filtered Distillation (SFD). Instead of treating the Master's explanations as absolute truth, SFD treats them as "Trust Indicators"—like a quality control score that tells the apprentice how much to trust each lesson.
Here is how the system works, using simple analogies:
1. The Three "Trust Checks"
Before the apprentice learns from a specific explanation, the system runs the Master's answer through three different "filters" to see if it's reliable. Think of these as three different inspectors checking a product before it goes on the shelf:
Inspector #1: The "Consistency" Check (Self-Consistency)
- The Analogy: Imagine asking the Master Teacher the same question five times in a row. If they give you five slightly different stories each time, something is wrong. If they tell the same story every time, they are likely confident and stable.
- What it does: It checks if the Master gives the same logical explanation repeatedly. If the story changes too much, the system lowers the trust score.
Inspector #2: The "Dictionary" Check (Class Entailment Alignment)
- The Analogy: Imagine the Master says a patent about "antennas" belongs in the "Artificial Intelligence" section. But the official rulebook (the patent classification system) says antennas belong in "Telecommunications." The Master is using the right words but the wrong category.
- What it does: It compares the Master's explanation against the official definitions of the categories. If the explanation doesn't match the "dictionary definition" of the category, the trust score drops.
Inspector #3: The "Second Opinion" Check (LLM Agreement Scoring)
- The Analogy: Imagine the Master Teacher is overconfident and insists their wrong answer is right. This inspector is a different AI model acting as a judge. It looks at the explanation and the answer and asks, "Does this actually make sense?"
- What it does: It uses an independent AI to verify if the explanation is plausible. If the second AI says, "No, that's nonsense," the trust score goes down.
2. The "Weighted Learning" Process
Once these three inspectors give their scores, they are combined into a single Trust Score (from 0 to 1).
- High Trust Score: The explanation is consistent, matches the rulebook, and passes the second opinion. The apprentice learns this lesson hard and fast.
- Low Trust Score: The explanation is shaky, contradictory, or factually wrong. The apprentice still sees it, but the system tells them, "Don't worry too much about this one; it's probably a bad example."
- Zero Trust Score: If the score is too low, the system throws the example away completely so it doesn't confuse the apprentice.
3. The Results
The researchers tested this on a massive dataset of over 2 million patents (the USPTO-2M benchmark).
- Better Accuracy: By filtering out the "bad lessons," the apprentice (the student model) learned much faster and more accurately. In some cases, the system improved its ability to correctly sort patents by nearly 39% compared to older methods that didn't filter the teacher's mistakes.
- Human Approval: When human experts looked at the system's "Trust Scores," they agreed with them about 68% of the time. This means the computer's "gut feeling" about which explanations were good actually matched what a human expert thought.
Why This Matters
In the world of patents, a mistake isn't just a wrong answer; it can lead to legal disputes or missed inventions. This paper shows that we don't need to hire thousands of humans to check every single explanation. Instead, we can build a system that teaches itself to be careful, filtering out its own confusion before it ever teaches a student.
It turns the learning process from "blindly copying the teacher" into "critically evaluating the teacher," ensuring that the final system is reliable, transparent, and ready for high-stakes decisions.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.