Skip to main content
QUICK REVIEW

[Paper Review] iFlip: Iterative Feedback-driven Counterfactual Example Refinement

Yilong Wang, Qianli Wang|arXiv (Cornell University)|Jan 4, 2026
Explainable Artificial Intelligence (XAI)Computer Science0 citations
TL;DR

iFlip proposes an iterative refinement framework that uses model confidence, feature attribution, and natural language feedback to generate valid counterfactuals with LLMs, achieving higher validity than baselines and improving data augmentation.

ABSTRACT

Counterfactual examples are minimal edits to an input that alter a model's prediction. They are widely employed in explainable AI to probe model behavior and in natural language processing (NLP) to augment training data. However, generating valid counterfactuals with large language models (LLMs) remains challenging, as existing single-pass methods often fail to induce reliable label changes, neglecting LLMs' self-correction capabilities. To explore this untapped potential, we propose iFlip, an iterative refinement approach that leverages three types of feedback, including model confidence, feature attribution, and natural language. Our results show that iFlip achieves an average 57.8% higher validity than the five state-of-the-art baselines, as measured by the label flipping rate. The user study further corroborates that iFlip outperforms baselines in completeness, overall satisfaction, and feasibility. In addition, ablation studies demonstrate that three components are paramount for iFlip to generate valid counterfactuals: leveraging an appropriate number of iterations, pointing to highly attributed words, and early stopping. Finally, counterfactuals generated by iFlip enable effective counterfactual data augmentation, substantially improving model performance and robustness.

Motivation & Objective

  • Motivate improving validity of counterfactuals generated by large language models (LLMs) for explainability and data augmentation.
  • Develop an iterative refinement method using multiple feedback signals to guide counterfactual edits.
  • Demonstrate the effectiveness of the approach through quantitative gains and user studies on validity and usability.

Proposed method

  • Leverage three feedback types: model confidence, feature attribution, and natural language guidance to refine counterfactuals.
  • Iteratively generate and refine counterfactuals through targeted edits informed by feedback.
  • Identify key factors driving validity, including appropriate iteration count, highlighting highly attributed words, and early stopping.
  • Evaluate counterfactuals via label flipping rate (validity) against five baselines and through ablation studies.
  • Demonstrate that counterfactuals can be used for effective data augmentation to improve model performance and robustness.

Experimental results

Research questions

  • RQ1Can iterative, feedback-driven refinement improve the validity of counterfactuals generated by LLMs?
  • RQ2What are the impacts of different feedback types (model confidence, feature attribution, natural language) on counterfactual quality?
  • RQ3How do iteration count, attribution focus, and early stopping affect validity and practicality?
  • RQ4Do iFlip-generated counterfactuals enhance downstream model performance when used for data augmentation?
  • RQ5Is the approach feasible and satisfactory from a user perspective?

Key findings

  • iFlip achieves, on average, 57.8% higher validity (label flipping rate) than five state-of-the-art baselines.
  • A user study shows iFlip outperforms baselines in completeness, overall satisfaction, and feasibility.
  • Ablation studies indicate three components are crucial: appropriate iteration count, targeting highly attributed words, and early stopping.
  • Counterfactuals generated by iFlip enable effective counterfactual data augmentation, substantially improving model performance and robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.