Learning Robust Representations for Malicious Content Detection via Contrastive Sampling and Uncertainty Estimation

📅 2025-12-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Addressing the challenges of high noise, scarce positive samples, and severe class imbalance in malicious content detection, this paper proposes an uncertainty-aware Positive-Unlabeled (PU) representation learning framework. Methodologically, it introduces a novel uncertainty-aware contrastive loss coupled with an adaptive temperature scaling mechanism, integrated with a self-attention-guided LSTM encoder to enable dynamic contrastive weight assignment and robust positive-sample anchor construction. The framework significantly enhances discriminability and robustness of the learned embedding space: downstream classifiers achieve 93.38% accuracy, precision above 0.93, and near-perfect recall—substantially reducing false negatives. Moreover, it attains superior ROC-AUC performance, demonstrating strong effectiveness and generalizability in high-noise, low-resource scenarios.

Technology Category

Application Category

📝 Abstract
We propose the Uncertainty Contrastive Framework (UCF), a Positive-Unlabeled (PU) representation learning framework that integrates uncertainty-aware contrastive loss, adaptive temperature scaling, and a self-attention-guided LSTM encoder to improve classification under noisy and imbalanced conditions. UCF dynamically adjusts contrastive weighting based on sample confidence, stabilizes training using positive anchors, and adapts temperature parameters to batch-level variability. Applied to malicious content classification, UCF-generated embeddings enable multiple traditional classifiers to achieve more than 93.38% accuracy, precision above 0.93, and near-perfect recall, with minimal false negatives and competitive ROC-AUC scores. Visual analyses confirm clear separation between positive and unlabeled instances, highlighting the framework's ability to produce calibrated, discriminative embeddings. These results position UCF as a robust and scalable solution for PU learning in high-stakes domains such as cybersecurity and biomedical text mining.
Problem

Research questions and friction points this paper is trying to address.

Improves malicious content detection under noisy, imbalanced conditions
Enhances classification accuracy and recall with robust embeddings
Addresses Positive-Unlabeled learning challenges in cybersecurity and text mining
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uncertainty-aware contrastive loss for noisy data
Adaptive temperature scaling for batch variability
Self-attention-guided LSTM encoder for discriminative embeddings
🔎 Similar Papers
No similar papers found.
Elias Hossain
Elias Hossain
PhD Student, University of Central Florida, USA
(Deep) Machine LearningTrustworthy AILLM ReasoningBioinformatics
Umesh Biswas
Umesh Biswas
PhD Student in CS, Mississippi State University
Distributed computing. Algorithms. Machine Learning
C
Charan Gudla
Department of Computer Science & Engineering, Mississippi State University, MS State, USA
S
Sai Phani Parsa
Department of Computer Science, University of Nevada, Las Vegas, USA