Concrete ML v1.6 improves latency on large neural networks, adds support for pre-trained tree-based models and eases collaborative computation by introducing DataFrame schemas and by facilitating the deployment of logistic regression training. While GPU support will be available very soon in Concrete ML, some early latency results are given below.
Concrete ML has long supported the conversion of pre-trained linear models through [.c-inline-code]from_sklearn[.c-inline-code] and pre-trained neural networks using [.c-inline-code]compile_torch_model[.c-inline-code]. Pre-trained models are popular since training models from scratch is error-prone and requires more in depth machine learning knowledge. Furthermore, implementing specific training algorithms, such as federated learning, requires separate specialized toolkits, yet secure deployment of such trained models remains essential. The Concrete ML v1.6 now supports importing pre-trained tree models using the [.c-inline-code]from_sklearn[.c-inline-code] function. The default import settings ensure that accuracy is maintained on encrypted data, compared to using the original model in the clear. Refer to the documentation for more information.
Two new notebooks showcase the latency improvements for pre-trained neural networks in Concrete v1.6
With Concrete ML v1.6, developers can easily deploy logistic regression training as a client-server service. As in previous versions, developers can parametrize the training system, selecting the number of features to be trained on and the training hyper-parameters. In addition, Concrete ML v1.6 allows for packaging the training circuit in order to deploy it on a cloud. See the encrypted training documentation for more details.
The updated DataFrame API in Concrete v1.6 reduces the size of stored DataFrames and allows users to manually control the schema of the DataFrames they encrypt. Schemas describe the encrypted data, enabling multiple users to make their data compatible with each other. The feature is demonstrated in the encrypted DataFrame notebook.
The new features and improvements in this release improve the performance and the usability of Concrete ML. The forthcoming GPU support will bring even greater advancements in the near future. Stay tuned!
News, research and product releases