microsoft, framework to describe individual machine-learning model decisions
Researchers use local explanation methods to try and understand how machine learning models make decisions. Even if these explanations are correct, they don’t do any good if humans can’t understand what they mean. MIT researchers have now developed a mathematical framework to quantify and evaluate the understandability of an explanation. Credit: Massachusetts Institute of Technology

Modern machine-learning models, such as neural networks, are often referred to as “black boxes” because they are so complex that even the researchers who design them can’t fully understand how they make predictions.

To provide some insights, researchers use explanation methods that seek to describe individual model decisions. For example, they may highlight words in a movie review that influenced the model’s decision that the review was positive.

But these explanation methods don’t do any good if humans can’t easily understand them, or even misunderstand them. So, MIT researchers created a mathematical framework to formally quantify and evaluate the understandability of explanations for machine-learning models. This can help pinpoint insights about model behavior that might be missed if the researcher is only evaluating a handful of individual explanations to try to understand the entire model.

“With this framework, we can have a very clear picture of not only what we know about the model from these local explanations, but more importantly what we don’t know about it,” says Yilun Zhou, an electrical engineering and computer science graduate student in the Computer Science and Artificial Intelligence Laboratory (CSAIL) and lead author of a paper presenting this framework.

Zhou’s co-authors include Marco Tulio Ribeiro, a senior researcher at Microsoft Research, and senior author Julie Shah, a professor of aeronautics and astronautics and the director of the Interactive Robotics Group in CSAIL. The research will be presented at the Conference of the North American Chapter of the Association for Computational Linguistics.

Understanding local explanations

One way to understand a machine-learning model is to find another model that mimics its predictions but uses transparent reasoning patterns. However, recent neural network models are so complex that this technique usually fails. Instead, researchers resort to using local explanations that focus on individual inputs. Often, these explanations highlight words in the text to signify their importance to one prediction made by the model.

Implicitly, people then generalize these local explanations to overall model behavior. Someone may see that a local explanation method highlighted positive words (like “memorable,” “flawless,” or “charming”) as being the most influential when the model decided a movie review had a positive sentiment. They are then likely to assume that all positive words make positive contributions to a model’s predictions, but that might not always be the case, Zhou says.

The researchers developed a framework, known as ExSum (short for explanation summary), that formalizes those types of claims into rules that can be tested using quantifiable metrics. ExSum evaluates a rule on an entire dataset, rather than just the single instance for which it is constructed.

Using a graphical user interface, an individual writes rules that can then be tweaked, tuned, and evaluated. For example, when studying a model that learns to classify movie reviews as positive or negative, one might write a rule that says “negation words have negative saliency,” which means that words like “not,” “no,” and “nothing” contribute negatively to the sentiment of movie reviews.

Using ExSum, the user can see if that rule holds up using three specific metrics: coverage, validity, and sharpness. Coverage measures how broadly applicable the rule is across the entire dataset. Validity highlights the percentage of individual examples that agree with the rule. Sharpness describes how precise the rule is; a highly valid rule could be so generic that it isn’t useful for understanding the model.

Testing assumptions

If a researcher seeks a deeper understanding of how her model is behaving, she can use ExSum to test specific assumptions, Zhou says.

If she suspects her model is discriminative in terms of gender, she could create rules to say that male pronouns have a positive contribution and female pronouns have a negative contribution. If these rules have high validity, it means they are true overall and the model is likely biased.

ExSum can also reveal unexpected information about a model’s behavior. For example, when evaluating the movie review classifier, the researchers were surprised to find that negative words tend to have more pointed and sharper contributions to the model’s decisions than positive words. This could be due to review writers trying to be polite and less blunt when criticizing a film, Zhou explains.

“To really confirm your understanding, you need to evaluate these claims much more rigorously on a lot of instances. This kind of understanding at this fine-grained level, to the best of our knowledge, has never been uncovered in previous works,” he says.

“Going from local explanations to global understanding was a big gap in the literature. ExSum is a good first step at filling that gap,” adds Ribeiro.

Extending the framework

In the future, Zhou hopes to build upon this work by extending the notion of understandability to other criteria and explanation forms, like counterfactual explanations (which indicate how to modify an input to change the model prediction). For now, they focused on feature attribution methods, which describe the individual features a model used to make a decision (like the words in a movie review).

In addition, he wants to further enhance the framework and user interface so people can create rules faster. Writing rules can require hours of human involvement—and some level of human involvement is crucial because humans must ultimately be able to grasp the explanations—but AI assistance could streamline the process.

As he ponders the future of ExSum, Zhou hopes their work highlights a need to shift the way researchers think about machine-learning model explanations.

