AI Wiki中文/EN

Audio source separation: masks, assignments and recovered waveforms

音源分离

Train a small waveform separator, derive phase-sensitive masks and PIT gradients, and test track consistency and SI-SDR.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

One microphone hears the sum

Imagine two people talking over each other into one microphone. A transcript can contain their words, and diarization can mark when each person was active. Audio source separation asks for the waveforms themselves: one output per source. The target might be a voice, an instrument, or a source’s contribution at a particular microphone; define it before scoring an output.

Adding two tracks is easy. Undoing the addition is not uniquely determined by the mixture. If one candidate explanation is “voice A plus voice B,” moving an arbitrary signal from one candidate to the other leaves the observed sum unchanged. Separation needs additional structure: spatial observations, spectral regularities, learned source distributions or information about a target. The mask-based formulations in the uPIT paper make the estimation problem explicit. Separation setup

We will use two invented tones to make that structure visible. A small trainable model will learn which frequencies to send to each output. Then we will reverse output order, swap the tracks halfway through, and construct a mixture coefficient whose sources cancel. These are tests of the method’s assumptions, not speech benchmarks.

The necessary tools are the STFT, Softmax and orthogonal projection. Here we also use a whole-clip Fourier transform for a deliberately small offline implementation.

The small model fits one synthetic mixture. Whole-clip and block-wise assignments score different requirements; signed oracle masks expose limits hidden by positive ratios.
The small model fits one synthetic mixture. Whole-clip and block-wise assignments score different requirements; signed oracle masks expose limits hidden by positive ratios.

Masks, assignments and the meaning of a good score

For KK sources, let y[n]y[n] denote the microphone mixture and si[n]s_i[n] the desired contribution of source ii. Even with two sources there is an infinite family of algebraically valid decompositions:

y[n]=∑i=1Ksi[n],s1′[n]=s1[n]+a[n],s2′[n]=s2[n]−a[n],s1′+s2′=s1+s2.y[n]=\sum_{i=1}^K s_i[n],\qquad s_1^{\prime}[n]=s_1[n]+a[n],\quad s_2^{\prime}[n]=s_2[n]-a[n],\quad s_1^{\prime}+s_2^{\prime}=s_1+s_2.

The arbitrary sequence a[n]a[n] need not resemble a plausible voice. A model’s assumptions aim to rule out such explanations. In a reverberant room, the desired contributions may already include each source’s room response; recovering dry studio sources poses an additional inverse problem.

Ratio masks. Let SiS_i be a complex source coefficient and Y=∑iSiY=\sum_iS_i its mixture coefficient. With the clean sources known, several oracle masks can be computed:

Giamp=∣Si∣∑j∣Sj∣,Gipower=∣Si∣2∑j∣Sj∣2,S^i=GiY.G_i^{\rm amp}=\frac{|S_i|}{\sum_j|S_j|},\qquad G_i^{\rm power}=\frac{|S_i|^2}{\sum_j|S_j|^2},\qquad \widehat S_i=G_iY.

The amplitude and power ratios are nonnegative and sum to one wherever their denominator is nonzero. They distribute the mixture coefficient using different weights. They are oracle quantities because they require the unknown separated sources. “Ideal mask” does not uniquely name a formula, and multiplying by the mixture retains its phase. The uPIT paper distinguishes magnitude-ratio, amplitude and phase-sensitive targets. Mask definitions

Phase-sensitive masks. Restrict an estimate to gYgY, with gg real. Expand the complex squared error and differentiate:

∣gY−S∣2=g2∣Y∣2−2gRe⁡(SY∗)+∣S∣2,ddg∣gY−S∣2=2g∣Y∣2−2Re⁡(SY∗),g∗=Re⁡(SY∗)∣Y∣2=∣S∣cos⁡(θS−θY)∣Y∣(Y≠0).\begin{aligned}|gY-S|^2&=g^2|Y|^2-2g\operatorname{Re}(SY^*)+|S|^2,\\\frac{d}{dg}|gY-S|^2&=2g|Y|^2-2\operatorname{Re}(SY^*),\\g^*&=\frac{\operatorname{Re}(SY^*)}{|Y|^2}=\frac{|S|\cos(\theta_S-\theta_Y)}{|Y|}\quad(Y\ne0).\end{aligned}

