Federated Learning
florian.github.io
Federated Learning
1–10 of 13 posts
Re: Federated Learning
#2Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights.
It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them).
However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of it server-side.
I'm still waiting to see a formal proof of that, and my gut says, if the servers sees enough gradient updates from a given user, it's likely possible to rebuild the original data.
Re: Federated Learning
#3Re: Federated Learning
#4Re: Federated Learning
#5TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
Re: Federated Learning
#6TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
This was a concern for me as well, but the 'Privacy' section of the post addresses this. In short, the algorithm is adapted such that the influence of a single user on the model is limited, and noise is added. I'm not knowledgable enough on differential privacy to know if that covers all possible privacy attacks, but it looks like a good start.
Personally, I'm now more worried about adversaries trying to mess up the model. How many clients need to submit fake updates for the training process to never converge? If it's 50% that's probably fine, but I'm afraid a much smaller amount of users could derail the process already.
Re: Federated Learning
#7TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
Vector representations of textual data of users encode demographics data even when they are explicitly trained no to, and the task they are trained for seems tangential to the demographic data.
See this paper https://arxiv.org/abs/1808.06640 by Yanai Elazar, Yoav Goldberg.
"Adversarial Removal of Demographic Attributes from Text Data"
Recent advances in Representation Learning and Adversarial Training seem to succeed in removing unwanted features from the learned representation. We show that demographic information of authors is encoded in -- and can be recovered from -- the intermediate representations learned by text-based neural classifiers. The implication is that decisions of classifiers trained on textual data are not agnostic to -- and likely condition on -- demographic attributes. When attempting to remove such demographic information using adversarial training, we find that while the adversarial component achieves chance-level development-set accuracy during training, a post-hoc classifier, trained on the encoded sentences from the first part, still manages to reach substantially higher classification accuracies on the same data. This behavior is consistent across several tasks, demographic properties and datasets. We explore several techniques to improve the effectiveness of the adversarial component. Our main conclusion is a cautionary one: do not rely on the adversarial training to achieve invariant representation to sensitive features
Re: Federated Learning
#8TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
That way, you don't know who each update came from, and if you isolated each update, you wouldn't even know if two updates came from the same user.
I haven't taken much time to consider the ramifications, my gut says this would open you up to malicious users who could pass in malicious updates in an attempt to train unwanted behaviour in your model, but I believe this would be an issue with any federated learning approach unless you only use trusted users.
It also does away with the nice efficiency gain you get by averaging the samples based on how many examples the user had.
Of course, this is only useful when reconstructed data doesn't contain enough metadata to ID users anyway.
Re: Federated Learning
#9TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
> However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of it server-side. This was a concern for me as well, but the 'Privacy' section of the post addresses this. In short, the algorithm is adapted such that the influence of a single user on the model is limited, and noise is added. I'm not knowledgable enough on differential privacy to k…
To make the literature search easier: Your second cocern is called "poisioning attacks" and is one of the problems "adversarial machine learning" is concerned with.
Re: Federated Learning
#10TL;DR : Compute the gradient of the error on the user's device and ship that to a server-side centralized model to update its weights. It's a very cool idea that has a lot of interesting applications (among which: learning large statistical user behaviors without "spying" on them). However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of i…
> However, there is an unspoken claim that the gradient update doesn't carry enough information about the user data to reconstruct any of it server-side. This was a concern for me as well, but the 'Privacy' section of the post addresses this. In short, the algorithm is adapted such that the influence of a single user on the model is limited, and noise is added. I'm not knowledgable enough on differential privacy to k…
But in any case (added noise or not), the user-provided weight-updates are improving the model in a certain way. So I suppose that, based on this fact, it inevitably leaks information about the user. For example, assume we are training cat and dog images. Run a test with 1000 validation images of cats and see how much the network got right. Then add the user-provided updates, and see how much the network got right. The difference tells us something about the user's images. This doesn't necessarily work in every case, but statistically it could paint a picture.
(Of course, happy to be proved wrong)