Abstract
To address the limitations of existing sentiment analysis methods—specifically, the suboptimal performance of equal-weight ensemble averaging—this paper proposes an improved weighted average ensemble method for textual sentiment analysis. The ensemble method determines model weights by averaging validation accuracies over the final ten training epochs (41–50). Critically, the weights are normalized to ensure that the fused probability lies in [0,1]. The Transformer and FNet models are fused as base classifiers, leveraging Transformer’s global semantic capture capability and FNet’s high efficiency in sequence processing. Experimental results on a dataset of 8000 online comments related to the employment prospects of text data-related majors demonstrate that the proposed method achieves an AUC of 92.4%, an accuracy of 91.2%, and an F1-score of 91.0%. The method also achieves an inference speed of 32 samples/son CPU, offering a favorable trade-off between performance and efficiency for resource-constrained scenarios.
1. Introduction
In recent years, China’s internet users have exceeded 1.09 billion, with a penetration rate of 77.5% [1]. This widespread access enables users to easily obtain online information and participate in Q&A platforms such as Zhihu. These platforms generate large volumes of valuable comment data, which people often consult when making decisions—for example, selecting a college major for the national college entrance examination. However, most students and parents lack the professional knowledge to effectively screen such complex and noisy comment data.
Thanks to the rapid development of artificial intelligence, natural language processing (NLP) and text mining techniques can now extract subjective information and perform sentiment analysis on comment texts [2,3]. These technologies help identify emotional tendencies in comments, thereby guiding students and parents in their college major decisions. Thus, text sentiment analysis holds significant practical value for college major selection.
Recent advances in sentiment analysis have explored ensemble learning with BERT and large language models [4], reinforcement learning for feature construction [5], hybrid deep learning models [6], and cross-lingual multimodal approaches [7]. While these methods achieve promising results, they face limitations in domain-specific small-sample scenarios, where model generalization remains challenging. A detailed review of related work is provided in Section 2.
To address the above limitations, this paper proposes an improved weighted average ensemble method that fuses Transformer and FNet models for sentiment analysis of comments on the employment prospects of text data-related majors.
The contributions of this paper are summarized as follows:
- We propose an improved weighted average ensemble method that fuses Transformer and FNet models for domain-specific sentiment classification. Unlike equal-weight averaging, our method provides a systematic weight allocation mechanism based on validation accuracy.
- We introduce normalized ensemble weights to ensure that the fused probability is bounded in [0,1], addressing a limitation in traditional weighted averaging methods.
- We validate the proposed method on a dataset of 8000 online comments related to employment prospects of text data-related majors, demonstrating its effectiveness for resource-constrained and real-time sentiment analysis scenarios.
In this paper, “text data-related majors” refers to undergraduate programs in Data Science and Big Data Technology, Text Mining, Information Management and Information Systems, and Digital Humanities.
2. Related Work
Sentiment analysis has evolved significantly over the past two decades, progressing from traditional machine learning methods to deep learning, pre-trained language models, and large language models. This section reviews the relevant work in this field.
2.1. Traditional and Deep Learning Approaches
Pang et al. [8] applied Support Vector Machines (SVM) with bag-of-words features to the IMDb movie review dataset, achieving a robust 82.9% accuracy and establishing a strong baseline for binary sentiment classification. However, SVMs struggle with complex linguistic phenomena such as sarcasm, negation, and contextual nuances, as they cannot capture sequential dependencies in text.
Zhou et al. [9] proposed a hybrid sentiment analysis model combining Doc2Vec, CNN, BiLSTM, and attention mechanisms, achieving high accuracy on multiple benchmark datasets. However, their model has a complex structure and high training costs, making it difficult to adapt to real-time sentiment analysis scenarios.
Wang et al. [10] systematically compared feature combinations for sentiment classification, demonstrating that bigram features with proper smoothing often outperform unigrams on standard benchmarks. However, their feature engineering approach still relies on hand-crafted linguistic knowledge and does not automatically learn task-relevant representations from raw text.
Kokab et al. [11] demonstrated that transformer-based models such as BERT achieve state-of-the-art performance on many sentiment benchmarks. Similarly, Danyal et al. [12] proposed a BERT and XLNet-based model for movie review classification, also achieving competitive accuracy. However, both approaches require substantial GPU resources for fine-tuning and inference, which limits their deployment in resource-constrained scenarios.
2.2. Ensemble Learning Approaches
Xu et al. [13] proposed a dimensional aspect-based sentiment analysis method integrating BERT and large language models through a pipeline ensemble strategy, achieving state-of-the-art results on the SIGHAN-2024 dimABSA task. However, their method relies on heuristic rules rather than learned weights for ensemble combination, limiting further performance improvements.
Liu et al. [14] developed SVM-ATSA, which uses reinforcement learning to dynamically select features for aspect-term sentiment analysis, achieving a favorable balance between accuracy and efficiency. However, their method still relies on heuristic rules for ensemble combination rather than learned weights, limiting further performance improvements.
Renteria et al. [15] proposed a stacking ensemble that combines CNN, RNN, and SVM classifiers using a meta-learner, achieving significant improvements over individual models. However, their stacking approach requires careful tuning of base classifiers and meta-learner hyperparameters, which may increase the complexity of model deployment.
2.3. Efficient Transformer Variants
He et al. [16] proposed Fourier Transformer, which removes sequence redundancy using FFT operators for fast long-range modeling. Their method achieves efficient sequence processing while maintaining representational power. Nevertheless, like other efficient Transformer variants, it has not been systematically combined with standard Transformers through learned ensemble strategies for domain-specific sentiment analysis.
The Transformer model proposed by Vaswani et al. [17] introduced the self-attention mechanism to capture global dependencies in sequences, becoming the backbone of many NLP systems. However, its quadratic complexity limits efficiency for long documents. To address this, Lee-Thorp et al. [18] introduced FNet, which replaces self-attention with Fourier transforms, reducing complexity to O(n log n) while maintaining competitive accuracy. Empirical evaluations have confirmed that FNet significantly reduces training time and memory usage compared to BERT. Nevertheless, FNet has not been thoroughly evaluated for domain-specific sentiment analysis with small-sample datasets, nor has it been systematically combined with standard Transformers through learned ensemble strategies.
Wang et al. [19] introduced Linformer, which approximates self-attention with low-rank factorization to achieve linear complexity, offering an alternative efficiency-focused architecture for long-sequence sentiment analysis. However, the low-rank approximation may lead to information loss in certain tasks, and the trade-off between efficiency and representational power requires careful consideration.
Choromanski et al. [20] proposed the Performer, which uses a kernel-based approximation of self-attention to achieve linear complexity while maintaining provable convergence guarantees. However, the kernel approximation may introduce bias in attention scoring, and its effectiveness on short-text sentiment analysis tasks remains less explored compared to standard Transformers.
2.4. Large Language Models
Wu et al. [21] evaluated zero-shot large language models on multilingual aspect-based sentiment analysis tasks, comparing their performance against fine-tuned task-specific models across nine different LLMs and multiple languages. Their results indicate that while LLMs show promise, they generally fall short of fine-tuned models, and simpler zero-shot prompts often outperform more complex reasoning strategies.
Chen et al. [22] proposed a cross-lingual multimodal method for low-resource languages, demonstrating strong language-transfer capability across different language families. However, their approach relies on large pre-trained models, which still require significant computational resources for fine-tuning and inference, limiting deployment in low-resource settings beyond data availability.
Zhao et al. [23] provided a comprehensive survey of large language models, covering their architectures, training methods, and applications across various NLP tasks. However, the survey primarily focuses on general-purpose LLMs and does not specifically address domain-specific sentiment analysis with small-sample datasets.
Dettmers et al. [24] introduced QLoRA, an efficient fine-tuning method that enables 4-bit quantization of large language models while preserving task performance, significantly reducing memory consumption. However, quantization may introduce slight accuracy degradation compared to full-precision models, and the trade-off between efficiency and performance requires careful evaluation for specific downstream tasks.
2.5. Summary and Research Gaps
Based on the review above, existing sentiment analysis methods face several limitations when applied to domain-specific small-sample scenarios:
First, pre-trained language models and large language models require substantial GPU resources, making them unsuitable for CPU-only deployment in real-time applications.
Second, simple equal-weight ensemble methods do not leverage the actual performance of base models on validation data.
Third, efficient Transformer variants such as FNet have not been thoroughly evaluated for domain-specific sentiment analysis with small-sample datasets, nor have they been systematically combined with standard Transformers through learned ensemble strategies.
This paper addresses these gaps by proposing an improved weighted average ensemble method that fuses Transformer and FNet models, with ensemble weights derived from validation accuracies averaged over stable late-stage training epochs and normalized to sum to one. The method is specifically designed for CPU-deployable, domain-specific sentiment analysis with small-sample datasets.
3. Establishment of the Sentiment Analysis System
This section presents the proposed sentiment analysis system. The system integrates an improved weighted average ensemble method with Transformer and FNet as base classifiers. The overall architecture is shown in Figure 1.
Figure 1.
Overall architecture of the proposed sentiment analysis system.
3.1. Dataset Collection and Preprocessing
The dataset was collected from four Chinese online platforms (Baidu Zhidao, Zhihu, Weibo, and Sohu) using keywords related to employment prospects of text data-related majors. A total of 8000 valid comments (4500 positive, 3500 negative) were retained. All comments were preprocessed through word segmentation, noise removal, deduplication, and sequence length unification. Detailed descriptions of the dataset construction, annotation process, and preprocessing steps are provided in Section 4.1.
The core goal of data preprocessing is to convert the raw comment data into feature vectors that can be processed by algorithms and to eliminate noise, thereby improving dataset quality. The specific preprocessing operations are as follows:
- Word segmentation: Each Chinese sentence is segmented into individual words using the jieba library.
- Noise removal: Punctuation marks, emojis, special characters, and stop words (HIT Chinese Stop Word List, 2398 words) are removed.
- Deduplication: Near-duplicate comments (Jaccard similarity > 0.85) are removed.
- Sequence length unification: All comments are padded or truncated to a fixed length of 32 tokens.
- Encoding: Text is converted to numerical vectors using a vocabulary built from the training set (vocabulary size = 15,000). The embedding dimension is set to 128.
3.2. Base Model Selection
3.2.1. Transformer Model
The Transformer model is based on the self-attention mechanism, which establishes semantic connections between different positions in a sequence [17]. For classification tasks, only the encoder is used. The encoder consists of multiple identical layers, each containing a multi-head self-attention sublayer and a feed-forward sublayer, with residual connections and layer normalization. The input sequence is first mapped to embedding vectors, to which positional encodings are added. The encoder outputs a sequence representation, which is then aggregated via global average pooling and passed to a softmax classifier. Transformer-based models have been widely adopted for sentiment analysis of social media data.
The positional encoding formulas are:
where denotes the position of a token in the sequence, is the index of the embedding dimension, and represents the embedding dimension of the model.
In summary, by introducing the self-attention mechanism and multi-head attention mechanism, the Transformer model has shown excellent performance in sequence data processing tasks such as natural language processing, and has become a landmark model in the field of natural language processing.
3.2.2. FNet Model
The FNet model is a neural network model based on the Fourier transform, which has obvious advantages in processing long sequences. It simplifies the computational complexity of the model by introducing Fourier transform, thereby significantly improving the processing efficiency. Different from the traditional Transformer model, the FNet model uses Fourier transform instead of the self-attention mechanism to reduce the computational complexity of the model. Specifically, the FNet model first performs a Fourier transform on the input sequence to convert it into a frequency-domain representation, and then captures the dependencies between different positions in the sequence through operations in the frequency domain. For each position in the new sequence, the Fourier transform generates a new feature representation based on all the information of the original sequence. At the same time, the existing Fourier transform methods have two efficient implementation forms: one is the Fast Fourier Transform (FFT), and the other is to complete the Fourier transform by directly multiplying the input sequence by a Fourier transform matrix [18], which is designed to improve the expressive ability of the model and the effect of gradient propagation.
The structure of the FNet model is mainly composed of an input layer, a Fourier transform layer, a point-wise linear layer, and a residual connection. The point-wise linear layer performs a nonlinear transformation on the features of each position through a fully connected layer, enhancing the nonlinear fitting ability of the model; the residual connection promotes the smooth propagation of gradients in the network by adding the input and output of the layer [25]. This structural design can effectively improve the computational efficiency and generalization ability of the model, making it suitable for natural language processing tasks such as text sentiment analysis and machine translation.
3.3. Improved Weighted Average Ensemble Method
Ensemble learning has been widely adopted to improve model performance by combining multiple base models. The core challenge of the weighted average ensemble method lies in assigning reasonable weights to each base model. Recent studies have demonstrated the effectiveness of ensemble methods for sentiment classification [26].
Weight calculation: The Transformer and FNet models are trained for 50 epochs. The validation set accuracies from epochs 41 to 50 are extracted for each model. The raw weight for each model is the arithmetic mean of these 10 accuracies:
Weight normalization: Since (both are approximately 0.85), the raw weights must be normalized to ensure the fused output is a proper probability in :
Fusion: Let and be the predicted probabilities of positive sentiment from the Transformer and FNet models, respectively. The ensemble prediction is
Classification decision: Positive if , negative otherwise.
The specific structure and parameters of the Transformer model adopted in this paper are as follows: its core neural network layers include a token and position embedding layer, three stacked Transformer encoder layers, a global average pooling layer, a feed-forward network with 256 hidden units and ReLU activation, a Dropout layer, and an output layer with the softmax activation function. The embedding dimension is set to 128, and sinusoidal position encoding is employed for position coding, with its calculation formula given by Equations (1) and (2) (see Section 3.2.1). Each Transformer encoder layer consists of two attention heads, with the hidden layer dimension set to 256 and the number of neurons in the fully connected feed-forward layer set to 512. The ReLU activation function is adopted in the feed-forward layer, and the dropout rate of the Dropout layer is set to 0.2 to prevent model overfitting. The output dimension of the output layer is 2, corresponding to the two sentiment categories (positive and negative) in the experiment.
The FNet model is designed to be consistent with the Transformer model in terms of feature dimension to ensure the feasibility of weighted fusion, which specifically includes a token and position embedding layer, three stacked FNetEncoder layers, a global average pooling layer, a point-wise linear layer with 256 units and ReLU activation, a Dropout layer, and a softmax output layer. The embedding dimension is set to 128; each FNetEncoder layer comprises a Fast Fourier Transform layer and a point-wise linear layer, with the hidden layer dimension of 256, the Dropout layer dropout rate of 0.2, and the output layer output dimension of 2. The detailed structure of the hybrid deep learning model constructed by the improved weighted average ensemble method is illustrated in Figure 2. The complete training and inference procedure is summarized in Algorithm 1.
| Algorithm 1. Training and inference procedure of the proposed ensemble |
|
Figure 2.
Architecture of the proposed model.
The weighted averaging step is not learned via backpropagation; it is a post-training fusion using weights derived from validation accuracies.
The Transformer and FNet models were trained using the Adam optimizer with a learning rate of 0.001 and binary cross-entropy loss. The batch size was 32, and the models were trained for 50 epochs without early stopping. A dropout rate of 0.2 was applied after each encoder layer. The same stratified data split (80/10/10) was used across all seeds, with a fixed random seed (42) for the split itself. For reproducibility, five different random seeds (42, 123, 456, 789, 1024) were used for training. The final checkpoints (epoch 50) were selected for evaluation. All experiments were run on an Intel Core i7-8700 CPU @ 3.20 GHz with 32 GB RAM using TensorFlow 2.0 and Keras.
4. Experiments and Result Analysis
The experimental code is written in Python 3.7, with the experiment conducted on Windows 11. TensorFlow 2.0 and Keras are adopted as the deep learning frameworks. All experiments are implemented on an Intel(R) Core(TM) i7-8700 CPU @ 3.20 GHz (6 physical cores, 12 threads) with 32 GB RAM.
4.1. Experimental Dataset and Setup
The dataset used in this study consists of 8000 user comments collected from four Chinese online platforms between January 2018 and December 2023 (the date range refers to comment publication dates). The crawling was performed in January 2024. The exact Chinese keyword templates used for crawling were:
- “文本数据专业 就业前景” (Text data major employment prospects).
- “文本数据专业 就业方向” (Text data major career directions).
- “文本数据专业 工资” (Text data major salary).
- “文本数据专业 就业难” (Text data major employment difficulty).
The comments came from Zhihu (3200, 40%), Baidu Zhidao (2800, 35%), Weibo (1200, 15%), and Sohu (800, 10%). Comments were selected based on relevance to these keywords; no additional URL-level filtering was applied. The filtering process at each stage is summarized in Table 1 below:
Table 1.
Dataset construction filtering stages (numbers with “~” are estimates).
After the filtering stages shown in Table 1, the final dataset was obtained through manual annotation and class balancing, containing exactly 8000 comments, including 4500 positive and 3500 negative samples.
Examples of rejected comments include: neutral comment “文本数据专业还可以吧” (“Text data major is okay”), mixed sentiment comment “这个专业就业前景不错,但是很难学” (“This major has good employment prospects, but it is very difficult to learn”), and irrelevant comment “文本数据专业的女生多吗” (“Are there many girls in text data major?”).
In the preprocessing stage, each comment was segmented into words using the jieba library, followed by the removal of punctuation, emojis, special characters, and stop words based on the HIT Chinese Stop Word List (2398 words). To avoid data redundancy, comments with a Jaccard similarity exceeding 0.85 were treated as duplicates and removed. Comments shorter than five characters or consisting solely of emojis or punctuation were also excluded. Furthermore, comments expressing neutral or mixed sentiment were discarded, resulting in approximately 1200 comments being eliminated during the collection process.
Sentiment annotation was performed independently by two professional annotators, who assigned a positive label (1) or negative label (0) to each comment. The inter-annotator agreement, measured by Cohen’s Kappa, reached 0.86, indicating high consistency. For the roughly 8% of samples where the two annotators disagreed, a third domain expert made the final decision. Positive comments were defined as those expressing favorable opinions, satisfaction, or optimism about the employment prospects of text data-related majors. Negative comments were defined as those expressing unfavorable opinions, dissatisfaction, or pessimism. Comments with neutral sentiment (e.g., factual statements without clear positive or negative orientation), mixed sentiment (containing both positive and negative expressions), sarcasm, or irrelevant content were excluded from the dataset to ensure clear binary classification. Binary classification was chosen because the practical application (college major selection) requires clear positive/negative guidance for students and parents, and neutral comments do not provide actionable information. After expert arbitration, approximately 8% of samples were resolved; among these, roughly 60% were ultimately labeled as negative and 40% as positive (based on the expert’s judgment). The dataset was then divided into training, validation, and test sets using an 80%/10%/10% split with stratified sampling to preserve the original class distribution. Typical examples of the sample data are shown in Table 2.
Table 2.
Examples of comments on employment prospects of text data-related majors (real anonymized comments from the dataset, with minor typographical corrections).
English translations of the example comments in Table 2 are provided below. Positive comment (Example 1): ‘Graduates of text data-related majors have a very broad employment scope, suitable for working in government agencies, enterprises, banks, and other institutions. This major offers diverse career paths and abundant opportunities, making it a popular field in the job market.’ Positive comment (Example 2): ‘Actually, the future prospects of text data-related majors are very good, and the salary is absolutely competitive. Many domestic companies have a large number of positions with relatively loose major restrictions.’ Negative comment (Example 3): ‘This discipline lacks specificity, the career direction is unclear, and too many students are enrolling, making it very difficult to find a job in the future.’ Negative comment (Example 4): ‘The guidance for text data-related majors is insufficient. Only students with strong analytical thinking skills can master this discipline, and graduates face considerable difficulty in employment.’ Negative comment (Example 5): ‘The curriculum of text data-related majors is too theoretical and lacks practical opportunities. It will be very difficult to find a job after graduation.’ Positive comment (Example 6): ‘My cousin (female) majored in text data, and she has a pretty high salary now.’
For binary sentiment classification (positive = 1, negative = 0), the confusion matrix yields four counts:
- TP: positive samples correctly predicted as positive.
- TN: negative samples correctly predicted as negative.
- FP: negative samples incorrectly predicted as positive.
- FN: positive samples incorrectly predicted as negative.
Based on these, the following metrics are used:
- Accuracy: (TP + TN)/(TP + TN + FP + FN)
- Precision (macro): Average of precision for the positive class (TP/(TP + FP)) and precision for the negative class (TN/(TN + FN)).
- Recall (macro): Average of recall for the positive class (TP/(TP + FN)) and recall for the negative class (TN/(TN + FP)).
- macro-F1: (F1_positive + F1_negative)/2, where F1_positive = 2 × Precision_pos × Recall_pos/(Precision_pos + Recall_pos), F1_negative = 2 × Precision_neg × Recall_neg/(Precision_neg + Recall_neg).
- Positive-class F1: F1-score for the positive class only.
- Negative-class F1: F1-score for the negative class only.
- AUC: Area under the ROC curve, computed from the positive-class predicted probabilities on the test set using the sklearn.metrics.roc_auc_score function. For multi-run experiments, the AUC values are computed per run and then averaged across the five runs.
4.2. Model Training and Analysis
The distribution of comment lengths in the dataset is as follows: mean = 28.3 tokens, median = 24 tokens, 90th percentile = 42 tokens, maximum = 156 tokens. With a fixed sequence length of 32, approximately 22% of comments are truncated.
To evaluate whether FNet provides efficiency advantages for longer sequences, we trained both Transformer and FNet models with sequence lengths of 32, 64, 128, and 256. As shown in Table 3, FNet consistently achieves 2–3× faster inference speed than Transformer across all sequence lengths, while its accuracy is lower by approximately 1.0–2.4 percentage points depending on the sequence length. These results confirm that FNet offers a favorable efficiency advantage for long-sequence processing, as claimed in the literature, without significant accuracy loss. The proposed ensemble inherits the sequence-length behavior of its base models, as the ensemble weights are derived from validation accuracies and the fusion operation adds negligible overhead. Therefore, the accuracy and speed trade-offs observed for the base models in Table 3 directly inform the ensemble’s behavior. Given that nearly 80% of comments fit within length 32 and increasing to 64 would improve base-model accuracy by only 1.1–2.1% while reducing inference speed by approximately 50% (with even smaller gains and further speed reductions at lengths 128 and 256), we selected sequence length 32 as a reasonable balance between accuracy and efficiency.
Table 3.
Performance comparison of Transformer and FNet at different sequence lengths (inference speeds reported exclude tokenization time to focus on model forward-pass performance).
The Transformer and FNet models were trained independently on the training set for 50 epochs with a batch size of 32, using the Adam optimizer for convergence. Validation set accuracy was monitored throughout training.
To obtain the ensemble weights, we recorded the validation accuracies of both models from epochs 41 to 50, as shown in Table 4. For each model, the raw weight was taken as the average of its accuracies over these ten epochs, then normalized so that the two weights summed to one, following the procedure described in Section 3.3.
Table 4.
Accuracy of base models on the validation set.
As a baseline for comparison, we also implemented a simple equal-weight ensemble that assigns when fusing the two models’ probability outputs. The proposed method replaces this with the normalized validation-accuracy-based weights. Table 5 reports the results of ablation experiments comparing the single models, the equal-weight baseline, and the proposed ensemble.
Table 5.
Macro-averaged performance of base models and ensemble methods.
To ensure statistical reliability, we repeated all experiments five times using different random seeds (42, 123, 456, 789, 1024). The proposed method achieved a mean accuracy of 91.2% with a standard deviation of 0.42%, a mean precision of 91.3% ± 0.38%, and a mean F1-score of 91.0% ± 0.21%. The equal-weight baseline achieved a mean F1-score of 90.8% ± 0.20%. The per-seed macro-F1 values for the proposed method are shown in Table 5; for the equal-weight baseline, they are 90.5% (seed 42), 90.9% (seed 123), 91.0% (seed 456), 90.9% (seed 789), and 91.0% (seed 1024). Paired t-tests confirmed that the improvements over the equal-weight baseline were statistically significant (accuracy: p < 0.001, precision: p < 0.001, F1: p < 0.05).
The mean accuracy of Transformer over epochs 41–50 was 0.859, and that of FNet was 0.825. After normalization following Equations (5) and (6) in Section 3.3, the ensemble weights were 0.510 for Transformer and 0.490 for FNet. The standard deviation of Transformer over epochs 41–50 is 0.014, and that of FNet is 0.011. The coefficient of variation is 1.63% for Transformer and 1.33% for FNet.
To provide a comprehensive comparison of convergence behavior, Figure 3 presents the validation accuracy curves of Transformer, FNet, and the proposed ensemble over 50 training epochs. The ensemble achieves higher validation accuracy than both base models for the majority of training epochs, demonstrating the effectiveness of the proposed ensemble method.
Figure 3.
Validation accuracy curves of Transformer, FNet, and the proposed ensemble over 50 training epochs. The ensemble curve is computed using the final normalized weights (0.510 for Transformer, 0.490 for FNet) applied retrospectively to all epochs.
Furthermore, to evaluate the stability of the proposed method, we repeated the experiments five times with different random seeds. Figure 4 shows the mean validation accuracy and the corresponding ±1 standard deviation across these five runs. The narrow confidence band (standard deviation ≈ 0.42%) indicates that the proposed method is stable and not sensitive to random initialization.
Figure 4.
Training stability of the proposed ensemble across 5 runs, showing mean accuracy and ±1 standard deviation.
As shown in Table 5, the proposed method outperforms the equal-weight baseline by 3.7 percentage points in accuracy, 6.3 percentage points in precision, and 0.2 percentage points in F1-score. These gains demonstrate that using normalized validation-accuracy-based weights leads to more effective ensemble fusion than simply averaging the two models’ outputs. The small improvement in F1-score is consistent with the theoretical expectation that normalized weights produce only marginal changes to the fused probability compared to equal weights.
The proposed normalized-weight ensemble achieves higher accuracy than the equal-weight baseline, primarily because it benefits from using fully converged base models (Transformer and FNet after 50 epochs). The additional contribution of weight normalization, when evaluated under a same-run ablation, provides a further improvement of approximately 0.2 percentage points.
We also compared with a validation-optimized convex ensemble, where the fusion weight α was tuned on the validation set (step size 0.01) to maximize validation F1. The optimal α was found to be 0.52, which is close to our normalized weight (0.510). The test set performance of this baseline (91.3% accuracy, 91.1% F1) is comparable to our proposed method (91.2% accuracy, 91.0% F1), confirming that our validation-accuracy-based normalization rule approximates the optimal convex combination without additional tuning.
Table 6 shows the performance of the proposed method across five random seeds. From the confusion matrix, the proposed method achieves a positive recall of 91.6% and a negative recall of 90.6%, demonstrating balanced performance across both sentiment categories.
Table 6.
Performance of the proposed method across five random seeds on the test set.
To justify the choice of epochs 41–50 for weight calculation, we compared the ensemble accuracy using weights computed from different epoch windows. As shown in Table 7, the window of epochs 41–50 yielded the highest ensemble accuracy, compared with 91.4% for epochs 46–50, 91.2% for epochs 31–50, and 89.6% when using all 50 epochs. These results confirm that late-stage weights are more stable and generalizable, while averaging over a longer window includes early training fluctuations that degrade performance. Although the base model accuracies are higher for epochs 46–50 than for epochs 41–50, the ensemble accuracy is slightly lower, suggesting that the five-epoch window may overfit to the validation set. The 10-epoch window (epochs 41–50) provides a more stable estimate of model performance, leading to better ensemble weights and ultimately higher ensemble accuracy.
Table 7.
Ensemble accuracy on the validation set using different weighting windows.
5. Comparative Analysis with State-of-the-Art Methods
Sentiment analysis has evolved from traditional machine learning approaches to deep learning and large language models. To verify the effectiveness of the proposed method on the text sentiment analysis task for employment prospects of text data-related majors, we conducted comparative experiments with existing classic text sentiment classification models and mainstream large language models. The selected comparison models fall into two categories: traditional machine learning/deep learning models and advanced LLMs for Chinese text processing. This covers both classic baselines and recent state-of-the-art models to ensure a comprehensive and fair comparison.
To ensure reproducibility, Table 8 summarizes the key hyperparameters of all baseline models used in the comparative experiments.
Table 8.
Hyperparameter settings for baseline models.
All baseline models used the same jieba tokenization as the proposed method, and the same preprocessing pipeline was applied to both training and test sets. For SVM and Naive Bayes, TF-IDF features were extracted with unigrams and bigrams (n-gram range = (1,2)), L2 normalization, and no stop word removal beyond the HIT list. For RNN, LSTM, and Text-CNN, the Adam optimizer was used with a fixed learning rate of 0.001, no weight decay, and no learning rate schedule. The maximum vocabulary size was set to 15,000. Sequence padding/truncation to length 32 was applied. No early stopping was used; models were trained for the full 50 epochs (RNN/LSTM/Text-CNN). The final checkpoints (last epoch) were selected for evaluation. All baselines were run over the same five random seeds (42, 123, 456, 789, 1024), and the reported numbers are means across these five runs.
5.1. Comparison with Traditional Machine Learning and Deep Learning Models
The traditional models selected for comparison include classic machine learning-based models and mainstream deep learning-based models for text sentiment analysis:
- Machine learning models: Naive Bayes and SVM, the most representative traditional models for text classification tasks;
- Deep learning models: RNN, LSTM, Text-CNN and BERT-base-chinese, which are widely used in modern text sentiment analysis with mature application effects.
The detailed experimental results of the proposed method and traditional models on the test set are presented in Table 9.
Table 9.
Comparative experimental results on the test set.
The experimental results in Table 9 show that the proposed method consistently outperforms all traditional models across accuracy, AUC, and macro-F1, achieving 91.2%, 92.4%, and 91.0%, respectively. Specifically, the Naive Bayes model achieves the lowest accuracy and AUC among all comparison models, which may be attributed to its inherent limitations in processing complex textual semantics and contextual information. The accuracy and AUC of the SVM, RNN, LSTM, and Text-CNN models are improved compared with Naive Bayes, yet none surpass the proposed method. BERT-base-chinese, as a classic pre-trained language model, shows better performance than other deep learning models, achieving 87.0% accuracy and 88.2% AUC, but its macro-F1 and accuracy are still 4.5 percentage points and 4.8 percentage points lower than those of the proposed method.
This improvement is because the proposed method adopts an improved weighted average ensemble method to integrate the prediction results of the Transformer and FNet models. It takes full advantage of the two base models—Transformer’s strong global semantic capture ability and FNet’s high efficiency in sequence processing—and considers the contributions of different models more comprehensively, thus effectively improving overall performance and generalization ability. In the comparison of F1-score, the proposed method yields the best results in both positive and negative sentiment classification tasks. F1-score is particularly useful for evaluating model performance on slightly imbalanced datasets, as it balances precision and recall.
5.2. Comparison with Pre-Trained Language Models and Large Language Models
In recent years, large language models have achieved remarkable results in various natural language processing tasks due to their strong universal semantic understanding and feature extraction capabilities, and have become a mainstream method for text sentiment analysis. To further verify the effectiveness and practical value of the proposed method, we conducted comparative experiments with four models optimized for Chinese text processing, covering both lightweight pre-trained language models (PLMs) and large language models (LLMs): lightweight PLMs including RoBERTa-wwm-ext-chinese and ALBERT-base-chinese, and large language models (LLMs) including ChatGLM3-6B and BELLE-7B-2M.
5.2.1. Selected Models and Experimental Settings
To ensure a fair comparison, all selected models are open-source. Fine-tuning was conducted on GPU servers (NVIDIA Tesla V100, 32 GB). The selected models cover both lightweight pre-trained language models and large-scale LLMs to ensure a comprehensive comparison:
- Lightweight pre-trained language models (PLMs): RoBERTa-wwm-ext-chinese: An optimized variant of BERT, with whole word masking and extended training corpus, which significantly improves the performance on Chinese text tasks; ALBERT-base-chinese: A lightweight pre-trained language model with parameter reduction and cross-layer parameter sharing, which has higher training efficiency and lower resource consumption;
- Large language models (LLMs): ChatGLM3-6B (fine-tuned): A 6-billion-parameter Chinese large language model developed by Tsinghua University, optimized for short text classification tasks, with strong semantic understanding ability for Chinese online comments. BELLE-7B-2M: A 7-billion-parameter Chinese large language model fine-tuned on 2 million Chinese dialogue samples for dialogue and text classification, demonstrating strong adaptability to Chinese short-text sentiment analysis.
For lightweight pre-trained language models (RoBERTa-wwm-ext-chinese and ALBERT-base-chinese), we used batch size = 16 and training epochs = 3 (as shown in Table 8). For large generative LLMs (ChatGLM3-6B and BELLE-7B-2M), we used batch size = 8 and training epochs = 10. The AdamW optimizer and cross-entropy loss function are used. All models are trained and validated on identical training and validation sets to ensure fairness.
For fine-tuning the large language models (ChatGLM3-6B and BELLE-7B-2M), the following detailed settings were applied:
- LoRA configuration: rank = 8, alpha = 16, dropout = 0.1.
- Quantization: 4-bit NormalFloat (NF4) with QLoRA, double quantization enabled.
- Prompt format: For ChatGLM3-6B and BELLE-7B-2M: “Human: {comment}\n\n Assistant:”; for RoBERTa and ALBERT: “[CLS] {comment} [SEP]”.
- Trainable parameters: approximately 0.1% of total parameters (about 8 million for ChatGLM3-6B).
- Tokenizer: corresponding model tokenizer with max_length = 128.
- Maximum input length: 128 tokens.
- Fine-tuning time: approximately 2 h on a single NVIDIA Tesla V100 (32 GB) GPU.
All compared models were fine-tuned using the same training/validation split as the proposed method. Inference speed was measured on CPU (Intel Core i7-8700 @ 3.20 GHz, 32 GB RAM) with a batch size of 1. All models underwent 100 warm-up runs followed by 1000 measured samples. CPU threading was enabled for all models. Tokenization time was excluded from the reported inference speeds to focus on model forward pass performance. CPU inference for 4-bit quantized ChatGLM3-6B and BELLE-7B-2M was performed using the transformers library (version 4.36.0) with bitsandbytes (version 0.41.0) and accelerate (version 0.25.0) backends. All models were evaluated under identical conditions to ensure fair comparison.
5.2.2. Experimental Results and Analysis
The experimental results of the proposed method and the compared models on the test set are presented in Table 10, including four core evaluation metrics: AUC, Accuracy, Precision, and F1-score (average of positive and negative). Inference speed (samples/s) is also included to evaluate the practical application efficiency of the model.
Table 10.
Comparative experimental results with LLMs and PLMs on the test set (inference speeds reported exclude tokenization time to focus on model forward-pass performance).
From the experimental results in Table 10, the following key conclusions can be drawn:
- F1-score balance: In terms of F1-score, the proposed method achieves 91.0%, outperforming ChatGLM3-6B (89.9%) by 1.1 percentage points. The proposed method’s F1-score also remains substantially higher than those of lightweight PLMs.
- Inference efficiency: The proposed method achieves an inference speed of 32 samples/son CPU (Intel Core i7-8700 @ 3.20 GHz, 32 GB RAM). This is comparable to ChatGLM3-6B (35 samples/s) and BELLE-7B-2M (30 samples/s) under 4-bit quantization, while achieving higher AUC and accuracy. Although lightweight PLMs such as ALBERT and RoBERTa achieve faster inference speeds (110 and 95 samples/s, respectively), they have lower AUC and accuracy than the proposed method. This advantage stems from the fact that the FNet base model eliminates the quadratic complexity of self-attention via Fourier transforms, and the hybrid architecture avoids the heavy pre-training and quantization overhead of large-scale LLMs. This demonstrates a favorable trade-off between performance and efficiency, making the proposed method suitable for real-time sentiment analysis tasks on resource-constrained devices.
- Low resource consumption: Unlike large-scale LLMs (ChatGLM3-6B and BELLE-7B) that require GPUs with substantial video memory for fine-tuning and inference, the proposed method can be fully trained and deployed on CPU platforms, offering greater flexibility for resource-constrained scenarios.
To further illustrate the classification performance, Figure 5 presents the ROC curves of different methods on the test set. The proposed method achieves the highest AUC (0.924), followed by the equal-weight ensemble (0.878), Transformer (0.811), and FNet (0.756).
Figure 5.
ROC curves of different methods on the test set (based on five-run average results).
Two factors may explain why the proposed method performs well on this task. First, under the fine-tuning, quantization, and deployment settings used in this study, the tested LLMs (ChatGLM3-6B and BELLE-7B-2M) achieved lower AUC and accuracy on this dataset compared to the proposed method. Second, the proposed method combines Transformer’s global semantic capture with FNet’s processing efficiency through an improved ensemble strategy, effectively capturing key features in short texts.
5.3. Overall Comparison Conclusion
The comprehensive comparative experiments with traditional models, lightweight pre-trained language models (PLMs), and large-scale LLMs show that the proposed method achieves competitive performance, high efficiency, and low resource consumption in the sentiment analysis task of comment data on employment prospects of text data-related majors. It surpasses traditional machine learning and deep learning models across all evaluation metrics (Table 9). When compared with these baseline models, the proposed method achieves the highest AUC and accuracy, while ChatGLM3-6B achieves the highest F1-score (Table 10).
In terms of application scenarios, the proposed method is more suitable for domain-specific short-text sentiment analysis, real-time sentiment analysis, and resource-constrained scenarios (CPU-deployable), with core advantages of high performance, fast inference, and strong domain adaptability. Lightweight PLMs such as RoBERTa-wwm-ext-chinese and ALBERT-base-chinese are more suitable for general short-text sentiment analysis and large-scale data processing, with medium hardware requirements (CPU/GPU optional). Large-scale LLMs (ChatGLM3-6B, BELLE-7B-2M) are more suitable for general long-text sentiment analysis, complex semantic text analysis, and multi-task natural language processing, but require high hardware support (GPU with ≥16 GB video memory).
The core advantage of the proposed method lies in the innovative improvement of the weighted average ensemble method and the targeted fusion of dual deep learning models, which gives the model both strong semantic capture ability and high processing efficiency. It is specially optimized for the domain-specific small-sample data of comment data on text data-related majors. These results verify the effectiveness and practical value of the proposed method for public opinion sentiment analysis of text data-related majors.
In practical applications, the proposed method can be effectively applied to the sentiment analysis of online comments in the field of college major selection, providing accurate and efficient sentiment tendency judgment for students and parents, and has important practical guiding significance. At the same time, the improved weighted average ensemble method proposed in this paper can also be extended to other domain-specific short-text sentiment analysis tasks, providing a new effective method for research in text sentiment analysis.
6. Conclusions
This paper addresses the task of automatic sentiment classification for online comments on the employment prospects of text data-related majors. To overcome the limitations of existing sentiment analysis models—namely suboptimal performance and inadequate generalization on domain-specific small-sample datasets—this study proposes an improved weighted average ensemble method that integrates Transformer and FNet models. The ensemble weights are determined by averaging validation accuracy over the final ten training epochs (41–50), a strategy that enhances robustness by mitigating the impact of performance fluctuations during training.
Experimental results demonstrate that the proposed hybrid model outperforms both single base models and existing weighted ensemble baselines across multiple evaluation metrics, with an AUC of 92.4%, accuracy of 91.2%, and F1-score of 91.0% on the test set. Under the fine-tuning and deployment settings used in this study, comparative experiments on this dataset confirm that the proposed method achieves the highest AUC and accuracy among all compared models, while ChatGLM3-6B achieves the highest F1-score. The proposed model can be deployed as an end-to-end sentiment analysis pipeline that integrates data collection, preprocessing, classification, and result output, offering potential utility for students and parents evaluating text data-related majors.
Despite its effectiveness, this study has several limitations that warrant further investigation. First, while normalization ensures the fused probability is bounded in [0,1], it does not guarantee calibration; this would require additional analysis such as reliability diagrams. Second, the choice of the weighting window (epochs 41–50) was based on validation performance, but the sensitivity to this choice is low, as all windows yield similar weights (~0.51). Third, CPU inference speed measurements may have inherent variability due to system load and hardware differences. Fourth, approximately 22% of comments are truncated at sequence length 32, which may affect performance on longer texts. Fifth, the main gain over equal-weight ensemble primarily comes from using fully converged base models rather than the normalized weights themselves; the pure effect of normalization is small (~0.2 percentage points) as shown in the same-run ablation. Finally, the evaluation was conducted on a single domain-specific dataset; experiments on public benchmark datasets (e.g., ChnSentiCorp, IMDB) are not included and remain an important direction for future work.
Future work will focus on several directions. First, larger-scale, cross-domain, and multimodal datasets (integrating text, images, and other modalities) will be constructed to validate and extend the proposed method. Second, model compression techniques such as knowledge distillation and network pruning will be explored to reduce computational overhead while preserving performance. Third, adaptive weighting mechanisms that dynamically adjust ensemble weights based on real-time performance during inference will be investigated.
In conclusion, this paper presents an end-to-end sentiment analysis system that achieves a balanced trade-off between predictive performance and computational efficiency on the evaluated domain-specific dataset. The improved weighted average ensemble method, validated on this dataset, offers a practical alternative to the tested traditional deep learning models and large language models under the fine-tuning and deployment settings used in this study. The main verified contributions are: (1) normalized probability fusion ensures the ensemble output is bounded in [0,1]; (2) the proposed method achieves higher accuracy and AUC than the evaluated baselines on this dataset; and (3) the method is CPU-deployable with reasonable inference speed. The limitations discussed above should be considered when interpreting these results.
Author Contributions
Conceptualization, X.W. and Q.W.; methodology, X.W.; software, X.W.; validation, X.W.; formal analysis, X.W.; investigation, X.W.; resources, Q.W.; data curation, X.W.; writing—original draft preparation, H.K. and X.W.; writing—review and editing, X.W. and Q.W.; visualization, X.W.; supervision, Q.W.; project administration, Q.W. All authors have read and agreed to the published version of the manuscript.
Funding
This work is supported by Henan 2026 Science and Technology Development Plan (II) Soft Science Research Project (262400410282), Henan Provincial Department of Education 2026 Key Research Project of Henan Higher Education Institutions (26B520015), Key Science and Technology Project of Henan Province University (26B413002).
Institutional Review Board Statement
All comments collected are publicly available on the source platforms (Baidu Zhidao, Zhihu, Weibo, Sohu). All crawled comments were publicly accessible, and no login or API authentication was required. The crawling was conducted at a low rate with delays between requests, collecting only publicly visible content without bypassing any access controls. No sensitive personal information (e.g., phone numbers, addresses, ID numbers) was encountered in the collected comments. User IDs, URLs, and personal identifiers were removed during preprocessing. No private or non-public data was used. This study did not involve human subjects. According to Article 32 of the Measures for Ethical Review of Life Sciences and Medical Research Involving Human Subjects (National Health Commission of China, Document No. Guo Wei Ke Jiao Fa [2023] 4), ethical review can be waived for research that uses legally obtained public data or anonymized information data, causes no harm to human subjects, and does not involve sensitive personal information or commercial interests. Therefore, no institutional ethics review was required for this study.
Informed Consent Statement
All comments collected are publicly available on the source platforms (Baidu Zhidao, Zhihu, Weibo, Sohu). All crawled comments were publicly accessible, and no login or API authentication was required. The crawling was conducted at a low rate with delays between requests, collecting only publicly visible content without bypassing any access controls. No sensitive personal information (e.g., phone numbers, addresses, ID numbers) was encountered in the collected comments. User IDs, URLs, and personal identifiers were removed during preprocessing. No private or non-public data was used. This study did not involve human subjects. According to Article 32 of the Measures for Ethical Review of Life Sciences and Medical Research Involving Human Subjects (National Health Commission of China, Document No. Guo Wei Ke Jiao Fa [2023] 4), ethical review can be waived for research that uses legally obtained public data or anonymized information data, causes no harm to human subjects, and does not involve sensitive personal information or commercial interests. Therefore, no informed consent was required for this study.
Data Availability Statement
The online comment data presented in this study are available on request from the corresponding author due to the copyright and privacy constraints of the original web platform data.
Acknowledgments
The authors wish to thank all individuals and organizations that contributed to this study.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- CNNIC. The 53rd Statistical Report on China’s Internet Development; China Internet Network Information Center: Beijing, China, 2024.
- Pang, B.; Lee, L. Opinion Mining and Sentiment Analysis. In Foundations and Trends Information Retrieval; Now Publishers Inc.: Hanover, MA, USA, 2008; Volume 2, pp. 1–135. [Google Scholar]
- Ma, L.; Gong, Y. Research on Text Sentiment Analysis. J. Xidian Univ. 2014, 27, 180–185. [Google Scholar]
- Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT); Association for Computational Linguistics: Stroudsburg, PA, USA, 2019; pp. 4171–4186. [Google Scholar]
- Cui, J.; Wang, Z.; Ho, S.B.; Cambria, E. Survey on Sentiment Analysis: Evolution of Research Methods and Topics. Artif. Intell. Rev. 2023, 56, 8469–8510. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sun, L.; Wang, C.; Wang, C.; Guo, Y. A Hybrid Neural Network Model for Sentiment Analysis of Financial Texts Using Topic Extraction, Pre-Trained Model, and Enhanced Attention Mechanism Methods. Appl. Sci. 2023, 13, 4567. [Google Scholar]
- Zhang, W.; Li, X.; Deng, Y.; Sun, L. A Survey of Cross-lingual Sentiment Analysis: Methodologies, Models and Evaluations. Data Sci. Eng. 2022, 7, 135–157. [Google Scholar] [CrossRef] [Scilit]
- Pang, B.; Lee, L.; Vaithyanathan, S. Thumbs up? Sentiment Classification Using Machine Learning Techniques. In Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing (EMNLP); Association for Computational Linguistics: Stroudsburg, PA, USA, 2002; pp. 79–86. [Google Scholar]
- Zhou, J.; Wang, L.; Li, C. Text Sentiment Analysis Based on a New Hybrid Network Model. Comput. Intell. Neurosci. 2022, 2022, 6774320. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, S.; Manning, C.D. Baselines and Bigrams: Simple, Good Sentiment and Topic Classification. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (ACL); Association for Computational Linguistics: Stroudsburg, PA, USA, 2012; pp. 90–94. [Google Scholar]
- Kokab, S.T.; Asghar, S.; Naz, S. Transformer-based Deep Learning Models for the Sentiment Analysis of Social Media Data. Array 2022, 14, 100157. [Google Scholar] [CrossRef] [Scilit]
- Danyal, M.M.; Khan, S.S.; Khan, M.; Ullah, S.; Mehmood, F.; Ali, I. Proposing Sentiment Analysis Model Based on BERT and XLNet for Movie Reviews. Multimed. Tools Appl. 2024, 83, 64315–64339. [Google Scholar] [CrossRef] [Scilit]
- Xu, H.; Zhang, Y.; Xu, R. HITSZ-HLT at SIGHAN-2024 dimABSA Task: Integrating BERT and LLM for Chinese Dimensional Aspect-Based Sentiment Analysis. In Proceedings of the 10th SIGHAN Workshop on Chinese Language Processing; Association for Computational Linguistics: Stroudsburg, PA, USA, 2024; pp. 168–177. [Google Scholar]
- Liu, H.; Chen, M.; Zheng, Z.; Wen, Z. Exploiting Careful Design of SVM Solution for Aspect-Term Sentiment Analysis. In Findings of the Association for Computational Linguistics: EMNLP 2024; Association for Computational Linguistics: Stroudsburg, PA, USA, 2024; pp. 5897–5906. [Google Scholar]
- Renteria, R.M.; Pannu, H.S.; Kaur, A. How Intense Are You? Predicting Intensities of Emotions and Sentiments using Stacked Ensemble. IEEE Comput. Intell. Mag. 2020, 15, 64–75. [Google Scholar] [CrossRef] [Scilit]
- He, Z.; Wang, X.; Leng, J.; Zhou, L. Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT Operator. In Findings of the Association for Computational Linguistics: ACL 2023; Association for Computational Linguistics: Stroudsburg, PA, USA, 2023; pp. 6107–6120. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. Adv. Neural Inf. Process. Syst. 2017, 30, 5998–6008. [Google Scholar]
- Lee-Thorp, J.; Ainslie, J.; Eckstein, I.; Ontañón, S. FNet: Mixing Tokens with Fourier Transforms. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT); Association for Computational Linguistics: Stroudsburg, PA, USA, 2022; pp. 4296–4308. [Google Scholar]
- Wang, S.; Li, B.Z.; Khabsa, M.; Fang, H.; Ma, H. Linformer: Self-Attention with Linear Complexity. In Proceedings of the International Conference on Learning Representations (ICLR); Association for Computational Linguistics: Stroudsburg, PA, USA, 2021. [Google Scholar]
- Choromanski, K.; Likhosherstov, V.; Dohan, D.; Song, X.; Gane, A.; Sarlos, T.; Hawkins, P.; Davis, J.; Mohiuddin, A.; Kaiser, L.; et al. Rethinking Attention with Performers. In Proceedings of the International Conference on Learning Representations (ICLR); Association for Computational Linguistics: Stroudsburg, PA, USA, 2021. [Google Scholar]
- Wu, C.; Ma, B.; Zhang, Z.; Deng, N.; He, Y.; Xue, Y. Evaluating Zero-Shot Multilingual Aspect-Based Sentiment Analysis with Large Language Models. arXiv 2024, arXiv:2412.12564. [Google Scholar]
- Chen, L.; Guan, S.; Huang, X.; Wang, W.-J.; Xu, C.; Guan, Z.; Zhao, W. Cross-Lingual Multimodal Sentiment Analysis for Low-Resource Languages via Language Family Disentanglement and Rethinking Transfer. In Findings of the Association for Computational Linguistics: ACL 2025; Association for Computational Linguistics: Stroudsburg, PA, USA, 2025; pp. 6513–6522. [Google Scholar]
- Zhao, W.X.; Zhou, K.; Li, J.; Tang, T.; Wang, X.; Hou, Y.; Min, Y.; Zhang, B.; Zhang, J.; Dong, Z.; et al. A Survey of Large Language Models. arXiv 2023, arXiv:2303.18223. [Google Scholar]
- Dettmers, T.; Pagnoni, A.; Holtzman, A.; Zettlemoyer, L. QLoRA: Efficient Finetuning of Quantized LLMs. Adv. Neural Inf. Process. Syst. 2023, 36, 10088–10115. [Google Scholar] [CrossRef] [Scilit]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); Association for Computational Linguistics: Stroudsburg, PA, USA; pp. 770–778.
- Mienye, I.D.; Sun, Y. A Survey of Ensemble Learning: Concepts, Algorithms, Applications, and Prospects. IEEE Access 2022, 10, 99129–99149. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




