Edge-Enhanced Vision Transformer Framework for Accurate AI-Generated Image Detection

Dabbrata Das, Mahshar Yahan, Md Tareq Zaman, Md Rishadul Bayesh
8/25/2025
cs.CVcs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The rapid advancement of generative models has led to a growing prevalence of highly realistic AI-generated images, posing significant challenges for digital forensics and content authentication. Conventional detection methods mainly rely on deep learning models that extract global features, which often overlook subtle structural inconsistencies and demand substantial computational resources. To address these limitations, we propose a hybrid detection framework that combines a fine-tuned Vision Transformer (ViT) with a novel edge-based image processing module. The edge-based module computes variance from edge-difference maps generated before and after smoothing, exploiting the observation that AI-generated images typically exhibit smoother textures, weaker edges, and reduced noise compared to real images. When applied as a post-processing step on ViT predictions, this module enhances sensitivity to fine-grained structural cues while maintaining computational efficiency. Extensive experiments on the CIFAKE, Artistic, and Custom Curated datasets demonstrate that the proposed framework achieves superior detection performance across all benchmarks, attaining 97.75% accuracy and a 97.77% F1-score on CIFAKE, surpassing widely adopted state-of-the-art models. These results establish the proposed method as a lightweight, interpretable, and effective solution for both still images and video frames, making it highly suitable for real-world applications in automated content verification and digital forensics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{das2025edgeenhanced,
  title  = {Edge-Enhanced Vision Transformer Framework for Accurate AI-Generated Image Detection},
  author = {Dabbrata Das and Mahshar Yahan and Md Tareq Zaman and Md Rishadul Bayesh},
  year   = {2025},
  eprint = {2508.17877},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.17877v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.17877.svg)](https://codeofpaper.com/paper/2508.17877)

Discussion