Skip to Content
AnalyticsAnalytics
  • Article
  • Open Access

1 December 2026

23 Pages

A Comparative Study of Sentiment Analysis Methods on Student Feedback

and
Teaching & Learning Centre, Singapore University of Social Sciences, 463 Clementi Rd, Singapore 599494, Singapore
*
Author to whom correspondence should be addressed.

Abstract

Student feedback on teaching plays a vital role in quality assurance and enhancement in higher education and often involves a large volume of open-ended textual comments. Sentiment analysis offers a scalable method for institutions to interpret this qualitative data and gain deeper insights into students’ learning experiences. Recent advancements in natural language processing and deep learning have significantly improved the ability to analyze context-rich feedback. However, the comparative effectiveness of different sentiment analysis approaches remains unclear. In this study, we systematically compared the accuracy and performance of various sentiment analysis methods, including lexicon-based techniques, traditional machine learning models, deep learning models, fine-tuned LLMs, and prompt-based classification using LLMs. We found that fune-tuned OpenAI GPT-4.1-mini delivered the best performance, followed by fine-tuned BERT. The strong correlation between predicted sentiment results and students’ quantitative ratings further confirmed the validity of the fine-tuned LLM approach. In addition, we also examined the resources and cost associated with each method. The findings provide practical guidance for researchers and institutional practitioners in selecting appropriate sentiment analysis methods for mining student feedback and to inform instructional decision-making.

1. Introduction

Student evaluation of teaching (SET) is widely recognized as an essential mechanism for enhancing instructional quality, supporting faculty development, and informing institutional decision-making in higher education. SET often consists of numeric ratings and qualitative feedback. While numeric ratings provide structured indicators of teaching effectiveness, qualitative comments offer deeper, context-rich insights into students’ perceptions of instructional quality and their learning experience [1]. Understanding students’ qualitative feedback is critical, as it provides a key source of information for informing and improving teaching practices.
However, as the volume of textual feedback collected routinely by universities has grown substantially, comprehensive manual review has become increasingly impractical [2]. These challenges have led educational researchers to explore automated text-analysis methods as scalable alternatives to human-only review. Among these methods, sentiment analysis has emerged as a promising approach for detecting evaluative tone in student feedback. Sentiment analysis enables the extraction of affective information (e.g., positive, neutral or negative sentiment) from unstructured text, generating structured insight on student satisfaction [3]. It offers a scalable and consistent method for monitoring students’ perceptions of teaching and learning.

1.1. Lexicon-Based Sentiment Analysis

While sentiment analysis on educational data is increasingly prevalent [2,4], research focusing specifically on sentiment analysis of student feedback is still limited. Early studies primarily relied on lexicon-based sentiment analysis, which classifies feedback using predefined polarity dictionaries [5,6,7,8,9,10]. For example, Wook et al. [5] developed the OMFeedback system that used the Vader lexicon, along with enhancements for capitalized words and emoji detection, to automatically classify students’ textual comments as positive, neutral or negative. Similarly, Rajput et al. [6] adopted a lexicon-based sentiment analysis approach using the MPQA subjectivity lexicon to classify end-of-course evaluation comments as positive, negative or neutral. Firdaus et al. [8] used the InSet Lexicon to analyze Indonesian student feedback and reported better document-level accuracy compared to sentence-level accuracy, as misclassified words or sentences were averaged out. Although these studies demonstrate the feasibility of lexicon-based sentiment analysis for student feedback, their performance is highly dependent on domain-specific vocabulary [11]. More broadly, sentiment analysis methods often struggle with contextual nuance and implicit sentiment [12], while suggestion-oriented student comments present additional interpretive challenges due to their ambiguous evaluative valence [13].

1.2. Machine Learning Approach for Sentiment Analysis

To address these limitations, researchers are increasingly adopting traditional machine learning models to learn sentiment patterns directly from manually labeled data [3,9,14,15,16,17,18,19,20,21,22]. Dake and Gyimah [3] applied supervised machine learning techniques, including Naïve Bayes (NB), Support Vector Machine (SVM), J48 Decision Tree (DT), and Random Forest (RF), to analyze qualitative student feedback collected via open-ended questionnaires in a university. Their results showed that SVM achieved the best overall performance. Gottipati et al. [14] analyzed the sentiment (positive and negative) from quantitative course data in a university, using lexicon-based (Polarity Analyzer), machine learning (Textblob Naïve Bayes Analyzer) and improved Textblob (including contrasting conjunctions and suggestive words) approaches. They found that the standard Textblob performed slightly better than Polarity Analyzer, while the improved Textblob achieved the best performance. Another study [15] demonstrated that combining lexicon-based features with machine learning significantly outperformed both standalone lexicon-based methods and general-purpose sentiment analysis APIs, highlighting the importance of domain adaptation in educational feedback analysis.
Traditional machine learning models generally demonstrate improved flexibility and accuracy compared to lexicon-based methods, but they rely heavily on manual feature engineering and fixed representations [23], which limits the ability to capture contextual meanings [24]. This limitation has motivated the shift to deep learning approaches, in which neural network models can automatically learn rich representations from text and enable more accurate and robust sentiment analysis of student feedback [19,20,21,25,26,27,28]. For example, Sutoyo et al. [25] applied a deep learning-based sentiment analysis approach using a Convolutional Neural Network (CNN) to analyse open-ended SET feedback collected through an institutional feedback system. Their results showed that the CNN model achieved strong performance. Kandhro et al. [20] developed a Long Short-Term Memory (LSTM)-based sentiment analysis model trained on manually labelled student feedback comments collected through SET surveys. Using pretrained Word2Vec embeddings, the LSTM achieved high performance and outperformed traditional machine learning classifiers such as NB and SVM that were trained on bag-of-words and n-gram feature representations. Ahmed et al. [21] developed a sentiment analysis system for classifying student textual feedback into positive, neutral, and negative categories using Multinomial Naïve Bayes (MNB), RF, and LSTM, trained on survey data collected from a university’s Quality Enhancement Cell. Their results show that LSTM achieved the highest accuracy. Abdi et al. [19] proposed a deep learning-based sentiment analysis model named Deep Learning and Teaching Process (DTLP), which integrated CNN, Bidirectional Long Short-Term Memory (Bi-LSTM), an attention mechanism, and a unified feature set combining word embeddings, sentiment lexicons, sentiment-shifter rules, and linguistic/statistical features to classify student feedback at the sentence level. Across multiple student-feedback datasets, DTLP achieved the highest performance compared to traditional machine learning models (e.g., SVM, RF, NB) and other deep learning baselines.

1.3. Large Language Models (LLMs) for Sentiment Analysis