The optimum is the phase-sensitive mask, PSM. It can be negative or exceed one. A negative real mask flips phase by π\pi; it still cannot supply an arbitrary phase rotation. For S1=1S_1=1, S2=−1.5S_2=-1.5, the mixture is −0.5-0.5. The amplitude masks are [0.4,0.6][0.4,0.6], the power masks [4/13,9/13][4/13,9/13], and the PSM values [−2,3][-2,3]. In this collinear example the last pair reconstructs both sources exactly. For S=1+iS=1+\mathrm{i} and Y=3Y=3, the best real mask is 1/31/3, but the imaginary component remains missing and squared error is 1.

Where Y=0Y=0 but a source is nonzero, no finite multiplicative mask can recover it. The program flags an undefined PSM at mixture magnitude at or below 10−1010^{-10}. All-silent ratio-mask bins receive equal shares as an explicit convention; their outputs remain zero. Clipping a PSM changes the optimization problem. The uPIT v1 formula’s indexed mixture denominator is expressed here as YY, following its surrounding definition. Phase-sensitive target

Learned representations. A mask need not operate in a Fourier basis. Conv-TasNet applies an encoder to short waveform segments, estimates masks using a temporal convolutional network, then decodes source waveforms. With a row-vector segment x∈R1×Lx\in\mathbb R^{1\times L} and U,V∈RD×LU,V\in\mathbb R^{D\times L}, dimensionally consistent notation is:

h=H(xU⊤)∈R1×D,di=h⊙mi,s^i=diV∈R1×L.h=H(xU^\top)\in\mathbb R^{1\times D},\qquad d_i=h\odot m_i,\qquad \widehat s_i=d_iV\in\mathbb R^{1\times L}.

HH is an optional encoder nonlinearity and ⊙\odot denotes elementwise multiplication. Decoded overlapping segments are combined. The cited author’s v3 writes xUxU while assigning UU the dimensions above; the transpose here resolves that notation mismatch. Its mask sum constraint is a design choice explored across configurations, not a property every learned encoder-decoder automatically satisfies. Our implementation below is much smaller and does not implement the convolutional architecture. Encoder, masks and decoder

Permutation-invariant training. Output 0 need not mean a specific person. If all target tracks are available for training, calculate every output-to-reference cost, then choose a one-to-one assignment:

Cij=1N∑n(ei[n]−sj[n])2,JPIT=min⁡π∈PK1K∑iCi,π(i).C_{ij}=\frac1N\sum_n(e_i[n]-s_j[n])^2,\qquad J_{\rm PIT}=\min_{\pi\in\mathcal P_K}\frac1K\sum_i C_{i,\pi(i)}.

Rows index estimates, columns reference sources, and PK\mathcal P_K contains permutations of the KK sources. One whole-clip assignment is shared across all its samples. A fixed arbitrary order can penalize a correct set of separated tracks; independent assignments for short blocks can conceal track switching. The uPIT formulation enforces an utterance-wide correspondence during training. It does not supply a reference-based matching operation at inference time. Assignment and tracing

For two outputs, compare the two assignments; for KK outputs, enumeration costs K!K! possibilities. The fixed Asteroid wrapper enumerates up to three sources for ordinary mean reduction and otherwise uses Hungarian assignment; custom reductions can change that choice. Its documentation’s “less than three” differs from the actual <=3 branch. Our bounded example enumerates all permutations for two to four sources. Implementation of PIT

A small model with an actual gradient. For a clip of NN samples, let YbY_b be an orthonormally scaled real FFT. The program builds four features at each bin, with frequency coordinate fbf_b ranging from −1-1 to 11:

