paper-with-me

홈 › Papers

CORE: A Retrieve-then-Edit Framework for Counterfactual Data Generation

2022-10-10 · Tanay Dixit, Bhargavi Paranjape, Hannaneh Hajishirzi, Luke Zettlemoyer

Counterfactual data augmentation (CDA) -- i.e., adding minimally perturbed inputs during training -- helps reduce model reliance on spurious correlations and improves generalization to out-of-distribution (OOD) data. Prior work on generating counterfactuals only considered restricted classes of perturbations, limiting their effectiveness. We present COunterfactual Generation via Retrieval and Editing (CORE), a retrieval-augmented generation framework for creating diverse counterfactual perturbations for CDA. For each training example, CORE first performs a dense retrieval over a task-related unlabeled text corpus using a learned bi-encoder and extracts relevant counterfactual excerpts. CORE then incorporates these into prompts to a large language model with few-shot learning capabilities, for counterfactual editing. Conditioning language model edits on naturally occurring data results in diverse perturbations. Experiments on natural language inference and sentiment analysis benchmarks show that CORE counterfactuals are more effective at improving generalization to OOD data compared to other DA approaches. We also show that the CORE retrieval framework can be used to encourage diversity in manually authored perturbations

📄 PDF Abstract BibTeX arXiv:2210.04873

Code (1)

tanay2001/core 공식 구현 pytorch

Tasks

counterfactualData AugmentationDiversityFew-Shot LearningLanguage ModelingLanguage ModellingLarge Language ModelNatural Language InferenceRetrievalRetrieval-augmented GenerationSentiment Analysis

Methods 이 논문이 사용한 방법론

Counterfactuals 설명 없음

Similar Papers 제목 키워드 기반

IfQA: A Dataset for Open-domain Question Answering under Counterfactual Presuppositions

2023-05-23 · Wenhao Yu, Meng Jiang, Peter Clark, Ashish Sabharwal

Although counterfactual reasoning is a fundamental aspect of intelligence, the lack of large-scale counterfactual open-domain question-answering (QA) benchmarks makes it difficult to evaluate and improve models on this a…

counterfactualCounterfactual ReasoningOpen-Domain Question AnsweringQuestion Answering+1

Improving Users' Mental Model with Attention-directed Counterfactual Edits

2021-10-13 · Kamran Alipour, Arijit Ray, Xiao Lin, Michael Cogswell 외

In the domain of Visual Question Answering (VQA), studies have shown improvement in users' mental model of the VQA system when they are exposed to examples of how these systems answer certain Image-Question (IQ) pairs. I…

counterfactualQuestion AnsweringRetrievalVisual Question Answering+1

A Retrieve-and-Edit Framework for Predicting Structured Outputs

2018-12-04 · NeurIPS 2018 12 · Tatsunori B. Hashimoto, Kelvin Guu, Yonatan Oren, Percy Liang

For the task of generating complex outputs such as source code, editing existing outputs can be easier than generating complex outputs from scratch. With this motivation, we propose an approach that first retrieves a tra…

Retrieval

CoRet: Improved Retriever for Code Editing

2025-05-30 · Fabio Fehr, Prabhu Teja Sivaprasad, Luca Franceschi, Giovanni Zappella

In this paper, we introduce CoRet, a dense retrieval model designed for code-editing tasks that integrates code semantics, repository structure, and call graph dependencies. The model focuses on retrieving relevant porti…

Natural Language QueriesRetrieval

Action Reimagined: Text-to-Pose Video Editing for Dynamic Human Actions

2024-03-11 · Lan Wang, Vishnu Boddeti, SerNam Lim

We introduce a novel text-to-pose video editing method, ReimaginedAct. While existing video editing tasks are limited to changes in attributes, backgrounds, and styles, our method aims to predict open-ended human action …

counterfactualVideo EditingVideo Understanding