NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning".
Title and authors: Tom: So, we're diving into the paper "NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning." It sounds like they’re tackling a real problem right there in the Vietnamese education space.
Jane: Right, Tom. The main thing here is that existing educational datasets just don't have enough relevance for the local context, especially when it comes to student slang and forum posts in Vietnam.
Lu: Exactly. They're proposing NEU-ESC as this new resource, curated from university forums, which they say offers more samples and richer class diversity than what was out there before > Page two of that work reads: "However, there is a notable lack of comprehensive datasets about education in Vietnam that offer deep classification of content, particularly from university forums <ref:2506.23524#pg2,However, there is a notable lack of comprehensive datasets about education in>."
Meng: I'm interested in the scale. How big is this dataset they're talking about? Because if it’s small, it won’t matter when we try to deploy anything at scale > Page nine of that work reads: "After applying the full data curation and preprocessing pipeline, we compiled a final dataset, referred to as the NEU dataset for Educational Sentiment analysis and topic Classification (NEUESC), consisting of nearly thirty-three thousand samples"
Lalam: Thirty-three thousand samples sounds like a solid starting point for training some language models. What exactly did they do to clean up all that raw data from those university forums > Page nine of that work reads: "This pipeline involved cleaning the text by removing redundant characters, emojis, special symbols, and other forms of noise that could interfere with downstream natural language processing tasks"
Tom: They handled the linguistic challenges, which is always a huge part of this. I want to know how they managed the Vietnamese specific stuff like teen code or those weird typographical errors > Page nine of that work reads: "Manually constructed mapping dictionaries were used to preserve the semantic meaning of acronyms and shorthand expressions like ‘qtkd’ for Quản trị kinh doanh"
Jane: That manual dictionary thing is interesting because it shows they had to go beyond just basic cleaning to keep the actual meaning intact, like translating 'qtkd' into 'Business Administration' > Page nine of that work reads: "For instance, ‘qtkd’ is a common shorthand for Quản trị kinh doanh (Business Administration), while ‘dsa’ refers to Data Structure and Algorithm"
Lu: The methodology is pretty standard in terms of what they did with the data, but the choice to use BERT for multitask learning is where it gets interesting. They are using encoder-only language models > Page three of that work reads: "Bidirectional Encoder Representations from Transformers (BERT) seven is a pretrained, unsupervised model trained using the English Wikipedia corpus"
Meng: What’s the actual setup for the multitask learning part? Are they just stacking BERT on top of each other, or something more complex > Page fourteen of that work reads: "Our Multitask BERT-base model (Figure two) adopts an approach where a given tokenized sentence undergoes a BERT layer, followed by a linear layer, and then adds layer norms"
Tom: They describe this architecture as having different heads for sentiment and topic classification, which is how you get those two separate predictions from one model > Page fourteen of that work reads: "Our Multitask BERT-base model (Figure two) adopts an approach where a given tokenized sentence undergoes a BERT layer, followed by a linear layer, and then adds layer norms"
Jane: And they also added something called the masked language predicting head. That’s supposed to help with the language understanding part > Page fifteen of that work reads: "To further enhance performance, we incorporate a masked language predicting head into the model (MLM), as extended to the idea of seven twenty-five forty-nine, contributing to improved language understanding and task-specific capabilities"
Lu: They calculate the total loss function by adding all the losses from each head together. That’s how you make sure both tasks get attention during training > Page fifteen of that work reads: "The loss function of the whole multitask model is calculated by adding all losses of each head together as follows"
Meng: But what about deployment? If we take this model and try to run it on real university traffic, how much compute does this multitask BERT-base model actually cost us per inference > Page nineteen of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Tom: They mention that they tested single-task learning versus two-task multitask learning versus methods with SMART loss regularization > Page fourteen of that work reads: "In total, we conducted four experiments to compare different fine-tuning strategies for BERT on two main tasks: topic classification and sentiment analysis"
Jane: And the results pointed toward using that SMART loss regularization method when fine-tuning the model, because it seemed to give them the best performance overall > Page seventeen of that work reads: "The results showed that the multitask model fine-tuned using SMART loss achieved the best performance across both tasks"
Lu: Specifically, they found that phoBERTbase-v2 achieved an accuracy of eighty-three point six six percent on the sentiment analysis task when combined with MLM and SMART loss > Page seventeen of that work reads: "phoBERTbase-v2 achieved an accuracy of eighty-three point six six percent on the sentiment analysis task—the highest among all models tested"
Meng: Eighty-three point six six percent is good, but I need to know if that number holds up when we apply it to real data where things aren't perfectly labeled > Page seventeen of that work reads: "phoBERTbase-v2 achieved an accuracy of eighty-three point six six percent on the sentiment analysis task—the highest among all models tested"
Tom: They also compared NEU-ESC against other datasets like UIT-VSFC and ViHSD, showing it has a larger vocabulary size, with twelve thousand seven hundred fifty nine unique tokens > Page twelve of that work reads: "Table four presents the comparative statistics of NEU-ESC with other datasets"
Jane: So, while they have more text and vocabulary, they also pointed out a limitation about the data distribution itself > Page eleven of that work reads: "The distribution of the number of each sentiment and topic label pair is divided into train, validation, and test sets with a ratio of seven:one:two"
Lu: That imbalance means there's a lot more neutral comments in their training set than positive or negative ones, which is something we have to keep an eye on when we try to deploy this for real educational support > Page thirteen of that work reads: "The comparison highlighted that NEU-ESC contains more diverse vocabulary (twelve thousand seven hundred fifty-nine unique tokens) and maintains a high average sentence length (twenty-five point zero nine words per sample), making it a premier benchmark"
Meng: If the data is imbalanced like that, the model might just learn to predict 'neutral' all the time because that’s what’s most frequent > Page eleven of that work reads: "The distribution of the number of each sentiment and topic label pair is divided into train, validation, and test sets with a ratio of seven:one:two"
Tom: The authors suggest two main improvements for future work. They want to expand the dataset beyond just academic confines > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Jane: They also suggested exploring other techniques like PCGrad for resolving conflicting gradients during multitask learning > Page twenty-one of that work reads: "For example, dealing with the update of layers for two or more conflicting gradients, PCGrad fifty-nine is a great tool for resolving the conflict"
Lu: And they noted that BERT-like models still seem reliable and efficient compared to those newer large language models when you have very specific label spaces > Page twenty of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Meng: So the paper suggests focusing on more diverse subjects in the future while keeping BERT-like models because they’re efficient for what they do > Page twenty of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Lalam: The paper is titled "NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning," which essentially sets up a solid resource for anyone wanting to apply NLP in the Vietnamese education sector > Page one of that work reads: "NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning Phan Quoc Hung Mai Quang Hung Nguyen Phuong Giang Duong Hong Hanh Nguyen Nguyen Tuan Long College of Technology National Economics University Vietnam Corresponding author maphquochung@gmail <ref:2506.23524#pg1,NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic>.com Contributing authors eleven million two hundred twenty-two thousand six hundred eighteen eleven million two hundred twenty-one thousand seven hundred thirty-three eleven million two hundred twenty-two thousand one hundred sixty-four ntlong@neu.edu.vn These authors contributed equally to this work"
Tom: So, to wrap up, the core contribution is this new dataset and the idea that multitask learning with BERT can handle both sentiment and topic classification tasks simultaneously > Page one of that work reads: "NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning Phan Quoc Hung Mai Quang Hung Nguyen Phuong Giang Duong Hong Hanh Nguyen Nguyen Tuan Long College of Technology National Economics University Vietnam Corresponding author maphquochung@gmail <ref:2506.23524#pg1,NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic>.com Contributing authors eleven million two hundred twenty-two thousand six hundred eighteen eleven million two hundred twenty-one thousand seven hundred thirty-three eleven million two hundred twenty-two thousand one hundred sixty-four ntlong@neu.edu.vn These authors contributed equally to this work"
Jane: And the implication is that educators can start tailoring teaching strategies based on real-time student feedback, which is much harder in Vietnamese because we lack these resources > Page two of that work reads: "Text classification and sentiment analysis are prominent tasks in Natural Language Processing (NLP) and have numerous applications across various domains" <ref:2506.23524#pg2,Text classification and sentiment analysis are prominent tasks in Natural Language Processing>
Lu: The main point for future research is expanding the scope to include things like career development or personal finance, moving beyond just academic posts > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Meng: From a deployment standpoint, they're focused on using BERT-like models because they maintain efficiency when dealing with those structured label spaces > Page twenty of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Lalam: So the whole point of NEU-ESC is giving researchers a better way to understand student opinions in Vietnamese education through a rich dataset > Page nineteen of that work reads: "Even though data concerning students' behaviors can be collected through various social media platforms and by a wide range of services, Facebook data offers the most accurate representation of their desires"
The paper's summary: Tom: So, we're talking about the NEU-ESC dataset now > Page one of that work reads: "we introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification, curated from university forums"
Jane: Right. So this is essentially a big collection of student comments from Vietnamese universities used to train AI models to figure out what students are feeling and what topics they’re talking about in school > Page one of that work reads: "we introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification, curated from university forums"
Tom: The main takeaway here is that there just wasn't enough good data available before to really build models for this specific kind of language in Vietnam > Page one of that work reads: "In the field of education, understanding students' opinions through their comments is crucial, especially in the Vietnamese language, where resources remain limited"
Jane: Exactly. It fills a major gap because it gives researchers a much bigger pool to learn from than they had before > Page two of that work reads: "However, there is a notable lack of comprehensive datasets about education in Vietnam that offer deep classification of content, particularly from university forums"
Tom: They built this dataset by pulling data from Facebook groups and then putting in a whole process to clean it up > Page nine of that work reads: "The raw data collection focused primarily on university-related Facebook groups where students frequently engage in discussions"
Jane: And they didn't just clean it up; they had to deal with the messy stuff like internet slang and those typos common in Vietnamese online chats > Page nine of that work reads: "This pipeline involved cleaning the text by removing redundant characters, emojis, special symbols, and other forms of noise that could interfere with downstream natural language processing tasks"
Tom: They even made a little dictionary to fix things like abbreviations—you know, 'qtkd' for business administration—to make sure the AI understood what was actually being said > Page nine of that work reads: "Manually constructed mapping dictionaries were used to preserve the semantic meaning of acronyms and shorthand expressions like ‘qtkd’ for Quản trị kinh doanh"
Jane: And they ended up with nearly thirty-three thousand samples, which is a pretty substantial size for this kind of specialized Vietnamese data > Page nine of that work reads: "After applying the full data curation and preprocessing pipeline, we compiled a final dataset, referred to as the NEU dataset for Educational Sentiment analysis and topic Classification (NEUESC), consisting of nearly thirty-three thousand samples"
Tom: The real magic happens when they use this data to train a multitask model using BERT > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Jane: That means they aren't just training one simple classifier; they're training one model to handle both figuring out if a comment is positive or negative, *and* figuring out what the comment is about all at the same time > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Tom: The architecture they used was smart; they took the BERT sentence, ran it through a layer, then fed it into two separate layers—one for each task—to get the final answers > Page fourteen of that work reads: "Our Multitask BERT-base model (Figure two) adopts an approach where a given tokenized sentence undergoes a BERT layer, followed by a linear layer, and then adds layer norms"
Jane: They also added something called an auxiliary head to predict masked language parts, which helps the whole model understand the language better generally > Page fifteen of that work reads: "To further enhance performance, we incorporate a masked language predicting head into the model (MLM), as extended to the idea of seven twenty-five forty-nine, contributing to improved language understanding and task-specific capabilities"
Tom: And when they tested different ways to fine-tune this model, they found that adding a special regularization method called SMART loss made it work best for both tasks > Page seventeen of that work reads: "The results showed that the multitask model fine-tuned using SMART loss achieved the best performance across both tasks"
Jane: The results showed phoBERTbase-v2 hitting eighty-three point six six percent accuracy on sentiment analysis when they used that combination of MLM and SMART loss > Page seventeen of that work reads: "phoBERTbase-v2 achieved an accuracy of eighty-three point six six percent on the sentiment analysis task—the highest among all models tested"
Tom: What this means for us is that we finally have a solid, high-quality resource to see how AI can actually understand the nuances of student life in Vietnam > Page nineteen of that work reads: "Even though data concerning students' behaviors can be collected through various social media platforms and by a wide range of services, Facebook data offers the most accurate representation of their desires"
Jane: It’s a great resource for anyone trying to build tools that actually speak the local language, moving past just English-based datasets > Page thirteen of that work reads: "Table four presents the comparative statistics of NEU-ESC with other datasets"
Tom: But they also pointed out something important; the data is a bit skewed because most comments are neutral, which means we have to be careful when we try to build systems that make strong judgments > Page eleven of that work reads: "The distribution of the number of each sentiment and topic label pair is divided into train, validation, and test sets with a ratio of seven to one:two"
Jane: So while this dataset is very helpful for getting started, it’s not perfect; it has those limitations we need to consider when we think about using this AI in real settings > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Tom: And for future research, they suggest looking at techniques like PCGrad to help the model handle those conflicting signals when it's trying to do two different things at once > Page twenty-one of that work reads: "For example, dealing with the update of layers for two or more conflicting gradients, PCGrad fifty-nine is a great tool for resolving the conflict"
Jane: So, this paper gives us a strong starting point with a big dataset and a solid multitask model setup, but the next step is making that data even broader and figuring out how to handle those inherent imbalances > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
The paper's improvements: Tom: So, we're looking at what they think is next for this NEU-ESC dataset > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Jane: Right. They’re saying that right now it’s mostly just academic stuff, so they need more real-world things in there like career development or personal finance > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Tom: They’re looking beyond just school posts and wanting conversations about healthcare or global events too > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Jane: That makes sense. It’s about making sure the AI isn't just stuck in an academic bubble and can actually understand real student life > Page twenty-one of that work reads: "In the future, to address this issue, it is crucial to expand the dataset to encompass a wider range of subjects and perspectives"
Tom: And they also mentioned these other ways to fine-tune models, like PCGrad, which helps when you're training multiple tasks simultaneously > Page twenty-one of that work reads: "For example, dealing with the update of layers for two or more conflicting gradients, PCGrad fifty-nine is a great tool for resolving the conflict"
Jane: So it’s about making sure those different learning goals don't fight each other during training and letting the model find a better balance > Page twenty-one of that work reads: "For example, dealing with the update of layers for two or more conflicting gradients, PCGrad fifty-nine is a great tool for resolving the conflict"
Tom: They also have this idea that BERT models are still really efficient when you’re dealing with those specific kinds of structured labels > Page twenty of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Jane: That’s a good point. It means we don't have to jump straight to these massive general language models if we just need something reliable for specific classification tasks > Page twenty of that work reads: "Therefore, for certain downstream tasks, especially those involving structured label spaces or subtle linguistic distinctions, BERT-like models continue to demonstrate strong efficiency and reliability"
Tom: The overall implication is they see this dataset as a solid base for building a monitoring system for university life, but it needs more data to be truly useful > Page twenty of that work reads: "However, the greatest contribution will come in the form of further research to enhance this university life monitoring system"
Jane: So it’s not just about having one good dataset; it’s about a whole plan for how we can keep expanding its scope and improving the model training process > Page twenty of that work reads: "However, the greatest contribution will come in the form of further research to enhance this university life monitoring system"
Conclusion: Tom: So, we’re wrapping up on NEU-ESC: A Comprehensive Vietnamese dataset for Educational Sentiment analysis and topic Classification toward multitask learning > Page one of that work reads: "we introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification toward multitask learning"
Jane: Basically, this paper gives us a very rich, local resource for understanding student opinions in Vietnam across different university forums > Page one of that work reads: "we introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification toward multitask learning"
Tom: The main takeaway is that we can now fine-tune multilingual models to handle both sentiment and topic classification at the same time using this data > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Jane: It shows how much more powerful those combined models are when they have high-quality, specific local training data compared to general ones > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Tom: The implication is that applications in education or any context needing nuanced Vietnamese understanding can now be much more accurate because the model isn't guessing on half the tasks > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Jane: It moves the conversation toward making AI tools that actually understand local culture rather than just translating general concepts > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Tom: Lu, what’s your take on the overall architecture they set up? > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Lu: I think the way they combined BERT with two heads was smart, it lets the model use one representation for both problems, but the MLM head adds complexity > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Meng: From a deployment standpoint, I’m still concerned about the compute cost of running this kind of multitask model at scale > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Lalam: I’m confident because the data quality is high; I’m sure this model will perform well on its target labels > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Tom: Lalam, you’re saying this is a reliable tool for Vietnamese NLP then? > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Jane: Exactly. It gives us a concrete benchmark for what’s possible with local data right now > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Lu: The big picture here is showing that specialized, high-quality datasets can really push the boundaries of what these foundation models can do for specific languages > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Meng: I just hope the next step is focusing on real use cases where the data isn't so skewed, otherwise, this model might just be good at predicting 'neutral' all the time > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Lalam: I’m sure the research team is already planning those expansion steps, but for now, this paper confirms that NEU-ESC is a solid foundation > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Tom: Alright, so NEU-ESC is a solid foundation for multilingual NLP applications then. We’ll be back after the break with a look at how video diffusion models are handling motion consistency > Page one of that work reads: "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to eighty-three point seven percent and seventy-nine point eight percent accuracy for sentiment and topic classification tasks"
Jane: Stay tuned.
College of Technology, National Economics University, Vietnam
cs.CL, cs.AI
Submitted: 2025-06-30
Updated: 2025-06-30
DOI: 10.1007/s42001-026-00516-w
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 77/100
The gist: NEU-ESC introduces a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification to address gaps in existing resources.<ref:2506.23524#pg1, "we introduce NEU-ESC…
Key concepts
- NEU-ESC Dataset
- This is a newly created Vietnamese dataset compiled from university forums and other online sources. It provides a rich collection of text samples specifically for classifying the sentiment (positive, negative, neutral) and topics discussed within educational contexts in Vietnam.
- Multitask Learning
- This technique trains one model to perform multiple related tasks simultaneously. In this paper, a single BERT model is adapted to handle both sentiment analysis and topic classification at the same time, allowing it to learn shared language representations that benefit both classification goals.
- SMART Loss Regularization
- This is a specific fine-tuning method used during model training. It helps make the model more robust by encouraging stable predictions even when input data has small changes or slight errors. This technique improves the model's reliability when trained on limited labeled data.
- BERT-based Models
- BERT (Bidirectional Encoder Representations from Transformers) is a powerful language model used as the backbone for this research. It reads text in both directions, allowing it to understand the context of words better than previous models, making it highly effective for complex natural language processing tasks like sentiment and topic classification.
Terminology
Summary
NEU-ESC introduces a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification to address gaps in existing resources. p. 0 Existing
educational datasets often lack domain relevance and student slang. To address these gaps, we
introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and
Topic Classification, curated from university forums, which offers more samples, richer class
diversity, longer texts, and broader vocabulary. Existing
educational datasets often lack domain relevance and student slang. To address these gaps, we
introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and
Topic Classification, curated from university forums, which offers more samples, richer class
diversity, longer texts, and broader vocabulary. After applying the full data curation and preprocessing pipeline, we compiled a final dataset,
referred to as the NEU dataset for Educational Sentiment analysis and topic Classification (NEUESC), consisting of nearly 33,000 samples. This dataset provides a rich and realistic resource for
tasks such as sentiment analysis, hate speech detection, and opinion mining within the context of
the Vietnamese higher education system. vn; ntlong@neu. vn
*These authors contributed equally to this work
Abstract: In the field of education, understanding students' opinions through their comments is
crucial, especially in the Vietnamese language, where resources remain limited.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Dataset Construction and Curation
The NEU-ESC dataset was curated from university forums and other online sources to provide more samples and richer class diversity.<ref:2506.23524#pg9, "we propose a novel Vietnamese dataset called NEU-ESC for Educational Sentiment Analysis and Topic Classification, which offers more samples, more sentiment and topic classes, a larger sample length, and a larger vocabulary size than existing Vietnamese education datasets">. p. 1 Inspired by these issues, our contributions are two-fold. Firstly, we propose a novel Vietnamese
dataset called NEU-ESC for Educational Sentiment Analysis and Topic Classification, which
offers more samples, more sentiment and topic classes, a larger sample length, and a larger
vocabulary size than existing Vietnamese education datasets. Dataset
In this section, we describe our dataset collection, cleansing, and general statistical analysis of the
composed dataset. Data collection and curation
The raw data for our study was collected from a variety of online sources, with a primary focus on
university-related Facebook groups and community forums where students frequently engage in
discussions. As anticipated, the linguistic quality of the raw data presented several challenges. The use of teen
code (slang, abbreviations, and phonetic spellings), as well as a significant number of
typographical errors, was pervasive. special symbols, and other forms of noise that could interfere with downstream natural language
processing tasks. During this preprocessing phase, we also identified a substantial use of acronyms and shorthand
expressions, particularly related to academic subjects and majors, either in Vietnamese or English. For
instance, ‘qtkd’ is a common shorthand for Quản trị kinh doanh (Business Administration), while
‘dsa’ refers to Data Structure and Algorithm. To preserve the semantic meaning of such terms and
enhance the consistency of our records, we manually constructed a mapping dictionary that
translates these acronyms into their full textual representations. These abbreviations are widely used by students for convenience in casual conversation. For
instance, ‘qtkd’ is a common shorthand for Quản trị kinh doanh (Business Administration), while
‘dsa’ refers to Data Structure and Algorithm. To preserve the semantic meaning of such terms and
enhance the consistency of our records, we manually constructed a mapping dictionary that
translates these acronyms into their full textual representations. After applying the full data curation and preprocessing pipeline, we compiled a final dataset,
referred to as the NEU dataset for Educational Sentiment analysis and topic Classification (NEUESC), consisting of nearly 33,000 samples. To preserve the semantic meaning of such terms and
enhance the consistency of our records, we manually constructed a mapping dictionary that
translates these acronyms into their full textual representations. After applying the full data curation and preprocessing pipeline, we compiled a final dataset,
referred to as the NEU dataset for Educational Sentiment analysis and topic Classification (NEUESC), consisting of nearly 33,000 samples.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Model Architectures and Multitask Learning
The research explores multitask learning using encoder-only language models like BERT.<ref:2506.23524#pg1, "we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to 83. p. 0 To address these gaps, we
introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and
Topic Classification, curated from university forums, which offers more samples, richer class
diversity, longer texts, and broader vocabulary. In addition, we explore multitask learning using
encoder-only language models (BERT), in which we showed that it achieves performance up to
83. In addition, we explore multitask learning using
encoder-only language models (BERT), in which we showed that it achieves performance up to
83. 8% accuracy for sentiment and topic classification tasks. Rather than only fine-tuning on an individual task, one can alternatively make use of multitask
learning to update BERT. Since it is useful for multiple and related tasks to be learned jointly at
the same time, so that the model can share knowledge between different tasks, [44] introduced a
model that incorporates a framework combining a shared BERT layer with task-specific prediction
heads. Techniques in fine-tuning BERT models
There are numerous approaches using transfer learning for text-classification tasks in general, with
BERT, and among them, the two most common techniques are using solely a feed-forward layer
(BERT-Linear) for classification, with the support of the Huggingface library [38-41], or using
one or multiple CNN layers before a classification layer (BERT-CNN) [42, 43]. These types of
networks will be connected after the last hidden layer of BERT, as demonstrated by following the
diagrams of Figure 1. BERT is trained using two
unsupervised objectives: Masked Language Modeling (MLM), where random words are masked
and predicted, and Next Sentence Prediction (NSP), which helps the model understand sentencelevel relationships. Combined with transfer learning, BERT can be fine-tuned for a wide range of
downstream tasks, such as question answering, sentiment analysis, and named entity recognition,
without altering the model architecture. Therefore, the use of a shared BERT layer enables the model to leverage cross-task data
and generate more generalized representations. Meanwhile, [45] attempted to perform multitask
learning by adding each loss together on the tasks of category classification and named entity
recognition:
ℒ𝑡𝑜𝑡𝑎𝑙 = ∑α𝑖ℒ𝑡𝑎𝑠𝑘𝑖
𝑖
As of the paper [46], the authors proposed the round-robin strategy for training on the total loss
function, where the optimizer steps once per task and rotates between tasks on batch levels. Therefore, the use of a shared BERT layer enables the model to leverage cross-task data
and generate more generalized representations. Meanwhile, [45] attempted to perform multitask
learning by adding each loss together on the tasks of category classification and named entity
recognition:
ℒ𝑡𝑜𝑡𝑎𝑙 = ∑α𝑖ℒ𝑡𝑎𝑠𝑘𝑖
𝑖
As of the paper [46], the authors proposed the round-robin strategy for training on the total loss
function, where the optimizer steps once per task and rotates between tasks on batch levels.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Performance Benchmarking and Results
Experiments evaluated various fine-tuning strategies, including single-task learning, two-task multitask learning, and methods incorporating SMART loss regularization.<ref:2506.23524#pg14, "In total, we conducted four experiments to compare different fine-tuning strategies for BERT on two main tasks: topic classification and sentiment analysis">. p. 4 [32] focuses on analyzing hate speech and comments on social media, while [35]
proposes two different datasets for sentiment analysis, namely, VLSP 2016 for news and VLSP
2018 for hotels and restaurants. The UIT-VSFC dataset of [36] comprises over 16,000 student
feedback entries, offering two different label schemes for sentiment-based and topic classification
tasks. VisoBERT shows the best performance in five key natural
language processing tasks: emotion recognition, hate speech detection, sentiment analysis, spam
reviews detection, and hate speech spam detection. vELECTRA [26] is a fine-tuned version of
the ELECTRA architecture [27], specifically adapted for the Vietnamese language using largescale text corpora. VisoBERT shows the best performance in five key natural
language processing tasks: emotion recognition, hate speech detection, sentiment analysis, spam
reviews detection, and hate speech spam detection. vELECTRA [26] is a fine-tuned version of
the ELECTRA architecture [27], specifically adapted for the Vietnamese language using largescale text corpora. BERT is trained using two
unsupervised objectives: Masked Language Modeling (MLM), where random words are masked
and predicted, and Next Sentence Prediction (NSP), which helps the model understand sentencelevel relationships. Combined with transfer learning, BERT can be fine-tuned for a wide range of
downstream tasks, such as question answering, sentiment analysis, and named entity recognition,
without altering the model architecture. In addition, we explore multitask learning using
encoder-only language models (BERT), in which we showed that it achieves performance up to
83. 8% accuracy for sentiment and topic classification tasks. Firstly, we propose a novel Vietnamese
dataset called NEU-ESC for Educational Sentiment Analysis and Topic Classification, which
offers more samples, more sentiment and topic classes, a larger sample length, and a larger
vocabulary size than existing Vietnamese education datasets. Secondly, we provide a detailed
analysis of the NEU-ESC dataset using a variety of Bidirectional Encoder Representations from
Transformers (BERT) variants for both single-task and multitask classification schemes, which
serve as initial benchmarks for our proposed dataset.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Comparative Analysis and Future Scope
The NEU-ESC dataset was benchmarked against other datasets like UIT-VSFC and ViHSD.<ref:2506.23524#pg12, "Table 4 presents the comparative statistics of NEU-ESC with other datasets">. p. 8 Dataset composition
Table 1. Sentiment labels statistics of NEU-ESC
Label Sentiment Count Percentage Mean Length
0 Neutral 22,773 69. Inspired by these issues, our contributions are two-fold. Firstly, we propose a novel Vietnamese
dataset called NEU-ESC for Educational Sentiment Analysis and Topic Classification, which
offers more samples, more sentiment and topic classes, a larger sample length, and a larger
vocabulary size than existing Vietnamese education datasets. [32] focuses on analyzing hate speech and comments on social media, while [35]
proposes two different datasets for sentiment analysis, namely, VLSP 2016 for news and VLSP
2018 for hotels and restaurants. The UIT-VSFC dataset of [36] comprises over 16,000 student
feedback entries, offering two different label schemes for sentiment-based and topic classification
tasks. This distribution indicates a largely neutral tone in
educational discussions, with a relatively small but notable portion of negative and toxic sentiment. Topic classification labels statistics of NEU-ESC
Label Classification Count Percentage Mean Length
0 Spam 405 1. special symbols, and other forms of noise that could interfere with downstream natural language
processing tasks. During this preprocessing phase, we also identified a substantial use of acronyms and shorthand
expressions, particularly related to academic subjects and majors, either in Vietnamese or English. Aggressive fine-tuning frequently leads to overfitting, resulting in the model's failure to generalize
effectively to unseen data. To address this issue in a principled manner, [47] proposes a technique:
Smoothness-inducing regularization (SMART loss regularization), which would effectively
manage the model's complexity. In general, our research emphasizes two objectives:
- Objective 1: Creating the NEU-ESC dataset and evaluating the impact of incorporating
the NEU-ESC dataset to address the current lack of generalization observed in the existing
dataset. - Objective 2: Experiment with different multitask learning techniques to BERT model and
assess its superior performance in comparison to other models in the given tasks. Benchmarking against LLMs is essential because these models set a high
baseline for multilingual understanding, providing a clear reference point for assessing the
effectiveness of our method. Techniques in fine-tuning BERT models
There are numerous approaches using transfer learning for text-classification tasks in general, with
BERT, and among them, the two most common techniques are using solely a feed-forward layer
(BERT-Linear) for classification, with the support of the Huggingface library [38-41], or using
one or multiple CNN layers before a classification layer (BERT-CNN) [42, 43]. In the research [28], the authors used a so-called
BERT-CNN-BiLSTM, along with the BERT-BiGRU of [29] and the combination of attention
mechanism with CNN-GRU [30] to classify posts in the Stanford MOOC Posts dataset to decide
whether the post in three groups A, B, and C is urgent or not. [31] used data mining techniques to
understand campus trends, which highlights the events that attract considerable attention, thus
proving beneficial for both institutional leadership and technology providers aiming to implement
smart campus initiatives. Data collection and curation
The raw data for our study was collected from a variety of online sources, with a primary focus on
university-related Facebook groups and community forums where students frequently engage in
discussions. These platforms were chosen due to their high activity levels and the presence of
organic, user-generated content reflecting real student opinions and experiences. To address this issue in a principled manner, [47] proposes a technique:
Smoothness-inducing regularization (SMART loss regularization), which would effectively
manage the model's complexity. Specifically, in the context of the model 𝑓(∙, 𝜃) and n data points from the target task, represented
as {(𝑥𝑖
, 𝑦𝑖
)}
𝑖=1
𝑛 where xi signifies the embedding of input sentences derived from the initial
embedding layer of the language model (BERT), and yi denotes the corresponding labels, [47] the
approach essentially addresses the following optimization problem for fine-tuning:
𝑚𝑖𝑛𝜃 = ℒ(𝜃) + 𝜆𝑠ℛ𝑠
(𝜃) VisoBERT [25] built on the powerful
XLM-R architecture, it excels in pre-training on a rich and varied dataset of high-quality
Vietnamese social media content. VisoBERT shows the best performance in five key natural
language processing tasks: emotion recognition, hate speech detection, sentiment analysis, spam
reviews detection, and hate speech spam detection. Meanwhile, [45] attempted to perform multitask
learning by adding each loss together on the tasks of category classification and named entity
recognition:
ℒ𝑡𝑜𝑡𝑎𝑙 = ∑α𝑖ℒ𝑡𝑎𝑠𝑘𝑖
𝑖
As of the paper [46], the authors proposed the round-robin strategy for training on the total loss
function, where the optimizer steps once per task and rotates between tasks on batch levels. Similarly, [44] used the same strategy to loop over each batch of different tasks to update the
parameters of the models, and this approach performed well in improving the accuracy rate of each
task. BERT) that incorporates speaker change information and a disentanglement strategy to better
model context in dialogue systems. Furthermore, BERT contributes to sentiment analysis, text
classification, and named entity recognition tasks, providing valuable insights in domains such as
social media monitoring, market research, and healthcare [12-14]. BERT) that incorporates speaker change information and a disentanglement strategy to better
model context in dialogue systems. Furthermore, BERT contributes to sentiment analysis, text
classification, and named entity recognition tasks, providing valuable insights in domains such as
social media monitoring, market research, and healthcare [12-14].Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
For example, dealing with the update of layers for two or more conflicting gradients, PCGrad [59] is a great tool for resolving the conflict
>. The paper also notes that BERT-like models continue to demonstrate strong efficiency and reliability compared to general LLMs for structured label spaces. p. 5Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Multitask BERT model with two heads can simultaneously learn and classify information for both tasks using a unified sentence representation by passing output vectors through two distinct fully connected layers tailored for topic classification and sentiment analysis.
-
A 3-head model combining BERT and a masked language prediction head enhances multitask capabilities, making the system adept at handling diverse natural language processing tasks, although the MLM head's loss tends to dominate overall loss, necessitating scaling down its impact by dividing it by the average number of masked tokens per sentence.
-
Incorporating SMART loss regularization during fine-tuning encourages stable predictions under small adversarial perturbations to the input, thereby enhancing model robustness when fine-tuning large pre-trained language models on limited labeled data.
-
The resulting multitask model, when fine-tuned with two task heads and SMART loss, achieves the best performance across both tasks among all experimented models, specifically reaching accuracies of 83.58% for sentiment analysis and 79.80% for topic classification using VisoBERT.
-
The system can outperform current state-of-the-art models in datasets like VSFC and ViHSD, demonstrating superior performance over Large Language Models (LLMs) in both zero-shot and few-shot settings for the specific tasks of sentiment analysis and topic classification on the NEU dataset.
-
By expanding the dataset to encompass a wider range of subjects such as career development, personal finance, healthcare, technology, social issues, and global events beyond academic confines, the AI system can capture a more accurate representation of real-world conversations.
Abstract
In the field of education, understanding students' opinions through their comments is crucial, especially in the Vietnamese language, where resources remain limited. Existing educational datasets often lack domain relevance and student slang. To address these gaps, we introduce NEU-ESC, a new Vietnamese dataset for Educational Sentiment Classification and Topic Classification, curated from university forums, which offers more samples, richer class diversity, longer texts, and broader vocabulary. In addition, we explore multitask learning using encoder-only language models (BERT), in which we showed that it achieves performance up to 83.7% and 79.8% accuracy for sentiment and topic classification tasks. We also benchmark our dataset and model with other datasets and models, including Large Language Models, and discuss these benchmarks. The dataset is publicly available at: https://huggingface.co/datasets/hung20gg/NEU-ESC.
Sources
- RoBERTa: A Robustly Optimized BERT Pretraining Approach
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
- The Natural Language Decathlon: Multitask Learning as Question Answering
- PhoBERT: Pre-trained language models for Vietnamese
- GPT-4o System Card
- ViCGCN: Graph Convolutional Network with Contextualized Language Models for Social Media Mining in Vietnamese
- ViHateT5: Enhancing Hate Speech Detection in Vietnamese With A Unified Text-to-Text Transformer Model
- Qwen3 Technical Report
- The Llama 3 Herd of Models
Related papers
- MedGame: Storytelling Gamification Empowered by Large Language Models for Medical Education
- SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
- UniVer: A Unified Perspective for Multi-step and Multi-draft Speculative Decoding
- Grounding Text Embeddings in Stakeholder Associations
- Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agents
- TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning