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 
Review by Brian Clegg

Comments

Popular posts from this blog

The Art of Logic - Eugenia Cheng ***

This is an important book, though I'm not sure Eugenia Cheng would agree with my logic in saying so. 

Going on the marketing, what we have here is a counter to fake news and dodgy argumentation in the form of mathematical logic. The back cover tells us 'Newspaper headlines and social media use emotions to warp the facts. Politicians and companies master rhetoric to mislead us. What one book could help us make sense of it all?' Admittedly they don't answer their rhetorical question, but I assume the answer is intended to be The Art of Logic. (Did the company behind this book realise it was using rhetoric, though presumably not to mislead us?) 

What we actually have is a combination of a lucid and interesting explanation of the basics of logic with the mathematical equivalent of those books such as Algorithms to Live By that were so popular a couple of years ago. They used the logic of algorithms (differently worded, and, to me, easier to understand), the heart of computer…

Quantum Economics - David Orrell ****

David Orrell's earlier title Economyths is one of my favourite popular science books of all time. Or, perhaps, I should say popular non-science, as Orrell shows just how devastatingly traditional economics uses the tools of science without having a scientific basis. I was, therefore, really looking forward to reading Orrell's new book - until I saw the title. As anyone involved with physics can tell you, there's nothing more irritating than the business of sticking the word 'quantum' onto something to give a pseudo-scientific boost to waffle and woo. Was Orrell doing the same thing? Thankfully, his introduction put my fears aside.

Orrell, a mathematician with a physics background quickly makes it clear that the way he is using quantum theory is not just employing magic words, but involves making use of strong parallels between the nature of quantum objects and concepts like money (more on money in a moment). Yes, this is to some extent a metaphorical use of quantum …

The Ashtray - Errol Morris *****

Wow. When someone suggested I read a book called The Ashtray, written by a documentary film-maker, it didn't strike me that it would be a book that gave deep insights into the history and philosophy of science - while also being a remarkable reading experience. In fact, I almost didn't bother with it, but I'm glad that I did.

The titular ashtray was thrown at the author when he was a grad student - thrown by one of the two best known names in the philosophy of science, Thomas Kuhn, he of The Structure of Scientific Revolutions and the concept of paradigm shifts. Kuhn didn't like the young Errol Morris daring to challenge his ideas and reacted with what some would regard as a less than philosophical reply by hurling a heavy glass ashtray at him.

Part of the reason that reading The Ashtray is a remarkable experience is because it's a book that feels in some ways like watching a documentary. I have to confess I've never seen any of Morris's work, but he uses vis…