Reproduce “Multilingual Mathematical Autoformalization” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Albert Q. Jiang, Wenda Li, Mateja Jamnik

Researchers introduce MMA (Multilingual Mathematical Autoformalization), a large, diverse dataset of 332,774 informal-formal mathematical statement pairs generated by leveraging GPT-4 for formal-to-informal translation across Isabelle and Lean4 libraries. Fine-tuning a LLaMA-33B model on this multilingual dataset significantly improves autoformalization capabilities and demonstrates superior data efficiency and higher quality formalizations, requiring fewer human corrections compared to monolingually trained models.

Key insights

  • Informalisation (formal-to-informal translation) by LLMs is a scalable and effective strategy for creating high-quality parallel autoformalization datasets, confirmed by the significant performance gains of models trained on MMA.
  • Multilingual fine-tuning on diverse formal languages leads to more data-efficient learning and more capable autoformalization models, even for monolingual target languages, due to positive transfer learning.
  • Human expert evaluation of 'correction effort' provides a more nuanced and practical assessment of autoformalization model utility than mere compilation rates, revealing that multilingual models produce more useful and correctable formalizations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.