This year’s U.S. presidential election has been pretty nutty. An algorithm that spews incoherent and outrageous soundbites might not even be the worst candidate in the running.
Just such an algorithm, called Deep Drumpf, has indeed entered the race. Built using a deep-learning algorithm that’s been fed the transcripts of numerous Donald Trump speeches, it automatically generates tweets that seem remarkably similar to many of those issued by the candidate himself.
Take, for instance, this recent statement on defense:
Free trade can be wonderful if you have the power of nuclear weapons.— DeepDrumpf (@DeepDrumpf) March 30, 2016
Or this, on national security:
How stupid are these politicians? They're killing us but you don't hear that from anyone. We need a leader that can start a war. @guypbenson— DeepDrumpf (@DeepDrumpf) June 24, 2016
Obviously an algorithm can’t really run for president, but Bradley Hayes, a robotics researcher at MIT, who first developed Deep Drumpf in March, launched the fake campaign to raise money for GirlsWhoCode, an unaffiliated organization that aims to close the gender gap in science, technology, engineering, and mathematics fields, after the recent focus on the treatment of women in the election.
Whatever you think of Trump—or Hillary Clinton, for that matter—it’s a great cause to highlight, since diversity is sorely lacking across tech.
Hayes developed Deep Drumpf in his spare time “to highlight the absurdity of the election cycle.” And it does a great job of mimicking the style and content of tweets from the real Republican candidate for president.
What’s also interesting, from an AI perspective, is that it’s usually very difficult for an algorithm to convincingly parse and generate language. But Hayes says Trump’s mode of speech is so disjointed and often ham-fisted that it proved particularly amenable to algorithmic parody. “He interrupts himself a lot, and goes off on tangents quite a bit. And that’s actually incredibly convenient for me as the person trying to model his speech patterns,” he says.
Couldn't get to Cambridge? We brought EmTech MIT to you!Watch session videos here