← Latest papers
💬 NLP

DeonticBench: A Benchmark for Reasoning over Rules

This paper introduces DeonticBench, a comprehensive benchmark comprising 6,232 tasks across diverse U.S. legal and policy domains to evaluate and improve large language models' ability to perform complex, context-specific deontic reasoning through both natural language and symbolic Prolog-based workflows.

Original authors: Guangyao Dou, Luis Brena, Akhil Deo, William Jurayj, Jingyu Zhang, Nils Holzenberger, Benjamin Van Durme

Published 2026-04-07
📖 5 min read🧠 Deep dive

Original authors: Guangyao Dou, Luis Brena, Akhil Deo, William Jurayj, Jingyu Zhang, Nils Holzenberger, Benjamin Van Durme

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 a judge in a courtroom, but instead of a gavel, you have a giant, super-smart robot assistant. Your job is to decide cases based on a massive, confusing rulebook (like tax laws or airline policies). You ask the robot, "Based on these rules and this story, what's the verdict?"

For a long time, we hoped these robots (Large Language Models, or LLMs) could just "think" their way to the right answer, like a human lawyer reading a case. But often, they get it wrong. They might hallucinate a rule that doesn't exist, or they might do the math incorrectly, leading to dangerous mistakes in real life (like telling someone they don't owe taxes when they actually do).

This paper introduces DEONTICBENCH, a new "final exam" designed to test how well these robots can follow strict rules in high-stakes situations.

Here is a simple breakdown of what they did and what they found:

1. The Exam: DEONTICBENCH

Think of this benchmark as a giant, multi-subject test for AI. It doesn't ask the AI to write a poem or solve a simple math problem. Instead, it throws four very different, real-world rulebooks at the AI:

  • U.S. Federal Taxes: "If Alice is married and earns $36k, how much tax does she owe?"
  • Airline Baggage: "If Linda has a 95lb bag and is flying Business Class, how much does she pay?"
  • Immigration Appeals: "Based on this specific legal case, should the appeal be accepted or dismissed?"
  • Housing Laws: "In Michigan, can a landlord evict a tenant in municipal court?"

The exam has over 6,000 questions. Some are easy, but the "Hard Mode" questions are designed to trip up even the smartest robots.

2. The Two Ways to Take the Test

The researchers let the AI take the test in two different ways, like giving a student a calculator or asking them to do it in their head:

  • The "Brain Only" Method (Direct Reasoning): The AI reads the rules and the story, then just writes down the answer. It's like trying to solve a complex algebra problem in your head.
  • The "Translator" Method (Symbolic/Prolog): The AI acts as a translator. It reads the messy human rules and the story, then writes a computer program (in a language called Prolog) that a computer solver can run.
    • Analogy: Instead of the robot trying to be a lawyer, it becomes a programmer. It writes the code that calculates the answer. The computer then runs that code to get the result. This is supposed to be more accurate because computers are great at following code, even if they are bad at guessing.

3. The Results: The Robots Are Still Stumbling

The researchers tested the world's smartest AI models (like GPT-5, O3, and others) on this exam. The results were surprising and a bit worrying:

  • They are still bad at the hard stuff: Even the most advanced models only got about 44% to 46% of the hardest questions right. That's barely better than flipping a coin for some categories.
  • Thinking harder doesn't always help: You might think, "If the AI thinks longer and tries harder, it will get better." But the study found that just adding more "thinking time" didn't consistently fix the errors.
  • The "Translator" method is tricky: When the AI tried to write the computer code (Prolog), it often wrote code that looked right but had tiny bugs (like a missing semicolon or a wrong variable name), causing the whole program to crash.
  • Training helps, but not enough: The researchers tried to "teach" the AI specifically for this exam using special training techniques (like Reinforcement Learning). The AI got better at writing the code, but it still couldn't reliably solve the hardest problems.

4. Why Does This Matter?

Think of Deontic Reasoning as the difference between "What is the weather?" and "What are the rules for driving in the rain?"

  • Weather: If the AI guesses wrong, it's just a wrong forecast.
  • Rules: If the AI guesses wrong on a tax law or an immigration rule, a real person could lose their home, get fined thousands of dollars, or be deported.

The paper concludes that while AI is getting better at chatting and writing, it is still very fragile when it comes to following strict, complex rules. We cannot just trust these robots to be judges or tax auditors yet. They need better "training wheels" (like the symbolic code method) and much more reliable ways to ensure they don't make up rules or miss details.

The Big Takeaway

DEONTICBENCH is a reality check. It shows us that while AI is amazing at creative tasks, it is still struggling to be a reliable "rule-follower" in the real world. Before we let AI make legal or financial decisions, we need to figure out how to stop them from making simple, costly mistakes.

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 →