Introduction
Machine learning (ML) models are increasingly deployed in high-stakes environments, yet they often struggle with "out-of-distribution" (OOD) data. When a model encounters scenarios underrepresented in its training set, it may produce nonsensical predictions that contradict fundamental domain principles—a phenomenon often referred to as "hallucination." This paper introduces a novel framework designed to bridge the gap between data-driven ML and human intuition, ensuring that models remain both accurate and trustworthy even when data is sparse.
The Challenge: Conflict Resolution
Domain experts, such as veteran sales executives or clinicians, possess "judgment"—an intuition derived from physical laws or years of experience that is not always captured in historical datasets. For example, in IT sales, a model might observe a few high-priced deals that were won for idiosyncratic reasons. Without sufficient data, the model might erroneously conclude that increasing prices improves the chance of winning.
The central challenge addressed here is conflict resolution: how can a system be built to follow the data when it is reliable, but defer to human expert judgment when the data runs thin?
The EJ-GAN Framework
The authors propose a three-part framework to manage the interplay between ML models and expert logic:
- EJ-GAN (Experts’ Judgment GAN): Rather than using a Generative Adversarial Network to create synthetic images, the researchers use it as a "sanity check" mechanism. The GAN learns the relationship between a specific "judgment variable" (e.g., Price) and all other features in the training set.
- Reliability Estimation: When a new data point is processed, the EJ-GAN attempts to predict the judgment variable. If the actual value deviates significantly from the GAN’s prediction, the system identifies the point as "unrepresentative" of the training distribution.
- Dynamic Weighting: The final output is a weighted average of the ML model’s prediction and the expert’s judgment. Using a sigmoid-based weighting function, the system dynamically shifts its reliance:
- Representative data triggers a higher weight for the ML model.
- Unrepresentative data triggers a higher weight for the Expert Judgment.
To evaluate this balance, the authors introduced a Combined Metric, calculated as the harmonic mean of traditional accuracy and "closeness" to expert judgment (measured via Jensen-Shannon Divergence).
Experimental Results
The framework was validated across three distinct environments:
- Synthetic Data: 100 datasets were used to simulate various functional conflicts (e.g., Sigmoid, Exponential) between data and experts.
- IT Services Case Study: Utilizing a real-world dataset of 4,695 B2B deals, the framework achieved a Combined Score of 0.889, significantly outperforming standard Supervised Learning (0.843) and Weak Supervision baselines.
- Financial Case Study: Using the "German Credit" dataset, the framework improved alignment with expert logic (0.907 vs. 0.810) with only a marginal impact on raw accuracy.
Statistical analysis confirmed these results were significant (p-value < 0.01), demonstrating that the GAN-based weighting effectively identifies when to trust human intuition over raw data.
Key Insights and The Trust-Accuracy Tradeoff
A primary takeaway of this research is the utility of GANs as OOD detectors. By treating a GAN’s inability to reconstruct a feature as a signal of data scarcity, the model gains a sense of its own limitations.
Furthermore, the authors argue that standard ML optimization—which focuses solely on accuracy—is insufficient for real-world adoption. A model that is 95% accurate but makes "obvious" mistakes in the remaining 5% will lose user trust. By sacrificing a negligible amount of accuracy to maintain alignment with expert logic, the EJ-GAN framework produces models that are far more viable for professional deployment.
Limitations and Future Directions
While promising, the current framework has several constraints:
- Single Variable Focus: The model currently ties expert judgment to a single variable, whereas real-world expertise often involves complex multi-variable interactions.
- Expert Bias: The system assumes the human expert is correct; if the expert's intuition is flawed, those flaws will be integrated into the model.
- Scalability: Future work is required to determine how this approach scales to high-dimensional data and how it might incorporate a consensus from multiple experts to mitigate individual bias.
Summary updated