Skip to content
Back to skills

Forgery Localization Eval

ASecurity

Evaluates pixel-level localization accuracy for detecting AI-generated and traditionally tampered image forgeries. It probes a model's ability to distinguish manipulated regions from authentic content by measuring spatial overlap and detection trade-offs against ground-truth masks. Use when the user wants to benchmark on OpenSDID, GIT10K, CocoGlide, Inpaint32K, IMD2020, NIST16, CASIA, or asks about evaluating this task. Reports F1-score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill forgery-localization-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forgery Localization Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forgery Localization Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-forgery-localization-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-forgery-localization-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forgery-localization-eval
description: Evaluates pixel-level localization accuracy for detecting AI-generated and traditionally tampered image forgeries. It probes a model's ability to distinguish manipulated regions from authentic content by measuring spatial overlap and detection trade-offs against ground-truth masks. Use when the user wants to benchmark on OpenSDID, GIT10K, CocoGlide, Inpaint32K, IMD2020, NIST16, CASIA, or asks about evaluating this task. Reports F1-score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2602.18842
  bibtex_key: [REDACTED]
  confidence: high
---

# forgery-localization-eval

> Detecting AI-Generated Forgeries via Iterative Manifold Deviation Amplification — Jiangling Zhang et al. (2026) (arXiv:2602.18842, 2026)

## What this evaluates

Evaluates pixel-level localization accuracy for detecting AI-generated and traditionally tampered image forgeries. It probes a model's ability to distinguish manipulated regions from authentic content by measuring spatial overlap and detection trade-offs against ground-truth masks.

## Datasets

- **OpenSDID** — total ?; splits: train (-1), test (-1)
- **GIT10K** — total 10000; splits: test (-1)
- **CocoGlide** — total ?; splits: test (-1)
- **Inpaint32K** — total ?; splits: test (-1)
- **IMD2020** — total 2010; splits: test (-1)
- **NIST16** — total ?; splits: test (-1)
- **CASIA** — total ?; splits: test (-1)

## Metrics

- `F1-score` **(primary)** — range: [0, 1]
  - Harmonic mean of precision and recall: 2 * (precision * recall) / (precision + recall). Reflects the trade-off between detection precision and recall.
- `IoU` — range: [0, 1]
  - Intersection over Union: |predicted_mask ∩ ground_truth_mask| / |predicted_mask ∪ ground_truth_mask|. Quantifies spatial overlap between predicted and ground-truth masks.

## Input / output format

**Input**: RGB images resized to 512×512 pixels. The model processes a dual-stream input combining the original image and MAE reconstruction residuals.

**Output**: Pixel-level binary/soft masks indicating the spatial location of manipulated/forged regions.

## Scoring recipe

```python
def compute_metrics(pred_mask, gt_mask):
    pred = (pred_mask > 0.5).astype(bool)
    gt = (gt_mask > 0.5).astype(bool)
    intersection = np.logical_and(pred, gt).sum()
    union = np.logical_or(pred, gt).sum()
    iou = intersection / union if union > 0 else 0.0
    tp = intersection
    fp = pred.sum() - tp
    fn = gt.sum() - tp
    precision = tp / (tp + fp) if (tp + fp) > 0 else 0.0
    recall = tp / (tp + fn) if (tp + fn) > 0 else 0.0
    f1 = 2 * precision * recall / (precision + recall) if (precision + recall) > 0 else 0.0
    return iou, f1
```

## Common pitfalls

- Models are pretrained on OpenSDID and fine-tuned per dataset, so reported scores reflect fine-tuned performance rather than zero-shot generalization.
- All inputs are resized to 512×512, which may artificially inflate or deflate IoU/F1 on high-resolution benchmarks like NIST16 compared to native-resolution evaluation.
- Metrics are averaged across datasets in the paper (GIT-AVG, TT-AVG), but individual dataset performance varies significantly due to differing manipulation types and mask complexities.

## Evidence (verbatim from paper)

> Following common practice, we report F1-score and Intersection-over-Union (IoU). F1 reflects the trade-off between precision and recall, indicating the overall detection capability, while IoU quantifies the spatial overlap between the predicted and ground-truth masks, highlighting localization accuracy.

## Citation

```bibtex
@misc{zhang2026detecting,
  title={Detecting AI-Generated Forgeries via Iterative Manifold Deviation Amplification},
  author={Jiangling Zhang et al. (2026)},
  year={2026},
  note={arXiv:2602.18842}
}
```

- arXiv: 2602.18842

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.