Zoom Before You Re-Skin: Keeping Tiny Objects Alive in Synthetic-to-Real Translation

Detectors for aerial and drone imagery increasingly train on synthetic scenes, because a 3D engine labels every object for free. Before training, the synthetic images are "re-skinned" with a generative model, meaning a model that repaints them with real-world textures and sensor noise while the bounding boxes are kept. For large objects this works. For objects only 8 to 16 pixels across, it plausibly fails without anyone noticing. The latent diffusion models most often used for re-skinning first compress each image by about 8× per side into a small "latent" grid. A ship that is 8 pixels wide then occupies a single latent cell, and the repainting step can blur it, move it, or erase it. The box label stays in place, so the training set quietly fills with boxes that point at empty water.

We propose to measure this failure and to fix it with a simple, testable mechanism. The fix is to enlarge the synthetic image by a factor $s$ before re-skinning, so that every small object spans several latent cells, and to shrink it back afterwards. The enlarged image is too big to process in one pass. It has to be translated in tiles, and independent tiles produce visible seams that run straight through the detector's training crops. We therefore translate the tiles jointly, averaging the model's noise predictions wherever tiles overlap, as in patch-based diffusion restoration. The claim is that object survival depends mainly on an object's size measured in latent cells. If that holds, zooming by $s$ moves small objects from the regime where they are erased to the regime where they are preserved, and the gain appears as small-object detection accuracy on real benchmarks.

Core Claim

Label-preserving generative re-skinning has a size threshold. Below roughly two to three latent cells per side, objects are not reliably preserved. That threshold is the dominant reason synthetic-to-real translation helps large targets far more than tiny ones. The claim has three parts, each testable. First, per-instance survival curves drawn for different translator resolutions should collapse onto one curve when plotted against object size divided by the autoencoder's downsampling factor $f$. Second, zooming by $s$ before translation should shift those curves by exactly a factor $s$ in object pixels. Third, the extra tiling that zooming requires only pays off if the tiles are translated consistently. Seams from independent tiles should cost back part of the gain, especially for objects that straddle a seam.

The motivating evidence comes from two papers. An Empirical Study of Training Pixel-Space Text-to-Image Diffusion Models shows that latent autoencoders impose a reconstruction ceiling that degrades fine textures and small text. DiffusionEngine shows that latent diffusion can nonetheless serve as a strong cross-domain detection data engine, with +11.5% mAP on Clipart, but it never asks what happens to objects near the latent grid's resolution. The method we reuse comes from Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models. That paper averages noise estimates across overlapping patches during the reverse diffusion process and reports this beats image-space blending. We apply the same step to domain translation instead of weather restoration.

Research Program

The first component is an object-survival audit. It is a per-instance measurement of whether each labeled object still exists after re-skinning. We score survival in two independent ways. One is a reference detector trained only on real target imagery: an object survives if this detector fires on the translated image at IoU ≥ 0.5 for that box. The other is a structural check: whether edge and contrast structure inside the box is retained relative to the synthetic render, measured with a gradient-magnitude correlation. We will report the fraction of objects whose box is left pointing at background, binned by object size in pixels and in latent cells.

The second component is the zoom-then-translate pipeline. A synthetic tile is upsampled by $s \in \{1, 2, 4\}$. It is then translated with an image-to-image latent diffusion model: the render is partly noised and then denoised toward the real domain, with the noise strength held fixed across arms. Finally it is downsampled back with an anti-aliased filter. At $s=4$, one 640-pixel detector tile becomes roughly sixteen translation tiles, so seam handling becomes unavoidable.

The seams are handled with three variants. The first translates each tile independently. The second feathers overlapping tiles in image space. The third averages noise estimates in the overlaps at every denoising step, following Özdenizci and Legenstein. We will also report a seam-straddling subset: objects whose box intersects a translation-tile border. Seam damage should concentrate on these objects. Earlier work reports quilt-like seams from tile-wise normalization, for example H&E Stain Normalization using U-Net, but none of it measures what seams do to downstream detection.

The third component is downstream training. We train one detector architecture, a Faster R-CNN with FPN, on each translated synthetic set. Training uses the tiled protocol of The Power of Tiling for Small Object Detection, so the detector itself never downsamples tiny targets. Tiling therefore serves two roles: it is the translator's memory workaround and the detector's resolution safeguard. The only thing that changes across arms is the translation step. Zooming costs about $s^2$ more diffusion calls. Because translation happens once, offline, we report generation GPU-hours but do not treat this cost as a deployment penalty.

Baselines

