I’m a graduate student currently researching the intersection of homomorphic encryption and machine learning. I recently read the paper titled “Machine Learning Training on Encrypted Data with TFHE,” published by Zama, and found it highly relevant to my work.
To further understand and potentially build on the techniques discussed in the paper, I’m kindly requesting access to the source code used in this research. Having the code would greatly assist me in my studies and help me explore this exciting area in more depth.
If the code is available for sharing, I would be extremely grateful. Please let me know the best way to access it, or if there is any additional information needed on my end.
We published a notebook to showcase how to do the LogisticRegression training you can find it at:
Custom neural network training has not been made public yet but you can look at how we built the SGD training. We basically build a torch module with back propagation in the forward call and return updated parameters. Once we have the torch module, we call the compile_torch_model method that allows us to convert the module to FHE.
Hi @jfrery,
I also have a question related to training on encrypted data, especially for custom neural network.
Is the QAT described in here related to this? Can I adjust the model to QAT so it can train on the encrypted data?
Thank you!
I also noticed in Concrete ML 1.7, which is the latest version, you released that how to fine-tune LLMs on encrypted data, can I leaverage this to other deep learning model when I want to fine-tune the model on the encrypted, domain-specific data
Is the QAT described in here related to this? Can I adjust the model to QAT so it can train on the encrypted data?
No the QAT you linked is related to train a FHE friendly model for the inference. Training happens in clear here.
I also noticed in Concrete ML 1.7, which is the latest version, you released that how to fine-tune LLMs on encrypted data, can I leaverage this to other deep learning model when I want to fine-tune the model on the encrypted, domain-specific data