DTBF: Combining Local Statistical Artifacts and Concept Alignment for Synthetic Image Detection
In general, the cross-generator generalization and robustness against attacks are two main challenges in AI-generated image detection. To address this, we put forward a synthetic image detector (DTBF), a two-branch architecture followed by a jointly-optimized concatenation (JOC), aiming at capturing low-level artifacts and high-level semantics and dynamically fusing them to enhance the generalization and robustness. In the artifact-extracted branch (AE-branch), the local multi-direction binary-encoding patterns (LMBP) are customized to extract and encode the relationships among pixels within each sliding window, resulting in the LMBP distribution serving as a universal fingerprint to distinguish real/fake images. The dual-alignment guided semantic branch (DAS-branch), working as a supplement to AE-branch, designs global context-unrelated prompts and semantic-enhanced prompts to capture global semantic inconsistency and local patch anomalies, strengthening the generalization and robustness of DTBF. Finally, JOC dynamically fuses the two branches through concatenation to amplify the effectiveness of each branch, achieving better generalization and robustness. With the assistance of two complementary branches and JOC, our proposed DTBF significantly outperforms 12 state-of-the-art detectors on two publicly available datasets in terms of detection accuracy and robustness.