NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AHMoSe: A knowledge-based visual support system for selecting regression machine learning models

Diego Rojo, Nyi Nyi Htun, Denis Parra, Robin De Croon, Katrien Verbert

Abstract

AHMoSe (Augmented by Human Model Selection) is a visual analytics system designed to bridge the gap between automated machine learning (AutoML) and domain expertise in regression tasks. In fields like viticulture, where data is often noisy and sparse, standard performance metrics like RMSE can be misleading. AHMoSe integrates model-agnostic explanations (SHAP) with expert-defined knowledge intervals to allow users to evaluate models based on their alignment with real-world intuition. Evaluation on a grape quality dataset demonstrates that human-guided selection can lead to a 6.3% to 16.0% improvement in RMSE on unseen data compared to standard AutoML leaderboards.

Introduction

In specialized fields such as agriculture, data is frequently sparse, noisy, and seasonal. While Automated Machine Learning (AutoML) can generate hundreds of models quickly, it often presents a "leaderboard" where multiple models have nearly identical performance metrics. This creates a "metric trap": a model with the lowest error on a training set might be "right for the wrong reasons," relying on feature relationships that contradict biological or physical laws. Domain experts often distrust these "black box" models because they lack the tools to incorporate their intuition into the selection process. AHMoSe addresses this by providing a visual bridge between human expertise and algorithmic output.

System Architecture

AHMoSe operates by synthesizing two distinct streams of information: domain knowledge and model data.

The AHMoSe conceptual framework, illustrating the integration of domain expert knowledge intervals with machine learning model explanations.
  1. Knowledge Stream: Domain experts define "knowledge intervals"—ranges where they expect a target value to fall based on specific input features (e.g., "If sugar content is between X and Y, quality should be between A and B").
  2. Data Stream: The system utilizes the SHAP (SHapley Additive exPlanations) framework to generate model-agnostic explanations. These SHAP values are translated from abstract effect space back into the actual units of the target variable (e.g., grape quality score), making them interpretable for non-ML experts.

Visual Analytics Interface

The core of the AHMoSe system is its interactive interface, which allows users to audit models based on their adherence to expert rules.

The AHMoSe user interface showing (a) the control panel, (b) knowledge-agreement dependence plots, and (c) Marimekko charts for model evaluation.
  • Knowledge-agreement Dependence Plots: These scatter plots display model predictions (dots) against expert expectations (green rectangles). Blue dots indicate agreement, while orange dots highlight conflicts where the model's logic deviates from expert intuition.
  • Marimekko Charts: This summary visualization encodes two critical dimensions: the width of a bar represents a feature's importance to the model, while the color-coded height shows the percentage of agreement with expert knowledge. This allows users to quickly identify "red flags," such as a model heavily weighting a feature it fundamentally misunderstands.

Evaluation and Results

The system was evaluated using a viticulture dataset from Central Greece (2010–2012) focused on predicting grape quality based on features like total soluble solids (TSS) and titratable acidity (TA). Models were trained on 2010–2011 data and tested on 2012 data to simulate real-world harvest prediction.

  • Quantitative Performance: Selecting a model based on the highest "Weighted Mean Agreement" (WMA) via AHMoSe resulted in a 6.3% decrease in RMSE on test data compared to the top-ranked model on the AutoML leaderboard. In scenarios with incomplete knowledge (where experts hadn't provided rules for all features), AHMoSe still facilitated a 16.0% improvement in error rates.
  • Qualitative Impact: Interviews with experts confirmed that the tool helped them "audit" models, detect data anomalies, and understand how different models characterized their products beyond simple accuracy metrics.

Conclusion

AHMoSe demonstrates that human-in-the-loop selection can identify models with more robust, biologically sound patterns that generalize better to future data. While currently limited to regression tasks and requiring some initial onboarding for domain experts, the system provides a vital framework for building trust in machine learning through visual consistency and expert alignment.

Summary updated

BibTeX
@inproceedings{rojo2021ahmose,
  author = {Diego Rojo and Nyi Nyi Htun and Denis Parra and Robin De Croon and Katrien Verbert},
  title = {{AHMoSe: A knowledge-based visual support system for selecting regression machine learning models}},
  booktitle = {Comput. Electron. Agric},
  year = {2021},
  doi = {10.1016/j.compag.2021.106183},
}
Figure