TL;DR
This paper presents a first-place winning solution for secure drug–target interaction (DTI) prediction, achieving sub-10ms inference times on GPUs. By co-designing an MPC-friendly model (SlimDTA) alongside a GPU-accelerated protocol using Function Secret Sharing (FSS), the authors enable pharmaceutical companies to screen proprietary drug candidates against public protein targets without revealing the drug's structure.
What Problem Does This Paper Address?
Predicting how a drug candidate interacts with a target protein is a cornerstone of modern drug discovery. While deep learning models have made these predictions highly accurate, they face a major privacy hurdle: candidate drug structures are valuable intellectual property.
Secure Multiparty Computation (MPC) offers a solution by allowing two servers to compute a prediction on "secret-shared" data—neither server ever sees the actual drug. However, MPC is notoriously slow for deep learning. Non-linear operations (like ReLU activations) require expensive communication between servers, and the modular integer arithmetic used in MPC doesn't naturally benefit from the floating-point optimizations of modern GPUs. This paper tackles the challenge of making secure DTI inference fast enough for practical, large-scale use.
Methods
The authors' solution relies on the co-design of the model and the cryptographic protocol:
- SlimDTA (The Model): Instead of using standard DTI architectures, the authors designed SlimDTA to be "MPC-friendly." It uses a two-tower CNN approach. Since protein data and model weights are often public, they moved the bulk of the computational complexity to the "protein tower." The "drug tower," which handles the secret data, is kept small to minimize expensive non-linear operations. SlimDTA architecture
- GPU-Accelerated MPC Protocol:
- Linear Layers: These are computed locally on each server's GPU using additive secret sharing. To handle 64-bit integer matrix products on hardware optimized for floating-point, the authors used a "limb decomposition" technique, splitting large integers into smaller chunks that fit within the precision limits of GPU registers.
- Non-Linear Layers (ReLU & Max-Pool): These are the bottlenecks. The authors used Function Secret Sharing (FSS), which reduces the communication cost to just a few rounds.
- Fused CUDA Kernel: To overcome the overhead of launching thousands of tiny GPU kernels for FSS, they wrote a custom "fused" kernel. This allows a single GPU thread to walk the entire FSS evaluation tree in registers, avoiding slow global memory access. Secure ReLU with FSS
Datasets
The model was evaluated on three standard DTI benchmarks:
- Davis: A dataset of kinase inhibitor interactions.
- BindingDB: A large public database of measured binding affinities.
- KIBA: A dataset that integrates multiple bioactivity sources (used for plaintext accuracy validation).
Key Insights and Ideas
- Exploit Asymmetry: In many real-world scenarios, the "target" (e.g., a known virus protein) is public, while the "query" (the new drug) is secret. By loading the public side of the model with more parameters, you get "free" accuracy that doesn't increase the cost of the secure computation.
- Count Comparisons, Not Parameters: In standard deep learning, we worry about the number of weights. In MPC, weights are "cheap" if they are public; the real cost is the number of ReLU and Max-Pool operations. SlimDTA has 4.5x fewer parameters in its secret branch than the reference model but maintains comparable accuracy.
- Registers are Faster than Global Memory: Standard deep learning frameworks (like PyTorch) are inefficient for the bit-level walks required by FSS. A custom CUDA kernel that keeps the "seed" and "running value" in fast GPU registers is 2.9x to 4.3x faster than a standard implementation.
Key Results
- Performance: The solution won first place in the iDASH competition, processing predictions in under 10ms on average (8.1ms for Davis, 9.2ms for BindingDB).
- Accuracy: The secure predictions matched the plaintext model's output to within 0.02%, far exceeding the competition's 2% error budget.
- Communication Efficiency: By using FSS and an optimized model, the authors reduced the data sent between servers by roughly 950x compared to traditional bit-decomposition methods.
Limitations and Future Work
- Public Weights Assumption: The current speed gains rely on the model weights and protein being public. While the framework supports secret weights, doing so would significantly increase the communication cost.
- Semi-Honest Threat Model: The protocol assumes servers follow the rules but might try to learn information (honest-but-curious). Protecting against "active" adversaries who intentionally deviate from the protocol would require additional, more expensive cryptographic checks.
- Network Bottleneck: The authors noted that once GPU computation is optimized, the primary remaining bottleneck is the network bandwidth itself. Future work could explore using smaller integer rings (e.g., 32-bit instead of 64-bit) to halve the amount of data sent.
Summary updated