Introduction
As AI-generated images (AIGIs) evolve from low-resolution experiments to high-fidelity, multi-megapixel outputs, the task of distinguishing them from authentic photographs becomes increasingly complex. Current detection models often fail at high resolutions due to a fundamental "input degradation" problem. Most standard backbones require inputs to be resized (e.g., to 224x224), which acts as a low-pass filter, effectively erasing the high-frequency artifacts—the "digital fingerprints"—that characterize AI-generated content. While some methods attempt center-cropping, they sacrifice global context and miss localized forgeries in the periphery.
The HiDA-Net Architecture
To address these challenges, we introduce the High-Resolution Detail-Aggregation Network (HiDA-Net). The core philosophy is to ensure that "no pixel is left behind" by processing the full-resolution image through a dual-path strategy.
Dual-Path Feature Extraction
HiDA-Net utilizes two parallel paths to capture both context and detail:
- Global Path: The input image is resized to provide broad semantic context, allowing the model to understand the overall scene.
- Local Path: The original high-resolution image is divided into $224 \times 224$ tiles at its native resolution. This preserves the lossless local details necessary for detecting subtle generative traces.
Feature Aggregation and Localization
The Feature Aggregation Module (FAM) employs a lightweight Transformer to fuse global semantic tokens with local detail tokens. This enables the model to integrate fine-grained textures with global structure. Furthermore, to prevent the model from relying on global statistics, we implement Token-wise Forgery Localization (TFL). Using "Random Patch Swap" augmentation, the model is trained to identify specific fake patches, forcing it to develop high spatial sensitivity.
JPEG Noise Disentanglement
Detectors often overfit to JPEG compression levels rather than learning generative artifacts. HiDA-Net includes a JPEG Quality Factor Estimation (QFE) module that explicitly regresses the quality factor, helping the network disentangle compression noise from actual AI signatures.
Theoretical Motivation: Spectral Leakage
A key insight of this work is the advantage of tiling over resizing from a frequency perspective. Resizing truncates the frequency spectrum, losing high-frequency information. In contrast, cropping a tile (mathematically equivalent to multiplying by a window function) induces "spectral leakage."
As shown in Figure 2, the spectral energy ratio of real vs. fake images reveals that generative artifacts are often concentrated in high-frequency regions. Resizing removes these cues, whereas cropping redistributes this energy across the spectrum of the tile, making it detectable even by standard backbones.
Experimental Evaluation
We evaluated HiDA-Net on standard benchmarks like GenImage and Chameleon, and introduced a new large-scale benchmark: HiRes-50K. This dataset contains over 50,000 images with resolutions up to 64 megapixels, carefully aligned by size and compression to prevent metadata-based shortcuts.
Key Results
- State-of-the-Art Performance: HiDA-Net achieved a 13% accuracy improvement on the Chameleon dataset (79.10%) and outperformed resizing-based baselines by over 10% on HiRes-50K.
- Robustness: The model demonstrates superior resilience to common degradations like Gaussian blur and varying JPEG compression levels compared to existing methods like UnivFD and DIRE.
- Scaling: Ablation studies confirmed that increasing the number of tiles processed directly improves detection accuracy, validating the importance of full-image coverage.
Conclusion
HiDA-Net effectively mitigates the input degradation problem in high-resolution AIGI detection. By combining global context with lossless local details and explicit noise disentanglement, it provides a robust framework for modern forensic needs. Future work will focus on optimizing inference efficiency for real-time deployment on massive image streams.
Summary updated