LSA-Probe / MS-CHN

Was my music used to train this model?

For a composer or rights holder, licensing a recording for training can carry real financial value. When a music generator releases its model weights without a full training list, how can you check whether it used your recording?

A candidate recording enters a public target checkpoint. Paired internal responses illustrate where the audit gets its membership evidence.
The figure shows where the white-box audit gets its evidence, from the checkpoint’s internal responses.

This is a membership inference attack (MIA). The inputs are a recording to check and a specific public model checkpoint with accessible weights. We score the recording and apply a calibrated threshold to predict whether it is a member or a non-member.

A member is a recording included in the training stage we are auditing for that checkpoint. A positive prediction gives the rights holder statistical evidence to follow up on.

To test these predictions, we first need to define what counts as a training item.

Access and experimental ground truth

A membership inference attack (MIA) estimates whether a candidate training item belongs to the training set of a specified checkpoint. It provides statistical evidence for data provenance, privacy and model security audits.

The journal training unit is an FMA track. A query uses a fixed crop. Every crop of one track shares its label for that target, even if the exact waveform was never seen. Its label can change with the checkpoint.

Loss baselines and fixed-direction stability use forward queries and intermediate states. Conference LSA-Probe also backpropagates through the reverse computation. MS-CHN additionally requires music known to be absent from the target training set.

Training manifests establish experimental labels and are withheld from the scorer. A positive decision is statistical evidence about the audited training stage. A legal finding requires separate evidence.

What counts as one training item?

One item ID spans a timeline with variable training windows and one fixed center audit window. The training manifest labels the track.
Blue marks possible training crops of the same track. Green marks the fixed audit crop.

In our journal experiment, the item is the original track. The denoiser sees random 10.24-second crops during training. The audit always uses the middle 10.24 seconds, so we can repeat the same query.

This track is a member because it appears in the checkpoint’s training manifest, even if training saw a different crop. We use the manifest to verify predictions and withhold it from the scoring method.

With the ground truth in place, what can we measure in the model to tell members apart?

Training configurations and manifest checks

We train controlled targets with documented training sets so we can check membership against each checkpoint’s manifest. The journal labels concern the denoiser’s training stage. Pretrained components have their own training histories.

Four different changes in the pipeline

  • Preprocessing sets sample rate, channel and amplitude conventions.
  • Training views vary the crop of one track. All six inspected AudioLDM configs set audio mixup to zero. Other augmentation switches lack aligned evidence.
  • Forward Gaussian noise is part of the diffusion process.
  • The audit adds a controlled perturbation δ to an intermediate state.
ICASSP 2026 training settings
Conference paper, §3
Setting Paper report
Corpus and units MAESTRO v3 and FMA-Large. Four-second training clips are members. Validation or test clips supply non-members.
Audio and splits 22.05 kHz training and 16 kHz scoring. The paper reports stratification by piece or track and artist, with Chromaprint and LSH duplicate and cover screening.
DiffWave Waveform DDPM in the DiffWave family. The paper reports 200,000 steps, batch 32, AdamW and cosine learning-rate decay.
MusicLDM Unconditional diffusion in VAE latents. The decoder is frozen during auditing and the reported probe distances compare decoded waveforms.
Conference training and split description
Journal training artifacts
Located FMA-Large training records
Setting Artifact finding
Source tracks Each of six AudioLDM-style targets has 95,916 training, 5,328 validation-pool and 5,330 test-pool tracks. The three source pools have zero track-ID overlap within each target. The inspected training runner builds its validation loader from the test pool. Audit folds are downstream.
AudioLDM-style input Train with a random 10.24 s crop. The loader samples starts over the available range and retries quiet windows up to ten draws. Validation uses the center crop. The loader resamples to 16 kHz, uses the first channel, removes the mean and peak-normalizes to 0.5. It pads short usable clips with zeros. The training loader advances to the next track after an extraction exception. Manifest counts describe dataset inclusion.
AudioLDM-style model Latent U-Net with ε prediction, a frozen pretrained KL autoencoder, its frozen pretrained HiFi-GAN vocoder, and frozen pretrained CLAP. Training conditions on manifest captions mapped to FiLM, with 0.10 classifier-free condition dropout. The mel input has 64 bands, a 1,024-sample FFT and window, and a 160-sample hop.
AudioLDM-style training AdamW, learning rate 0.0001, 2,000-step warmup, configured batch size 2, and a 1,000-step diffusion schedule with linear schedule endpoints 0.0015 and 0.0195. The trainer selects by step count. The six weights contain EMA state and record global_step 800,000 internally; their inventory labels read 799,999.
DiffWave-style record One completed FMA run uses unconditional waveform diffusion, with 30 dilated residual layers, 64 residual channels and a dilation cycle of 10. Its config uses 16 kHz, 10.24 s crops, seed 0, batch 4, Adam at 0.0002 and 800,000 steps. The full six-target family remains unverified.

