GraCo: Towards GRammar Assisted COunterfactuals

  • Dhiraj Kumar Singh
  • , Allan de Lima
  • , Darian Reyes Fernández de Bulnes
  • , Conor Ryan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Counterfactual explanations effectively interpret model decisions by identifying input modifications that lead to different outputs. However, generating realistic and actionable counterfactuals is challenging due to the lack of methodologies that effectively capture complex feature relationships and user-imposed constraints. This study introduces GraCo, a novel counterfactual generation (CG) method driven by Grammatical Evolution. GraCo automatically incorporates feature-domain knowledge and user preferences to generate plausible and actionable counterfactuals. We evaluate its effectiveness through empirical validation against state-of-the-art methods across multiple datasets. We propose a goodness metric for CG that accounts for class probability shifts and the differences between the counterfactual and the original input. GraCo achieves an average goodness score of 0.6231 across four datasets, outperforming all the compared approaches.

Original languageEnglish
Title of host publicationGECCO 2025 Companion - Proceedings of the 2025 Genetic and Evolutionary Computation Conference Companion
EditorsGabriela Ochoa
PublisherAssociation for Computing Machinery, Inc
Pages423-426
Number of pages4
ISBN (Electronic)9798400714641
DOIs
Publication statusPublished - 11 Aug 2025
Event2025 Genetic and Evolutionary Computation Conference Companion, GECCO 2025 Companion - Malaga, Spain
Duration: 14 Jul 202518 Jul 2025

Publication series

NameGECCO 2025 Companion - Proceedings of the 2025 Genetic and Evolutionary Computation Conference Companion

Conference

Conference2025 Genetic and Evolutionary Computation Conference Companion, GECCO 2025 Companion
Country/TerritorySpain
CityMalaga
Period14/07/2518/07/25

Keywords

  • Actionable Explanation
  • Counterfactual Explanation
  • Explainable Artificial Intelligence
  • Grammatical Evolution
  • Plausible

Fingerprint

Dive into the research topics of 'GraCo: Towards GRammar Assisted COunterfactuals'. Together they form a unique fingerprint.

Cite this