Skip to main content
QUICK REVIEW

[Paper Review] Question Embeddings Based on Shannon Entropy - Solving intent classification task in goal-oriented dialogue system

Aleksandr Perevalov, Даниил Сергеевич Курушин|arXiv (Cornell University)|Mar 4, 2019
Topic ModelingComputer Science8 references2 citations
TL;DR

This paper proposes a novel question embedding method based on Shannon entropy to improve intent classification in low-resource, domain-specific dialogue systems. By computing word entropy distributions within a dataset and applying truncated SVD, the approach generates compact, dense vectors that outperform TF-IDF, word2vec, and FastText—achieving a 2% higher F1-score on a student query dataset with only 1,300 labeled examples.

ABSTRACT

Question-answering systems and voice assistants are becoming major part of client service departments of many organizations, helping them to reduce the labor costs of staff. In many such systems, there is always natural language understanding module that solves intent classification task. This task is complicated because of its case-dependency - every subject area has its own semantic kernel. The state of art approaches for intent classification are different machine learning and deep learning methods that use text vector representations as input. The basic vector representation models such as Bag of words and TF-IDF generate sparse matrixes, which are becoming very big as the amount of input data grows. Modern methods such as word2vec and FastText use neural networks to evaluate word embeddings with fixed dimension size. As we are developing a question-answering system for students and enrollees of the Perm National Research Polytechnic University, we have faced the problem of user's intent detection. The subject area of our system is very specific, that is why there is a lack of training data. This aspect makes intent classification task more challenging for using state of the art deep learning methods. In this paper, we propose an approach of the questions embeddings representation based on calculation of Shannon entropy.The goal of the approach is to produce low dimensional question vectors as neural approaches do and to outperform related methods, described above in condition of small dataset. We evaluate and compare our model with existing ones using logistic regression and dataset that contains questions asked by students and enrollees. The data is labeled into six classes. Experimental comparison of proposed approach and other models revealed that proposed model performed better in the given task.

Motivation & Objective

  • To address the challenge of intent classification in low-resource, domain-specific dialogue systems with limited labeled data.
  • To develop a dense, low-dimensional text representation method that avoids the data-hungry nature of deep learning models.
  • To outperform classical (TF-IDF) and modern (word2vec, FastText) embedding methods in intent classification under data scarcity.
  • To create a scalable, efficient vector representation that maintains semantic fidelity while reducing dimensionality.

Proposed method

  • The method computes the Shannon entropy of each word's distribution across all questions in the dataset.
  • Word vectors are constructed based on entropy values, capturing contextual semantic patterns without neural networks.
  • Truncated Singular Value Decomposition (SVD) is applied to reduce the dimensionality of the entropy-based matrix to 200 dimensions.
  • Question embeddings are formed by averaging the entropy-based word vectors within each question.
  • The final vector representation is used as input to a logistic regression classifier with a one-vs-rest strategy.
  • The approach is evaluated using 5-fold cross-validation and F1-score as the primary metric.

Experimental results

Research questions

  • RQ1Can a Shannon entropy-based embedding method achieve better intent classification performance than TF-IDF, word2vec, and FastText on a small, domain-specific dataset?
  • RQ2Does the entropy-based method maintain high performance while significantly reducing vector dimensionality compared to TF-IDF?
  • RQ3How does the method perform on a general-purpose dataset (e.g., IMDB reviews) with balanced classes?
  • RQ4Can the method effectively handle class imbalance issues in low-resource settings?
  • RQ5Is the entropy-based representation robust and generalizable across different NLP tasks?

Key findings

  • The proposed Shannon entropy method achieved an F1-score of 0.74 on the student query dataset, outperforming TF-IDF (0.72), word2vec (0.67), and FastText (0.63).
  • The method showed a 2% higher F1-score than TF-IDF and a 7% improvement over word2vec on the same dataset.
  • FastText performed the worst, with an F1-score of 0.63, likely due to data scarcity.
  • On the IMDB dataset, the method matched TF-IDF’s F1-score of 0.90 but with a much lower dimensionality (200 vs. 8,623).
  • The method demonstrated that entropy-based representations can preserve semantic information efficiently with reduced computational cost.
  • The PRIV class was poorly classified due to class imbalance, suggesting the need for taxonomy redesign in future work.

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.