Research map / Label-efficient and robust learning / OOD and anomaly detection
Modeling Discriminative Representations for Out-of-Domain Detection with Supervised Contrastive Learning
Zhiyuan Zeng, Keqing He, Yuanmeng Yan, Zijun Liu, Yanan Wu, Hong Xu, Huixing Jiang, Weiran Xu
Beijing University of Posts and Telecommunications · Meituan Group
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: Larger batch size
increase batch size and representation dimension · CLINC-Full · OOD F1: 67.68 -> 69.27 (dim 512, batch 200) Improved
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
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 pre-training (SCL) before CE | LSTM+CE, GDA · CLINC-Full | OOD F1: 65.23 -> 67.68 | Improved |
| add SCL pre-training before CE | LSTM+CE, GDA · CLINC-Small | OOD F1: 61.07 -> 64.44 | Improved |
| add SCL pre-training before CE | BERT+CE, GDA · CLINC-Full | OOD F1: 66.17 -> 68.03 | Improved |
| replace CE with LMCL (no SCL) (ablation) | LSTM, GDA · CLINC-Full | OOD F1: 65.23 -> 65.79 | Improved |
| add SCL to LMCL | LSTM, GDA · CLINC-Full | OOD F1: 65.79 -> 68.04 | Improved |
| add SCL pre-training before CE | LSTM+CE, MSP · CLINC-Full | OOD F1: 34.91 -> 39.34 | Improved |
| reduce IND training data to 10% of CLINC-Full | SCL+CE vs CE · CLINC-Full subset | OOD F1: 42.16 -> 50.10 | Improved |
| train SCL after CE instead of before (ablation) | LSTM, GDA · CLINC-Full | OOD F1: 67.68 -> 63.40 | Hurt |
| optimize SCL and CE jointly (multitask) instead of pre-train then fine-tune (ablation) | LSTM, GDA · CLINC-Full | OOD F1: 67.68 -> 67.25 | Hurt |
| add adversarial augmentation (epsilon > 0) in SCL (ablation) | SCL+CE LSTM · CLINC-Full | OOD performance | Improved |
| use large adversarial perturbation norm (ablation) | SCL+CE LSTM · CLINC-Full | OOD performance | Hurt |
| increase batch size and representation dimension (ablation) | SCL+CE LSTM · CLINC-Full | OOD F1: 67.68 -> 69.27 (dim 512, batch 200) | Improved |
Open problems in robust fine-tuning for OOD generalization
Do robust fine-tuning and OOD detection methods hold up on larger models, real shifts and without labeled OOD data?
- Only a few model families were tested, and larger models were not. · 8 papers state it
- OOD test data is synthetic or hand-built rather than real deployment data. · 8 papers state it
- Theory holds only under strong or simplified assumptions. · 8 papers state it
Closest papers by meaning
- Adversarial Self-Supervised Learning for Out-of-Domain Detection (NAACL 2021 · similarity 0.93)
- KNN-Contrastive Learning for Out-of-Domain Intent Classification (ACL 2022 · similarity 0.90)
- Out-of-domain Detection based on Generative Adversarial Network (EMNLP 2018 · similarity 0.90)
- Likelihood Ratios and Generative Classifiers for Unsupervised Out-of-Domain Detection in Task Oriented Dialog (AAAI 2020 · similarity 0.89)
- Revisit Overconfidence for OOD Detection: Reassigned Contrastive Learning with Adaptive Class-dependent Threshold (NAACL 2022 · similarity 0.89)
- Provable Discriminative Hyperspherical Embedding for Out-of-Distribution Detection (AAAI 2025 · 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.