Consistent Document-Level Relation Extraction via Counterfactuals
<|reference_start|>Consistent Document-Level Relation Extraction via Counterfactuals: Many datasets have been developed to train and evaluate document-level relation extraction (RE) models. Most of these are constructed using real-world data. It has been shown that RE models trained on real-world data suffer from factual biases. To evaluate and address this issue, we present CovEReD, a counterfactual data generation approach for document-level relation extraction datasets using entity replacement. We first demonstrate that models trained on factual data exhibit inconsistent behavior: while they accurately extract triples from factual data, they fail to extract the same triples after counterfactual modification. This inconsistency suggests that models trained on factual data rely on spurious signals such as specific entities and external knowledge $\unicode{x2013}$ rather than on the input context $\unicode{x2013}$ to extract triples. We show that by generating document-level counterfactual data with CovEReD and training models on them, consistency is maintained with minimal impact on RE performance. We release our CovEReD pipeline as well as Re-DocRED-CF, a dataset of counterfactual RE documents, to assist in evaluating and addressing inconsistency in document-level RE.<|reference_end|>
@article{modarressi2024consistent,
    title={Consistent Document-Level Relation Extraction via Counterfactuals},
    author={Ali Modarressi, Abdullatif K"oksal, Hinrich Sch"utze},
    journal={arXiv preprint arXiv:2407.06699},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.06699},
    primaryClass={cs.CL}
}