Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhang, Xinlu, Chen, Zhiyu Zoey, Ye, Xi, Yang, Xianjun, Chen, Lichang, Wang, William Yang, Petzold, Linda Ruth
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916519231881216
author Zhang, Xinlu
Chen, Zhiyu Zoey
Ye, Xi
Yang, Xianjun
Chen, Lichang
Wang, William Yang
Petzold, Linda Ruth
author_facet Zhang, Xinlu
Chen, Zhiyu Zoey
Ye, Xi
Yang, Xianjun
Chen, Lichang
Wang, William Yang
Petzold, Linda Ruth
contents Instruction Fine-Tuning (IFT) significantly enhances the zero-shot capabilities of pretrained Large Language Models (LLMs). While coding data is known to boost LLM reasoning abilities during pretraining, its role in activating internal reasoning capacities during IFT remains understudied. This paper investigates a key question: How does coding data impact LLMs' reasoning capacities during IFT stage? To explore this, we thoroughly examine the impact of coding data across different coding data proportions, model families, sizes, and reasoning domains, from various perspectives. Specifically, we create three IFT datasets with increasing coding data proportions, fine-tune six LLM backbones across different families and scales on these datasets, evaluate the tuned models' performance across twelve tasks in three reasoning domains, and analyze the outcomes from three broad-to-granular perspectives: overall, domain-level, and task-specific. Our holistic analysis provides valuable insights into each perspective. First, coding data tuning enhances the overall reasoning capabilities of LLMs across different model families and scales. Moreover, while the impact of coding data varies by domain, it shows consistent trends within each domain across different model families and scales. Additionally, coding data generally provides comparable task-specific benefits across model families, with optimal proportions in IFT datasets being task-dependent.
format Preprint
id arxiv_https___arxiv_org_abs_2405_20535
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoning
Zhang, Xinlu
Chen, Zhiyu Zoey
Ye, Xi
Yang, Xianjun
Chen, Lichang
Wang, William Yang
Petzold, Linda Ruth
Artificial Intelligence
Computation and Language
Instruction Fine-Tuning (IFT) significantly enhances the zero-shot capabilities of pretrained Large Language Models (LLMs). While coding data is known to boost LLM reasoning abilities during pretraining, its role in activating internal reasoning capacities during IFT remains understudied. This paper investigates a key question: How does coding data impact LLMs' reasoning capacities during IFT stage? To explore this, we thoroughly examine the impact of coding data across different coding data proportions, model families, sizes, and reasoning domains, from various perspectives. Specifically, we create three IFT datasets with increasing coding data proportions, fine-tune six LLM backbones across different families and scales on these datasets, evaluate the tuned models' performance across twelve tasks in three reasoning domains, and analyze the outcomes from three broad-to-granular perspectives: overall, domain-level, and task-specific. Our holistic analysis provides valuable insights into each perspective. First, coding data tuning enhances the overall reasoning capabilities of LLMs across different model families and scales. Moreover, while the impact of coding data varies by domain, it shows consistent trends within each domain across different model families and scales. Additionally, coding data generally provides comparable task-specific benefits across model families, with optimal proportions in IFT datasets being task-dependent.
title Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoning
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.20535