ferasbg / crypton Goto Github PK
View Code? Open in Web Editor NEWcertifiable federated learning via Adaptive Federated Optimization (AFO) and Neural Structured Learning (NSL)
certifiable federated learning via Adaptive Federated Optimization (AFO) and Neural Structured Learning (NSL)
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.
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,
)
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.
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.
Use Kubeflow and Tensorflow Extended to setup the pipeline for asynchronous and distributed training across n set of clients in a set of c local clusters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.