Deep learning models such as CNN and LSTM typically require substantial labelled data and computational resources, limiting their applicability in many educational contexts where annotated feedback data are scarce. As an alternative, LLMs are pretrained on large-scale text corpora to learn general language representations, which can be effectively transferred to downstream tasks through task-specific fine-tuning with strong performance. Researchers have applied fine-tuned BERT and other variant models to analyse the sentiments of university student feedback [28,29,30,31,32]. For example, Alamoudi et al. [29] compared traditional machine learning classifiers (NB, SVM, LR, DT, and RF) with a fine-tuned AraBERT transformer model for sentiment analysis of Arabic student evaluation comments. The results showed that AraBERT achieved the best performance, outperforming all classical machine learning models. However, fine-tuning of other LLMs such as Llama and GPT specifically for sentiment analysis of university student feedback has not yet been studied.
To further improve the practicality and reproducibility of sentiment analysis while reducing training costs and infrastructure demands, recent studies have explored prompt-based approaches, where LLMs perform sentiment classification through carefully designed prompts without task-specific fine-tuning [33,34,35,36,37]. Parker et al. [34] investigated the use of large language models (GPT-3.5 and GPT-4.0) for sentiment analysis in qualitative educational survey feedback, where a zero-shot setting without task-specific fine-tuning was performed. Using 2500 end-of-course survey comments, their results showed that GPT-4 achieved human-level or near-human performance across tasks and outperformed a fine-tuned RoBERTa sentiment classifier, demonstrating the potential of prompt-based LLM approaches as flexible and accessible alternatives for student feedback analysis. Kuzmanova et al. [35] investigated large-scale student feedback analysis by integrating an LLM (Google Gemini, gemini-1.5-flash model) to perform sentiment analysis on over 200,000 university course evaluation responses. Their findings demonstrated that prompt-based LLMs are capable of capturing nuanced sentiment phenomena, including negation, mixed sentiment, sarcasm, and ambiguity.

1.4. Current Study

Taken together, prior research illustrates a clear methodological evolution in sentiment analysis of student feedback, progressing from lexicon-based techniques to traditional machine learning, deep learning, and most recently, LLM-based approaches. Although there are some comparative studies that compare model performance in student feedback sentiment analysis between different techniques, the existing evidence remains fragmented and lacks comprehensive, systematic evaluation [3,19,26,29,38]. Moreover, to our knowledge, no studies have explicitly examined and compared the computational resources and cost associated with model training and application for student feedback sentiment analysis, despite the practical importance of these considerations for institutional adoption. To address these gaps, the present study systematically compared five main approaches, including lexicon-based methods, traditional machine learning, deep learning, fine-tuned LLMs, and prompt-based classification using LLMs, evaluating their performance on sentiment analysis of student feedback. In addition, we provide a systematic comparison of the resources and costs associated with training and deploying each approach, offering both methodological and practical insights for researchers and higher education institutions.
The remainder of the paper consists of three sections. Section 2 describes the methodology used for data collection and preparation, sentiment classification and evaluation. Section 3 presents the results of model performance, resource and cost estimation, while Section 4 concludes the paper with detailed comparative discussions and acknowledges the limitations of the study.

2. Methods

2.1. Data Collection and Preparation

Our data were drawn from the SET surveys conducted at a Singaporean university. These surveys are routinely administered across the institution at the end of each semester. The survey consisted of four Likert-scale questions and one open-ended question. Students rated each Likert-scale item on a 1–5 scale and could optionally respond to the open-ended question, which asked for any suggestions for the instructor. This study included feedback from six semesters spanning the 2020–2022 academic years, with all responses collected anonymously.
Data cleaning and pre-processing on qualitative feedback data were performed prior to sentiment analysis [39]. To preserve the richness of information, longer feedback with multiple sentences was tokenized into individual sentences during the pre-processing. The preprocessing involved two levels of data manipulation: feedback level and feedback sentence level. At the feedback level, blanks, uninformative feedback (e.g., NA, None, incomprehensible letters/words/symbols) and duplicates were removed because they cannot provide any useful information. Then each feedback item was decomposed into sentences for further processing. At the feedback sentence level, uninformative content, including websites and email addresses, was further removed. Emoticons and emojis were retained and transformed into text accordingly, as they contained emotional information. After preprocessing, a total of 68,368 feedback sentences (tokenized from 33,791 feedback) remained for subsequent sentiment analysis.

2.2. Sentiment Annotation

Manual annotation of the training dataset is a critical step in a supervised learning approach. After student feedback was broken down into sentences, these sentences were manually labelled as positive, neutral or negative: (1) Positive, sentences expressing favorable comments; (2) Neutral, sentences expressing no strong positive or negative feelings or the feedback was irrelevant or ambiguous; and (3) Negative, sentences expressing negative evaluations of the instructor or teaching, or offering suggestions that highlight perceived deficiencies.
We also established a set of rules to guide the annotation process. For example, in sentences that contain a contrast or shift (e.g., “The abovementioned [instructor], though strict, has her way of conducting her lessons to make them engaging even in an online session due to the pandemic”), our sentiment analysis focuses on the key point of the contrast. In this example, the focus is on “engaging”, so the sentence was labeled as positive. Sentences that were unclear or lacked sufficient information to determine sentiment were labeled as neutral. Suggestions that pointed to shortcomings or unmet learning needs were annotated as negative comments, even when they were phrased politely (e.g., through the use of modal verbs such as “could” or hedging expressions such as “maybe”). Although indirect in tone, such suggestions signal a perceived gap in the learning experience; categorizing them as negative therefore helps draw instructors’ attention to areas requiring improvement. Meanwhile, enhancement-oriented suggestions that do not express dissatisfaction or explicitly indicate instructional shortcomings were classified as neutral.
To establish interrater reliability, two human annotators were assigned to annotate the same 503 feedback sentences. During the manual annotation process, we observed that distinguishing subtle emotional differences between neutral and weak negative sentiments in suggestions was inherently challenging for both annotators. Following several rounds of discussion and iterative annotation, the final Cohen’s kappa value was 0.83, indicating an “almost perfect” level of agreement between the two annotators [40]. Details of the inter-rater agreement matrix are illustrated in Table 1.
Table 1. Inter-rater agreement matrix.

2.3. Sentiment Classification

