TL;DR
This paper introduces K-PLUG, a novel pre-trained language model that explicitly injects domain-specific knowledge into both its encoder and decoder. By training on e-commerce data with specialized objectives, K-PLUG significantly improves performance on both natural language understanding and generation tasks within this domain, outperforming existing models.
What Problem Does This Paper Address?
Modern pre-trained language models (PLMs) like BERT and GPT have achieved remarkable success by learning general language patterns from vast amounts of text. However, they often lack the specific, nuanced knowledge required for specialized domains, such as e-commerce. This deficiency hinders their performance on tasks that rely on understanding product attributes, categories, and unique selling propositions. Existing methods for injecting knowledge into PLMs primarily focus on the encoder, leaving the decoder's generative capabilities less informed by this domain expertise. This paper aims to bridge this gap by developing a PLM that integrates domain-specific knowledge throughout both the understanding and generation processes.
Methods
The core of K-PLUG is a Transformer-based encoder-decoder architecture. What sets it apart are the five novel knowledge-aware self-supervised pre-training objectives designed to imbue the model with e-commerce specific knowledge. These objectives focus on:
- Knowledge-aware Masked Language Model (KMLM): Similar to BERT's MLM, but prioritizes masking tokens related to product attributes and unique selling propositions (USPs).
- Knowledge-aware Masked Sequence-to-Sequence (KMS2S): Extends the masked sequence-to-sequence objective to prioritize masking spans containing domain knowledge, crucial for generation tasks.
- Product Entity Aspect Boundary Detection (PEABD): A sequence labeling task to identify the boundaries of different product aspects within a description.
- Product Entity Category Classification (PECC): A classification task to assign products to their correct categories.
- Product Entity Aspect Summary Generation (PEASG): A generation task that trains the model to summarize individual product aspects.
These objectives collectively enable K-PLUG to learn from e-commerce knowledge bases, product aspects, categories, and USPs.
Datasets
The paper utilizes a large-scale Chinese e-commerce dataset comprising approximately 25 million product descriptions across 40 categories. Each description includes product aspects and their summaries. For downstream tasks, they use:
- MEPAVE dataset: For e-commerce Knowledge Base (KB) completion.
- Li et al. (2020) dataset: For abstractive product summarization.
- JDDC and ECD datasets: For multi-turn dialogue tasks.
Key Insights and Ideas
- Knowledge injection benefits both NLU and NLG: The paper demonstrates that explicitly incorporating domain knowledge isn't just for understanding (NLU) but also significantly boosts generative capabilities (NLG).
- Encoder-decoder knowledge integration is key: Unlike prior work focusing solely on the encoder, K-PLUG's success highlights the importance of infusing knowledge into both parts of the model for comprehensive performance.
- Task-specific pre-training objectives matter: The proposed knowledge-aware objectives, especially KMS2S for generation and PEABD/PEASG for aspect understanding, are crucial for capturing nuanced e-commerce information.
- Domain-specific data is a powerful amplifier: Training on e-commerce data (E-PLUG) significantly outperforms training on general data (C-PLUG), underscoring the value of domain relevance.
Key Results
K-PLUG achieves state-of-the-art (SOTA) results across all evaluated downstream tasks:
- E-commerce KB Completion: K-PLUG achieves an F1 score of 95.97%, significantly outperforming baselines like JAVE (84.78%) and M-JAVE (87.17%), and even outperforming E-PLUG by 2.51%.
- Abstractive Product Summarization: K-PLUG demonstrates strong performance, comparable to multimodal models, and significantly better than text-only baselines. For example, in the Home Applications category, it achieves an ROUGE-L F1 of 22.15%, outperforming Seq2seq (17.61%) and PG (21.11%).
- Multi-Turn Dialogue: K-PLUG also sets new SOTA on both retrieval-based and generative tasks, showing improved relevance and readability in human evaluations. For instance, on the JDDC dataset, it achieves an ROUGE-L F1 of 26.60%, surpassing BERT (23.62%).
Ablation studies show that removing any of the proposed pre-training objectives leads to performance degradation, with KMS2S being particularly vital for NLG tasks and PEABD/PEASG contributing significantly to abstractive summarization.
Limitations and Future Work
The authors acknowledge that their current work focuses solely on textual information and does not incorporate visual product data, which could further enhance performance, particularly in abstractive summarization. Future work could involve integrating multimodal information into K-PLUG. Additionally, while K-PLUG shows strong performance, exploring its application to other specialized domains beyond e-commerce would be a valuable next step.
Summary updated