Introduction
In the modern e-commerce landscape, high-quality structured data—such as brand, material, and color—is essential for effective search indexing and personalized recommendations. Traditionally, obtaining this data relies on sellers manually inputting detailed descriptions, a process that is both labor-intensive and prone to inaccuracies. While automated attribute extraction exists, it faces two primary hurdles: the "modality gap," where general vision models struggle with granular product details, and the "zero-shot challenge," where models fail to identify new attribute values not present in their training data.
Researchers from eBay and Virginia Tech have introduced ViOC-AG (Visual OCR and product Captions enhanced zero-shot cross-modal model), a framework designed to extract these attributes directly from product images without requiring textual input from the seller.
Methodology
The ViOC-AG architecture leverages the shared latent space of CLIP to bridge the gap between visual and textual information. The framework is divided into two phases: text-only training and zero-shot inference.
Text-Only Training
To address the modality gap, the authors employ a novel training strategy. Instead of training on image-text pairs, they train a decoder (based on GPT-2) using only text embeddings from a frozen CLIP text encoder. By learning to map these embeddings back to structured attribute strings, the decoder becomes capable of interpreting image embeddings during inference, as CLIP ensures these embeddings reside in the same space.
Zero-Shot Inference and Correction
During inference, the model processes a product image through a frozen CLIP image encoder. The resulting embedding is passed through a projector to the pre-trained text decoder. To enhance accuracy and handle unseen values, a Correction Module is integrated:
- OCR (Optical Character Recognition): Extracts text directly from product packaging to identify brands or technical specifications.
- LLM-based VQA: Utilizes a frozen BLIP-2 model to answer specific visual questions (e.g., "What is the color?") to verify the decoder's output.
- Fusion Logic: A similarity-based algorithm determines whether to retain the decoder's initial prediction or replace it with evidence from the OCR or VQA modules.
Experimental Evaluation
The model was evaluated using the MAVE (Multi-source Attribute Value Extraction) dataset. To rigorously test zero-shot capabilities, the researchers reconstructed the dataset to ensure no overlap between attribute values in the training and testing sets.
Results
ViOC-AG demonstrated significant improvements over general-purpose vision-language models. In terms of "80% Accuracy" (matching 80% of ground truth tokens), ViOC-AG achieved 54.82%, outperforming BLIP-2 (45.85%) and InstructBLIP (40.00%). The model showed particular strength in categories with high textual or visual distinctness, such as Software (85.71%) and Grocery (66.22%), while facing more difficulty with ambiguous Industrial products.
Conclusion and Future Work
ViOC-AG represents a significant step toward automated, image-based product cataloging. By combining CLIP’s cross-modal capabilities with targeted OCR and VQA corrections, it effectively addresses the zero-shot extraction problem. However, limitations remain regarding non-visual attributes (e.g., flavor or scent) and subjective qualities like "style." Future research may focus on category-specific decoders to better capture the nuances of diverse product types.
Summary updated