[Paper Review] A glass-box interactive machine learning approach for solving NP-hard problems with the human-in-the-loop
This paper proposes a glass-box interactive machine learning (iML) framework that integrates human-in-the-loop decision-making into Ant Colony Optimization (ACO) for solving NP-hard problems like the Traveling Salesman Problem (TSP). By introducing a Human-Interaction Matrix (HIM) and Human-Impact-Factor (HIF), the method enhances transparency and reduces search space through human-guided heuristic selection, achieving improved solution quality on benchmark TSP instances with minimal user intervention.
The goal of Machine Learning to automatically learn from data, extract knowledge and to make decisions without any human intervention. Such automatic (aML) approaches show impressive success. Recent results even demonstrate intriguingly that deep learning applied for automatic classification of skin lesions is on par with the performance of dermatologists, yet outperforms the average. As human perception is inherently limited, such approaches can discover patterns, e.g. that two objects are similar, in arbitrarily high-dimensional spaces what no human is able to do. Humans can deal only with limited amounts of data, whilst big data is beneficial for aML; however, in health informatics, we are often confronted with a small number of data sets, where aML suffer of insufficient training samples and many problems are computationally hard. Here, interactive machine learning (iML) may be of help, where a human-in-the-loop contributes to reduce the complexity of NP-hard problems. A further motivation for iML is that standard black-box approaches lack transparency, hence do not foster trust and acceptance of ML among end-users. Rising legal and privacy aspects, e.g. with the new European General Data Protection Regulations, make black-box approaches difficult to use, because they often are not able to explain why a decision has been made. In this paper, we present some experiments to demonstrate the effectiveness of the human-in-the-loop approach, particularly in opening the black-box to a glass-box and thus enabling a human directly to interact with an learning algorithm. We selected the Ant Colony Optimization framework, and applied it on the Traveling Salesman Problem, which is a good example, due to its relevance for health informatics, e.g. for the study of protein folding. From studies of how humans extract so much from so little data, fundamental ML-research also may benefit.
Motivation & Objective
- To address the limitations of black-box machine learning in safety-critical domains like health informatics, where transparency and explainability are essential.
- To reduce the computational complexity of NP-hard problems such as TSP by integrating human expertise through interactive learning.
- To improve trust and acceptance of ML systems by making decision processes transparent and interpretable.
- To comply with GDPR requirements by enabling explainable decisions and data deletion impacts.
- To explore synergies between human perception and algorithmic optimization in data-scarce scenarios.
Proposed method
- The approach extends the Ant Colony Optimization (ACO) algorithm with a Human-Interaction Matrix (HIM) that encodes human-provided heuristics to guide ant decisions.
- A Human-Impact-Factor (HIF) is introduced to modulate the influence of human input on the selection process, decoupling human guidance from pheromone updates.
- The algorithm alternates between ant-based optimization and user interaction phases, where users can pause, select nodes, and modify the HIM to steer the search.
- Pheromone updates are performed solely by ants based on solution quality, avoiding human-induced pheromone flooding.
- The system is implemented in JavaScript for browser-based, platform-independent deployment with real-time visualization of solution evolution.
- The method supports local search extensions by clustering large instances and reusing local solutions, as demonstrated on a 28-node TSP instance.
Experimental results
Research questions
- RQ1Can human-in-the-loop interaction improve the solution quality of ACO for NP-hard problems like TSP?
- RQ2How can human heuristics be effectively encoded and integrated into metaheuristics without disrupting the algorithmic pheromone dynamics?
- RQ3To what extent does the glass-box iML approach enhance transparency and trust in ML systems for medical and data-scarce applications?
- RQ4Can the proposed iML framework be scaled to complex, real-world problems such as protein folding or subspace clustering?
- RQ5How does the separation of human influence (via HIM) from pheromone updates affect convergence and solution stability?
Key findings
- The iML approach successfully improved ACO performance on benchmark TSP instances by enabling human-guided heuristic selection through the HIM and HIF components.
- The system achieved better solution quality than standard ACO on test instances, with the optimal solution (shown in red) being closely approached or matched after user-informed iterations.
- The browser-based implementation enabled real-time, interactive visualization of solution paths, with green lines updating to reflect shorter tours after each iteration.
- The separation of human influence from pheromone updates prevented pheromone flooding and maintained algorithmic stability.
- The method demonstrated scalability potential by enabling local search strategies on clustered instances, such as combining solutions from two 14-city TSP subproblems into a 28-node solution.
- The framework supports compliance with GDPR by enabling explainable decision-making and traceable human input in the learning process.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.