Generalizable Chain-of-Thought Prompting in Mixed-task Scenarios with Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zou, Anni, Zhang, Zhuosheng, Zhao, Hai, Tang, Xiangru
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916132175216640
author Zou, Anni
Zhang, Zhuosheng
Zhao, Hai
Tang, Xiangru
author_facet Zou, Anni
Zhang, Zhuosheng
Zhao, Hai
Tang, Xiangru
contents Large language models (LLMs) have unveiled remarkable reasoning capabilities by exploiting chain-of-thought (CoT) prompting, which generates intermediate reasoning chains to serve as the rationale for deriving the answer. However, current CoT methods either simply employ general prompts such as Let's think step by step, or heavily rely on pre-defined task-specific demonstrations to attain preferable performances, thereby engendering an inescapable gap between performance and generalization. To bridge this gap, we propose GeM-CoT, a Generalizable CoT prompting mechanism in Mixed-task scenarios where the type of input questions is unknown. GeM-CoT first categorizes the question type and subsequently samples or constructs demonstrations from the corresponding data pool in an automatic pattern. With this technical design, GeM-CoT simultaneously enjoys superior generalization capabilities and remarkable performances on 10 public reasoning tasks and 23 BBH tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2310_06692
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Generalizable Chain-of-Thought Prompting in Mixed-task Scenarios with Large Language Models
Zou, Anni
Zhang, Zhuosheng
Zhao, Hai
Tang, Xiangru
Computation and Language
Artificial Intelligence
Large language models (LLMs) have unveiled remarkable reasoning capabilities by exploiting chain-of-thought (CoT) prompting, which generates intermediate reasoning chains to serve as the rationale for deriving the answer. However, current CoT methods either simply employ general prompts such as Let's think step by step, or heavily rely on pre-defined task-specific demonstrations to attain preferable performances, thereby engendering an inescapable gap between performance and generalization. To bridge this gap, we propose GeM-CoT, a Generalizable CoT prompting mechanism in Mixed-task scenarios where the type of input questions is unknown. GeM-CoT first categorizes the question type and subsequently samples or constructs demonstrations from the corresponding data pool in an automatic pattern. With this technical design, GeM-CoT simultaneously enjoys superior generalization capabilities and remarkable performances on 10 public reasoning tasks and 23 BBH tasks.
title Generalizable Chain-of-Thought Prompting in Mixed-task Scenarios with Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2310.06692