mlsanityData to 14 Oct 2026

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

arXiv 2507.05541 ↗First posted 7 Jul 2025cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 5 of its 8 references that are in the map. First posted on arXiv 7 Jul 2025.

Builds on

5 of 8 references.

References · 5

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
  3. 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
  4. 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Studycited by 37
  5. 2024Zero-shot LLM-guided Counterfactual Generation: A Case Study on NLP Model Evaluationcited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.