Feasibility of fully homomorphic encryption in mental health risk detection via text messages
Jack Wang, Changyong Feng
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Privacy-Preserving Text Inference for Health-Misinformation Classification and Semantic RetrievalarXiv · 2026
- AutoPoly-HE: Autonomous Design of Polynomial Activations for Privacy-Preserving Encrypted InferencearXiv · 2026
- An Open-Source End-to-End FHE Implementation for Privacy-Preserving Llama 3 8B InferencearXiv · 2026
- Overcoming Memory Bottlenecks in Homomorphic Federated Learning: A Chunk-Based Serverless MapReduce ApproachBig Data and Cognitive Computing · 2026
- A Survey of CKKS-Based Neural Network Inference: Technical Mechanisms and Network-Level Execution PlanningCryptography · 2026
- Homomorphic Advantage Operator: Stabilizing Reinforcement Learning Under Fully Homomorphic Encryption ConstraintsarXiv · 2026