Researchers develop an artifial synapse that would make it possible for machines to learn autonomously.