CELDA: Leveraging Black-box Language Model as Enhanced Classifier without Labels

Hyunsoo Cho, Youna Kim, Sang-goo Lee


Abstract
Utilizing language models (LMs) without internal access is becoming an attractive paradigm in the field of NLP as many cutting-edge LMs are released through APIs and boast a massive scale. The de-facto method in this type of black-box scenario is known as prompting, which has shown progressive performance enhancements in situations where data labels are scarce or unavailable. Despite their efficacy, they still fall short in comparison to fully supervised counterparts and are generally brittle to slight modifications. In this paper, we propose Clustering-enhanced Linear Discriminative Analysis (CELDA), a novel approach that improves the text classification accuracy with a very weak-supervision signal (i.e., name of the labels).Our framework draws a precise decision boundary without accessing weights or gradients of the LM model or data labels. The core ideas of CELDA are twofold:(1) extracting a refined pseudo-labeled dataset from an unlabeled dataset, and (2) training a lightweight and robust model on the top of LM, which learns an accurate decision boundary from an extracted noisy dataset. Throughout in-depth investigations on various datasets, we demonstrated that CELDA reaches new state-of-the-art in weakly-supervised text classification and narrows the gap with a fully-supervised model. Additionally, our proposed methodology can be applied universally to any LM and has the potential to scale to larger models, making it a more viable option for utilizing large LMs.
Anthology ID:
2023.acl-long.239
Volume:
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
July
Year:
2023
Address:
Toronto, Canada
Editors:
Anna Rogers, Jordan Boyd-Graber, Naoaki Okazaki
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
4364–4379
Language:
URL:
https://aclanthology.org/2023.acl-long.239
DOI:
10.18653/v1/2023.acl-long.239
Bibkey:
Cite (ACL):
Hyunsoo Cho, Youna Kim, and Sang-goo Lee. 2023. CELDA: Leveraging Black-box Language Model as Enhanced Classifier without Labels. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4364–4379, Toronto, Canada. Association for Computational Linguistics.
Cite (Informal):
CELDA: Leveraging Black-box Language Model as Enhanced Classifier without Labels (Cho et al., ACL 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.acl-long.239.pdf
Video:
 https://aclanthology.org/2023.acl-long.239.mp4