The journal design is track-based. Artists, albums and alternative recording versions can span roles.

From reconstruction error to local stability

The upper bracket compares the original latent z₀ with its reconstruction ẑ₀. The lower bracket compares unperturbed and perturbed denoising responses under the same model, conditioning and paired randomness.
The upper row compares the reconstruction with the original latent. The lower row compares paired responses under the same denoising settings.

Reconstruction error asks how closely the denoised result matches the original. A training track may be easier to recover. But the noisy state still carries information about the original, and the model’s learned denoising ability extends to unseen tracks. Both groups can yield low errors, making membership harder to infer.

That led us to a tougher test. Start from the same noisy state and denoise it twice. On the second pass, nudge the state in the direction most likely to change the output. Do the two denoised results still agree?

LSA-Probe measures how much perturbation it takes to make the two denoised results noticeably different.

See the comparison with one photo
The upper bracket connects the original portrait to its reconstruction. The lower bracket connects two reconstructions from the same noisy portrait, with a perturbation applied to one branch.
The upper panel compares the original photo with its reconstruction after noising and denoising. The lower panel perturbs one branch from the same noisy photo and compares the two reconstructions on the right. This is a conceptual illustration.
Baselines, equations and implementation

Add noise to a candidate and start denoising from the constructed state. Models may recover familiar training data more easily. Musical complexity, timbre, timesteps and noise draws also affect errors.

xt = √ᾱt x0 + √(1 − ᾱt) ε,   ε ∼ N(0, I)

x̂0 = Rθ,t→0(xt)

Erec(x0; t) = d(x̂0, x0)

z0 = Enc(x0)

These equations illustrate waveform diffusion and endpoint error. Latent diffusion applies the noise and reverse steps in z-space. A latent MSE compares internal tensors. A waveform comparison requires decoding.

Diffusion Loss

Compare predicted noise with the injected ε. The located AudioLDM baseline code includes a normalized error norm and MSE variants. Its configuration uses six timestep ratios from 0.10 to 0.80, three seeded draws per ratio and a fixed “music” prompt at guidance scale 1.0.

Endpoint Reconstruction

Compare the recovered endpoint with the clean input. A located journal baseline uses single-step predicted-clean latent MSE. A full reverse rollout defines a different comparison.

SecMI-style posterior error

A music adaptation of step-wise error, comparing a local deterministic forward/return estimate with its reference state.

Other baseline signals

Likelihood Ratio contrasts target and reference denoising evidence. Terminal Denoising Error measures error near the clean end. Embedding NN uses proximity in an embedding space. Lower errors are oriented toward higher membership evidence.

At fixed t with the same noise and ε parameterization, single-step clean-sample MSE equals noise-prediction MSE scaled by (1 − ᾱₜ) / ᾱₜ. They can carry the same evidence.

Original SecMI paper

LSA-Probe measures the cost of destabilizing a response

Outer bisection sets η. Inner PGD projects δ to that budget. Paired perceptual degradation relative to τ updates the interval until C_adv is estimated.
The inner loop searches over perturbation directions. The outer loop changes the allowed budget.

