Transfer Learning for Context-Aware Question Matching in Information-seeking Conversations in E-commerce

Minghui Qiu, Yang Liu, Feng Ji, Wei Zhou, Jun Huang, Haiqing Chen, W. Bruce Croft, Wei Lin

Introduction

In the domain of e-commerce, intelligent chatbots like Alibaba’s AliMe Assist must balance two competing requirements: deep context awareness and high industrial-scale efficiency. With approximately 75% of customer queries being multi-turn, understanding conversation history is vital. While state-of-the-art models like the Sequential Matching Network (SMN) provide high accuracy, their reliance on Recurrent Neural Networks (RNNs) introduces significant computational overhead, making real-time serving for millions of users challenging. Furthermore, specialized e-commerce domains often suffer from a lack of large-scale human-annotated data.

The MT-hCNN Architecture

To address the efficiency bottleneck, we propose the Multi-Turn hybrid CNN (MT-hCNN). This architecture replaces sequential RNN layers with a purely convolutional approach, enabling massive parallelization. The "hybrid" nature of the model stems from two distinct matching strategies:

  1. Sentence Encoding (SE): A CNN generates vector representations for both the utterance and the candidate response, facilitating a global semantic comparison.
  2. Sentence Interaction (SI): An interaction matrix is constructed via dot products between all word pairs, capturing fine-grained local matching patterns.
The MT-hCNN architecture combines sentence encoding and interaction views through a purely convolutional pipeline.

These two views are concatenated and processed by a final 2D-CNN to aggregate context across multiple turns. This design maintains high accuracy while significantly reducing latency.

Adversarial Transfer Learning

To mitigate data scarcity in niche domains, we employ an adversarial transfer learning framework. This setup leverages a resource-rich source domain (e.g., unlabelled click logs) to improve performance on a resource-poor target domain (e.g., human-annotated data).

The framework utilizes an adversarial loss ($L_a$) to extract domain-invariant features—patterns that generalize across different datasets. Simultaneously, domain-specific discriminators ($L_s, L_t$) ensure the model retains nuances unique to the source or target environments. This balance allows the model to learn the core logic of conversation matching even with limited labeled data.

Experimental Results

The MT-hCNN was evaluated against several baselines, including ARC-I, ARC-II, and the state-of-the-art SMN, using the Ubuntu Dialog Corpus (UDC) and a proprietary AliMe dataset.

Performance comparison across UDC and AliMeData. MT-hCNN achieves state-of-the-art accuracy with significantly lower inference time.

As shown in the results, MT-hCNN achieves a Recall@1 (R@1) of 0.5978 on the UDC, slightly outperforming SMN (0.5948). Crucially, the inference time is reduced by approximately 60% (from 64ms to 24ms on UDC). On the AliMe dataset, the model demonstrates even more significant gains in both accuracy and efficiency.

Real-world Deployment and Impact

The model was deployed in a live A/B test on the AliMe Assist chatbot. Over a three-day period, MT-hCNN improved the Click-Through Rate (CTR) by 5% to 10% compared to the existing online model. Furthermore, the system demonstrated high throughput, supporting a peak of 40 Queries Per Second (QPS) on modest hardware (2 cores, 4GB RAM), confirming its suitability for large-scale industrial applications.

Conclusion

MT-hCNN demonstrates that the sequential nature of RNNs is not a prerequisite for effective multi-turn matching. By utilizing a hybrid 2D-CNN architecture and adversarial transfer learning, we achieve a model that is both more efficient and more accurate than previous benchmarks. Future work will explore the integration of these efficient structures with generative models and advanced attention mechanisms.

Summary updated

BibTeX
@inproceedings{qiu2018transfer,
  author = {Minghui Qiu and Yang Liu and Feng Ji and Wei Zhou and Jun Huang and Haiqing Chen and W. Bruce Croft and Wei Lin},
  title = {{Transfer Learning for Context-Aware Question Matching in Information-seeking Conversations in E-commerce}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=Hy4MInxu-B},
}
Figure