跳到主要导航 跳到搜索 跳到主要内容

Instruction Embedding: Latent Representations of Instructions Towards Task Identification

  • Yiwei Li
  • , Jiayi Shi
  • , Shaoxiong Feng
  • , Peiwen Yuan
  • , Xinglin Wang
  • , Boyuan Pan
  • , Heda Wang
  • , Yao Hu
  • , Kan Li*
  • *此作品的通讯作者
  • Beijing Institute of Technology
  • Xiaohongshu

科研成果: 期刊稿件会议文章同行评审

摘要

Instruction data is crucial for improving the capability of Large Language Models (LLMs) to align with human-level performance. Recent research LIMA demonstrates that alignment is essentially a process where the model adapts instructions' interaction style or format to solve various tasks, leveraging pre-trained knowledge and skills. Therefore, for instructional data, the most important aspect is the task it represents, rather than the specific semantics and knowledge information. The latent representations of instructions play roles for some instruction-related tasks like data selection and demonstrations retrieval. However, they are always derived from text embeddings, encompass overall semantic information that influences the representation of task categories. In this work, we introduce a new concept, instruction embedding, and construct Instruction Embedding Benchmark (IEB) for its training and evaluation. Then, we propose a baseline Prompt-based Instruction Embedding (PIE) method to make the representations more attention on tasks. The evaluation of PIE, alongside other embedding methods on IEB with two designed tasks, demonstrates its superior performance in accurately identifying task categories. Moreover, the application of instruction embeddings in four downstream tasks showcases its effectiveness and suitability for instruction-related tasks.

源语言英语
期刊Advances in Neural Information Processing Systems
37
出版状态已出版 - 2024
已对外发布
活动38th Conference on Neural Information Processing Systems, NeurIPS 2024 - Vancouver, 加拿大
期限: 9 12月 202415 12月 2024

学术指纹

探究 'Instruction Embedding: Latent Representations of Instructions Towards Task Identification' 的科研主题。它们共同构成独一无二的学术指纹。

引用此