Machines have been learning how to send secret messages to each other. John Lund/Getty
Computers are keeping secrets. A team from Google Brain, Googleâs deep learning project, has shown that machines can learn how to protect their messages from prying eyes.
Researchers and demonstrate that neural networks, or âneural netsâ â computing systems that are loosely based on artificial neurons â can work out how to use a simple encryption technique.
In their experiment, computers were able to make their own form of encryption using machine learning, without being taught specific cryptographic algorithms. The encryption was very basic, especially compared to our current human-designed systems. Even so, it is still an interesting step for neural nets, which the authors state âare generally not meant to be great at cryptographyâ.
Advertisement
The Google Brain team started with three neural nets called Alice, Bob and Eve. Each system was trained to perfect its own role in the communication. Aliceâs job was to send a secret message to Bob, Bobâs job was to decode the message that Alice sent, and Eveâs job was to attempt to eavesdrop.
To make sure the message remained secret, Alice had to convert her original plain-text message into complete gobbledygook, so that anyone who intercepted it (like Eve) wouldnât be able to understand it. The gobbledygook â or âcipher textâ â had to be decipherable by Bob, but nobody else. Both Alice and Bob started with a pre-agreed set of numbers called a key, which Eve didnât have access to, to help encrypt and decrypt the message.
Practice makes perfect
Initially, the neural nets were fairly poor at sending secret messages. But as they got more practice, Alice slowly developed her own encryption strategy, and Bob worked out how to decrypt it.
After the scenario had been played out 15,000 times, Bob was able to convert Aliceâs cipher text message back into plain text, while Eve could guess just 8 of the 16 bits forming the message. As each bit was just a 1 or a 0, that is the same success rate you would expect from pure chance. The research is .
We donât know exactly how the encryption method works, as machine learning provides a solution but not an easy way to understand how it is reached. In practice, this also means that it is hard to give any security guarantees for an encryption method created in this way, so the practical implications for the technology could be limited.
âComputing with neural nets on this scale has only become possible in the last few years, so we really are at the beginning of whatâs possible,â says Joe Sturonas of encryption company PKWARE in Milwaukee, Wisconsin.
Computers have a very long way to go if theyâre to get anywhere near the sophistication of human-made encryption methods. They are, however, only just starting to try.
Journal reference:
Topics:



