Skip to main content

Algorithms to Live By - Brian Christian and Tom Griffiths *****

I was captivated by much of this book. It's the perfect antidote to the argument you often hear from young maths students - 'What's the point? I'll never use this in real life!' This often comes up with algebra (which often is useful), but reflects the way that we rarely cover the most applicable bits of maths to everyday life at high school. Although this book is subtitled 'the computer science of human decisions', it's really about the maths of human decision making (which is often supported by computers) - I suspect the 'computer science' label is to make it more sexy than boring old mathematics.

If there is any danger that the 'M' word would turn you off, the book tends to skip over the mathematical workings, concentrating on the outcomes and how they're relevant to the kind of decisions we make in everyday life - and it's that application side that makes it particularly interesting (helped by a good, readable style from the co-authors). So, for instance, one of the earliest areas covered is the kind of decision where you are selecting between a number of options that arrive sequentially and where you have to make a decision on which is best for you part way through the sequence, even though there may be better options in the future. The classic examples for this are some kinds of job interviews, house buying and finding a partner for life.

It might seem there can be no sensible advice, but mathematically it's very clear. You wait until you've got through 37% of the choices, then pick the next one that's better than any you've seen before. It's not that this will necessarily deliver your best of all possible worlds. More often than not it won't. But it will give you a better result than any other mechanism for deciding when to go for a particular option. Of course it's not always easy to apply. For example, unless it's something like an interview with closed applications, how do you know when you are 37% of the way through the available options? Luckily, the authors point out that there are approximations to get around this, which include that the approach can also apply to the amount of time available for the process.

And that's just the start. Along the way you will discover the best way to sort the books on your shelves into alphabetic order (something I confess I did last year, using a sub-optimal mechanism), how to balance exploration (for example, trying out new restaurants) with exploitation (for example, returning to tried and tested restaurants), how the concept of caching can revolutionise your filing system (and make that pile of papers on your desk that everyone mocks the sensible approach), why Bayes theorem is so important and much more. I absolutely revelled in this book.

The content only fades a bit when the applications aren't about real world decisions. So, for instance, there's some material about how the internet works that is very interesting if you like that kind of thing (I do), but hasn't got the same feeling of personal utility to it, so lacks some of the bite of the other chapters. This is even more obvious in the section on randomness. I would also have liked to see more acknowledgement that most of the content was really from the area of study called operational (operations in the US) research, a discipline that happens to make use of computers, rather than true computer science - but that's a specialist moan.

Realistically speaking, I don't think much of the content of this book will truly change how any of us do things. Interestingly, the authors reveal than an expert in the field pretty much consciously ignored the mathematical approach in a particular case, opting for more of a 'feels right' choice. But that doesn't stop the whole business, whether it's the relative simplicity of the 37% rule or the mind twisting possibilities of game theory, from being both potentially practical and highly enjoyable as presented here. Recommended.


Hardback 

Kindle 
Using these links earns us commission at no cost to you

Author interview
Review by Brian Clegg

Comments

Popular posts from this blog

Lucy Jane Santos - Four Way Interview

Lucy Jane Santos is an expert in the history of 20th century leisure, health and beauty, with a particular interest in (some might say obsession with) the cultural history of radioactivity. Writes & talks (a lot) about cocktails and radium. Her debut book Half Lives: The Unlikely History of Radium was published by Icon Books in July 2020.

Why science?

I have always been fascinated by the idea of science especially our daily interactions with and understandings of science – especially in a beauty context. I could spend hours pondering the labels of things on my bathroom shelf. What is 4-t-butylcyclohexanol (as a random example)? Do I really understand what I am putting on my face and spending my money on? Would it change my purchase habits if I did?  

Why this book?

This book came from an accidental discovery – that there was a product called Tho Radia which contained radium and thorium. I found out about it because I actually bought a pot of it – along with a big batch of other produc…

Rewilding: Paul Jepson and Cain Blythe ****

Those who are enthusiastic about saving the environment often have a mixed relationship with science. They might for example, support organic farming or oppose nuclear power, despite organics having no nutritional benefit and requiring far more land to be used to raise the same amount of crops, while nuclear is a green energy source that should be seen as an essential support to renewables. This same confusion can extend to the concept of rewilding, which is one reason that the subtitle of this book uses the word 'radical'.

As Paul Jepson and Cain Blythe make clear, though, radical change is what is required if we are to encourage ecological recovery. To begin with, we need to provide environments for nature that take in the big picture - thinking not just of individual nature reserves but, for example, of corridors that link areas allowing safe species migration. And we also need to move away from an arbitrary approach to restricting to 'native' species, as sometimes…

Is Einstein Still Right? - Clifford Will and Nicolas Yunes ***

If there's one thing that gets a touch tedious in science reporting it's the news headlines that some new observation or experiment 'proves Einstein right' - as if we're still not sure about relativity. At first glance that's what this book does too, but in reality Clifford Will and Nicolas Yunes are celebrating the effectiveness of the general theory of relativity, while being conscious that there may still be situations where, for whatever reason, the general theory is not sufficient.

It's a genuinely interesting book - what Will and Yunes do is take experiments that are probably familiar to the regular popular science reader already and expand on the simplified view of them we are usually given. So, for example, one of the first things they mention is the tower experiments to show the effect of gravitational red shift. I was aware of these experiments, but what we get here goes beyond the basics of the conceptual experiment to deal with the realities of d…