AVA: A Financial Service Chatbot Based on Deep Bidirectional Transformers

Yu, Shi and Chen, Yuxin and Zaidi, Hussain (2021) AVA: A Financial Service Chatbot Based on Deep Bidirectional Transformers. Frontiers in Applied Mathematics and Statistics, 7. ISSN 2297-4687

[thumbnail of pubmed-zip/versions/2/package-entries/fams-07-604842-r1/fams-07-604842.pdf] Text
pubmed-zip/versions/2/package-entries/fams-07-604842-r1/fams-07-604842.pdf - Published Version

Download (1MB)

Abstract

We develop a chatbot using deep bidirectional transformer (BERT) models to handle client questions in financial investment customer service. The bot can recognize 381 intents, decides when to say I don’t know, and escalate escalation/uncertain questions to human operators. Our main novel contribution is the discussion about the uncertainty measure for BERT, where three different approaches are systematically compared with real problems. We investigated two uncertainty metrics, information entropy and variance of dropout sampling, in BERT, followed by mixed-integer programming to optimize decision thresholds. Another novel contribution is the usage of BERT as a language model in automatic spelling correction. Inputs with accidental spelling errors can significantly decrease intent classification performance. The proposed approach combines probabilities from masked language model and word edit distances to find the best corrections for misspelled words. The chatbot and the entire conversational AI system are developed using open-source tools and deployed within our company’s intranet. The proposed approach can be useful for industries seeking similar in-house solutions in their specific business domains. We share all our code and a sample chatbot built on a public data set on GitHub.

Item Type: Article
Subjects: Euro Archives > Mathematical Science
Depositing User: Managing Editor
Date Deposited: 28 Feb 2023 08:08
Last Modified: 07 Jun 2024 09:30
URI: http://publish7promo.com/id/eprint/1208

Actions (login required)

View Item
View Item