Introduction
In e-commerce, accurately interpreting user intent is a significant challenge due to the informal and often messy nature of search queries. A query like "MK tote for womans" requires a search engine to perform two critical tasks to surface relevant results: Named Entity Recognition (NER) to identify "MK" as a brand and "tote" as a product type, and Attribute Value Normalization (AVN) to map these surface forms to canonical values like "Michael Kors" and "Handbag," while correcting typos like "womans."
Most existing research treats NER and AVN as separate problems, often neglecting the normalization step or relying on expensive, manually labeled datasets. While user click logs provide a vast source of "weak labels," this data is frequently noisy and incomplete. QUEACO (Query Attribute Value Contraction) addresses these issues with a unified framework that leverages meta-learning to denoise weak labels and behavioral mapping for robust normalization.
The QUEACO Framework
QUEACO introduces a two-stage approach designed to maximize the utility of large-scale weakly-labeled data while maintaining high precision through a small set of clean, human-annotated data.
1. NER Phase: Meta-Learning Teacher-Student Network
To mitigate the noise inherent in click-based weak labels, QUEACO employs a DistilmBERT-based teacher-student framework. Unlike traditional self-training, this model uses a dynamic meta-learning loop:
- The Teacher: Initially trained on "strong" (human-labeled) data, the teacher generates pseudo-labels for the massive weakly-labeled dataset.
- The Student: Learns from these pseudo-labels to capture the breadth of the data.
- The Feedback Loop: The teacher is dynamically adapted based on the student's performance on a clean validation set. If the student's accuracy on strong labels degrades, the teacher adjusts its pseudo-labeling strategy. This prevents "confirmation bias," where the model reinforces errors found in the noisy weak labels.
2. AVN Phase: Behavioral Mapping
For normalization, QUEACO utilizes the "wisdom of the crowd" by building statistical mappings from user behavior. If users searching for "MK" consistently click on products categorized under "Michael Kors," the system learns this association. To resolve ambiguities—such as "Apple" referring to a fruit versus a technology brand—the model uses the predicted product type from the NER phase as context to disambiguate the canonical mapping.
Experimental Evaluation
The framework was evaluated using a massive real-world dataset from a global e-commerce platform, comprising ~677K strongly-labeled queries across 12 languages and ~17M weakly-labeled queries across 8 languages. The weak labels were generated by matching query terms to the attributes of products that users actually clicked on.
Key Insights
- Weak Label Limitations: Analysis revealed that string-matched weak labels have high precision but poor recall (~48%), often missing entities when query wording deviates from the product database.
- Model Sensitivity: Powerful models like BERT are more susceptible to overfitting on noisy data. The dynamic feedback loop is essential for these models to benefit from the scale of weak data without being led astray by its inaccuracies.
Results
QUEACO demonstrated superior performance across multiple metrics and real-world scenarios:
- NER Accuracy: The model achieved a span-level F1 score of 75.38, outperforming the best weakly-supervised baselines (e.g., BOND) and standard supervised DistilmBERT.
- Low-Resource Success: Significant gains were observed in data-scarce languages, such as a +3.76% F1 boost in Portuguese.
- Online Impact: In live A/B testing for product reranking, QUEACO improved the NDCG@16 (ranking quality) by 0.36% across four countries.
- Crowdsourced Precision: Human evaluation of the end-to-end system confirmed an overall precision of 97%.
Conclusion
QUEACO provides a robust solution for query attribute extraction by effectively "borrowing" knowledge from noisy behavioral data. While the model excels in many areas, performance remains a challenge for extremely rare "long-tail" queries and languages with virtually no weakly-labeled data. Future work will explore deeper contextual integration and the application of this meta-learning framework to other tasks like query rewriting.
Summary updated