ϕb=[1,fb,fb2−13,log⁡(1+∣Yb∣)log⁡257]⊤,zib=Wiϕb,gib=exp⁡zib∑jexp⁡zjb,Eib=gibYb.\begin{aligned}\phi_b&=\left[1,f_b,f_b^2-\tfrac13,\frac{\log(1+|Y_b|)}{\log257}\right]^\top,\\z_{ib}&=W_i\phi_b,\qquad g_{ib}=\frac{\exp z_{ib}}{\sum_j\exp z_{jb}},\qquad E_{ib}=g_{ib}Y_b.\end{aligned}

The weights WW have shape K×4K\times4. Softmax is across sources, so masks sum to one. Inverse FFT is linear; consequently the reconstructed tracks sum back to the mixture, up to rounding. This consistency constraint alone does not make the individual tracks correct: equal shares also satisfy it.

Use Parseval’s identity to compute waveform MSE, rather than accidentally optimizing a differently weighted one-sided spectrum. Let cb=1c_b=1 for DC and, for even NN, Nyquist; other positive-frequency bins have weight 2:

Cij=1N∑bcb∣Eib−Sjb∣2,J=1K∑iCi,π(i),cb∈{1,2}.C_{ij}=\frac1N\sum_b c_b|E_{ib}-S_{jb}|^2,\qquad J=\frac1K\sum_i C_{i,\pi(i)},\qquad c_b\in\{1,2\}.

Select the minimum-cost permutation for the entire clip. Away from a tie between assignments, keep the winning permutation fixed when differentiating. The derivatives through the real mask and Softmax are:

uib=∂J∂gib=2cbKNRe⁡((gibYb−Sπ(i)b)Yb∗),∂J∂zib=gib ⁣(uib−∑jgjbujb),∂J∂Wi=∑b∂J∂zibϕb⊤.\begin{aligned}u_{ib}=\frac{\partial J}{\partial g_{ib}}&=\frac{2c_b}{KN}\operatorname{Re}\big((g_{ib}Y_b-S_{\pi(i)b})Y_b^*\big),\\\frac{\partial J}{\partial z_{ib}}&=g_{ib}\!\left(u_{ib}-\sum_jg_{jb}u_{jb}\right),\\\frac{\partial J}{\partial W_i}&=\sum_b\frac{\partial J}{\partial z_{ib}}\phi_b^\top.\end{aligned}

At a tie the minimum need not be ordinarily differentiable. The program deterministically chooses the first permutation in lexicographic order; the finite-difference test uses weights whose winning assignment remains unchanged under perturbation. Training updates the small matrix WW, not a supplied table of perfect oracle masks.

SI-SDR. MSE treats gain differences as errors. To measure similarity up to a scalar instead, project the estimate ee onto the reference direction ss:

α=e⊤ss⊤s,p=αs,r=e−p,SI-SDR⁡=10log⁡10∥p∥22∥r∥22.\alpha=\frac{e^\top s}{s^\top s},\qquad p=\alpha s,\qquad r=e-p,\qquad \operatorname{SI-SDR}=10\log_{10}\frac{\|p\|_2^2}{\|r\|_2^2}.

The residual is orthogonal to the reference. Multiplying a nondegenerate estimate by any nonzero scalar scales numerator and denominator equally, including a polarity reversal. Optional mean removal eliminates DC; the projection ratio itself supplies gain invariance. Conv-TasNet centers signals before its SI-SNR calculation, while the broader projection definition and its limitations are discussed by Le Roux and colleagues. Projection measure Training objective

A silent reference or estimate, an orthogonal estimate, and an exact scaled copy need explicit policies. Our diagnostic returns None with a named state for those cases instead of inserting an arbitrary finite score. The fixed Asteroid loss adds epsilon in reference energy, residual energy and the logarithm, so its finite regularized values are not identical to this diagnostic. Numerical loss convention

Fit two tones, then try to fool the score

