Papers › Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Models

Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Models

29 Sep 2025ICLRarXiv:2509.24156added by Syntology

Yuhui Wang, Changjiang Li, Guangke Chen, Jiacheng Liang, Ting Wang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large reasoning models (LRMs) exhibit unprecedented capabilities in solving complex problems through Chain-of-Thought (CoT) reasoning. However, recent studies reveal that their final answers often contradict their own reasoning traces. We hypothesize that this inconsistency stems from two competing mechanisms for generating answers: CoT reasoning and memory retrieval. To test this hypothesis, we conduct controlled experiments that challenge LRMs with misleading cues during reasoning and/or corrupted answers during retrieval. Our results across models and datasets confirm that both mechanisms operate simultaneously, with their relative dominance influenced by multiple factors: problem domains, model scales, and fine-tuning approaches (e.g., reinforcement learning vs. distillation). The findings reveal a critical limitation in current reasoning fine-tuning paradigms: models can exploit the retrieval mechanism as a shortcut, effectively "hacking" the reward signal and undermining genuine reasoning development. To address this challenge, we introduce FARL, a novel fine-tuning framework that integrates memory unlearning with reinforcement learning. By carefully suppressing retrieval shortcuts during the fine-tuning process, FARL promotes reasoning-dominant behavior and enhances generalizable reasoning capabilities. The code is available: https://github.com/ZJUWYH/FARL.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2509.24156")

Code

Syntology Ran 1 of 19 code samples harvested from 1 repository linked to this paper; 18 have no recorded run. Of those that ran: 1 ran with no contract checked.

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

ZJUWYH/FARL found in paper text by Syntology report

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

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

1ran
18unverified

Licence: 19 of the 19 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 ZJUWYH/FARL. “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.

create_rl_sampler ZJUWYH/FARL/train/farl.py found in paper text by Syntology ran no licence file found · pointer only · 7434c2f36297799f · report
add_answer_column ZJUWYH/FARL/perturb/normal_model_infer.py found in paper text by Syntology unverified no licence file found · pointer only · 0b3593e9b456a74d · report
add_answer_column ZJUWYH/FARL/perturb/perturb_model_infer.py found in paper text by Syntology unverified no licence file found · pointer only · f74efc916c696b88 · report
add_answer_column ZJUWYH/FARL/perturb/reason_perturb.py found in paper text by Syntology unverified no licence file found · pointer only · de3097932e305276 · report
arc_to_mmlu ZJUWYH/FARL/perturb/normal_model_infer.py found in paper text by Syntology unverified no licence file found · pointer only · 68b51fc6638362ca · report
chat_template_prefill ZJUWYH/FARL/perturb/reason_perturb.py found in paper text by Syntology unverified no licence file found · pointer only · 892f73d930085930 · report
create_rl_dataset ZJUWYH/FARL/train/farl.py found in paper text by Syntology unverified no licence file found · pointer only · 72cddcc13e34b536 · report
format_mmlu_example ZJUWYH/FARL/train/sft_correct.py found in paper text by Syntology unverified no licence file found · pointer only · 98ea899fbd2a87f8 · report
format_mmlu_example ZJUWYH/FARL/train/sft_wrong.py found in paper text by Syntology unverified no licence file found · pointer only · 3744150273669ec6 · report
llm_extract_answer ZJUWYH/FARL/perturb/perturb_model_infer.py found in paper text by Syntology unverified no licence file found · pointer only · d57c2265f84b4dee · report
llm_extract_answer_v2 ZJUWYH/FARL/perturb/perturb_model_infer.py found in paper text by Syntology unverified no licence file found · pointer only · 2442c4223696116a · report
load_mmlu_subset ZJUWYH/FARL/train/sft_correct.py found in paper text by Syntology unverified no licence file found · pointer only · 75a54d371ab2f3d6 · report
load_mmlu_subset ZJUWYH/FARL/train/sft_wrong.py found in paper text by Syntology unverified no licence file found · pointer only · ea50d25bbee31eef · report
my_reward_fn ZJUWYH/FARL/util/costom_reward.py found in paper text by Syntology unverified no licence file found · pointer only · 17465e2ba860524b · report
prepare_fsdp ZJUWYH/FARL/train/sft_correct.py found in paper text by Syntology unverified no licence file found · pointer only · 672e2168f91d0fef · report
selective_log_softmax ZJUWYH/FARL/train/unlearn_correct.py found in paper text by Syntology unverified no licence file found · pointer only · 76c00ae89d47f941 · report
str2bool ZJUWYH/FARL/perturb/reason_perturb.py found in paper text by Syntology unverified no licence file found · pointer only · bceedc218301135e · report
tokenize_mmlu_example ZJUWYH/FARL/train/sft_wrong.py found in paper text by Syntology unverified no licence file found · pointer only · 621f370f69080361 · report
tokenizer_fn ZJUWYH/FARL/perturb/indentify_target_answer.py found in paper text by Syntology unverified no licence file found · pointer only · 1909abf95262909b · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.24156, was issued in September 2025, after that date, so the archive has no leaderboard rows for it.

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