Papers › SafeRestore: Detector-Relative Risk Certificates for Selective Industrial Image Restoration

SafeRestore: Detector-Relative Risk Certificates for Selective Industrial Image Restoration

3 Sep 2026arXiv:2609.03475added by Syntology

Shaoliang Yang, Jun 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).

Industrial inspection pipelines often restore a measured image before a detector acts on it, yet restoration can suppress detector-supported defect structure or create clean-region activations. We formulate restoration as a selective action problem over the measured display, five restored candidates, and review. SafeRestore ranks candidates with action-specific fitted scores, chooses a gate on threshold-tuning data, and evaluates the fixed gate on a disjoint certification sample with two one-sided exact binomial bounds: one for the positive-conditional evidence-loss incident rate and one for the all-accepted excess-activation incident rate. The guarantee is marginal for one policy fixed before its certification outcomes are observed, under an image-level i.i.d. working model. In a retrospective split-sample study of 4,591 public Carinthia-S images, the protocol yields auditable risk-coverage behavior. The primary all-action policy passes in one of five training repetitions (12.0% +/- 26.9% pass-gated test coverage when failures count as zero), whereas fixed bicubic and reduced-complexity variants pass more often. On reserved morphologies, evidence-loss incidence rises to 81.1-90.3%, and KolektorSDD lacks both detector competence and enough positive certification images for the stated target. The contribution is therefore an auditable, detector-relative framework for deciding when a transformed image may be returned automatically and when review remains necessary -- not a claim that adaptive routing outperforms simpler policies on the present evidence.

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="2609.03475")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nbbllxx0/SafeRestore found in paper text by SyntologyNOASSERTION 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; 0 ran; 0 honoured the contract we drafted; 14 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.

14unverified

Licence: 14 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 nbbllxx0/SafeRestore. “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.

build_detector nbbllxx0/SafeRestore/src/saferestore/torch_models.py found in paper text by Syntology unverified licence not identified · pointer only · 78b4c1455f0aa696 · report
build_restorer nbbllxx0/SafeRestore/src/saferestore/torch_models.py found in paper text by Syntology unverified licence not identified · pointer only · 733a1615dbab679a · report
choose_threshold nbbllxx0/SafeRestore/src/saferestore/certification.py found in paper text by Syntology unverified licence not identified · pointer only · f2d8329df4fbda17 · report
clopper_pearson_upper nbbllxx0/SafeRestore/src/saferestore/certification.py found in paper text by Syntology unverified licence not identified · pointer only · 356e969b2091c75e · report
degrade_batch nbbllxx0/SafeRestore/src/saferestore/degradation.py found in paper text by Syntology unverified licence not identified · pointer only · 3ac5072227ec45b4 · report
degrade_mixed_batch nbbllxx0/SafeRestore/src/saferestore/degradation_schedule.py found in paper text by Syntology unverified licence not identified · pointer only · 1b6eddd23399644a · report
evaluate_threshold nbbllxx0/SafeRestore/src/saferestore/certification.py found in paper text by Syntology unverified licence not identified · pointer only · 8d66fbfe34d5bd87 · report
forward_consistency nbbllxx0/SafeRestore/src/saferestore/degradation.py found in paper text by Syntology unverified licence not identified · pointer only · 15aca1baec96308b · report
inventory_sha256 nbbllxx0/SafeRestore/src/saferestore/datasets/carinthia_s.py found in paper text by Syntology unverified licence not identified · pointer only · 0f7ca407247e48fc · report
level_for_sample nbbllxx0/SafeRestore/src/saferestore/degradation_schedule.py found in paper text by Syntology unverified licence not identified · pointer only · b3c6a061ea606108 · report
load_carinthia_s nbbllxx0/SafeRestore/src/saferestore/datasets/carinthia_s.py found in paper text by Syntology unverified licence not identified · pointer only · 85ba7dd9702a45d3 · report
quantile_evidence_scores nbbllxx0/SafeRestore/src/saferestore/scores.py found in paper text by Syntology unverified licence not identified · pointer only · c9450247acb60341 · report
restore_methods nbbllxx0/SafeRestore/src/saferestore/degradation.py found in paper text by Syntology unverified licence not identified · pointer only · 7e5ed4366c393c96 · report
soft_dice_loss nbbllxx0/SafeRestore/src/saferestore/torch_models.py found in paper text by Syntology unverified licence not identified · pointer only · 6eebe82792a3fe01 · report

Results from the paper

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