Desirability Rating-Based Counterfactual (DeRaC) Framework for Complex Multi-Output Classification Problems
Abstract
1. Introduction
- 1.
- Formalizing the DeRaC framework for counterfactual generation in complex multi-output classification problems;
- 2.
- Establishing and demonstrating the utility of partially valid counterfactuals;
- 3.
- Optimizing counterfactual generation based on critical properties for classification problems with complex output spaces;
- 4.
- Comparing DeRaC against existing counterfactual generation methods, specifically within the context of complex multi-output classification.
2. Ambiguity of Counterfactual in Complex Multi-Output Classification Problems
2.1. Multi-Class Classification Problems
2.2. Complex Multi-Output Classification Problems
3. Literature Review
3.1. Problems with Complex Output Spaces in Machine Learning
3.2. XAI and Introduction of Counterfactual Explanation
3.3. Current Techniques for Counterfactual Generation
3.4. Applications and Extensions of Counterfactual Explanations
3.5. Counterfactual Explanation for Causal Understanding
3.6. Counterfactual for Complex Multi-Output Classification Problems
4. Desirability Rating-Based Counterfactual Framework for Complex Multi-Output Classification Problems—Methodology
4.1. Key Definitions and Scopes
- Binary Classification: a single output variable with two possible values.
- Nominal Multi-Class Classification: multiple output classes without inherent order.
- Ordinal Multi-Class Classification: multiple output classes with a defined order or ranking.
- Multi-Class Classification: multiple output classes with or without inherent order (includes both nominal and ordinal multi-class classification).
- Multi-Output Classification: multiple independent output variables, each with its own classification task.
4.2. Desirability Rating of Outputs and Instances
4.3. Valid and Partially Valid Counterfactual
4.4. Desirability Rating in the Counterfactual Search
- Perturbation Distance: a measure of how much the counterfactual x′ differs from the original instance x (e.g., L2 distance, Manhattan distance). This ensures minimal changes, which is a key principle of effective counterfactuals.
- Negative Desirability Rating: the negative of the desirability rating for the counterfactual. Maximizing the desirability rating is equivalent to minimizing its negative. This drives the search toward counterfactuals with higher validity.
- Portion of Features Changed: the fraction of features in x that are different in x′. This encourages minimality: counterfactuals with fewer changes are generally more actionable and easier to understand.
5. Finding Counterfactual with the DeRaC Framework—Experiments
5.1. Datasets Used
5.2. Model Training and Complex Multi-Output Classification
- MLP: hidden layer architectures {(32,), (64,), (128,), (64,64,), (128,128,)}, activation functions {ReLU, Tanh}, maximum iterations {200, 499, 999}, and initial learning rates {0.01, 0.001}.
- Random Forest: number of estimators {100, 200, 500}, maximum depth {5, 10, None}, and minimum samples for a split {2, 5}.
- SVM: regularization parameter {0.1, 1, 10}, kernel types {RBF, Linear}, and gamma values {0.01, 0.001}.
- GBM: learning rates {0.01, 0.1}, number of estimators {100, 500}, and maximum depth {3, 5, 10}.
5.3. Different Counterfactual Generation Methods
- 1.
- Powell’s Method: We employed Powell’s method [65] (implemented via the scipy.optimize library) to find a counterfactual output vector by iteratively searching for a direction of steepest descent.
- 2.
- Nelder–Mead Method: The counterfactual vector was obtained using the Nelder–Mead simplex algorithm [66] (implemented via the scipy.optimize library), which is a derivative-free optimization technique.
- 3.
- Genetic Algorithm (Custom Implementation): We implemented a Genetic Algorithm from scratch to evolve a population of candidate input vectors toward a desired target output.
- 4.
- Genetic Algorithm (DiCE Library): A Genetic Algorithm, leveraging the functionality provided by the DiCE library, was utilized to generate a desired solution through population-based optimization. For generating counterfactuals for multi-output problems, multiple separate counterfactuals are generated for each output, and the counterfactual with the highest desirability rating is selected.
- 5.
- Random Selection (DiCE Library): A random solution was chosen using the random selection functionality within the DiCE library, effectively exploring the feature space without a directed search. Similar to the previous method, multiple separate counterfactuals are generated for each output, and the best counterfactual is selected for multi-output problems.
5.4. Evaluation Metrics
- Average Distance:
- the average distance between the original input and the generated counterfactual across all samples and experimental runs. Lower distances indicate higher similarity to the original input.
- Validity:
- the score assigned by the desirability rating function to the generated counterfactual instances. Higher scores indicate that the counterfactuals more closely align with the desired outcome.
- Optimization Success:
- the proportion of counterfactual search processes that resulted in a valid counterfactual. This measures the efficacy of the optimization algorithm in finding successful solutions.
- Average Time to Solution:
- the average time (in milliseconds) required to generate a single valid counterfactual. Lower times indicate a more efficient generation process, capturing the computational cost associated with each optimization method.
5.5. Expected Results
6. Results
Illustrative Case Study and Model Interpretation
- 1.
- Feature Sensitivity: DeRaC reveals that the model’s decision boundary for this specific multi-output goal is most sensitively tied to the failures feature.
- 2.
- Explanation Clarity: Unlike the scattered perturbations in the DiCE method, DeRaC provides a clear, minimal set of changes. This allows a practitioner to conclude that according to the model, the target outcome is highly dependent on the student’s academic history (failures) rather than social factors like goout or Walc, thereby offering a much cleaner and more actionable interpretation of the model’s internal logic.
7. Discussion
Interpretability in Multi-Output Contexts
8. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cao, L. AI in finance: Challenges, techniques, and opportunities. ACM Comput. Surv. (CSUR) 2022, 55, 1–38. [Google Scholar]
- Goswami, G.; Bhardwaj, R.; Singh, R.; Vatsa, M. MDLFace: Memorability augmented deep learning for video face recognition. In IEEE International Joint Conference on Biometrics; IEEE: Piscataway, NJ, USA, 2014; pp. 1–7. [Google Scholar]
- Sarker, I.H.; Furhad, M.H.; Nowrozy, R. AI-driven cybersecurity: An overview, security intelligence modeling and research directions. SN Comput. Sci. 2021, 2, 173. [Google Scholar] [CrossRef]
- Verma, S.; Boonsanong, V.; Hoang, M.; Hines, K.E.; Dickerson, J.P.; Shah, C. Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Review. arXiv 2022, arXiv:2010.10596. [Google Scholar] [CrossRef]
- Guidotti, R. Counterfactual explanations and how to find them: Literature review and benchmarking. Data Min. Knowl. Discov. 2024, 38, 2770–2824. [Google Scholar] [CrossRef]
- Mothilal, R.K.; Sharma, A.; Tan, C. Explaining machine learning classifiers through diverse counterfactual explanations. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, Barcelona, Spain, 27–30 January 2020; pp. 607–617. [Google Scholar] [CrossRef]
- Fisher, R.A. Iris. UCI Machine Learning Repository. 1936. Available online: https://archive.ics.uci.edu/dataset/53/iris (accessed on 26 May 2025).
- Cortez, P.; Cerdeira, A.; Almeida, F.; Matos, T.; Reis, J. Wine Quality. UCI Machine Learning Repository. 2009. Available online: https://archive.ics.uci.edu/dataset/186/wine+quality (accessed on 26 May 2025).
- Marcinkevičs, R.; Vogt, J.E. Interpretable and explainable machine learning: A methods-centric overview with concrete examples. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 2023, 13, e1493. [Google Scholar] [CrossRef]
- Ali, S.; Abuhmed, T.; El-Sappagh, S.; Muhammad, K.; Alonso-Moral, J.M.; Confalonieri, R.; Guidotti, R.; Del Ser, J.; Díaz-Rodríguez, N.; Herrera, F. Explainable Artificial Intelligence (XAI): What we know and what is left to attain Trustworthy Artificial Intelligence. Inf. Fusion 2023, 99, 101805. [Google Scholar] [CrossRef]
- Džeroski, S.; Demšar, D.; Grbović, J. Predicting Chemical Parameters of River Water Quality from Bioindicator Data. Appl. Intell. 2000, 13, 7–17. [Google Scholar] [CrossRef]
- Li, H.; Zhang, W.; Chen, Y.; Guo, Y.; Li, G.Z.; Zhu, X. A novel multi-target regression framework for time-series prediction of drug efficacy. Sci. Rep. 2017, 7, 40652. [Google Scholar] [CrossRef] [PubMed]
- Borchani, H.; Varando, G.; Bielza, C.; Larrañaga, P. A survey on multi-output regression. WIREs Data Min. Knowl. Discov. 2015, 5, 216–233. [Google Scholar] [CrossRef]
- Xu, D.; Shi, Y.; Tsang, I.W.; Ong, Y.S.; Gong, C.; Shen, X. Survey on Multi-Output Learning. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 2409–2429. [Google Scholar] [CrossRef]
- Wachter, S.; Mittelstadt, B.; Russell, C. Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR. Harv. J. Law Technol. (Harv. JOLT) 2017, 31, 841–888. [Google Scholar] [CrossRef]
- Bodria, F.; Giannotti, F.; Guidotti, R.; Naretto, F.; Pedreschi, D.; Rinzivillo, S. Benchmarking and survey of explanation methods for black box models. Data Min. Knowl. Discov. 2023, 37, 1719–1778. [Google Scholar] [CrossRef]
- Stepin, I.; Alonso, J.M.; Catala, A.; Pereira-Fariña, M. A survey of contrastive and counterfactual explanation generation methods for explainable artificial intelligence. IEEE Access 2021, 9, 11974–12001. [Google Scholar] [CrossRef]
- Keane, M.T.; Kenny, E.M.; Delaney, E.; Smyth, B. If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniques. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, Montreal, QC, Canada, 16–22 August 2021; pp. 4466–4474. [Google Scholar] [CrossRef]
- Laugel, T.; Jeyasothy, A.; Lesot, M.J.; Marsala, C.; Detyniecki, M. Achieving diversity in counterfactual explanations: A review and discussion. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency, Chicago, IL, USA, 12–15 June 2023; pp. 1859–1869. [Google Scholar]
- Jiang, J.; Leofante, F.; Rago, A.; Toni, F. Robust counterfactual explanations in machine learning: A survey. arXiv 2024, arXiv:2402.01928. [Google Scholar] [CrossRef]
- Mertes, S.; Huber, T.; Weitz, K.; Heimerl, A.; André, E. Ganterfactual—Counterfactual explanations for medical non-experts using generative adversarial learning. Front. Artif. Intell. 2022, 5, 825565. [Google Scholar] [CrossRef]
- Del Ser, J.; Barredo-Arrieta, A.; Díaz-Rodríguez, N.; Herrera, F.; Saranti, A.; Holzinger, A. On generating trustworthy counterfactual explanations. Inf. Sci. 2024, 655, 119898. [Google Scholar] [CrossRef]
- Pawelczyk, M.; Agarwal, C.; Joshi, S.; Upadhyay, S.; Lakkaraju, H. Exploring counterfactual explanations through the lens of adversarial examples: A theoretical and empirical analysis. In Proceedings of the International Conference on Artificial Intelligence and Statistics, PMLR, Virtual, 28–30 March 2022; pp. 4574–4594. [Google Scholar]
- Maaroof, N.; Moreno, A.; Valls, A.; Jabreel, M.; Romero-Aroca, P. Multi-Class Fuzzy-LORE: A Method for Extracting Local and Counterfactual Explanations Using Fuzzy Decision Trees. Electronics 2023, 12, 2215. [Google Scholar] [CrossRef]
- Dastile, X.; Celik, T. Counterfactual explanations with multiple properties in credit scoring. IEEE Access 2024, 12, 110713–110728. [Google Scholar] [CrossRef]
- Prado-Romero, M.A.; Prenkaj, B.; Stilo, G.; Celi, A.; Estevanell-Valladares, E.L.; Pérez, D.A.V. Ensemble Approaches for Graph Counterfactual Explanations. In CEUR Workshop Proceedings; RWTH Aachen University: Aachen, Germany, 2022; pp. 88–97. [Google Scholar]
- De Toni, G.; Lepri, B.; Passerini, A. Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesis. Mach. Learn. 2023, 112, 1389–1409. [Google Scholar] [CrossRef]
- Kanamori, K.; Takagi, T.; Kobayashi, K.; Ike, Y.; Uemura, K.; Arimura, H. Ordered counterfactual explanation by mixed-integer linear optimization. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021; Volume 35, pp. 11564–11574. [Google Scholar]
- Maiti, A.; Plecko, D.; Bareinboim, E. Counterfactual Identification Under Monotonicity Constraints. In Proceedings of the AAAI Conference on Artificial Intelligence, Philadelphia, PA, USA, 25 February–4 March 2025; Volume 39, pp. 26841–26850. [Google Scholar]
- Zhou, G.; Yao, L.; Xu, X.; Wang, C.; Zhu, L. Learning to infer counterfactuals: Meta-learning for estimating multiple imbalanced treatment effects. arXiv 2022, arXiv:2208.06748. [Google Scholar] [CrossRef]
- Cheng, F.; Ming, Y.; Qu, H. DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Models. IEEE Trans. Vis. Comput. Graph. 2021, 27, 1438–1447. [Google Scholar] [CrossRef] [PubMed]
- Oprea, S.V.; Bâra, A. Customer-centric decision-making with XAI and counterfactual explanations for churn mitigation. J. Theor. Appl. Electron. Commer. Res. 2025, 20, 129. [Google Scholar] [CrossRef]
- Oprea, S.V.; Bâra, A. Diverse counterfactual explanations (DiCE) role in improving sales and e-commerce strategies. J. Theor. Appl. Electron. Commer. Res. 2025, 20, 96. [Google Scholar] [CrossRef]
- Wexler, J.; Pushkarna, M.; Bolukbasi, T.; Wattenberg, M.; Viegas, F.; Wilson, J. The What-If Tool: Interactive Probing of Machine Learning Models. IEEE Trans. Vis. Comput. Graph. 2019, 26, 26–65. [Google Scholar] [CrossRef]
- Tenney, I.; Wexler, J.; Bastings, J.; Bolukbasi, T.; Coenen, A.; Gehrmann, S.; Jiang, E.; Pushkarna, M.; Radebaugh, C.; Reif, E.; et al. The language interpretability tool: Extensible, interactive visualizations and analysis for NLP models. arXiv 2020, arXiv:2008.05122. [Google Scholar] [CrossRef]
- Krause, J.; Perer, A.; Ng, K. Interacting with Predictions: Visual Inspection of Black-box Machine Learning Models. In Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems, San Jose, CA, USA, 7–12 May 2016; pp. 5686–5697. [Google Scholar] [CrossRef]
- Ming, Y.; Qu, H.; Bertini, E. RuleMatrix: Visualizing and Understanding Classifiers with Rules. IEEE Trans. Vis. Comput. Graph. 2019, 25, 342–352. [Google Scholar] [CrossRef]
- Gathani, S.; Hulsebos, M.; Gale, J.; Haas, P.J.; Demiralp, Ç. Augmenting decision making via interactive what-if analysis. arXiv 2021, arXiv:2109.06160. [Google Scholar]
- Gomez, O.; Holter, S.; Yuan, J.; Bertini, E. ViCE: Visual counterfactual explanations for machine learning models. In Proceedings of the 25th International Conference on Intelligent User Interfaces, Cagliari, Italy, 17–20 March 2020; pp. 531–535. [Google Scholar] [CrossRef]
- Kshetry, N.; Kantardzic, M. What-if XAI framework (WiXAI): From counterfactuals towards causal understanding. J. Comput. Commun. 2024, 12, 169–198. [Google Scholar] [CrossRef]
- Goyal, Y.; Wu, Z.; Ernst, J.; Batra, D.; Parikh, D.; Lee, S. Counterfactual visual explanations. In Proceedings of the International Conference on Machine Learning, PMLR, Long Beach, CA, USA, 9–15 June 2019; pp. 2376–2384. [Google Scholar]
- Kenny, E.M.; Delaney, E.D.; Greene, D.; Keane, M.T. Post-hoc explanation options for xai in deep learning: The insight centre for data analytics perspective. In International Conference on Pattern Recognition; Springer: Cham, Switzerland, 2021; pp. 20–34. [Google Scholar]
- Akula, A.R.; Wang, K.; Liu, C.; Saba-Sadiya, S.; Lu, H.; Todorovic, S.; Chai, J.; Zhu, S.C. CX-ToM: Counterfactual explanations with theory-of-mind for enhancing human trust in image recognition models. iScience 2022, 25, 103581. [Google Scholar] [CrossRef] [PubMed]
- Kenny, E.M.; Keane, M.T. On generating plausible counterfactual and semi-factual explanations for deep learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 2–9 February 2021; Volume 35, pp. 11575–11585. [Google Scholar]
- Thiagarajan, J.J.; Thopalli, K.; Rajan, D.; Turaga, P. Training calibration-based counterfactual explainers for deep learning models in medical image analysis. Sci. Rep. 2022, 12, 597. [Google Scholar] [CrossRef]
- Alipour, K.; Lahiri, A.; Adeli, E.; Salimi, B.; Pazzani, M. Explaining image classifiers using contrastive counterfactuals in generative latent spaces. arXiv 2022, arXiv:2206.05257. [Google Scholar] [CrossRef]
- Zhao, W.; Oyama, S.; Kurihara, M. Generating natural counterfactual visual explanations. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, Yokohama, Japan, 7–15 January 2021; pp. 5204–5205. [Google Scholar]
- Robeer, M.; Bex, F.; Feelders, A. Generating realistic natural language counterfactuals. In Findings of the Association for Computational Linguistics: EMNLP 2021; Association for Computational Linguistics: Stroudsburg, PA, USA, 2021; pp. 3611–3625. [Google Scholar]
- Arie, A.B.; Deutch, D.; Frost, N.; Horesh, Y.; Meyuhas, I. Optimizing Counterfactual-based Analysis of Machine Learning Models Through Databases. In Proceedings of the 27th International Conference on Extending Database Technology, EDBT 2024, Paestum, Italy, 25–28 March 2024; pp. 597–609. [Google Scholar]
- Piccialli, V.; Morales, D.R.; Salvatore, C. Supervised feature compression based on counterfactual analysis. Eur. J. Oper. Res. 2024, 317, 273–285. [Google Scholar] [CrossRef]
- Artelt, A.; Gregoriades, A. “How to make them stay?”—Diverse Counterfactual Explanations of Employee Attrition. arXiv 2023, arXiv:2303.04579. [Google Scholar]
- Gao, R.; Biggs, M.; Sun, W.; Han, L. Enhancing counterfactual classification via self-training. arXiv 2021, arXiv:2112.04461. [Google Scholar] [CrossRef]
- Temraz, M.; Keane, M.T. Solving the class imbalance problem using a counterfactual method for data augmentation. Mach. Learn. Appl. 2022, 9, 100375. [Google Scholar] [CrossRef]
- Sohns, J.T.; Garth, C.; Leitte, H. Decision boundary visualization for counterfactual reasoning. In Computer Graphics Forum; Wiley Online Library: Hoboken, NJ, USA, 2023; Volume 42, pp. 7–20. [Google Scholar]
- Mahajan, D.; Tan, C.; Sharma, A. Preserving causal constraints in counterfactual explanations for machine learning classifiers. arXiv 2019, arXiv:1912.03277. [Google Scholar]
- Duong, T.D.; Li, Q.; Xu, G. Causality-based counterfactual explanation for classification models. Knowl.-Based Syst. 2024, 300, 112200. [Google Scholar] [CrossRef]
- Xia, K.; Pan, Y.; Bareinboim, E. Neural causal models for counterfactual identification and estimation. arXiv 2022, arXiv:2210.00035. [Google Scholar] [CrossRef]
- Crupi, R.; González, B.S.M.; Castelnovo, A.; Regoli, D. Leveraging Causal Relations to Provide Counterfactual Explanations and Feasible Recommendations to End Users. In Proceedings of the 14th International Conference on Agents and Artificial Intelligenc ICAART (2); SCITEPRESS—Science and Technology Publications: Setúbal, Portugal, 2022; pp. 24–32. [Google Scholar]
- Carlevaro, A.; Lenatti, M.; Paglialonga, A.; Mongelli, M. MultiClass Counterfactual Explanations using Support Vector Data Description. IEEE Trans. Artif. Intell. 2023, 5, 3046–3056. [Google Scholar] [CrossRef]
- Caron, A.; Baio, G.; Manolopoulou, I. Counterfactual Learning with Multioutput Deep Kernels. arXiv 2022, arXiv:2211.11119. [Google Scholar] [CrossRef]
- Parbhoo, S.; Bauer, S.; Schwab, P. Ncore: Neural counterfactual representation learning for combinations of treatments. arXiv 2021, arXiv:2103.11175. [Google Scholar] [CrossRef]
- Mushroom. UCI Machine Learning Repository. 1981. Available online: https://archive.ics.uci.edu/dataset/73/mushroom (accessed on 26 May 2025).
- Cortez, P. Student Performance. UCI Machine Learning Repository. 2008. Available online: https://archive.ics.uci.edu/dataset/320/student+performance (accessed on 26 May 2025).
- Becker, B.; Kohavi, R. Adult. UCI Machine Learning Repository. 1996. Available online: https://archive.ics.uci.edu/dataset/2/adult (accessed on 26 May 2025).
- Powell, M.J.D. An efficient method for finding the minimum of a function of several variables without calculating derivatives. Comput. J. 1964, 7, 155–162. [Google Scholar] [CrossRef]
- Gao, F.; Han, L. Implementing the Nelder-Mead simplex algorithm with adaptive parameters. Comput. Optim. Appl. 2012, 51, 259–277. [Google Scholar] [CrossRef]
- Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [PubMed]











