MITB Banner

Inside IBM’s Open-Source Toolkit To Measure Uncertainty In ML Models

Share

It’s essential to understand the inherent uncertainties machine learning models carry to ensure fairness, build trust, and improve decision-making. Despite being an important factor, uncertainty is often overlooked in the context of machine learning-assisted decision making.

To this end, IBM released the Uncertainty Quantification 360 (UQ360) open-source toolkit to provide developers and data scientists with a guideline/process to quantify, evaluate, improve, and communicate the uncertainty of machine learning models. The AI toolkit was introduced at the recent IBM Data & AI Digital Developer Conference.

With a guideline in place, as in the case of UQ360, developers will be able to estimate the uncertainty in ML model prediction and evaluate them and, if needed, improve their quality. It also helps in effectively communicating these uncertainties to other stakeholders. It currently provides 11 UQ algorithms.

What is UQ360

Uncertainty can emerge from multiple factors:

Aleatoric uncertainty: It is also called statistical uncertainty. In this case, two examples with the same profiles may give different outcomes every time they are measured. The underlying cause behind this kind of uncertainty is usually the noise associated with data. 

Epistemic uncertainty: It is also referred to as systematic uncertainty. Epistemic uncertainty happens due to ambiguity with the model. This could be due to unclear mapping function, inaccurate measurements, or different functions explaining a given set of training data.

Choosing a UQ estimation method depends on several factors such as the underlying model, type of machine learning task, data characteristics, and the end objective. It is possible that a chosen UQ method does not produce high-quality estimates and could mislead users. In critical situations such as medicine and finance, such lapses can create significant risks. It is therefore important for model developers to evaluate and improve the quality of UQ before deploying an AI system.

Taxonomy of UQ estimation method (Credit: IBM)

This is where UQ360 can help. IBM’s UQ360 is a set of algorithms and taxonomy to quantify uncertainty. It also gives guidelines on improving uncertainty quantification (UQ). Uncertainty quantification exposes the limits of a machine learning model and points at the potential weak links. Such high-quality uncertainty estimates and open communication around this topic can greatly improve and benefit human-AI collaboration.

Uncertainty quantification using UQ360 (Credit: IBM)

UQ360 provides a set of metrics to measure the quality of uncertainties produced by different algorithms. These metrics include classification metric, regression metric, and uncertainty characteristic curve. It also contains a set of techniques for improving the quality of the estimated uncertainties.

The UQ360 Python package contains UQ algorithms that help users choose styles, such as descriptions or visualisations, to communicate UQ estimates. It also includes several tutorials and demonstrations depicting how to use UQ across the AI lifecycle.

Wrapping up

IBM said UQ information could be used in high-stakes applications such as medicine, security, and finance to prevent excessive reliance on AI systems and to enable better decision making. 

“We have developed UQ360 to disseminate the latest research and educational materials for producing and applying uncertainty quantification in an AI lifecycle. This is a growing area and we have developed this toolkit with extensibility in mind,” the team said. Further, IBM has urged contributions from the developer’s community to add to the UQ capabilities and explore UQ’s connection to other factors of Trustworthy AI–fairness, robustness, factsheets, and explainability.

PS: The story was written using a keyboard.
Picture of Shraddha Goled

Shraddha Goled

I am a technology journalist with AIM. I write stories focused on the AI landscape in India and around the world with a special interest in analysing its long term impact on individuals and societies. Reach out to me at shraddha.goled@analyticsindiamag.com.
Related Posts

Download our Mobile App

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox
Recent Stories

Featured

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

AIM Conference Calendar

Immerse yourself in AI and business conferences tailored to your role, designed to elevate your performance and empower you to accomplish your organization’s vital objectives. Revel in intimate events that encapsulate the heart and soul of the AI Industry.

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed