CBM: Curriculum by Masking

Andrei Jarca, Florinel-Alin Croitoru, Radu Tudor Ionescu
7/6/2024
cs.CVcs.AIcs.LG

Official code: CroitoruAlin/CBM (1 star, last commit 2025-05-05). 1 more implementation below.

Abstract

We propose Curriculum by Masking (CBM), a novel state-of-the-art curriculum learning strategy that effectively creates an easy-to-hard training schedule via patch (token) masking, offering significant accuracy improvements over the conventional training regime and previous curriculum learning (CL) methods. CBM leverages gradient magnitudes to prioritize the masking of salient image regions via a novel masking algorithm and a novel masking block. Our approach enables controlling sample difficulty via the patch masking ratio, generating an effective easy-to-hard curriculum by gradually introducing harder samples as training progresses. CBM operates with two easily configurable parameters, i.e. the number of patches and the curriculum schedule, making it a versatile curriculum learning approach for object recognition and detection. We conduct experiments with various neural architectures, ranging from convolutional networks to vision transformers, on five benchmark data sets (CIFAR-10, CIFAR-100, ImageNet, Food-101 and PASCAL VOC), to compare CBM with conventional as well as curriculum-based training regimes. Our results reveal the superiority of our strategy compared with the state-of-the-art curriculum learning regimes. We also observe improvements in transfer learning contexts, where CBM surpasses previous work by considerable margins in terms of accuracy. We release our code for free non-commercial use at https://github.com/CroitoruAlin/CBM.

View on arXivView PDF

Code Implementations(2)

CroitoruAlin/CBMOfficial100%

CBM: Curriculum by Masking

10PythonJul 5, 20241 years ago
MIT

This repository contains a PyTorch reproduction of the research paper "CBM: Curriculum by Masking" (Jarcă et al., 2024). It implements a novel Curriculum Learning strategy that creates an "easy-to-hard" training schedule by masking image patches based on their Gradient Magnitude (Salience).

00PythonNov 24, 202511 months agoMIT

Similar Papers

Cite this paper

@article{jarca2024cbm,
  title  = {CBM: Curriculum by Masking},
  author = {Andrei Jarca and Florinel-Alin Croitoru and Radu Tudor Ionescu},
  year   = {2024},
  eprint = {2407.05193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.05193v2}
}

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/2407.05193.svg)](https://codeofpaper.com/paper/2407.05193)

Discussion