mlsanityData to 7 Oct 2026

Don't Shoot The Breeze: Topic Continuity Model Using Nonlinear Naive Bayes With Attention

arXiv 2602.09312 ↗First posted 10 Feb 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Utilizing Large Language Models (LLM) as chatbots in diverse business scenarios often presents the challenge of maintaining topic continuity. Abrupt shifts in topics can lead to poor user experiences and inefficient utilization of computational resources. In this paper, we present a topic continuity model aimed at assessing whether a response aligns with the initial conversation topic. Our model is built upon the expansion of the corresponding natural language understanding (NLU) model into quantifiable terms using a Naive Bayes approach. Subsequently, we have introduced an attention mechanism and logarithmic nonlinearity to enhance its capability to capture topic continuity. This approach allows us to convert the NLU model into an interpretable analytical formula. In contrast to many NLU models constrained by token limits, our proposed model can seamlessly handle conversations of any length with linear time complexity. Furthermore, the attention mechanism significantly improves the model's ability to identify topic continuity in complex conversations. According to our experiments, our model consistently outperforms traditional methods, particularly in handling lengthy and intricate conversations. This unique capability offers us an opportunity to ensure the responsible and interpretable use of LLMs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 10 Feb 2026.

Builds on

15 of 23 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  5. 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
  6. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  7. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
  8. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 189
  9. 2023Planning with Large Language Models for Code Generationcited by 179
  10. 2020Natural Language Processing Advancements By Deep Learning: A Surveycited by 50
  11. 2023PPTC Benchmark: Evaluating Large Language Models for PowerPoint Task Completioncited by 30
  12. 2021NSP-BERT: A Prompt-based Few-Shot Learner Through an Original Pre-training Task--Next Sentence Predictioncited by 23
3 more
  1. 2024Universal Model in Online Customer Servicecited by 3
  2. 2024Uncovering Customer Issues through Topological Natural Language Analysiscited by 2
  3. 2024Teacher-Student Learning on Complexity in Intelligent Routingcited by 1

Built on by

Not cited yet.