Papers1 provider · 1 record
November 25, 2026· Frontiers in Digital Health
article
Open access

Feasibility of fully homomorphic encryption in mental health risk detection via text messages

Authors:Jack WangChangyong Feng *

Abstract

Cyberbullying detection and online mental health assessments raise significant privacy concerns, requiring strict confidentiality for sensitive textual narratives. Fully Homomorphic Encryption (FHE) enables privacy-preserving machine learning inference on cloud servers, but non-linear activation functions such as the logistic sigmoid require polynomial approximations under schemes like Cheon-Kim-Kim-Song (CKKS). This paper evaluates an encrypted inference pipeline using 384-dimensional text embeddings extracted via all-MiniLM-L6-v2 and logistic regression models for risk classification across a three-party architecture (user, server, clinician). We compare 3rd-degree (f 3) and 5th-degree (f 5) Taylor polynomial activations under CKKS contexts with polynomial degree N = 16,384. Empirical evaluations show that while f 5 improves global accuracy (RMSE = 0.0190 vs. 0.0283), f 3 reduces homomorphic evaluation latency by 36.2% (1.55 s vs. 2.43 s per 5-sentence block). Across N = 210 targeted near-boundary test samples (p ∈ [0.4, 0.6]), neither approximation induced a single classification swap across the 0.5 threshold (MAE ≤ 0.0099). Additionally, we introduce a theoretical non-interactive zero-knowledge proof framework based on Fiat–Shamir with aborts to defend against Byzantine servers. Our findings demonstrate that 3rd-degree polynomial approximations offer an advantageous trade-off between computational efficiency and inference fidelity in human-in-the-loop clinical risk scoring.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.