Skip to main content
QUICK REVIEW

[Paper Review] Implementing Active Learning in Cybersecurity: Detecting Anomalies in Redacted Emails

Mu-Huan, Lu Wang|arXiv (Cornell University)|Mar 1, 2023
Anomaly Detection Techniques and ApplicationsComputer Science3 citations
TL;DR

This paper proposes an active learning (AL) framework for detecting anomalies in redacted emails within a cybersecurity context, where expert labeling is constrained by privacy and high uncertainty. By integrating expert confidence ratings with query strategies like High-Risk Querying and Uncertainty Querying, the study shows that modeling both human and AI uncertainty significantly improves multiclass anomaly detection performance, especially when high-confidence labels are prioritized.

ABSTRACT

Research on email anomaly detection has typically relied on specially prepared datasets that may not adequately reflect the type of data that occurs in industry settings. In our research, at a major financial services company, privacy concerns prevented inspection of the bodies of emails and attachment details (although subject headings and attachment filenames were available). This made labeling possible anomalies in the resulting redacted emails more difficult. Another source of difficulty is the high volume of emails combined with the scarcity of resources making machine learning (ML) a necessity, but also creating a need for more efficient human training of ML models. Active learning (AL) has been proposed as a way to make human training of ML models more efficient. However, the implementation of Active Learning methods is a human-centered AI challenge due to potential human analyst uncertainty, and the labeling task can be further complicated in domains such as the cybersecurity domain (or healthcare, aviation, etc.) where mistakes in labeling can have highly adverse consequences. In this paper we present research results concerning the application of Active Learning to anomaly detection in redacted emails, comparing the utility of different methods for implementing active learning in this context. We evaluate different AL strategies and their impact on resulting model performance. We also examine how ratings of confidence that experts have in their labels can inform AL. The results obtained are discussed in terms of their implications for AL methodology and for the role of experts in model-assisted email anomaly screening.

Motivation & Objective

  • To address the challenge of acquiring high-quality labeled data for anomaly detection in redacted emails due to privacy restrictions in financial institutions.
  • To investigate how expert uncertainty and confidence in labeling decisions affect active learning performance in cybersecurity contexts.
  • To evaluate different active learning query strategies—High-Risk Querying, Uncertainty Querying, and Random Querying—under real-world constraints involving expert analysts.
  • To explore the impact of team-based labeling (individual vs. group training) on model performance and labeling efficiency.
  • To develop guidelines for integrating human expertise more effectively into machine learning pipelines by accounting for labeling confidence and individual expertise differences.

Proposed method

  • The study employs a batch-based active learning framework using three query strategies: High-Risk Querying (HRQ), Uncertainty Querying (UQ), and Random Querying (RQ), to prioritize cases for expert labeling.
  • Experts assigned confidence ratings to their anomaly labels, which were used to assess calibration and inform query selection.
  • Participants were divided into three teams: individual model training, model swapping across individuals, and group-based model training to evaluate collaboration effects.
  • The model performance was evaluated using multiclass classification metrics, with emphasis on how confidence levels correlated with prediction accuracy.
  • The researchers analyzed labeling behavior and confidence calibration to determine whether high-confidence labels led to better model improvements.
  • A hybrid approach was proposed where AL systems either predict expert confidence or accept multiclass/multilabel inputs to filter uncertain cases without degrading performance.

Experimental results

Research questions

  • RQ1RQ1: Are experts well calibrated in terms of assigning self-confidence ratings to their labeling decisions? (i.e., do model predictions improve when experts are more confident in their labeling decisions?)
  • RQ2RQ2: Does training ML models with groups, rather than individuals, lead to better model performance?
  • RQ3RQ3: How can expert confidence ratings be leveraged to improve the efficiency and accuracy of active learning in high-stakes domains like cybersecurity?

Key findings

  • Experts' self-reported confidence levels were predictive of subsequent model accuracy, indicating that confidence ratings can serve as a reliable signal for improving active learning.
  • Model performance improved significantly when queries were prioritized based on expert confidence, especially for multiclass anomaly detection.
  • Grouping analysts did not lead to better model performance, suggesting that redundancy through group labeling may not be cost-effective.
  • Labeling efficiency and model improvement were higher when experts were queried on instances they were confident about, rather than only on uncertain cases.
  • The study found that high-confidence labels were more informative and led to better model generalization, supporting the use of confidence-aware querying strategies.
  • The results suggest that AL algorithms should either predict expert confidence or accept multilabel/multiclass inputs to filter out uncertain cases without sacrificing model performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.