PDPedro Dutenhefner

Pedro Dutenhefner

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Pedro Dutenhefner has a total of 46 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • A hybrid hierarchical transformer model for ECG classification and age prediction

    by Pedro Dutenhefner, Turi Rezende, José Geraldo Fernandes, Diogo Tuler, Gabriela M.M. Paixão, Gisele Pappa, Antônio Luiz Pinho Ribeiro, Wagner Meira Jr.


  • Open Access

    Transferring Clinical Knowledge into ECGs Representation

    by Jose Geraldo Fernandes, Luiz Facury de Souza, Pedro Robles Dutenhefner, Gisele L. Pappa, Wagner Meira

    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.

  • A CNN-Based Local-Global Self-attention via Averaged Window Embeddings for Hierarchical ECG Analysis

    by Arthur Buzelin, Pedro Dutenhefner, Turi Rezende, Luisa G. Porfirio, Pedro Bento, Yan Aquino, Jose Fernandes, Caio Santana, Gabriela Miana, Gisele L. Pappa, et al.


  • Open Access

    Emerging Digital Spaces: The Case of Bluesky’s Rise During 2024 Brazilian Elections

    by Arthur Buzelin, Pedro Bento, Yan Aquino, Arthur Chagas, Pedro Robles Dutenhefner, Samira Malaquias, Victoria Estanislau, Caio Santana, Lucas Dayrell, Lucas Mesquita, et al.

    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

    by Arthur Buzelin, Pedro Robles Dutenhefner, Marcelo Sartori Locatelli, Samira Malaquias, Pedro Bento, Yan Aquino, Lucas Dayrell, Victoria Estanislau, Caio Santana, Pedro Alzamora, et al.

    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)

    by Yan Aquino, Pedro Bento, Arthur Buzelin, Lucas Dayrell, Samira Malaquias, Caio Santana, Victoria Estanislau, Pedro Dutenhefner, Guilherme H. G. Evangelista, Luisa G. Porfírio, et al.

    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

    AI and Climate Change Discourse: What Opinions Do Large Language Models Present?

    by Marcelo Sartori Locatelli, Pedro Dutenhefner, Arthur Buzelin, Pedro Loures Alzamora, Yan Aquino, Pedro Augusto Torres Bento, Samira Malaquias, Victoria Estanislau, Caio Santana, Lucas Dayrell, et al.

    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

    Contextual BERT Model for Toxicity Detection in Messaging Platforms

    by Arthur Buzelin, Yan Aquino, Pedro Bento, Lucas Dayrell, Victoria Estanislau, Samira Malaquias, Pedro Dutenhefner, Luisa G. Porfírio, Pedro B. Rigueira, Caio Souza Grossi, et al.

    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.