“Before this work, if you have a correct local explanation, you are done. You have achieved the holy grail of explaining your model. We are proposing this additional dimension of making sure these explanations are understandable. Understandability needs to be another metric for evaluating our explanations,” says Zhou. More information: Yilun Zhou, Marco Tulio Ribeiro, Julie Shah, ExSum: From Local Explanations to Model Understanding. arXiv:2205.00130v1 [cs.CL], arxiv.org/abs/2205.00130 Provided by Massachusetts Institute of Technology

This story is republished courtesy of MIT News (web.mit.edu/newsoffice/), a popular site that covers news about MIT research, innovation and teaching.

Citation: Framework to describe individual machine-learning model decisions (2022, May 5) retrieved 5 May 2022 from https://techxplore.com/news/2022-05-framework-individual-machine-learning-decisions.html This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Keyword: Framework to describe individual machine-learning model decisions

CAR'S NEWS RELATED

Musk set to finally take wraps off Tesla truck - to tough crowd

Tesla’s electric semi truck unveiled in 2017. — Reuters SAN FRANCISCO: Tesla is set to unveil today its long-delayed Semi, a 18-wheeler heavy duty vehicle that has faced skepticism from industry experts who doubt battery electric trucks can take the strain of hauling hefty loads for hundreds of miles. ...

View more: Musk set to finally take wraps off Tesla truck - to tough crowd

Tesla Semi unladen weight estimated by Nikola whistleblower

Just recently, Tesla CEO Elon Musk announced that the Tesla Semi has been able to complete a 500-mile trip while weighing in at 81,000 pounds. The announcement was received with much excitement from the electric vehicle community, though questions still remained about the unladen weight of the Semi without ...

View more: Tesla Semi unladen weight estimated by Nikola whistleblower

Best Cyber Monday racing video game and accessory deals

‘Forza Horizon 5’: Standard Edition (Xbox and PC) – From $34.99 ‘Gran Turismo’ 7 PS5 Standard Edition – From $49.99 (29% off) ‘F1 2022’ (Playstation, Xbox and PC) – From $35.00 (50% off) ‘GRID Legends’ (Playstation, Xbox and PC) – From $9.99 (up to 83% off) ‘Mario Kart 8 ...

View more: Best Cyber Monday racing video game and accessory deals

Musk says fully loaded Tesla Semi completes 800km trip, invites Gates to test drive

Tesla Semi. Source: Tesla Tesla boss Elon Musk has claimed that a fully-loaded Tesla Semi electric heavy truck has completed an 800kms journey – presumably without re-charging. The revelation – made on the Twitter social media channel he now owns and which he has long used as his soap-box ...

View more: Musk says fully loaded Tesla Semi completes 800km trip, invites Gates to test drive

Tesla’s Elon Musk invites Bill Gates to drive the Semi — just so he knows it’s legit

Tesla CEO Elon Musk and Microsoft co-founder Bill Gates do not necessarily see eye-to-eye in a lot of things. Gates has shorted Tesla stock, and Musk has turned Gates into the butt of jokes several times online. The two billionaires also disagree on one specific thing — long-haul battery ...

View more: Tesla’s Elon Musk invites Bill Gates to drive the Semi — just so he knows it’s legit

Here's how you can stream Metallica's Helping Hands show into your eyes and ears this December

null Metallica have announced that they are to stream their Helping Hands concert from Los Angeles’ Microsoft Theater on December 16. The show – which will be broadcast via Paramount+ – will benefit their All Within My Hands foundation and will feature Greta Van Fleet as the opening act. According ...

View more: Here's how you can stream Metallica's Helping Hands show into your eyes and ears this December

Tesla has lost almost $700 billion in market value, the equivalent of 3 Disneys, 4 Nikes, or 6 Starbucks

Elon Musk. Reuters Tesla’s market capitalization has plunged from over $1.2 trillion to $530 billion in the past year. Elon Musk’s company has lost nearly a Berkshire Hathaway’s worth of market value. Tesla’s $670 billion decline is roughly equivalent to three Disneys, four Nikes, or six Starbucks. Tesla’s market ...

View more: Tesla has lost almost $700 billion in market value, the equivalent of 3 Disneys, 4 Nikes, or 6 Starbucks

Will Electric Cars Kill AM Radio?

There’s an interference problem from EV motors that’s bumping AM bands off of electric vehicle dashboards. Radio over 5G may offer a solution.

View more: Will Electric Cars Kill AM Radio?

mReview: 2023 Polestar 2 SRSM - In Pole Position

Best early Black Friday racing video game and accessory deals

Elon Musk to French President Macron: Twitter will absolutely protect children

Bosch taps IBM quantum computers in hunt for new EV materials

Mobility Ideas Abound at the Web Summit in Portugal

How Oxford Street was left drowning in empty shops and American candy stores

Hyundai, As A Brand, Is Worth More Than Ford, Porsche, or Nissan

