Robert Harris - Programmed for peril

Robert Harris's new thriller rewrites 'Frankenstein' for the age of the algorithm. Boyd Tonkin explores the scary truth behind the fiction

Something huge, scary and unprecedented happened on 6 May 2010. If you live in the UK, however, you may hardly have noticed it – or even know that it occurred. Within half an hour, the US stock markets fell off a cliff. The Dow Jones index registered a fall of 998 points, the largest daily drop in its history. That included a crash of 600 points within five minutes: the span that David Leinweber, head of computing research at the Lawrence Berkeley National Laboratory in California, has dubbed "the wildest ever five minutes of market data". During this mad half-hour, around $1 trillion in value was wiped off the value of global companies. In Chicago, an automatic lock on trades kicked in. Most losses were recovered within an hour.

For a short while, the world's financial system – and with it the jobs, savings and pensions of us all – stared into a bottomless abyss. No one then seemed to have the slightest idea of why and how this "Flash Crash" had struck. Now we do. A variant of computerised market traffic known as High Frequency Trading (HFT) had in effect run riot, cutting loose from all human control. According to a study of the 6 May emergency by the US Securities and Exchange Commisssion, the algorithms employed by HFT programs were "clearly a contributing factor" in the Flash Crash.

With multi-million dollar trades zipping around the markets in milliseconds, at the behest not of human brains but alogorithmic formulae, "an important speed limit has been breached". Those words appear in a working paper on the risks of computer trading just issued by Foresight, the UK government's scientific advisory body. "It might be argued," runs this drily spine-chilling document, "that the more trading decisions are taken by 'robot' CBT [computer-based] systems, the higher the risk of such wild feedback loops". Free of human oversight, the "normalisation of deviance" by such programs multiplied outlier decisions and extreme events.

So have the humans now recovered control, even though automated trades now account for more than a third of UK equity business and up to 70 per cent in the US? Forget it. It seems that on 1 September 2010, a similar cyber-frenzy exceeded the peak volumes of 6 May, but "no official investigation was commissioned". The gas markets went similarly loco on 2 February this year, and oil on 8 June. "Currently", the Foresight researchers admit, "the scientific literature on complex nonlinear dynamics of networked systems is (in comparison to other fields) in its infancy with regards to concrete predictions and reliably generalisable statements", Or, debugged: we don't know jack. So keep your fingers crossed, punters - and savers, and pensioners, and employees.

Does the Flash Crash fail to ring much of a bell? Don't worry: 6 May 2010 was also the date of the General Election. Talk about a good day on which to bury bad news. Someone in Britain, though, had noticed the gravity of the events. Luckily for readers who wish to grasp the slenderness of the digital threads on which our economic survival hangs, it was the writer perhaps best equipped to make a mass audience appreciate these risks.

Robert Harris's new novel The Fear Index (Hutchinson, £18.99) races along as thriller of high finance set during a single day: that of the Flash Crash. I have to obey spoiler-alert protocols at this point, because it is very hard to summarise what Harris so grippingly achieves through this material without letting some conceptual cats (Schrödinger's, perhaps?) out of the bag. So, if you prefer, look away now and read the book. You will do so very rapidly.

Along the way, The Fear Index picks up some classic science-fiction elements – or rather, I assumed that the SF label would apply, until I began to research this piece. At root, Harris offers a version of the Frankenstein story.

He borrows an epigraph from Mary Shelley's foundation myth of the robot servant that turns against its scientist creator, which warns "how dangerous is the acquirement of knowledge". A prodigious teenager, Mary Shelley invented Dr Frankenstein and his Creature beside Lake Geneva in 1816-1817. Harris chooses that same shore as his scene. Characters' and place names nod to the febrile circle of friends and lovers – Mary, Percy Shelley, Lord Byron, Dr John Polidori - gathered in the Villa Diodati.

