Pedro Dutenhefner
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Pedro Dutenhefner has a total of 46 co-authors. Here are the top co-authors by number of shared publications:
- Wagner Meira
Universidade Federal de Minas Gerais, Belo Horizonte, Minas Gerais, Brazil
7 shared publications - Gisele Lobo Pappa
Universidade Federal de Minas Gerais, Belo Horizonte, Brazil
5 shared publications - Caio Santana
UFMG
4 shared publications - Pedro Bento
Universidade Federal de Minas Gerais
4 shared publications - Virgilio Almeida
UFMG
4 shared publications - Yan Aquino
Universidade Federal de Minas Gerais
4 shared publications
Latest Publications
- 21 January 2026
- Published by Elsevier in Computers in Biology and Medicine
- Vol. 203, 111462
A hybrid hierarchical transformer model for ECG classification and age prediction
- 21 January 2026
- Published by Elsevier in Computers in Biology and Medicine
- Vol. 203, 111462
A hybrid hierarchical transformer model for ECG classification and age prediction
- Open Access
Transferring Clinical Knowledge into ECGs Representation
Deep learning models have shown high accuracy in classifying electrocardiograms (ECGs), but their black box nature hinders clinical adoption due to a lack of trust and interpretability. To address this, we propose a novel three-stage training paradigm that transfers knowledge from multimodal clinical data (laboratory exams, vitals, biometrics) into a powerful, yet unimodal, ECG encoder. We employ a self-supervised, joint-embedding pre-training stage to create an ECG representation that is enriched with contextual clinical information, while only requiring the ECG signal at inference time. Furthermore, as an indirect way to explain the model's output we train it to also predict associated laboratory abnormalities directly from the ECG embedding. Evaluated on the MIMIC-IV-ECG dataset, our model outperforms a standard signal-only baseline in multi-label diagnosis classification and successfully bridges a substantial portion of the performance gap to a fully multimodal model that requires all data at inference. Our work demonstrates a practical and effective method for creating more accurate and trustworthy ECG classification models. By converting abstract predictions into physiologically grounded \emph{explanations}, our approach offers a promising path toward the safer integration of AI into clinical workflows.
Open AccessTransferring Clinical Knowledge into ECGs Representation
Deep learning models have shown high accuracy in classifying electrocardiograms (ECGs), but their black box nature hinders clinical adoption due to a lack of trust and interpretability. To address this, we propose a novel three-stage training paradigm that transfers knowledge from multimodal clinical data (laboratory exams, vitals, biometrics) into a powerful, yet unimodal, ECG encoder. We employ a self-supervised, joint-embedding pre-training stage to create an ECG representation that is enriched with contextual clinical information, while only requiring the ECG signal at inference time. Furthermore, as an indirect way to explain the model's output we train it to also predict associated laboratory abnormalities directly from the ECG embedding. Evaluated on the MIMIC-IV-ECG dataset, our model outperforms a standard signal-only baseline in multi-label diagnosis classification and successfully bridges a substantial portion of the performance gap to a fully multimodal model that requires all data at inference. Our work demonstrates a practical and effective method for creating more accurate and trustworthy ECG classification models. By converting abstract predictions into physiologically grounded \emph{explanations}, our approach offers a promising path toward the safer integration of AI into clinical workflows.
- 4 October 2025
- Published by Springer Nature
- p. 283-299
A CNN-Based Local-Global Self-attention via Averaged Window Embeddings for Hierarchical ECG Analysis
- 4 October 2025
- Published by Springer Nature
- p. 283-299
A CNN-Based Local-Global Self-attention via Averaged Window Embeddings for Hierarchical ECG Analysis
- Open Access
- 20 July 2025
- Published by Sociedade Brasileira de Computação
- p. 269-282
Emerging Digital Spaces: The Case of Bluesky’s Rise During 2024 Brazilian Elections
This paper examines political discourse on Bluesky during Brazil’s 2024 municipal elections, following the unexpected Twitter ban in the country. Using keyword-based data collection and embedding-based sentiment analysis (WEAT), we analyze user perceptions and their evolution across electoral phases. Our findings reveal significant shifts in candidate popularity, closely tied to electoral outcomes and broader ideological trends, with clear patterns of polarization. Notably, candidate sentiment fluctuated between election rounds, reflecting both victories and defeats. This study highlights Bluesky’s emerging role in digital political engagement when mainstream platforms are disrupted.
- 20 July 2025
- Published by Sociedade Brasileira de Computação
- p. 269-282
Open AccessEmerging Digital Spaces: The Case of Bluesky’s Rise During 2024 Brazilian Elections
This paper examines political discourse on Bluesky during Brazil’s 2024 municipal elections, following the unexpected Twitter ban in the country. Using keyword-based data collection and embedding-based sentiment analysis (WEAT), we analyze user perceptions and their evolution across electoral phases. Our findings reveal significant shifts in candidate popularity, closely tied to electoral outcomes and broader ideological trends, with clear patterns of polarization. Notably, candidate sentiment fluctuated between election rounds, reflecting both victories and defeats. This study highlights Bluesky’s emerging role in digital political engagement when mainstream platforms are disrupted.
- Open Access
Analyzing Political Discourse on Discord during the 2024 U.S. Presidential Election
Social media networks have amplified the reach of social and political movements, but most research focuses on mainstream platforms such as X, Reddit, and Facebook, overlooking Discord. As a rapidly growing, community-driven platform with optional decentralized moderation, Discord offers unique opportunities to study political discourse. This study analyzes over 30 million messages from political servers on Discord discussing the 2024 U.S. elections. Servers were classified as Republican-aligned, Democratic-aligned, or unaligned based on their descriptions. We tracked changes in political conversation during key campaign events and identified distinct political valence and implicit biases in semantic association through embedding analysis. We observed that Republican servers emphasized economic policies, while Democratic servers focused on equality-related and progressive causes. Furthermore, we detected an increase in toxic language, such as sexism, in Republican-aligned servers after Kamala Harris's nomination. These findings provide a first look at political behavior on Discord, highlighting its growing role in shaping and understanding online political engagement.
Open AccessAnalyzing Political Discourse on Discord during the 2024 U.S. Presidential Election
Social media networks have amplified the reach of social and political movements, but most research focuses on mainstream platforms such as X, Reddit, and Facebook, overlooking Discord. As a rapidly growing, community-driven platform with optional decentralized moderation, Discord offers unique opportunities to study political discourse. This study analyzes over 30 million messages from political servers on Discord discussing the 2024 U.S. elections. Servers were classified as Republican-aligned, Democratic-aligned, or unaligned based on their descriptions. We tracked changes in political conversation during key campaign events and identified distinct political valence and implicit biases in semantic association through embedding analysis. We observed that Republican servers emphasized economic policies, while Democratic servers focused on equality-related and progressive causes. Furthermore, we detected an increase in toxic language, such as sexism, in Republican-aligned servers after Kamala Harris's nomination. These findings provide a first look at political behavior on Discord, highlighting its growing role in shaping and understanding online political engagement.
- Open Access
Discord Unveiled: A Comprehensive Dataset of Public Communication (2015-2024)
Discord has evolved from a gaming-focused communication tool into a versatile platform supporting diverse online communities. Despite its large user base and active public servers, academic research on Discord remains limited due to data accessibility challenges. This paper introduces Discord Unveiled: A Comprehensive Dataset of Public Communication (2015-2024), the most extensive Discord public server's data to date. The dataset comprises over 2.05 billion messages from 4.74 million users across 3,167 public servers, representing approximately 10% of servers listed in Discord's Discovery feature. Spanning from Discord's launch in 2015 to the end of 2024, it offers a robust temporal and thematic framework for analyzing decentralized moderation, community governance, information dissemination, and social dynamics. Data was collected through Discord's public API, adhering to ethical guidelines and privacy standards via anonymization techniques. Organized into structured JSON files, the dataset facilitates seamless integration with computational social science methodologies. Preliminary analyses reveal significant trends in user engagement, bot utilization, and linguistic diversity, with English predominating alongside substantial representations of Spanish, French, and Portuguese. Additionally, prevalent community themes such as social, art, music, and memes highlight Discord's expansion beyond its gaming origins.
Open AccessDiscord Unveiled: A Comprehensive Dataset of Public Communication (2015-2024)
Discord has evolved from a gaming-focused communication tool into a versatile platform supporting diverse online communities. Despite its large user base and active public servers, academic research on Discord remains limited due to data accessibility challenges. This paper introduces Discord Unveiled: A Comprehensive Dataset of Public Communication (2015-2024), the most extensive Discord public server's data to date. The dataset comprises over 2.05 billion messages from 4.74 million users across 3,167 public servers, representing approximately 10% of servers listed in Discord's Discovery feature. Spanning from Discord's launch in 2015 to the end of 2024, it offers a robust temporal and thematic framework for analyzing decentralized moderation, community governance, information dissemination, and social dynamics. Data was collected through Discord's public API, adhering to ethical guidelines and privacy standards via anonymization techniques. Organized into structured JSON files, the dataset facilitates seamless integration with computational social science methodologies. Preliminary analyses reveal significant trends in user engagement, bot utilization, and linguistic diversity, with English predominating alongside substantial representations of Spanish, French, and Portuguese. Additionally, prevalent community themes such as social, art, music, and memes highlight Discord's expansion beyond its gaming origins.
- Open Access
- 1 January 2025
- Published by Association for Computational Linguistics (ACL)
- p. 113-125
AI and Climate Change Discourse: What Opinions Do Large Language Models Present?
Marcelo Sartori Locatelli, Pedro Dutenhefner, Arthur Buzelin, Pedro Loures Alzamora, Yan Aquino, Pedro Augusto Torres Bento, Samira Malaquias, Victoria Estanislau, Caio Santana, Lucas Dayrell, Marisa Affonso Vasconcelos, Wagner Meira Jr., Virgilio Almeida. Proceedings of the 2nd Workshop on Natural Language Processing Meets Climate Change (ClimateNLP 2025). 2025.
- 1 January 2025
- Published by Association for Computational Linguistics (ACL)
- p. 113-125
Open AccessAI and Climate Change Discourse: What Opinions Do Large Language Models Present?
Marcelo Sartori Locatelli, Pedro Dutenhefner, Arthur Buzelin, Pedro Loures Alzamora, Yan Aquino, Pedro Augusto Torres Bento, Samira Malaquias, Victoria Estanislau, Caio Santana, Lucas Dayrell, Marisa Affonso Vasconcelos, Wagner Meira Jr., Virgilio Almeida. Proceedings of the 2nd Workshop on Natural Language Processing Meets Climate Change (ClimateNLP 2025). 2025.
- Open Access
- 17 November 2024
- Published by Sociedade Brasileira de Computação
- p. 846-857
Contextual BERT Model for Toxicity Detection in Messaging Platforms
The increasing prevalence of messaging platforms has created new challenges in hate speech detection. Traditional classification models designed for social media posts often fall short in these environments due to the lack of contextual information. This paper presents a novel approach to message classification by integrating contextual data from preceding messages, utilizing a fine-tuned BERT model based on PySentimiento. Our results demonstrate that incorporating preceding messages substantially improves the classification task. The average AUC-ROC increased from 0.691 with the PySentimiento base model to 0.784 with standard fine-tuning, and further to an impressive 0.926 with our context-based model.
- 17 November 2024
- Published by Sociedade Brasileira de Computação
- p. 846-857
Open AccessContextual BERT Model for Toxicity Detection in Messaging Platforms
The increasing prevalence of messaging platforms has created new challenges in hate speech detection. Traditional classification models designed for social media posts often fall short in these environments due to the lack of contextual information. This paper presents a novel approach to message classification by integrating contextual data from preceding messages, utilizing a fine-tuned BERT model based on PySentimiento. Our results demonstrate that incorporating preceding messages substantially improves the classification task. The average AUC-ROC increased from 0.691 with the PySentimiento base model to 0.784 with standard fine-tuning, and further to an impressive 0.926 with our context-based model.