Ada-Instruct: Adapting Instruction Generators for Complex Reasoning

Wanyun Cui, Qianle Wang
10/6/2023
cs.CLcs.AI

No official code found. Best implementation: wangitu/Ada-Instruct (17 stars, Apache-2.0, last commit 2024-04-10).

Abstract

Instructions augmentation is a crucial step for unleashing the full potential of large language models (LLMs) in downstream tasks. Existing Self-Instruct methods primarily simulate new instructions from a few initial instructions with in-context learning. However, our study identifies a critical flaw in this approach: even with GPT4o, Self-Instruct cannot generate complex instructions of length $\ge 100$, which is necessary in complex tasks such as code completion. To address this issue, our key insight is that fine-tuning open source LLMs with only ten examples can produce complex instructions that maintain distributional consistency for complex reasoning tasks. We introduce Ada-Instruct, an adaptive instruction generator developed through fine-tuning. We empirically validated Ada-Instruct's efficacy across different applications. The results highlight Ada-Instruct's capacity to generate long, intricate, and distributionally consistent instructions.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
171Python, Jupyter NotebookOct 3, 20232 years agoApache-2.0

Cite this paper

@article{cui2023adainstruct,
  title  = {Ada-Instruct: Adapting Instruction Generators for Complex Reasoning},
  author = {Wanyun Cui and Qianle Wang},
  year   = {2023},
  eprint = {2310.04484},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.04484v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.04484.svg)](https://codeofpaper.com/paper/2310.04484)

Discussion