Five main approaches, including lexicon-based methods, traditional machine learning models, deep learning models, fine-tuned LLMs, and prompt-based classification using LLMs, were adopted and compared for sentiment analysis in this paper.
Lexicon-based method. As lexicon-based methods are dictionary-driven, they do not involve any data annotation and model training procedures. We used three different lexicon-based sentiment analysis approaches, including Valence Aware Dictionary for Sentiment Reasoning (VADER), AFINN and TextBlob. Python libraries implementing VADER (implemented using the Natural Language Toolkit (NLTK, version 3.9.2)), AFINN (version 0.1), and TextBlob (version 0.19.0) were used to calculate polarity scores, after which sentiment labels were assigned based on score thresholds (positive: score > 0; neutral: score = 0; negative: score < 0). The zero-based classification approach was adopted to retain weak positive and weak negative polarity signals that may reflect subtle expressions of students’ satisfaction or dissatisfaction.
Traditional machine learning approach. Traditional machine learning algorithms, including NB, SVM and XGBoost (through Python library xgboost, version 3.1.2), were employed to train a sentiment classification model. Term Frequency-Inverse Document Frequency (TF-IDF) was used for text embedding. NB, SVM and TF-IDF were implemented using the Python scikit-learn library (version 1.7.2). To prepare the training data, more than 7000 tokenized feedback sentences were stratified sampled from four semesters and different schools and then were annotated according to the sentiment annotation rules. To overcome the data imbalance issue, which is a common challenge in machine learning model training [41], a balanced subset was subsequently constructed by retaining all available neutral feedback-annotated sentences (approximately 1000) and randomly selecting approximately equal numbers of positive and negative sentences for model training and evaluation purposes. Annotated data was split into 80% for model training and 20% for testing. The tokenized feedback sentences were unique, and they did not appear in both the training and test datasets simultaneously. Based on the same training and test data, different machine learning algorithms were used for model training and evaluation.
Deep learning approach. We selected CNN and Bi-LSTM as the models used for the deep learning approach. Both CNN and Bi-LSTM models were implemented using Python library PyTorch (version 2.9.1). Although CNN was originally popularized in computer vision tasks, they have also been widely applied to text classification by operating over sequences of word embeddings. In this setting, one-dimensional convolutions can effectively capture local n-gram features, making CNN particularly well suited for sentiment analysis of short texts. LSTM is a special kind of recurrent neural network (RNN) designed to handle sequential data such as sentences. As an upgraded version of LSTM, Bi-LSTM processes the text in two directions, so it captures both sides of context and thus can make sentiment understanding more accurate. Global Vectors for Word Representation (GloVe) (glove.6B.100d.txt, Stanford University, Stanford, CA, USA, 2014) was used for word embeddings rather than TF-IDF, which relies on fixed features.
Fine-tuning LLM. The development of transformer architectures and attention mechanisms subsequently enabled the emergence of LLMs [42,43]. As the epoch-making representatives of LLMs, Bidirectional Encoder Representations from Transformers (BERT) and Generative Pre-trained Transformer (GPT) were adopted in view of their superior performances [44,45,46]. Because BERT uses only using the encoder part of Transformers, a subsequent neural network was configured as sentiment classifier [47]. The pre-trained BERT model (bert-base-uncased) was obtained from Hugging Face and fine-tuned using Python library transformers (version 4.57.1, Hugging Face, Inc., Brooklyn, NY, USA) with student feedback data. With respect to the GPT series model, the GPT-4.1-mini model (OpenAI, San Francisco, CA, USA) from OpenAI was fine-tuned through OpenAI’s webpage-based fine-tuning platform. After the remote fine-tuning was completed, a model ID was given by OpenAI for API calls to infer the fine-tuned model. To evaluate the impact of different domain data, a social-media-text fine-tuned model (cardiffnlp/twitter-roberta-base-sentiment-latest from Hugging Face) was intentionally included as a cross-domain baseline to examine how an existing sentiment classification model performs on student feedback without additional domain-specific fine-tuning. This is a Robustly Optimized BERT Pretraining Approach (RoBERTa) based model trained on about 124M tweets from January 2018 to December 2021 and fine-tuned for sentiment analysis with the TweetEval benchmark [48]. This fine-tuned RoBERTa model was downloaded locally for use due to its small size.
Prompt-based classification using an LLM. Prompt-based classification via direct LLM inference was also included to compare with other approaches. Llama-3.1-8B (meta-llama/Llama-3.1-8B-Instruct version from Hugging Face) was downloaded in Google Colab (Google LLC, Mountain View, CA, USA) and used for direct inference with GPU resources, and GPT-4.1-mini (gpt-4.1-mini-2025-04-14 from OpenAI) was directly inferred through the OpenAI API. Two different prompts (shown in Appendix A) were used to predict the sentiments on the test data and the performance was subsequently evaluated. Prompt 1 was deliberately designed based on the data annotation rules to instruct the model how to classify the student feedback into different sentiment categories. For comparison purposes, Prompt 2 was just a simple sentence to instruct the model to make classifications, but without any detailed instructions.
The model-specific hyperparameter settings and implementation configurations are summarized in Appendix B, Table A1. These include training hyperparameters for models requiring training, as well as relevant settings for the other sentiment classification approaches.

2.4. Model Performance Evaluation

Training and testing datasets were used for model training/fine-tuning and performance evaluation with different approaches, except the lexicon-based method and prompt-based classification. Accuracy, weighted precision, weighted recall and (weighted) F1-score were used as metrics to evaluate the model performance [49]. Classification reports were generated to demonstrate the overall model performance as well as each sentiment category. In addition, Matthews Correlation Coefficient (MCC) was calculated to provide a complementary assessment of classification performance [50]. Its values range from −1 to +1, with +1 indicating perfect agreement between predicted and actual labels, 0 indicating no overall predictive association, and negative values indicating disagreement. The Python machine learning library scikit-learn provides all these functions for model performance evaluation.
To assess the uncertainty and statistical significance of the classification results, two statistical analyses were conducted. First, 95% confidence intervals (CIs) for weighted F1-scores were estimated using nonparametric bootstrap resampling [51]. For each model, 5000 bootstrap samples were generated by sampling with replacement from the test dataset. Weighted F1-scores were recalculated for each sample, and the 2.5th and 97.5th percentiles of the resulting distribution were used to determine the 95% CIs. Second, two-sided paired permutation tests were conducted to assess differences in weighted F1-scores between selected model pairs [52]. For each comparison, the predictions of the two models were randomly exchanged within individual test instances over 5000 permutations, and the weighted F1-score difference was recalculated for each permutation. Statistical significance was evaluated at α = 0.05, with Holm–Bonferroni correction (implemented through Python library statsmodels, version 0.15.0) applied to the p-values obtained from the paired permutation tests to control the family-wise error rate arising from multiple model comparisons [53].
Representative models were selected for paired comparisons to examine performance differences across the five main sentiment analysis approaches. Specifically, VADER, SVM, CNN, fine-tuned GPT-4.1-mini, and prompt-based GPT-4.1-mini were selected to represent lexicon-based, traditional machine learning, deep learning, fine-tuned LLM, and prompt-based classification approaches, respectively. These models were selected based on their methodological characteristics and practical relevance. All ten pairwise comparisons among the five representative models were conducted to assess differences in weighted F1-scores. These comparisons were intended to provide insights into the performance differences between selected model configurations rather than establish the superiority of entire methodological approaches.

2.5. Model Validation

In addition to model performance evaluation, correlation analysis was conducted to examine the relationships between normalized sentiment (predicted) percentages and quantitative teaching ratings. This analysis was intended to provide supplementary evidence of convergence between predicted sentiment patterns and quantitative teaching ratings, rather than independently establish sentiment classification performance, which was evaluated separately in Section 2.4. Considering potential variations across instructors and disciplines, the analysis was conducted separately at the instructor and discipline levels, with both normalized sentiment percentages and quantitative teaching ratings aggregated at the corresponding levels. Pearson correlation coefficient [54] was calculated to present the results. To compute the normalized sentiment percentage, counts of different sentiments were first aggregated by instructors or disciplines. After that, these counts were normalized row-wise to produce the percentages of positive, neutral and negative, respectively. If there was no feedback sentence classified into any of the three sentiment categories, the percentage value was treated as NA and was dropped before doing correlation analysis.

2.6. Resource and Cost Estimation

To compare the resource requirements and cost estimation among different approaches for sentiment analysis, the same laptop with specifications of Intel(R) Core(TM) Ultra 7 155H (1.40 GHz) 64 GB RAM CPU and Google Colab Pro online code editor were used for all the model training and evaluation work. Google Colab Pro subscription provides advanced cloud GPU resources to boost model training. NVIDIA A100 GPU with 80 GB of GPU memory (NVIDIA Corporation, Santa Clara, CA, USA), accessed through Google Colab online code editor, was used in this study wherever a GPU was mentioned.
The resources and cost were estimated from the following aspects: manual data annotation, deployment environment, computing power, model training time, model training cost, API dependence, data prediction time, and data prediction cost. Table 2 shows the detailed explanations of the resource and cost estimation items, and how they are calculated for comparison. GPU usage cost was $0.8365 per hour, calculated based on the Google Colab Pro subscription fee and computing units. OpenAI model fine-tuning and API calling relevant costs were retrieved directly from the OpenAI usage and billing information dashboard. All the costs in this paper were calculated using US dollars, and the exchange rate of 1.30 between US dollars and Singapore dollars was used.
Table 2. Resource and cost estimation explanations and metrics.

3. Results

3.1. Comparison of Different Model Performance