Run the complete program with Python 3.12 and NumPy 1.26.4. Signals have 4–1,024 samples bounded by 8, and two to four sources. Weight matrices are bounded by 64 in magnitude. The Fourier transform spans the whole clip, which makes the implementation offline and frequency-specific.

The experiment fits one 128-sample mixture for 200 gradient steps with learning rate 2. It has no held-out speech or unseen-speaker test. oracle_masks is a separate diagnostic using supplied source coefficients; training does not read its outputs. sisdr optionally centers the input and declares energies at or below 10−2010^{-20} silent. Relative projected/residual energy at or below 10−2410^{-24} marks the orthogonal or exact-up-to-scale states. These thresholds are stated numerical conventions.

"""Original small two-to-four-source waveform/PIT teaching components.

A whole-clip Fourier mask regressor is fitted to one synthetic mixture, not
Conv-TasNet, a speech model, or a claim of generalization to new speakers.
"""
import itertools
import json
import numpy as np


def real(values,rank):
    x=np.asarray(values)
    if x.dtype.kind not in 'fiu' or x.ndim!=rank or not 4<=x.shape[-1]<=1024:raise ValueError('Use real arrays with 4..1024 samples')
    x=x.astype(float)
    if not np.isfinite(x).all() or np.max(abs(x))>8:raise ValueError('Use finite values bounded by 8')
    if rank==2 and not 2<=len(x)<=4:raise ValueError('Use two to four sources')
    return x


def oracle_masks(source_spectra):
    s=np.asarray(source_spectra)
    if s.dtype.kind not in 'fiuc' or s.ndim!=2 or not 2<=len(s)<=4 or not 1<=s.shape[1]<=513 or not np.isfinite(s).all() or np.max(abs(s))>256:raise ValueError('Invalid finite source spectra')
    s=s.astype(complex);y=s.sum(axis=0);a=abs(s);power=a*a;total=a.sum(axis=0);total_power=power.sum(axis=0);defined=abs(y)>1e-10
    amplitude=np.divide(a,total,out=np.full(a.shape,1/len(s)),where=total>1e-10)
    wiener=np.divide(power,total_power,out=np.full(a.shape,1/len(s)),where=total_power>1e-20)
    phase=np.divide((s*y.conj()).real,abs(y)**2,out=np.zeros(a.shape),where=defined)
    return dict(mixture=y,amplitude=amplitude,wiener=wiener,phase=phase,phase_defined=defined)


def best_assignment(cost):
    c=np.asarray(cost)
    if c.dtype.kind not in 'fiu' or c.ndim!=2 or c.shape[0]!=c.shape[1] or not 2<=len(c)<=4 or not np.isfinite(c).all() or np.max(abs(c))>1e6:raise ValueError('Use a bounded square cost matrix')
    c=c.astype(float);perms=list(itertools.permutations(range(len(c))))
    values=[float(np.mean(c[np.arange(len(c)),p])) for p in perms];i=int(np.argmin(values))
    return dict(loss=values[i],assignment=list(perms[i]),assignment_losses=values)


def pit_mse(estimated,reference):
    e=real(estimated,2);s=real(reference,2)
    if e.shape!=s.shape:raise ValueError('Matching source arrays required')
    cost=((e[:,None,:]-s[None,:,:])**2).mean(axis=-1)
    result=best_assignment(cost);result['cost']=cost;return result


def sisdr(reference,estimate,center=True):
    s=real(reference,1);e=real(estimate,1)
    if s.shape!=e.shape or type(center) is not bool:raise ValueError('Matching waves and boolean centering required')
    if center:s=s-s.mean();e=e-e.mean()
    ss=float(s@s);ee=float(e@e)
    if ss<=1e-20:return dict(status='silent-reference',db=None)
    if ee<=1e-20:return dict(status='silent-estimate',db=None)
    alpha=float(e@s/ss);target=alpha*s;residual=e-target;num=float(target@target);den=float(residual@residual)
    status='orthogonal' if num<=1e-24*ee else ('exact-up-to-scale' if den<=1e-24*ee else 'finite')
    return dict(status=status,db=float(10*np.log10(num/den)) if status=='finite' else None,
                alpha=alpha,target_energy=num,residual_energy=den,orthogonality=float(s@residual))


