Skip to main content
QUICK REVIEW

[Paper Review] NUBOT: Embedded Knowledge Graph With RASA Framework for Generating Semantic Intents Responses in Roman Urdu

Johar Shabbir, Muhammad Umair Arshad|arXiv (Cornell University)|Feb 20, 2021
Topic ModelingComputer Science32 references6 citations
TL;DR

This paper proposes NUBOT, a Roman Urdu chatbot framework integrating a knowledge graph with the RASA NLU and dialog management pipeline to improve intent classification and response generation. By leveraging LDA-based intent clustering and semantic knowledge embedding, the system achieves 96.7% F1-score in intent classification and 89.1% confidence in response generation, significantly outperforming baseline RASA and existing systems in low-resource language settings.

ABSTRACT

The understanding of the human language is quantified by identifying intents and entities. Even though classification methods that rely on labeled information are often used for the comprehension of language understanding, it is incredibly time consuming and tedious process to generate high propensity supervised datasets. In this paper, we present the generation of accurate intents for the corresponding Roman Urdu unstructured data and integrate this corpus in RASA NLU module for intent classification. We embed knowledge graph with RASA Framework to maintain the dialog history for semantic based natural language mechanism for chatbot communication. We compare results of our work with existing linguistic systems combined with semantic technologies. Minimum accuracy of intents generation is 64 percent of confidence and in the response generation part minimum accuracy is 82.1 percent and maximum accuracy gain is 96.7 percent. All the scores refers to log precision, recall, and f1 measure for each intents once summarized for all. Furthermore, it creates a confusion matrix represents that which intents are ambiguously recognized by approach.

Motivation & Objective

  • To address the scarcity of labeled training data for low-resource languages like Roman Urdu in NLP applications.
  • To improve intent classification and response generation accuracy in Roman Urdu using semantic technologies and automated data processing.
  • To reduce manual effort in creating training datasets by automating intent generation using AI and deep learning.
  • To enhance dialog management by embedding a knowledge graph that preserves context across conversations.
  • To develop a scalable, domain-flexible framework for semantic chatbot deployment in resource-constrained languages.

Proposed method

  • Employed LDA (Latent Dirichlet Allocation) to cluster unstructured Roman Urdu queries into meaningful intent clusters based on topic modeling.
  • Used NLP preprocessing steps including stopword removal and filtering of short/long queries before LDA application.
  • Integrated the resulting intent clusters into the RASA NLU pipeline for automated intent classification.
  • Embedded a domain-specific knowledge graph into the RASA Dialog Management Model (DMM) to maintain dialog history and context.
  • Trained and evaluated the system using RASA’s story-based dialogue learning and response generation framework.
  • Evaluated performance using precision, recall, F1-score, and confidence scores across intent and response generation tasks.

Experimental results

Research questions

  • RQ1Can LDA-based topic modeling effectively automate intent generation for low-resource Roman Urdu text without extensive manual annotation?
  • RQ2How does integrating a knowledge graph into the RASA DMM improve context-aware response generation in Roman Urdu chatbots?
  • RQ3What is the performance gain of the proposed NUBOT framework over baseline RASA and existing systems in terms of F1-score and confidence in intent and response classification?
  • RQ4To what extent can semantic knowledge embedding reduce ambiguity in intent recognition for Roman Urdu utterances?
  • RQ5Can the framework handle out-of-scope queries robustly while maintaining high response confidence?

Key findings

  • The NUBOT framework achieved a maximum F1-score of 96.7% in intent classification, significantly outperforming the baseline RASA framework (82.5%) and TCNGD (50.2%).
  • Intent generation confidence reached 85%, with a peak confidence of 96.7% across 130 unique intent samples.
  • Response generation achieved a minimum F1-score of 82.1% and a maximum confidence of 89.1%, indicating high reliability in response selection.
  • The confusion matrix revealed a precision of 85% and an F1-score of 96.7% for intent prediction, indicating strong discriminative performance.
  • LDA with K=10 or 20 yielded optimal cluster quality, with clear topic labels and minimal overlap, enabling effective intent labeling.
  • The integration of the knowledge graph enhanced context retention, enabling the model to generate semantically coherent, history-aware responses.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.