NAACL 2024long0 citations

Multi-Scale Prompt Memory-Augmented Model for Black-Box Scenarios

Xiaojun Kuang, C. L. Philip Chen, Shuzhen Li, Tong Zhang

Abstract

Black-box few-shot text classification handles text classification in limited data without accessing the parameters and gradients of language models (LMs). Existing black-box optimization methods have demonstrated strong few-shot learning capabilities. However, they still require numerous LMs’ calls to search optimal prompts, thus resulting in overfitting performance and increasing computational cost. To address this issue, we present MuSKPrompt (Multi-scale Knowledge Prompt for Memory Model), an efficient multi-scale knowledge prompt-based memory model in black-box few-shot text classification task. MuSKPrompt extracts instance-level and class-level knowledge at different scales and stores them in memory banks during training. Then, it references multi-scale memory banks to perform quick inference on new samples via a novel scoring module. MuSKPrompt achieves competitive performance in limited data through multi-scale instance-level and class-level knowledge. Moreover, it realizes gradient-free optimization with zero training parameters in the black-box scenario. Experiments on different benchmarks and parameter analysis demonstrate the effectiveness and efficiency of MuSKPrompt in black-box few-shot text classification tasks.

BibTeX
@inproceedings{kuang-etal-2024-multi,
    title = "Multi-Scale Prompt Memory-Augmented Model for Black-Box Scenarios",
    author = "Kuang, Xiaojun  and
      Chen, C. L. Philip  and
      Li, Shuzhen  and
      Zhang, Tong",
    editor = "Duh, Kevin  and
      Gomez, Helena  and
      Bethard, Steven",
    booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.naacl-long.98/",
    doi = "10.18653/v1/2024.naacl-long.98",
    pages = "1743--1757"
}
Multi-Scale Prompt Memory-Augmented Model for Black-Box Scenarios · NAACL 2024