atlas

Research map / Vision-language and multimodal / Human and embodied modeling

Textual Training for the Hassle-Free Removal of Unwanted Visual Data: Case Studies on OOD and Hateful Image Detection

NeurIPS 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Human-like visual cognition in VLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes HFTT, which trains trainable text-side embeddings in CLIP's joint space using only synthetic text (word-template prompts) to detect OOD and hateful images without any images.

Problem

Detecting unwanted visual content (OOD images, hateful images) normally requires in-distribution or outlier images and costly vision-language training; the paper asks whether textual data alone can train such detectors.

Approach

A theoretical argument that a classifier trained on one modality of a well-aligned bimodal embedding space transfers to the other, combined with a modified focal-weighted loss that treats all synthetic text as out-distribution and a rule-based synthesis of text from a 370k English word set and prompt templates; only N trainable embeddings in CLIP's output space are learned with the backbone frozen

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use HFTT instead of NPOSCLIP ViT-B/16 · ImageNet-1K OOD averageFPR: 37.94 -> 33.33Helped
use HFTT instead of NPOSCLIP ViT-B/16 · ImageNet-1K OOD averageAUROC: 91.22 -> 91.76Helped
use HFTT instead of NegLabelCLIP ViT-B/16 · Hate innocuous-data averageFPR: 4.49 -> 1.83Helped
use HFTT instead of NegLabelCLIP ViT-B/16 · Hate innocuous-data averageAUROC: 98.82 -> 99.06Helped
use HFTT instead of MCMCLIP ViT-B/16 · ImageNet-CAUROC: 89.06 -> 92.81Helped
add medical-domain descriptions to HFTT (ablation)HFTT with CLIP · PVQAAUROC: 93.60 -> 97.05Helped
add medical-domain descriptions to HFTT (ablation)HFTT with CLIP · PCAMAUROC: 96.94 -> 98.35Helped
add medical-domain corpus engineering to HFTT with descriptions (ablation)HFTT with CLIP · PVQAAUROC: 97.05 -> 98.69Helped
add medical-domain corpus engineering to HFTT with descriptions (ablation)HFTT with CLIP · PCAMAUROC: 98.35 -> 98.73Helped
use focal loss with gamma=1 instead of gamma=0 (ablation)HFTT · ImageNet OOD averageAUROC: 88.19 -> 88.30Helped
use temperature 1.0 instead of 0.01 (ablation)HFTT · ImageNet OOD averageAUROC: 88.30 -> 46.34Hurt
increase trainable embeddings from 10 to 2000 (ablation)HFTT · ImageNet OOD averageAUROC: 88.30 -> 88.32No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K iNaturalist SUN Places Textures NINCO Hate dataset ImageNet-C ISIC-18 PathVQA PatchCamelyon english-words word set

Benchmarks: ImageNet-1K OOD (iNaturalist, SUN, Places, Textures, NINCO) Hate dataset (innocuous OOD) ImageNet-C low-quality detection medical OOD (PathVQA, PCAM)

Metrics: AUROC FPR95

Baselines: Mahalanobis MSP KNN NPOS Energy ZOC MaxLogit MCM CLIPN NegLabel

Builds on: CLIP focal loss MCM NegLabel

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy