Machines that can think for themselves - and perhaps turn on their creators as a result - have long been a fascination of science fiction.
And creating robots that can learn without any input from humans is moving ever closer, thanks to the latest developments in artificial intelligence.
One such project seeks to pit the wits of two AI algorithms against each other, with results that could one day lead to the emergence of such intelligent machines.
Researchers at the Google Brain AI lab have developed a system known as a Generative Adversarial Network (GAN).
Conventional AI uses input to 'teach' an algorithm about a particular subject by feeding it massive amounts of information.
This knowledge can then be employed for a specific task - facial recognition being just one example.