def mask_model(mixture,weights):
    x=real(mixture,1);w=np.asarray(weights)
    if w.dtype.kind not in 'fiu' or w.ndim!=2 or not 2<=len(w)<=4 or w.shape[1]!=4 or not np.isfinite(w).all() or np.max(abs(w))>64:raise ValueError('Use 2..4 by 4 bounded real weights')
    z=np.fft.rfft(x,norm='ortho');f=np.linspace(-1,1,len(z))
    features=np.array([np.ones(len(z)),f,f*f-1/3,np.log1p(abs(z))/np.log(257)])
    logits=w.astype(float)@features;exp=np.exp(logits-logits.max(axis=0));mask=exp/exp.sum(axis=0)
    spectra=mask*z;waves=np.fft.irfft(spectra,n=len(x),axis=1,norm='ortho')
    return dict(spectrum=z,features=features,masks=mask,spectra=spectra,waves=waves)


def objective(mixture,reference,weights):
    x=real(mixture,1);s=real(reference,2);a=mask_model(x,weights)
    if s.shape!=a['waves'].shape:raise ValueError('Matching target shape required')
    target=np.fft.rfft(s,axis=1,norm='ortho');n=len(x);k=len(s);scale=np.full(target.shape[1],2.);scale[0]=1
    if n%2==0:scale[-1]=1
    delta=a['spectra'][:,None,:]-target[None,:,:]
    cost=np.sum(scale*abs(delta)**2,axis=-1)/n;best=best_assignment(cost)
    chosen=target[best['assignment']];dmask=2*scale*((a['spectra']-chosen)*a['spectrum'].conj()).real/(k*n)
    dz=a['masks']*(dmask-np.sum(a['masks']*dmask,axis=0));gradient=dz@a['features'].T
    return dict(loss=best['loss'],assignment=best['assignment'],gradient=gradient,model=a)


def fit(mixture,reference,steps=200,rate=2.):
    x=real(mixture,1);s=real(reference,2)
    if len(x)!=s.shape[1] or type(steps) is not int or not 0<=steps<=1000 or type(rate) not in (int,float) or not 0<rate<=4:raise ValueError('Invalid training dimensions or settings')
    w=np.zeros((len(s),4));history=[]
    for _ in range(steps):
        r=objective(x,s,w);history.append(r['loss']);w-=rate*r['gradient']
    r=objective(x,s,w);history.append(r['loss'])
    return dict(weights=w,history=history,assignment=r['assignment'],waves=r['model']['waves'],masks=r['model']['masks'])


def demo():
    t=np.arange(128);s=np.array([.6*np.sin(2*np.pi*8*t/128),.4*np.sin(2*np.pi*40*t/128+.3)]);x=s.sum(axis=0)
    learned=fit(x,s);baseline=np.array([.5*x,.5*x]);permutation=pit_mse(learned['waves'][::-1],s)
    phase=oracle_masks([[1],[-1.5]])
    a=np.array([1.,-1,1,-1]);b=np.array([1.,1,-1,-1]);ref=np.array([np.r_[a,a],np.r_[b,b]]);switched=np.array([np.r_[a,b],np.r_[b,a]])
    batch=pit_mse(switched,ref);blocks=[pit_mse(switched[:,i:i+4],ref[:,i:i+4])['loss'] for i in [0,4]]
    return dict(training=dict(first=learned['history'][0],last=learned['history'][-1],history=learned['history'][::20],weights=learned['weights'].tolist()),
        baseline_mse=pit_mse(baseline,s)['loss'],swapped_output_mse=permutation['loss'],assignment=permutation['assignment'],
        mixture_residual=float(np.max(abs(learned['waves'].sum(axis=0)-x))),
        scores=[sisdr(s[j],learned['waves'][i]) for i,j in enumerate(learned['assignment'])],
        phase_counterexample=dict(mixture=-.5,amplitude=phase['amplitude'][:,0].tolist(),power=phase['wiener'][:,0].tolist(),phase=phase['phase'][:,0].tolist()),
        temporal_swap=dict(whole_clip_mse=batch['loss'],independent_block_mse=blocks),
        scale=dict(mixture=sisdr(a,a+b),half_mixture=sisdr(a,.5*(a+b)),exact_gain=sisdr(a,2*a)),
        waveform=dict(mixture=x[:32].tolist(),sources=s[:,:32].tolist(),estimates=learned['waves'][:,:32].tolist()),
        masks_at_tones=learned['masks'][:,[8,40]].tolist())


