Metaheuristic Hyperparameter Optimization for a Transformer Encoder: A Case Study on Detecting Depressive Signals in Tweets

Vol 57, 2025 - 339764
Trabalho completo (Oral)
Favoritar este trabalho
Como citar esse trabalho?
Resumo

Depression-related signals in social media have motivated the use of Natural Language Processing models for automatic text classification. This study investigates hyperparameter optimization of a Transformer encoder for detecting depressive signals in tweets. Differential Evolution (DE), Particle Swarm Optimization (PSO), Simulated Annealing (SA), and Random Search are compared with a predefined baseline under an equal evaluation budget. The protocol comprises 20 matched runs per method and 60 effective evaluations per search. All strategies significantly improved the baseline in accuracy and F1-score. DE achieved the highest mean accuracy (0.8768) and precision (0.8479), whereas PSO achieved the highest mean F1-score (0.8473) and recall (0.8610). Pairwise tests indicated comparable performance among search strategies. Winner-enrichment analysis further revealed significant preferences for higher learning rates, more attention heads, and fewer encoder layers, highlighting recurring patterns in competitive Transformer configurations.

Compartilhe suas ideias ou dúvidas com os autores!

Sabia que o maior estímulo no desenvolvimento científico e cultural é a curiosidade? Deixe seus questionamentos ou sugestões para o autor!

Faça login para interagir

Tem uma dúvida ou sugestão? Compartilhe seu feedback com os autores!

Instituições
  • 1 Universidade Federal de Minas Gerais
Eixo Temático
  • MH – Meta-heurísticas
Palavras-chave
Metaheuristics
Hyperparameter Optimization
Transformers
Natural Language Processing
Depression Detection