LPLgrad: Optimizing Active Learning Through Gradient Norm Sample Selection and Auxiliary Model Training

Shreen Gul, Mohamed Elmahallawy, Sanjay Madria, Ardhendu Tripathy
11/20/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: sgchr273/LPLgrad (0 stars, last commit 2024-11-13).

Abstract

Machine learning models are increasingly being utilized across various fields and tasks due to their outstanding performance and strong generalization capabilities. Nonetheless, their success hinges on the availability of large volumes of annotated data, the creation of which is often labor-intensive, time-consuming, and expensive. Many active learning (AL) approaches have been proposed to address these challenges, but they often fail to fully leverage the information from the core phases of AL, such as training on the labeled set and querying new unlabeled samples. To bridge this gap, we propose a novel AL approach, Loss Prediction Loss with Gradient Norm (LPLgrad), designed to quantify model uncertainty effectively and improve the accuracy of image classification tasks. LPLgrad operates in two distinct phases: (i) {\em Training Phase} aims to predict the loss for input features by jointly training a main model and an auxiliary model. Both models are trained on the labeled data to maximize the efficiency of the learning process, an aspect often overlooked in previous AL methods. This dual-model approach enhances the ability to extract complex input features and learn intrinsic patterns from the data effectively; (ii) {\em Querying Phase} that quantifies the uncertainty of the main model to guide sample selection. This is achieved by calculating the gradient norm of the entropy values for samples in the unlabeled dataset. Samples with the highest gradient norms are prioritized for labeling and subsequently added to the labeled set, improving the model's performance with minimal labeling effort. Extensive evaluations on real-world datasets demonstrate that the LPLgrad approach outperforms state-of-the-art methods by order of magnitude in terms of accuracy on a small number of labeled images, yet achieving comparable training and querying times in multiple image classification tasks.

View on arXivView PDF

Code Implementations(1)

sgchr273/LPLgradCommunity100%

This is the official repository for the IEEE BigData paper "LPLgrad: Optimizing Active Learning Through Gradient Norm Sample Selection and Auxiliary Model Training"

01PythonNov 13, 20241 years ago

Similar Papers

Cite this paper

@article{gul2024lplgrad,
  title  = {LPLgrad: Optimizing Active Learning Through Gradient Norm Sample Selection and Auxiliary Model Training},
  author = {Shreen Gul and Mohamed Elmahallawy and Sanjay Madria and Ardhendu Tripathy},
  year   = {2024},
  eprint = {2411.15217},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.15217v1}
}

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

Discussion