Tesla listed among Interbrand’s Best Global Brands 2022 report

Electric Vehicle Council calls for more EVs in Australia

100+ Companies Want 1 Million EVs on Australian Roads by 2027

One million EVs: 100 Australian companies urge rapid uptake of electric vehicles

Driverless car quest has made a bonfire out of $75 billion

OTHER CAR NEWS

; Top List in the World https://www.pinterest.com/newstopcar/pins/
Top Best Sushi Restaurants in SeoulTop Best Caribbean HoneymoonsTop Most Beautiful Islands in PeruTop Best Outdoor Grill BrandsTop Best Global Seafood RestaurantsTop Foods to Boost Your Immune SystemTop Best Foods to Fight HemorrhoidsTop Foods That Pack More Potassium Than a BananaTop Best Healthy Foods to Gain Weight FastTop Best Cosmetic Brands in the U.STop Best Destinations for Food Lovers in EuropeTop Best Foods High in Vitamin ATop Best Foods to Lower Your Blood SugarTop Best Things to Do in LouisianaTop Best Cities to Visit in New YorkTop Best Makeup Addresses In PennsylvaniaTop Reasons to Visit NorwayTop Most Beautiful Islands In The WorldTop Best Law Universities in the WorldTop Richest Sportsmen In The WorldTop Biggest Aquariums In The WorldTop Best Peruvian Restaurants In MiamiTop Best Road Trips From MiamiTop Best Places to Visit in MarylandTop Best Places to Visit in North CarolinaTop Best Electric Cars For KidsTop Best Swedish Brands in The USTop Best Skincare Brands in AmericaTop Best American Lipstick BrandsTop Michelin-starred Restaurants in MiamiTop Best Secluded Getaways From MiamiTop Best Things To Do On A Rainy Day In MiamiTop Most Instagrammable Places In MiamiTop Interesting Facts about FlorenceTop Facts About The First Roman Emperor - AugustusTop Best Japanese FoodsTop Most Beautiful Historical Sites in IsraelTop Best Places To Visit In Holy SeeTop Best Hawaiian IslandsTop Reasons to Visit PortugalTop Best Hotels In L.A. With Free Wi-FiTop Best Scenic Drives in MiamiTop Best Vegan Restaurants in BerlinTop Most Interesting Attractions In WalesTop Health Benefits of a Vegan DietTop Best Thai Restaurant in Las VegasTop Most Beautiful Forests in SwitzerlandTop Best Global Universities in GermanyTop Most Beautiful Lakes in GuyanaTop Best Things To Do in IdahoTop Things to Know Before Traveling to North MacedoniaTop Best German Sunglasses BrandsTop Highest Mountains In FranceTop Biggest Hydroelectric Plants in AmericaTop Best Spa Hotels in NYCTop The World's Scariest BridgeTop Largest Hotels In AmericaTop Most Famous Festivals in JordanTop Best European Restaurants in MunichTop Best Japanese Hiking Boot BrandsTop Best Universities in PolandTop Best Tips for Surfing the Web Safely and AnonymouslyTop Most Valuable Football Clubs in EuropeTop Highest Mountains In ColombiaTop Real-Life Characters of Texas RisingTop Best Beaches in GuatelamaTop Things About DR Congo You Should KnowTop Best Korean Reality & Variety ShowsTop Best RockstarsTop Most Beautiful Waterfalls in GermanyTop Best Fountain Pen Ink BrandsTop Best European Restaurants in ChicagoTop Best Fighter Jets in the WorldTop Best Three-Wheel MotorcyclesTop Most Beautiful Lakes in ManitobaTop Best Dive Sites in VenezuelaTop Best Websites For Art StudentsTop Best Japanese Instant Noodle BrandsTop Best Comedy Manhwa (Webtoons)Top Best Japanese Sunglasses BrandsTop Most Expensive Air Jordan SneakersTop Health Benefits of CucumberTop Famous Universities in SwedenTop Most Popular Films Starring Jo Jung-sukTop Interesting Facts about CougarsTop Best Hospitals for Hip Replacement in the USATop Most Expensive DefendersTop Health Benefits of GooseberriesTop Health Benefits of ParsnipsTop Best Foods and Drinks in LondonTop Health Benefits of Rosehip TeaTop Best Air Fryers for Low-fat CookingTop Most Asked Teacher Interview Questions with AnswersTop Best Shopping Malls in ZurichTop The Most Beautiful Botanical Gardens In L.A.Top Best Mexican Restaurants in Miami for Carb-loading rightTop Best Energy Companies in GermanyTop Best Garage HeatersTop Largest Banks in IrelandTop Leading Provider - Audit and Assurance In The USTop Best Jewelry Brands in IndiaTop Prettiest Streets in the UKTop Best Lakes to Visit in TunisiaTop Highest Mountains in Israel