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

Choosing the Right Water Tanks Melbourne for Your Home or Business

Rising water bills, unpredictable rainfall, and the need to reduce reliance on the mains supply have encouraged many residents and busines...

Elevating Interiors with Hybrid Timber Flooring

Flooring is one of the most important elements of interior design, setting the foundation for the overall look, comfort, and functionality...

Why Visiting a Dentist Regularly is Essential for Oral Health

Good oral health is more than just having a bright smile—it plays an important role in overall well-being. Regular visits to a dentist ...

How Construction Law Firms in Melbourne Safeguard Complex Projects

Introduction From multi-storey developments to infrastructure upgrades, construction in Melbourne is thriving. Yet each project carries l...

The Ultimate Guide to Home Security Camera Laws in Australia

Security cameras are now one of the most common ways Australians protect their homes, families, and businesses. But before you install a C...

Ways Branded Apparel Boosts Team Morale & Business Image

Introduction Branded uniforms and apparel are often seen as a basic necessity, but they play a much bigger role in building company cultu...

The Rise of WordPress-Powered Mobile Applications

In the age of rapid digitalisation, companies are always on the lookout for new methods to reach their customers and provide end-to-end di...

7 Ways Roller Shutters Perth Can Save You Money & Energy

Thinking about ways to cut down on your bills and make your home more comfortable in Perth? You're not alone! Many homeowners are looking fo...

Sydney Gets Fired Up: Fireball Whisky Launches ‘Motel Fireball Inn’

The number one shot in Australia (and the USA) is turning up the heat!  Fireball Whisky is bringing the party to Sydney with the launch...

Why Headless CMS Is Essential for Global B2B Sales Enablement

B2B selling is more global, digital and complex than ever. B2B buyers want accurate, timely and needs-based information no matter where th...

Top Tips for Successfully Completing Training and Passing Driving Tests

Learning to drive can feel exciting and a little overwhelming at the same time. Whether you’re preparing for your very first driving test ...

Why Location Still Rules in Real Estate

When people talk about real estate, the phrase location, location, location always comes up. It might sound like a cliché, but it’s still...

The Ultimate Guide to Renting: Landlord and Tenant Rights

Renting a property can be a smooth and rewarding experience when both landlords and tenants understand their rights and responsibilities. Cl...

The Pros and Cons of Renting vs. Owning a Home

Deciding between owning and renting a home is a huge financial choice a lot of people have to deal with in their lifetime. While homeownersh...

Innovative Ways to Showcase Your Products and Services Effectively

You don’t have to be in these waters to know that marketing has always been a game of attention. Attention is expensive, even more than go...

How to Choose the Right Real Estate Agent for You

Whether you’re buying or selling a property, having a real estate agent on your side can be a game-changer. They know the ins and outs of ...

Finding True Connection in the Rush of Modern Life

Life in major cities is full of opportunities, yet many residents find themselves feeling disconnected and isolated. Despite being surrounde...

Finding Balance: Fun, Safety, and Connection in Modern Nightlife

Modern nightlife has evolved into more than just dancing and music—it’s a cultural space where people seek entertainment, connection, an...

Essential Skills and Tips for First-Time Volunteers Abroad

So, you have decided to embark on a jubilant adventure of volunteering abroad? Congrats, you are in for a real treat! Not only that, but who...

Essential Considerations When Choosing a Family Home

Finding the right home for your family is one of the biggest and most important decisions you'll ever make. It's about more than just a buil...