Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Topic-aware chatbot using Recurrent Neural Networks and Nonnegative Matrix Factorization (1912.00315v2)

Published 1 Dec 2019 in cs.CL, cs.LG, math.OC, and stat.ML

Abstract: We propose a novel model for a topic-aware chatbot by combining the traditional Recurrent Neural Network (RNN) encoder-decoder model with a topic attention layer based on Nonnegative Matrix Factorization (NMF). After learning topic vectors from an auxiliary text corpus via NMF, the decoder is trained so that it is more likely to sample response words from the most correlated topic vectors. One of the main advantages in our architecture is that the user can easily switch the NMF-learned topic vectors so that the chatbot obtains desired topic-awareness. We demonstrate our model by training on a single conversational data set which is then augmented with topic matrices learned from different auxiliary data sets. We show that our topic-aware chatbot not only outperforms the non-topic counterpart, but also that each topic-aware model qualitatively and contextually gives the most relevant answer depending on the topic of question.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (11)
  1. Yuchen Guo (70 papers)
  2. Nicholas Hanoian (1 paper)
  3. Zhexiao Lin (9 papers)
  4. Nicholas Liskij (1 paper)
  5. Hanbaek Lyu (47 papers)
  6. Deanna Needell (155 papers)
  7. Jiahao Qu (2 papers)
  8. Henry Sojico (1 paper)
  9. Yuliang Wang (41 papers)
  10. Zhe Xiong (4 papers)
  11. Zhenhong Zou (4 papers)
Citations (1)