Performances of different models in various evaluation metrics are displayed in Figure 1, and the specific values of all five metrics (accuracy, weighted precision, weighted recall, weighted F1-score with 95% CI, and MCC) are listed in Table 3. Figure 1 shows an upward trend of all five metrics from lexicon-based methods, traditional machine learning classifiers, and deep learning models until the peak brought by fine-tuned GPT-4.1-mini. The performance metrics of nonstudent feedback data fine-tuned RoBERTa and prompt-based classifications stayed at a relatively low level, which was close to those from deep learning models. Table 3 shows that lexicon-based approaches had the poorest performance, with weighted F1-scores of 0.53, 0.48, and 0.48 for VADER, AFINN, and TextBlob, respectively. Traditional machine learning classifiers, NB, SVM, and XGBoost, show only moderate improvements compared to lexicon-based methods, with weighted F1-scores increased to 0.65 (NB), 0.64 (SVM) and 0.62 (XGBoost). Deep learning models (CNN and Bi-LSTM) performed slightly better than traditional machine learning models, with weighted F1-scores of 0.71 and 0.74. Notably, fine-tuning transformer-based models such as fine-tuned BERT and fine-tuned GPT-4.1-mini delivered the best performance, as the weighted F1-score increased dramatically to 0.86 and 0.90. Fine-tuned RoBERTa demonstrated lower performance, with a weighted F1-score of only 0.67, which was even poorer than deep learning models. Prompt-based classification shows slightly better performance than deep learning models, but not as good as fine-tuned LLMs. Direct inference using Llama-3.1-8B and GPT-4.1-mini with the designed prompt (See Appendix A, Prompt 1) delivered weighted F1-scores of 0.76 and 0.79, respectively. In contrast, results show lower weighted F1-scores (weighted F1-scores of 0.70 and 0.75 for Llama-3.1-8B and GPT-4.1-mini, respectively) if a simpler prompt (see Appendix A, Prompt 2) was used for sentiment classification. The MCC values are also presented in Table 3 to provide an additional assessment of classification performance. Higher MCC values indicate stronger agreement between predicted and actual sentiment labels. The MCC results generally followed the performance patterns observed for weighted F1-scores, providing complementary information on the classification performance of the different sentiment analysis approaches.
Figure 1. Performance comparison of different approaches.
Table 3. Performance of different approaches in various evaluation metrics.
The 95% bootstrap CIs for weighted F1-scores are presented in Table 3 following each weighted F1-score. These intervals provide estimates of the uncertainty associated with the classification performance of all sentiment analysis models. The results showed that fine-tuned GPT-4.1-mini achieved the highest weighted F1-score of 0.90, with a 95% CI of [0.87, 0.92], whereas AFINN and Textblob recorded the same lowest weighted F1-scores of 0.48, with a 95% CI of [0.44, 0.53] and [0.44, 0.52], respectively. Overall, the CIs provide additional information on the precision of the estimated classification performance across the different sentiment analysis approaches. Furthermore, Table 4 presents the results of the paired permutation tests comparing the weighted F1-scores of five representative sentiment analysis models. All ten pairwise comparisons showed statistically significant differences after applying the Holm–Bonferroni correction (all adjusted p < 0.05). These results provide statistical evidence of performance differences among the selected model configurations.
Table 4. Pairwise comparisons of weighted F1-scores from different models.
We also compared the performance of different approaches across sentiment categories. As illustrated in Figure 2, the radar graph shows the performance of different approaches across the three different sentiment categories, with the r-axis displayed in the form of the F1-score. In general, it shows that all the models performed better in the positive sentiment category, while showing lower performance in the neutral and negative sentiment categories. Consistent with our findings on overall F1-score, fine-tuned GPT-4.1-mini and fine-tuned BERT demonstrated the best performance in all three sentiment categories. Among these two, fine-tuned GPT-4.1-mini showed equally outstanding performance for classifying both positive and negative feedback. The F1-score values of different approaches regarding the three sentiment categories are shown in Table 5.
Figure 2. Performance comparison (F1-score) of different approaches by sentiment category.
Table 5. Performance of different approaches in F1-score by sentiment category.
Overall, the comparisons indicate that the fine-tuned GPT-4.1-mini demonstrated the highest performance, followed by fine-tuned BERT. Considering the five main approaches, the general performance ranking from highest to lowest is: fine-tuned LLMs, prompt-based classification using LLMs, deep learning models, traditional machine learning models, and lexicon-based methods.

3.2. Model Validation Results

Since fine-tuned GPT-4.1-mini demonstrated the best performance, we evaluated its model validity by examining the correlations between the normalized sentiment percentages and the aggregated average score of quantitative feedback. We hypothesized that instructors with higher quantitative ratings would also receive higher positive sentiment scores and lower negative sentiment scores (indicating greater student satisfaction). Fine-tuned GPT-4.1-mini was used to make predictions on all 6 semesters’ qualitative feedback data, and correlation analysis was conducted at both instructor and discipline levels. As Table 6 shows, when the score and normalized sentiment percentage data were aggregated by instructor, the average score of quantitative feedback positively correlated with normalized positive sentiment percentage (+0.762) and negatively correlated with normalized negative sentiment percentage (−0.707). Similarly, when the data were grouped by discipline, the average score of quantitative feedback was positively correlated with normalized positive sentiment percentage (r = +0.628) and negatively correlated with normalized negative sentiment percentage (r = −0.625). The alignment between quantitative ratings and qualitative feedback shows the validity of the sentiment model (fine-tuned GPT-4.1-mini) for capturing the emotional information expressed in students’ written feedback.
Table 6. Correlations between average score and normalized sentiment percentage.

3.3. Estimated Resource Requirements and Costs

A comparison of the resources required and estimated cost associated with different approaches is presented in Table 7. It shows that all approaches required manually annotated data except for the lexicon-based method and prompt-based classification approach.
Table 7. Resource and cost estimation of different approaches.
As for computing power, a GPU was needed for fine-tuning BERT and prompt-based classification with Llama-3.1-8B, while the rest could be implemented using a laptop with a CPU.
The model training time was recorded as 0 for lexicon-based methods because neither annotated data nor model training were required. The training of traditional machine learning and deep learning models could generally be completed within a minute, whereas fine-tuning the BERT model required 5.066 min. Fine-tuning GPT-4.1-mini through OpenAI’s fine-tuning platform took longer (49.983 min), but the process is straightforward as it is a no-code platform. Training times were marked as NA for prompt-based classification approaches and fine-tuned RoBERTa due to limited disclosed information.
Regarding model training cost, fine-tuning of BERT and GPT-4.1-mini cost only $0.0706 and $0.974, respectively. The initial model training cost of GPT-4.1-mini, Llama-3.1-8B, and fine-tuned RoBERTa was not publicly disclosed. No cost was incurred for model training in the remaining approaches.
The prediction time for 10k feedback sentences using lexicon-based, traditional machine learning, and deep learning approaches was in seconds. Fine-tuned LLMs took longer, ranging from one to seven minutes. By means of asynchronous API call supported by OpenAI, prediction on 10k data via direct inference from GPT-4.1-mini could be completed in 4.823 min, while this time (53.478 min) was much longer for using Llama-3.1-8B in Colab.
The costs for predicting every 10k data points by direct inference from GPT-4.1-mini and Llama-3.1-8B were $0.746 and $1.680, respectively, while using fine-tuned GPT-4.1-mini and fine-tuned BERT was less than 20 cents.

4. Discussion and Conclusions

