SenseCF: LLM-Prompted Counterfactuals for Intervention and Sensor Data Augmentation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Soumma, Shovito Barua, Arefeen, Asiful, Carpenter, Stephanie M., Hingle, Melanie, Ghasemzadeh, Hassan
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908523703566336
author Soumma, Shovito Barua
Arefeen, Asiful
Carpenter, Stephanie M.
Hingle, Melanie
Ghasemzadeh, Hassan
author_facet Soumma, Shovito Barua
Arefeen, Asiful
Carpenter, Stephanie M.
Hingle, Melanie
Ghasemzadeh, Hassan
contents Counterfactual explanations (CFs) offer human-centric insights into machine learning predictions by highlighting minimal changes required to alter an outcome. Therefore, CFs can be used as (i) interventions for abnormality prevention and (ii) augmented data for training robust models. In this work, we explore large language models (LLMs), specifically GPT-4o-mini, for generating CFs in a zero-shot and three-shot setting. We evaluate our approach on two datasets: the AI-Readi flagship dataset for stress prediction and a public dataset for heart disease detection. Compared to traditional methods such as DiCE, CFNOW, and NICE, our few-shot LLM-based approach achieves high plausibility (up to 99%), strong validity (up to 0.99), and competitive sparsity. Moreover, using LLM-generated CFs as augmented samples improves downstream classifier performance (an average accuracy gain of 5%), especially in low-data regimes. This demonstrates the potential of prompt-based generative techniques to enhance explainability and robustness in clinical and physiological prediction tasks. Code base: github.com/shovito66/SenseCF.
format Preprint
id arxiv_https___arxiv_org_abs_2507_05541
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SenseCF: LLM-Prompted Counterfactuals for Intervention and Sensor Data Augmentation
Soumma, Shovito Barua
Arefeen, Asiful
Carpenter, Stephanie M.
Hingle, Melanie
Ghasemzadeh, Hassan
Artificial Intelligence
Counterfactual explanations (CFs) offer human-centric insights into machine learning predictions by highlighting minimal changes required to alter an outcome. Therefore, CFs can be used as (i) interventions for abnormality prevention and (ii) augmented data for training robust models. In this work, we explore large language models (LLMs), specifically GPT-4o-mini, for generating CFs in a zero-shot and three-shot setting. We evaluate our approach on two datasets: the AI-Readi flagship dataset for stress prediction and a public dataset for heart disease detection. Compared to traditional methods such as DiCE, CFNOW, and NICE, our few-shot LLM-based approach achieves high plausibility (up to 99%), strong validity (up to 0.99), and competitive sparsity. Moreover, using LLM-generated CFs as augmented samples improves downstream classifier performance (an average accuracy gain of 5%), especially in low-data regimes. This demonstrates the potential of prompt-based generative techniques to enhance explainability and robustness in clinical and physiological prediction tasks. Code base: github.com/shovito66/SenseCF.
title SenseCF: LLM-Prompted Counterfactuals for Intervention and Sensor Data Augmentation
topic Artificial Intelligence
url https://arxiv.org/abs/2507.05541