Improve Student's Reasoning Generalizability through Cascading Decomposed CoTs Distillation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dai, Chengwei, Li, Kun, Zhou, Wei, Hu, Songlin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913370310967296
author Dai, Chengwei
Li, Kun
Zhou, Wei
Hu, Songlin
author_facet Dai, Chengwei
Li, Kun
Zhou, Wei
Hu, Songlin
contents Large language models (LLMs) exhibit enhanced reasoning at larger scales, driving efforts to distill these capabilities into smaller models via teacher-student learning. Previous works simply fine-tune student models on teachers' generated Chain-of-Thoughts (CoTs) data. Although these methods enhance in-domain (IND) reasoning performance, they struggle to generalize to out-of-domain (OOD) tasks. We believe that the widespread spurious correlations between questions and answers may lead the model to preset a specific answer which restricts the diversity and generalizability of its reasoning process. In this paper, we propose Cascading Decomposed CoTs Distillation (CasCoD) to address these issues by decomposing the traditional single-step learning process into two cascaded learning steps. Specifically, by restructuring the training objectives -- removing the answer from outputs and concatenating the question with the rationale as input -- CasCoD's two-step learning process ensures that students focus on learning rationales without interference from the preset answers, thus improving reasoning generalizability. Extensive experiments demonstrate the effectiveness of CasCoD on both IND and OOD benchmark reasoning datasets. Code can be found at https://github.com/C-W-D/CasCoD.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19842
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improve Student's Reasoning Generalizability through Cascading Decomposed CoTs Distillation
Dai, Chengwei
Li, Kun
Zhou, Wei
Hu, Songlin
Computation and Language
Artificial Intelligence
Large language models (LLMs) exhibit enhanced reasoning at larger scales, driving efforts to distill these capabilities into smaller models via teacher-student learning. Previous works simply fine-tune student models on teachers' generated Chain-of-Thoughts (CoTs) data. Although these methods enhance in-domain (IND) reasoning performance, they struggle to generalize to out-of-domain (OOD) tasks. We believe that the widespread spurious correlations between questions and answers may lead the model to preset a specific answer which restricts the diversity and generalizability of its reasoning process. In this paper, we propose Cascading Decomposed CoTs Distillation (CasCoD) to address these issues by decomposing the traditional single-step learning process into two cascaded learning steps. Specifically, by restructuring the training objectives -- removing the answer from outputs and concatenating the question with the rationale as input -- CasCoD's two-step learning process ensures that students focus on learning rationales without interference from the preset answers, thus improving reasoning generalizability. Extensive experiments demonstrate the effectiveness of CasCoD on both IND and OOD benchmark reasoning datasets. Code can be found at https://github.com/C-W-D/CasCoD.
title Improve Student's Reasoning Generalizability through Cascading Decomposed CoTs Distillation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2405.19842