Abstract
Query Attribute Understanding (QAU) is a critical task in e-commerce search, requiring the identification and linking of product attributes within short, noisy user queries. Traditional approaches often rely on stacked pipelines that suffer from error propagation and lack contextual depth. We present AVEN-GR, an end-to-end framework that jointly performs mention detection, attribute classification, and entity disambiguation. By leveraging Product Graphs to enrich entity representations through a graph-to-text embedding strategy, AVEN-GR effectively handles "open-world" scenarios and outperforms traditional baselines in both synthetic and real-world datasets.
Introduction: The Challenge of E-Commerce Search
When a user searches for "M2 laptop," they expect results for Apple MacBooks. For a human, "M2" is clearly a processor; for a machine, this is a complex Query Attribute Understanding (QAU) task. Traditional systems typically decompose this into two sequential steps: Named Entity Recognition (NER) to identify the span "M2" as a processor, and Entity Linking (NEL) to connect it to a specific database entry.
This "stacked" approach has significant drawbacks. First, error propagation means that if the NER step fails to identify a mention, the linker cannot recover. Second, e-commerce queries are often context-poor, lacking the grammatical structure of natural language, which makes it difficult for models to extract meaning without external knowledge.
Methods: A Joint Learning Framework
AVEN-GR (Attribute Value Extraction and Normalization using product GRaphs) addresses these issues using a multi-task learning architecture. It utilizes a shared RoBERTa-based backbone across three specialized sub-modules:
- Mention Detection: Identifies candidate text spans (e.g., "chocolate brown") likely to be attributes.
- Attribute Classification: Categorizes the identified span (e.g., "color" vs. "flavor").
- Entity Disambiguation: Links the span to a specific entry in a Knowledge Base.
The Secret Sauce: Product Graphs (PG)
The "GR" in AVEN-GR highlights the integration of Product Graphs. To provide the model with richer context, the authors represent products as nodes in a graph connected to their various attributes. They employ a "graph-to-text" approach: relationships in the entity's neighborhood are converted into natural language sentences using predefined templates (e.g., "iPhone produces phone"). These sentences are then embedded using RoBERTa to create context-aware representations of entities before they are matched against query spans.
Datasets and Evaluation
The model was evaluated on two distinct datasets:
- Synthetic Data: Derived from the Amazon Berkeley Objects (ABO) dataset. A knowledge graph was constructed from these objects, and queries were generated by treating product attributes as a "bag of words."
- Real User Queries: Anonymized Amazon search logs were used to test real-world performance. To overcome the lack of manual labels, a "weak supervision" heuristic was applied: query terms were mapped to product attributes if a user purchased a product after searching for those terms.
Key Insights and Results
AVEN-GR demonstrates several advantages over traditional "stacked" baselines:
- Inductive Transfer: Training the detector and linker jointly allows the model to share knowledge across tasks, improving overall linking accuracy.
- Open-World Reasoning: The model can predict attribute types (e.g., "brand") for entities not present in the knowledge base, making it robust to new products.
- Search Space Reduction: By conditioning entity disambiguation on the predicted attribute type, the model avoids confusing similar terms across different categories (e.g., "Apple" the brand vs. "Apple" the fruit).
In terms of performance, AVEN-GR achieved 76.3% entity accuracy on synthetic data, significantly higher than the 64.3% achieved by a standard NER+Nearest Neighbor approach. On real-world user queries, the model reached 93.9% entity accuracy and maintained a high accuracy of 89.7% for "unseen" attributes.
Conclusion and Future Work
While AVEN-GR offers significant improvements, it faces challenges regarding computational overhead due to its span-based evaluation method. Additionally, its performance is dependent on the quality and freshness of the underlying Product Graph. Future research may explore techniques like GradNorm to optimize multi-task loss weighting and test the framework on larger, more diverse datasets to further validate its generalizability.
Summary updated