MI-MIDI 2: From Observation to Control with Sparse Autoencoders in Text-to-MIDI Generation

Jakub Poćwiardowski, Mateusz Modrzejewski
10/23/2026
cs.SDcs.AI

No confident code implementation found for this paper.

Abstract

Sparse autoencoders (SAEs) can expose features of a generative model without predefined labels, but in language models the evidence used to interpret these features has proven an unreliable guide to which of them steer the output. Whether interpretations of SAE features predict control in music generators has not, to our knowledge, been tested.

Show full abstract

We develop an end-to-end protocol for discovering and evaluating SAE features in text-to-MIDI generation and apply it to text2midi and MIDI-LLM. The protocol characterizes features through correlations with musical metrics, shared instrument programs, and automated descriptions, each with its own control: note-density adjustment, matched inactive excerpts, and permutation calibration. It then tests candidates by intervention, measured directly in the generated MIDI against unmodified generation and a matched random direction, ranks them in screens, and confirms selected features on new prompts. Evidence that survives these controls points to features that steer the output. Descriptions exceed permutation controls for instrumentation, and a feature whose description names a synth-lead program introduces that program in a prespecified confirmation and in a replication on disjoint prompts and reappears in independently trained dictionaries. Features selected by density-adjusted correlations show a small positive shift of their target metric as a family, whereas features selected by raw correlations show none. An atlas provides MIDI, piano-roll, and audio examples for every feature of the targeted screen.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{powiardowski2026mimidi,
  title  = {MI-MIDI 2: From Observation to Control with Sparse Autoencoders in Text-to-MIDI Generation},
  author = {Jakub Poćwiardowski and Mateusz Modrzejewski},
  year   = {2026},
  eprint = {2610.32007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.32007v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.32007.svg)](https://codeofpaper.com/paper/2610.32007)

Discussion