I would add another reference from the ramifying branches of the Byron-Shelley clans. In 1843, the mathematician Ada Lovelace – Byron's legitimate daughter – wrote a quite extraordinary set of notes in response to an Italian article about Charles Babbage and his ideas of the "Analytical Engine": generally viewed as the first expression of computer theory. Lady Lovelace's Objection, as it came to be known, stated that "The Analytical Engine has no pretensions to originate anything. It can do whatever we know how to order it to perform."

But what if such an engine did acquire the "pretensions" to originate something? From that premise and potential has stemmed not merely a still-flourishing school of science fiction, in which rebel robots go rogue and attack their manufacturers. Breaches of the first two "Laws of Robotics" framed by Isaac Asimov in 1942 ("A robot may not injure a human being or, through inaction, allow a human being to come to harm; A robot must obey any orders given to it by human beings") continue to power a thousand plots in print and on screen.

Doubting footnotes to Ada's Objection also began to shape the course of computational science itself. In 1950, in the journal Mind, the mathematical genius – and pioneer computer-builder – Alan Turing published a paper, "Computing Machinery and Intelligence". It famously begins: "I propose to consider the question, 'Can machines think?'" In principle, if not in the technological practice of 1950, Turing answers in the affirmative.

He sidesteps the philosophical theories of mind and simply posits convincing human-like machine behaviour as his criterion. The study, and later creation, of artificial intelligence starts in these pages. And Turing himself in his wartime code-breaking days at Bletchley Park would later supply an intellectual template – albeit one made conventionally heterosexual, unlike his gay and hideously victimised original – for the hero, Tom Jericho, of Harris's novel Enigma.

Over the single day of The Fear Index, a mutation of AI runs utterly amok. The novel's obsessive hero, American mathematician Alex Hoffmann, has turned away from pure science at the CERN laboratory to build up a $10bn. hedge fund on the Genevan shores. As you would expect, Harris clarifies the science behind the hedge in thoroughly accessible lay readers' terms, often via Alex's dialogue with his briskly upper-crust English CEO, Hugo Quarry.

Hoffmann, however, has improved on the hedgie maths that can determine an 83 per cent return on investments for his creepy congregation of super-rich clients. To him, and his far-from-merry band of geeks, he has "created King Midas out of silicon chips". Sensibly, Harris goes easy on the satire: we're all in too deep for that now.

The antiseptic offices where his super-qualified analysts – the "quants" - labour over screens may resemble "a United Nations conference on Asperger's Syndrome". But for them, and the boss, the science counts for more than the cash – although the odd $4m. bonus comes in handy. For Hoffmann, his fortune has become "a sort of toxic by-product of his research": a poison that has damaged his marriage to a Yorkshire-born artist, Gabrielle. In her works humanity and technology converge (a presiding theme) as CAT scans of bodies are imprinted on a form of hi-tech stained glass.

From the early hours of 6 May, when Alex reads a first edition of Darwin's The Expression of the Emotions in Man and Animals sent anonymously via an Amsterdam book dealer, we sense that some force plans to frighten him to death. And fear is the emotion that has allowed him to steal a march on his hedge-fund rivals via a trading algorithm, VIXAL-4. It profits from panic in the markets, "because human beings always behave in such predictable ways when they're frightened". For the algorithm to work, it must sift global media and tap into the overload of foreboding generated by 24/7 online news and chatter.

"Digitalisation iself," says Alex, "is creating an epidemic of fear". Measure dread, calibrate it for the markets, and you win. As it happens, a background paper for the Foresight study (from a team led by Gautam Mitra of Brunel University) remarks on the difficulty of extracting information about the "black arts" of this fledgling discipline of "news analytics": "Even the content vendors are unwilling to reveal information about organizations which utilize NA in algorithmic trading".

During the day, as market paroxysms in cyberspace alternate with material shocks in Geneva, the plot reveals the driver of Hugo's rising panic and terror. And the Frankenstein motif grows clear. In an eerily deserted warehouse by the airport, surrounded by unstaffed banks of super-computers, the childless Hugo feels moved "as he supposed a parent might be moved by witnessing a child for the first time unselfconsciously at large in the world". But not, of course, a docile child.

