Enhanced image forensics through partial C2PA-based provenance information

Riccardo Ziglio, Eleonora Marchesini, Andrea Montibeller, Giulia Boato, Silvio Ranise, Cecilia PasquiniarXiv 2026 · arXiv

This paper presents a novel approach to image forensics by leveraging the emerging C2PA (Coalition for Content Provenance and Authenticity) standard. While C2PA is designed to provide a "paper trail" for digital media, the authors identify a critical middle ground: partial Content Credentials (CCs). These occur when an image with no prior history is edited in a C2PA-enabled tool (like Adobe Photoshop), creating a trusted record of the edits but not the origin. The authors demonstrate that these partial records can be used to "tune" forensic detectors, significantly improving their ability to identify synthetic (AI-generated) images that have been post-processed.

TL;DR

The researchers propose a two-step strategy to enhance image forensics by using cryptographically signed C2PA metadata as "trusted side information." By reconstructing the specific editing operations applied to an image, they can adapt forensic detectors to mitigate the performance-degrading effects of post-processing, achieving up to a 27.9% boost in detection accuracy.

What Problem Does This Paper Address?

Forensic detectors, such as those designed to spot AI-generated "deepfakes," often suffer from distribution shift. A detector trained on raw synthetic images might fail when those images are later edited (e.g., color-graded in Lightroom or compressed by Facebook).

The C2PA standard aims to solve this via provenance, but adoption is currently limited. We often encounter images with partial CCs: the metadata tells us exactly what edits were made by the last software tool, but the "original" state of the image remains a mystery. Traditionally, forensic analysts ignored this metadata. This paper argues that partial CCs are a gold mine of trusted information that can tell a detector exactly how the image's statistical properties were altered.

Fig. 1: (a) Simplified structure of a C2PA manifest; lockers represent the bindings between the different components. (b) System model of the addressed scenario.

Methods

The authors propose a two-phase workflow:

  1. CC-based Reconstruction: The system analyzes the C2PA manifest to identify the software tool (tool-id) and the specific commands or presets applied (cn-mapper). Because C2PA manifests are tool-specific and often use proprietary JSON structures, the authors built a database (DB) to map these structures back to specific editing actions.
  2. Reconstruction-aware Detector Adaptation: Once the edits are identified, the analyst uses Supervised Domain Adaptation (SDA). They take a small set of auxiliary labeled images (both real and synthetic) and apply the exact same edits identified in step 1. This creates a new, specialized training set that matches the target image's distribution. The forensic detector (e.g., CLIP-D or ResNet-50) is then fine-tuned or adapted using techniques like LoRA (Low-Rank Adaptation).
Fig. 2: Workflow of the proposed strategy. Yellow diamonds represents conditional branches.

Datasets

  • TrueFake Dataset: A publicly available dataset containing a mix of real and synthetic images from various sources.
  • PRE (Pre-social): A subset of 2,000 images (1,000 real, 1,000 synthetic) used as the baseline.
  • Post-processed Variants: The authors generated 64,000 additional images by applying 20 different Adobe Lightroom presets to the PRE set and distributing them across social media platforms (Facebook, Telegram, Twitter) to simulate real-world noise.

Key Insights and Ideas

  • Metadata as Ground Truth: In a world of "zero-trust" media, C2PA provides a rare island of cryptographically signed truth. Even if it only covers the last 10% of an image's life, that 10% is often what breaks traditional forensic tools.
  • Structural Analysis of Manifests: The paper highlights that C2PA manifests are not just labels; they contain complex, nested parameters (e.g., specific "Clarity" or "Masking" values in Adobe tools). Identifying these allows for highly granular detector adaptation.
  • Handling Ambiguity: Some presets produce identical C2PA manifests (failing "Full Uniqueness"). The authors found that even in these ambiguous cases, an ensemble approach—adapting the detector to all possible matching presets—still yields significant performance gains.
Fig. 3: Examples of manifest with two parametrized actions.

Key Results

  • Accuracy Boost: The adaptation strategy provided an average increase in Balanced Accuracy (BA) of 9%, with a maximum jump of 27.9% for particularly challenging edits.
  • Robustness to Social Media: The method remained effective even after images were subjected to the heavy re-compression typical of platforms like Facebook and Telegram.
  • Detector Performance: CLIP-D emerged as the most robust detector, maintaining over 95% accuracy after adaptation across almost all tested editing presets.
Fig. 4: Scatter plots of the balanced accuracy for the standard and adapted detectors over the 4 testing sets. (Full-resolution plots at [17].)

Limitations and Future Work

  • Database Dependency: The current method requires a pre-existing database of how specific tools (like Lightroom) encode their actions. If a new tool or version is released, the DB must be updated.
  • Tool Access: The analyst must have access to the same software tools used by the original editor to generate the adaptation training data.
  • Scope: The study focused primarily on synthetic image detection. Future work could extend this to source attribution (identifying which camera or AI model created the image) or manipulation detection (spotting localized "inpainting").
  • Unsupervised Adaptation: The authors suggest exploring unsupervised domain adaptation to remove the need for a labeled auxiliary dataset.

Summary updated

Abstract

Cryptographically verifiable C2PA-based Content Credentials (CCs) can be attached to freshly acquired or generated digital images but also to already existing ones with no previous provenance information, for instance after processing through trusted C2PA-enabled software tools. The latter case leads to images with so-called partial CCs, which capture only the last operations applied, while prior provenance remains unknown and can be investigated through signal forensics. This paper addresses the forensic analysis of such images, highlighting the opportunity to leverage the partial CCs as additional trusted knowledge to adapt forensic detectors towards the statistical characteristics of the image under analysis and mitigate potential distribution shifts. To this end, a two-step strategy is envisioned: (i) reconstructing the operations applied by the last signer through a structural analysis of the partial CCs; (ii) exploiting the obtained reconstruction to enhance the forensic detector of the analyst through an adaptation process. An empirical analysis on partial CCs produced by commercial C2PA-enabled software tools through different editing operations is carried out, providing evidence on the feasibility of the reconstruction in practical cases. An experimental case study on the forensic task of synthetic image detection is then presented, showing that the proposed strategy can significantly enhance the performance of state-of-the-art detectors on test images that are postprocessed via C2PA-enabled software tools after being generated/acquired.
BibTeX
@misc{ziglio2026enhanced,
  author = {Riccardo Ziglio and Eleonora Marchesini and Andrea Montibeller and Giulia Boato and Silvio Ranise and Cecilia Pasquini},
  title = {{Enhanced image forensics through partial C2PA-based provenance information}},
  year = {2026},
  eprint = {2610.38639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38639},
}
Figure