The Harvard PhD and data scientist talks about her new book and ponders how peoples fear and trust of math is akin to worshipping God

People keep suggesting that democracy is alive and well because we have two parties that dont agree on everything. I think thats total bullshit. When you meet Cathy ONeil, a data scientist and author, you quickly discover she isnt exactly convinced about the health of the USs electoral system.

A Harvard PhD graduate in mathematics and actively involved in the Occupy movement, ONeils experience is crucial to her new book: Weapons of Math Destruction describes the way that math can be manipulated by biases and affect every aspect of our lives.

As well as questioning the two-party system in the US, shes also looked at how mathematics has been used in the housing and banking sector to affect our lives via her blog mathbabe for more than a decade. So whats her problem with good old American democracy in 2016?

Democracy is more than a two-party system. Its an informed public and thats whats at risk, she says. The debates are where you would hope to find out real information, but theyre just talking about their dick size The algorithms are making it harder and harder to get good information. And algorithms, rule-based processes for solving mathematical problems, are being applied to more and more areas of our lives.

This idea is at the heart of ONeils thinking on why algorithms can be so harmful. In theory, mathematics is neutral two plus two equals four regardless of what anyone wishes the answer was. But in practice, mathematical algorithms can be formulated and tweaked based on powerful interests.

ONeil saw those interests first hand when she was a quantitative analyst on Wall Street. Starting in 2007, ONeil spent four years in finance, two of them working for a hedge fund. There she saw the use of weapons of math destruction, a term ONeil uses to describe algorithms that are important, secret and destructive. The algorithms that ultimately caused the financial crisis meet all of those criteria they affected large numbers of people, were entirely opaque and destroyed lives.

I left disgusted by finance because I thought of it as a rigged system and it was rigged for the insiders, says ONeil. I was ashamed by that as a mathematician I love math and I think math is a tool for good.

Among the many examples of powerful formulas that ONeil cites in her book, political polling doesnt come up, even though this election cycle has made pollings power more talked about than ever before. So is it dangerous? Could polling be a weapon of math destruction?

She pauses Im not sure then she pauses some more. I think polling *is* a weapon of math destruction, she says. Nobody really understands it, its incredibly widespread and powerful. We discuss the success of Nate Silver, the founder and editor-in-chief of FiveThirtyEight (a site I spent almost two years working at). Silver has positioned himself as one of the few people who does understand polling, and as such hes been christened as a soothsayer and savant. Were desperate for math answers, which is part of the reason we ended up here, according to ONeil.

You dont see a lot of skepticism, she says. The algorithms are like shiny new toys that we cant resist using. We trust them so much that we project meaning on to them.

That desperation is potentially very damaging to democracy. Increasingly the public is informed about polling data, not policy information, when deciding who to elect. Its self-referential, ONeil explains.

Like so many algorithms, political polls have a feedback loop the more we hear a certain candidate is ahead in the polls, the more we recognize their name and the more we see them as electorally viable.

ONeils book explains how other mathematical models do a similar thing such as the ones used to measure the likelihood an individual will relapse into criminal behavior. When someone is classed as high risk, theyre more likely to get a longer sentence and find it harder to find a job when they eventually do get out. That person is then more likely to commit another crime, and so the model looks like it got it right.

And then there are those biases. Contrary to popular opinion that algorithms are purely objective, ONeil explains in her book that models are opinions embedded in mathematics. Think Trump is a hopeless candidate? That will affect your calculations. Think black American men are all criminal thugs? That affects the models being used in the criminal justice system, too.

Ultimately algorithms, according to ONeil, reinforce discrimination and widen inequality, using peoples fear and trust of mathematics to prevent them from asking questions. The seemingly contradictory words fear and trust leap out to me: how many other things do we both fear and trust, except perhaps for fate or God? ONeil agrees. I think it has a few hallmarks of worship we turn off parts of our brain, we somehow feel like its not our duty, not our right to question this.

But sometimes its hard for non-statisticians to know which questions to ask. ONeils advice is to be persistent. People should feel more entitled to push back and ask for evidence, but they seem to fold a little too quickly when theyre told that its complicated, she says. If someone feels that they some formula has affected their lives, at the very least they should be asking, how do you know that this is legal? That it isnt discriminatory?

But often we dont even know where to look for those important algorithms, because by definition the most dangerous ones are also the most secretive. Thats why the catalogue of case studies in ONeils book are so important; shes telling us where to look.

*Weapons of Math Destruction: How Big Data Increases Inequality and Threatens Democracy is out now and published by Crown*

*No billionaire owner, no shareholders. Just independent, investigative reporting that fights for the truth, whatever the cost. Why not support it? Become a Guardian US member for $49 a year, or make a contribution.*