Papers for

math software developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Multimodal benchmark reveals challenges in AI geometry reasoning

TriGeoBench: A Multimodal Mathematical Geometry Benchmark with Figures and TikZ

Abstract: Multimodal Large Language Models show strong vision-language capabilities, yet their geometry-centric reasoning remains insufficiently understood. Existing mathematical benchmarks typically rely on rasterized figures and cover limited geometric knowledge areas and response formats, making it difficult to assess whether models reason over geometric structures or exploit superficial visual patterns. We introduce TriGeoBench, a geometry-centric multimodal benchmark constructed from Chinese middle- and high-school mathematics examinations. TriGeoBench contains 7,000 question-answer pairs and 12,235 geometric figures with TikZ code, spanning plane geometry, solid geometry, analytic geometry, function, and vector geometry across diverse response formats. Each instance forms a {question-answer pair, image, TikZ} triplet: question-answer pairs are stored in LaTeX, images as RGB figures, and TikZ preserves geometric topology, symbolic annotations, and relational structure. We evaluate representative open- and closed-source MLLMs through image-to-TikZ and multimodal reasoning probes. Results reveal persistent fine-grained structure and image-text alignment challenges. Oracle experiments with human-curated reference TikZ suggest that accurate executable representations provide complementary geometric cues; they do not evaluate an end-to-end conversion pipeline. TriGeoBench offers a testbed for structure-aware mathematical reasoning.

Tue 20 OctArtificial IntelligenceDatabases
The gist
AI models that read both text and images still struggle to solve geometry problems involving shapes and figures. The authors created a large test set from Chinese school math exams, including pictures and code describing the shapes logically. Testing current AI showed they often miss important details and don't fully understand the diagrams. This work offers a new way to measure and improve how AI handles math problems with pictures.
Open → 2610.27626v1

Pivot-sd improves masked diffusion language models for math and code tasks

Pivot-SD: Efficient Self-Distillation for Masked Diffusion Language Models

Abstract: Masked diffusion language models (dLMs) offer a promising parallel alternative to autoregressive models for complex reasoning. However, they face a distinct credit-assignment challenge, since a few commitments during denoising sharply reduce the uncertainty over the remaining masked positions and shape much of the response. Most post-training recipes for dLMs do not use this signal to decide which tokens to train on: they typically train on the final text or assign rewards to whole denoising steps, rather than selecting the individual commitments that shape the response. We introduce Pivot-SD, an efficient offline self-distillation framework that supervises only these high-impact commitments (pivots). Pivot-SD selects pivots using an information-gain metric measuring uncertainty reduction over the remaining masked positions. Pivots from successful trajectories are trained with cross-entropy, and pivots from failed trajectories with targeted unlikelihood, leaving the rest of the failed trajectory untouched. Using only 200 questions and four rollouts each, Pivot-SD improves LLaDA-8B-Instruct over full-sequence SFT and budget-matched diffusion RL baselines across math and code benchmarks.

Fri 2 OctMachine LearningComputation and Language
The gist
Masked diffusion language models try to fill in missing words all at once, unlike others that write one word at a time. The authors found that some word guesses are much more important than others because they reduce uncertainty about the rest of the sentence. They created a way to focus training on these key guesses, called pivots, making the model better at tasks like math and coding. Their approach improves performance using much less data and simpler training than usual.
Open → 2610.03665v1

Writer adaptation improves recognition of handwritten math expressions

Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognition

Abstract: Handwritten mathematical expression recognition (HMER) refers to the task of recognizing and converting handwritten mathematics into a parsable markup language, usually LaTeX. No current state-of-the-art-competitive system adjusts to the way a specific person writes, and the domain gap between training images (usually digital or perfectly binarized) and images physically taken with a camera used in inference has received fairly little attention for this specific problem. We characterize this domain gap through fragmentation and stroke-width analyses of the images as well as introduce a writer-adaptive fine-tuning pipeline to MFH-CoMER in an attempt to address it. We further introduce sample author-specific datasets, consisting of five handwriting category subsets from two authors, and evaluate using a McNemar's test and permutation tests adapted to limited data. Results suggest an increase in expression recognition rate and a decrease in CER for digital handwriting but more varied results for physical handwriting, with the model struggling for handwriting articles that the base model can already evaluate well. Nonetheless, adapted models were found to have improved results for four out of five subsets. Statistical testing results suggest a consistency in improvement for two of the tested author-specific subsets. Our results point towards the potential feasibility of writer adaptation for the HMER task.

Sat 26 SeptComputer Vision and Pattern Recognition
The gist
Recognizing handwritten math is hard, especially when someone writes in their own style or when the images are taken by a camera, not scanned perfectly. The authors study these challenges and create a way to adjust an existing math recognition system for different writers. Their approach helps the system better understand digital handwriting and some camera images, though results vary depending on the writing and image quality. This shows that customizing math recognition to individual writers can work in practice.
Open → 2609.32513v1

Recipe based training boosts math problem retrieval accuracy significantly

Recipe-Matching, Not Equivalence

Abstract: MathNet-Retrieve asks a retriever to find, for a math problem, a document stating the same problem. An LLM under one fixed prompt writes each gold document and its near-miss distractors; LLM judges filter them. We call this procedure the "recipe", training on pairs built the same way "recipe-matching", and ask how much score it buys beyond the ability the benchmark claims to test. Two models from one base, matched in rows and settings, differ only in the training file: pairs written under the benchmark's published prompt by another vendor's LLM and judge, or computer-algebra-verified pairs with no LLM anywhere. The first leads by 45 R@1 points on the easy tier. By a non-LLM paraphrase control, half to two thirds of that gap comes from the pairs being LLM-written at all: LLM rewrites under two unrelated prompts, with the verified model's negatives, recover 30 and 22 of the 45 points; back-translations with the same negatives recover almost none. The remaining 15 to 25 points appear only under the benchmark's own prompt and vanish on real duplicates no generator wrote, the same problem in two languages. The hard tier rewards the recipe's pair structure, a deep rewrite against a minimal-edit near-miss: LLM rewrites alone score zero on it, attaching negatives unlocks it, and every negative that does so costs cross-language points; the sets scoring highest on it separate near-misses no LLM wrote worse than LLM rewrites with verified negatives. MELD also moves when a model trains on pairs built its way, without losing retention; on SABER-Math the registered attack fails, and the one gain, from its LLM-written summaries, is small but holds at a matched budget. Only on MathNet-Retrieve could we pin an inversion, benchmark score up and real retention down, to one edit of a training file. We release the generator-free duplicate evaluations, the near-miss test and three trained models.

Fri 25 SeptInformation RetrievalComputation and LanguageMachine Learning
The gist
Finding exact math problems in documents can be tricky because they can be written in many ways. This paper shows that training a model with pairs of problems created by a specific method called a “recipe”—where an AI writes problems and near-misses—helps improve how well the model finds matches. However, much of this improvement comes simply from the AI-generated problems themselves, not necessarily from truly understanding the math. The authors also show that other training methods don’t gain as much, and that real duplicates in different languages don’t benefit from these AI tricks.
Open → 2609.31927v1

Permuformer improves pretraining for algebraic permutation tasks

PermuFormer: Multi-Task Pretraining for Permutation Representation in Algebraic Combinatorics

Abstract: Diverse pretraining has been shown to be an effective method for learning reusable, domain-aware representations that provide a starting point for fine-tuning on downstream tasks. While much of the excitement in AI for math has been concentrated in the use of frontier reasoning models to solve well-specified problems through the medium of language, narrow, specialized models remain an important component of the AI for math ecosystem. In contrast to large language models, specialized models are usually trained directly on the mathematical objects themselves (e.g., graphs, sequences of numbers) rather than the textual descriptions that characterize these objects. However, the common practice of training specialists from scratch may limit their ability to develop domain-aware representations that capture the multifaceted nature of mathematics. In this paper, we describe an approach to pretraining for permutation-focused tasks in algebraic combinatorics. We introduce PermuFormer, an autoregressive transformer trained on a 2.8 billion token multi-task, multi-encoding corpus. We show that PermuFormer is an effective starting point for fine-tuning on basic tasks unseen during pretraining and more complex research-level tasks, frequently outperforming the same architecture trained from scratch, baseline MLPs, and a fine-tuned generic language model of comparable size. We also analyze some of the internal mechanisms by which PermuFormer learns to solve training tasks. For example, we show that while some tasks can be linearly decoded directly from the internal representation of the prompt, other tasks require multiple rounds of generation before the answer can be decoded.

Mon 21 SeptMachine Learning
The gist
The paper focuses on creating a better way to train computer models that understand permutations, which are special ways of arranging items important in math. The authors designed PermuFormer, a model trained on many related tasks to learn general features of permutations. This helps the model do well on new, unseen tasks in algebraic combinatorics after some additional training. The authors also explored how the model internally solves problems, finding some answers can be read directly while others need several steps.
Open → 2609.25438v1