Introduction
Sentiment analysis on Twitter presents unique challenges due to the brevity of messages, informal language, and the frequent use of sarcasm and platform-specific syntax. For the Spanish language, the TASS (Taller de Análisis de Sentimientos en Twitter) workshop serves as a critical benchmark for these difficulties. Researchers from the Universitat Politècnica de València and Université Paris 13 addressed these hurdles by focusing on two specific areas: granular polarity (distinguishing between levels of intensity like "Strongly Negative" vs. "Negative") and aspect-based sentiment (determining sentiment toward specific entities within a tweet).
Methodology
The team’s strategy relied on a robust pipeline of traditional machine learning enhanced by sophisticated ensemble logic.
Preprocessing and Feature Engineering
The researchers adapted the Tweetmotif tokenizer for Spanish and utilized FreeLing for lemmatization and Part-of-Speech tagging. To reduce noise, dates, numbers, and URLs were treated as generic tokens, while hashtags and mentions were preserved. Features included tf-idf weights for words, lemmas, and n-grams, integrated with a Spanish translation of the Afinn sentiment lexicon.
System Combination: The Ensemble Approach
Instead of selecting a single "best" model, the team explored three distinct configurations to maximize performance:
- Run 1: A simple voting system based on their 2014 models.
- Run 3: A majority vote across 192 different Support Vector Machine (SVM) configurations.
- Run 4 (Meta-Classifier): A "stacking" approach where a second SVM was trained to learn how to best combine the outputs of the 192 configurations. This allowed the system to identify which models were most reliable for specific types of tweets.
For aspect-based tasks, they employed a simplified "fixed window" approach, defining sentiment based on a window of 5, 7, or 10 words surrounding the target aspect.
Datasets
The study utilized the official TASS 2015 datasets, which provided a diverse range of social media content:
- General Corpus: 7,219 training tweets labeled with 6 levels of polarity (N+, N, NEU, P, P+, NONE).
- SocialTV: 2,773 tweets related to the 2014 Copa del Rey final.
- STOMPOL: A corpus of 1,284 tweets focused on the political domain (Andalusian elections).
Key Results and Insights
The ELiRF-UPV team achieved highly competitive results, particularly with their meta-classifier approach. The jump in performance from Run 1 to Run 4 demonstrated that the diversity in SVM configurations (different n-gram sizes or parameters) provided complementary information that a meta-classifier could effectively exploit.
In Task 1 (Global Polarity), the Run 4 meta-classifier achieved the highest accuracy for both 6-class and 4-class evaluations. In Task 2 (Aspect-Based), the team secured 1st place in both sub-tasks, with an accuracy of 0.655 on the SocialTV corpus and 0.633 on the STOMPOL corpus.
Conclusion
The success of the ELiRF-UPV team at TASS 2015 underscores the power of ensemble techniques in natural language processing. By combining nearly 200 model configurations through a meta-classifier, they were able to squeeze significant performance gains out of standard SVMs. Future work aims to incorporate more heterogeneous classifiers—such as mixing SVMs with Deep Learning or Decision Trees—to further increase the complementarity of the ensemble and improve accuracy in broader social network text mining.
Summary updated