News for hackers. Stuff that matters.
Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @11:36AM (#19583565)
> um... please tell me devs don't have access to production data

If developers don't have access to production data, then the solution is useless. How do people not understand this in 2019?

Millions of dollars have been dumped into various products centred around the idea of synthesizing 'production-like' data and all have failed. Because synthesizing fake data destroys the signal that makes the original data useful in the first place. If the engineers don't have access to it, then they can't extract the value from it, then what the hell are you doing in the first place?

You think if you give engineers a synthetic dataset and they build a blind solution around it, that the users will be extract value out of that data? That myth was dispelled a decade ago and there doesn't exist a single synthetic data success story since then.

I've had clients coming to us with the notion that they can give us fake imaging data and we can generate diagnostic insights from it. This crap needs to stop. If you can't trust engineers with your data to extract value out of it, then go ahead and munge it in excel.

Re:Running VSCode in Docker by srndh on Saturday April 06, 2019 @03:08AM (#19589670)
I too share your same view.

When I had this same discussion, the response I got was its not a matter of trust. But apparently in the terms & conditions (that consumers do not read anyways, including myself). There is a part of the data not being viewed by anyone not using it for diagnosis or treatment of the patient. Basically, only anyone with a medical degree and part of the team treating the patient can access the data & does not mention about the engineer using the data to build a better system to improve the system used for healthcare. So, ideally they want a candidate with a double degree in software and medicine. This term is applicable to other domains also.

I do not accept the reason, but that is what it is.

Re:Running VSCode in Docker by MuffinFlavored on Friday April 05, 2019 @11:37AM (#19583579)
> If developers don't have access to production data, then the solution is useless. How do people not understand this in 2019?

... what?

Re:Running VSCode in Docker by jldugger on Friday April 05, 2019 @11:43AM (#19583640)
Think machine learning.
Re:Running VSCode in Docker by inetknght on Friday April 05, 2019 @11:56AM (#19583770)
I am thinking machine learning. I am thinking I don't want a developer to run machine learning algorithms in a (unsanitized) development environment with access to production data.
Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @11:58AM (#19583790)
How do you train validate and market test an ml model without access to production data? Please teach us all, this is literally a billion dollar industry question.
Re:Running VSCode in Docker by ggregoire on Friday April 05, 2019 @01:57PM (#19585302)
You duplicate the data in dev but remove the names, SSNs, emails, addresses, phone numbers, etc?
Re:Running VSCode in Docker by jldugger on Friday April 05, 2019 @04:02PM (#19586451)
That's not enough even, in previous cases we've seen researchers augment datasets with other data to de-anonymize. https://www.wired.com/2007/12/why-anonymous-data-sometimes-i...

But I think in general the idea OP was dismissing was generating synthetic data rather than attempting to anonymize prod data. In that case you have a risk of modeling the generator rather than your users.

Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @08:44PM (#19588412)
PII is only one type of sensitive information, there is a lot more.

The bottom line that if you want to draw insights from data, that particular data must make its way to the engineer unadulterated. If you de-risk some fields in your data via removal/masking/entropy, then you are excluding those fields from ml.

You are not talking about blinded machine learning, you're talking about not doing machine learning on sensitive data in the first place. The whole discussion is moot.

Re:Running VSCode in Docker by inetknght on Saturday April 06, 2019 @01:31AM (#19589422)
If it's literally a billion dollar industry question, then hire me. I'm not interested in continuing to feed corporations for free.
Re:Running VSCode in Docker by nevir on Friday April 05, 2019 @11:42AM (#19583637)
FWIW, as an example, Google developers don't have direct access to production PII data.

The best they get are aggregations (sufficiently large enough that you can't identity a person). Specific user information is only available if the user explicitly opts in to share it, and is scoped to the specific case for analysis.

It makes training/diagnosing ML models a challenge, to be sure

Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @12:04PM (#19583847)
Let's be really clear here. It doesn't just make ML solutions a challenge. It makes them impossible.

Even with all the compute power and automation of google, you can't blindly create an ML model and say yes it works without a data scientist actually looking at the guts with row-wise access to the training/validation data.

You can't do analytics without giving engineers access to prod data. Not at even at Google.

Re:Running VSCode in Docker by nevir on Friday April 05, 2019 @12:10PM (#19583916)
And yet, they do.

Source: worked there, on a ML focused team.

Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @12:18PM (#19584012)
Go on, tell us how it works so we can all start doing the same and save millions of dollars in risk/compliance crossing enablement.
Re:Running VSCode in Docker by nevir on Friday April 05, 2019 @12:24PM (#19584089)
https://cloud.google.com/solutions/sensitive-data-and-ml-dat... has some high level guidance on different techniques that can be applied, depending on the type of data you're working with.
Re:Running VSCode in Docker by kuzehanka on Friday April 05, 2019 @12:34PM (#19584242)
I actually know this article, so I'll summarise it for the readers.

It covers de-risking data if it isn't required for ML models or is of low impact. Through removal of it, masking of it, or entropy injection to it. Every single one of these approaches is detrimental to an ML model and just make it useless unless the fields being controlled are't correlated to the outcome in the first place.

This article is an acknowledgement of the issue and the fact that solutions don't exist. Only risk management strategies which disable potential solutions.

Their ultimate answer is 'protect the data and give it to only a small restricted set of people'. Right back where we started.

Re:Running VSCode in Docker by Fireflite on Friday April 05, 2019 @09:36PM (#19588600)
Injecting entropy into your data in order to generate differentially private access actually typically improves model performance, rather than degrades it.

This behaviour is counterintuitive, but effectively you're enforcing a degree of regularization in a way similar to how data augmentation works. You'll get reduced training set performance and improved test set performance, as with other forms of regularization until you make it too strong.