This study systematically compared multiple approaches to sentiment analysis of qualitative student feedback, from lexicon-based methods, traditional machine learning models, deep learning models, fine-tuned LLMs, to prompt-based classification with LLMs. In terms of predictive performance, results show a downward trend with weighted F1-score as the following: fine-tuned GPT-4.1-mini (0.90), fine-tuned BERT (0.86), prompt-based GPT-4.1-mini (0.79), prompt-based Llama-3.1-8B (0.76), Bi-LSTM (0.74), CNN (0.71), fine-tuned RoBERTa (0.67), NB (0.65), SVM (0.64), XGBoost (0.62), VADER (0.53), AFINN and TextBlob (both were 0.48). Their performance reflects the progressive improvement in how models acquire linguistic representations. Models with large-scale pretraining and contextualized representations are better able to infer sentiment from implicit and compositional cues, enabling more accurate classification, whereas deep learning models are confined to the representations learned solely from the task-specific data, and feature-engineered and lexicon-based approaches remain constrained by surface-level signals [24,55].
Fine-tuned LLMs achieved the highest performance in our study, especially fine-tuned GPT-4.1-mini and fine-tuned BERT. Although the exact parameter information of GPT-4.1-mini is not publicly disclosed, it is described as a large language model with substantially greater representational capacity than earlier pretrained models such as BERT. As such, after fine-tuning with the same labeled data, it is expected that fine-tuned GPT-4.1-mini outperforms fine-tuned BERT. However, among the fine-tuned LLMs, fine-tuned RoBERTa from Hugging Face demonstrated lower performance with a weighted F1-score of only 0.67, which was even poorer than deep learning models. One possible explanation is domain mismatch: RoBERTa was fine-tuned based on social media text, which differs substantially from the linguistic characteristics of student feedback. Prior research suggested that pre-trained models often do not reliably transfer across domains without fine-tuning on the representative domain data [56]. These findings indicate the importance of both advanced model architecture and domain-specific annotated data for achieving robust sentiment classification performance.
Prompt-based classification using LLMs had the second-best performance. Despite the GPT-4.1-mini model being introduced later than Llama-3.1-8B, the architecture and parameterization of GPT-4.1-mini are not publicly documented. As a result, there is insufficient evidence indicating GPT-4.1-mini’s superior performance over Llama-3.1-8B. Our study contributed to the literature by suggesting that GPT-4.1-mini could achieve marginally better performance than the Llama-3.1-8B model with identical prompts, regardless of the prompt complexity. Compared to fine-tuning LLMs, prompt-based classification provides convenience by avoiding LLM fine-tuning and sparing effort on manual data annotation. However, achieving good accuracy still requires careful prompt design, iterative testing, and systematic evaluation.
The results show that deep learning models performed slightly worse compared to prompt-based classification, but the difference was marginal. GloVe was used for text embedding, which is a large-scale pretrained, but not contextualized, representation. Thus, deep learning models could potentially deliver comparable performance if contextualized representations such as BERT embeddings were used for subsequent model training. Delving into the two deep learning models used in our study, Bi-LSTM demonstrated better performance than CNN, which is consistent with previous research results [19]. Following on, traditional machine learning models yielded the expected lower performance than deep learning models because they rely on fixed feature representations (e.g., bag-of-words or TF-IDF) while deep learning models learn contextual and hierarchical representations directly from data [23]. The use of TF-IDF as a text embedding could also be a limitation because it captures word frequency patterns but ignores contextual and semantic relationships among words. Among the traditional machine learning models, NV, SVM, and XGBoost exhibited comparable performance, with no substantial differences observed in their weighted F1-scores. This convergence in performance likely reflects the shared reliance on fixed feature representations such as TF-IDF, which limits the extent to which differences among classification algorithms translate into substantial performance gains.
Lastly, the lexicon-based method demonstrated the poorest performance. This is expected, as their fixed vocabularies and rule-based nature limit their ability to adapt to new expressions or learn from data, leading to lower generalizability compared to machine learning- or transformer-based models [57]. VADER performed better than AFINN and TextBlob. This could be attributed to its integration of rule-based heuristics that explicitly model linguistic cues such as negation, degree modifiers, capitalization, and punctuation emphasis, rather than relying solely on word-level polarity aggregation. By adjusting sentiment scores based on these contextual cues, VADER is able to capture the sentiment intensity and compositional meaning commonly present in student feedback better [58].
The additional statistical analyses further strengthen the comparison of different sentiment analysis approaches. The 95% bootstrap CIs provide information on the uncertainty associated with the estimated weighted F1-scores, while the paired permutation tests showed statistically significant performance differences across all ten comparisons of the five representative models after Holm–Bonferroni correction (all adjusted p < 0.05). These findings provide further evidence of performance differences among the selected model configurations.
For sentiment annotation, our findings suggest that distinguishing between neutral and mild negative feedback was more challenging than identifying positive feedback, both for human annotators and machine models. This difficulty likely arises from the inherent ambiguity of mildly negative or suggestion-like statements. This is consistent with previous research, which suggested that such ambiguity leads to uncertainty for human annotators and systematic misclassification by machine models, highlighting the distinction between neutral and weakly expressed sentiment as a critical source of error in sentiment annotation and classification [59,60,61].
With regard to model validation, we found that the normalized positive sentiment percentage positively correlated with average score, while the normalized negative sentiment percentage was negatively correlated with average score, regardless of whether the scores were aggregated at both instructor and discipline levels. The result is aligned with our theoretical expectations that higher-rated instructors receive more positive qualitative feedback and fewer negative comments. Notably, the correlation coefficients were stronger when data were aggregated at the instructor level than at the discipline level. This pattern may be attributed to the aggregation of multiple student responses per instructor, which reduces measurement error and increases reliability [17], and in turn strengthens the observed correlations. In contrast, discipline-level aggregation introduces greater heterogeneity by combining instructors with different teaching styles, course structures, and student populations, which attenuate correlations [62,63].
We also compared resources and costs for model training and application, as these factors are important for researchers when selecting the appropriate sentiment analysis approach. Our findings suggest that for datasets with complex contextual information, LLM-based methods should be considered. In particular, fine-tuning GPT-4.1-mini and BERT delivered the best performance in this study, achieving strong results within a reasonable timeframe and cost. Fine-tuning BERT requires a GPU, but these are now easily accessible through cloud platforms such as Google Colab and Kaggle. In comparison, fine-tuned RoBERTa is convenient to download and use without manual data annotation and model fine-tuning; however, it should be noted that it has not been fine-tuned on educational domain data. Prompt-based classification methods require no data annotation and incur minimal cost. Despite their similar performance, direct inference using GPT-4.1-mini is easier compared to using Llama-3.1-8B, as a GPU is needed to run Llama-3.1-8B in Colab and it takes much longer to generate data predictions. Traditional machine learning models and deep learning models can provide favorable accurate results without GPU resources needed. Model training and prediction of new data can be completed quickly with no extra cost. However, manual data annotation is needed to train machine learning models. Lastly, although lexicon-based methods demonstrate the poorest performance, their main advantage is that they do not require any data annotation, model training, or additional cost. They also demand the least time and resources for predictions of all the approaches discussed. Taken together, these considerations can guide researchers and institutions in selecting the sentiment analysis approach that best balances performance, cost, and resource requirements.
This study also has a few limitations that point to future research.
(1) Although the model training dataset incorporated student feedback from different schools, disciplines, and instructors, the reported results represent overall classification performance across the combined feedback dataset but did not separately examine variations in sentiment classification performance across these educational contexts. Future research could investigate the generalizability of sentiment analysis methods across different educational contexts.
(2) In this study, BERT and GPT-4.1-mini were fine-tuned using annotated student feedback, whereas social-media-text fine-tuned RoBERTa was employed as an off-the-shelf sentiment classifier. Consequently, the observed differences in classification performance cannot be attributed exclusively to model architecture or domain-specific fine-tuning. The results imply the potential impact of domain-specific adaptation when applying sentiment analysis models to educational feedback. However, future research could adopt more controlled experimental designs, such as comparing models fine-tuned on the same domain-specific dataset, to isolate the effects of model architecture and domain adaptation.
(3) A single training–test data split approach was employed to compare the performance of different sentiment analysis approaches. Although bootstrap CIs and paired permutation tests were used to assess uncertainty in the observed classification performance and differences between selected models, repeated training with different random seeds was not conducted. Consequently, potential variations in performance arising from the training process or alternative data splits were not evaluated. Future research could incorporate repeated training experiments to further assess model stability and the robustness of the observed performance differences.
(4) As prompt design can substantially influence sentiment classification performance, future studies could explore more systematically developed and refined prompts to better understand their impact on model performance.
(5) Despite this study comparing the resources and costs associated with different approaches, it did not examine data security and privacy. Given that deploying large-scale LLMs locally remains impractical for most researchers and institutions, data privacy should be carefully evaluated before the data is sent to any third-party service providers, particularly when working with highly sensitive educational data.
In summary, this study conducted a systematic comparison of multiple sentiment analysis approaches, evaluating them from both performance and resource-cost perspectives. The findings offer empirical insights to help researchers and practitioners select appropriate sentiment analysis methods for university student feedback, balancing analytical accuracy with technical and practical constraints. Although this work does not evaluate pedagogical interventions, the comprehensive and comparative elaborations on different sentiment analysis approaches have the potential to support evidence-informed teaching and learning practices.

