Azure Machine Learning – The Responsible Road
Published: 2020-05-20 06:26:18

Artificial Intelligence can change people's lives. It can help people see again, and it can help us to get faster diagnosed for deceases. It is helping me right now to write a blog post that reads easier and with fewer spelling mistakes. Companies use AI to predict their sales, to optimize their production. AI assists us wholly or partially in driving a car. These are just some examples of what it can do.

But ... Yes, there is always a but to every story. Data can be dangerous if used or interpreted in the wrong way. A very famous paradox is the ['Simpson Paradox](https://www.youtube.com/watch?v=wgLUDw8eLB4).' In this paradox, it shows that data can tell the truth, but it is not the full truth.

Now imagine you are working for the Department of Corrections, and you need to build a model that predicts what the risk is for recidivism. Based on that, they could decide whether to grant people parole or not.

Or you work for a bank, and you build an algorithm that calculates if you will be able to pay back a loan or not. Based on the result, the bank will give you credit or not.

These projects can work great, but what if you cannot explain why Ms. Emma Smith cannot get a loan. Or why is Mr. Kalifa Abara is a higher risk for recidivism? And should you, as a data scientist, have access to all these very confidential data. (*)

![Undestand - Protect - Control](https://www.datafish.eu/wp-content/uploads/2020/05/upc-1024x344.png)

Last year's Build (2019) was all about AI for all skill levels. With many new features within the cognitive services and automated ML.\
Then we had Ignite (2019), where the focus was on bringing AI into production with MLOps. By converting the techniques of software development cycles into the machine learning industry.

Today Build 2020 has started, and Microsoft put their focus now on "Responsible ML." Within this topic, there are three different pillars.

### Understand

"Why did Mr. Carl Jones not get a loan?"\
It has happened many times customers leaves a bank office devastated, because they did not get a loan, and the banker could not give a reason.

For this, Microsoft is working on three projects, namely:

[Interpret-Text](https://github.com/interpretml/interpret-text): a library that incorporates explainers for text-based machine learning models and visualizes the results with a built-in dashboard

[FairLearn](https://github.com/fairlearn/fairlearn): a python package that implements a variety of algorithms that mitigate unfairness in supervised machine learning

[DiCE (Diverse Counterfactual Explanations):](https://github.com/interpretml/DiCE) a library that generates "what-if" explanations for a model output

### Protect

How do we make the difference in our datasets between general information and private information, and how can you protect that part of your data.

Or what if you don't want your data scientist even to see the data. Or how can we protect data while it is getting processed?

To fix these problems, Microsoft revealed some other great tools:

Differential Privacy Whitenoise ([Core](https://github.com/opendifferentialprivacy/whitenoise-core) & [System](https://github.com/opendifferentialprivacy/whitenoise-system)): Differential Privacy validator and runtime + tools and services for DP processing of tabular and relational data

[Seal SDK](https://github.com/Microsoft/SEAL): An easy-to-use and powerful homomorphic encryption library, or in other words how can you do mathematical calculations on encrypted data

[Open Enclave](https://openenclave.io/sdk/): New Azure VMs, where data can stay encrypted while getting processed, by making use of specialized hardware.

### Control

How do we explain that a new iteration of training your Machine Learning model gives suddenly different results?

Azure Machine Learning Audit Trail enables you to automatically track your experiments and datasets that correspond to your registered ML Model.

Stay tuned for more details.
----------------------------

The above items are a lot of excellent new features that will get built-in within AML; some soon, some might still take some time.

Myself and three other Microsoft AI MVP's were asked by Microsoft to have a look at it. And on Thursday (21th of May 2020) we will kick-off with a live stream on Twitch (hosted by [Henk Boelman](https://twitter.com/hboelman) and [Tess Ferrandez](https://twitter.com/TessFerrandez))

If you want to hear more details about these topics, then join us on Twitch:

<http://twitch.com/microsoftdeveloper>

Each four of us will go more in-depth into one of the features.

-   Eve Pardi [(@EvePardi](https://twitter.com/evepardi)) will talk about Interpret-Text. You can read her intro blog [[here](https://medium.com/@evepardi/responsible-ai-interpret-text-cabc32ca5857)]
-   Willem Meints ([@Willem_Meints](https://twitter.com/willem_meints)) is going to discuss FairLearn. You can find his intro blog [[here](https://fizzylogic.nl/fairlearn-the-secret-to-teaching-your-models-to-play-fair)]
-   Alicia Moniz ([@AliciaMoniz](https://twitter.com/AliciaMoniz)) looked into Differential Privacy. Her intro blog can be found [here]

And me myself, I will take you into the magical world of Confidential ML with Microsoft Seal and OpenEnclave.

Stay tuned!

Initially posted on: https://www.datafish.eu/article/azure-machine-learning-the-responsible-road/

**: The names used in this article are random, not based on any real person.*