Papers › Enhancing LLM Metacognition via Cognitive Pairwise Training

Enhancing LLM Metacognition via Cognitive Pairwise Training

30 May 2026arXiv:2606.00869added by Syntology

Weitao Li, Hao Zhou, Xuanyu Lei, Fandong Meng, Yuanhang Liu, Jingyi Ren, Ante Wang, Xiaolong Wang, Yuanchi Zhang, Fuwen Luo, Guangwen Yang, Lin Gan, Weizhi Ma, Yang Liu

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

Reinforcement learning with verifiable rewards (RLVR) has become central to LLM reasoning, but its outcome-level rewards can make models more willing to give confident answers when evidence or reasoning is unreliable. Existing SFT or RL methods mainly teach LLMs to refuse or express uncertainty at the response level, which can overfit abstention behavior rather than improve reasoning reliability. To address this limitation, we propose Cognitive Pairwise Training (CPT), a cognitive mid-training alignment stage that turns pairwise comparisons over reasoning traces into a reusable alignment signal. By learning to distinguish trustworthy from flawed reasoning, CPT encourages the model to internalize a reasoning-quality discrimination boundary rather than memorize surface refusal patterns. Across five model scales and three model families, CPT improves the reasoning--metacognition trade-off. At 14B, CPT+RL outperforms the standard SFT+RL pipeline by +2.2 math-average points and +5.6 abstention-F1 points. Further analyses show that CPT improves trace quality and exhibits strong robustness and scalability across evaluation and training settings. Code and models are released at https://github.com/Tsinghua-dhy/CPT.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 23 code samples harvested from 1 repository linked to this paper: 21 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 2 violated, 2 with no contract checked; 17 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 17 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 23 samples from 1 repository, 21 ran (4 with no instrument failure; 17 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

Tsinghua-dhy/CPT found in paper text by SyntologySyntology: 23 samples, 21 ran (17 instrument-failed) · 2 unverified 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

23 samples harvested: 21 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 2 violated, 2 with no contract checked; 17 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · violated contract
17ran · our draft was wrong
2ran
2unverified

Licence: 0 of the 23 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 Tsinghua-dhy/CPT. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

Tsinghua-dhy/CPT found in paper text by Syntology 23 samples, 21 ran (17 instrument-failed) · 2 unverified
build_prompt in 78 papers data_construction/4_build_sft/build_sft_dataset.py ran Apache-2.0 (permissive) · 74944fb1c9af1d08 · report fixture: signature question:str/0/str, ground_truth:str/0/str, answer_a:str/0/str, reasoning_a:str/0/str, answer_b:str/0/str, reasoning_b:str/0/str · returned str · level recorded 2026-09-24
detect_model_type eval/abstention/eval_abstention.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b9d58aa1639207a0 · report fixture: signature model_name:str/0/str · returned str · level recorded 2026-09-24
extract_answer_math data_construction/1_rollout/rollout.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0f9fe639bed6c737 · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-24
extract_answer_math eval/math/eval_math.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · ffcf6f704a28bb3b · report fixture: signature s:str/0/str · returned str · level recorded 2026-09-24
extract_boxed_content in 8 papers data_construction/3_judge/judge_pairs.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5a65ce548f2db502 · report fixture: signature text:str/0/str · returned list · level recorded 2026-09-24
get_all_highest_confidence_answers data_construction/4_build_sft/build_sft_dataset.py ran · our draft was wrong Apache-2.0 (permissive) · e5cec7c5865db846 · report fixture: signature judge_results:dict/0/? · returned list · level recorded 2026-09-24
get_model_size in 21 papers data_construction/2_pair/build_pairs.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · faa29ea87424c295 · report fixture: signature model_name:str/0/str · returned str · level recorded 2026-09-24
get_prompt in 99 papers eval/utils/judge_math_answer_gpt.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 04002d844af70af7 · report fixture: signature question:str/0/str, gold:str/0/str, pred:str/0/str · returned str · level recorded 2026-09-24
get_prompt in 99 papers eval/utils/math_equal.py ran · our draft was wrong Apache-2.0 (permissive) · a8eed4c1f2f2831b · report fixture: signature question:str/0/str, gold:str/0/str, pred:str/0/str · returned str · level recorded 2026-09-24
get_task_type eval/rag/eval_rag_conflicts.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 41a2c29e0316585f · report fixture: signature conflict_type:str/0/str · returned str · level recorded 2026-09-24
is_instruct_model eval/math/eval_math.py ran · violated contract Apache-2.0 (permissive) · 5d63c771657aa174 · report fixture: signature model_name:str/0/str · returned bool · level recorded 2026-09-24
is_instruct_model eval/rag/eval_rag_conflicts.py ran · violated contract Apache-2.0 (permissive) · a2cb58cb395f9e4b · report fixture: signature model_name:str/0/str · returned bool · level recorded 2026-09-24
load_all_questions data_construction/2_pair/build_pairs.py ran · our draft was wrong Apache-2.0 (permissive) · 4afecbe3b89e8ab8 · report fixture: signature output_dir:PosixPath/0/? · returned dict · level recorded 2026-09-24
normalize_judgment data_construction/3_judge/judge_pairs.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · bc1311386b177375 · report fixture: signature raw:str/0/str · returned str · level recorded 2026-09-24
normalize_rollout data_construction/2_pair/build_pairs.py ran · our draft was wrong Apache-2.0 (permissive) · d4cd0d203051a63a · report fixture: signature rollout:dict/0/? · returned dict · level recorded 2026-09-24
parse_judge_output data_construction/3_judge/judge_pairs.py ran · our draft was wrong Apache-2.0 (permissive) · ce2f3b3913ae8706 · report fixture: signature text:str/0/str · returned tuple · level recorded 2026-09-24
process_text in 21 papers data_construction/1_rollout/rollout.py ran · our draft was wrong Apache-2.0 (permissive) · 13430c1445a0990c · report fixture: signature example:dict/0/?, tokenizer:callable/0/? · returned dict · level recorded 2026-09-24
process_text in 21 papers eval/math/eval_math.py ran Apache-2.0 (permissive) · 7f580ad4df20e7bd · report fixture: signature example:dict/0/?, model_short_name:str/0/str, tokenizer:MinimalTokenizer/0/?, use_chat_template:bool/0/bool · returned dict · level recorded 2026-09-24
split_consensus_data data_construction/4_build_sft/split_consensus.py ran · our draft was wrong Apache-2.0 (permissive) · 14c46927d4562367 · report fixture: signature input_file:str/0/str, output_dir:str/0/str · returned dict · level recorded 2026-09-24
validate_datasets eval/abstention/eval_abstention.py ran · our draft was wrong Apache-2.0 (permissive) · 6f4528b6a787c430 · report fixture: signature dataset_str:str/0/str · returned list · level recorded 2026-09-24
validate_prompt_styles eval/abstention/eval_abstention.py ran · our draft was wrong Apache-2.0 (permissive) · fbe2f6cfb047b17e · report fixture: signature style_str:str/0/str · returned list · level recorded 2026-09-24
compute_math_score eval/abstention/correctness_evaluator.py unverified Apache-2.0 (permissive) · 990b7ec66e5cee70 · report
process_text in 21 papers eval/rag/eval_rag_conflicts.py unverified Apache-2.0 (permissive) · ba60eead339e8791 · report

Results from the paper

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

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 1 leaderboard (a model's judgement, not a result) and has not placed the paper on it: Math Word Problem Solving · MATH (rejected by the independent check). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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