Viw Magazine

Men's Weekly

.

  • Written by Kate Smith-Miles, Professor of Applied Mathematics, ARC Laureate Fellow, Chief Investigator in the Australian Centre of Excellence in Mathematical and Statistical Frontiers, University of Melbourne
An algorithm is just following rules designed either directly or indirectly by a human. Shutterstock/Billion Photos

The role of algorithms in our lives is growing rapidly, from simply suggesting online search results or content in our social media feed, to more critical matters like helping doctors determine our cancer risk.

But how do we know we can trust an algorithm’s decision? In June, nearly 100 drivers in the United States learned the hard way that sometimes algorithms can get it very wrong.

Google Maps got them all stuck on a muddy private road in a failed detour to escape a traffic jam heading to Denver International Airport, in Colorado.

Google Maps glitch sends Colorado drivers to muddy backroad.

As our society becomes increasingly dependent on algorithms for advice and decision-making, it’s becoming urgent to tackle the thorny issue of how we can trust them.


Read more: What's not to like? Instagram's trial to hide the number of 'likes' could save users' self-esteem


Algorithms are regularly accused of bias and discrimination. They have attracted concern from US politicians, amid claims we have white men developing facial recognition algorithms trained to work well only for white men.

US committee investigates racial bias in facial recognition software.

But algorithms are nothing more than computer programs making decisions based on rules: either rules that we gave them, or rules they figured out themselves based on examples we gave them.

In both cases, humans are in control of these algorithms and how they behave. If an algorithm is flawed, it’s our doing.

So before we all end up in a metaphorical (or literal!) muddy traffic jam, there is an urgent need to revisit how we humans choose to stress-test those rules and gain trust in algorithms.

Algorithms put to the test, kind of

Humans are naturally suspicious creatures, but most of us can be convinced by evidence.

Given enough test examples – with known correct answers - we develop trust if an algorithm consistently gives the correct answer, and not just for easy obvious examples but for the challenging, realistic and diverse examples. Then we can be convinced the algorithm is unbiased and reliable.

Sounds easy enough, right? But is this how algorithms are usually tested? It’s harder than it sounds to make sure that test examples are unbiased and representative of all possible scenarios that could be encountered.

More commonly, well studied benchmark examples are used because they are easily available from websites. (Microsoft had a database of celebrity faces for testing facial recognition algorithms but it was recently deleted due to privacy concerns.)

Comparison of algorithms is also easier when tested on shared benchmarks, but these test examples are rarely scrutinised for their biases. Even worse, the performance of algorithms is typically reported on average across the test examples.

Unfortunately, knowing an algorithm performs well on average doesn’t tell us anything about whether we can trust it in specific cases.

It’s not surprising to read that doctors are sceptical of Google’s algorithm for cancer diagnosis, which offers 89% accuracy on average. How does a doctor know if their patient is one of the unlucky 11% with an incorrect diagnosis?


Read more: Treat or trick: we asked people how they feel about sharing fitness data with insurance companies


With increasing demand for personalised medicine tailored to the individual (not just Mr/Ms Average), and with averages known to hide all sorts of sins, the average results won’t win human trust.

The need for new testing protocols

It’s clearly not rigorous enough to test a bunch of examples - well-studied benchmarks or not - without proving they are unbiased, and then draw conclusions about reliability of an algorithm on average.

And yet paradoxically this is the approach on which research labs around the world depend to flex their algorithmic muscles. The academic peer-review process reinforces these inherited and rarely questioned testing procedures.

A new algorithm is publishable if it’s better on average than existing algorithms on well-studied benchmark examples. If it’s not competitive in this way, it’s either hidden away from further peer-review scrutiny, or new examples are presented for which the algorithm looks useful.

In this way, a warm, flattering light is shone on each newly published algorithm, with little attempt to stress-test its strengths and weaknesses, and present it warts and all. It’s the computer science version of medical researchers failing to publish the full results of clinical trials.

As algorithmic trust becomes more crucial, we urgently need to update this methodology to scrutinise whether the chosen test examples are fit for purpose. So far, researchers have been held back from more rigorous analysis by the lack of suitable tools.

We’ve built a better stress-test

After more than a decade of research, my team has launched a new online algorithm analysis tool called MATILDA: Melbourne Algorithm Test Instance Library with Data Analytics.

It helps stress-test algorithms more rigorously by creating powerful visualisations of a problem, showing all scenarios or examples an algorithm should consider for comprehensive testing.

MATILDA identifies each algorithm’s unique strengths and weaknesses, recommending which of the available algorithms to use under different scenarios and why.

For example, if recent rain has turned unsealed roads into mud, some “shortest-path” algorithms may be unreliable unless they can anticipate the likely impact of weather on travel times when advising the quickest route. Unless developers test such scenarios they’ll never know about such weaknesses until it is too late and we are stuck in the mud.

MATILDA helps us see the diversity and comprehensiveness of benchmarks, and where new test examples should be designed to fill every nook and cranny of the possible space in which the algorithm could be asked to operate.

The image below shows a diverse set of scenarios (dots) for a Google Maps type of problem. Each scenario varies conditions - like the origin and destination locations, the available road network, weather conditions, travel times on various roads - and all this information is mathematically captured and summarised by each scenario’s two-dimensional coordinates in the space.

