Meta-Task Prompting Elicits Embeddings from Large Language Models

Open Access
Authors
Publication date 2024
Host editors
  • L.-W. Ku
  • A. Martins
  • V. Srikumar
Book title The 62nd Annual Meeting of the Association for Computational Linguistics (ACL 2024) : proceedings of the conference
Book subtitle ACL 2024 : August 11-16, 2024
ISBN (electronic)
  • 9798891760943
Event 62nd Annual Meeting of the Association for Computational Linguistics, ACL 2024
Volume | Issue number 1
Pages (from-to) 10141-10157
Publisher Kerrville, TX: Association for Computational Linguistics
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
We introduce a new unsupervised text embedding method, Meta-Task Prompting with Explicit One-Word Limitation (MetaEOL), for generating high-quality sentence embeddings from Large Language Models (LLMs) without the need for model fine-tuning. Leveraging meta-task prompting, MetaEOL guides LLMs to produce embeddings through a series of carefully designed prompts that address multiple representational aspects. Our comprehensive experiments demonstrate that embeddings averaged from various meta-tasks are versatile embeddings that yield competitive performance on Semantic Textual Similarity (STS) benchmarks and excel in downstream tasks, surpassing contrastive-trained models. Our findings suggest a new scaling law, offering a versatile and resource-efficient approach for embedding generation across diverse scenarios.
Document type Conference contribution
Language English
Published at https://doi.org/10.18653/v1/2024.acl-long.546
Downloads
2024.acl-long.546 (Final published version)
Permalink to this page
Back