We denoise the same intermediate state with and without a perturbation δₜ, using the same model and settings. At a fixed normalized budget η, projected gradient descent (PGD) searches for a direction that pushes the two results as far apart as possible.

The outer loop uses bisection to estimate the smallest budget that makes the perceptual difference reach a fixed threshold τ. A larger budget means the result is harder to change. We test whether training members tend to require larger budgets.

The journal study asked a complementary question. With the perturbation size fixed, what does the response look like across diffusion times?

Probe settings and interpretation

Both branches share the candidate state, conditioning and sampler settings. Paired forward noise or fixed randomness isolates the perturbation in the comparison.

Scale the perturbation by the forward noise amplitude √(1 − ᾱₜ).

Deterministic DDIM, timestep ratio 0.60, ℓ₂ budget up to 0.80, and CDPAM degradation. The paper reports 12 PGD steps, five restarts and ten bisection iterations. The matched-compute comparison uses per-sample wall-clock time on A100-80GB within 5%.

The normalization scale, DDIM randomness, perceptual degradation threshold and final membership cutoff serve distinct purposes. The budget is a search approximation. Member stability is a hypothesis tested on these targets.

Original ICASSP framework figure

Raw Manifold Stability probes across diffusion time

Fixed-amplitude directions at several diffusion times yield paired response distances and sensitivities. Transform stability against reference non-members at each time and aggregate to S_MS.
The orange directions share a normalized budget. The paired response differences contribute to one stability score.

At each selected diffusion time, we perturb the same state in several preset directions. We compare paired responses with and without each perturbation. These fixed probes need only forward model evaluations.

Smaller changes per unit of perturbation indicate greater stability. We put the readings on a common scale using reference non-members and aggregate them across time into Raw MS.

An unseen recording can also be stable if it is similar to the training music. How unusual is a high score for this kind of recording?

Probe parameters and aggregation versions

The journal’s Raw Manifold Stability score probes with fixed-amplitude directions using forward computations. Its evidence comes from the response to a small neighborhood of the intermediate state.

At each selected time, divide the paired response distance by the perturbation norm for each seeded direction.

Take the negative high quantile of directional sensitivities. Greater sensitivity gives lower stability.

Transform time coordinates against reference non-members, then aggregate across time.

The draft specifies t/T ∈ {0.55, 0.60, 0.65, 0.70}, η = 0.001, eight directions and direction quantile 0.90. TSS4 names the four time coordinates. H = 2 is the number retained after reference rank transformation and Gaussianization. The inspected AudioLDM wrapper rolls back multiple DDIM steps and returns a latent. The inspected DiffWave pilot uses deterministic reverse steps in waveform space. Historical code sums the top two coordinates even when negative. The final positive-only rule and response implementation still require an aligned artifact.

Raw MS extracts local-response evidence. Similar non-members can still have high raw scores.

MS-CHN compares stability with similar non-members

Frozen features select similar reference non-members. Subtract their local Raw MS q95 from candidate Raw MS. Two conceptual examples place the candidate near or above this background.
Candidates A and B have similar Raw MS scores but sit in different musical neighborhoods.

We use frozen CLAP features and acoustic descriptors to find musically similar recordings known to be absent from training. Their stability gives us a local reference for the candidate.

MS-CHN subtracts the neighbors’ 95th-percentile Raw MS score from the candidate’s score. The candidate that stands further above its own neighbors carries stronger membership evidence.

That gives us a continuous score. Where should we set the cutoff before calling a track a member?

Neighborhood features and score definition

Random cropping gives a training track several possible views. Generalization can give unseen tracks with similar rhythm, harmony, timbre, production or style high stability too. A global comparison can count this shared response as evidence about a particular track. Naturally occurring musical similarity can produce the same problem.

Represent music with frozen CLAP and acoustic descriptors. Fit preprocessing on known reference non-members in C_ref.

Retrieve k nearest reference non-members. Similarity selects the comparison group.

