Training Task Experts through Retrieval Based Distillation

Jiaxin Ge, Xueying Jia, Vijay Viswanathan, Hongyin Luo, Graham Neubig
7/7/2024
cs.CL

No official code found. Best implementation: para-lost/ReBase (28 stars, last commit 2025-02-05).

Abstract

One of the most reliable ways to create deployable models for specialized tasks is to obtain an adequate amount of high-quality task-specific data. However, for specialized tasks, often such datasets do not exist. Existing methods address this by creating such data from large language models (LLMs) and then distilling such knowledge into smaller models. However, these methods are limited by the quality of the LLMs output, and tend to generate repetitive or incorrect data. In this work, we present Retrieval Based Distillation (ReBase), a method that first retrieves data from rich online sources and then transforms them into domain-specific data. This method greatly enhances data diversity. Moreover, ReBase generates Chain-of-Thought reasoning and distills the reasoning capacity of LLMs. We test our method on 4 benchmarks and results show that our method significantly improves performance by up to 7.8% on SQuAD, 1.37% on MNLI, and 1.94% on BigBench-Hard.

View on arXivView PDF

Code Implementations(1)

para-lost/ReBaseCommunity65%

ReBase: Training Task Experts through Retrieval Based Distillation

282Shell, PythonJul 3, 20241 years ago

Similar Papers

Cite this paper

@article{ge2024training,
  title  = {Training Task Experts through Retrieval Based Distillation},
  author = {Jiaxin Ge and Xueying Jia and Vijay Viswanathan and Hongyin Luo and Graham Neubig},
  year   = {2024},
  eprint = {2407.05463},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.05463v1}
}

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/2407.05463.svg)](https://codeofpaper.com/paper/2407.05463)

Discussion