Research map / Adversarial robustness and security / Certified and empirical robustness
CASN:Class-Aware Score Network for Textual Adversarial Detection
Rong Bao, Rui Zheng, Liang Ding, Qi Zhang, Dacheng Tao
Fudan University · Shanghai AI Laboratory · The University of Sydney
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Add a contrastive loss
add supervised contrastive learning to score network training · SST-2 · F1: 69.2 -> 93.7 Improved
What 1,804 accepted papers report for this change
- 1,706 improved
- 42 no clear effect
- 21 mixed
- 35 hurt
- Beyond Looking Up, Try Looking Around: Harmonizing Global Structure and Local Consistency in Optimal Transport for Short Text Clustering ICML 2026 · add contrastive learning · SearchSnippets · ACC: 56.65 -> 80.12Improved
- SleepLM: Natural-Language Intelligence for Human Sleep ICML 2026 · add contrastive objective to captioning (CoCa vs Cap) · sleep event IoU · IoU: 29.2 -> 27.4Hurt
- LIMSSR: LLM-Driven Sequence-to-Score Reasoning under Training-Time Incomplete Multimodal Observations ICML 2026 · add contrastive loss L_con · FS1000 average · Spearman correlation: 0.759 -> 0.789Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add supervised contrastive learning to score network training (ablation) | CASN · SST-2 | F1: 69.2 -> 93.7 | Improved |
| add supervised contrastive learning to score network training (ablation) | CASN · IMDB | F1: 75.0 -> 97.7 | Improved |
| add supervised contrastive learning to score network training (ablation) | CASN · AGNEWS | AUROC: 22.7 -> 96.9 | Improved |
| add SDE solver step in inference (ablation) | CASN · SST-2, IMDB, AGNEWS | detection F1/AUROC: F1 91.3 -> 93.7 (SST-2); 97.4 -> 97.7 (IMDB) | No clear effect |
| add SDE solver step in inference (ablation) | CASN · SST-2, IMDB, AGNEWS | purified accuracy: 65.5 vs 63.7 (SST-2); 57.0 vs 54.5 (IMDB); 82.2 vs 80.0 (AGNEWS) | Improved |
| use CASN instead of RDE | detection under TextFooler-adj · SST-2 | F1: 72.3 -> 80.8 | Improved |
| use CASN instead of RDE | detection under TextFooler-adj · AGNEWS | F1: 67.7 -> 90.0 | Improved |
| use CASN instead of RDE | detection under PWWS · IMDB | F1: 82.5 -> 91.2 | Improved |
| increase denoising steps from 30 to 90 | CASN · SST-2 | AUROC: 80.2 -> 99.8 | Improved |
| increase denoising steps from 30 to 90 | CASN · IMDB and AGNEWS | AUROC: 99.5 -> 99.8 (IMDB); 99.9 -> 99.9 (AGNEWS) | No clear effect |
| raise supervised contrastive loss coefficient lambda | CASN · SST-2, AGNEWS | AUROC | Mixed |
| add denoising process to all samples (purification) | BERT classifier · SST-2 adversarial | accuracy after denoising: 4.8 -> 8.0 | Improved |
Open problems in attack evaluation and defense critique
Do attack and defense findings hold beyond one modality, small models and simplified theory?
- Theory covers only one- or two-layer and linear models. · 5 papers state it
- Evaluation uses one dataset, one model family or few architectures. · 5 papers state it
- Strong attacks and defenses are costly to run. · 5 papers state it
Closest papers by meaning
- Why Adversarially Train Diffusion Models? (ICLR 2026 · similarity 0.87)
- Detection of Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimation (ACL 2022 · similarity 0.86)
- OSTAR: Optimized Statistical Text-classifier with Adversarial Resistance (NeurIPS 2025 · similarity 0.86)
- Classification Accuracy Score for Conditional Generative Models (NeurIPS 2019 · similarity 0.85)
- Enhancing Adversarial Robustness via Score-Based Optimization (NeurIPS 2023 · similarity 0.85)
- Adversarial Score Distillation: When score distillation meets GAN (CVPR 2024 · similarity 0.84)
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.