Estimate the upper quantile of their Raw MS scores and subtract it from the candidate score. The draft uses k = 200 and q = 0.95.

Qlocalref(x) = Quantileq{SMS(u) ∶ u ∈ Nkref(x)}

SCHNref(x) = SMS(x) − Qlocalref(x)

A located feature export has 512 CLAP and 93 acoustic columns (605 total). An earlier export reported 87 acoustic and 599 joint. The method draft describes L₂-normalized CLAP, reference-fitted robust acoustic scaling and concatenation. Historical code uses Euclidean neighbors. Final column selection, scaling and family weights await the aligned configuration.

A positive residual places a candidate above its local quantile. The final decision uses a separate 1% calibration. MS-CHN addresses similarity-related score variation. The role of augmentation remains a mechanism hypothesis.

The score estimates excess stability relative to similar non-members. It cannot identify which crop was presented during training or reconstruct an unaugmented original.

How do we set the cutoff and measure errors?

Reference non-members fit the score. Separate calibration non-members set the threshold. Held-out members and non-members measure detection and false positives.
The diagram shows the three independent data roles in the later journal manuscript protocol.

First, known non-members in the reference set define the score. Once the scoring rule is frozen, a separate set of known non-members sets the decision threshold. We target a 1% false-positive rate, about one false flag per hundred non-members.

We then apply that threshold to held-out tracks. Non-members measure the actual false-positive rate (FPR). Members tell us what fraction we detect, the true-positive rate (TPR).

When we keep false positives this low, how many training tracks can the methods detect?

Protocol details, sources and citation

Fit the full scoring map before threshold calibration. In each target and fold, check role disjointness and ground truth using original track IDs.

Known non-members fit per-time score transforms and feature preprocessing, and populate the local score library. Exclude the query’s own track when scoring reference items.

A separate set of known non-members calibrates the decision after the score mapping is frozen.

Held-out non-members measure the empirical false-positive rate.

Members held out of score fitting measure the true-positive rate, or member recall.

