Research map / Large language models / Agents, code and math
TopoAlign: A Framework for Aligning Code to Math via Topological Decomposition
Yupei Li, Philipp Borchert, Gerasimos Lampouras
Imperial College London · Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
4improved
2no clear effect
4hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| train with TopoAlign aligned code plus math data | DeepSeek-Math · MiniF2F-valid | BEq@1: 9.65 -> 14.47 | Improved |
| train with TopoAlign aligned code plus math data | DeepSeek-Math · aggregate benchmarks | BEq@10 / typecheck@10: +17.77% BEq@10, +68.82% typecheck@10 | Improved |
| train with TopoAlign aligned code plus math data | Herald · MiniF2F-valid | BEq@1 (unbiased): 23.07 -> 25.08 | Improved |
| train with TopoAlign aligned code plus math data | Herald · MiniF2F-test | BEq@1 (unbiased): 22.70 -> 25.64 | Improved |
| train with TopoAlign aligned code plus math data | Herald · ProofNet | BEq@10: 20.32 -> 16.84 | Hurt |
| replace aligned code with unaligned code only (ablation) | Herald · ProofNet | BEq@10: 20.32 -> 9.36 | Hurt |
| train on unaligned code only (ablation) | Qwen-3 · all benchmarks | BEq@10: 0.00 (Code) vs 85.53 (TopoAlign) on MiniF2F-valid | Hurt |
| use alpha=0.25 (less math data) instead of 0.5 (ablation) | DeepSeek-Math · MiniF2F-test | BEq@1: 16.89 -> 7.56 | Hurt |
| use alpha=0.75 (more math data) instead of 0.5 (ablation) | DeepSeek-Math · MiniF2F-test | TC@1 and BEq@1: TC@1 54.67 -> 56.44; BEq@1 16.89 -> 14.67 | Mixed |
| continued pre-training with math and TopoAlign data | Goedel-Formalizer · BEq | BEq | No clear effect |
| use TopoAlign instead of Math only | DeepSeek-Math · Putnam | BEq@10: 0.00 -> 0.00 | No clear effect |
Open problems this paper states
- “Main experiments use only about 4,000 code and 4,000 math samples, and only Python repositories.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Llemma: An Open Language Model for Mathematics (ICLR 2024 · similarity 0.90)
- ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data (NeurIPS 2025 · similarity 0.89)
- MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoning (ICLR 2024 · similarity 0.89)
- MathFimer: Enhancing Mathematical Reasoning by Expanding Reasoning Steps through Fill-in-the-Middle Task (ICLR 2026 · similarity 0.89)
- RealMath: A Continuous Benchmark for Evaluating Language Models on Research-Level Mathematics (NeurIPS 2025 · similarity 0.88)
- MathPile: A Billion-Token-Scale Pretraining Corpus for Math (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.