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

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Digital Health
Published
2026-11-25
DOI
https://doi.org/10.3389/fdgth.2026.2006070
Primary Topic
Cryptography and Data Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Jack Wang, Changyong Feng
Frontiers in Digital Health
Cryptography and Data Security
article

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

Jack Wang, Changyong Feng
article en

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.

Frontiers in Digital HealthVol. 8
University of Rochester (US)
Good health and well-being
Cryptography and Data Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon