# Beyond Accuracy: Measuring Logical Compliance of Predictive Models

DevFeed: [Beyond Accuracy: Measuring Logical Compliance of Predictive Models](<https://devfeed.tech/articles/beyond-accuracy-measuring-logical-compliance-of-predictive-models-94488.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.20208>)

Author: Guillaume Olivier Delplanque (TYREX), Pierre Genev\\\`es (TYREX), Nabil Laya\\"ida (TYREX)

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Predictive AI](<https://devfeed.tech/topics/predictive-ai.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>)

Tags: [autonomous-systems](<https://devfeed.tech/tags/autonomous-systems.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ne](<https://devfeed.tech/tags/cs-ne.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [finance](<https://devfeed.tech/tags/finance.md>), [graph](<https://devfeed.tech/tags/graph.md>), [healthcare](<https://devfeed.tech/tags/healthcare.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [logical](<https://devfeed.tech/tags/logical.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [measuring](<https://devfeed.tech/tags/measuring.md>), [metric](<https://devfeed.tech/tags/metric.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [models](<https://devfeed.tech/tags/models.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-metrics](<https://devfeed.tech/tags/performance-metrics.md>), [queries](<https://devfeed.tech/tags/queries.md>), [regression](<https://devfeed.tech/tags/regression.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

The Rule Violation Score (RVS) measures how well predictive models comply with specified logical rules, complementing accuracy metrics that do not capture rule adherence. It distinguishes hard constraints from soft regularities, applies to datasets and models expressed over relational vocabularies, and can be computed with automatically generated SQL for Horn rules. RVS can also assess training data consistency and flag poorly defined rules. Across three benchmarks in knowledge graph link prediction and relational regression, the authors report that rule based, embedding based, and neuro symbolic models with similar predictive accuracy can differ substantially in logical compliance. This overview reflects the supplied abstract.

## Source excerpt

arXiv:2606.20208v2 Announce Type: replace-cross 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.