Short Text Classification via Improved Chi-Square and TF-IWF Weighting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current short text classification algorithms face challenges due to sparse semantic features, high dimensionality, and low classification accuracy, particularly when dealing with large volumes of short text data from social networks, where traditional methods fail to effectively select features and assign appropriate weights.

Innovation Solution

A text classification system based on feature selection using improved chi-square statistics and TF-IWF weighting, which introduces word frequency adjustment parameters, intra-category position parameters, and negative correlation correction factors to enhance feature subset selection and assign weights to feature entries, thereby improving classification accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional classification algorithms are directly applied to short texts, then the processing speed is fast, but the classification accuracy is low due to sparse semantic features

Engineering Contradiction:
Improveclassification accuracyVSAvoidfeature selection complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the feature selection process into multiple stages: initial feature extraction from short texts, filtering based on statistical criteria (chi-square, information gain), and refined selection using weighting schemes. This multi-stage segmentation allows the system to handle the complexity of feature selection systematically while improving classification accuracy from the sparse features inherent in short texts.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the feature selection problem from a single-dimension approach to a multi-dimensional framework by introducing multiple statistical criteria (chi-square statistic, information gain, term frequency-inverse document frequency) and combining them through weighting mechanisms. This dimensional expansion allows the system to evaluate features from multiple perspectives simultaneously, resolving the contradiction between accuracy and complexity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If feature dimensionality is reduced through feature selection, then the classification efficiency is improved, but the loss of semantic information occurs

Engineering Contradiction:
Improveclassification efficiencyVSAvoidsemantic information loss
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent changes the parameters of feature evaluation by introducing multiple statistical metrics (chi-square values, information gain scores, TF-IDF weights) and dynamically adjusting their importance through weighting schemes. This parameter transformation allows the system to identify and retain the most semantically important features while reducing dimensionality, thereby maintaining classification efficiency without significant semantic information loss.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback mechanisms where the classification performance is continuously evaluated and used to adjust the feature selection criteria. The system learns from classification results and refines its feature selection process, ensuring that the reduced feature set maintains sufficient semantic information for accurate classification while achieving improved efficiency.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If multiple feature selection criteria are introduced to improve accuracy, then the classification performance is enhanced, but the computational complexity increases

Engineering Contradiction:
Improveclassification accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies partial action by selectively applying different feature selection criteria to different subsets of features or different text categories. Rather than computing all possible statistical measures for all features uniformly, the system strategically applies criteria where they provide the most benefit, reducing overall computational resource consumption while maintaining classification accuracy.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11960521B2Text classification system based on feature selection and method thereof
Publication Date: 2024.04.16 NANJING UNIV OF POSTS & TELECOMM
  • US11960521B2 patent drawing
  • US11960521B2 patent drawing

AI summary

The present disclosure discloses a text classification system based on feature selection and a method thereof in the technical field of natural language processing and short text classification, comprising: acquiring a text classification data set; dividing the text classification data set into a training text set and a test text set, and then pre-processing the training text set and the test text set; extracting feature entries from the pre-processed training text set through improved chi-square statistics to form feature subsets; using TF-IWF algorithm to give the weight to the extracted feature entries; based on the weighted feature entries, establishing a short text classification model based on a support vector machine; and classifying the pre-processed test text set by the short text classification model. The present disclosure solves the problem that the short text content is sparse to some extent, thereby improving the performance of short text classification.