Visualizing and Describing Fine-grained Categories as Textures

Tsung-Yu Lin, Mikayla Timm, Chenyun Wu, Subhransu MajiarXiv 2019

Abstract

Fine-Grained Visual Categorization (FGVC) involves distinguishing between highly similar object classes, such as specific bird species or types of fungi. While deep learning models achieve high accuracy in these tasks, their internal logic is often difficult to interpret. This paper proposes a method to visualize the discriminative features of these models as synthesized textures and provide linguistic descriptions via word clouds. By focusing on textural "fingerprints," the approach offers a transparent view of how models differentiate between subtle categories, bridging the gap between high-dimensional neural activations and human intuition.

Introduction

Distinguishing between a "Tiger Lily" and a "Boletus" fungus requires identifying subtle patterns, colors, and textures rather than relying on general object shape. In the realm of computer vision, Fine-Grained Visual Categorization (FGVC) addresses the challenge of recognizing objects that are visually similar but belong to different sub-categories. While state-of-the-art models like Bilinear CNNs (B-CNNs) are highly effective at this task, they often function as "black boxes." This research addresses the interpretability gap by synthesizing images that represent the "ideal" texture for a category and automatically generating human-readable attribute descriptions.

Methodology

The authors utilize a two-step pipeline to extract and describe textural features:

  1. Maximal Texture Synthesis: The researchers used a multi-layer Bilinear CNN (B-CNN) based on a VGG-16 architecture. To visualize what the model identifies as characteristic of a category, they perform an optimization process: starting with an input image, they modify it to maximize the probability of a specific target class. A Total Variation (TV) norm is applied as a "smoothness prior" to ensure the resulting synthetic images look like coherent textures rather than random noise.
  2. Texture Captioning: To provide a language-based explanation, a separate ResNet-101 model is trained to predict texture attributes from the synthesized images. These predictions are visualized as "phrase clouds," where the size of the text corresponds to the model's confidence in that attribute (e.g., "spotted," "fibrous," or "orange messy").

Datasets

The study utilized several prominent fine-grained datasets, including Caltech-UCSD Birds, Oxford Flowers, FGVC Fungi, and FGVC Butterflies and Moths. To train the captioning system, the authors built upon the Describable Textures Dataset (DTD) by collecting new natural language descriptions. Five human annotators per image provided attribute phrases, creating a robust benchmark for mapping visual textures to language.

Results and Discussion

The qualitative results demonstrate that the synthesized "maximal images" accurately capture the essential visual traits of various species. For example, the generated texture for the "Tiger Lily" clearly captures the orange hue and dark spots characteristic of the species. This confirms that the network successfully ignores global shape and pose—which can vary wildly—and focuses on invariant textural properties.

Visualizations and word clouds for the Caltech-UCSD Birds and Oxford Flowers datasets.

The model's reliance on orderless pooling of second-order features makes it naturally robust to background clutter. The visualizations show that the model learns to look "through" the noise to find specific patterns, such as the intricate barred feathers of a woodpecker or the delicate veins of a flower petal.

Visualizations for FGVC Butterflies and Moths, Fungi, and Flowers.

The generated word clouds provide a crucial sanity check for the model's logic. Fungi categories often trigger attributes like "veined," "rough," or "bumpy," while specific birds trigger "colorful," "patterned," or "shiny." This consistency across domains—from organic flower patterns to geometric butterfly wings—highlights the method's versatility.

Conclusion and Future Work

This work provides a novel framework for interpreting fine-grained classification models by translating neural activations into visual textures and human language. While the results are compelling, the authors note limitations such as the fixed vocabulary of attribute phrases. Future exploration could involve open-ended natural language generation and quantitative evaluations of how these descriptions aid human users in understanding model decisions.

Summary updated

BibTeX
@misc{lin2019visualizing,
  author = {Tsung-Yu Lin and Mikayla Timm and Chenyun Wu and Subhransu Maji},
  title = {{Visualizing and Describing Fine-grained Categories as Textures}},
  year = {2019},
  eprint = {1907.05288},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.05288},
}
Figure