The naive reference point is to train the detector directly on raw UnityShip renders with no translation. UnityShip reports that this pre-training helps smaller real datasets such as DIOR, HRSC2016, LEVIR and TGRS-HRRSD. It also reports that the approach cannot fully close the gap on larger ones such as DOTA. The file contains no per-dataset mAP value for this setting, so no reported result was found on Lacuna for UnityShip-pretrained detection mAP on DOTA or DIOR; we will produce these numbers ourselves. Real-only training on each target's training split gives the corresponding upper reference.

The strongest existing competitor is standard latent diffusion re-skinning at native resolution ($s=1$) in the style of DiffusionEngine. It is the most capable general-purpose label-preserving generator in the file, and it reports +11.5% mAP on Clipart and +3.1% mAP on COCO. Those figures come from different targets, so they set expectations but cannot be compared directly with our numbers.

A pixel-space translator is the second strong competitor. It has no latent ceiling at all, and it is the most direct attack on the same problem. We will run a CycleGAN-style unpaired translator, the approach used for synthetic-to-real transfer in Domain Adaptation for Vehicle Detection from Bird's Eye View LiDAR Point Cloud Data. We will also run ProCST, which does multi-scale cyclic style transfer with a label-consistency loss. On segmentation, ProCST reaches 73.9% mIoU on GTA5→Cityscapes on top of HRDA (a 1.1-point gain), a strong number even though the task differs from ours.

All generators get the same synthetic images and the same number of translated samples. Each gets the same hyperparameter search budget, set to a fixed number of configurations scored on a held-out real validation split. The detector, schedule and tiling are identical across arms.

The key ablations separate zoom from seam handling. Zoom with independent tiles against zoom with noise averaging isolates the seam component. $s=1$ against $s=4$, both with noise averaging, isolates the zoom component. The proposal beats the field if $s=4$ with noise averaging improves small-object AP ($AP_s$) on the real targets over $s=1$ latent re-skinning and over the best pixel-space translator. The gain must hold across three seeds and exceed the seed-to-seed spread. The survival audit must also show that the gain comes from recovered small instances rather than from better background texture.

Why not just…?

Why not just use a pixel-space translator, which has no latent ceiling? This is the main threat, and it is run as a full baseline. Unpaired pixel-space translators are known to remove or alter small foreground instances even without compression, which the file lists as an open problem for CycleGAN-style methods. Jiang et al. also find that pixel-space diffusion with coarser patches (ps32) loses fine detail compared with ps16. The ceiling may therefore move rather than disappear. If CycleGAN or ProCST matches our survival curve and our $AP_s$, the zoom idea is unnecessary, and we will report that result.

Why not just translate each detector tile independently, since the detector trains on tiles anyway? At $s=1$ this is exactly what the native-resolution baseline does, and it produces no seams inside a training crop. The problem only appears once zooming is introduced, because translation tiles then become smaller than detector tiles and their borders run through the image the detector sees. The seam-straddling subset and the independent-versus-averaged ablation measure whether seams matter in practice. If they do not, we will drop noise averaging and keep the cheaper pipeline.

Why not just paste the original rendered object pixels back after translating the background? This guarantees survival by construction, so it is a serious alternative and we include it as an arm. Its cost is that the objects keep their synthetic appearance, which is precisely the part of the domain gap that matters for recognizing them. We expect this arm to have near-perfect survival but lower $AP_s$ than zoom-then-translate. If it matches our method, the right conclusion is that tiny objects need survival more than realism.

Why not just filter out boxes whose objects vanished? Filtering removes wrong labels but also throws away exactly the small instances the detector most needs, which biases training toward larger ships. We run the audit-based filter on the $s=1$ set as an arm. Comparing it with zoom tells us whether recovering small instances beats discarding them.

Proposed Experiments and Decisive Checks

Source data is UnityShip-100k. Real targets are DIOR, HRSC2016, LEVIR and DOTA. We evaluate under synthetic-only training and under training with 10% of the real labels. Metrics are $AP_s$ and overall mAP on the real test splits, together with the survival audit.

The first decisive check tests the size-in-latent-cells claim. We run the $s \in \{1, 2, 4\}$ arms and plot survival against object size divided by $f$. The curves should overlap, and failing that falsifies the proposed mechanism.

The second check asks whether the $AP_s$ gain tracks the recovered-instance fraction. If $AP_s$ improves while survival does not, the gain comes from something other than preserved objects, and we will say so.

The third check tests whether seams are real. On seam-straddling objects, noise averaging should beat independent tiles by a clear margin in both survival and recall. On non-straddling objects the two should roughly tie.

Finally, one small follow-up asks whether this effect transfers to a second tiny-object domain. The file has no matched synthetic source for VisDrone2018 or SelvaBox, so we will stop at the survival audit there, using any available synthetic renders, and make no downstream claims.