MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning

By Xiang Yue, Xingwei Qu, Ge Zhang, Yao Fu, Wenhao Huang, Huan Sun, Yu Su, Wenhu Chen. 2023

596 citations recorded by the source corpus.

We introduce MAmmoTH, a series of open-source large language models (LLMs) specifically tailored for general math problem-solving. The MAmmoTH models are trained on MathInstruct, our meticulously curated instruction tuning dataset. MathInstruct is compiled from 13 math datasets with intermediate rationales, six of which have rationales newly curated by us. It presents a unique hybrid of chain-of-thought (CoT) and program-of-thought (PoT) rationales, and also ensures extensive coverage of diverse fields in math. The hybrid of CoT and PoT not only unleashes the potential of tool use but also allows different thought processes for different math problems. As a result, the MAmmoTH series substantially outperform existing open-source models on nine mathematical reasoning datasets across all scales with an average accuracy gain between 16% and 32%. Remarkably, our MAmmoTH-7B model reaches 33% on MATH (a competition-level dataset), which exceeds the best open-source 7B model (WizardMath) by 23%, and the MAmmoTH-34B model achieves 44% accuracy on MATH, even surpassing GPT-4's CoT result. Our work underscores the importance of diverse problem coverage and the use of hybrid rationales in developing superior math generalist models.

Subfields: Artificial Intelligence, Computer Science Applications, Prompting & Reasoning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yejin Choi
  3. Sean Welleck
  4. Ximing Lu
  5. Hannaneh Hajishirzi
  6. Luke S. Zettlemoyer
  7. Jianfeng Gao
  8. Chandra Bhagavatula

In Computer Science Applications

  1. Dacheng Tao
  2. Adrian Weller
  3. Yejin Choi
  4. Tianyi Zhou
  5. Pan Lu

In Prompting & Reasoning

  1. Mohit Bansal
  2. Yejin Choi
  3. Chandra Bhagavatula
  4. Sean Welleck
  5. Ximing Lu
  6. Stella Biderman
  7. Damai Dai
  8. Fei Huang

Citations in the corpus