A Neuromorphic Chip that Makes Music
A chip made by researchers at IMEC in Belgium uses brain-inspired circuits to compose melodies. The prototype neuromorphic chip learns the rules of musical composition by detecting patterns in the songs itâs exposed to. It then creates its own song in the same style. Itâs an early demo from a project to develop low-power, general purpose learning accelerators that could help tailor medical sensors to their wearers and enable personal electronics to learn their usersâ patterns of behavior.
Todayâs connected devices donât have much smarts on boardâinstead they send data into the cloud for analysis by remote servers, where energy use and cooling costs are not at a premium, says Praveen Raghavan, who leads technology development for neuromorphic computation at IMEC. The IMEC team wants to change this. âThe whole objective is to make artificial intelligence more compact, and bring it closer to the user,â he says. That means making compact, low-power dedicated learning chips. âWe want to be as cost effective as possible,â he says.
The chip tune released by IMEC definitely sounds derivative. The composer has made a few odd note selections, but nothing that could be called avant gardeâitâs in the mold of a certain strain of western classical music. Indeed, the 30-second tune evokes the simple melodies beginning musicians practice over and over. Two bars are very close to a riff on the chromatic scale; in the last bar, it resolves on a note that feels pleasing and expected.
For the chip to generate this tune, it was sequentially loaded with songs in the same time signature (which specifies how many beats are in each bar of music) and style. If exposed to a broad range of rhythms and styles, it wouldnât have been able to discern the patterns at work. Raghavan says the prototype was taught using old Belgian and French flute minuets. Based on this, the chip learned the rules at play and then applied them. As the inputs are switched to a different time signature, it will start to learn that one, says Raghavan.
The prototype neuromorphic chip uses a one megabit bank of resistive RAM built on top of a processor. The memory cells are filaments of an oxide material whose electrical resistance varies along a continuum of states in response to different applied voltages. When the chip âhearsâ two particular notes one after the other in multiple training songs, it detects a pattern. The more often the notes occur together, the stronger the association between them, and the stronger the connection between the two memory cells that store them. In turn, it becomes more likely the chip will put those two notes in sequence when it switches from learning to composing mode. This is analogous to the way connections between different neurons in the brain strengthen or weaken as we learn. The system is hierarchical, and can spot and learn broader patterns, too. âIt starts to see patterns in the music in the short term and long term,â says Raghavan.
Raghavan would not say how much power the prototype usedâhe says they overdesigned it so that it could take on a variety of tasks, building large memory cells that are responsive to a range of voltages. The music task doesnât make use of the entire memory bank, eitherâbut future, more complex tasks likely will. Now that theyâve studied the hardwareâs capabilities, he says, theyâll optimize the design. Raghavan says itâs already flexible. The group has also trained the system with text, teaching it to autocomplete sentences.
Raghavan says these systems could be used as learning accelerators in personal electronics, or combined with other hardware designed to run neural networks. One application he has in mind is a heart-rate monitor for a smart watch that would be able to adjust to the userâs style to get more accurate readings. âSome people wear it tight, some loose, some higher or lower on the arm,â he says. All this can affect the accuracy of the measurements.