Skip to main content
QUICK REVIEW

[Paper Review] Lila: A Unified Benchmark for Mathematical Reasoning

Swaroop Mishra, Matthew Finlayson|arXiv (Cornell University)|Oct 31, 2022
Topic ModelingComputer Science4 citations
TL;DR

Līla is a unified benchmark for mathematical reasoning comprising 23 tasks across four dimensions—mathematical abilities, language format, language diversity, and external knowledge—featuring 100,000+ examples with executable Python program solutions. The benchmark enables evaluation of reasoning chains, generalization, and robustness, and the proposed Bhāskara model achieves a 60.40% F1 score, with multi-task training yielding a 21.83% relative F1 improvement over single-task models.

ABSTRACT

Mathematical reasoning skills are essential for general-purpose intelligent systems to perform tasks from grocery shopping to climate modeling. Towards evaluating and improving AI systems in this domain, we propose LILA, a unified mathematical reasoning benchmark consisting of 23 diverse tasks along four dimensions: (i) mathematical abilities e.g., arithmetic, calculus (ii) language format e.g., question-answering, fill-in-the-blanks (iii) language diversity e.g., no language, simple language (iv) external knowledge e.g., commonsense, physics. We construct our benchmark by extending 20 datasets benchmark by collecting task instructions and solutions in the form of Python programs, thereby obtaining explainable solutions in addition to the correct answer. We additionally introduce two evaluation datasets to measure out-of-distribution performance and robustness to language perturbation. Finally, we introduce BHASKARA, a general-purpose mathematical reasoning model trained on LILA. Importantly, we find that multi-tasking leads to significant improvements (average relative improvement of 21.83% F1 score vs. single-task models), while the best performing model only obtains 60.40%, indicating the room for improvement in general mathematical reasoning and understanding.

Motivation & Objective

  • To address the lack of a holistic benchmark for evaluating mathematical reasoning in AI systems across diverse mathematical topics, problem formats, and linguistic styles.
  • To unify disparate mathematical reasoning datasets by extending them with executable Python program solutions and instruction annotations for instruction-based learning.
  • To enable evaluation of model generalization and robustness through dedicated out-of-distribution (Līla-OOD) and perturbation (Līla-Robust) splits.
  • To train and evaluate a general-purpose mathematical reasoning model, Bhāskara, on this unified benchmark to assess performance and identify gaps in current AI capabilities.

Proposed method

  • Extends 20 existing mathematical reasoning datasets by adding Python program annotations as reasoning chains, enabling executable verification of solutions.
  • Uses automatic conversion from domain-specific languages (DSLs) and manual expert annotations to generate program solutions where DSLs are unavailable.
  • Categorizes each example along four dimensions: mathematical abilities (e.g., arithmetic, calculus), language format (e.g., QA, fill-in-the-blank), language diversity (no language, simple, complex), and external knowledge (commonsense, physics, etc.).
  • Introduces two evaluation splits: Līla-OOD for out-of-distribution generalization and Līla-Robust for linguistic perturbations (e.g., voice changes) to test robustness.
  • Trains Bhāskara, a general-purpose model on the full Līla benchmark using multi-task learning to improve reasoning generalization.
  • Evaluates models using F1 score across all test, OOD, and robustness splits, with program execution as the gold standard for correctness.

Experimental results

Research questions

  • RQ1Can a unified benchmark that integrates diverse mathematical reasoning tasks improve the evaluation of AI systems beyond narrow, task-specific datasets?
  • RQ2To what extent does multi-task training on a unified benchmark improve mathematical reasoning performance compared to single-task fine-tuning?
  • RQ3How well do state-of-the-art models generalize to out-of-distribution examples that require the same underlying mathematical skills but differ in phrasing or format?
  • RQ4How robust are current models to linguistic perturbations such as active/passive voice shifts or synonym substitutions in problem statements?
  • RQ5What is the performance ceiling of current models on a comprehensive, program-annotated mathematical reasoning benchmark?

Key findings

  • The Bhāskara model achieves a 60.40% F1 score on the Līla benchmark, indicating significant room for improvement in general mathematical reasoning.
  • Multi-task training leads to a 21.83% relative improvement in F1 score compared to single-task models, demonstrating the benefit of joint learning across diverse mathematical tasks.
  • Codex outperforms other baselines across most datasets, achieving the highest average F1 score of 61.3%, followed by GPT-3 and fine-tuned GPT-Neo models.
  • Models show strong performance on simple, structured problems (e.g., singleop, multiarith) but struggle with complex, natural-language problems (e.g., mathqa_geometry, svamp_structured), especially when language is complex or ambiguous.
  • The Līla-OOD and Līla-Robust splits reveal that models generalize poorly to alternate phrasings and linguistic variations, highlighting a key limitation in current reasoning generalization.
  • The inclusion of executable program solutions enables precise evaluation of reasoning chains, revealing that models often produce correct answers through flawed or incorrect reasoning paths.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.