Distilling Mathematical Reasoning Capabilities into Small Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhu, Xunyu, Li, Jian, Liu, Yong, Ma, Can, Wang, Weiping
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914894939422720
author Zhu, Xunyu
Li, Jian
Liu, Yong
Ma, Can
Wang, Weiping
author_facet Zhu, Xunyu
Li, Jian
Liu, Yong
Ma, Can
Wang, Weiping
contents This work addresses the challenge of democratizing advanced Large Language Models (LLMs) by compressing their mathematical reasoning capabilities into sub-billion parameter Small Language Models (SLMs) without compromising performance. We introduce Equation-of-Thought Distillation (EoTD), a novel technique that encapsulates the reasoning process into equation-based representations to construct an EoTD dataset for fine-tuning SLMs. Additionally, we propose the Ensemble Thoughts Distillation (ETD) framework to enhance the reasoning performance of SLMs. This involves creating a reasoning dataset with multiple thought processes, including Chain-of-Thought (CoT), Program-of-Thought (PoT), and Equation-of-Thought (EoT), and using it for fine-tuning. Our experimental performance demonstrates that EoTD significantly boosts the reasoning abilities of SLMs, while ETD enables these models to achieve state-of-the-art reasoning performance.
format Preprint
id arxiv_https___arxiv_org_abs_2401_11864
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Distilling Mathematical Reasoning Capabilities into Small Language Models
Zhu, Xunyu
Li, Jian
Liu, Yong
Ma, Can
Wang, Weiping
Computation and Language
Artificial Intelligence
This work addresses the challenge of democratizing advanced Large Language Models (LLMs) by compressing their mathematical reasoning capabilities into sub-billion parameter Small Language Models (SLMs) without compromising performance. We introduce Equation-of-Thought Distillation (EoTD), a novel technique that encapsulates the reasoning process into equation-based representations to construct an EoTD dataset for fine-tuning SLMs. Additionally, we propose the Ensemble Thoughts Distillation (ETD) framework to enhance the reasoning performance of SLMs. This involves creating a reasoning dataset with multiple thought processes, including Chain-of-Thought (CoT), Program-of-Thought (PoT), and Equation-of-Thought (EoT), and using it for fine-tuning. Our experimental performance demonstrates that EoTD significantly boosts the reasoning abilities of SLMs, while ETD enables these models to achieve state-of-the-art reasoning performance.
title Distilling Mathematical Reasoning Capabilities into Small Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.11864