Marcus Anderson

Research notes, papers, software, and archived music work.

New Try my probabilistic music studio at thesoundinator.com. It's free to sign up.

Research

Software

Grey Box Research Ledger Open to online collaboration for independent researchers

Grey Box Research Ledger is where empirical projects in machine learning, complex systems, and technical AI safety are recorded by the people working on them. It is designed for sharing ideas and documenting stage-by-stage results.

A grey box is a system whose workings are partly understood. A black box that we are shedding light on. Deep neural networks and the human brain are both contained complex systems, and both begin as black boxes: their behaviour and mechanisms emerge from the interactions of many parts. The ledger's primary interest is in illuminating these emergent mechanisms, so that each box becomes a little less black.

The ledger's public page: Open to online collaboration for independent researchers, above an About section.

Grey Box helps researchers share ongoing projects with other scientists in their field prior to publication. This means projects don't need to be rushed out the door just so researchers have something to show for themselves. It helps early career development in fields like AI safety, which are new and rapidly evolving, by allowing researchers to demonstrate a rigorous scientific process. And it brings attention to the actual work being done, for those who are interested in funding projects that help humanity.

The ledger is live at greyboxresearch.org. Because the work is still in progress, Grey Box is not a publishing platform, and not everything being done is made public. There is no public sign-up, but anyone is welcome to get in touch.

The Projects page, with tabs for In progress, Under review, Ideas and Concluded, and a row of coloured squares under each project.
The Projects page. Each coloured square under a project is a posted stage, marked as supporting the hypothesis, mixed or not supported.
The GoalGraph project page, showing what is happening now, the latest finding and the last change, beside a sidebar of researchers, funding, sharing and code.
A project page. The top of the page shows where the project is up to, its latest finding, and the last change to the plan.
Two posted stages of the GoalGraph project, one marked Supports hypothesis with its figure, the other marked Inconclusive.
Posted stages. Each one states the hypothesis it tests and its finding, with its figures alongside.

Every researcher on the ledger can have a public page of their own, under a name they choose: mine is at greyboxresearch.org/marcus. The page is built from their projects and changes as they post to them, so a new stage appears without anyone having to re-save it. The reader it is written for is outside the ledger, such as an employer or a supervisor someone is applying to. Collaborators find each other inside the ledger, so the page does not ask anybody to join a project.

A researcher chooses which projects appear and in what order. Each project says at the top what it is for, whether that is a hypothesis it tests, the open questions it explores, or the acceptance criteria a tool, method or eval has to meet. A hypothesis is given as it was pre-registered and again as it stands if results have since changed it. Under that are the stages posted so far, each naming what it tested and how it came out, in that project's own words, as supported or not supported, answered or still open, met or not met. A stage that did not work out is shown in the same way as one that did, so the page gives the work as it currently stands rather than only the parts of it that came out well.

A researcher page: name, a line of research areas, the date of the latest posted result, a short About, links, and counts of projects underway, results posted and preprints.
A researcher page. The counts under the links are taken only from the projects the researcher has chosen to show.
The Current projects section of a researcher page, with a row of project titles above the selected project, its hypothesis and brief at the left and its posted stages at the right.
The projects on a page, with the selected one open. This one tests a hypothesis, given as it now stands with the pre-registered version one click below. The coloured squares are the stages posted so far.

A Node server with no dependencies. · My researcher page · Visit the ledger →

Soundinator A probabilistic, physically-modelled music studio and research instrument

A full browser-based music studio, designed and built end-to-end. It generates music from weighted probability distributions across several musical timescales, renders it through a physical-modelling synthesis engine, and arranges it on a multitrack producer timeline. It also doubles as a reproducible instrument for researching why music sounds good.

Soundinator is live at thesoundinator.com, with open sign-up and no invite code needed. The home page plays its patches straight away; open the studio to shape them. Found a problem? There's a “Report a problem” button in the account menu, and every report helps.

Soundinator's Play page: a loaded patch, Rast Morning, drawn as a ring of notes beside six broad controls: Pace, Leaps, Pitch, Groove, Surprise and Space.
Soundinator's Melody face: a register strip, recent notes on a roll, and up / repeat / down probabilities for the next note.
The Melody face shows what was just played, what comes next, and the odds of stepping up, down or repeating.
Soundinator's Harmony face: a four-chord loop with arrival and home chords, and sliders for chord count, fullness, progression focus and root motion.
Harmony sets a chord progression plan and how closely the music adheres to it. Chords are scored from the instrument's own overtones, so the same loop fits differently on different instruments.
Soundinator's two-circle sequencer: a 16-beat sequence ring beside an 8-beat percussion loop.
Sequence and Percussion make up a two-circle pattern sequencer, with the phrase on one ring and the drum loop on the other.
Soundinator's Scale and Root page: a tuning wheel with home set to C4, beside a factory scale library.
Scale & Root puts the tuning wheel beside a library of world scales and historical tunings, each with where and when it comes from.
Soundinator's sound designer: excitor, resonator, body, effects and space stages above the excitor controls and a partial field.
In the sound designer, every note is built from an excitor → resonator → body → effects → space chain. Here the excitor drives a field of individual partials.
Soundinator's space view: a polar map around the listener with a source placed at 3.2 metres and minus 15 degrees.
In Space, each part stands at a distance and angle in one shared binaural room, with its time of flight and level at the ears shown beneath.
Soundinator's producer: a preset library beside a multitrack timeline with harmonic guide, chord guide and global space lanes.
In the producer, you arrange seed-reproducible takes on a multitrack timeline, with a global scale and global space that evolve through the piece.

Vanilla JavaScript + Web Audio in the browser, backed by a Python (NumPy / SciPy) engine for reproducible offline rendering. · Open Soundinator →

Biologically Inspired Graph Networks A self-teaching notebook course on network topology, from graph theory to developmental pruning

An eight-notebook course that starts from graph-theory basics and builds towards the pruning-based network construction behind my sparse-network papers. It's written as a way into thinking about neural networks the way biology does, where networks are grown dense and then pruned back rather than wired from scratch. Every notebook motivates its maths with the brain (neurons as nodes, synapses as weighted edges) and ends in runnable code you can re-generate, change, and measure.

Four network-generation methods drawn side by side (Erdős-Rényi, Watts-Strogatz, Barabási-Albert, and a spatial inverse-square model), each labelled with its clustering coefficient.

The through-line is one question: what makes a network look like a brain? The course answers it by measuring candidate networks against biological criteria, then showing that pruning a dense weighted graph reproduces those criteria more faithfully than the standard random models.

Three small labelled graphs side by side: undirected, directed and weighted.
The vocabulary the course starts from (undirected, directed and weighted graphs), introduced through their neural counterparts: synapses that point one way, and connections that vary in strength.
The same four-node graph shown four times, each highlighting one node and its clustering coefficient, from 1.00 down to 0.00.
Clustering coefficient, one node at a time. This is the fraction of a node's neighbours that are also connected to each other, and it's the first quantitative measure of whether a network has brain-like local structure.
Left: a dense hairball of 1,770 edges. Right: the same nodes reduced to a sparse, clearly structured 177-edge network after keeping only the strongest connections.
A dense 1,770-edge graph reduced to 177 edges by keeping only the strongest connections. The brain builds sparse networks in the same way, starting dense and then pruning, and this is the process the papers build on.

Python notebooks (NetworkX / NumPy / Matplotlib / scikit-learn), runnable in Jupyter or Colab. · Notebooks and full course on GitHub →

Archive