Brain Phase
Brain Phase
During the fall of 2008 I began an independent study with Martijn Zwartjes, one of the original authors/programmers of Reaktor. We wanted to see if we could implement an artificial neural network in Reaktor Core, the low-level DSP underbelly to the Reaktor Primary Level. Specifically we wanted to create a modular set of neural building blocks consisting of non-linear hidden layer and output layer perceptrons, and backpropagation learning algorithms to train them.
Of course the project was fraught with difficulties from the outset. Neither Martijn nor myself knew much about neural networks, and it was evident that Reaktor, while a better choice than Max/MSP due to its superior feedback resolution, was not going to be easy to work with compared to something like C or C++. I was determined to use Reaktor however because I could easily integrate an audio engine with the neural net, and have full midi/osc control over the learning algorithms (two things that would have been considerably more difficult to code in C).
After a long period of research we began building our neurons, followed by an even longer debugging process. During our debugging sessions we relied on a large physical map of the entire artificial brain, drawn in pencil (pictured on the following page). After we had a functional version of our network we set about collapsing the structure into the most modular, efficient, and optimized system we could.
