Language Guidance for Supervised Vision Training: An Empirical Study of Generalization

Shruthi Gowda, Nikita Jain, Elahe Arani, Bahram Zonooz

TL;DR

Standard vision models trained with one-hot labels lack semantic context, making them vulnerable to shortcut learning, distribution shifts, and catastrophic forgetting. This paper introduces two lightweight methods—Explicit and Implicit Language Guidance—that leverage frozen, off-the-shelf language models as auxiliary supervision without requiring paired image-text data. The study reveals that these two approaches have complementary strengths, offering a practical roadmap for cross-modal supervision in standard vision pipelines.

What Problem Does This Paper Address?

Deep neural networks excel at standard vision benchmarks but often fail to generalize beyond their training distributions. They are notoriously susceptible to shortcut learning (relying on superficial cues like backgrounds), texture bias, adversarial attacks, and catastrophic forgetting in continual learning settings.

The authors argue that a root cause of these vulnerabilities is the standard supervisory signal: one-hot labels. A one-hot vector tells a model that an image belongs to a specific class, but it strips away all semantic relationships, shared attributes, and conceptual hierarchies between classes (e.g., that a "car" and a "truck" both have wheels and roads as common contexts). Consequently, the vision encoder must infer abstractions purely from pixel statistics, often latching onto spurious correlations.

Methods

To inject language-derived structure into supervised vision training without the heavy computational overhead of multi-modal pretraining (like CLIP) or the need for paired image-text datasets, the authors propose and evaluate two distinct, lightweight mechanisms:

  1. Explicit Language Guidance (ExLG): This method uses a similarity-preserving loss function to align the relational structure of the visual feature space with the semantic space of class-level text descriptions. A frozen pretrained language model generates embeddings for text descriptions of each class. During training, the vision encoder is penalized if the pairwise similarities of its image features don't match the pairwise similarities of the corresponding language embeddings. Crucially, the language model is discarded at inference time, adding zero operational overhead.
  2. Implicit Language Guidance (ImLG): Instead of using language as a separate loss target, ImLG physically inserts a frozen language encoder block directly into the vision pipeline between the vision encoder and the final classifier. Trainable projection layers map the visual features into and out of the language block's hidden dimension. This forces the visual features to be processed and filtered through the language model's attention mechanisms during both training and inference.
Architecture of Explicit vs. Implicit Language Guidance

Datasets

The authors conducted a massive empirical evaluation across six generalization regimes using a wide array of datasets:

  • In-Distribution (IID) & Sample Efficiency: CIFAR-10, CIFAR-100, TinyImageNet, and ImageNet-100.
  • Out-of-Distribution (OOD): ImageNet-A (adversarial), ImageNet-O (outliers), and ImageNet-R (artistic renditions).
  • Shortcut Learning: Tinted-CIFAR10, Skewed-CelebA (spurious gender/hair color correlation), and WaterBirds (spurious bird/background correlation).
  • Texture vs. Shape Bias: Stylized TinyImageNet and a custom Texture-Shape Cue-Conflict dataset.
  • Adversarial Robustness: CIFAR-10 under PGD-10 attacks.
  • Continual Learning: Seq-CIFAR10, Seq-TinyImageNet, and DN4IL (Domain-Incremental learning).

Key Insights and Ideas

  • Complementary Strengths: ExLG and ImLG induce fundamentally different trade-offs. ExLG acts as a stable regularizer, making it highly effective for boosting clean in-distribution accuracy, low-data efficiency, and memory retention in continual learning. ImLG acts as a conceptual filter, making it superior at resisting shortcut learning and surviving high-magnitude adversarial attacks.
  • Shape over Texture: Incorporating language guidance nudges vision models away from texture-based classification and toward shape-based classification, aligning them more closely with human visual perception.
  • Semantics Matter, Not Just Regularization: Through ablation studies, the authors showed that using richer, correctly paired text descriptions yields significantly better performance than using class names alone or random/shuffled text. This proves that the vision model genuinely benefits from the semantic knowledge embedded in the language space, rather than just experiencing a generic regularization effect from the extra loss term.

Key Results

  • IID & OOD Gains: On TinyImageNet, ExLG improved accuracy from 58.73% (baseline) to 65.63%. It also consistently outperformed the baseline on OOD transfer tasks (e.g., boosting ImageNet-R performance from 10.59% to 14.95%).
  • Defeating Shortcuts: On the heavily biased Skewed-CelebA dataset, ImLG achieved an overall accuracy of 75.90% compared to the baseline's 61.28%. Most impressively, for the underrepresented "non-blonde female" test category (unseen during training), ImLG boosted accuracy from 27.74% to 53.84%.
  • Continual Learning Stability: In Class-Incremental learning (Seq-CIFAR10) using Experience Replay, ExLG achieved a final accuracy of 54.84%, a substantial 22% relative improvement over the baseline's 44.79%.
Activation maps showing language-guided models focusing on salient features rather than spurious backgrounds

Limitations and Future Work

The primary limitation acknowledged by the authors is that this study focuses strictly on classification-oriented vision tasks. It remains an open question whether lightweight language guidance can yield similar generalization benefits for dense prediction tasks like object detection and semantic segmentation. Additionally, while the empirical results clearly demonstrate that these methods work, the precise internal mechanics of how pretrained language representations reshape visual feature processing warrant deeper theoretical investigation.

Summary updated

BibTeX
@article{gowda2026language,
  author = {Shruthi Gowda and Nikita Jain and Elahe Arani and Bahram Zonooz},
  title = {{Language Guidance for Supervised Vision Training: An Empirical Study of Generalization}},
  journal = {Accepted by TMLR},
  year = {2026},
  url = {https://openreview.net/forum?id=qjb79dmZjf},
}
Figure