Decentralized Learning with Average Difference Aggregation for Proactive Online Social Care

Shaoxiong Ji, Guodong Long, Shirui Pan, Tianqing Zhu, Jing Jiang, Sen Wang, Xue Li

Abstract

The increasing use of the Internet for proactive social care generates vast amounts of data, yet strict privacy protections often isolate this information, limiting the performance of standalone predictive models. This paper presents a decentralized knowledge-transferring framework that enables intelligent agents to share insights without compromising user privacy. We introduce the Average Difference Descent Aggregation (AvgDiffAgg) algorithm, which improves model generalizability by optimizing global initialization points. Evaluated on four social media datasets for suicidal ideation detection, our approach demonstrates superior performance over standard federated learning baselines, offering a viable path for privacy-preserving, proactive mental health support.

Introduction

Mental health crises, such as depression and suicidal ideation, represent a significant global challenge. While online communities provide critical signals for early intervention, the "isolated island" problem—where sensitive user data cannot be centralized due to privacy regulations—hinders the development of robust predictive models. Standalone models trained on individual user data often lack the necessary breadth to be effective. To bridge this gap, we propose a decentralized learning framework that facilitates "knowledge transferring" across a federation of users, allowing local models to benefit from collective insights without ever exchanging raw text data.

The Decentralized Learning Framework

Our framework is built on the principles of Federated Transfer Learning (FTL), involving three primary entities: distributed client devices, a third-party model server, and a communication service provider.

The system architecture for decentralized knowledge sharing and transferring between client devices and a third-party service provider.

In this architecture, clients perform on-device training on their local, private data. The third-party server acts as an aggregator, integrating parameters from multiple clients to form a "knowledge ensemble" which is then redistributed. This cycle allows individual models to improve their predictive capabilities by learning from the global distribution of parameters.

Average Difference Descent Aggregation (AvgDiffAgg)

The core of our contribution is the AvgDiffAgg algorithm. Unlike standard Federated Averaging (FedAvg), which simply averages local model weights, AvgDiffAgg treats the optimization as a two-stage process focused on finding a superior global initialization point.

The iterative workflow of the framework, showing server initialization, local training, and parameter aggregation across multiple time steps.
  1. Global Optimization: The server calculates the difference between the current global model and the local optimal points reached by participating users. This "average difference" serves as a pseudo-gradient, guiding the update of the global initialization point.
  2. Local Fine-tuning: Clients receive this refined global starting point and perform local training. By starting closer to a global optimum, local models are more likely to converge effectively, even with limited data or frequent disconnections.

Experimental Evaluation

We evaluated the framework using four datasets derived from Reddit and Twitter, simulating private communication environments. These included datasets for binary suicidal ideation detection and "effectiveness stratification"—ranking the persuasiveness of supportive comments.

Key Results

  • Superior Detection: AvgDiffAgg consistently outperformed baselines like FullbatchAgg and AverageAgg in both accuracy and AUROC across all datasets, using both CNN and LSTM architectures.
  • Faster Convergence: The algorithm demonstrated significantly higher test accuracy in the early rounds of training (e.g., the first 20 rounds), indicating high learning efficiency.
  • Supportive Response Ranking: In the task of predicting the effectiveness of supportive comments, AvgDiffAgg achieved 35.08% accuracy, outperforming standard aggregation methods and demonstrating its utility in helping social workers identify the most persuasive language for crisis de-escalation.

Conclusion and Future Work

This research demonstrates that privacy-preserving proactive social care is achievable through decentralized model aggregation. By treating model initialization as a form of shared knowledge, the AvgDiffAgg algorithm narrows the performance gap between isolated local models and centralized "upper bound" models. Future work will focus on testing this framework with real-world private datasets, reducing communication overhead, and further personalizing models for individual user needs.

Summary updated

Abstract

The Internet and the Web are being increasingly used in proactive social care to provide people, especially the vulnerable, with a better life and services, and their derived social services generate enormous data. However, the strict protection of privacy makes user's data become an isolated island and limits the predictive performance of standalone clients. To enable effective proactive social care and knowledge sharing within intelligent agents, this paper develops a knowledge transferring framework via model aggregation. Under this framework, distributed clients perform on-device training, and a third-party server integrates multiple clients' models and redistributes to clients for knowledge transferring among users. To improve the generalizability of the knowledge sharing, we further propose a novel model aggregation algorithm, namely the average difference descent aggregation (AvgDiffAgg for short). In particular, to evaluate the effectiveness of the learning algorithm, we use a case study on the early detection and prevention of suicidal ideation, and the experiment results on four datasets derived from social communities demonstrate the effectiveness of the proposed learning method.
BibTeX
@misc{ji2019decentralized,
  author = {Shaoxiong Ji and Guodong Long and Shirui Pan and Tianqing Zhu and Jing Jiang and Sen Wang and Xue Li},
  title = {{Decentralized Learning with Average Difference Aggregation for Proactive Online Social Care}},
  year = {2019},
  eprint = {1905.07665},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.07665},
}
Figure