Improved Accuracy Scaling with Problem Complexity in LLM Arithmetic Reasoning Using Executable Symbolic Representations
Organizations: Center for Quantum Physics and Intelligent Sciences, Department of Physics, Capital Normal University, Beijing, China
Abstract
High accuracy on mathematical benchmarks does not establish whether reasoning remains reliable as problem complexity increases. We examine how executable symbolic representations change accuracy scaling in large language models compared with natural-language reasoning. To address this limitation, we introduce the GSM Arithmetic Benchmark (GSM-AB), a controlled benchmark that independently varies operand digit length and operation count to probe numerical scale and compositional complexity. We find that executable representations can improve accuracy and slow its decline as complexity increases. Lean reduces average sensitivity to operand digit length at every tested model size. By contrast, slower degradation with increasing operation count emerges at the larger model sizes. A Python program-of-thought (Python-PoT) control shows a similar operation-axis pattern, suggesting that this finding is not specific to Lean. These findings show that reasoning representation shapes arithmetic accuracy scaling and support executable symbolic representations for more reliable reasoning on complex arithmetic tasks.
Figures & tables
| Model | |||||||
|---|---|---|---|---|---|---|---|
| Qwen3-0.6B | |||||||
| Qwen3-1.7B | |||||||
| Qwen3-8B |
| Model | Valid | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|---|
| DeepSeek-V4-Flash | 99.9% | 3 | 99/99 | 100/99 | 98/94 | 98/92 | 96/97 |
| 4 | 97/96 | 99/98 | 97/81 | 96/77 | 94/75 | ||
| 5 | 100/93 | 100/95 | 96/87 | 98/83 | 99/72 | ||
| 6 | 100/95 | 100/94 | 100/88 | 96/86 | 94/76 | ||
| Qwen3.5-27B | 100.0% | 3 | 100/99 | 99/97 | 94/89 | 93/85 | 95/87 |
| 4 | 100/95 | 98/92 | 97/91 | 96/80 | 98/82 |
| Dataset | Model | CoT | Lean | Valid | |
|---|---|---|---|---|---|
| SVAMP | 0.6B | ||||
| 1.7B | |||||
| 8B | |||||
| DeepMind Math | 0.6B | ||||
| 1.7B | |||||
| 8B |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Initial | Generated | Passed | Adopted | Final anchor | New model | |
|---|---|---|---|---|---|---|
| 2 | 120 | 0 | 0 | 0 | 120 | historical pool |
| 3 | 103 | 30 | 18 | 17 | 120 | DeepSeek-V3.2-Instruct |
| 4 | 113 | 60 | 46 | 37 | 150 | DeepSeek-V4-Pro |
| 5 | 102 | 75 | 48 | 48 | 150 | DeepSeek-V4-Pro |
| 6 | 108 | 196 | 95 | 92 | 200 | DeepSeek-V4-Pro |
| Setting | CoT | Lean |
|---|---|---|
| Training pool / train / validation | 1,553 / 1,398 / 155 | |
| LoRA rank / alpha / dropout | 8 / 32 / 0.05 | 8 / 32 / 0.05 |
| Target modules | query/value/gate/down projections | |
| Maximum epochs | 3 | 3 |
| Batch per device / gradient accumulation | 1 / 8 | 1 / 8 |
| Effective batch size | 8 | 8 |
| Model | Fixed | |||
|---|---|---|---|---|
| 0.6B | 2 | |||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 1.7B | 2 |
| Model | Fixed | |||
|---|---|---|---|---|
| 0.6B | 3 | |||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 1.7B | 3 | |||
| 4 |
| Model | ||||||
|---|---|---|---|---|---|---|
| DeepSeek-V4-Flash | ||||||
| Qwen3.5-27B |
| Lean ACC | Lean Valid | |
|---|---|---|
| 2 | 0.865 | 0.983 |
| 3 | 0.665 | 0.968 |
| 4 | 0.440 | 0.963 |
| 5 | 0.283 | 0.940 |
| 6 | 0.195 | 0.915 |
| CoT ACC | Python ACC | Lean ACC | |
|---|---|---|---|
| 2 | 0.690 | 1.000 | 0.980 |
| 3 | 0.490 | 1.000 | 0.980 |
| 4 | 0.460 | 0.950 | 0.950 |
| 5 | 0.170 | 0.930 | 0.960 |
| 6 | 0.110 | 0.870 | 0.860 |
| Overall | 0.384 | 0.950 | 0.946 |
LLM Mathematical Reasoning
Large language model mathematical reasoning studies how AI systems solve, explain, verify, and generalize across mathematical problems and proofs.
See all 290 papers