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

Is Your Roof Ready for Storm Season? Roof Water Drainage Could Save Your Life

As the weather warms up in Brisbane, storm activity increases bringing with it large volumes of rainfall and the risk of flash flooding, p...

Small Business Insurance: Safeguarding Your Business Against the Unexpected

Insurance for small businesses helps protect against liability, property damage, and financial loss. Learn why the right cover is essential ...

School Building Painting in Australia: The Unseen Forces Behind Great Learning Environments

A school in Australia isn't just a place of education - it's a community hub, a public investment, and an environment where young lives ar...

Sydney’s Hottest Hot Cross Buns

In Sydney, food is a whole culture. And when it comes to hot cross buns, tradition is no longer the full story. Each year, Easter sparks a c...

The Importance of Flexible Mobility Solutions in Work and Travel

Mobility is at the center of today's travel, work, and movement toward destinations. Regardless of whether it is a business trip, short tr...

Pantalones Tequila Is Rewriting Valentine’s Day Drinking Rules in 2026:

Forget flowers and predictable champagne. This year’s most unexpected Valentine’s gift is a cheeky tequila brand co-founded by Matthew M...

How Australian Businesses Choose the Right Stainless Steel Supply Partner

Stainless steel plays a critical role in many Australian industries, from construction and manufacturing to food processing, mining, and h...

How Caravan Sales Trends Are Shaping Modern Travel in Australia

Travel habits across Australia are changing as more people look for flexible ways to get away without relying on rigid schedules. Patterns i...

A Local’s Guide to Kathmandu Momo House in Epping, Melbourne

If you live in Melbourne’s north, you know Epping is a place that keeps surprising you. It is busy, diverse, and full of life. But findi...

A Taste of the Himalayas in Fitzroy: Where Indian Meets Nepalese Cuisine

A taste of the Himalayas in Fitzroy isn’t about spectacle or novelty. It’s about familiarity shaped by migration, shared kitchens, and...

River Cruising Etiquette – Are You Making a Splash (And Not in a Good Way?)

Australia has always been a hotspot for water-based activities. What else would we do with all that water? It isn’t just surfing, fishin...

The 24-Hour Home Facelift: Why an Automated Entry Is the Ultimate Statement Piece for Your Home

You can repaint the walls, landscape the garden or renovate the kitchen, but when it comes to first impressions, nothing beats the visual im...

The 48-Hour Exterior Makeover: 2 Upgrades That Instantly Boost Your Sydney Home’s Value

When it comes to improving your home’s value, most Sydney homeowners think of big renovations like kitchen remodels or adding a deck. But ...

Human Hair Toppers for Women: Subtle Volume With Natural Confidence

Hair thinning can be a quiet concern for many women, affecting confidence long before it becomes visible to others. Human hair toppers for...

Vehicle Wraps: Turning Everyday Vehicles Into Powerful Brand Assets

In a competitive market where attention is constantly divided, businesses are finding smarter ways to stay visible. Vehicle wraps have em...

Why Commercial Construction Companies Melbourne Drive Large-Scale Project Success

Across office developments, industrial facilities, and mixed-use buildings, commercial construction companies Melbourne play a critical r...

Sleep Apnea Mask Options for Comfortable and Effective Nightly Therapy

Finding the right sleep apnea mask is one of the most important steps in achieving consistent and effective sleep apnea treatment. While C...

Why Knowing How to Find Doctors in Bundoora Supports Better Healthcare Decisions

Access to reliable medical care is essential for maintaining long-term health and wellbeing. Being able to find Doctors in Bundoora gives...

How Lifestyle Awnings Create Stylish and Functional Outdoor Living Spaces

Outdoor spaces have become an essential part of modern living, offering areas to relax, entertain, and connect with the outdoors. Choosing...

How to Use Your NDIS Plan More Effectively With Support Coordination

Having an NDIS plan opens the door to a wide range of supports, but making the most of that plan can feel overwhelming. Funding categories, ...