SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.09603 · 2023

Self-Contradictory Reasoning Evaluation and Detection

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.09603.json · badge: /api/ran/2311.09603.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
uscnlp-lime/Self-Contradictory canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
compare_answers Ran
ran, violated the contract we drafted
uscnlp-lime/Self-Contradictory/auto_detection/get_metrics.py
pointer only (licence: NONE) · get_code("e31f2e11cd735813")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exclude_answer Ran
ran; our contract draft was wrong, not the code
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_ir_o.py
pointer only (licence: NONE) · get_code("da8a01c0f4495d2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_reasoning_elements Ran
ran; our contract draft was wrong, not the code
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_fga.py
pointer only (licence: NONE) · get_code("ef660d2f13a9f587")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_prompt Ran
ran; our contract draft was wrong, not the code
uscnlp-lime/Self-Contradictory/generate_reasoning_multiple.py
pointer only (licence: NONE) · get_code("5ac1b64a85172751")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_result_binary Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
uscnlp-lime/Self-Contradictory/auto_detection/get_metrics.py
pointer only (licence: NONE) · get_code("43a651673691945e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_result_ensemble Ran
ran, honoured the contract we drafted
uscnlp-lime/Self-Contradictory/auto_detection/get_metrics.py
pointer only (licence: NONE) · get_code("c20e4fdc0fac95eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

separate_sentences Ran
ran; our contract draft was wrong, not the code
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_ir_o.py
pointer only (licence: NONE) · get_code("bce89358f2f2ebe6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_reasoning_answer Ran
ran; our contract draft was wrong, not the code
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_fga.py
pointer only (licence: NONE) · get_code("61a2f19859750b4a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_evidence Not yet run
unverified (harvested, no recorded run)
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_fga.py
pointer only (licence: NONE) · get_code("b065d8863e78b2be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_df Not yet run
unverified (harvested, no recorded run)
uscnlp-lime/Self-Contradictory/auto_detection/evaluate_ir_o.py
pointer only (licence: NONE) · get_code("387ea733adfb813a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, uscnlp-lime/Self-Contradictory when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In a plethora of recent work, large language models (LLMs) demonstrated impressive reasoning ability, but many proposed downstream reasoning tasks only focus on final answers. Two fundamental questions persist: 1) how consistent is the reasoning, and 2) can models detect unreliable reasoning? In this paper, we investigate self-contradictory (Self-Contra) reasoning, where the model reasoning does not support its answers. To answer 1), we define and assess the Self-Contra rate across three datasets and delve into finer-grained categories of Self-Contra reasoning. We find that LLMs often contradict themselves in reasoning tasks involving contextual information understanding or commonsense. The model may generate correct answers by taking shortcuts in reasoning or overlooking contextual evidence, leading to compromised reasoning. For 2), we task the state-of-the-art model GPT-4 with identifying Self-Contra reasoning and finer-grained fallacies. We find that finer-grained categories enhanced detection can improve GPT-4's ability to detect Self-Contra. However, it is only able to detect Self-Contra with a 52.2% F1 score, much lower compared to 66.7% for humans. Our results indicate that current LLMs lack the robustness necessary for reliable reasoning and we emphasize the urgent need for establishing best practices in comprehensive reasoning evaluations beyond pure performance-based metrics.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.09603")
get_code_for_paper("2311.09603")
have("2311.09603")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.09603.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.09603.svg)](https://syntology.ai/paper/2311.09603)

Connect an agent — have() is free.