Papers › R-CoT: Reverse Chain-of-Thought Problem Generation for Geometric Reasoning in Large...

R-CoT: Reverse Chain-of-Thought Problem Generation for Geometric Reasoning in Large Multimodal Models

23 Oct 2024arXiv:2410.17885archive 2025-07-28

Linger Deng, Yuliang Liu, Bohan Li, Dongliang Luo, Liang Wu, Chengquan Zhang, Pengyuan Lyu, Ziyang Zhang, Gang Zhang, Errui Ding, Yingying Zhu, Xiang Bai

Existing Large Multimodal Models (LMMs) struggle with mathematical geometric reasoning due to a lack of high-quality image-text paired data. Current geometric data generation approaches, which apply preset templates to generate geometric data or use Large Language Models (LLMs) to rephrase questions and answers (Q&A), unavoidably limit data accuracy and diversity. To synthesize higher-quality data, we propose a two-stage Reverse Chain-of-Thought (R-CoT) geometry problem generation pipeline. First, we introduce GeoChain to produce high-fidelity geometric images and corresponding descriptions highlighting relations among geometric elements. We then design a Reverse A&Q method that reasons step-by-step based on the descriptions and generates questions in reverse from the reasoning results. Experiments demonstrate that the proposed method brings significant and consistent improvements on multiple LMM baselines, achieving new performance records in the 2B, 7B, and 8B settings. Notably, R-CoT-8B significantly outperforms previous state-of-the-art open-source mathematical models by 16.6% on MathVista and 9.2% on GeoQA, while also surpassing the closed-source model GPT-4o by an average of 13% across both datasets. The code is available at https://github.com/dle666/R-CoT.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.17885")

Code

Syntology Ran 11 of 21 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · violated contract; 8 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dle666/r-cot officialmentioned in papermentioned on GitHubpytorch report
yuliang-liu/monkey mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 11 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
8ran · our draft was wrong
1ran · fixture could not drive it
1ran
10unverified

Licence: 21 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from dle666/r-cot. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_transform dle666/r-cot/GeoQA_test/model_vqa_rcot2b.py official repository ran no licence file found · pointer only · 57e95166ade5f25c · report
create_one_query dle666/r-cot/MathVista_eval/evaluation/build_query.py official repository ran · our draft was wrong no licence file found · pointer only · ecc1e50a10f04fa0 · report
dynamic_preprocess dle666/r-cot/GeoQA_test/model_vqa_rcot2b.py official repository ran · our draft was wrong no licence file found · pointer only · 93f012e28ba3ca67 · report
evaluate_code dle666/r-cot/MathVista_eval/evaluation/generate_response_geo_qwenvl.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6a7cafccc873c34d · report
find_closest_aspect_ratio dle666/r-cot/GeoQA_test/model_vqa_rcot2b.py official repository ran · fixture could not drive it no licence file found · pointer only · bd77f5f8067f18e9 · report
get_chunk dle666/r-cot/GeoQA_test/model_vqa_rcot7b.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 42a46570620cd9fa · report
read_json dle666/r-cot/MathVista_eval/utilities.py official repository ran · our draft was wrong no licence file found · pointer only · 9ffa907555068ff3 · report
refine_caption dle666/r-cot/MathVista_eval/evaluation/build_query.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · d027e6e473c9fcd4 · report
refine_ocr dle666/r-cot/MathVista_eval/evaluation/build_query.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · bfd184123c9012c3 · report
split_list dle666/r-cot/GeoQA_test/model_vqa_rcot7b.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 076c252c52cbb161 · report
verify_response dle666/r-cot/MathVista_eval/evaluation/generate_response_geo_qwenvl.py official repository ran · violated contract no licence file found · pointer only · d6259b0d9750cac7 · report
calculate_accuracy dle666/r-cot/GeoQA_test/geo_acc_calculate.py official repository unverified no licence file found · pointer only · 6d0fed830d6f1474 · report
conv2text dle666/r-cot/R-CoT7B-main/data_mix.py official repository unverified no licence file found · pointer only · 8b526bb8355d1e07 · report
extract_answer dle666/r-cot/MathVista_eval/evaluation/extract_answer.py official repository unverified no licence file found · pointer only · c1eaa5bf4d5f383d · report
extract_choice dle666/r-cot/GeoQA_test/geo_acc_calculate.py official repository unverified no licence file found · pointer only · ababfc3520297c21 · report
get_most_similar dle666/r-cot/MathVista_eval/evaluation/calculate_score.py official repository unverified no licence file found · pointer only · c28eb86a8d14e4ed · report
normalize_extracted_answer dle666/r-cot/MathVista_eval/evaluation/calculate_score.py official repository unverified no licence file found · pointer only · 0da7b678f70430a0 · report
read_csv dle666/r-cot/MathVista_eval/utilities.py official repository unverified no licence file found · pointer only · 1694e6d4f46ff13e · report
read_pandas_csv dle666/r-cot/MathVista_eval/utilities.py official repository unverified no licence file found · pointer only · 32ae2fb99638aba7 · report
safe_equal dle666/r-cot/MathVista_eval/evaluation/calculate_score.py official repository unverified no licence file found · pointer only · e7a23ea3695f6437 · report
verify_extraction dle666/r-cot/MathVista_eval/evaluation/extract_answer.py official repository unverified no licence file found · pointer only · a7852c6582967cfa · report

Tasks

Diversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections