Privacy-Preserving Self-Learning Chatbot with Federated Intelligence
摘要
Open-domain chatbots leveraging Transformer models like GPT-3 and Transformer-XL have demonstrated impressive text generation capabilities. However, their industrial applications extend beyond text generation, requiring continuous learning from user feedback while preserving data privacy. This study explores the integration of Federated Learning (FL) into chatbot training, enabling self-learning from user interactions without compromising personally identifiable information (PII). We implement intent classification models using both traditional centralized learning and FL-based approaches, comparing their effectiveness. Additionally, we propose a Self-Feeding mechanism to address post-deployment data drift and mitigate training bias. A comprehensive chatbot architecture integrating FL and self-learning is presented, along with an evaluation of various neural network structures for intent classification. The results demonstrate the viability of privacy-preserving, continuously learning chatbots. Future work aims to extend FL’s application from Natural Language Understanding (NLU) to Natural Language Generation (NLG), enhancing chatbot adaptability and performance.