Is High-Resolution Synthesis Just an Expensive Anti-Aliasing Filter?

Teams that train image classifiers on generated data often pay a large compute premium for one trick: generate at high resolution, then shrink to training size. In Synthetic Data from Diffusion Models Improves ImageNet Classification, a ResNet-50 trained only on synthetic ImageNet reaches 69.24% top-1 on the real validation set when trained on 1024×1024 samples downsampled to 224×224. The same setup reaches 64.96% on samples generated directly at 256×256. The authors do not explain the gap. This note offers one candidate explanation and tests it.

Image generators build large images from small internal grids through upsampling layers, and those layers leave faint periodic "checkerboard" patterns locked to the upsampling stride. When an image is generated at 1024 pixels and shrunk to 224, those patterns sit above the new resolution limit, and the resize's anti-aliasing filter removes them. When an image is generated at 256, the patterns stay in the training band. A classifier can then use them as a cheap cue for "this image is synthetic," which hurts it on real test images. If this is the main cause, a filter targeted at the generator's own stride frequencies, costing one Fourier transform per image, should recover most of the high-resolution benefit at low-resolution generation cost. If it is not the main cause, the experiments will show that the premium buys real visual detail. Either answer changes how synthetic datasets should be budgeted.

Core Claim

We claim that a substantial share of the downstream gain from high-resolution synthesis comes from removing decoder-periodic artifacts. "Decoder-periodic" means energy concentrated at spatial frequencies $k/S$ cycles per pixel, where $S$ is the total upsampling stride of the generator's decoder and $k$ is an integer. A generator-specific notch filter can remove these artifacts without generating more pixels.

The arithmetic behind the prediction is simple. Take a latent diffusion model whose decoder upsamples by $S=8$. Its periodic footprint at 1024 pixels sits at 1/8 cycle per pixel. Shrinking to 224 rescales that frequency by $1024/224 \approx 4.57$, to about 0.57 cycles per pixel. That is above the Nyquist limit of 0.5, so an anti-aliased resize removes it. Shrinking from 256 to 224 leaves the same footprint at about 0.14 cycles per pixel, well inside the band a classifier sees.

The novelty is the causal test plus the cheap substitute. Prior work either names the artifact mechanism without measuring downstream classifiers, or documents synthetic-data shortcuts without tracing them to a source inside the generator.

How This Builds on Prior Work

Two lines of work motivate the proposal.

The first explains where the artifacts come from. When kernel size is not divisible by stride, transposed convolutions overlap unevenly on the output grid, as described in Learning Uncertain Convolutional Features for Accurate Saliency Detection. Upsampling Artifacts in Neural Audio Synthesis shows that subpixel shuffles leave the same periodic footprint and that upsampling copies low-frequency offsets into higher frequencies. Non-Adversarial Image Synthesis with Generative Latent Nearest Neighbors reports that these patterns persist regardless of the training loss. None of these papers asks what the artifacts do to a model trained on the outputs.

The second line shows that downstream models exploit subtle synthetic cues. Breaking the Synthetic-Real Domain Shortcut for Training-Free Generative Replay-based Class Incremental Learning (DREAM) finds that generator artifacts span a low-dimensional subspace that classifiers use to separate synthetic from real. Raw generative replay falls to 33.50% on CIFAR-100 with five incremental stages. DREAM treats the generator as a black box. We ask whether that subspace is the decoder's stride lattice. Frequency Shortcut Learning in Neural Networks shows that networks latch onto small sets of frequencies and that removing them can improve out-of-distribution accuracy. Its analysis covers natural data only, and its exhaustive frequency-culling procedure is too costly to run routinely. We restrict that analysis to the few lattice frequencies, which makes it cheap.

One paper supplies the method. Eliminating VAE for Fast and High-Resolution Generative Detail Restoration replaces the decoder with pixel shuffling for a 2.8× speedup. It observes that this induces checkerboard spikes, and it suppresses them during training with a masked Fourier-space loss on spike bins. We reuse that masking idea, but apply it after generation to a frozen generator, with no retraining. We also evaluate downstream classifiers, which that paper does not.

Two papers constrain the design. Deep Frequency Filtering for Domain Generalization argues that static, wide frequency filters destroy useful high-frequency content and that adaptive masks are needed. The DREAM authors also report that hard projection of artifact directions harms accuracy. Both warn us against isotropic blur, so our filter touches only narrow lattice bins. Whether even that is too blunt is an empirical question that the baselines below are designed to answer.

Research Program

The work has three stages.

The first stage measures the artifacts. For each generator we compute the average log-magnitude spectrum over a few thousand outputs and locate peaks at $k/S$. We then define an artifact-energy score for each image: the fraction of spectral energy in small windows around those peaks after resizing to training resolution. This score is the measurement the causal tests below vary.

The second stage builds the filter. It is a fixed mask $M$ estimated once per generator from the averaged spectrum. Each image $x$ is cleaned as $\tilde{x} = \mathcal{F}^{-1}\big[(1 - M)\odot\mathcal{F}x + M\odot\hat{A}\big]$, where $\mathcal{F}$ is the 2D Fourier transform and $\hat{A}$ fills the masked bins with the radially averaged magnitude of their neighbors, so we do not leave spectral holes. We also test a per-image variant that notches only the bins exceeding their neighborhood by a threshold.

