Knowledge Transferring via Model Aggregation for Online Social Care

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

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.

Introduction

Mental health issues like depression and suicidal ideation represent a global crisis, yet early detection remains a significant challenge. While online social platforms and private messaging apps offer opportunities for proactive care, they face a massive hurdle: privacy. Deep learning models typically thrive on large, centralized datasets. However, in social care, user data is often locked in "isolated islands"—private chat logs or encrypted device storage. Standard standalone models trained on these small, local datasets often perform poorly. The challenge is to enable "knowledge sharing" across these islands so that every user benefits from a globally informed model without ever having to upload their raw, sensitive data to a central server.

The Knowledge Transferring Framework

The authors propose a cooperative framework based on the principles of Federated Transfer Learning (FTL). This framework allows for the sharing of insights derived from private data without compromising user privacy. The process follows a cyclical workflow involving server initialization, local training, and server-side aggregation.

Workflow of the proposed knowledge transferring framework showing the cycle of initialization, local training, and server updates.

Workflow Stages:

  1. Initialization: A central server sends a base model (such as a CNN or LSTM) to distributed clients.
  2. On-Device Training: Clients train the model locally using their own private data.
  3. Aggregation: Instead of sending raw data, clients send only their updated model parameters back to the server.
  4. Redistribution: The server aggregates these parameters into a new global model and sends it back to clients to act as a superior starting point for the next round of local fine-tuning.

Average Difference Descent Aggregation (AvgDiffAgg)

The core innovation of this research is the Average Difference Descent Aggregation (AvgDiffAgg) algorithm. Unlike standard federated averaging (FedAvg), which simply averages weights, AvgDiffAgg treats the difference between the global model and the local optimal points as a "gradient."

Visualization of the AvgDiffAgg optimization process, illustrating how the server finds a global initialization point by minimizing distance to local optima.

In the non-convex landscape of deep learning, the starting point of a model significantly influences its final performance. By minimizing the Euclidean distance between the server's weights and the users' local optimal weights, the server identifies a global initialization point that is more "sharable" and easier for individual clients to fine-tune to their specific needs. This approach provides a more efficient optimization path and faster convergence compared to traditional methods.

Experimental Evaluation

The study evaluates the framework using four datasets derived from social media to mimic private communication environments:

  • Reddit I: 39,600 posts from subreddits like r/SuicideWatch and r/AskReddit.
  • Reddit II: 9,052 posts from 260 specific users.
  • Twitter: 10,200 tweets filtered by keywords and manually labeled.
  • Reddit Comments: A dataset used for "effectiveness stratification," where comments are ranked based on user helpfulness.

Key Results

The authors compared AvgDiffAgg against two baselines: FullbatchAgg (standard centralized-style aggregation) and AverageAgg (simple weight averaging).

  • Suicidal Ideation Detection: AvgDiffAgg consistently achieved the highest accuracy and Area Under the ROC Curve (AUROC) across the Reddit and Twitter datasets.
  • Effectiveness Stratification: On the task of predicting comment helpfulness, AvgDiffAgg using an LSTM classifier reached 35.08% accuracy, significantly outperforming AverageAgg (32.80%) and FullbatchAgg (31.67%).
  • Convergence: Learning curves demonstrated that AvgDiffAgg's training loss decreased more rapidly and smoothly than the baselines.

Conclusion and Future Work

This framework demonstrates that federated knowledge transfer can significantly improve proactive online mental health care while maintaining strict privacy standards. The architectural split between communication and model aggregation ensures that raw data is never exposed to the aggregator. Future work will focus on improving communication efficiency through parameter compression and exploring the scalability of the system to millions of active users.

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{ji2019knowledge,
  author = {Shaoxiong Ji and Guodong Long and Shirui Pan and Tianqing Zhu and Jing Jiang and Sen Wang and Xue Li},
  title = {{Knowledge Transferring via Model Aggregation for Online Social Care}},
  year = {2019},
  eprint = {1905.07665},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.07665},
}
Figure