Coder Social home page Coder Social logo

Can this framework use encrypted training data to train network models? Are there any relevant cases to learn from? about tf-encrypted HOT 7 CLOSED

dikjstra avatar dikjstra commented on April 28, 2024
Can this framework use encrypted training data to train network models? Are there any relevant cases to learn from?

from tf-encrypted.

Comments (7)

zicofish avatar zicofish commented on April 28, 2024

@dikjstra You can first check whether this example helps in your case. It uses data that is shared by one party.

Otherwise, you might have to clarify what encrypted training data you mean. Is it something that is already secret shared? We can definitely add more use cases if necessary. But from our experience, data is always initially owned and encrypted (secret shared) by someone.

from tf-encrypted.

dikjstra avatar dikjstra commented on April 28, 2024

@dikjstra You can first check whether this example helps in your case. It uses data that is shared by one party.

Otherwise, you might have to clarify what encrypted training data you mean. Is it something that is already secret shared? We can definitely add more use cases if necessary. But from our experience, data is always initially owned and encrypted (secret shared) by someone.

I see, there is one more question, is there a way for me to view the data transmitted from the client on the server side? Is it PondPrivateTensor?

from tf-encrypted.

zicofish avatar zicofish commented on April 28, 2024

@dikjstra It is PondPrivateTensor if you use the Pond protocol. Internally, it represents two pieces of shares on two servers respectively.

from tf-encrypted.

zicofish avatar zicofish commented on April 28, 2024

@dikjstra The link I provided includes training, not predictions. Please check the details. And it solves the scenario you describe.

from tf-encrypted.

dikjstra avatar dikjstra commented on April 28, 2024

@dikjstra The link I provided includes training, not predictions. Please check the details. And it solves the scenario you describe.

What should I do if I want to encrypt and aggregatethe data of multiple clients to the server, and how should I configure the code of the client and server, just like this example

from tf-encrypted.

zicofish avatar zicofish commented on April 28, 2024

@dikjstra Check the example at this line. Inside the class TrainingClient, it would load data from a device named training-client and encrypt (secret share) the data onto three servers (server0, server1, server2) that are specified in this file. It would help your understanding if you also take a look at how input is processed in the protocol implementation here.

from tf-encrypted.

dikjstra avatar dikjstra commented on April 28, 2024

Hello, when I run the "b - Secure Model Serving.ipynb" of this example, the following error occurs:
微信截图_20230221103733
My environment configuration:pyhton=3.8 tensorflow=2.11 tf-encrypted=0.9.1

from tf-encrypted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.