| Property | Description |
|---|---|
| Validity | A counterfactual is valid if it changes the classification outcome: . |
| Minimality (Sparsity) | is minimal if it has the fewest attribute changes compared to other valid counterfactuals . |
| Similarity (Proximity) | should be close to x based on a distance function d: , where is a predefined threshold. This is also referred to as proximity. |
| Plausibility | should have feature values consistent with a reference population X. Values should be realistic and not outliers within X. This is also known as feasibility or reliability. |
| Discriminative Power | should clearly demonstrate the reasons for the change in prediction. A human observing x and should understand the differing classification. |
| Actionability | should only differ from x in terms of actionable features (features that can be changed). Immutable features should remain constant. This is also known as recourse. |
| Causality | should respect known causal relationships between features, as defined by a Directed Acyclic Graph (DAG). Changes in features should maintain established causal links. |
| Diversity | A set of counterfactuals should be diverse, maximizing the difference between the counterfactuals while maintaining minimality and similarity. |
| Dataset Name | Description | Output Type/Problem | Number of Outputs | Key Features |
|---|---|---|---|---|
| Mushroom Dataset [62] | Classifies mushrooms as edible or poisonous based on 22 features. | Categorical, Multi-class Classification (Edible/Poisonous + Habitat) | 2 | 22 Features |
| Student Performance Dataset [63] | Information about students’ performance in secondary school (grades, demographics). | Binary Classification (Above/Below Average) | 3 (First, Second, Final Period) | Grades in First, Second, and Final Periods, Demographic Features |
| Wine Dataset [8] | Chemical properties of wines and a quality rating. | Ordinal Multi-class Classification | 1 | Chemical Properties |
| Adult Income Dataset [64] | Demographic features of individuals. | Binary Classification (Income > or <$50K/year) | 1 | Education, Age, Marital Status, etc. |
| Metrics | Powell’s Method | Genetic Algorithm | DiCE (GA) | DiCE (Rand.) |
|---|---|---|---|---|
| Distance (Equal Weights) | 7.398 | 4.118 | 2.551 | 0.909 |
| Distance (Random Weights) | 7.514 | 4.095 | 2.611 | 0.979 |
| Distance (Mixed Objective) | 0.897 | 1.864 | 2.536 | 0.878 |
| Time in Milliseconds (Equal Weights) | 1358.96 | 9479.89 | 444.96 | 3758.152 |
| Time in Milliseconds (Random Weights) | 2246.627 | 15,851.816 | 603.481 | 1694.52 |
| Time in Milliseconds (Mixed Objective) | 1178.448 | 2217.728 | 328.514 | 979.416 |
| CF Desirability (Equal Weights) | 0.872 | 0.877 | 0.698 | 0.683 |
| CF Desirability (Random Weights) | 0.851 | 0.912 | 0.719 | 0.708 |
| CF Desirability (Mixed Objective) | 0.889 | 0.805 | 0.729 | 0.694 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Kshetry, N.; Kantardzic, M. Desirability Rating-Based Counterfactual (DeRaC) Framework for Complex Multi-Output Classification Problems. Mach. Learn. Knowl. Extr. 2026, 8, 109. https://doi.org/10.3390/make8040109
Kshetry N, Kantardzic M. Desirability Rating-Based Counterfactual (DeRaC) Framework for Complex Multi-Output Classification Problems. Machine Learning and Knowledge Extraction. 2026; 8(4):109. https://doi.org/10.3390/make8040109
Chicago/Turabian StyleKshetry, Neelabh, and Mehmed Kantardzic. 2026. "Desirability Rating-Based Counterfactual (DeRaC) Framework for Complex Multi-Output Classification Problems" Machine Learning and Knowledge Extraction 8, no. 4: 109. https://doi.org/10.3390/make8040109
APA StyleKshetry, N., & Kantardzic, M. (2026). Desirability Rating-Based Counterfactual (DeRaC) Framework for Complex Multi-Output Classification Problems. Machine Learning and Knowledge Extraction, 8(4), 109. https://doi.org/10.3390/make8040109

