Manuscript Offprint

arXiv:2610.25387

Only Means Only: what a harmonization benchmark score averages over

Imad Buljić, Delaida Muminović

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Image harmonization methods adjust the colour and lighting of an object pasted into a photograph so that it looks native to its new scene, and they are ranked by average error on one benchmark whose test images are real photographs with one object recoloured. One photograph can yield several such test images, and the benchmark promises that no photograph appears in both the training and the test split. We find that 1,399 photographs do, and the composites built on them are a quarter of the test set. Duplicate checks over file names or bytes miss this, because every composite is a different file. On that quarter the three methods we score end to end read two to five times lower error than on the rest, but most of the gap is composition rather than the sharing: the shared composites come almost entirely from one of the benchmark's four source collections, and inside that collection the gap falls to about one and a half times. An official score is therefore an average over two populations, mixed in a proportion the benchmark does not report. We release a test list of 5,581 composites whose construction identities do not appear in training, with four confirmed near-duplicate pairs disclosed rather than removed, adoptable without retraining at the price of one rescore per checkpoint. We leave open whether the sharing itself changes what a model learns.

1 Introduction

Image harmonization has advanced largely by scoring methods on one benchmark. iHarmony4 [1] takes real photographs, alters the colour and lighting of one foreground object in each so that it looks as if it came from another scene, and releases a fixed train and test split of those altered copies. Methods are ranked by error against the unaltered photograph. The benchmark has four sub-datasets, and HCOCO, built from COCO, holds most of both released lists. A score on such a benchmark is a statement about an evaluation population as much as about a method: it depends on which composites the test split contains and on where those composites came from.

For a composited benchmark that dependence is not incidental. One real photograph can back several composites, and the released split decides which of them are training and which are test. Figure 1 shows the case in two composites built on one photograph, recoloured differently, one on each side of the split. When a test composite is built on a photograph the training split also uses, the model has already seen the pixels it is asked to reproduce, including the foreground object whose unaltered appearance is the answer, and the reported score blends such composites with genuinely unseen ones. The standard protocol does not check for this. Its hygiene measures, such as de-duplicating file names or file bytes, operate on composites, and two composites built from one photograph are different files. The unit that has to be disjoint is the real photograph a composite is built from, because that photograph is also the answer, and that unit is rarely audited before scores are compared.

We audit iHarmony4 at that construction unit. The photograph behind a composite is recovered from its file name: the name carries the target photograph's identifier first, then the reference image used to recolour the object, then a variant index. The official test and train lists have 1,399 target photographs in common, and those photographs account for 1,822 of the 7,404 composites in the test list, 24.6 percent, each built on a photograph that also appears in training. One further composite is removed because its target photograph is pixel-identical to a training target under a different name, so 1,823 composites are removed in total. Removing them leaves a retained test subset of 5,581 composites whose target photographs do not appear in the training list, four confirmed near-duplicate pairs aside, and the training list itself is left untouched, so fixed published checkpoints can be rescored without retraining. We then run controls to determine what the sharing does and does not do to the comparisons the benchmark is used for. Adopting the retained list is a substitution of the evaluation list: it costs one rescore per checkpoint, and a score on it is not directly comparable with a score on the official list.

What the sharing does to reported numbers is the harder question, and the answer is more structured than a single effect size. Pooled over sub-datasets, the excluded composites read two to five times lower mean squared error than the rest for the three methods scored end to end, which looks like a large advantage for a model that has seen those photographs. Inside HCOCO, where most excluded composites sit, the same ratios fall to 1.47 to 1.61, and the DoveNet-Harmonizer gap narrows there instead of widening (post-hoc). The ratios are of whole-image mean squared error (MSE), and the foreground-region version of the same metric, computed over the pasted object's region and written fMSE here, is the one harmonization papers report. A foreground-ratio-stratified control in MSE is negative for Harmonizer and for our own editor and is not detected for DoveNet, and inside HCOCO, where the mixture cannot differ, none of the three is detected at floors of 5.9 to 15.7 MSE. One published checkpoint, DiffHarmony [2], moves the other way on MSE and scores worse on the excluded composites. The pooled difference is therefore largely arithmetic over two differently composed populations, 99 versus 44 percent HCOCO, rather than a measurement of what the sharing does to a method.

What the sharing does to what a model learns is not measured here. A pre-registered audit of four published checkpoints ran below its registered five-checkpoint floor, with the retained-versus-excluded interaction significant for all six method pairs after Holm correction on the pooled lists. The pre-registered exposure retrain departed from its registered execution, and both of its intervals include zero (Section 4.4). The evaluation itself can be corrected today: the retained list is ready to adopt.

Contributions. (1) A construction-unit audit of the released iHarmony4 lists, with deterministic test-side exclusions and a perceptual residue check whose blind spots we state (Sections 3 and 3.1). (2) A construction-identity-disjoint retained test subset and its excluded counterpart, kept beside the official list so that fixed published checkpoints are rescored without retraining, together with the five evaluation-hygiene rules the audit motivates (Sections 5 and 5.2). (3) A controlled score-sensitivity analysis, reported as observational: fixed-checkpoint population contrasts, foreground-ratio-stratified controls, a below-floor four-checkpoint audit, and an exposure retrain whose arms departed from the registered execution and which therefore establishes neither a difference nor practical equivalence, each with the composition and execution limits the real photograph

(supervision target of both composites)

training composite

(one file in the training list)

whole frame

evaluation composite

(a different file, in the test list)

Figure

inside the

outlined region

Figure 1: One photograph, two composites. Both are built from the photograph on the left, the answer the model must reproduce: the object outlined in blue has been recoloured differently in each. The two files share no name and no bytes.

stated beside the result (Section 4). Tables and derivations are in the supplement. Section 9 states what regenerates.

References (43)