if __name__=='__main__':print(json.dumps(demo(),indent=2,allow_nan=False))

The two sources have amplitudes 0.6 and 0.4 at distinct Fourier frequencies. Equal output shares give initial waveform MSE 0.065. Training reduces the same-mixture error to about 0.001419615. Its two SI-SDR values are about 22.9256135 and 20.2878514 dB. Their meaning is restricted to this constructed fit. The sum of the output waveforms matches the mixture to better than 10−1510^{-15} in this run.

Reversing output order leaves PIT loss unchanged. The temporal_swap example is harder: each of two four-sample blocks can be perfectly matched independently, but the outputs exchange identities between blocks. Independent block losses are both zero; whole-clip PIT MSE is 1. A low local score can hide a wrong continuous track.

For KK sources and NN samples, waveform pair costs take O(K2N)O(K^2N) and enumeration O(K!K)O(K!K). One model evaluation includes FFT work O(KNlog⁡N)O(KN\log N) and feature/mask work O(KDN)O(KDN), with D=4D=4. An objective/gradient step additionally includes the pair costs and enumeration. The code recomputes transforms on every training step, so EE steps multiply that work by EE. It stores O(K2N+KDN+E+K!)O(K^2N+KDN+E+K!) values including pairwise differences, history and enumerated assignment costs.

Consistency is necessary for some tasks, but insufficient

Summing outputs back to the mixture checks conservation, not separation quality. A frequency-dependent model fitted to two tones can simply learn a frequency split. New voices overlap in frequency and vary over time. A defensible extension needs separate training and evaluation mixtures, held-out speakers or instruments, explicit room/noise conditions, and a declared number of sources or a method for handling uncertainty in that number.

The targets determine the task. Speech enhancement may preserve one desired voice and suppress everything else; source separation may require all contributions. Neither operation automatically gives the speaker’s name. SI-SDR does not validate loudness, polarity, intelligibility or temporal identity by itself. Silent references should be counted and reported rather than silently dropped or converted into impressive scores. Scale limitations

For learned representations, encoder/decoder reconstruction and mask constraints need separate checks. Inference with causal convolutions also requires compatible normalization, framing and state handling; a small model or a short nominal kernel alone does not prove zero look-ahead. The current example makes no latency, full-model, corpus-performance or streaming claim.

