Self-Error-Instruct: Generalizing from Errors for LLMs Mathematical Reasoning
Erxin YuJing LiMing LiaoQi ZhuBoyang XueMinghui XuBaojun WangLanqing HongFei MiLifeng Shang
Erxin Yu
Jing Li
Ming Liao
Qi Zhu
Boyang Xue
Minghui Xu
Baojun Wang
Lanqing Hong
Fei Mi
Lifeng Shang
+10
Self-Error-Instruct (SEI) improves LLMs' mathematical reasoning by generalizing from errors rather than treating each bad case in isolation. The method first identifies bad cases of a target model on GSM8K and MATH, then uses an instructor model (GPT-4o) to generate error keyphrases, which are clustered into error types. For each type, a few bad cases are sampled and fed to the instructor, which synthesizes additional training data via self-instruct, refined by one-shot learning. Fine-tuning the target model with this curated data iteratively boosts reasoning on in-domain and out-of-domain math datasets.

ACL Anthology ·
· July 2025