The charge of the chatbots: how do you tell who’s human online?

, Lire sur theguardian.com

Automated "˜voices’ that were supposed to do mundane tasks online also now spread hate speech and polarise opinion. Are they a boon or a threat?

Alan Turing’s famous test of whether machines could fool us into believing they were human "“ "the imitation game" "“ has become a mundane, daily question for all of us. We are surrounded by machine voices, and think nothing of conversing with them "“ though each time I hear my car tell me where to turn left I am reminded of my grandmother, who having installed a telephone late in life used to routinely say goodnight to the speaking clock.

We find ourselves locked into interminable text chats with breezy automated bank tellers and offer our mother’s maiden name to a variety of robotic speakers that sound plausibly alive. I’ve resisted the domestic spies of Apple and Amazon, but one or two friends jokingly describe the rapport they and their kids have built up with Amazon’s Alexa or Google’s Home Hub "“ and they are right about that: the more you tell your virtual valet, the more you disclose of wants and desires, the more speedily it can learn and commit to memory those last few fragments of your inner life you had kept to yourself.

As the line between human and digital voices blurs, our suspicions are raised: who exactly are we talking to? No online conversation or message-board spat is complete without its doubters: "Are you a bot?" Or, the contemporary door-slam: "Bot: blocked!" Those doubts will only increase. The ability of bots "“ a term which can describe any automated process present in a computer network "“ to mimic human online behaviour and language has developed sharply in the past three years. For the moment, most of us remain serenely confident that we can tell the difference between a human presence and the voices of the encoded "foot soldiers" of the internet that perform more than 50% of its tasks and contribute about 20% of all social media "conversation" . That confidence does not extend, however, to those who have devoted the last decade or so to trying to detect, and defend against, that bot invasion.

Naturally, because of the scale of the task, they must enlist bots to help them find bots. The most accessible automated Turing test is the creation of Professor Emilio Ferrara, principal investigator in machine intelligence and data science at the University of Southern California. In its infancy the bot-detector "BotOrNot?" allowed you to use many of the conventional indicators of automation "“ abnormal account activity, repetition, generic profiles "“ to determine the origin of a Twitter feed. Now called the Botometer (after the original was targeted by copycat hacks), it boasts a sophisticated algorithm based on all it has learned. It’s a neat trick. You can feed it your own "“ or anyone else’s "“ Twitter name and quickly establish how bot-like your bon mots are. On a scale where zero is human and five is machine, mine scored 0.2, putting @TimAdamsWrites on a sentient level with @JeremyCorbyn, but "“ disturbingly "“ slightly more robotic than @theresa_may.

Speaking to me on the phone last week, Ferrara explained how in the five years since BotOrNot has been up and running, detection has become vastly more complex. "The advance in artificial intelligence and natural language processing makes the bots better each day," he says. The incalculable data sets that Google and others have harvested from our incessant online chatter are helping to make bots sound much more like us.

The Botometer is powered by two systems. One is a "white box" that has been trained over the years to examine statistical patterns in the language, Ferrara says, "as well as the sentiment, the opinion," of tweets. In all there are more than 1,200 weighted features that a Twitter feed is measured against to determine if it has a pulse. Alongside that, the Botometer has a "black-box model" fed with a mass of data from bots and humans, which has developed its own sets of criteria to separate man from machine. Ferrara and his team are not exactly sure what this system relies on for its judgments, but they are impressed by its accuracy.

When Ferrara started on this work, he felt he had developed his own sixth sense for sniffing out artificial intelligence on Twitter. Now he is no longer so confident. "Today it is not clear to me that I interact with as many humans as I thought I did," he says. "We look hard at some accounts, we run them through the algorithm and it is undecided. Quite often now it is a coin toss. The language seems too good to be true."

Not all bots aim to deceive; many perform routine operations. Bots were originally created to help automate repetitive tasks, saving companies money and time. Some bots help to refresh your Facebook feed, or keep you up to date with the weather. On social media, bots were originally coded to search for hashtags and keywords and retweet or amplify messages: "OMG have you seen this?!" They acted as cheerleaders for Justin Bieber or Star Wars or Taylor Swift. There were "vanity bots" which added numbers and fake "likes" to profiles to artificially enhance their status, and "traffic bots" designed to drive customers to a particular shopping site. There were also bots that acted as grammarians, making pedantic corrections to tweets, or simple gags like Robot J McCarthy, which sought out conversations using the word "communist" and replied with a nonsensical slogan.

At some point political bots entered the fray, mostly on Twitter, with the intent of spreading propaganda and misinformation. Originally these seem to have been the work of individual hackers, before the techniques were adopted by organised and lavishly funded groups. These bots, Ferrara suggests, proved to be a highly efffective way to broadcast extremist viewpoints and spread conspiracy theories, but also were programmed to search out such views from other, genuine accounts by liking, sharing, retweeting and following, in order to give them disproportionate prominence. It is these bots that the social media platforms have been trying to cull in the wake of investigations into the 2016 American election by Robert Mueller and others. Twitter has taken down a reported 6m bot accounts this year.

