Abstract
Retrieval-based Question Answering (QA) systems are critical for e-commerce platforms like AliExpress, where they must accurately identify paraphrases and perform natural language inference in real-time. However, deploying these systems faces two primary challenges: data scarcity in specific product domains and the high computational cost of state-of-the-art models. This paper introduces a hybrid CNN (hCNN) architecture for efficient sentence interaction and the Domain Relationship Specific-Shared (DRSS) framework for effective transfer learning. By explicitly modeling domain relationships and utilizing adversarial training, the proposed approach significantly improves accuracy in low-resource scenarios while maintaining industrial-grade efficiency, achieving an 18.8% precision gain in production environments.
Introduction
Building an effective retrieval-based QA system—the engine behind modern e-commerce chatbots—relies heavily on Paraphrase Identification (PI) and Natural Language Inference (NLI). The system must determine if a user's query is a restatement of a question already present in its knowledge base to provide a relevant answer.
Industrial deployment of these systems is hindered by two hurdles. First, Data Scarcity: while general data may be abundant, specific categories like "Electronics" or "Clothing" often lack the labeled data required for robust training. Second, Inference Speed: high-performance models often rely on complex attention mechanisms that struggle to meet the high Queries Per Second (QPS) requirements of global platforms.
Methods
1. The hCNN (Hybrid CNN) Base Model
To address the efficiency gap, the researchers developed a hybrid Convolutional Neural Network (hCNN). Unlike slow recurrent models (LSTMs), hCNN combines two complementary approaches:
- Sentence Encoding: A modified BCNN learns global representations for individual sentences.
- Sentence Interaction: A pyramid-style architecture directly models word-by-word interactions between sentence pairs.
By merging these, the model captures both high-level semantics and fine-grained word overlaps at a speed 6 to 11 times faster than traditional recurrent models.
2. The DRSS Transfer Learning Framework
The Domain Relationship Specific-Shared (DRSS) framework addresses data scarcity by moving beyond simple weight sharing. It introduces two key innovations:
- Modeling Domain Relationships: The framework uses a covariance matrix ($\Omega$) to explicitly learn how the weights of source and target domains relate. This encourages shared features to be similar across domains while allowing domain-specific features to remain distinct.
- Adversarial Training: A domain discriminator tries to identify the source of the data. The shared network is trained to "fool" this discriminator, ensuring that shared features are truly universal and free of domain-specific noise.
Datasets and Evaluation
The system was evaluated on both public benchmarks and proprietary e-commerce data:
- Paraphrase Identification (PI): The Quora Question Pairs dataset (400k+ pairs) served as the source, with a newly curated AliExpress E-commerce dataset (45k annotated pairs) as the target.
- Natural Language Inference (NLI): The SNLI dataset was used as the source, with the MultiNLI dataset (covering Fiction, Travel, Slate, Telephone, and Government) providing the target domains.
Key Results and Impact
- Industrial Efficiency: The hCNN model processes approximately 233 question pairs per second on a standard CPU, comfortably meeting industrial QPS demands.
- Superior Accuracy: The full DRSS-Adv model outperformed standard fine-tuning and basic shared-weight models across all five MultiNLI domains and the AliExpress dataset.
- Real-World Deployment: When integrated into the AliExpress chatbot platform "Eva," the system delivered an 18.8% improvement in Precision@1 over the previous production system.
Conclusion
The research demonstrates that for industrial QA, the choice of architecture must balance accuracy with speed. By combining a high-speed hybrid CNN with a transfer learning framework that explicitly models domain relationships, the authors provide a viable path for deploying high-performance AI in data-scarce, high-traffic e-commerce environments. Future work will explore applying these relationship constraints deeper into the feature-extraction layers and expanding the system's NLI capabilities.
Summary updated