The Algorithms That Run Your Life: Features Cover Story
The Algorithms That Run Your Life: Features Cover Story
The Algorithms That Run Your Life: Features Cover Story
The algorithms
that run your life
They shape our viewing
habits, spot disease and
keep our emails safe.
Meet the algorithms
that you rely on more
than you might think
I
T IS almost impossible to go
a day without interacting with
an algorithm. They help direct
the whole of our online experience,
recommending what we should buy,
read, watch and listen to. Some 74 per
cent of adults in the US use Facebook
at least once a day – and what they see
is decided entirely by an algorithm.
Offline, they are increasingly used to
help us make tricky decisions, screening
job applications, moderating exam
results and even directing which crimes
police investigators focus on.
As they have become ubiquitous,
algorithms have generated a mixture
of hype and concern. On the one hand,
we are regularly told that they can be
opaque and biased. On the other, we
hear that they can be incredibly handy,
pulling off tasks that humans can
struggle with, from optimising complex
trade logistics to spotting the earliest
signs of disease in medical scans.
So what’s the truth about algorithms?
It helps to understand that the word can
mean quite different things (see “What
is an algorithm?”, page 36). It also helps
to get to know some of the algorithms
that shape our lives – so that’s what
we’ll do over the next few pages.
in the recipe aren’t always quite so want to use a loss-inducing format like JPEG,
clearly laid out. such as in medical imaging or digital art. With
Take neural networks, a type of AI compression algorithms, it is always a trade-off
system that mimics the human brain in that between quality and speed of transmission.
it can be trained to perform a task based on Data speeds have increased drastically since
looking at examples of correct and incorrect 1992, but demand has skyrocketed too, so
results. Such “algorithms” can be incredibly forecasts are accurate to within 2°C on 92 per compression is still important. Other kinds
powerful, but it is usually hard to look cent of occasions. So, while it can’t forecast of compression algorithms can squeeze down
inside and determine how they really work. every shower with total precision, it is a other types of file – MP3 is often used for music
There are those who find the loosening pretty reliable algorithm. files, for instance.
of the term algorithm to include AI unhelpful. To get even better, the Unified Model is There are plenty of would-be successors
“Now people use ‘algorithm’ to mean going to have to change. “We are no longer to JPEG designed for even more efficient
almost anything,” says Martin Dyer at getting faster processors, we’re just getting data transmission. One of these is JPEG XL,
the University of Leeds, UK. “I’ve become more processors,” says Ben Shipway at the which Jyrki Alakuijala at Google is working
so annoyed at people misusing it.” Met Office. He and his colleagues are now on. “Images are the heart of the internet,” he
Dyer warns that, in future, we may redesigning the model so it can be run on says. “We are trying to introduce a new way
increasingly lean on machine learning parallel processors. Anna Demming to model colours.” The idea is that this will
as an “easy way out” – a route to solve produce images that are even better tuned
problems without fully understanding to human vision. Chelsea Whyte
them ourselves.
3
He says we ought to apply the right
DIGITAL SHARING
kind of algorithm in the right context.
JPEG
There are times when a rigid set of
predictable steps is desirable and times
when highly capable but ambiguous AI
If you recognise the acronym JPEG, you might
think of it as merely a type of file. In reality, it
92%
can be beneficial. “It’s fine if it gets wrong is an algorithm used to compress the amount of Met Office next-day
temperature forecasts
whether you like this book or not, but it’s of data in an image. The blistering speed with
are accurate to within 2°C
not fine if it crashes your car,” says Dyer. which we can share pictures online is partly
Matthew Sparkes thanks to compression algorithms like this one. SOURCE: UK MET OFFICE
“We will surely be grappling with the
legacy of PageRank for years to come”
7
HEALTH
Triage algorithms
Imagine you start feeling a crushing chest
pain. You quickly phone the emergency
decisions are made according to these only the intended recipient can unscramble services for help. In many countries, it will be
algorithms. “It’s growing all the time,” it. A simple encryption method would be to an algorithm on the end of the line – well, sort
says Vulkan. “Hedge funds have secrets, move each letter in a message one along in the of. The call handler will take you through a
so nobody can tell for sure, but I would alphabet. You send “Ij!” and then the recipient series of questions governed by an algorithm
guess it’s about half of the market now.” knows to decrypt it by reversing the process to to work out if you are having a heart attack or
We do know that trading algorithms are get the original “Hi!”. something else. The outcome determines if an
becoming more complex. Some funds are Trouble is, the first time you send a message, ambulance needs to be sent and how quickly.
going beyond simple rules and using artificial you must overtly tell the recipient how to “If you put everything as a priority, then
intelligence and machine learning. Systems decrypt it, which weakens the system. But here nothing is a priority,” says Richard Webber
based on these can use not only stock market is a cunning trick: if you use an encryption key at the UK’s College of Paramedics.
data as an input variable, but also things like that comes in two parts, one public and one Elsewhere in medicine, algorithms are
the number of positive and negative words in private, you can encrypt your message with beginning to be used without much, if any,
a CEO’s media interview. In time, this might the recipient’s public key but they alone can human intervention. In the online version of
give firms with the smartest algorithms an decrypt it with their private key. NHS 111, the UK’s non-emergency healthcare
advantage. Leah Crane The way to pull this off is to have a process triage service, users are taken through a series
that is easy to do in one direction (encrypting of completely automated questions to help
6 the message), but hard to do in the other direct them. There are also several “symptom
ENCRYPTION (decrypting the message). The RSA algorithm checker” apps available. These ask about your
medical problems and then, based on an
The RSA algorithm algorithm, suggest a probable diagnosis.
Ever used the internet? Then you have However, the UK’s Royal College of General
used RSA cryptography, a combination Practitioners has said that such apps can’t yet
of algorithms and protocols that makes
it possible to send information privately
2.1 million replace doctors’ abilities to make decisions
based on their breadth of experience, their
between computers. Those secrets could be images are training and, sometimes, their gut instincts.
anything from an email to your bank details. shared online More sophisticated machine-learning
every minute
Methods for sending secrets rely on algorithms are being used too. There are
scrambling the message in such a way that SOURCE: STATISTICA, 2019 several systems that can read medical images,
One reason for this is that it works hand-in- understanding the behaviour of materials
glove with the internal protocol (IP) address in which lots of electrons whizz around
system, which gives each connected device, and mutually affect each other. The maths
from servers to smartphones, a unique, is nigh-on impossible, which means we can’t
machine-readable identifier. As the world predict how materials we haven’t yet made
became ever more connected, the number will behave. Roger Melko at the Perimeter
of available IP addresses dwindled, and in One of the most Institute in Waterloo, Canada, has found a
2017 we all but ran out. This was because important algorithms shortcut. He uses Monte Carlo algorithms
IP version 4, the first publicly used version in science was first to do the work instead, applying them to hunt
of the internet, was structured such that tested on a card game exotic new states of matter. Daniel Cossins ❚