As fine examples of the genre always have, Harris's speculative fiction hothouses the seed of possibility that lurks within new technologies into a monstrous growth. Strikingly, the language of the Foresight report – compiled by cautious experts who perform their own exercises in intellectual hedging at every stage – often overlaps with that of The Fear Index. It even talks of "aggressive predatory algorithms".

In the real world, the scientists note, Credit Suisse runs a digital hunter-killer called "Guerrilla"; Goldman Sachs's include "Stealth". The paper submitted by Dave Cliff – professor of computer science at Bristol – reads uncannily like a commentary on Harris's novel. "Computer-designed and computer-optimised robot traders... could potentially come to replace current algorithms designed and refined by humans," Cliff predicts. "The simple fact is that we humans are made from hardware that is just too bandwidth-limited, and too slow, to compete with coming waves of computer technology."

Like many previous authors, Harris – or rather Alex Hoffmann – equates the ascent of cyber-intelligence with biological evolution. When Alex gazes at a scan of his "messy" brain after an assault, "Surely we can do better than this, he thought. This cannot be the end product." If so, then we had better pay heed to the automated markets where the resources that guarantee our well-being as organic entities increasingly reside. For Dave Cliff, "the performance of next-generation trading algorithms may be extremely difficult to understand or explain". Whether in fiction or in fact, we can no longer say we were not warned.

'The Future of Computer Trading in Financial Markets':

Arts and Entertainment
Russell Tovey, Myanna Buring and Julian Rhind Tutt star in Banished
tvReview: The latest episode was a smidgen less depressing... but it’s hardly a bonza beach party
Arts and Entertainment
Crime watch: Cara Delevingne and Daniel Brühl in ‘The Face of an Angel’
film review
Arts and Entertainment
music Malik left the Asian leg of the band's world tour after being signed off with stress last week
Author J.K. Rowling attends photocall ahead of her reading from 'The Casual Vacancy' at the Queen Elizabeth Hall on September 27, 2012 in London, England.
peopleNot the first time the author has defended Dumbledore's sexuality
‘The Late Late Show’ presenter James Corden is joined by Mila Kunis and Tom Hanks for his first night as host
Arts and Entertainment
‘The Royals’ – a ‘twisted, soapy take on England’s first family’
tv Some of the characters appear to have clear real-life counterparts
Brooks is among a dozen show-business professionals ever to have achieved Egot status
Have you tried new the Independent Digital Edition apps?
Arts and Entertainment

ebooksNow available in paperback
Arts and Entertainment

Arts and Entertainment
A cut above: Sean Penn is outclassed by Mark Rylance in The Gunman
film review
Arts and Entertainment
arts + ents
Arts and Entertainment
James Franco and Zachary Quinto in I Am Michael

Film review Michael Glatze biopic isn't about a self-hating gay man gone straight

Arts and Entertainment
A scene from the movie 'Get Hard'
tvWill Ferrell’s new film Get Hard receives its first reviews
Arts and Entertainment
Left to right: David Cameron (Mark Dexter), Nick Clegg (Bertie Carvel) and Gordon Brown (Ian Grieve)
tvReview: Ian Grieve gets another chance to play Gordon Brown... this is the kinder version
Arts and Entertainment
Benedict Cumberbatch and Martin Freeman in the first look picture from next year's Sherlock special

Arts and Entertainment
Because it wouldn’t be Glastonbury without people kicking off about the headline acts, a petition has already been launched to stop Kanye West performing on the Saturday night

Arts and Entertainment
Molly Risker, Helen Monks, Caden-Ellis Wall, Rebekah Staton, Erin Freeman, Philip Jackson and Alexa Davies in ‘Raised by Wolves’

TV review
Arts and Entertainment

Arts and Entertainment
James May, Jeremy Clarkson and Richard Hammond in the Top Gear Patagonia Special

Arts and Entertainment
Game of Thrones will run for ten years if HBO gets its way but showrunners have mentioned ending it after seven

Game of Thrones
Arts and Entertainment
Mans Zelmerlow will perform 'Heroes' for Sweden at the Eurovision Song Contest 2015