Author Contributions

Conceptualization, F.L.; methodology, C.L. and F.L.; software, C.L.; formal analysis, C.L.; data curation, C.L.; writing—original draft preparation, C.L.; writing—review and editing, F.L.; supervision, F.L.; project administration, C.L. and F.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

This study was approved by an ethics committee at Singapore University of Social Sciences with ID: APL-0196-2023-EXE-01. All procedures adhered to ethical guidelines to protect participant privacy and ensure responsible data use.

Data Availability Statement

The data used in this study were from university teaching evaluations. Due to institutional data protection and confidentiality requirements, the dataset cannot be made publicly available.

Acknowledgments

This work was supported by Singapore University of Social Sciences (SUSS) under the strategic plan fund (Strategic Thrust 2). The views expressed in this paper, including any findings, interpretations, and conclusions, are solely those of the authors and do not necessarily represent or reflect the official policy or position of the university. Any errors or omissions are the sole responsibility of the authors. During the preparation of this manuscript/study, the authors used ChatGPT-4.1-mini (OpenAI, San Francisco, CA, USA) for the purposes of improving the language (i.e., grammar and wording). After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BERTBidirectional Encoder Representations from Transformers
Bi-LSTMBidirectional Long Short-Term Memory
CIConfidence Interval
CNNConvolutional Neural Network
DTDecision Tree
DTLPDeep Learning and Teaching Process
GloVeGlobal Vectors for Word Representation
LRLogistic Regression
MCCMatthews Correlation Coefficient
MNBMultinomial Naïve Bayes
NBNaïve Bayes
NLTKNatural Language Toolkit
RFRandom Forest
RNNRecurrent Neural Network
RoBERTaRobustly Optimized BERT Pretraining Approach
SETStudent Evaluation of Teaching
SVMSupport Vector Machine
TF-IDFTerm Frequency-Inverse Document Frequency
XGBoosteXtreme Gradient Boosting

Appendix A

Appendix A.1. Prompt 1

Detect the sentiment of the following student feedback and classify the feedback into only one of the below three sentiment categories: Negative, Neutral, or Positive.
Follow below rules when labelling the sentiment.
(1) Label the sentiment as “Positive” when it is the single emotion tone in the feedback.
(2) Label the sentiment carefully when the feedback contains both Positive and Negative emotions. e.g., Professor is clear and concise in his explanations, however the content covered can be slightly dry at times so it will be nice if he was more engaging. → Negative.
The abovementioned teaching associate, though strict, has her way of conducting her lessons to make it engaging even with it being an online session due to the pandemic. → Positive.
(3) Label the sentiment as “Neutral” if there is no emotion tone, or emotion tone is not clear, or the meaning is unclear, or the feedback is fragmented sentence with unclear meaning.
(4) When the feedback is like suggestion.
a. Label it as “Neutral” when it just describes the facts without any emotion tone.
b. If it is enhancement-oriented suggestion which focuses on optional improvements, or do not imply dissatisfaction, or do not identify a teaching problem, or could be additional improvement, then label it as “Neutral”.
e.g., Would be even more engaging to include tools like Kahoot and Mentimeter etc. → Neutral.
c. If it is problem-oriented suggestion which points out teaching weaknesses, or indicates dissatisfaction or unmet expectations, or highlights a mismatch between student needs and actual teaching, then then label it as “Negative”.
e.g., A slower teaching pace would be better. → Negative.
Too many interactive activities going on, as a working adult, my work schedule does not allow me to constantly attend class or complete “homework” before due date. → Negative.
Answer with one word only.

Appendix A.2. Prompt 2

Detect the sentiment of the following text and classify the text into only one of the below three sentiment categories: Negative, Neutral, or Positive.
Answer with one word only.

Appendix B

Table A1. Hyperparameter settings and implementation configurations of sentiment classification models.

