Papers › OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAG

OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAG

13 Jan 2026arXiv:2601.09028added by Syntology

Fengran Mo, Zhan Su, Yuchen Hui, Jinghan Zhang, Jia Ao Sun, Zheyuan Liu, Chao Zhang, Tetsuya Sakai, Jian-Yun Nie

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

The development of large language models (LLMs) has achieved superior performance in a range of downstream tasks, including LLM-based retrieval-augmented generation (RAG). The quality of generated content heavily relies on the usefulness of the retrieved information and the capacity of LLMs' internal information processing mechanism to incorporate it in answer generation. It is generally assumed that the retrieved information is relevant to the question. However, the retrieved information may have a variable degree of relevance and usefulness, depending on the question and the document collection. It is important to take into account the relevance of the retrieved information in answer generation. In this paper, we propose OpenDecoder, a new approach that leverages explicit evaluation of the retrieved information as quality indicator features for generation. We aim to build a RAG model that is more robust to varying levels of noisy context. Three types of explicit evaluation information are considered: relevance score, ranking score, and QPP (query performance prediction) score. The experimental results on five benchmark datasets demonstrate the effectiveness and better robustness of OpenDecoder by outperforming various baseline methods. Importantly, this paradigm is flexible to be integrated with the post-training of LLMs for any purposes and incorporated with any type of external indicators.

PaperPDFCode 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="2601.09028")

Code

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

By repository: found in paper text by Syntology: 14 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.

fengranMark/OpenDecoder found in paper text by SyntologyMIT 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

14 samples harvested; 1 ran; 0 honoured the contract we drafted; 13 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
13unverified

Licence: 0 of the 14 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 fengranMark/OpenDecoder. “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.

padding_seq_to_same_length fengranMark/OpenDecoder/src/retrieval/retrieval_dataset.py found in paper text by Syntology ran MIT (permissive) · 58745a56a67a45ad · report
acc_score fengranMark/OpenDecoder/src/evaluation.py found in paper text by Syntology unverified MIT (permissive) · baa96c8fcc9b7403 · report
calculate_similarity fengranMark/OpenDecoder/src/retrieval/construct_indicators.py found in paper text by Syntology unverified MIT (permissive) · 9ba9e62b273b7c2b · report
extract_first_digit fengranMark/OpenDecoder/src/retrieval/generate_QPP_scores.py found in paper text by Syntology unverified MIT (permissive) · a516d4163636a590 · report
f1_score fengranMark/OpenDecoder/src/evaluation.py found in paper text by Syntology unverified MIT (permissive) · e08cad149be1d1ab · report
get_embedding fengranMark/OpenDecoder/src/retrieval/construct_indicators.py found in paper text by Syntology unverified MIT (permissive) · 0bbe88e1e97834eb · report
load_imodel_and_iconfig_package fengranMark/OpenDecoder/src/inference.py found in paper text by Syntology unverified MIT (permissive) · ae944771f0673fa8 · report
load_imodel_and_iconfig_package fengranMark/OpenDecoder/src/train_parallel.py found in paper text by Syntology unverified MIT (permissive) · 2a83dab612562e4d · report
load_imodel_and_iconfig_package fengranMark/OpenDecoder/utils/iniModel.py found in paper text by Syntology unverified MIT (permissive) · 8033a98192281151 · report
normalize_answer fengranMark/OpenDecoder/src/evaluation.py found in paper text by Syntology unverified MIT (permissive) · 24a31436a8dbd623 · report
parser_binary fengranMark/OpenDecoder/src/retrieval/generate_QPP_scores.py found in paper text by Syntology unverified MIT (permissive) · 7f3a7ddcef1209a7 · report
parser_digit fengranMark/OpenDecoder/src/retrieval/generate_QPP_scores.py found in paper text by Syntology unverified MIT (permissive) · aa8d783be138ff41 · report
pload fengranMark/OpenDecoder/src/RAG_dataset.py found in paper text by Syntology unverified MIT (permissive) · aa4b9685f084f5f8 · report
pload fengranMark/OpenDecoder/src/retrieval/construct_indicators.py found in paper text by Syntology unverified MIT (permissive) · 155939bd2bae6551 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.09028, was issued in January 2026, 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