I-213Image Phylogeny Tree
Constructs phylogenetic tree of image transformations to trace editing history and detect generation provenance (Dias et al., 2012).
Algorithm / Model
Image Phylogeny Construction
How it works
This method constructs a phylogenetic (evolutionary) tree of image transformations to trace the editing lineage and processing history of an image, based on the framework of Dias et al. (2012):\n\n1. Transformation Trace Extraction: The method analyzes the image for evidence of sequential transformations: JPEG recompression artifacts (quantization table analysis), resampling traces (periodic interpolation patterns), color adjustment residuals (gamma, levels, curves), and noise processing signatures (denoising, sharpening). Each trace is characterized by its parameters (e.g., JPEG quality factor, scaling ratio, gamma value).\n\n2. Dissimilarity Matrix Construction: Given a set of near-duplicate images or a single image with multiple processing traces, the method computes pairwise dissimilarity scores based on: (a) DCT coefficient histogram differences (for JPEG history), (b) resampling artifact magnitude differences, (c) noise level estimation differences, and (d) color histogram Wasserstein distances. The dissimilarity matrix D captures the transformation 'distance' between image versions.\n\n3. Phylogenetic Tree Construction: Using the dissimilarity matrix, a minimum spanning tree (MST) or neighbor-joining tree is constructed. The root node represents the original (least processed) version, and each edge represents a transformation step. For single-image analysis, the tree represents hypothetical processing stages inferred from layered artifacts (e.g., double JPEG → resize → sharpen). AI-generated images show short, shallow trees (few processing steps), while authentic photographs show deeper trees reflecting the camera pipeline.\n\n4. Provenance Classification: The tree structure is classified: authentic camera images show characteristic pipeline trees (raw → demosaic → white balance → gamma → JPEG), edited images show additional branches (contrast, crop, filter), and AI-generated images show either no processing tree (direct output) or an anomalous tree inconsistent with any known camera/editor pipeline.
Technical Parameters
Transformation detectors: JPEG (DCT analysis), resampling (EM-based), color (histogram), noise (PCA)\nDissimilarity metrics: DCT histogram KL-divergence, noise variance ratio, Wasserstein distance\nTree construction: minimum spanning tree (Kruskal's algorithm)\nPipeline database: 50+ known camera/editor processing pipelines\nMinimum detectable transformations: 2 sequential operations
Accuracy & Reliability
75–85% accuracy in reconstructing correct transformation order. Pipeline classification achieves 82% for identifying camera vs. edited vs. AI-generated origin. Root identification (finding the original version) reaches 90% accuracy on near-duplicate image sets. Performance drops to 70% when transformations are applied with minimal parameter changes.
Strengths
• Provides a complete processing history rather than a single binary decision\n• Can identify the original image in a set of derivatives\n• Pipeline comparison against known camera/editor workflows is highly discriminative\n• Works on sets of related images found across the internet\n• Integrates multiple forensic signals (JPEG, noise, resampling) into a unified framework
Limitations
• Requires sufficient processing artifacts — heavily compressed images lose early transformation traces\n• Single-image analysis is less reliable than multi-image phylogeny\n• Novel editing tools or camera pipelines not in the database may be misclassified\n• Computational complexity grows quadratically with the number of image variants\n• Lossless transformations (cropping, rotation by 90°) may not leave detectable traces
Use Case
Tracing the complete editing history of disputed images. Identifying the original version among a set of near-duplicates found online. Detecting AI-generated images by analyzing their anomalous (or absent) processing history. Forensic reconstruction of the transformation sequence applied to evidence images.