The third stage diagnoses shortcuts. We train a linear probe to tell real from synthetic features in each trained classifier. We then measure how much of that probe's direction lies in the subspace spanned by features of lattice-frequency perturbations. Finally, we run the culling idea of Frequency Shortcut Learning only on lattice bins.

We use two open generators. The first is a latent diffusion model whose decoder upsamples by 8. The second is a one-step distilled model of the SD-Turbo class used in Diffusion Noise Optimization for Synthetic VLM Training; these models are the cheapest generators and plausibly the most artifact-prone. Imagen, the generator in the motivating paper, is not available. We therefore reproduce the resolution gap inside our own pipeline rather than inherit its numbers. If the gap does not appear in our pipeline, that is itself a finding: the effect would be specific to Imagen.

Baselines

The naive reference is synthetic data generated at 256×256 and resized to 224 with no further processing. This is the cheap pipeline whose deficit we want to explain. All conditions share the same class prompts, the same number of images, the same ResNet-50 recipe and the same tuning budget. They differ only in generation resolution and post-processing.

The strongest existing method is the brute-force pipeline of Synthetic Data from Diffusion Models Improves ImageNet Classification: generate at 1024×1024 and downsample with an anti-aliased resize. That paper reports 69.24% classification accuracy score (top-1 on real ImageNet validation for a ResNet-50 trained on synthetic data only), against 64.96% at 256×256. We rerun this pipeline with our generators and record generation GPU-hours. The reported numbers serve only as a reference because the generators differ. The filter "beats" this baseline if it closes at least half of our measured accuracy gap between 256 and 1024 while using no more than the 256-resolution generation budget plus filtering cost. A filter that closes the gap at a fraction of the cost would be a clear win.

The ablation that isolates our key ingredient, the lattice targeting, is an isotropic Gaussian low-pass filter at 256. Its strength is tuned so that it removes the same total spectral energy as the notch. A second control is a random-notch filter that masks bins of equal number and area placed off the lattice.

For the incremental-learning setting, the strongest competitor is DREAM itself. It reports 69.73% task-agnostic accuracy on CIFAR-100 with ten stages, compared with 67.10% for DiffClass and 62.04% for SEED, and raw replay collapses to 33.50% at five stages. We run raw replay, notch-filtered replay, DREAM, and DREAM on notch-filtered replay, all with the same generator and replay budget. If the filter alone recovers a large share of DREAM's gain over raw replay, the lattice explains much of DREAM's domain subspace. If the filter adds accuracy on top of DREAM, the two fixes are complementary.

Why not just…?

Why not just blur the 256-pixel images? This is the most serious threat to the targeted filter, because our own hypothesis says downsampling works as a low-pass filter. Two things argue against blur. Deep Frequency Filtering reports that wide static filters remove discriminative texture. Pons et al. report that interpolation upsamplers trade tonal artifacts for dulling: 5.17 versus 5.38 dB SDR on MUSDB18. Still, we have no image-classification evidence either way, so the energy-matched blur ablation settles the question directly. If blur performs as well as the notch, we will report the simpler fix. The causal finding about where the gap comes from would still stand.

Why not just generate at 512? An intermediate resolution may already push most of the lattice energy above Nyquist. The arithmetic says it should: the stride-8 footprint at 512 lands at about 0.29 cycles per pixel after resizing to 224, so it would only partly survive. We include 512 as a point on the cost-accuracy curve. Our method must beat 512 at lower cost to be worth using.

Why not just fix the classifier with DREAM or Deep Frequency Filtering? These methods change the training procedure or the architecture for every downstream model. A filter cleans the dataset once. We run them as baselines and in combination with the filter, so any complementarity or redundancy will be visible.

Why not filter with a vision-language model or optimize the noise? Mirage: Unveiling Hidden Artifacts in Synthetic Images with Large Vision-Language Models reports that a 7B vision-language model detects only 15.52% of fakes on photorealistic Chameleon images, so it cannot see these low-level patterns. Noise optimization adds backpropagation through the generator for every sample, which is the opposite of saving compute. We include noise optimization on the one-step generator for completeness.

Why not accept that the 1024 gain is just better semantic detail? This is the central alternative hypothesis, and the decisive checks below are built to test it.

Proposed Experiments and Decisive Checks

The main experiment trains ResNet-50 on equal-size synthetic ImageNet-1K sets under each condition. We report real-validation top-1, generation GPU-hours, and artifact-energy scores. A smaller-scale replica on the CIFAR-100 incremental protocol tests generality.

Two swap tests make the causal claim falsifiable. In the injection test, we take the averaged lattice-frequency residual of 256-resolution outputs, add it to downsampled 1024 images, and check whether accuracy falls toward the 256 level. In the removal test, the notch filter is applied to the 256 images. The artifact hypothesis predicts that injection hurts and removal helps by comparable amounts. If injection is harmless and removal does nothing, then the resolution premium buys real detail and our hypothesis is wrong.

A shortcut check complements the swap tests. Classifiers trained on raw 256 data should have a real-versus-synthetic probe direction that aligns with lattice-frequency feature perturbations. Classifiers trained on filtered data should lose that alignment. Finally, we track out-of-distribution accuracy on ImageNet-R and ImageNet-A, because Frequency Shortcut Learning predicts that removing shortcut frequencies helps most off-distribution.