--- tags: - music-emotion-regression - output-calibration - affective-computing - research-code --- # Affect-Atlas: Low-Label Output Calibration for Music Emotion Regression Research companion repository for a draft paper on few-shot, cross-dataset output calibration for music emotion regression. This release contains the manuscript, figures, and local demo source code. It does not provide downloadable model weights, training data, sample audio, or a hosted demo. ## Reading Guide - [Paper](manuscript_en.md) - [HTML version](manuscript_en.html) (download and open locally) - [Editable Word version](manuscript_en.docx) - [Figures and captions](figures/captions.md) ## Research Overview Using frozen MERT music representations and an emotion prediction head trained on DEAM, this study compares output calibration with labeling budgets of 5 or 10 songs on complete PMEmo choruses. In the prespecified primary comparison, calibration with 10 labeled songs and a half-strength offset applied only to arousal reduced arousal mean squared error by an average of 13.50% across 334 fixed evaluation risk-group representatives. The manuscript and appendices document dataset roles, full comparisons, adaptation-pool stability, and the scope of the conclusions. The manuscript is currently an English-language draft. Author information, the target journal template, and formal submission declarations remain to be added. ## CPU Music Emotion Demo The demo source is available in [`code/`](code/README.md), with a React/TypeScript frontend in Chinese and a separate FastAPI CPU backend. It supports audio clip uploads, overall valence–arousal predictions, exploratory scores with 10-second windows and a 5-second hop, playback synchronization, and JSON/CSV export. The window curves come from a static model and do not represent validated second-by-second dynamic emotion recognition. Target-domain calibration is disabled by default. See [`code/README.md`](code/README.md) for startup instructions, the pinned MERT download, and verification of the paper's prediction head. Model weights, sample music, virtual environments, and `node_modules` are excluded from the repository; real model assets must be prepared after cloning. The scope of automated tests and real CPU execution checks is documented in [`code/VALIDATION.md`](code/VALIDATION.md) and [`code/TIMELINE_UPGRADE-20261012.md`](code/TIMELINE_UPGRADE-20261012.md). Publishing the source code does not deploy a publicly accessible website. Commercial song audio and raw experiment data are not distributed with this repository. See the manuscript and references for dataset and model sources.