Recover a signal, then question the recovery

  1. Non-uniqueness. Two candidate sources sum to a mixture. Add an arbitrary waveform aa to the first source. What must change in the second? Has the microphone provided enough information to reject this new explanation?

    Answer: Subtract aa from the second source. The sum remains unchanged. The mixture alone cannot reject it; a source prior or additional observation must supply the missing restriction.

  2. Mask arithmetic. For source coefficients 1 and −1.5-1.5, calculate amplitude-ratio, power-ratio and phase-sensitive masks. Which can reconstruct these particular coefficients by multiplying the mixture coefficient?

    Answer: The mixture is −0.5-0.5. The masks are [0.4,0.6][0.4,0.6], [4/13,9/13][4/13,9/13] and [−2,3][-2,3]. Only the last pair reconstructs these two coefficients exactly. That conclusion uses their real collinearity; a general complex coefficient can retain an orthogonal error even with the best real mask.

  3. Scale boundary. Zero-mean, orthogonal vectors s,ns,n have equal energy. Compare SI-SDR for s+ns+n and (s+n)/2(s+n)/2 against ss. What happens for the exact estimate 2s2s?

    Answer: Both mixtures have equal projected and residual energy, hence SI-SDR is 0 dB. Halving does not change their ratio. For 2s2s the residual is zero, giving ideal positive infinity; this program reports exact-up-to-scale and None rather than a fabricated finite value. A requirement to preserve amplitude needs another measure.

  4. Track consistency. An eight-sample output contains speaker A then B, while the other contains B then A. Each four-sample block matches perfectly after its own swap. Should a continuous speaker-track evaluator use one or two assignments?

    Answer: One assignment for the whole clip, if continuous identity is the requirement. In the program’s orthogonal-block construction, this gives MSE 1; choosing assignments independently gives zero and hides the swap. Changing the scoring unit changes what “correct” means.

Representation and assignment are separate design decisions

The uPIT paper makes target ordering part of the training objective. Conv-TasNet moves the masking process into an encoded waveform representation. Either idea can be studied separately: a better representation does not remove the output-label ambiguity, and a better assignment loss does not create information absent from a mixture. Utterance assignment Waveform representation

Asteroid’s fixed implementations expose reduction, matching and numerical policies that short equations can hide. Use such projects to inspect the complete experiment definition, then compare an implementation against independently checkable cases. The original model here is deliberately small enough for that comparison; it is not a reproduction of Asteroid or Conv-TasNet. PIT source SDR source

Make a prediction, then check

Each short block has zero PIT error, but the two output tracks swap speakers halfway. Is whole-clip PIT necessarily zero?

Choose one answer

Learning objectives

  • Explain the non-uniqueness of separating a mixture and the role of priors.
  • Derive ratio and phase-sensitive masks with their failure cases.
  • Train a tiny waveform separator using one global permutation and check its gradient.
  • Interpret SI-SDR, scale ambiguity and silent-reference policies.

Prerequisites & connections

Explore related knowledge →

References

  1. Multi-talker Speech Separation and Tracing with Permutation Invariant Training of Deep Recurrent Neural Networks (v1)
    Morten Kolbæk; Dong Yu; Zheng-Hua Tan; Jesper Jensen · 2017
  2. Conv-TasNet: Surpassing Ideal Time-Frequency Magnitude Masking for Speech Separation (v3)
    Yi Luo; Nima Mesgarani · 2019
  3. SDR – half-baked or well done? (arXiv v1)
    Jonathan Le Roux; Scott Wisdom; Hakan Erdogan; John R. Hershey · 2018
  4. Asteroid PIT loss wrapper atfce8746
    Asteroid contributors
  5. Asteroid pairwise negative SDR losses atfce8746
    Asteroid contributors

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-13 · Single AI author checked scoped uPIT masks and utterance-wide assignments, Conv-TasNet representation dimensions, scalar-projection SI-SDR and fixed Asteroid matching/epsilon conventions. Nine paired equations and four explained exercises; clarified negative-mask phase reversal. Original whole-clip Fourier mask regressor trained on one synthetic mixture, not Conv-TasNet or evidence of unseen-speaker generalization.

  • Verified complex real-mask projection and cancellation, global permutations/ties, whole-clip error1 versus block-wise0, centered/scaled/orthogonal/silent SI-SDR, odd/even Parseval and stable-assignment finite differences. Actual200-step synthetic fit0.065 to0.001419615 and mixture-sum error below1e-15.
  • Four computed SVGs bind exact bilingual MDX. The two-topic group passed nine numeric/encoding checks and 12 isolated language/width cases with four fallback fonts; four representative actual screenshots inspected by the AI author. Literal-prose AST checked before freezing. Full article browser acceptance is separate; no human peer review.

Source locations checked:

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.