# ductai199x/forensic-knowledge-graph-eccv26 architecture

> Architecture diagram of the GitHub repository ductai199x/forensic-knowledge-graph-eccv26, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ductai199x/forensic-knowledge-graph-eccv26
- Repository: https://github.com/ductai199x/forensic-knowledge-graph-eccv26

## Overview

This repository currently documents a research framework, not an implemented codebase: the tree contains a README and assets only, and the README says code, pretrained models, and FKG-50K are forthcoming. The documented workflow takes an image through forensic trace extraction and region analysis, constructs a grounded Forensic Knowledge Graph (FKG), then uses Iterative Context Refinement (ICR) with a VLM to produce a justified report. The graph reflects those documented stages and capabilities; paths are null because no implementation paths are present.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_forensics["Forensic analysis"]
  node_image["Input image"]
  node_trace["Trace extraction"]
  node_regions["Region proposals"]
  node_reasoner["Forensic reasoner"]
  node_authentication["Authentication findings"]
  node_localization["Forgery localization"]
  node_provenance["Camera provenance"]
end

subgraph group_knowledge["Knowledge graph"]
  node_fkg["Forensic Knowledge Graph"]
  node_causal["Causal dependencies"]
  node_scene["Scene links"]
end

subgraph group_explanation["Grounded explanation"]
  node_icr["Iterative Context Refinement"]
  node_vlm["Explanation VLM"]
  node_report["Justified forensic report"]
end

subgraph group_dataset["Dataset"]
  node_dataset[("FKG-50K")]
end

node_user(("Image submitter"))

node_user -->|"submits"| node_image
node_image -->|"analyzes"| node_trace
node_trace -->|"informs"| node_regions
node_regions -->|"informs"| node_reasoner
node_reasoner -->|"identifies"| node_authentication
node_reasoner -->|"localizes"| node_localization
node_reasoner -->|"attributes"| node_provenance
node_reasoner -->|"constructs"| node_fkg
node_fkg -->|"encodes"| node_causal
node_fkg -->|"links"| node_scene
node_fkg -->|"conditions"| node_icr
node_icr -->|"guides"| node_vlm
node_vlm -->|"generates"| node_report
node_dataset -.->|"provides ground truth"| node_fkg

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_image,node_trace,node_regions,node_reasoner,node_authentication,node_localization,node_provenance toneBlue
class node_fkg,node_causal,node_scene toneAmber
class node_icr,node_vlm,node_report toneMint
class node_dataset toneRose
class node_user toneIndigo
```

## Components

### Forensic analysis

- **Input image**
- **Trace extraction**
- **Region proposals**
- **Forensic reasoner**
- **Authentication findings**
- **Forgery localization**
- **Camera provenance**

### Knowledge graph

- **Forensic Knowledge Graph**
- **Causal dependencies**
- **Scene links**

### Grounded explanation

- **Iterative Context Refinement**
- **Explanation VLM**
- **Justified forensic report**

### Dataset

- **FKG-50K**

### Other components

- **Image submitter**

## Connections

- Image submitter → Input image: submits
- Input image → Trace extraction: analyzes
- Trace extraction → Region proposals: informs
- Region proposals → Forensic reasoner: informs
- Forensic reasoner → Authentication findings: identifies
- Forensic reasoner → Forgery localization: localizes
- Forensic reasoner → Camera provenance: attributes
- Forensic reasoner → Forensic Knowledge Graph: constructs
- Forensic Knowledge Graph → Causal dependencies: encodes
- Forensic Knowledge Graph → Scene links: links
- Forensic Knowledge Graph → Iterative Context Refinement: conditions
- Iterative Context Refinement → Explanation VLM: guides
- Explanation VLM → Justified forensic report: generates
- FKG-50K → Forensic Knowledge Graph: provides ground truth
