Consistent Joint Decision-Making with Heterogeneous Learning Models

Hossein Rajaby Faghihi, Parisa Kordjamshidi

Abstract

Modern AI systems often utilize multiple heterogeneous models to solve complex, multi-level tasks. However, independent model outputs frequently lead to logical inconsistencies. This paper presents a framework that ensures logical consistency across diverse model predictions without additional training. By refining Integer Linear Programming (ILP) to account for model confidence, output space size, and historical accuracy, the proposed method effectively resolves contradictions in hierarchical classification and procedural reasoning tasks.

Introduction

Complex AI tasks, such as hierarchical image classification or procedural reasoning, often rely on a "committee" of models. For instance, one model might predict a high-level category (e.g., "Animal") while another predicts a fine-grained label (e.g., "Golden Retriever"). A significant challenge arises because these models are typically heterogeneous—possessing different architectures, training data, and output dimensions. Operating independently, they can produce "hallucinated" inconsistencies, such as labeling an object as a "Plant" at a high level but a "Chair" at a lower level.

While Integer Linear Programming (ILP) is a common tool for enforcing logical constraints during inference, standard implementations assume that raw probabilities from different models are directly comparable. In practice, a 0.7 probability from a binary classifier is not equivalent to a 0.7 probability from a 1,000-class classifier. This research addresses the need to normalize these disparate scores into a globally comparable format for robust joint decision-making.

Methods

The authors propose a refined ILP objective function that transforms local probabilities into "global scores" ($W$) using a scoring function $G$. This function incorporates three critical types of metadata:

  1. Prior Probability (Output Size): Scores are normalized by the number of possible classes ($N$) to account for the fact that models with larger output spaces naturally produce lower individual probabilities.
  2. Entropy and Confidence: The inverse of a label distribution's entropy is used as a weighting factor. Predictions from models with lower entropy (higher certainty) are given more weight in the global optimization.
  3. Expected Model Accuracy: Predictions are weighted based on the model's historical performance on a validation set, ensuring that more reliable models have a greater influence on the final decision.
Overview of the proposed framework for converting local decision probabilities into consistent global decisions using ILP.

These refined weights are processed by an ILP solver to identify the optimal set of labels that satisfy all predefined logical constraints, preventing the error propagation typical of sequential decoding systems.

Experimental Evaluation

The framework was evaluated across four diverse datasets:

  • Animal/Flower/Food: Hierarchical image classification (2 levels).
  • 20News: Text classification with a two-level hierarchy.
  • OK-VQA (COCO): Visual question-answering with a four-level hierarchy based on ConceptNet.
  • Propara: Procedural reasoning tracking entity actions and locations across multiple steps.

Results

The proposed method demonstrated significant improvements in both consistency and accuracy across all tasks.

Comparison of constraint satisfaction and set correctness across different models and datasets.

Key findings include:

  • 100% Logical Consistency: The refined ILP achieved full constraint satisfaction in all tasks, whereas baseline models often exhibited significant gaps (e.g., only 45.12% satisfaction in Propara).
  • Improved Set Correctness: In the Propara task, "Set Correctness" (the percentage of perfectly consistent and correct entity tracks) increased from 23.3% to 30.93%.
  • Accuracy Gains: On the OK-VQA dataset, the refined ILP improved the F1 score by over 4% compared to standard ILP.
  • Effective Normalization: Combining entropy and prior probability normalization proved most robust, preventing overconfident small-scale models from dominating the optimization.

Conclusion

This work highlights that raw neural network outputs are local measures that require normalization to serve as a "global currency" for joint inference. By treating inference as a global optimization problem with metadata-aware weighting, the framework ensures logical integrity in complex AI systems. Future research may explore integrating these comparability factors directly into the training phase to develop inherently consistent models.

Summary updated

BibTeX
@inproceedings{faghihi2024consistent,
  author = {Hossein Rajaby Faghihi and Parisa Kordjamshidi},
  title = {{Consistent Joint Decision-Making with Heterogeneous Learning Models}},
  booktitle = {EACL (Findings)},
  year = {2024},
}
Figure