arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.11027cs.CLcs.AI
收藏

JiuZhang 2.0:面向多任务数学问题求解的统一中文预训练语言模型

JiuZhang 2.0: A Unified Chinese Pre-trained Language Model for Multi-task Mathematical Problem Solving

Renmin University of China(中国人民大学);iFLYTEK Research(讯飞研究院);iFLYTEK AI Research (Central China)(讯飞人工智能研究院(华中))

Wayne Xin Zhao, Kun Zhou, Beichen Zhang, Zheng Gong, Zhipeng Chen, Yuanhang Zhou, Ji-Rong Wen, Jing Sha, Shijin Wang, Cong Liu, Guoping Hu

AI总结:

提出统一中文预训练模型JiuZhang 2.0,采用混合专家架构与跨任务知识共享,结合多任务训练和大模型迭代优化,高效解决多任务数学问题。

摘要:

尽管预训练语言模型(PLMs)近期推动了数学推理研究的进展,但它们并未被专门设计为具备多任务求解能力的模型,导致在多任务部署时成本高昂(例如每个任务需要一个模型副本),且在实际应用中处理复杂数学问题的性能欠佳。为解决这些问题,本文提出了JiuZhang 2.0,一个专门用于多任务数学问题求解的统一中文预训练语言模型。我们的思路是保持模型规模适中,并采用跨任务知识共享来提升模型在多任务场景下的能力。具体而言,我们构建了一个混合专家(MoE)架构来建模数学文本,以捕获跨任务的通用数学知识。为优化该MoE架构,我们设计了多任务持续预训练和多任务微调策略,以实现多任务适配。这些训练策略能有效分解任务数据中的知识,并通过专家网络建立跨任务共享。为了进一步提升模型解决不同复杂任务的通用能力,我们利用大语言模型(LLMs)作为互补模型,通过上下文学习迭代优化我们预训练语言模型生成的解答。大量实验证明了我们模型的有效性。

英文摘要:

Although pre-trained language models~(PLMs) have recently advanced the research progress in mathematical reasoning, they are not specially designed as a capable multi-task solver, suffering from high cost for multi-task deployment (\eg a model copy for a task) and inferior performance on complex mathematical problems in practical applications. To address these issues, in this paper, we propose \textbf{JiuZhang~2.0}, a unified Chinese PLM specially for multi-task mathematical problem solving. Our idea is to maintain a moderate-sized model and employ the \emph{cross-task knowledge sharing} to improve the model capacity in a multi-task setting. Specially, we construct a Mixture-of-Experts~(MoE) architecture for modeling mathematical text, so as to capture the common mathematical knowledge across tasks. For optimizing the MoE architecture, we design \emph{multi-task continual pre-training} and \emph{multi-task fine-tuning} strategies for multi-task adaptation. These training strategies can effectively decompose the knowledge from the task data and establish the cross-task sharing via expert networks. In order to further improve the general capacity of solving different complex tasks, we leverage large language models~(LLMs) as complementary models to iteratively refine the generated solution by our PLM, via in-context learning. Extensive experiments have demonstrated the effectiveness of our model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