JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuning

Chang Gao, Wenxuan Zhang, Guizhen Chen, Wai Lam
10/4/2023
10 citations
cs.CL

Official code: gao-xiao-bai/JsonTuning (11 stars, Python, last commit 2024-11-03).

Abstract

Instruction tuning is vital for enhancing the performance of large language models (LLMs), but existing text-to-text methods, referred to as TextTuning, struggle with issues such as generalization, robustness, and controllability due to their lack of explicit task structures. We introduce JsonTuning, a structure-to-structure approach that uses JSON structures to represent tasks.

Show full abstract

This method improves generalization by clarifying task elements and their relations, boosts robustness by minimizing ambiguity, and enhances controllability by allowing precise control over outputs. We conduct an extensive comparative analysis between JsonTuning and TextTuning using various language models and benchmarks. Our findings reveal that JsonTuning consistently surpasses TextTuning in terms of performance, robustness, and controllability across different scenarios. By overcoming the limitations of TextTuning, JsonTuning demonstrates significant potential for developing more effective and reliable LLMs capable of handling diverse scenarios.

View on arXivView PDF

Code Implementations(1)

JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuning

110Python, ShellOct 3, 20232 years ago

Similar Papers

Cite this paper

@article{gao2023jsontuning,
  title  = {JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuning},
  author = {Chang Gao and Wenxuan Zhang and Guizhen Chen and Wai Lam},
  year   = {2023},
  eprint = {2310.02953},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.02953v6}
}

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

Discussion