Instruction Embedding: Latent Representations of Instructions Towards Task Identification

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Yiwei, Shi, Jiayi, Feng, Shaoxiong, Yuan, Peiwen, Wang, Xinglin, Pan, Boyuan, Wang, Heda, Hu, Yao, Li, Kan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909329154637824
author Li, Yiwei
Shi, Jiayi
Feng, Shaoxiong
Yuan, Peiwen
Wang, Xinglin
Pan, Boyuan
Wang, Heda
Hu, Yao
Li, Kan
author_facet Li, Yiwei
Shi, Jiayi
Feng, Shaoxiong
Yuan, Peiwen
Wang, Xinglin
Pan, Boyuan
Wang, Heda
Hu, Yao
Li, Kan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19680
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Instruction Embedding: Latent Representations of Instructions Towards Task Identification
Li, Yiwei
Shi, Jiayi
Feng, Shaoxiong
Yuan, Peiwen
Wang, Xinglin
Pan, Boyuan
Wang, Heda
Hu, Yao
Li, Kan
Computation and Language
Artificial Intelligence
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.
title Instruction Embedding: Latent Representations of Instructions Towards Task Identification
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2409.19680