ClozeMath: Improving Mathematical Reasoning in Language Models by Learning to Fill Equations

The capabilities of large language models (LLMs) have been enhanced by training on data that reflects human thought processes, such as the Chain-of-Thought format.However, evidence suggests that the conventional scheme of next-word prediction may not fully capture how humans learn to think.Inspired by how humans generalize mathematical reasoning, we propose a new approach named ClozeMath to fine-tune LLMs for mathematical reasoning.Our Cloze-Math involves a text-infilling task that predicts masked equations from a given solution, analogous to cloze exercises used in human learning.Experiments on GSM8K, MATH, and GSM-Symbolic show that ClozeMath surpasses the strong baseline Masked Thought in performance and robustness, with two test-time scaling decoding algorithms, Beam Search and Chain-of-Thought decoding.Additionally, we conduct an ablation study to analyze the effects of various architectural and implementation choices on our approach.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.738
Primary Topic
Mathematics, Computing, and Information Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ClozeMath: Improving Mathematical Reasoning in Language Models by Learning to Fill Equations

Quang Hiếu Phạm, Nguyễn Thùy Dương, Anh Tuan Luu, Dat Quoc Nguyen et al.
Mathematics, Computing, and Information Processing
article

ClozeMath: Improving Mathematical Reasoning in Language Models by Learning to Fill Equations

Quang Hiếu Phạm, Nguyễn Thùy Dương, Anh Tuan Luu, Dat Quoc Nguyen, Tung Pham
article en

Abstract

The capabilities of large language models (LLMs) have been enhanced by training on data that reflects human thought processes, such as the Chain-of-Thought format.However, evidence suggests that the conventional scheme of next-word prediction may not fully capture how humans learn to think.Inspired by how humans generalize mathematical reasoning, we propose a new approach named ClozeMath to fine-tune LLMs for mathematical reasoning.Our Cloze-Math involves a text-infilling task that predicts masked equations from a given solution, analogous to cloze exercises used in human learning.Experiments on GSM8K, MATH, and GSM-Symbolic show that ClozeMath surpasses the strong baseline Masked Thought in performance and robustness, with two test-time scaling decoding algorithms, Beam Search and Chain-of-Thought decoding.Additionally, we conduct an ablation study to analyze the effects of various architectural and implementation choices on our approach.

Quality Education
Openalex Percentile: Top 79%
Mathematics, Computing, and Information Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.