Introduction
In modern e-commerce, a significant "semantic gap" exists between how platforms organize inventory and how users actually shop. While systems are proficient at categorizing items into rigid hierarchies (e.g., "Home & Garden > Grills"), users often search based on specific goals, scenarios, or life events—such as "planning an outdoor barbecue" or "finding Christmas gifts for kids." Traditional Category-Property-Value (CPV) taxonomies struggle to bridge this divide, often returning literal but unhelpful results.
To address this, researchers from Alibaba and Shanghai Jiao Tong University developed AliCoCo (Alibaba E-commerce Cognitive Concept Net). Presented at SIGMOD '20, AliCoCo is a massive knowledge graph designed to represent the e-commerce world through the lens of human "concepts," mapping billions of products to millions of high-level shopping intents.
The AliCoCo Architecture
AliCoCo organizes knowledge into a four-layer structure that moves from abstract human needs down to individual products.
- E-commerce Concepts: These are high-level phrases representing complex shopping needs (e.g., "Keep Warm for Kids").
- Primitive Concepts: These serve as the atomic building blocks for the top layer. They are categorized into 20 distinct domains, such as Event, Location, Time, Function, and IP.
- Taxonomy: A formal hierarchy of classes that organizes primitive concepts into a logical structure.
- Items: The base layer consisting of the actual products available on the platform.
By separating "concepts" from "items," AliCoCo can represent relations like need (e.g., "Outdoor Barbecue" needs "Charcoal") even when the items belong to entirely different product categories.
Technical Innovations
Building a graph of this scale required several machine learning breakthroughs:
- Knowledge-Enhanced Classification: To filter out nonsensical phrases, the system uses a Wide & Deep model enhanced with external knowledge. By linking words to Wikipedia glosses, the model gains "common sense" context, helping it distinguish between valid concepts and incoherent word combinations.
- Fuzzy CRF (Conditional Random Fields): Concept tagging is often ambiguous. For instance, "village" might refer to a Style in one context and a Location in another. The Fuzzy CRF allows the model to handle these overlapping labels during training, improving tagging accuracy.
- Active Learning for Hierarchy Construction: To build the taxonomy efficiently, the researchers employed an "Uncertainty and High Confidence Sampling" (UCS) strategy. This approach prioritized manual labeling for the most ambiguous relations, reducing human effort by 35% while maintaining high precision.
Real-World Impact and Results
AliCoCo has been deployed at scale within Alibaba's Taobao platform, significantly improving how the system understands user intent.
Key performance metrics include:
- Scale: The graph contains over 5.2 million e-commerce concepts and 400 billion relations.
- Coverage: AliCoCo covers 75% of shopping needs identified in user queries, a massive jump from the 30% coverage of previous systems.
- Precision: The classification model achieved a precision of 0.935, outperforming standard deep learning baselines.
- User Experience: In production, the system reduced irrelevant search results by 4% and introduced "Concept Cards" (shown above) that suggest related items for specific scenarios, creating a more intuitive shopping experience.
Conclusion and Future Work
AliCoCo represents a shift from item-centric to intent-centric e-commerce. By bridging the semantic gap, it allows platforms to act more like a helpful shopping assistant than a simple database. Future iterations of AliCoCo aim to incorporate multi-modal data (such as product images) and mine "implicit" commonsense relations—such as the inherent link between "sunscreen" and "summer"—to further refine the system's cognitive capabilities.
Summary updated