Distilling LLMs' Decomposition Abilities into Compact Language Models
Denis Tarasov, Kumar Shridhar
TL;DR
This work tackles the scalability challenge of complex reasoning by distilling LLMs' sub-question decomposition abilities into compact language models via offline RL. It introduces the GSM8K-AI-SubQ dataset, generated from GSM8K with AI-driven sub-questions and feedback, to train and evaluate smaller models against a ChatGPT baseline. Across multiple backbones (e.g., GPT-2 small/medium, DistilGPT, Mistral, LLaMA), the study finds a substantial gap to ChatGPT and mixed results for offline RL methods, with Filtered BC often outperforming vanilla BC but offline RL not consistently beating supervised baselines. The dataset and baselines provide a foundation for future offline NLP reasoning research, highlighting the need for more effective offline RL techniques and larger, diverse benchmarks for sub-questioning and decomposition tasks.
Abstract
Large Language Models (LLMs) have demonstrated proficiency in their reasoning abilities, yet their large size presents scalability challenges and limits any further customization. In contrast, compact models offer customized training but often fall short in solving complex reasoning tasks. This study focuses on distilling the LLMs' decomposition skills into compact models using offline reinforcement learning. We leverage the advancements in the LLM`s capabilities to provide feedback and generate a specialized task-specific dataset for training compact models. The development of an AI-generated dataset and the establishment of baselines constitute the primary contributions of our work, underscoring the potential of compact models in replicating complex problem-solving skills.
