SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2025.findings-acl.360 · ACL Findings · 2025

Generative Music Models' Alignment with Professional and Amateur Users' Expectations

Zihao Wang, Kejun Zhang, Jiaxing Yu, Haoxuan Liu, Zehui Zheng, Yuhang Jin, Shuyu Li, Shulei Ji

Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2025.findings-acl.360.json · badge: /api/ran/2025.findings-acl.360.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
CarlWangChina/MuDiT-MuSiT canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
clean_string Ran
ran on a synthesized input
CarlWangChina/MuDiT-MuSiT/clap_finetuning_zh_en/gen_train_test_data.py
code served (permissive licence) · get_code("e376eb20ead9c2fb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def clean_string(s):
    return re.sub('[^a-zA-Z0-9 ]', '', s.lower())

# The function takes a single parameter 's' which should be a string
# It applies regex substitution and lower() to clean the string
ARGS = {
    's': "Hello, World! @#$% 123"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collate_fn Ran
ran on a synthesized input
CarlWangChina/MuDiT-MuSiT/clap_finetuning_zh_en/laion_clap.py
code served (permissive licence) · get_code("1ffe45c7c9257f33")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create sample features - each feature is a dict with various data types
features = [
    {
        'input_ids': torch.tensor([1, 2, 3, 4]),
        'attention_mask': torch.tensor([1, 1, 1, 0]),
        'token_type_ids': np.array([0, 0, 1, 1]),
        'numeric_field': 42,
        'label': 0,
        'string_field': 'some_text'
    },
    {
        'input_ids': torch.tensor([5, 6, 7, 8]),
        'attention_mask': torch.tensor([1, 1, 0, 0]),
        'token_type_ids': np.array([0, 1, 1, 0]),
        'numeric_field': 17,
        'label': 1,
        'string_field': 'another_text'
    }
]

ARGS = {
    'features': features
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_audio_path Ran
ran on a synthesized input
CarlWangChina/MuDiT-MuSiT/clap_finetuning_zh_en/gen_train_test_data.py
code served (permissive licence) · get_code("e113b3fa0c479449")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create temporary directories to simulate the expected structure
temp_dir = tempfile.mkdtemp()
split_audio_dir = tempfile.mkdtemp()

# Create the directory structure that the function expects
# audio_path format: .../audio_id/some_file
# The function extracts audio_id from audio_path by splitting on '/' and taking [-2]
audio_id = "test_audio_001"
audio_base = os.path.join(temp_dir, audio_id)
os.makedirs(audio_base, exist_ok=True)

# Create a dummy audio file in the base directory
dummy_audio_file = os.path.join(audio_base, "audio.wav")
with open(dummy_audio_file, 'w') as f:
    f.write("dummy audio content")

audio_path = dummy_audio_file

# Create the split_audio_path directory structure
split_audio_id_dir = os.path.join(split_audio_dir, audio_id)
short_dir = os.path.join(split_audio_id_dir, 'short')
medium_dir = os.path.join(split_audio_id_dir, 'medium')
long_dir = os.path.join(split_audio_id_dir, 'long')

os.makedirs(short_dir, exist_ok=True)
os.makedirs(medium_dir, exist_ok=True)
os.makedirs(long_dir, exist_ok=True)

# Create some dummy audio files in each directory
with open(os.path.join(short_dir, 'short_1.wav'), 'w') as f:
    f.write("short audio 1")
with open(os.path.join(short_dir, 'short_2.wav'), 'w') as f:
    f.write("short audio 2")

with open(os.path.join(medium_dir, 'medium_1.wav'), 'w') as f:
    f.write("medium audio 1")

with open(os.path.join(long_dir, 'long_1.wav'), 'w') as f:
    f.write("long audio 1")

ARGS = {
    "audio_path": audio_path,
    "split_audio_path": split_audio_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
merge_strings Ran
ran on a synthesized input
CarlWangChina/MuDiT-MuSiT/clap_finetuning_zh_en/gen_train_test_data.py
code served (permissive licence) · get_code("cb086d6f6c3571a9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes three parameters:
# - strings: a list/iterable of strings
# - max_length: an integer representing maximum length
# - min_length: an integer representing minimum length

# Construct valid arguments
strings = ["hello", "world", "python", "code", "test"]
max_length = 20
min_length = 5

ARGS = {
    "strings": strings,
    "max_length": max_length,
    "min_length": min_length
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
run_cmd_sync Ran
ran on a synthesized input
CarlWangChina/MuDiT-MuSiT/music_understanding_model/dataset.py
code served (permissive licence) · get_code("06a384b57e21a905")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import shlex
import subprocess

# The function run_cmd_sync executes shell commands and returns their result.
# Parameters:
# - cmd: a shell command string
# - cwd: current working directory (optional)
# - interactive: whether to suppress stdout/stderr capture
# - timeout: timeout in seconds

ARGS = {
    "cmd": "echo 'hello world'",
    "cwd": None,
    "interactive": False,
    "timeout": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_approximate_audio_length Not yet run
unverified (harvested, no recorded run)
CarlWangChina/MuDiT-MuSiT/music_understanding_model/dataset.py
code served (permissive licence) · get_code("b9324ba83ce01cf6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_approximate_audio_length 1 other paper
1 dated earlier
2402.09871 (2024-02)
MuChin: A Chinese Colloquial Description Benchmark for Evaluating Language Models in the Field of Music

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent years have witnessed rapid advancements in text-to-music generation using large language models, yielding notable outputs. A critical challenge is understanding users with diverse musical expertise and generating music that meets their expectations, an area that remains underexplored. To address this gap, we introduce the novel task of Professional and Amateur Description-to-Song Generation. This task focuses on aligning generated content with human expressions from varying musical proficiency levels, aiming to produce songs that accurately meet auditory expectations and adhere to musical structural conventions. We utilized the MuChin dataset, which contains annotations from both professionals and amateurs for identical songs, as the source for these distinct description types. We also collected a pre-train dataset of over 1.5 million songs; lyrics were included for some, while for others, lyrics were generated using Automatic Speech Recognition (ASR) models. Furthermore, we propose Mu-DiT/MuSiT, a single-stage framework designed to enhance human-machine alignment in song generation. This framework employs Chinese MuLan (ChinMu) for cross-modal comprehension between natural language descriptions and auditory musical attributes, thereby aligning generated songs with user-defined outcomes. Concurrently, a DiT/SiT model facilitates endto-end generation of complete songs audio, encompassing both vocals and instrumentation. We proposed metrics to evaluate semantic and auditory discrepancies between generated content and target music. Experimental results demonstrate that MuDiT/MuSiT outperforms baseline models and exhibits superior alignment with both professional and amateur song descriptions.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2025.findings-acl.360")
get_code_for_paper("2025.findings-acl.360")
have("2025.findings-acl.360")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2025.findings-acl.360.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2025.findings-acl.360.svg)](https://syntology.ai/paper/2025.findings-acl.360)

Connect an agent — have() is free.