NAACL 2024findings3 citations

EDEntail: An Entailment-based Few-shot Text Classification with Extensional Definition

Zixiao Zhu, Junlang Qian, Zijian Feng, Hanzhang Zhou, Kezhi Mao

Abstract

Few-shot text classification has seen significant advancements, particularly with entailment-based methods, which typically use either class labels or intensional definitions of class labels in hypotheses for label semantics expression. In this paper, we propose EDEntail, a method that employs extensional definition (EDef) of class labels in hypotheses, aiming to express the semantics of class labels more explicitly. To achieve the above goal, we develop an algorithm to gather and select extensional descriptive words of class labels and then order and format them into a sequence to form hypotheses. Our method has been evaluated and compared with state-of-the-art models on five classification datasets. The results demonstrate that our approach surpasses the supervised-learning methods and prompt-based methods under the few-shot setting, which underlines the potential of using an extensional definition of class labels for entailment-based few-shot text classification. Our code is available at https://github.com/MidiyaZhu/EDEntail.

BibTeX
@inproceedings{zhu-etal-2024-edentail,
    title = "{EDE}ntail: An Entailment-based Few-shot Text Classification with Extensional Definition",
    author = "Zhu, Zixiao  and
      Qian, Junlang  and
      Feng, Zijian  and
      Zhou, Hanzhang  and
      Mao, Kezhi",
    editor = "Duh, Kevin  and
      Gomez, Helena  and
      Bethard, Steven",
    booktitle = "Findings of the Association for Computational Linguistics: NAACL 2024",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-naacl.71/",
    doi = "10.18653/v1/2024.findings-naacl.71",
    pages = "1124--1137"
}
EDEntail: An Entailment-based Few-shot Text Classification with Extensional Definition · NAACL 2024