p(x) = [1 + #{u ∈ Cthr ∶ S(u) ≥ S(x)}] / (|Cthr| + 1)

For the rank-calibrated rule, flag when p(x) ≤ 0.01. This rank measures score extremeness among calibration non-members. It does not estimate the probability that a query is a member. Empirical FPR can vary across finite batches and subgroups.

Draft design and aggregation

The September design summary specifies five rotating non-member folds, with 5,000 reference tracks, 2,000 threshold-calibration tracks, 1,000 evaluation non-members and 500 evaluation members per target and fold. Choose configurations on M1/M3/M5 and D1/D3/D5; then evaluate on M2/M4/M6 and D2/D4/D6. Aggregate within target first and use independently trained targets as the units of cross-target variation.

Role manifests and aligned scores are needed to verify those sizes, disjointness, leave-one-out and near-duplicate rules. Earlier manuscript tables describe a shared calibration pool. Repeated tracks across folds do not create new independent observations.

Papers and evidence

Membership Inference Attack Against Music Diffusion Models via Generative Manifold Perturbation

Yuxuan Liu, Peihong Zhang, Rui Sang, Zhixin Li, Yizhou Tan, Yiqiang Cai, Shengchen Li

Published at ICASSP 2026. The companion project repository contains a README.

Mitigating Musical-Similarity Confounding in Membership Inference for Music Diffusion Models

Journal manuscript. No public author list or publication record has been verified for this version.

BibTeX

@inproceedings{liu2026membership,
  title={Membership Inference Attack Against Music Diffusion Models via Generative Manifold Perturbation},
  author={Liu, Yuxuan and Zhang, Peihong and Sang, Rui and Li, Zhixin and Tan, Yizhou and Cai, Yiqiang and Li, Shengchen},
  booktitle={2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  year={2026},
  doi={10.1109/ICASSP55912.2026.11461689}
}
Future direction · Agent safety

Behavioral probes may also help diagnose safety failures in agents by comparing responses under matched interventions. This is a research direction outside the music audit experiments.

How many members can we detect at low false-positive rates?

Conference baseline and LSA-Probe TPR pairs are 10/13, 8/14, 12/20 and 11/18 percent. July Raw MS and MS-CHN TPRs are 9.19% and 16.55%, with empirical FPRs of 0.56% and 0.70%.
The left panel draws on published ICASSP Table 1. The right panel shows the July AudioLDM draft, which used an earlier shared calibration pool.

On the left, LSA-Probe improves detection over the best baseline by 3–8 percentage points at 1% FPR across the four ICASSP settings.

On the right, the July AudioLDM draft reports a rise in detection from 9.19% with Raw MS to 16.55% with MS-CHN at the same nominal 1% calibration target. The observed false-positive rates were 0.56% and 0.70%.

Together, these studies show how to extract membership evidence from a model’s response and make that evidence more informative by comparing it with similar non-members.

Result tables, intervals and ablations

Conference results · ICASSP 2026

The conference reports gains of 3–8 percentage points at 1% FPR across its four comparisons. Best Baseline is the best of Loss, Trajectory and SecMI. The paper uses DeLong for AUC confidence intervals and sample bootstrap for TPR intervals.

Conference Table 1 · TPR (95% CI) / AUC ± 95% CI half-width
Model / corpus Best baseline LSA-Probe Δ TPR
MusicLDM / MAESTRO 10% (7%–12%) / 0.58 ± 0.02 13% (10%–15%) / 0.61 ± 0.03 +3 pp
MusicLDM / FMA-Large 8% (5%–10%) / 0.56 ± 0.01 14% (10%–16%) / 0.59 ± 0.02 +6 pp
DiffWave / MAESTRO 12% (9%–15%) / 0.63 ± 0.02 20% (16%–24%) / 0.67 ± 0.02 +8 pp
DiffWave / FMA-Large 11% (8%–14%) / 0.62 ± 0.02 18% (14%–22%) / 0.66 ± 0.02 +7 pp
Table 1 and source protocol

Evidence Explorer

A controlled view of the same four Table 1 rows.

Best baseline10%TPR@1% FPR · 95% CI 7%–12% · AUC 0.58±0.02
LSA-Probe13%TPR@1% FPR · 95% CI 10%–15% · AUC 0.61±0.03
Absolute gain+3 ppTPR +3 pp · AUC +0.03

Journal manuscript results

Draft-reported AudioLDM-style results. The located manuscript reports these values under its earlier calibration description. The original training labels and scores for the later independent-reference protocol have yet to be aligned to these tables. Treat the results as manuscript reports with unresolved replay provenance.

The draft reports member recall of 9.19% for Raw MS and 16.55% for MS-CHN, a gain of 7.36 percentage points under the same nominal 1% calibration target. Their measured FPRs are 0.56% and 0.70%, respectively.

The September-only DiffWave main comparison, Embedding NN, acoustic-only ablation and paired top-bin lifts await source alignment.

Loading draft-reported values…

What the journal experiments ask

  1. Do false positives concentrate? The earlier draft reports a 4.64× average top-bin lift for Raw MS in music-matched neighborhoods and 1.21× with random neighborhoods. Lift is top-bin FPR divided by overall FPR. Values above 1 indicate concentration.
  2. Does probing help? The draft reports AUC 0.6267 and 9.19% recall for Raw MS. These describe signal on its evaluated targets and operating point.
  3. Does matching help? The draft-reported joint feature row increases recall. The ablation and historical score replay differ in their label and calibration provenance, so the size of the gain awaits reconciliation.

Similarity-conditioned scoring can leave uneven false-positive risk. An augmentation-on/off effect needs matched training runs. Results are specific to these datasets, model families and access assumptions.

Open conference paper figures

Published Figure 2

Conference Figure 2

Panels extracted from the conference paper.

Low-FPR ROC
Mid-trajectory timestep advantage
Budget saturation around 0.6–0.8
CDPAM and MR-STFT outperform MSE distances at low FPR
Figure sources and production record
Download figure