A Google-maps-type problem with diverse test scenarios as dots: Algorithm B (red) is best on average, but Algorithm A (green) is better in many cases. MATILDA, Author provided

Two algorithms are compared (red and green) to see which can find the shortest route. Each algorithm is proven to be best (or shown to be unreliable) in different regions depending on how it performs on these tested scenarios.

We can also take a good guess at which algorithm is likely to be best for the missing scenarios (gaps) we haven’t yet tested.


Read more: Consumer watchdog calls for new measures to combat Facebook and Google's digital dominance


The mathematics behind MATILDA helps to create this visualisation, by analysing algorithm reliability data from test scenarios, and finding a way to see the patterns easily.

The insights and explanations mean we can choose the best algorithm for the problem at hand, rather than crossing our fingers and hoping we can trust the algorithm that performs best on average.

By rigorously stress-testing algorithms in this way – warts and all – we should reduce the risk of rogue algorithm decisions, securing the trust of Mr/Ms Average, and perhaps even the most sceptical humans.

Kate Smith-Miles receives funding from the Australian Research Council as a Georgina Sweet Australian Laureate Fellow, and as a Chief Investigator in the Australian Centre of Excellence in Mathematical and Statistical Frontiers (ACEMS). She is Immediate Past President of the Australian Mathematical Society, and a member of the Australian Research Council's College of Experts.

Authors: Kate Smith-Miles, Professor of Applied Mathematics, ARC Laureate Fellow, Chief Investigator in the Australian Centre of Excellence in Mathematical and Statistical Frontiers, University of Melbourne

Read more http://theconversation.com/algorithms-are-everywhere-but-what-will-it-take-for-us-to-trust-them-118830

7 Signs Your Lorry Needs a Diesel Mechanic, Stat!

Your lorry is the backbone of your business. When it's running smoothly, everything else tends to fall into place. But what happens when t...

Why Real Estate Is a Smart Long-Term Investment

When it comes to building wealth and securing financial stability, few opportunities stand as tall as real estate. Unlike short-term venture...

The Ultimate Guide to Building a Home Gym on a Budget

For many people, the idea of building a home gym feels expensive and overwhelming, but it doesn’t have to be. The truth is, you don’t ne...

Red Flags to Look Out for When Buying an Investment Property

When you're looking to buy a property to rent out, it is a great way to build wealth. But not every property is a good deal. To make a smart...

The Complete Guide to Navigating the Home Buying Process

Buying a home in Australia is a wild ride. There’s the pressure, the excitement, and the endless scrolling of properties on apps like youâ...

The Ultimate Guide to Building a Capsule Wardrobe

There is nothing more infuriating than seeing getting dressed in the morning as a frustrating chore. If you spend mornings standing in front...

Simple Daily Habits That Improve Balance and Flexibility

Have you ever noticed how easily children can twist, stretch, and balance without a second thought? As adults, we often lose that natural ag...

Modern Luxury on a Budget: Interior Design Hacks That Work

Luxury doesn’t always mean expensive, although that’s what we go for when we try to add it to our home. In design, luxury can be a lot o...

Common Mistakes Sellers Make and How to Avoid Them

Selling a property, an item, or even a service is deceptively simple. Everyone thinks it’s straightforward, where you just list it, wait, ...

A Beginner’s Guide to Investing in Rental Properties

Investing in rental properties sounds so great when people talk about building a portfolio over brunch. The truth is, it’s a craft. It’s...

How Location Affects Property Sale Prices

A home's value is heavily tied to its location, and this extends far beyond just the street name. The neighbourhood, the town, and even the ...

How the First Five Years Shape a Child’s Future

The development of a child’s brain is a truly fascinating process, especially when you consider the fact that most of the brain develops i...

Event Entertainment Ideas To Wow Your Guests

Everyone wants their event to succeed. But without a good approach, you’re really just gambling with time and resources. And why waste a w...

Titanium vs. Zirconia Implants: Which Is Right for You?

Selecting a dental implant is a big choice that impacts your general well-being, appearance, and oral health. Zirconium has emerged as a s...

Why Leak Detection is Essential for Every Perth Home

Water is one of the most valuable resources we have, but when it goes where it shouldn’t, the damage can be costly. Leaks are one of the m...

Why Therapists Are Choosing a Career in Mobile Speech Pathology

For many, the image of a speech pathologist is tied to a clinic or school, a professional working in a structured, predictable environme...

Efficient Home Comfort with Gas Ducted Heating

When it comes to staying warm during Melbourne’s colder months, gas ducted heating has become one of the most popular solutions for hom...

How to Maximise Your NDIS Plan with Mobile Therapy Services

As the conversation around NDIS reforms continues, it’s more important than ever for participants and their families to find smarter, mo...

Expert Partner Visa Immigration Lawyers for Strong Evidence

Trying to live with your partner in Australia should feel exciting but instead, it often feels like paperwork is standing in the way of yo...

Medical Fitout Melbourne: Building Healthcare Spaces That Meet Standards and Inspire Confidence

In the medical field, the layout, cleanliness, and functionality of your facility directly affect patient outcomes, staff workflow, and op...