arXiv:2610.21335cs.CVOct 2026

Manuscript Offprint

arXiv:2610.21335

When Should a Low-Light Pipeline Generate? Auditable Risk Control for Selective Generative Enhancement

Qiyi Xie, Wei Chen Ng, Suyang Xi, Xicheng Wang, Ziyao Li, Bohong Xu, Wenyi Liu, Jian Ding Tan

Abstract

Generative low-light enhancers recover plausible texture but may hallucinate structure; restoration networks preserve structure but can leave regions under-enhanced, and neither advantage is spatially uniform. Therefore, we formulate selective generative enhancement as a decision problem: determine where overriding a frozen base expert is beneficial and refuse to switch when the evidence is insufficient. We propose VetoNet, an auditable regional routing framework centered on a certified veto. It first measures the complementary strengths and routing direction of a frozen restoration–generative pair, then predicts the utility of regional overrides from deployment-available signals alone and admits an override only when a distribution-free harm-budget certificate says the perceptual (LPIPS) risk budget allows it. Experiments across multiple expert pairs and domains show that VetoNet adapts its routing behavior to the strength and reliability of the available evidence. When expert complementarity is sufficiently predictable, it achieves statistically significant certified gains; when the relative strengths of the experts change, it correspondingly reverses the routing direction; and when routing evidence is weak or affected by cross-domain shift, it conservatively vetoes switching. On every pre-registered final test the certified mode stayed within its harm budget; per-image records and a consumption ledger will be released.

1. Introduction

Low-light image enhancement (LLIE) has commonly been considered a restoration problem, aiming to recover the illumination conditions of a given degraded low-light image while preserving the underlying scene content and structure [30, 36]. Recently, more generative methods have been proposed, as they can produce perceptually plausible textures and details that may be difficult to recover with restoration methods [41, 47]. However, most existing LLIE methods enhance the entire image with a single model, implicitly assuming that the selected enhancement algorithm is equally suitable for different regions. They may overlook the possibility that restoration and generative models may have complementary effects within the same image. For example, as shown in Fig. 1, the generative model produces richer details in the red-boxed region, the folds on the pipe, while it introduces noticeable hallucinated structures in the blue-boxed region. Thus, the generative output is preferred for the red region, while the restoration output is selected for the blue region to better preserve reliable scene content. Therefore, the key question is not which expert is overall better but whether overriding one frozen expert with the other (candidate) has positive gain and whether that decision can be made safely, in a defined perceptual sense, without ground truth at test time.

A simple idea is to selectively switch experts only where doing so is beneficial, but this raises three difficulties. First, the routing direction cannot be fixed in advance: depending on the dataset and expert pair, either the generative or restoration expert may serve as the stronger base. We ob-

Figure

Figure 1. An example illustrating that different LLIE methods may exhibit complementary effects.

serve that the preferred base/override direction can reverse when the dataset or expert pair changes. Second, it is hard to judge the benefit of an override directly. Simply comparing the outputs of two experts on a local patch may be misleading because it ignores color differences, boundary interactions, overlapping regions, and the perceptual effect of being placed back into the full image. Third, a router optimized only for average quality can make harmful local decisions. A selective pipeline therefore needs not only to predict where switching may help but also to determine when the evidence is insufficient to justify the switch.

To address the problems, we propose VetoNet, an auditable framework for selective generative enhancement built around a certified veto. Given two frozen experts, VetoNet first compares their outputs to decide which expert should be the fixed base and whether the other candidate can improve specific regions. Candidate regions are then compared with the output of the base model and evaluated after insertion. These comparisons provide supervision for training a lightweight router. At deployment, the router predicts which regions may benefit from an expert override without using the ground truth. Importantly, the area budget is an upper bound rather than a quota. If the candidate is not reliable enough, VetoNet will leave the base output unchanged.

In our implementation, we use two deployment modes with different objectives. Both modes admit an override when the calibrated router score exceeds a threshold λ\lambda; increasing λ\lambda produces increasingly more conservative routing policies. The quality mode ( λ=0\lambda = 0) accepts windows with positive predicted utility, aiming to improve average perceptual quality without an explicit harm constraint. The certified mode instead calibrates λ\lambda to control the probability of degrading an image relative to the fixed base expert. Because an image that is safe at one threshold need not remain safe at all more conservative thresholds, we assign each image the smallest threshold above which it remains unharmed for every more conservative policy. We call this quantity the safe-suffix score (Sec. 3). Under exchangeability, split conformal prediction over these scores provides finite-sample marginal control of LPIPS-defined harm at level α\alpha, and vetoes all overrides when no threshold can be certified. The guarantee is narrow by design: marginal rather than per-image, perceptual rather than semantic, and silent under arbitrary distribution shift.

This paper treats the question as an evaluation problem before a modeling problem, and its contributions are methodological:

• A counterfactual measurement protocol: overlapping regions are counterfactually swapped between two frozen experts and scored against paired ground truth, giving a per-region net-utility label that a 4.1M U-Net router learns from deployment-available inputs alone (Sec. 3);

• VetoNet, a certified veto: an image-level, distribution-free risk-control rule for LPIPS-defined non-degradation rule that admits a routed override only when a conformally calibrated threshold says the risk budget allows it, and otherwise vetoes generation entirely, returning the fixed base expert (Sec. 3);

• An audit trail as a first-class result: four selection-independent pre-registered single-shot final tests, together with a disclosed modern-pair audit; an adversarial audit that retired our own earlier calibration rule and repaired a real 16.9% coverage failure, with rule baselines showing why naive calibration fails there (Sec. 5); stress tests mapping where the guarantee breaks and a label-free guard for the detectable part; a process-state reproducibility hazard in a public diffusion enhancer, caught by a deferred audit and repaired in the official process form; and a leak-free cross-domain terminal test in which calibrated abstention generalizes exactly (Sec. 6).

References (45)