A lightweight neural attention-based model for service chatbots.

阅读:3
作者:Suhaili Sinarwati Mohamad, Jambli Mohamad Nazim
The growing demand for efficient service chatbots has led to the development of various deep learning techniques, such as generative neural attention-based mechanisms. However, existing attention processes often face challenges in generating contextually relevant responses. This study introduces a lightweight neural attention mechanism designed to enhance the scalability of service chatbots by integrating a scalar function into the existing attention score computation. While inspired by scaling practices in transformer models, the proposed scalar is tailored to seq2seq architectures to optimize the alignment sequences, resulting in improved context relevance and reduced resource requirements. To validate its effectiveness, the proposed model was evaluated on a real-world Customer Support Twitter dataset. Experimental results demonstrate a +0.82 BLEU-4 improvement and a 28% reduction in training time per epoch over the baseline. Moreover, the model achieves the target validation loss two epochs earlier, indicating faster convergence and improved training stability. Further experiments investigated activation functions and weight initializers integrated into the proposed model to identify optimal configurations that optimize the model's performance. Comparative experimental results show that the proposed modifications significantly enhance response accuracy and contextual relevance. This lightweight attention mechanism addresses key limitations of existing attention mechanisms. Future work may extend this approach by combining it with transformer-based architectures to support broader sequence prediction tasks, including machine translation, recommender systems, and image captioning.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。