When I spoke to Ferrara he was looking at the data from the American midterm elections, examining the viral spread of fake news and the ways in which it was still being "weaponised" by battalions of automated users. "If you were an optimist you would think that the numbers look OK," he says. "Between 10 and 11% of the users involved in conversations around the election are flagged as bots "“ and that is significantly less than in 2016 when it was something like 20%. The pessimistic interpretation is that our bot-detection systems are not picking up the more sophisticated bots, which look just like humans even to the eyes of the algorithms."

The unseen global army of "bot herders" , those shadowy individuals and corporations and rogue government agencies that send their bots out into the virtual world, have a couple of advantages in this latter respect. One is that they are now able to find enormous amounts of natural-language data to develop the next generation of talkative bots. The other is that these creations can exploit our tendency to ascribe trusted human characteristics to voices even if, on a rational level, we suspect that they are artificial. That psychology is as old as electronic communication itself.

All modern chatbots trace their family tree back to the experiments by Joseph Weizenbaum with Eliza, named after Ms Dolittle in Pygmalion for "her" ability to master received pronunciation. In 1966, Weizenbaum, a German-American professor at the Massachusetts Institute of Technology, created a prototype chatbot that searched for keywords in conversations conducted with humans typing at keyboards. The rudimentary program would pick up these words and use them in its reply. If it did not locate a useful word, it would offer a neutral response. Weizenbaum set up Eliza to mimic the tone and manner of an east coast psychotherapist, a dynamic that allowed its voice to "adopt the pose of knowing almost nothing of the real world" .

The professor had assumed that his bit of trickery would be a useful way of teaching his students about the structures of language and dialogue. What he discovered however, was that several of them became hooked on conversing with Eliza and telling her their troubles, opening up to the program as if it were a therapist. When Weizenbaum’s secretary asked him to leave the room one morning because she was in the middle of a session with Eliza, he became alarmed by the general willingness to be so seduced by a machine voice. He published an academic paper which included the first notable conversation between woman and machine. It went like this.

Woman: Men are all alike.
Eliza: In what way?
W: They’re always bugging us about something or other.
E: Can you think of a specific example?
W: Well, my boyfriend made me come here.
E: Your boyfriend made you come here?
W: He says I’m depressed much of the time.
E: I am sorry to hear that you are depressed.
W: It’s true. I am unhappy.
E: Do you think coming here will help you not to be unhappy?
W: I need some help, that much seems certain.
E: What would it mean to you if you got some help?
W: Perhaps I could learn to get along with my mother.
E: Tell me more about your family.
W: My mother takes care of me.
E: Who else in your family takes care of you?
W: My father.
E: Your father?
W: You are like my father in some ways.
E: What resemblance do you see?
W: You are not very aggressive, but I think you don’t want me to notice that.
E: What makes you think I am not very aggressive?
W: You don’t argue with me"¦

Weizenbaum later became a fierce critic of the ways that human intelligence was becoming in thrall to artificial intelligence, which he viewed as a corporatised, reactionary force. He was stunned by how quickly the users of Eliza gave human agency to what was a relatively simple piece of code. It indicated to him that the brain had evolved to view all speech as meaningful, even if it came from a patently fake source. He worried, extremely presciently, about the implications of this: "The whole issue of the credibility [to humans] of machine output demands investigation," he concluded in his paper. "Important decisions increasingly tend to be made in response to computer output. Eliza shows, if nothing else, how easy it is to create and maintain the illusion of understanding."

The many progeny of Eliza have evolved into chatbots "“ bits of software designed to mimic human conversation. They include recent entries into the annual Loebner prize, which offers chatbot contestants the chance to fool a panel of human judges with their intelligence. The comforting principle of telling our deepest fears to a machine is also exploited in various "therapy" platforms, marketed as a genuine alternative to conventional talking cures. Each of them trades on the idea of our fundamental desire to be listened to, the impulse which shapes social media.

Lisa-Maria-Neudert is part of the computational propaganda project at Oxford University, which studies the ways in which political bots have been used to spread disinformation and distort online discourse. She argues that the seductive intimacy of chatbots will prove to be the next battleground in this ongoing war.

The Oxford research team began examining the huge growth of bot activity on social media after the shooting down of the MH17 passenger plane with a Russian missile in 2014. A dizzying number of competing conspiracy theories were "seeded" and encouraged to spread by a red army of automated agents, muddying the facts of the atrocity. The more Oxford researchers looked, the more they saw how similar patterns of online activity were amplifying specific hashtags or distorting news.

View online : theguardian.com


Articles liés