Introduction
In the modern digital landscape, government agencies are increasingly utilizing online platforms to collect public feedback, complaints, and suggestions. While this enhances civic engagement and transparency, it presents a significant administrative challenge: the manual processing of hundreds of daily messages. Sorting these feedbacks into appropriate departments—such as the Education Bureau, Traffic Bureau, or Housing Administration—is a labor-intensive task prone to human error.
Traditional text classification methods, often relying on shallow features like word frequency (TF-IDF), frequently struggle with public feedback. These texts are typically short, informal, and contain nuanced semantic relationships that simple models fail to capture. To address this, researchers have developed a hybrid system combining Convolutional Neural Networks (CNN) with a Differential Evolution (DE) algorithm for automated, high-accuracy classification.
Methodology
The proposed system employs a multi-stage pipeline designed to move beyond simple keyword matching toward deep semantic understanding.
Text Representation and CNN Architecture
The process begins with word vectorization, where words are mapped into a dense vector space (word embeddings). This distributed representation reduces dimensionality while preserving the contextual relationships between words.
The core classifier is a Convolutional Neural Network (CNN). While traditionally associated with image recognition, CNNs are highly effective at identifying local "spatial" patterns in text—specifically, how sequences of words combine to form specific meanings. The architecture includes a text representation module and a classification module featuring 256 convolution kernels, max-pooling layers to extract the most salient features, and a Softmax layer for final categorization.
Hyperparameter Optimization via Differential Evolution
A critical challenge in deep learning is hyperparameter tuning—selecting the right learning rates, dropout values, and layer configurations. Instead of manual trial and error, the researchers utilized a Differential Evolution (DE) algorithm. This metaheuristic, inspired by biological evolution, maintains a population of potential parameter sets and "evolves" them over generations. By mathematically searching for the optimal configuration, the DE algorithm ensures the CNN is perfectly tuned for the specific nuances of the public feedback dataset.
Experimental Results
The model was evaluated using a real-world dataset of 4,257 feedback entries categorized into 22 government departments. The performance of the CNN-DE model was benchmarked against seven traditional and deep learning baselines, including LSTM and various TF-IDF-based classifiers (Naive Bayes, SVM, Random Forest, etc.).
Performance Comparison
The CNN-DE model demonstrated superior performance across all primary metrics:
- Accuracy: 0.829
- F1-Score: 0.825
- Precision/Recall: 0.830 / 0.829
As shown in the comparative analysis, the CNN-DE model significantly outperformed traditional methods. For instance, it achieved a 15.1% improvement in accuracy over the TF-IDF-Decision Tree model and a 14.7% gain in F1-score over the TF-IDF-KNN approach. The balanced precision and recall scores indicate that the model is robust and does not suffer from significant bias toward specific categories.
Discussion and Conclusion
The success of the CNN-DE approach lies in its ability to extract high-dimensional, abstract semantic information that shallow models miss. By automating the "black art" of hyperparameter tuning through Differential Evolution, the researchers created a system that is both more accurate and more objective than manual configurations.
While the model performed exceptionally well on categories with sufficient data (e.g., the "Post Office" achieved an F1-score of 0.93), performance dipped in categories with very few samples, such as the "Sports Bureau." Future research will focus on addressing this class imbalance through data augmentation and exploring alternative evolutionary strategies like Genetic Algorithms to further refine the neural architecture. Ultimately, this system provides a scalable solution for reducing the administrative burden on government agencies, ensuring citizen concerns are routed to the correct departments with high efficiency.
Summary updated