References

  1. Alhija, F.N.-A.; Fresko, B. Student Evaluation of Instruction: What Can Be Learned from Students’ Written Comments? Stud. Educ. Eval. 2009, 35, 37–44. [Google Scholar] [CrossRef] [Scilit]
  2. Kastrati, Z.; Dalipi, F.; Imran, A.S.; Pireva Nuci, K.; Wani, M.A. Sentiment Analysis of Students’ Feedback with NLP and Deep Learning: A Systematic Mapping Study. Appl. Sci. 2021, 11, 3986. [Google Scholar] [CrossRef] [Scilit]
  3. Dake, D.K.; Gyimah, E. Using Sentiment Analysis to Evaluate Qualitative Students’ Responses. Educ. Inf. Technol. 2023, 28, 4629–4647. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Shaik, T.; Tao, X.; Dann, C.; Xie, H.; Li, Y.; Galligan, L. Sentiment Analysis and Opinion Mining on Educational Data: A Survey. Nat. Lang. Process. J. 2023, 2, 100003. [Google Scholar] [CrossRef] [Scilit]
  5. Wook, M.; Razali, N.A.M.; Ramli, S.; Wahab, N.A.; Hasbullah, N.A.; Zainudin, N.M.; Talib, M.L. Opinion Mining Technique for Developing Student Feedback Analysis System Using Lexicon-Based Approach (OMFeedback). Educ. Inf. Technol. 2020, 25, 2549–2560. [Google Scholar] [CrossRef] [Scilit]
  6. Rajput, Q.; Haider, S.; Ghani, S. Lexicon-Based Sentiment Analysis of Teachers’ Evaluation. Appl. Comput. Intell. Soft Comput. 2016, 2016, 1–12. [Google Scholar] [CrossRef] [Scilit]
  7. Aung, K.Z.; Myo, N.N. Sentiment Analysis of Students’ Comment Using Lexicon Based Approach. In Proceedings of the 2017 IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS); IEEE: Wuhan, China, 2017; pp. 149–154. [Google Scholar]
  8. Firdaus, R.; Asror, I.; Herdiani, A. Lexicon-Based Sentiment Analysis of Indonesian Language Student Feedback Evaluation. Indones. J. Comput. Indo-JC 2021, 6, 1–12. [Google Scholar] [CrossRef]
  9. Almosawi, M.M.; Mahmood, D.S.A. Lexicon-Based Approach For Sentiment Analysis To Student Feedback. Webology 2022, 19, 6971–6989. [Google Scholar]
  10. Santhanam, E.; Lynch, B.; Jones, J. Making Sense of Student Feedback Using Text Analysis—Adapting and Expanding a Common Lexicon. Qual. Assur. Educ. 2018, 26, 60–69. [Google Scholar] [CrossRef] [Scilit]
  11. Aue, A.; Gamon, M. Customizing Sentiment Classifiers to New Domains: A Case Study. In Proceedings of the International Conference on Recent Advances in Natural Language Processing, Borovets, Bulgaria, 21–23 September 2005. [Google Scholar]
  12. Pang, B.; Lee, L. Opinion Mining and Sentiment Analysis. Found. Trends Inf. Retr. 2008, 2, 1–135. [Google Scholar] [CrossRef] [Scilit]
  13. Spooren, P.; Brockx, B.; Mortelmans, D. On the Validity of Student Evaluation of Teaching: The State of the Art. Rev. Educ. Res. 2013, 83, 598–642. [Google Scholar] [CrossRef] [Scilit]
  14. Gottipati, S.; Shankararaman, V.; Lin, J. Latent Dirichlet Allocation for Textual Student Feedback Analysis. In Proceedings of the 26th International Conference on Computers in Education (ICCE 2018), Manila, Philippines, 26–30 November 2018; pp. 220–227. [Google Scholar]
  15. Nasim, Z.; Rajput, Q.; Haider, S. Sentiment Analysis of Student Feedback Using Machine Learning and Lexicon Based Approaches. In Proceedings of the 2017 International Conference on Research and Innovation in Information Systems (ICRIIS); IEEE: Langkawi, Malaysia, 2017; pp. 1–6. [Google Scholar]
  16. Dsouza, D.D.; Nayak, D.P.; Machado, E.J. Sentimental Analysis of Student Feedback Using Machine Learning Techniques. Int. J. Recent Technol. Eng. 2019, 8, 896–991. [Google Scholar]
  17. Shrout, P.E.; Fleiss, J.L. Intraclass Correlations: Uses in Assessing Rater Reliability. Psychol. Bull. 1979, 86, 420–428. [Google Scholar] [CrossRef] [PubMed]
  18. Hanif, K.; Fadllullah, A.; Muntiari, N.R.; Fahrezi, I.A. A Comparative Sentiment Analysis of Computer Engineering Student Feedback Using Decision Trees and SVM. J. Inotera 2025, 10, 71–82. [Google Scholar] [CrossRef] [Scilit]
  19. Abdi, A.; Sedrakyan, G.; Veldkamp, B.; Van Hillegersberg, J.; Van Den Berg, S.M. Students Feedback Analysis Model Using Deep Learning-Based Method and Linguistic Knowledge for Intelligent Educational Systems. Soft Comput. 2023, 27, 14073–14094. [Google Scholar] [CrossRef] [Scilit]
  20. Kandhro, I.A.; Wasi, S.; Kumar, K.; Rind, M.; Ameen, M. Sentiment Analysis of Student’s Comment by Using Long-Short Term Model. Indian J. Sci. Technol. 2019, 12, 1–16. [Google Scholar] [CrossRef] [Scilit]
  21. Ahmed, N.; Khouro, M.A.; Khan, A.; Dawood, M.; Dootio, M.A.; Jan, N.U. Student Textual Feedback Sentiment Analysis Using Machine Learning Techniques to Improve the Quality of Education. Pak. J. Eng. Technol. Sci. 2023, 11, 32–40. [Google Scholar] [CrossRef] [Scilit]
  22. Routray, P.; Swain, C.K.; Balabantaray, R.C. Sentiment Analysis from Student Feedbacks Using Supervised Machine Learning Approaches. In Innovations in Intelligent Computing and Communication; Panda, M., Dehuri, S., Patra, M.R., Behera, P.K., Tsihrintzis, G.A., Cho, S.-B., Coello Coello, C.A., Eds.; Springer International Publishing: Cham, Switzerland, 2022; Volume 1737, pp. 273–288. [Google Scholar]
  23. Alslaity, A.; Orji, R. Machine Learning Techniques for Emotion Detection and Sentiment Analysis: Current State, Challenges, and Future Directions. Behav. Inf. Technol. 2024, 43, 139–164. [Google Scholar] [CrossRef] [Scilit]
  24. Minaee, S.; Kalchbrenner, N.; Cambria, E.; Nikzad, N.; Chenaghlu, M.; Gao, J. Deep Learning-Based Text Classification: A Comprehensive Review. ACM Comput. Surv. 2022, 54, 1–40. [Google Scholar] [CrossRef] [Scilit]
  25. Sutoyo, E.; Almaarif, A.; Yanto, I.T.R. Sentiment Analysis of Student Evaluations of Teaching Using Deep Learning Approach. In International Conference on Emerging Applications and Technologies for Industry 4.0 (EATI’2020); Abawajy, J.H., Choo, K.-K.R., Chiroma, H., Eds.; Springer International Publishing: Cham, Switzerland, 2021; Volume 254, pp. 272–281. [Google Scholar]
  26. Dervenis, C.; Kanakis, G.; Fitsilis, P. Sentiment Analysis of Student Feedback: A Comparative Study Employing Lexicon and Machine Learning Techniques. Stud. Educ. Eval. 2024, 83, 101406. [Google Scholar] [CrossRef] [Scilit]
  27. Malik, S.Z.; Iqbal, K.; Sharif, M.; Shah, Y.A.; Khalil, A.; Irfan, M.A.; Rosak-Szyrocka, J. Attention-Aware with Stacked Embedding for Sentiment Analysis of Student Feedback through Deep Learning Techniques. PeerJ Comput. Sci. 2024, 10, e2283. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Seemab, S.; Zaigham, M.S.; Bhatti, A.; Khan, H.; Mughal, U.A. Sentiment Analysis of Student Feedback in Higher Education Using Natural Language Processing (NLP). Contemp. J. Soc. Sci. Rev. 2014, 2, 1741–1750. [Google Scholar]
  29. Alamoudi, H.; Aljojo, N.; Munshi, A.; Alghoson, A.; Banjar, A.; Tashkandi, A.; Al-Tirawi, A.; Alsaleh, I. Arabic Sentiment Analysis for Student Evaluation Using Machine Learning and the AraBERT Transformer. Eng. Technol. Appl. Sci. Res. 2023, 13, 11945–11952. [Google Scholar] [CrossRef] [Scilit]
  30. Alotaibi, R. Aspect-Based Sentiment Analysis of Open-Ended Responses in Student Course Evaluation Surveys. Therm. Sci. 2024, 28, 5037–5047. [Google Scholar] [CrossRef] [Scilit]
  31. Jazuli, A.; Widowati; Kusumaningrum, R. Optimizing Aspect-Based Sentiment Analysis Using BERT for Comprehensive Analysis of Indonesian Student Feedback. Appl. Sci. 2024, 15, 172. [Google Scholar] [CrossRef] [Scilit]
  32. Badhan, S.J.; Samsami, R.; Nossoni, G. BOARD #483: Student Feedback Analysis Using Natural Language Processing (NLP) and Sentiment Analysis. In Proceedings of the 2025 ASEE Annual Conference & Exposition, Montreal, QC, Canada, 22–25 June 2025. [Google Scholar] [CrossRef] [Scilit]
  33. Wang, Z.; Denny, P.; Leinonen, J.; Luxton-Reilly, A. Leveraging Large Language Models for Analysis of Student Course Feedback. In Proceedings of the 16th Annual ACM India Compute Conference, Hyderabad, India, 9 December 2023; pp. 76–79. [Google Scholar]
  34. Parker, M.J.; Anderson, C.; Stone, C.; Oh, Y. A Large Language Model Approach to Educational Survey Feedback Analysis. Int. J. Artif. Intell. Educ. 2025, 35, 444–481. [Google Scholar] [CrossRef] [Scilit]
  35. Kuzmanova, J.; Zdravkova, K.; Chorbev, I. RANLP2025 604; Integrating Large Language Models for Comprehensive Study and Sentiment Analysis of Student Feedback. In Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing (RANLP 2025), Varna, Bulgaria, 8–10 September 2025. [Google Scholar]
  36. Shaikh, S.; Daudpota, S.M.; Yayilgan, S.Y.; Sindhu, S. Exploring the Potential of Large-Language Models (LLMs) for Student Feedback Sentiment Analysis. In Proceedings of the 2023 International Conference on Frontiers of Information Technology (FIT), Islamabad, Pakistan, 11 December 2023; pp. 214–219. [Google Scholar]
  37. Kim, J.; Kim, D.; Cho, Y. Sentiment Analysis of Students’ CQI: A Comparative Study Using Textom and ChatGPT Models (3.5 and 4.0). Int. J. Innov. Res. Sci. Stud. 2025, 8, 311–320. [Google Scholar] [CrossRef] [Scilit]
  38. Peña-Torres, J.A. Towards an Improved of Teaching Practice Using Sentiment Analysis in Student Evaluation. Ing. Compet. 2024, 26, e-21013759. [Google Scholar] [CrossRef] [Scilit]
  39. Lin, F.; Li, C.; Lim, R.W.Y.; Lee, Y.H. Empower Instructors with Actionable Insights: Mine and Visualize Student Written Feedback for Instructors’ Reflection. Comput. Educ. Artif. Intell. 2025, 8, 100389. [Google Scholar] [CrossRef] [Scilit]
  40. Landis, J.R.; Koch, G.G. The Measurement of Observer Agreement for Categorical Data. Biometrics 1977, 33, 159. [Google Scholar] [CrossRef] [Scilit]
  41. Nassr, Z.; Benabbou, F.; Sael, N.; Hamim, T. Improving Sentiment Analysis Performance on Imbalanced Moroccan Dialect Datasets Using Resample and Feature Extraction Techniques. Information 2025, 16, 39. [Google Scholar] [CrossRef] [Scilit]
  42. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  43. Huang, Y.; Xu, J.; Lai, J.; Jiang, Z.; Chen, T.; Li, Z.; Yao, Y.; Ma, X.; Yang, L.; Chen, H.; et al. Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey 2024. arXiv 2024, arXiv:2311.12351. [Google Scholar]
  44. 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; Association for Computational Linguistics: Minneapolis, MN, USA, 2019; pp. 4171–4186. [Google Scholar]
  45. Radford, A.; Narasimhan, K.; Salimans, T.; Sutskever, I. Improving Language Understanding by Generative Pre-Training; OpenAI: San Francisco, CA, USA, 2018. [Google Scholar]
  46. Pilicita, A.; Barra, E. LLMs in Education: Evaluation GPT and BERT Models in Student Comment Classification. Multimodal Technol. Interact. 2025, 9, 44. [Google Scholar] [CrossRef] [Scilit]
  47. Lin, F.; Li, C.; Lim, R.W.Y.; Lee, Y.H. Developing a Feedback Analytic Tool to Support Instructor Reflection. Int. Conf. Comput. Educ. 2024. [Google Scholar] [CrossRef] [Scilit]
  48. Loureiro, D.; Barbieri, F.; Neves, L.; Anke, L.E.; Camacho-Collados, J. TimeLMs: Diachronic Language Models from Twitter 2022. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, Dublin, Ireland, 22–27 May 2022. [Google Scholar]
  49. Gupta, S.; Singh, A.; Kumar, V. Emoji, Text, and Sentiment Polarity Detection Using Natural Language Processing. Information 2023, 14, 222. [Google Scholar] [CrossRef] [Scilit]
  50. Saeheaw, T. Grünwald–Letnikov Fractional Ensemble with α-Specific Power Weighting for Multi-Cancer Classification. Analytics 2026, 5, 37. [Google Scholar] [CrossRef] [Scilit]
  51. Conti, E.; Rosati, R.; Federici, L.; Mancini, A.; Fiorentino, M.C. Challenging DINOv3 foundation model under low inter-class variability: A case study on fetal brain ultrasound. Neural Comput. Appl. 2026, 38, 487. [Google Scholar] [CrossRef] [Scilit]
  52. Sugiharto, W.H.; Primadasa, R.; Murti, A.C.; Nindyasari, R.; Susanto, H. Graph-informed temporal fusion transformer (GIFT) for spatio-temporal water quality classification. Discov. Artif. Intell. Discov. Artif. Intell. 2026, 6, 821. [Google Scholar] [CrossRef] [Scilit]
  53. Kim, J.; Kim, Y.; Kim, H.; Seo, M.Y.; Kwon, S.Y.; Lee, H. Development and validation of a deep learning model for identifying high-quality laryngoscopic images. Sci. Rep. 2026, 16, 8085. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  54. Asuero, A.G.; Sayago, A.; González, A.G. The Correlation Coefficient: An Overview. Crit. Rev. Anal. Chem. 2006, 36, 41–59. [Google Scholar] [CrossRef] [Scilit]
  55. 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. Front. Comput. Sci. 2026, 20, 2012627. [Google Scholar] [CrossRef] [Scilit]
  56. Gururangan, S.; Marasović, A.; Swayamdipta, S.; Lo, K.; Beltagy, I.; Downey, D.; Smith, N.A. Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5–10 July 2020. [Google Scholar]
  57. Cambria, E.; Schuller, B.; Xia, Y.; Havasi, C. New Avenues in Opinion Mining and Sentiment Analysis. IEEE Intell. Syst. 2013, 28, 15–21. [Google Scholar] [CrossRef] [Scilit]
  58. Youvan, D.C. Understanding Sentiment Analysis with VADER: A Comprehensive Overview and Application. ResearchGate 2024. [Google Scholar] [CrossRef]
  59. Mohammad, S. A Practical Guide to Sentiment Annotation: Challenges and Solutions. In Proceedings of the 7th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis; Association for Computational Linguistics: San Diego, CA, USA, 2016; pp. 174–179. [Google Scholar]
  60. Koppel, M.; Schler, J. The Importance of Neutral Examples for Learning Sentiment. Comput. Intell. 2006, 22, 100–109. [Google Scholar] [CrossRef] [Scilit]
  61. Wiebe, J.; Wilson, T.; Cardie, C. Annotating Expressions of Opinions and Emotions in Language. Lang. Resour. Eval. 2005, 39, 165–210. [Google Scholar] [CrossRef] [Scilit]
  62. Diez Roux, A.V. A Glossary for Multilevel Analysis. J. Epidemiol. Community Health 2002, 56, 588–594. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  63. Curran, P.J.; Bauer, D.J. The Disaggregation of Within-Person and Between-Person Effects in Longitudinal Models of Change. Annu. Rev. Psychol. 2011, 62, 583–619. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.