A Hierarchical ELA-CNN Framework for Image Forgery Detection and Manipulation Localization
Increasing availability of advanced AI-based image creation and editing tools has significantly increased the prevalence of digital image forgery, creating challenges for media authenticity, digital forensics, and information security. This paper presents an intelligent image forgery detection framework that combines multi-quality Error Level Analysis (ELA) with an optimized Convolutional Neural Network (CNN) and heat map-based manipulation localization. The proposed approach utilizes ELA preprocessing at multiple JPEG quality levels to amplify compression inconsistencies associated with image tampering, this is followed by a lightweight CNN architecture trained using advanced optimization techniques, including warmup and cosine annealing learning-rate scheduling, stochastic gradient descent with momentum, and class imbalance handling. To improve interpretability, a heat map generation module is introduced to localize suspicious image regions and provide visual evidence supporting classification decisions which provides interpretability and explainability. The framework was evaluated using the CASIA 2.0 image forgery dataset containing a total of 12,614 images, 7,491 authentic and 5,123 tampered images. Experimental results demonstrate an overall classification accuracy of 94%, outperforming a baseline ELA-CNN implementation while maintaining computational efficiency. The proposed localization mechanism enhances explainability by highlighting potential manipulation regions. A web-based interface and RESTful API were developed to support practical deployment and integration into digital forensic workflows. The results indicate that the proposed framework provides an effective and interpretable smart solution for automated image forgery detection and localization.