CLOFAI: A Dataset of Real And Fake Image Classification Tasks for Continual Learning

William Doherty, Anton Lee, Heitor Murilo Gomes
1/19/2025
cs.CVcs.AI

Official code: Will-Doherty/CLOFAI (0 stars, last commit 2025-02-09).

Abstract

The rapid advancement of generative AI models capable of creating realistic media has led to a need for classifiers that can accurately distinguish between genuine and artificially-generated images. A significant challenge for these classifiers emerges when they encounter images from generative models that are not represented in their training data, usually resulting in diminished performance. A typical approach is to periodically update the classifier's training data with images from the new generative models then retrain the classifier on the updated dataset. However, in some real-life scenarios, storage, computational, or privacy constraints render this approach impractical. Additionally, models used in security applications may be required to rapidly adapt. In these circumstances, continual learning provides a promising alternative, as the classifier can be updated without retraining on the entire dataset. In this paper, we introduce a new dataset called CLOFAI (Continual Learning On Fake and Authentic Images), which takes the form of a domain-incremental image classification problem. Moreover, we showcase the applicability of this dataset as a benchmark for evaluating continual learning methodologies. In doing this, we set a baseline on our novel dataset using three foundational continual learning methods -- EWC, GEM, and Experience Replay -- and find that EWC performs poorly, while GEM and Experience Replay show promise, performing significantly better than a Naive baseline. The dataset and code to run the experiments can be accessed from the following GitHub repository: https://github.com/Will-Doherty/CLOFAI.

View on arXivView PDF

Code Implementations(1)

Code to accompany the paper "CLOFAI: A Dataset of Real And Fake Image Classification Tasks for Continual Learning"

00PythonSep 28, 20241 years ago

Similar Papers

Cite this paper

@article{doherty2025clofai,
  title  = {CLOFAI: A Dataset of Real And Fake Image Classification Tasks for Continual Learning},
  author = {William Doherty and Anton Lee and Heitor Murilo Gomes},
  year   = {2025},
  eprint = {2501.11140},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.11140v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.11140.svg)](https://codeofpaper.com/paper/2501.11140)

Discussion