View all newsletters
Sign up to our newsletters

Support 110 years of independent journalism.

  1. Science & Tech
14 July 2015

We put the Labour leadership candidates into Deep Dream and the results will haunt your nightmares

Google's software searches images for recognisable features, then emphasises them to hellish effect.

By Barbara Speed

In a long summer dominated by the endless, dragging plod of the Labour leadership race, we’re all in desperate need of a new perspective on the four candidates.

So in order to add a little variety to proceedings, we’ve decided to turn to Artificial Intelligence. Image recognition software is becoming more sophisticated every day, and it relies upon being “trained” by seeing hundreds of images of, say, a dog, and then attempting to recognise dogs in new images. Curious to see how these algorithms were actually operating, a team of Google researchers wrote some code which visualised the software’s “thought” process, and then repeated it in a feedback loop.

As the researchers describe it in a blogpost, the algorithm hunts the image for recognisable pieces of information, emphasises them, then repeats: 

If a cloud looks a little bit like a bird, the network will make it look more like a bird. This in turn will make the network recognize the bird even more strongly on the next pass and so forth, until a highly detailed bird appears, seemingly out of nowhere.”

The researchers called the network “Deep Dream”, after the surreal, hellish scenes the feedback loop threw up, and last month, they made the code available to the public. In response, the internet has fed everything from porn to swimming horses through the network. 

Select and enter your email address Your weekly guide to the best writing on ideas, politics, books and culture every Saturday. The best way to sign up for The Saturday Read is via saturdayread.substack.com The New Statesman's quick and essential guide to the news and politics of the day. The best way to sign up for Morning Call is via morningcall.substack.com Our Thursday ideas newsletter, delving into philosophy, criticism, and intellectual history. The best way to sign up for The Salvo is via thesalvo.substack.com Stay up to date with NS events, subscription offers & updates. Weekly analysis of the shift to a new economy from the New Statesman's Spotlight on Policy team. The best way to sign up for The Green Transition is via spotlightonpolicy.substack.com
  • Administration / Office
  • Arts and Culture
  • Board Member
  • Business / Corporate Services
  • Client / Customer Services
  • Communications
  • Construction, Works, Engineering
  • Education, Curriculum and Teaching
  • Environment, Conservation and NRM
  • Facility / Grounds Management and Maintenance
  • Finance Management
  • Health - Medical and Nursing Management
  • HR, Training and Organisational Development
  • Information and Communications Technology
  • Information Services, Statistics, Records, Archives
  • Infrastructure Management - Transport, Utilities
  • Legal Officers and Practitioners
  • Librarians and Library Management
  • Management
  • Marketing
  • OH&S, Risk Management
  • Operations Management
  • Planning, Policy, Strategy
  • Printing, Design, Publishing, Web
  • Projects, Programs and Advisors
  • Property, Assets and Fleet Management
  • Public Relations and Media
  • Purchasing and Procurement
  • Quality Management
  • Science and Technical Research and Development
  • Security and Law Enforcement
  • Service Delivery
  • Sport and Recreation
  • Travel, Accommodation, Tourism
  • Wellbeing, Community / Social Services
Visit our privacy Policy for more information about our services, how New Statesman Media Group may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications.
THANK YOU

We were curious to know what Deep Dream would make of Cooper, Burnham and co. (and what nightmarish scenarios it would throw up) so we fed photos of each into Dreamscope, one of the many online platforms running the software. Deep Dream can be used to different effects: if it’s looking for particular textures or lines, it will just make the image look artier. But if it’s searching for animals or scary faces, the results quickly become very disturbing. We, of course, went for the latter option. 

Here’s Liz Kendall at a miners’ rally with a group of mutant dogs: 

Andy Burnham, meanwhile, is all eyes:

Jeremy Corbyn has surprises up his sleeves:

While Yvette Cooper monsters some children:

In our humble opinion, Kendall comes out looking most human. Take from that what you will. 

Of course, it wouldn’t be fair to judge the runners and riders without applying the same treatment to their predecessor: 

Here are the leaders of the free world, frolicking together with rats for hands:

And good old Boris Johnson, jolly as ever, unbothered by the beast emerging from his stomach:

Photo: ITV screengrab.

If you want to make your own Deep Dream images, this online app is a good place to start (we used the “trippy” and “self transforming machine elves” options, sometimes multiple times), or there are extensive instructions on how to programme your own in this reddit post. Send us your most horrifying creations. 

Photos: Getty, edited, unless otherwise indicated.

Content from our partners
The promise of prevention
How Labour hopes to make the UK a leader in green energy
Is now the time to rethink health and care for older people? With Age UK

Select and enter your email address Your weekly guide to the best writing on ideas, politics, books and culture every Saturday. The best way to sign up for The Saturday Read is via saturdayread.substack.com The New Statesman's quick and essential guide to the news and politics of the day. The best way to sign up for Morning Call is via morningcall.substack.com Our Thursday ideas newsletter, delving into philosophy, criticism, and intellectual history. The best way to sign up for The Salvo is via thesalvo.substack.com Stay up to date with NS events, subscription offers & updates. Weekly analysis of the shift to a new economy from the New Statesman's Spotlight on Policy team. The best way to sign up for The Green Transition is via spotlightonpolicy.substack.com
  • Administration / Office
  • Arts and Culture
  • Board Member
  • Business / Corporate Services
  • Client / Customer Services
  • Communications
  • Construction, Works, Engineering
  • Education, Curriculum and Teaching
  • Environment, Conservation and NRM
  • Facility / Grounds Management and Maintenance
  • Finance Management
  • Health - Medical and Nursing Management
  • HR, Training and Organisational Development
  • Information and Communications Technology
  • Information Services, Statistics, Records, Archives
  • Infrastructure Management - Transport, Utilities
  • Legal Officers and Practitioners
  • Librarians and Library Management
  • Management
  • Marketing
  • OH&S, Risk Management
  • Operations Management
  • Planning, Policy, Strategy
  • Printing, Design, Publishing, Web
  • Projects, Programs and Advisors
  • Property, Assets and Fleet Management
  • Public Relations and Media
  • Purchasing and Procurement
  • Quality Management
  • Science and Technical Research and Development
  • Security and Law Enforcement
  • Service Delivery
  • Sport and Recreation
  • Travel, Accommodation, Tourism
  • Wellbeing, Community / Social Services
Visit our privacy Policy for more information about our services, how New Statesman Media Group may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications.
THANK YOU