Manifold-Based Verbalizer Space Re-Embedding for Tuning-Free Prompt-Based Classification

Abstract

Prompt-based classification adapts tasks to a cloze question format utilizing the [MASK] token and the filled tokens are then mapped to labels through pre-defined verbalizers. Recent studies have explored the use of verbalizer embeddings to reduce labor in this process. However, all existing studies require a tuning process for either the pre-trained models or additional trainable embeddings. Meanwhile, the distance between high-dimensional verbalizer embeddings should not be measured by Euclidean distance due to the potential for non-linear manifolds in the representation space. In this study, we propose a tuning-free manifold-based space re-embedding method called Locally Linear Embedding with Intra-class Neighborhood Constraint (LLE-INC) for verbalizer embeddings, which preserves local properties within the same class as guidance for classification. Experimental results indicate that even without tuning any parameters, our LLE-INC is on par with automated verbalizers with parameter tuning. And with the parameter updating, our approach further enhances prompt-based tuning by up to 3.2%. Furthermore, experiments with the LLaMA-7B&13B indicate that LLE-INC is an efficient tuning-free classification approach for the hyper-scale language models.

Cite

Text

Wang et al. "Manifold-Based Verbalizer Space Re-Embedding for Tuning-Free Prompt-Based Classification." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I17.29880

Markdown

[Wang et al. "Manifold-Based Verbalizer Space Re-Embedding for Tuning-Free Prompt-Based Classification." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/wang2024aaai-manifold/) doi:10.1609/AAAI.V38I17.29880

BibTeX

@inproceedings{wang2024aaai-manifold,
  title     = {{Manifold-Based Verbalizer Space Re-Embedding for Tuning-Free Prompt-Based Classification}},
  author    = {Wang, Haochun and Zhao, Sendong and Liu, Chi and Xi, Nuwa and Cai, Muzhen and Qin, Bing and Liu, Ting},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {19126-19134},
  doi       = {10.1609/AAAI.V38I17.29880},
  url       = {https://mlanthology.org/aaai/2024/wang2024aaai-manifold/}
}