Downloads · 30 days
0
Shivapreetham17/rqsa-mil-v1
rqsa-mil-v1 is a image classification model from Shivapreetham17. Use it when you need a label for an image. The card lists the license as other.
RQSA-MIL (Region-Quality Supervised Attention for Multiple Instance Learning) is a nudity detection model: a MobileNetV2 backbone with a spatial attention gate conditioned on region quality. During training the gate r…
Downloads · 30 days
0
Access
Public
Updated Jul 9, 2026
Repo size
23.6 MB
Likes
0
Public
Click a slice to open those files.
.onnx13.1 MB · 55%
From the Hugging Face model README
RQSA-MIL (Region-Quality Supervised Attention for Multiple Instance Learning) is a nudity detection model: a MobileNetV2 backbone with a spatial attention gate conditioned on region quality. During training the gate receives the IoU between each region and ground-truth annotations; at inference it receives a pseudo-IoU of 0.5. Trained with weighted MIL on bag-level labels plus an attention diversity regularizer.
Defensive content moderation: blurring or flagging NSFW imagery in browsers, user-generated-content platforms, or safety pipelines. Not intended for punitive automated decisions about individuals without human review.
| Metric | Value |
|---|---|
| Recall | 87.89% |
| Specificity | 85.52% |
| AUC | 92.98% |
| TPR at 1% FPR | 48.65% |
score = max(large-tier, small-tier) top-3 mean. Use as a UI confidence.score_large is the recommended single-knob threshold (ROC/AUC numbers are
computed on it). Lower threshold = stricter blocking, more false positives.fast preset trades some sensitivity for ~8x fewer patches; production
CPU deployments use it for interactive latency.Trained on a bounding-box-annotated nudity detection dataset (positives) and a nude/non-nude classification dataset (negatives). Datasets are not redistributed with this repository.