Abstract
Fine-grained image classification requires distinguishing between visually similar categories, such as specific storefront types or beverage brands. While visual features provide a foundation, they often lack the discriminative power to separate classes with nearly identical structures. This paper introduces a multimodal framework that integrates scene text by encoding its morphological structure using Fisher Vectors of Pyramidal Histogram of Characters (PHOC) descriptors. By focusing on the "spelling" rather than just the semantic meaning of words, the model achieves state-of-the-art performance on challenging benchmarks like the Con-Text and Drink Bottle datasets, demonstrating robustness to OCR errors and out-of-vocabulary terms.
Introduction
The task of fine-grained classification—identifying specific sub-categories like "Pizzeria" vs. "Cafe"—is notoriously difficult because objects often share the same global shape, color, and texture. In many real-world scenarios, the most reliable signal is the text present in the scene (e.g., brand names or signs).
Previous attempts to incorporate textual information often relied on semantic embeddings like Word2Vec. However, these methods falter when encountering brand names, acronyms, or OCR noise, as they lack pre-defined vectors for such specific strings. This research addresses these limitations by proposing a "dictionary-free" approach that treats text as a structural pattern of characters, capturing the morphology of words to provide a more robust discriminative cue.
Methodology
The proposed framework utilizes a dual-branch architecture to fuse visual and textual information:
- Visual Branch: A ResNet-152 backbone extracts global visual features ($V_f$) from the input image.
- Textual Branch: This branch focuses on the structural representation of scene text. First, the model extracts PHOC (Pyramidal Histogram of Characters) descriptors for detected word regions. PHOC encodes the presence and spatial distribution of characters within a word. These descriptors are reduced via PCA and then aggregated into a fixed-length Fisher Vector (FV) using a Gaussian Mixture Model (GMM). This process effectively creates a "bag of morphological words" representation.
- Multimodal Fusion: A soft-attention mechanism weights the textual features based on the visual context, allowing the model to prioritize text that is most relevant to the visual scene (e.g., focusing on label text when a bottle is detected).
Key Insights: Morphology over Semantics
A central finding of this work is that for fine-grained tasks, the morphology (spelling) of a word is often more useful than its semantics (meaning). Semantic models might group "Pepsi" and "Coke" as generic "sodas," whereas a morphological model recognizes them as distinct character sequences.
Furthermore, the use of Fisher Vectors makes the system inherently robust to OCR errors. Because the encoding clusters similar character distributions, a minor misspelling (e.g., "BAKRY" instead of "BAKERY") will still map to a similar region in the feature space.
Experimental Results
The model was evaluated on the Con-Text (storefronts) and Drink Bottle datasets.
- Classification: The model achieved 80.2% accuracy on Con-Text and 77.4% on Drink Bottles, setting new state-of-the-art benchmarks.
- Retrieval: In image retrieval tasks, the model reached a mean Average Precision (mAP) of 64.52% (Con-Text) and 62.91% (Drink Bottles).
- Ablation: Comparisons showed that Fisher Vectors of PHOCs significantly outperformed standard text recognizers paired with semantic embeddings (GloVe/FastText), which only achieved ~34-45% mAP.
Conclusion
By shifting the focus from what text means to how it is structured, this framework provides a powerful tool for fine-grained image analysis. The combination of local pooling via Fisher Vectors and visual attention allows for a robust, dictionary-free representation of scene text. Future work may involve optimizing the high dimensionality of Fisher Vectors and applying these morphological features to other domains like Visual Question Answering.
Summary updated