arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.03416

Dude: A Dual-Detection Multi-Agent System for Paper-Code Discrepancy Detection

Weijie Liu, Running Zhao, Wenhao Yuan, Jinfeng Xu, Zhanfeng Xu, Xiaoxi Zhang, Edith Cheuk-Han Ngai

Abstract

LLM-empowered paper-code discrepancy detection has received growing concern since the scaling of research submissions exceeds the manual review capability. However, the limited context capacity and one-sided discrepancy detection of existing single-agent LLM paradigms lead to an inferior recall performance in detecting discrepancies. In this paper, we propose Dude¹, the first Dual-Detection Multi-Agent System for paper-code discrepancy detection. We discover that the granularity asymmetry of the paper-language and code-language introduces over-interpretation and over-reporting challenges in a multi-agent system design for discrepancy detection, resulting in increasing false positives. To address this, we propose a granularity-aligned negotiation and a two-stage salience-filtering mechanism in Dude, which effectively prevents agents from falsely reporting discrepancies. Experimental results in real-world paper-code discrepancy datasets showcase Dude's significant recall and precision improvement by up to 22.8%, increasing F1 score by up to 18.7% compared to baseline methods.

1 Introduction

Paper-code discrepancy detection aims to identify inconsistencies of research claims described in the paper manuscript and code repository. This task is crucial as such inconsistencies compromise the credibility and reproducibility of research findings. Yet, the rapid growth of paper submissions has gone beyond reviewers' capacity to conduct accurate assessments of paper-code consistency within tight timelines. Therefore, leveraging the power of LLMs to conduct automated discrepancy detection has attracted increasing attention (You et al., 2026; Liu et al., 2026; Xu et al., 2026).

Limitations. However, a recent study (Baumgartner and Gurevych, 2026) has reported the inferior

Figure

Figure 1: Three types of paper-code discrepancy of a research claim (Left) and the comparison of one-sided detection and our proposed dual-detection (Right).

performance of the single-agent paradigm in detecting paper-code discrepancies, with the best-performing models attaining only 46% recall on a real-world discrepancy dataset SciCoQA. This sub-optimal performance of single-agent LLMs stem from: 1) The limited context window makes it difficult to jointly reason over lengthy papers and large codebases. 2) LLM tends to adopt paper-oriented detection by only generating a research claim from the paper, then searching the codebase for matching code. While this is effective to detect paper-code conflict and code-omission discrepancies which are explicitly stated in the paper, it is inherently limited to spot paper-omission discrepancies only observable from the code, as we illustrated in Fig. 1.

To address these limitations, we design Dude, a Dual-Detection Multi-Agent System for paper-code discrepancy detection. Dude decomposes the discrepancy detection task into fine-grained sub-tasks and assigns specialized paper agents and code agents to conduct either paper-side understanding or code-side analysis. This alleviates the context burden of individual agents, and enables them to collectively perform both paper-oriented and code-oriented detection, i.e., dual-detection.

However, designing an effective dual-detection multi-agent system is non-trivial. The core challenge arises from the granularity asymmetry be-

*Corresponding author ¹https://github.com/VinnyLiu0817/Dude

MethodRecallPrecisionF1
Simple-LM58.70%91.53%71.52%
Vanilla-MA75.00%74.19%74.59%
Improvement+16.30 %-17.34 %+3.07 %

Table 1: Precision, recall, and F1 score of a single-agent method (Simple-LM) and a naive multi-agent method (Vanilla-MA), both methods adopt GPT-5.4.

tween the paper-language description and code-language implementation of a research claim, introducing unique challenges in paper-oriented and code-oriented discrepancy detection, respectively.

Over-interpretation in paper-oriented detection. In paper-oriented detection, research claims extracted from papers are often condensed and high-level, leaving multiple valid code implementation choices. This ambiguity may cause the code agent to over-interpret the claim and mistakenly treat its inferred implementation as paper-grounded claims before examining the code. Consequently, this ungrounded over-interpretation leads to falsely reporting a discrepancy when the code implements one valid interpretation of a high-level research claim, but not the particular implementation that the code agent inferred without textual support from papers.

Over-reporting in code-oriented detection. In code-oriented detection, research claims extracted from the code are concrete and fine-grained. However, not every code implementation constitutes a research claim that requires documentation in the paper. Codebases also include environment setup and other auxiliary implementations that are necessary only for execution but peripheral to scientific contributions. A naive code-oriented detection over-reports these non-salient implementations as research claims, resulting in false-positive discrepancies. Tab. 1 shows that simply decomposing dual-detection to multiple agents increases recall, but incurs significant precision drop, showing the negative effect of over-interpretation and over-reporting.

To mitigate the over-interpretation challenge, we introduce a granularity-aligned negotiation mechanism in Dude, which enables multi-round interactions between the paper agent and code agent. During this process, the paper agent progressively refines and provides increasingly concrete and grounded paper description of the research claim. This mitigates over-interpretation by the code agent and yields more reliable discrepancy judgments. To mitigate over-reporting, Dude introduces a two-stage filtering module that combines anchor-guided filtering with evidence-based filtering. This module suppresses research claims over-reported by code agents, thereby preventing paper agents from falsely reporting discrepancies in trivial code implementations. Our key contributions are as follows:

  • We reveal the limitation of single-agent LLM to detect paper-code discrepancies stems from its one-sided discrepancy detection.

  • We design Dude, a dual-detection multi-agent system with granularity-aligned negotiation and filtering modules, bridging the granularity asymmetry between papers and codebases.

  • Experiments demonstrate significant recall and precision improvement of Dude in detecting real-world paper-code discrepancies.

References (5)

  • Follow related function calls, class definitions, utilities, configuration, and dependencies when necessary
  • * Matching result = {matched, partial, mismatch, unfound} * Explanation Definition of matching result: * matched: The code implementation clearly and substantially supports the paper description
  • * Start your code inspection from the code_location specified
  • At the beginning of the workflow, create checklist from the 'paper-claim.json':
  • if they describe the same or different paper-code discrepancies