Abstract
General-purpose vision-language models (VLP) often struggle in the E-commerce domain because they treat entire images as single semantic entities. In complex retail scenes, specific products are often obscured by noisy backgrounds, logos, or UI elements. This paper introduces ECLIP (E-commerce CLIP), an instance-centric pretraining paradigm designed to ground specific products within cluttered images. By utilizing a specialized instance decoder and learnable queries, ECLIP learns to isolate product-level features without requiring manual bounding box annotations. Pretrained on a massive dataset of 100 million E-commerce image-text pairs, ECLIP demonstrates superior performance in zero-shot classification, retrieval, and visual grounding compared to state-of-the-art models like CLIP and BLIP.
Introduction
In the general domain, Vision-Language Pretraining (VLP) models like CLIP benefit from images where the majority of pixels are semantically relevant to the caption (e.g., a photo of a dog in a park). However, E-commerce imagery presents a unique challenge: a specific product, such as a "coffee machine," might occupy only a small fraction of a busy kitchen scene or a promotional advertisement.
Existing VLP models typically learn image-level representations, which often leads to "semantic confusion" when applied to retail data. These models may inadvertently align text with background elements or branding rather than the product itself. Furthermore, E-commerce data is characterized by multi-source diversity, where a single product is represented through professional studio shots, customer review photos, and video frames. To address these challenges, we propose ECLIP, a model designed for instance-level alignment—finding the specific "needle" (the product) in the "haystack" (the image) through an unsupervised, instance-centric approach.
Methodology
ECLIP moves beyond the standard dual-encoder architecture by introducing an Instance Decoder and novel pretraining objectives.
Instance-Centric Architecture
Instead of relying on a global pooling of visual features, ECLIP employs a decoder with a set of learnable instance queries. These queries interact with visual features via Slot-Attention, a mechanism that forces each query to compete for and attend to specific regions of the image. This process effectively performs a form of online clustering, where queries act as cluster centroids that "grab" relevant visual tokens, naturally separating the foreground product from the background.
To guide this process, the queries are conditioned on multi-modal prompts. These prompts—which can be text descriptions or alternative images of the same product—allow the model to adaptively "look" for the specific instance indicated by the prompt.
Pretraining Objectives
ECLIP is trained using two primary pretext tasks that leverage the inherent structure of E-commerce data:
- Inter-Product Learning: This task aligns representations of the same product across different sources (e.g., a professional ad vs. a blurry customer photo) while pushing away representations of different products. This forces the model to ignore changing backgrounds and focus on invariant product features.
- Intra-Product Learning: This objective ensures that only the "positive" query (the one matching the actual product description) aggregates the correct foreground semantics, while "negative" queries are discouraged from capturing the same information.
Experimental Setup
Datasets
The model was pretrained on a massive, uncurated dataset of 100 million image-text pairs covering 15 million unique products across 9,000 categories. For evaluation, the authors utilized several key benchmarks:
- M5Product: A large-scale public dataset (1.1M images) for zero-shot classification and retrieval.
- Product1M: A dataset focused on instance-level product retrieval.
- Grounding Dataset: A manually annotated set of 450,000 images used to evaluate the model's ability to localize products.
Key Results and Insights
ECLIP demonstrates strong transferability to real-world commerce tasks without the need for fine-tuning.
Zero-Shot Performance
On the M5Product dataset, ECLIP achieved a 44.8% accuracy in zero-shot classification, significantly outperforming the original CLIP (37.2%) and BLIP (39.3%). In fine-grained retrieval tasks—where the model must identify the exact same product rather than just the category—ECLIP reached 45.0% R@1, a substantial improvement over BLIP’s 35.6%.
Visual Grounding and Localization
One of the most remarkable emergent properties of ECLIP is its ability to locate products despite never being trained on bounding box data. At a strict Intersection over Union (IoU) threshold of 0.7, ECLIP achieved 89.6% accuracy in visual grounding, compared to 75.1% for BLIP. This suggests that instance-centric pretraining effectively teaches the model where objects are located simply by learning to distinguish them from their backgrounds.
Qualitative Analysis
T-SNE visualizations of the embedding space reveal that ECLIP creates much tighter, more distinct semantic clusters for product categories than CLIP. While CLIP's clusters often overlap due to background noise, ECLIP’s representations are more focused on the product instances themselves.
Conclusion and Future Work
ECLIP demonstrates that instance-level representation is critical for the E-commerce domain. By using multi-source data as a "free" supervision signal and employing a query-based decoder, the model achieves state-of-the-art performance in zero-shot tasks and visual grounding.
Future research will focus on scaling the number of instance queries more efficiently, as increasing queries currently increases GPU memory load. Additionally, the authors plan to explore more sophisticated negative mining strategies for the Intra-Product learning task to further refine the model's ability to distinguish products from complex backgrounds.
Summary updated