On-device Federated Learning in Smartphones for Detecting Depression from Reddit Posts

Mustofa Ahmed, Abdul Muntakim, Nawrin Tabassum, Mohammad Asifur Rahim, Faisal Muhammad Shah
10/17/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Depression detection using deep learning models has been widely explored in previous studies, especially due to the large amounts of data available from social media posts. These posts provide valuable information about individuals' mental health conditions and can be leveraged to train models and identify patterns in the data. However, distributed learning approaches have not been extensively explored in this domain. In this study, we adopt Federated Learning (FL) to facilitate decentralized training on smartphones while protecting user data privacy. We train three neural network architectures--GRU, RNN, and LSTM on Reddit posts to detect signs of depression and evaluate their performance under heterogeneous FL settings. To optimize the training process, we leverage a common tokenizer across all client devices, which reduces the computational load. Additionally, we analyze resource consumption and communication costs on smartphones to assess their impact in a real-world FL environment. Our experimental results demonstrate that the federated models achieve comparable performance to the centralized models. This study highlights the potential of FL for decentralized mental health prediction by providing a secure and efficient model training process on edge devices.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ahmed2024ondevice,
  title  = {On-device Federated Learning in Smartphones for Detecting Depression from Reddit Posts},
  author = {Mustofa Ahmed and Abdul Muntakim and Nawrin Tabassum and Mohammad Asifur Rahim and Faisal Muhammad Shah},
  year   = {2024},
  eprint = {2410.13709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.13709v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.13709.svg)](https://codeofpaper.com/paper/2410.13709)

Discussion