<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Ταξινόμηση συναισθηματικής πολυπλοκότητας με βάση το μοντέλο BERT

Loading...
Thumbnail Image

Type

Bachelor Dissertation

Publisher

Πανεπιστήμιο Πειραιώς

Abstract

Η συγκεκριμένη έρευνα μελετά την αυτόματη αναγνώριση και ταξινόμηση συναισθημάτων σε κείμενο. Συγκεκριμένα εστιάζει σε 28 συναισθήματα, όπως αυτά ορίζονται από το σύνολο δεδομένων GoEmotions που χρησιμοποιεί. Εξαιτίας του μεγάλου όγκου κατηγοριών, οι κλασικές μέθοδοι παρουσιάζουν προβλήματα σύγχυσης, γι’ αυτό και αναπτύχθηκε μια ιεραρχική αρχιτεκτονική δύο σταδίων (Cascade) βασισμένη στο μοντέλο BERT (Bidirectional Encoder Representations from Transformers). Η αρχιτεκτονική αποτελείται από ένα κύριο μοντέλο (Master Model) το οποίο ταξινομεί το κείμενο σε τρεις ευρείες κατηγορίες (Θετικά, Αρνητικά, Αμφίσημα) και τρία εξειδικευμένα μοντέλα (Specialist Models) τα οποία κάνουν την τελική πρόβλεψη του συναισθήματος. Συνολικά χρησιμοποιήθηκαν τρία τμήματα δεδομένων, τα δύο εκ των οποίων χρησιμοποιήθηκαν για την εκπαίδευση, και το ένα για την αξιολόγηση. Για τον έλεγχο και την ανάδειξη της αποτελεσματικότητας αυτής της αρχιτεκτονικής δημιουργήθηκε ένα ενιαίο μοντέλο (Flat BERT) εκπαιδευμένο υπό τις ίδιες συνθήκες. Η αξιολόγηση βασίστηκε στο Macro F1-score, το οποίο είναι κατάλληλο για ανισορροπία κλάσεων. Η Cascade αρχιτεκτονική πέτυχε Macro-F1 = 0.3618 έναντι του Flat BERT = 0.2717, επιβεβαιώνοντας την υπεροχή της ιεραρχικής προσέγγισης.

Abstract in English

This research examines the automatic recognition and classification of emotions in text. Specifically, it focuses on 28 emotions, as defined by the GoEmotions dataset it uses. Due to the large number of categories, traditional methods suffer from classification confusion; therefore, a two-stage hierarchical architecture (Cascade) based on the BERT (Bidirectional Encoder Representations from Transformers) model was developed. The architecture consists of a master model that classifies the text into three broad categories (Positive, Negative, Ambiguous) and three specialist models that make the final sentiment prediction. A total of three datasets were used, two of which were used for training, and one for evaluation. To test and demonstrate the effectiveness of this architecture, a single model (Flat BERT) was created and trained under the same conditions. The evaluation was based on the Macro F1-score, which is suitable for class imbalance. The Cascade architecture achieved a Macro-F1 score of 0.3618 compared to Flat BERT’s 0.2717, confirming the superiority of the hierarchical approach.

Description

Citation

Endorsement

Review

Supplemented By

Referenced By

Creative Commons license