Arts and Entertainment
Elizabeth (Heida Reed) and Ross Poldark (Aiden Turner) in the BBC's remake of their 1975 original Poldark

Poldark review
Arts and Entertainment
Daniel Craig as James Bond in Skyfall

Mexican government reportedly paying Bond producers for positive portrayal in new filmfilm
Arts and Entertainment
Disney’s flying baby elephant is set to return in live-action format
filmWith sequels, prequels and spin-offs, Disney plays it safe... and makes a pachyderm
Arts and Entertainment
Nazrin with Syf, Camden
The QI Elves photographed at the Soho Theatre. They are part of a team of researchers who find facts for the television programme 'QI'.
Arts and Entertainment
‘The Royals’ – a ‘twisted, soapy take on England’s first family’
tv0-star review: Sean O'Grady gives it his best shot anyway
  • Get to the point
Latest stories from i100
Have you tried new the Independent Digital Edition apps?

ES Rentals

    Independent Dating

    By clicking 'Search' you
    are agreeing to our
    Terms of Use.

    The saffron censorship that governs India: Why national pride and religious sentiment trump freedom of expression

    The saffron censorship that governs India

    Zareer Masani reveals why national pride and religious sentiment trump freedom of expression
    Prince Charles' 'black spider' letters to be published 'within weeks'

    Prince Charles' 'black spider' letters to be published 'within weeks'

    Supreme Court rules Dominic Grieve's ministerial veto was invalid
    Distressed Zayn Malik fans are cutting themselves - how did fandom get so dark?

    How did fandom get so dark?

    Grief over Zayn Malik's exit from One Direction seemed amusing until stories of mass 'cutting' emerged. Experts tell Gillian Orr the distress is real, and the girls need support
    The galaxy collisions that shed light on unseen parallel Universe

    The cosmic collisions that have shed light on unseen parallel Universe

    Dark matter study gives scientists insight into mystery of space
    The Swedes are adding a gender-neutral pronoun to their dictionary

    Swedes introduce gender-neutral pronoun

    Why, asks Simon Usborne, must English still struggle awkwardly with the likes of 's/he' and 'they'?
    Disney's mega money-making formula: 'Human' remakes of cartoon classics are part of a lucrative, long-term creative plan

    Disney's mega money-making formula

    'Human' remakes of cartoon classics are part of a lucrative, long-term creative plan
    Lobster has gone mainstream with supermarket bargains for £10 or less - but is it any good?

    Lobster has gone mainstream

    Anthea Gerrie, raised on meaty specimens from the waters around Maine, reveals how to cook up an affordable feast
    Easter 2015: 14 best decorations

    14 best Easter decorations

    Get into the Easter spirit with our pick of accessories, ornaments and tableware
    Paul Scholes column: Gareth Bale would be a perfect fit at Manchester United and could turn them into serious title contenders next season

    Paul Scholes column

    Gareth Bale would be a perfect fit at Manchester United and could turn them into serious title contenders next season
    Inside the Kansas greenhouses where Monsanto is 'playing God' with the future of the planet

    The future of GM

    The greenhouses where Monsanto 'plays God' with the future of the planet
    Britain's mild winters could be numbered: why global warming is leaving UK chillier

    Britain's mild winters could be numbered

    Gulf Stream is slowing down faster than ever, scientists say
    Government gives £250,000 to Independent appeal

    Government gives £250,000 to Independent appeal

    Donation brings total raised by Homeless Veterans campaign to at least £1.25m
    Oh dear, the most borrowed book at Bank of England library doesn't inspire confidence

    The most borrowed book at Bank of England library? Oh dear

    The book's fifth edition is used for Edexcel exams
    Cowslips vs honeysuckle: The hunt for the UK’s favourite wildflower

    Cowslips vs honeysuckle

    It's the hunt for UK’s favourite wildflower
    Child abuse scandal: Did a botched blackmail attempt by South African intelligence help Cyril Smith escape justice?

    Did a botched blackmail attempt help Cyril Smith escape justice?

    A fresh twist reveals the Liberal MP was targeted by the notorious South African intelligence agency Boss