With the development and proliferation of large, complex, black-box models for solving many natural language processing (NLP) tasks, there is also an increasing necessity of methods to stress-test these models and provide some degree of interpretability or explainability. While counterfactual examples are useful in this regard, automated generation of counterfactuals is a data and resource intensive process. such methods depend on models such as pre-trained language models that are then fine-tuned on auxiliary, often task-specific datasets, that may be infeasible to build in practice, especially for new tasks and data domains. Therefore, in this work we explore the possibility of leveraging large language models (LLMs) for zero-shot counterfactual generation in order to stress-test NLP models. We propose a structured pipeline to facilitate this generation, and we hypothesize that the instruction-following and textual understanding capabilities of recent LLMs can be effectively leveraged for generating high quality counterfactuals in a zero-shot manner, without requiring any training or fine-tuning. Through comprehensive experiments on a variety of propreitary and open-source LLMs, along with various downstream tasks in NLP, we explore the efficacy of LLMs as zero-shot counterfactual generators in evaluating and explaining black-box NLP models.
FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generation
Quality and Usability Lab, Technische Universität Berlin(柏林技术大学质量与可用性实验室);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Deutsche Telekom(德国电信);Saarland Informatics Campus(萨尔州信息学校区);Centre for European Research in Trusted AI (CERTAIN)(可信人工智能欧洲研究中心);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究院)
BiPACE: Bisimulation-Guided Policy Optimization with Action Counterfactual Estimation for LLM Agents
University of Chicago(芝加哥大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Stanford University(斯坦福大学);University of Science and Technology of China(中国科学技术大学);Meituan(美团)
Benchmarking Retrieval-Augmented Large Language Models in Biomedical NLP: Application, Robustness, and Self-Awareness
Division of Computational Health Sciences, Department of Surgery University of Minnesota(大学医学计算科学系,外科系);Institute for Health Informatics University of Minnesota(健康信息学研究所,明尼苏达大学);Department of Electrical and Computer Engineering University of Minnesota(电气与计算机工程系,明尼苏达大学)
MetaPlate: Counterfactual-Guided RAG-LLM Tool for Personalized Food Recommendation and Hyperglycemia Prevention
College of Health Solutions, Arizona State University(亚利桑那州立大学健康解决方案学院);School of Computing and Augmented Intelligence, Arizona State University(亚利桑那州立大学计算与增强智能学院)
People Make Better Edits: Measuring the Efficacy of LLM-Generated Counterfactually Augmented Data for Harmful Language Detection
RWTH Aachen University(亚琛工业大学);University of Konstanz(康斯坦茨大学);GESIS - Leibniz Institute for Social Sciences(GESIS-莱布尼茨社会科学研究所);Sapienza University of Rome(罗马智慧大学);University of Copenhagen(哥本哈根大学)
Measuring and Improving Attentiveness to Partial Inputs with Counterfactuals
Allen Institute for AI(艾伦人工智能研究所);University of Washington(华盛顿大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Utah(犹他大学);University of California, Irvine(加利福尼亚大学欧文分校)
CHiRPE: A Step Towards Real-World Clinical NLP with Clinician-Oriented Model Explanations
Orygen and The University of Melbourne(Orygen和墨尔本大学);AIM for Health Lab, Monash University(AIM for Health实验室,墨尔本大学);University of Liverpool(利物浦大学);Yale School of Medicine, Yale University(耶鲁医学院,耶鲁大学);Brigham and Women’s Hospital, Harvard Medical School(哈佛医学院布里奇沃特医院)
DeFacto: Counterfactual Thinking with Images for Enforcing Evidence-Grounded and Faithful Reasoning
Department of Automation, Tsinghua University, Beijing, China(清华大学自动化系);Zhongguancun Academy, Beijing, China(中关村学院);School of Software, Xinjiang University, Urumqi, China(新疆大学软件学院);College of Materials Science and Engineering, Fuzhou University, Fuzhou, China(福州大学材料科学与工程学院);Institute of Automation, Chinese Academy of Sciences, Beijing, China(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学人工智能学院);Beijing Qianjue Technology Co., Ltd., Beijing, China(北京千 jue 技术有限公司)
CoAnnotating: Uncertainty-Guided Work Allocation between Human and Large Language Models for Data Annotation
National University of Singapore(新加坡国立大学);Institute for Infocomm Research (IR)(信息通信研究院);A*STAR(新加坡科学研究局);University of Southern California(南加利福尼亚大学);Stanford University(斯坦福大学)
Optimal and efficient text counterfactuals using Graph Neural Networks
Artificial Intelligence and Learning Systems Laboratory(人工智能与学习系统实验室);School of Electrical and Computer Engineering(电气与计算机工程学院);National Technical University of Athens(雅典技术大学)
Improving Medical Communication using Rubric-Guided Counterfactual Recommendations
IDSIA, Dalle Molle Institute for Artificial Intelligence(IDSIA,达勒莫利人工智能研究所);National University of Science and Technology POLITEHNICA Bucharest(科学与技术国家大学POLITEHNICA布加勒斯特)
Sketch and Customize: A Counterfactual Story Generator
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Tencent AI Lab(腾讯人工智能实验室)
Improving Natural Language Processing Tasks with Human Gaze-Guided Neural Attention
University of Stuttgart(斯图加特大学);Institute for Visualization and Interactive Systems (VIS)(可视化与交互系统研究所);Institute for Natural Language Processing (IMS)(自然语言处理研究所)
CREST: A Joint Framework for Rationalization and Counterfactual Text Generation
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(里斯本高等理工学院);LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));Massachusetts Institute of Technology(麻省理工学院);Unbabel(Unbabel公司)