New Metric Assesses Logical Compliance of Predictive Models Beyond Accuracy.

Guillaume Olivier Delplanque (LIG), Pierre Genev\`es (LIG), Nabil Laya\"ida (LIG,TYREX), Zephirin Faure· June 19, 2026 View original

Summary

Researchers introduce the Rule Violation Score (RVS), a novel metric that quantifies how well predictive models adhere to predefined logical or domain-specific constraints, independent of predictive accuracy. RVS differentiates between hard and soft rules, can be computed via SQL queries, and reveals significant differences in logical compliance even among models with similar accuracy.

Machine learning models are typically evaluated based on predictive performance metrics like accuracy or error rates, which measure how closely predictions match ground truth. However, these metrics often fail to assess whether model outputs respect crucial logical or domain-specific constraints, which are vital in high-stakes applications such as healthcare, finance, and autonomous systems. In these fields, logical consistency can be as important as predictive accuracy, yet no standard metric currently captures this dimension. To address this gap, a new complementary evaluation metric called the Rule Violation Score (RVS) has been introduced. RVS quantifies the extent to which a predictive model adheres to a given set of logical rules, operating independently of its predictive accuracy. The score distinguishes between "hard rules" (strict constraints) and "soft rules" (statistical regularities), making it versatile for various scenarios. RVS can be applied to any dataset and any predictive model expressed over a relational vocabulary, with SQL queries automatically generated for Horn rules to facilitate computation. Evaluations on benchmarks involving knowledge graph link prediction and relational regression demonstrate that models achieving comparable predictive accuracy can exhibit vastly different levels of logical compliance. This reveals critical differences in model behavior that traditional metrics simply cannot capture, highlighting the importance of RVS for comprehensive model assessment.

Why it matters

For professionals deploying AI in critical applications, RVS provides an essential tool to ensure models not only perform accurately but also adhere to crucial business rules, ethical guidelines, or physical laws. This enhances trust, reliability, and safety in AI systems.

How to implement this in your domain

  1. 1Define a comprehensive set of logical and domain-specific rules relevant to your predictive models.
  2. 2Integrate the Rule Violation Score (RVS) into your model evaluation pipelines alongside traditional accuracy metrics.
  3. 3Use RVS to identify and address logical inconsistencies in model predictions, especially in high-stakes applications.
  4. 4Leverage RVS to evaluate the logical consistency of training datasets and refine poorly defined rules.
  5. 5Develop automated processes for generating SQL queries to compute RVS for various model types and datasets.

Who benefits

HealthcareFinanceAutonomous SystemsLegalTechCompliance

Key takeaways

  • Traditional accuracy metrics don't assess logical compliance in predictive models.
  • The Rule Violation Score (RVS) quantifies adherence to logical or domain-specific rules.
  • RVS differentiates between hard and soft rules and can be computed via SQL queries.
  • Models with similar accuracy can have vastly different logical compliance, revealed by RVS.

Original post by Guillaume Olivier Delplanque (LIG), Pierre Genev\`es (LIG), Nabil Laya\"ida (LIG,TYREX), Zephirin Faure

"arXiv:2606.20208v1 Announce Type: new 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…"

View on X

Originally posted by Guillaume Olivier Delplanque (LIG), Pierre Genev\`es (LIG), Nabil Laya\"ida (LIG,TYREX), Zephirin Faure on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses