Papers › EvidenceRL: Reinforcing Evidence Consistency for Trustworthy Language Models

EvidenceRL: Reinforcing Evidence Consistency for Trustworthy Language Models

20 Mar 2026arXiv:2603.19532added by Syntology

J. Ben Tamo, Yuxing Lu, Benoit L. Marteau, Micky C. Nnamdi, May D. 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 Language Models (LLMs) are fluent but prone to hallucinations, producing answers that appear plausible yet are unsupported by available evidence. This failure is especially problematic in high-stakes domains where decisions must be justified by verifiable information. We introduce EvidenceRL, a reinforcement learning framework that enforces evidence adherence during training. EvidenceRL scores candidate responses for grounding (entailment with retrieved evidence and context) and correctness (agreement with reference answers) and optimizes the generator using Group Relative Policy Optimization (GRPO). We evaluate across two high-stakes domains, cardiac diagnosis and legal reasoning, where EvidenceRL consistently improves evidence grounding and faithfulness without sacrificing task accuracy. On cardiac diagnosis, F1@3 increases from 37.0 to 54.5 on Llama-3.2-3B while grounding (Gₘₐₓ@3) rises from 47.6 to 78.2; hallucinations drop nearly 5× and evidence-supported diagnoses increase from 31.8% to 61.6%. On legal reasoning, EvidenceRL raises Faithfulness from 32.8% to 67.6% on Llama-3.1-8B, demonstrating consistent behavioral change across domains. Our code is open-sourced at https://github.com/Wizaaard/EvidenceRL.git.

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 24 code samples harvested from 1 repository linked to this paper: 19 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 2 honoured, 0 violated, 3 with no contract checked; 14 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 13 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 24 samples from 1 repository, 19 ran (5 with no instrument failure; 14 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-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

Wizaaard/EvidenceRL found in paper text by SyntologySyntology: 24 samples, 19 ran (14 instrument-failed) · 5 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

24 samples harvested: 19 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 2 honoured, 0 violated, 3 with no contract checked; 14 where Syntology's instrument failed) · 5 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 · honoured contract
13ran · our draft was wrong
1ran; the contract check could not run
3ran
5unverified

Licence: 24 of the 24 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 Wizaaard/EvidenceRL. “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.

Wizaaard/EvidenceRL found in paper text by Syntology 24 samples, 19 ran (14 instrument-failed) · 5 unverified
bootstrap_ci in 21 papers paper_metrics.py ran no licence file found · pointer only · f24bdeccaef4e732 · report fixture: signature values:list/1/float, n_bootstrap:int/0/int, ci:float/0/float, seed:int/0/int · returned tuple · level recorded 2026-09-25
bootstrap_ci in 21 papers paper_metrics_barexam.py ran no licence file found · pointer only · 3ee03322d6a1ef5c · report fixture: signature values:list/1/float, n_bootstrap:int/0/int, ci:float/0/float, seed:int/0/int · returned tuple · level recorded 2026-09-25
build_pairwise_match_matrix compute_evidencerl_metrics_vllm_enhanced.py ran no licence file found · pointer only · 97394df7ba9413c0 · report fixture: signature predicted_diagnoses:list/1/str, ground_truth_diagnoses:list/1/str, judge:MockAnswerJudge/0/? · returned list · level recorded 2026-09-25
classify_case paper_metrics_barexam.py ran · our draft was wrong no licence file found · pointer only · 2dc1911eec8d8e27 · report fixture: signature correct:bool/0/bool, grounding_score:float/0/float, threshold:float/0/float · returned str · level recorded 2026-09-25
classify_diagnosis paper_metrics.py ran · our draft was wrong no licence file found · pointer only · 676fb63821942cb3 · report fixture: signature correct:bool/0/bool, grounding_avg:float/0/float, threshold:float/0/float · returned str · level recorded 2026-09-25
compute_aggregate_metrics compute_evidencerl_metrics_vllm.py ran · our draft was wrong no licence file found · pointer only · 41d6ea1aca121cea · report fixture: signature patient_metrics:list/1/EvidenceRLMetrics · returned AggregateMetrics · level recorded 2026-09-25
compute_precision_recall_at_k compute_evidencerl_metrics.py ran · our draft was wrong no licence file found · pointer only · cf1535de381ffd97 · report fixture: signature verdicts:list/1/bool, num_ground_truth:int/0/int, max_k:int/0/int · returned tuple · level recorded 2026-09-25
compute_precision_recall_at_k compute_evidencerl_metrics_vllm_enhanced.py ran · our draft was wrong no licence file found · pointer only · 494edebfa96549dc · report fixture: signature match_matrix:list/1/list, num_ground_truth:int/0/int, max_k:int/0/int · returned tuple · level recorded 2026-09-25
compute_reward_at_k compute_evidencerl_metrics.py ran · our draft was wrong no licence file found · pointer only · 1c521a1a7379ada3 · report fixture: signature rewards:list/1/float, max_k:int/0/int · returned dict · level recorded 2026-09-25
compute_reward_at_k compute_evidencerl_metrics_vllm_enhanced.py ran · our draft was wrong no licence file found · pointer only · ca46f3c759bc9316 · report fixture: signature rewards:list/1/float, max_k:int/0/int · returned dict · level recorded 2026-09-25
compute_taxonomy paper_metrics_barexam.py ran · our draft was wrong no licence file found · pointer only · 8e18216315d8d90c · report fixture: signature cases:list/1/dict, grounding_key:str/0/str, threshold:float/0/float · returned dict · level recorded 2026-09-25
extract_diagnosis_data plot_reasoning_vs_grounding.py ran · honoured contract no licence file found · pointer only · 6d9a6eec15441660 · report fixture: signature data:dict/0/? · returned list · level recorded 2026-09-25
extract_patient_grounding plot_patient_movement.py ran · our draft was wrong no licence file found · pointer only · 3cfc592462c22203 · report fixture: signature data:dict/0/? · returned dict · level recorded 2026-09-25
extract_per_diagnosis plot_accuracy_vs_grounding.py ran · honoured contract no licence file found · pointer only · 798f67aa246648f5 · report fixture: signature data:dict/0/? · returned list · level recorded 2026-09-25
extract_per_patient_metrics paper_metrics.py ran; the contract check could not run (RAISES) no licence file found · pointer only · 12bd484052a4252a · report fixture: signature patient:dict/0/?, k_values:list/1/int · returned dict · level recorded 2026-09-25
find_metrics_file plot_accuracy_vs_grounding.py ran · our draft was wrong no licence file found · pointer only · e122c556aafe7b09 · report fixture: signature base_dir:PosixPath/0/? · returned PosixPath · level recorded 2026-09-25
find_metrics_file plot_reasoning_vs_grounding.py ran · our draft was wrong no licence file found · pointer only · 77f3e0e8f70dae62 · report fixture: signature base_dir:PosixPath/0/?, model_id:str/0/str, condition:str/0/str · returned PosixPath · level recorded 2026-09-25
load_file in 52 papers plot_accuracy_vs_grounding.py ran · our draft was wrong no licence file found · pointer only · b815bf26e194b0d1 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-25
load_metrics_file plot_reasoning_vs_grounding.py ran · our draft was wrong no licence file found · pointer only · 2d5aed935e9e0f45 · report fixture: signature filepath:PosixPath/0/? · returned dict · level recorded 2026-09-25
compute_grounding compute_barexam_metrics.py unverified no licence file found · pointer only · e6caa63af4ef9966 · report
compute_patient_metrics_batch compute_evidencerl_metrics.py unverified no licence file found · pointer only · b58e9b553c59cc75 · report
llm_extract_batch run_barexam_vllm.py unverified no licence file found · pointer only · e5e010338e098c7a · report
load_model_data plot_barexam_grounding_scatter.py unverified no licence file found · pointer only · eb326c2f64c4533a · report
load_model_data plot_medical_grounding_scatter.py unverified no licence file found · pointer only · 563545db8b004590 · report

Results from the paper

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