Beyond Accuracy: Measuring Logical Compliance of Predictive Models

Guillaume Olivier Delplanque, Pierre Genevès, Nabil Layaïda, Zephirin Faure
6/18/2026
cs.AIcs.DBcs.NE

No confident code implementation found for this paper.

Abstract

Machine learning models are predominantly evaluated through predictive performance metrics such as ranking quality, prediction error, or classification accuracy. While these metrics effectively quantify how closely predictions match the ground truth, they do not assess whether model outputs respect predefined logical or domain-specific constraints. In high-stakes applications, including healthcare, finance, and autonomous systems, logical consistency can be as critical as predictive accuracy, yet no standard metric captures this dimension. We introduce the Rule Violation Score (RVS), a complementary evaluation metric that quantifies the extent to which a predictive model respects a given set of logical rules, independently of predictive accuracy. RVS treats hard rules (strict constraints) and soft rules (statistical regularities) differently, can be evaluated on any dataset and on any predictive model expressed over a relational vocabulary, and can be computed using SQL queries that are automatically generated for Horn rules. Beyond evaluating models, RVS can also evaluate the logical consistency of training datasets and help identify poorly defined rules. We evaluate RVS on three benchmarks covering knowledge graph link prediction and relational regression, including rule-based, embedding-based, and neuro-symbolic predictive models. Our results demonstrate that two models achieving comparable predictive accuracy can exhibit substantially different levels of logical compliance, revealing differences in model behavior that standard metrics fail to capture.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{delplanque2026beyond,
  title  = {Beyond Accuracy: Measuring Logical Compliance of Predictive Models},
  author = {Guillaume Olivier Delplanque and Pierre Genevès and Nabil Layaïda and Zephirin Faure},
  year   = {2026},
  eprint = {2606.20208},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.20208v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.20208.svg)](https://codeofpaper.com/paper/2606.20208)

Discussion