Who judges the judges? Governance from metrics: a runtime framework for continuous LLM compliance monitoring
This paper introduces "govllm," an open-source framework that implements "governance from metrics" to enable continuous LLM compliance monitoring under the EU AI Act by utilizing a panel of specialized small language models as regulatory judges to generate real-time compliance signals and flag uncertainty for human arbitration.
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
The Big Problem: The "Compliance Fiction"
Imagine you buy a car. Before you drive it off the lot, a mechanic gives it a once-over and says, "This car is safe." You sign the papers and drive away.
The paper argues that current AI systems are treated like that car. Developers run a test once, declare the AI "compliant" with laws (like the EU AI Act), and then let it loose in the real world. The authors call this the "Compliance Fiction."
The Reality: AI is not a static car; it's more like a pet. It learns, changes, and reacts to how you treat it. Just because it was "safe" on Tuesday doesn't mean it won't say something illegal or dangerous on Friday when a user tricks it or asks a weird question. The paper says we need to stop treating compliance as a one-time stamp and start treating it as a continuous heartbeat monitor.
The Solution: govllm (The "Governance Dashboard")
The authors built an open-source tool called govllm. Think of it as a dashboard installed inside the AI system that watches everything the AI says in real-time.
Instead of waiting for an annual audit, govllm checks every single answer the AI gives, right then and there, to see if it breaks the rules.
How It Works: The "Panel of Judges"
In a courtroom, you don't rely on one judge to decide a complex case; you have a jury. govllm does the same thing.
Specialized Judges: Instead of one AI checking everything, the system uses a panel of smaller, specialized AI models.
- One AI is the Privacy Expert (checking if personal data is leaked).
- One is the Security Guard (checking if someone is trying to hack the system).
- One is the Accessibility Officer (checking if the language is clear and fair).
- One is the Transparency Auditor (checking if the AI is lying about being human).
The "Profile-as-Jury" Concept: For every specific task (like writing a medical summary vs. summarizing a bank report), the system picks the specific "jury" needed for that job. It doesn't use a generic judge for everything.
The "Uncertainty Signal": This is a key innovation. Usually, if two judges disagree, we assume one is wrong and pick the majority.
- govllm's twist: If the specialized judges disagree, the system treats that disagreement as a red flag. It says, "Hey, the rules are blurry here. We humans need to step in and decide." It turns confusion into a signal for human oversight, rather than trying to hide the confusion.
The Experiments: Testing the Judges
The authors tested this system using four small, open-source AI models (ranging from 1.7 billion to 7 billion parameters) running entirely on a regular laptop. They didn't use massive cloud servers; they wanted to prove this could work locally and privately.
They created a "test bank" of 49 tricky questions and answers (like a driving test for AI) covering five major legal areas.
Key Findings:
- Size Doesn't Matter: The biggest AI (7 billion parameters) was actually the worst judge. The smaller, more specialized models often did a better job. Being "smart" in a general sense didn't make them good at following specific legal rules.
- The "Order" Trap: The judges were surprisingly sensitive to how the questions were asked. If you shuffled the order of the questions, some judges' scores dropped by 25%. This shows that small AI models can be easily confused by how a prompt is structured.
- No Perfect Judge: No single AI model was perfect at everything. Some were great at spotting privacy leaks but bad at spotting manipulation. This proved that the "Panel of Judges" approach is necessary because no one AI can do it all.
- The "Eloquent but Wrong" Problem: One judge (Mistral) was very consistent and gave clear reasons for its answers, but it was consistently wrong. It argued fluently for the wrong conclusion. This highlights that you can't just trust an AI because it sounds confident.
The "Compliance Gate"
The system includes a safety switch called the Compliance Gate.
- Imagine a bouncer at a club. If an AI model's score drops below a certain line (e.g., it starts leaking privacy data too often), the gate automatically closes.
- The system stops sending user requests to that model and puts it in "quarantine" until a human fixes it. This happens automatically, without waiting for a human to notice the problem.
Why "On-Premise" Matters
The authors insist this whole system must run locally (on the company's own computers), not in the cloud.
- Analogy: If you are a bank checking its own security, you don't want to send your secret customer data to a third-party cloud service just to get a "security check." That would be a security risk in itself.
- govllm ensures that the data never leaves the building, satisfying strict privacy laws (GDPR) and sovereignty requirements.
The Bottom Line
The paper argues that we cannot just "audit" AI once and forget it. We need a system that:
- Watches the AI 24/7 while it works.
- Uses a team of specialized, smaller AI judges rather than one giant, generic one.
- Treats disagreement between judges as a signal to call a human, not as a glitch to ignore.
- Automatically shuts down models that start breaking the rules.
It's a move from "Is this AI legal?" (a yes/no question asked once) to "Is this AI behaving legally right now?" (a continuous signal).
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.