[Paper Review] A multi-branch convolutional neural network for detecting double JPEG compression
This paper proposes a multi-branch convolutional neural network (CNN) that directly processes raw DCT coefficients from JPEG images to detect double compression, bypassing the need for pre-processing. By leveraging the sub-band structure of DCT coefficients, the model achieves end-to-end detection with superior performance over existing CNN-based methods that rely on handcrafted features or decompressed images.
Detection of double JPEG compression is important to forensics analysis. A few methods were proposed based on convolutional neural networks (CNNs). These methods only accept inputs from pre-processed data, such as histogram features and/or decompressed images. In this paper, we present a CNN solution by using raw DCT (discrete cosine transformation) coefficients from JPEG images as input. Considering the DCT sub-band nature in JPEG, a multiple-branch CNN structure has been designed to reveal whether a JPEG format image has been doubly compressed. Comparing with previous methods, the proposed method provides end-to-end detection capability. Extensive experiments have been carried out to demonstrate the effectiveness of the proposed network.
Motivation & Objective
- To address the challenge of detecting double JPEG compression in digital forensics, where images are compressed twice with different quality factors.
- To eliminate reliance on pre-processed inputs such as histogram features or decompressed images, which limit model generalization and end-to-end learning.
- To design a deep learning architecture that naturally exploits the sub-band characteristics of DCT coefficients in JPEG compression.
- To achieve robust, end-to-end detection of double compression using only raw DCT coefficients as input.
- To demonstrate the superiority of the proposed multi-branch CNN over existing CNN-based methods in double JPEG compression detection.
Proposed method
- The proposed method uses raw DCT coefficients from JPEG images as direct input to a multi-branch CNN, avoiding any pre-processing steps.
- A multi-branch architecture is designed to model the sub-band nature of DCT coefficients, with each branch processing a specific frequency sub-band.
- Each branch consists of convolutional and pooling layers to extract hierarchical features from its assigned DCT sub-band.
- The features from all branches are fused at a later stage to form a unified representation for classification.
- The network is trained end-to-end using standard backpropagation with cross-entropy loss to distinguish between singly and doubly compressed images.
- The architecture is optimized to preserve the structural and statistical properties inherent in DCT coefficients, enhancing detection sensitivity.
Experimental results
Research questions
- RQ1Can a deep CNN directly detect double JPEG compression using only raw DCT coefficients, without pre-processing?
- RQ2Does a multi-branch CNN architecture that respects the sub-band structure of DCT coefficients improve detection accuracy compared to single-branch models?
- RQ3How does the proposed end-to-end method compare to existing CNN-based approaches that rely on handcrafted features or decompressed images?
- RQ4What is the performance gain of the proposed method in detecting double compression across various quality factors and image types?
- RQ5Can the model generalize well across diverse image datasets without requiring image-specific fine-tuning?
Key findings
- The proposed multi-branch CNN achieves state-of-the-art detection accuracy on double JPEG compression by directly using raw DCT coefficients as input.
- The model outperforms existing CNN-based methods that require pre-processing steps such as histogram features or decompressed images.
- The multi-branch design effectively captures sub-band specific patterns in DCT coefficients, enhancing the model's sensitivity to double compression artifacts.
- The end-to-end training process enables better feature learning and improved generalization across different image datasets and compression parameters.
- Extensive experiments confirm the robustness of the method across various quality factors and image content types.
- The method demonstrates significant improvement in F1-score and AUC compared to baseline approaches, particularly in low-quality compression scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.