Giter Club home page Giter Club logo

crypton's People

Contributors

ferasbg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

crypton's Issues

Experiment

Use trials.sh to write into files the plot data you are getting on the client-wise accuracy/losses, as well as the server-side accuracy/losses. Format the data as such. Format in terms of all those "configurations" you specified in nsl.sh, and so on.

Implement Differential Privacy with `VectorizedDPKerasSGDOptimizer`

We need to re-write the SGD optimizer used at the client-level, thus modifying the Client objects.

from tensorflow_privacy.privacy.optimizers.dp_optimizer_keras_vectorized import (
    VectorizedDPKerasSGDOptimizer,
)

VectorizedDPKerasSGDOptimizer(
                l2_norm_clip=args.l2_norm_clip,
                noise_multiplier=args.noise_multiplier,
                num_microbatches=args.microbatches,
                learning_rate=args.learning_rate,
)

Purpose

The main purpose is that federated learning alone loosely guarantees confidentiality, and not privacy. Differential privacy is meant to help preserve the privacy of specific details that reveal the source of the data processed on the client-side despite the system's focus on training locally on the client data rather than aggregating it in a centralized manner. In terms of malicious attackers, federated strategies and the architecture of federated learning means little to no utility if the attacker can reveal or deduce personal information from the data at the client-level. It also makes sure that the client models generalize well such that aggregation of generalizations serve as a tool rather than a hinderance.

Implementation

Correct errors with AdvRegClient and run 10 iterations with client partitions under a default experimental configuration (fl). Make sure that the server logs computes over the entire process.

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.