NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Advanced Synthetic Image Detection Using Hybrid Feature Extraction

Ameya Uppina, S Navaneetha Krishnan, Nikhil N Iyer, Joe Dhanith P RarXiv 2026

TL;DR

Generative AI models can paint a photorealistic masterpiece in seconds, but they still stumble in two subtle places: ultra-fine micro-textures and complex object geometry. This paper introduces a dual-pipeline neural network that splits up to hunt for both flaws simultaneously—zooming in on extreme frequency patches while keeping an eye on global object shapes. By combining low-level texture forensics with high-level spatial attention, the model catches synthetic images across multiple AI generators with over 94% average accuracy.

What Problem Does This Paper Address?

Take a look at recent outputs from Stable Diffusion, MidJourney, or modern GANs, and you’ll quickly realize the human eye is no longer a reliable lie detector. While these tools are great for art and data augmentation, they make misinformation and identity fraud frighteningly easy.

Examples of realistic images generated across Stable Diffusion, GANs, MidJourney, DALL-E, and Imagen3.

Existing AI detectors often fall into a trap: models that look only at pixel-level spatial artifacts fail to generalize when a new generator comes along, while models looking at broader context miss subtle, telltale pixel noise. Furthermore, trying to force a single neural network pathway to spot both microscopic texture glitches and macroscopic object deformations (like weird hands or warped architecture) at the same time is inefficient. The authors ask: what if we divide and conquer?

Methods

Instead of using one monolithic network, the authors propose a custom hybrid architecture that resizes an RGB image to $256 \times 256$ and feeds it into two specialized, parallel pipelines before fusing their findings.

Figure 2: Proposed Architecture Flowchart
  1. Patchwise Feature Extraction (The Texture Detective): First, the image is sliced into 64 patches ($32 \times 32$ pixels). Using a Discrete Cosine Transform (DCT)—a standard math trick used in JPEG compression to measure spatial frequencies—each patch is scored for complexity. Rather than processing all 64 patches, the pipeline grabs only the two highest-scoring (most intricate) and two lowest-scoring (smoothest) patches. Each pair is concatenated, resized, and passed through a Style-Based Recalibration Module (SRM) to amplify subtle style and pattern artifacts before hitting a standard ResNet-50 backbone. Taking the mean of the high- and low-complexity ResNet outputs gives a clean representation of texture anomalies while keeping compute light.

  2. Semantic Feature Embedding (The Shape Detective): To catch warped objects, the full image goes through a Convolutional Block Attention Module (CBAM)—an off-the-shelf attention mechanism that sequentially tells the network what feature channels matter and where spatially to look. This highlights structural disfigurations before passing the refined image into another ResNet-50.

Finally, the $4 \times 4 \times 2048$ feature maps from both pipelines are concatenated channel-wise, flattened, and passed into a simple 3-layer Fully Connected Neural Network to make the final Real vs. Fake call.

Datasets

To ensure the detector wasn't just memorizing one type of generator—or suffering from class imbalance—the authors evaluated it on three distinct datasets (all resized to $256 \times 256$):

  • Self-Generated Stable Diffusion Dataset (Newly Introduced): 2,000 images total—1,000 generated via the ModelsLab API using Stable Diffusion v1.5, paired with 1,000 diverse real images from Kaggle.
  • Real and Fake Art Images Dataset (2024): 4,000 images—2,000 GAN-generated artworks vs. 2,000 real paintings from WikiArt.
  • MidJourney ImageNet: Real vs. Synth (2024): 1,618 images—742 MidJourney generations vs. 876 real internet photos.

Key Insights and Ideas

  • Contrast at the extremes: Selecting only the top two most complex and bottom two least complex patches via DCT is a clever efficiency play. Generative models struggle both with synthesizing rich, chaotic textures and maintaining natural camera noise in flat, smooth regions. Comparing just these extremes gives the network high signal for minimal compute.
  • Equal footing for texture and semantics: In the texture pipeline, averaging the ResNet outputs of the high- and low-frequency sub-branches (rather than concatenating them) ensures the final texture tensor is the exact same shape ($4 \times 4 \times 2048$) as the semantic pipeline's output—preventing one modality from dominating the classifier.
  • Generator sophistication matters: Not all synthetic images are equally easy to bust. The stark drop in validation accuracy on MidJourney compared to GANs and Stable Diffusion v1.5 shows how proprietary refinement pipelines actively erase the artifacts detectors rely on.

Key Results

The proposed hybrid model achieved an average validation accuracy of 94.08% across the three generators, comfortably outperforming several established baselines—including standard ResNet-50 (68.86%), CNNSpot (65.16%), UnivFD (79.16%), PatchCraft (80.23%), and Shilin Yan et al.’s AIDE model (83.82%).

Breaking down the validation performance per generator:

  • Stable Diffusion v1.5: 98.50% Accuracy | 0.989 AUC | 100% Precision | 97.20% Recall
  • GANs: 98.25% Accuracy | 0.999 AUC | 100% Precision | 96.43% Recall
  • MidJourney: 85.49% Accuracy | 0.865 AUC | 87.50% Precision | 87.03% Recall

While older frequency/CNN baselines aced Stable Diffusion (~99%) only to collapse to coin-flip accuracy (~50%) on GANs and MidJourney, this hybrid architecture stayed remarkably consistent across all three.

Limitations and Future Work

The most glaring hurdle is MidJourney, where validation accuracy dipped to ~85.5% and validation loss spiked to 2.015 (while training accuracy hit 100% across all datasets, hinting at some overfitting on harder, smaller datasets). The authors note that more sophisticated generation techniques and dataset-specific artifacts remain tough to generalize against.

For future work, they suggest testing against newer, more advanced generative models, optimizing the dual-ResNet setup for better computational efficiency, scaling up to larger datasets, and incorporating adversarial training so the detector can survive active attempts to fool it.

Summary updated

BibTeX
@misc{uppina2026advanced,
  author = {Ameya Uppina and S Navaneetha Krishnan and Nikhil N Iyer and Joe Dhanith P R},
  title = {{Advanced Synthetic Image Detection Using Hybrid Feature Extraction}},
  year = {2026},
  eprint = {2611.32538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32538},
}
Figure