[Paper Review] E-BERT: A Phrase and Product Knowledge Enhanced Language Model for E-commerce
E-BERT is a domain-adapted BERT model for e-commerce that enhances performance through phrase-level and product-level knowledge integration. It uses Adaptive Hybrid Masking to dynamically learn word and phrase representations and Neighbor Product Reconstruction with a denoising cross-attention layer to leverage product associations, significantly improving downstream tasks like product classification and review question answering.
Pre-trained language models such as BERT have achieved great success in a broad range of natural language processing tasks. However, BERT cannot well support E-commerce related tasks due to the lack of two levels of domain knowledge, i.e., phrase-level and product-level. On one hand, many E-commerce tasks require an accurate understanding of domain phrases, whereas such fine-grained phrase-level knowledge is not explicitly modeled by BERT's training objective. On the other hand, product-level knowledge like product associations can enhance the language modeling of E-commerce, but they are not factual knowledge thus using them indiscriminately may introduce noise. To tackle the problem, we propose a unified pre-training framework, namely, E-BERT. Specifically, to preserve phrase-level knowledge, we introduce Adaptive Hybrid Masking, which allows the model to adaptively switch from learning preliminary word knowledge to learning complex phrases, based on the fitting progress of two modes. To utilize product-level knowledge, we introduce Neighbor Product Reconstruction, which trains E-BERT to predict a product's associated neighbors with a denoising cross attention layer. Our investigation reveals promising results in four downstream tasks, i.e., review-based question answering, aspect extraction, aspect sentiment classification, and product classification.
Motivation & Objective
- Address the limitation of BERT in understanding fine-grained e-commerce domain phrases due to its word-level masking objective.
- Overcome the inefficiency of co-occurrence-based semantic learning in e-commerce by leveraging product association graphs.
- Reduce noise from product-level knowledge by introducing a de-noising mechanism in knowledge injection.
- Develop a unified pre-training framework that progressively learns both word-level and phrase-level representations.
- Improve performance on e-commerce-specific NLP tasks by integrating high-quality domain-specific phrase pools and product graphs.
Proposed method
- Introduce Adaptive Hybrid Masking (AHM), which dynamically switches between word masking and phrase masking modes based on training loss feedback to balance learning of basic and complex linguistic units.
- Construct a high-quality E-commerce phrase pool from domain-specific corpora to ensure masking targets are meaningful and domain-relevant, avoiding arbitrary phrase chunking.
- Design Neighbor Product Reconstruction (NPR), a pre-training task where E-BERT reconstructs associated products using a central product’s content and a de-noising cross-attention layer.
- Use a denoising cross-attention layer to weigh the relevance of different content tokens when reconstructing neighbor products, minimizing noise from low-confidence associations.
- Pre-train E-BERT on a large-scale e-commerce corpus, a curated phrase pool, and a product association graph using AHM and NPR as joint objectives.
- Fine-tune the resulting E-BERT model on downstream e-commerce tasks such as review-based question answering, aspect extraction, sentiment classification, and product classification.
Experimental results
Research questions
- RQ1Can adaptive hybrid masking improve the learning of domain-specific phrases in e-commerce BERT models compared to standard or fixed masking strategies?
- RQ2To what extent does incorporating product association graphs enhance semantic representation in e-commerce language models?
- RQ3Does the use of a denoising cross-attention mechanism in neighbor product reconstruction effectively reduce noise while preserving useful semantic signals?
- RQ4How do phrase-level and product-level knowledge jointly affect performance across diverse e-commerce NLP tasks?
- RQ5Does the integration of domain-specific knowledge via E-BERT consistently improve performance over standard BERT and other domain-adaptive models on e-commerce benchmarks?
Key findings
- E-BERT significantly outperforms standard BERT and several domain-adaptive models on four downstream e-commerce tasks, demonstrating the effectiveness of integrated domain knowledge.
- Adaptive Hybrid Masking leads to consistent performance gains across all evaluated tasks, indicating that joint learning of word and phrase representations enhances model understanding.
- Neighbor Product Reconstruction improves performance on product classification and review-based question answering, showing that product-level knowledge boosts tasks requiring broader semantic inference.
- The performance of aspect extraction and sentiment classification slightly deteriorates after incorporating NPR, suggesting that product-level knowledge may not be beneficial or could be noisy for aspect-focused tasks.
- Cross-attention visualization confirms that E-BERT learns to align semantically correlated terms across associated products, such as (Slicer, Chopper) and (Display, Monitor), validating the model's ability to transfer knowledge across product content.
- The high-quality E-commerce phrase pool enables more accurate phrase representation learning than simple phrase chunking, as evidenced by improved aspect extraction and sentiment classification results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.