Language Guidance for Supervised Vision Training: An Empirical Study of Generalization
Organizations: Eindhoven University of Technology
Abstract
Deep neural networks have achieved remarkable success on vision benchmarks, yet they continue to struggle with many generalization challenges. Supervised vision training relies on one-hot labels, which provide limited information about semantic structure and shared attributes between classes. This limited supervision can leave visual representations vulnerable to distribution shifts, spurious correlations, texture bias, adversarial perturbations, and forgetting in sequential learning settings. We study whether pretrained language models can serve as lightweight auxiliary supervision for vision training without requiring paired image-text data, prompt engineering, or contrastive objectives. Specifically, we evaluate two forms of language guidance, Explicit Language Guidance (ExLG) and Implicit Language Guidance (ImLG). We conduct a comprehensive evaluation across six generalization regimes, including in-distribution, out-of-distribution generalization, shortcut and spurious correlation resistance, texture and shape bias, adversarial robustness, and continual learning. Our analyses show that the two mechanisms have complementary strengths, with explicit guidance consistently benefiting in-distribution, low-data performance, and continual learning retention, while implicit guidance is often more useful in shortcut-sensitive settings and under stronger adversarial perturbations. Importantly, both are lightweight and add minimal parameters and training overhead. The analyses characterize when language-derived structure helps supervised vision training and provides a practical roadmap for using off-the-shelf pretrained models from another modality as auxiliary supervision.
Figures & tables
| Vision Encoder | ResNet18 | ResNet50 | ViT | |
|---|---|---|---|---|
| PLM | Sentence Transformer variants | CLIP | ||
| Analysis | Datasets | |||
| IID | CIFAR10 | CIFAR100 | TinyImageNet | ImageNet-100 |
| OOD | ImageNet-O | ImageNet-R | ImageNet-A | |
| Shortcut Learning | Tinted-CIFAR10 | Skewed-CelebA | WaterBirds | |
| Texture Bias | Stylized TinyImageNet | Texture-Shape Cue-Conflict | ||
| Method | IID | CIFAR-10 Data Efficiency (%) | |||||
|---|---|---|---|---|---|---|---|
| CIFAR-10 | CIFAR-100 | TinyImgNet | 2 | 5 | 10 | 20 | |
| Baseline | 94.84 0.14 | 76.98 0.39 | 58.73 0.35 | 45.71 1.52 | 55.42 1.08 | 67.04 2.19 | 79.62 2.60 |
| ExLG | 95.12 0.05 | 77.59 0.08 | 65.63 0.26 | 47.88 0.53 | 57.24 1.95 | 69.97 1.87 | 84.75 0.61 |
| ImLG | 93.41 0.46 | 74.10 0.91 | 60.02 0.16 | 45.03 2.06 | 55.53 2.06 | 67.82 1.42 | 79.03 0.57 |
| Method | Tint-CIF10 | Skewed-CelebA | ||||
| Overall | NonBlonde-M | Blonde-F | Blonde-M | NonBlonde-F | ||
| Baseline | 16.45 1.81 | 61.28 1.21 | 94.71 0.08 | 92.21 1.02 | 56.38 0.39 | 27.74 2.29 |
| +ExLG | 18.24 0.60 | 72.11 1.28 | 96.29 0.30 | 95.18 0.31 | 68.33 0.98 | 47.67 2.31 |
| +ImLG | 18.51 1.04 | 75.90 1.79 | 97.85 0.65 | 96.81 0.11 | 69.77 1.03 | 53.84 3.38 |
| WaterBirds | ||||||
| Method | Overall | Landbird/land | Waterbird/water | Landbird/water | Waterbird/land | |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | CIFAR10, CIFAR100, Tinted-CIFAR10 | Skewed-CelebA, Waterbirds | TinyImageNet |
|---|---|---|---|
| ExLG | |||
| ImLG |
| Method | Seq-CIFAR10 | Seq-TinyImageNet | DN4IL |
|---|---|---|---|
| ExLG | |||
| ImLG |
| CIFAR10 | CelebA | |||||
|---|---|---|---|---|---|---|
| Base | ExLG | ImLG | Base | ExLG | ImLG | |
| ResNet50 | 94.38 | 97.21 | 95.86 | 63.88 | 74.45 | 76.58 |
| Cls | Shortcut | OOD | CL | |||||
|---|---|---|---|---|---|---|---|---|
| CIFAR10 | TinyImg | CelebA | ImgNet-O | ImgNet-R | ImgNet-A | DN4IL | ||
| Base | 94.84 | 58.73 | 61.28 | 41.73 | 10.59 | 1.92 | 24.15 | |
| ExLG | LM | 95.12 | 65.63 | 72.11 | 46.70 | 14.95 | 2.94 | 27.71 |
| Larger LM | 95.01 | 65.89 | 72.93 | 47.51 | 14.65 | 2.92 | 26.84 | |
| MM-CLIP | 95.13 | 64.62 | 70.50 | 45.56 | 12.58 | 2.50 | 25.54 | |
| Cls | Shortcut | OOD | CL | |||||
|---|---|---|---|---|---|---|---|---|
| CIFAR10 | TinyImg | CelebA | ImgNet-O | ImgNet-R | ImgNet-A | DN4IL | ||
| Base | 94.84 | 58.73 | 61.28 | 41.73 | 10.59 | 1.92 | 24.15 | |
| ImLG | LM | 93.41 | 60.02 | 75.90 | 42.20 | 12.10 | 2.37 | 24.22 |
| Larger LM | 93.78 | 61.16 | 77.55 | 42.12 | 12.71 | 2.45 | 24.51 | |
| MM-CLIP | 93.33 | 57.87 | 70.50 | 39.10 | 10.80 | 2.06 | 24.00 | |
| CelebA | ||||
|---|---|---|---|---|
| Acc | #Trainable Params (M) | Training Time (seconds) | ||
| ResNet18 | Base | 61.28 | 11.17 | 575.63 |
| Ex-LG | 72.11 | 11.17 | 590.91 | |
| Im-LG | 75.90 | 14.51 | 586.54 | |
| ResNet50 | Base | 63.88 | 23.50 | 4100 |
| ExLG Variant | CIFAR-10 | CelebA | DN4IL |
|---|---|---|---|
| Baseline | 94.84 0.14 | 61.28 1.21 | 24.15 0.34 |
| LM-Rand (random LM weights) | 91.09 1.67 | 67.25 1.44 | 22.27 1.68 |
| Shuffled descriptions | 93.05 0.04 | 68.85 1.16 | 24.78 0.23 |
| Simple (class names only) | 94.97 0.11 | 70.00 0.36 | 26.27 0.78 |
| ExLG | 95.12 0.05 | 72.11 1.28 | 27.71 0.64 |
| ImLG Variant | CelebA |
|---|---|
| Baseline | 61.28 1.21 |
| Projection-only (no LM block) | 62.25 2.81 |
| LM-Rand (random frozen transformer block) | 57.41 8.10 |
| Weight-shuffle (permuted pretrained weights) | 70.94 0.12 |
| ImLG | 75.90 1.79 |
| Method | Optimizer | CIFAR-10 | CelebA |
|---|---|---|---|
| Baseline | SGD (paper) | 94.84 0.14 | 61.28 1.21 |
| Baseline | AdamW | 92.33 0.02 | 58.00 2.60 |
| ExLG | SGD (paper) | 95.12 0.05 | 72.00 1.28 |
| ExLG | AdamW | 91.88 0.39 | 62.77 0.99 |
| ImLG | AdamW (paper) | 93.41 0.46 | 75.90 1.79 |
| Insertion point | CelebA (mean std) |
|---|---|
| After layer2 | |
| After layer3 | |
| After layer4 (paper) |
OOD Generalization
Out-of-distribution generalization studies how machine-learning models perform when test data, domains, tasks, or environments differ from training.
See all 386 papers