Telling a Pitch-Tracking Error from a Change of Mind in Interactive Listening

Picture a hearing aid that isolates one voice at a noisy dinner table. It identifies the voice by its pitch, the rising and falling melody of that person's speech. The listener occasionally tells the device "not this one" with a tap or head gesture. Two different events look alike in this loop. When the tracked pitch suddenly jumps, the tracker may have made a gross error, for example latching onto double the true pitch. Or the listener may have turned toward a different talker. Likewise, a "not this one" tap may mean the listener's interest really moved to someone else, or only that the device just produced a garbled, robotic voice because its pitch estimate was wrong. Current systems resolve neither ambiguity. Pitch-guided separators assume the target never changes. Preference learners that handle drift trust recent feedback simply because it is recent.

This note proposes to treat the two ambiguities as one inference problem. A small hidden-state model tracks, over time, which talker the listener currently wants and whether the pitch tracker is currently failing. The model explains both the pitch contour and the listener's feedback, so each signal helps disambiguate the other. A pitch jump that coincides with a tap and a confident, clean contour is evidence of a real switch. A tap that follows a low-confidence, octave-jumped segment is evidence of an artifact complaint and should not move the preference estimate. The claim is narrow and testable: this coupling lets the system follow listener intent faster and with fewer false switches than the obvious cascade, which cleans the pitch first and then applies recency-weighted preference updates. The advantage should be concentrated in the moments when tracker failures and feedback coincide.

Core Claim

Existing work splits the problem at the wrong seam. Speech work corrects pitch using physical smoothness: an abrupt jump is presumed to be an error. An error correction scheme for GCI detection algorithms using pitch smoothness criterion formalizes this with an integer program over the intervals between vocal-fold closures, which are the glottal events a pitch tracker times. Preference-drift work does the opposite and presumes recent evidence should dominate. Right Now, Wrong Then: Non-Stationary Direct Preference Optimization under Preference Drift (NS-DPO) weights each preference sample by $\gamma^{T-t_i-1}$, where $T$ is the current time, $t_i$ the sample's timestamp and $\gamma<1$ a discount. The authors themselves note it cannot separate low-quality recent data from high-quality old data. In an interactive listening loop the "low-quality recent data" has a specific, detectable cause: feedback provoked by acoustic artifacts. Pitch trackers can report their own reliability, for instance through soft confidences of the kind used in Soft harmonic masks for recognising speech in the presence of a competing speaker. So the right discount on a piece of feedback depends on its acoustic context as well as its age. The right correction of a pitch jump in turn depends on whether the listener's behaviour suggests a switch.

Concretely, let $z_t \in \{1,\dots,K\}$ be the talker the listener wants at time step $t$ (with $K$ talkers present). Let $e_t \in \{0,1\}$ indicate a tracker failure on the currently rendered talker. Let $c_t$ be the tracker's confidence and $y_t$ the listener's feedback (none, or reject). The model is a factorial hidden Markov chain:

$$p(z_{1:T}, e_{1:T}, c_{1:T}, y_{1:T}) = \prod_t p(z_t \mid z_{t-1})\, p(e_t \mid e_{t-1}, c_t)\, p(y_t \mid z_t, e_t, \hat z_t),$$

where $\hat z_t$ is the talker the device actually rendered. The key term is $p(y_t \mid \cdot)$. A reject is likely either when $\hat z_t \neq z_t$ (wrong talker) or when $e_t=1$ (garbled output). This lets the posterior assign blame. The switch probability in $p(z_t \mid z_{t-1})$ plays the role of NS-DPO's variation budget. Unlike $\gamma$, it is learned online from the rate of confident rejections rather than fixed in advance. This addresses the unknown-budget limitation that NS-DPO leaves open.

Research Program

The work has three parts. The first builds the testbed, because no benchmark for attention switching over pitch-conditioned separation exists. Mixtures come from LibriMix and WSJ0-2mix/3mix. We chose LibriMix partly because its sparse-overlap variant resembles real conversation. Each session is a long concatenation of mixtures with a scripted target schedule, containing both abrupt switches and slow drifts. Reference pitch is computed on the clean sources. The tracker is PGSS Phase I from PGSS: Pitch-Guided Speech Separation, which reports 93.4% frame-level precision and 89.2% recall. We also inject controlled octave-doubling, octave-halving and voicing errors at chosen rates and chosen alignments relative to switches. Simulated listeners reject with probability rising in two quantities: mismatch between rendered and desired talker, and output degradation measured by frame-level PESQ/STOI proxies. The listeners also react with a delay. A small human study at the end checks that simulated rejections resemble real ones. In that study, participants tap while following a scripted "whom to attend" cue, and artifacts appear at random. This matters because the literature on user feedback loops (Modeling needs user modeling; Evaluating Rule-based Programming and ReinforcementLearning for Personalising an Intelligent System) warns that users form preferences in response to outputs, so a purely synthetic user could flatter the method.

The second part is the inference and control loop. Forward filtering over the small joint state is cheap: with $K\le 3$ talkers and a binary error state, it is negligible next to separation cost. That sidesteps the latency problem that makes integer-program pitch correction unsuitable for devices. The device renders the most probable talker through the PGSS Phase II generator. In the failure state it falls back to a pitch-free mask for the chosen talker, so that a known-bad contour is not synthesized.

The third part is analysis. We map where the joint model helps as a function of error rate, error-switch alignment, same-gender versus mixed-gender pairs, and feedback delay. Same-gender pairs are the case Soft harmonic masks for recognising speech in the presence of a competing speaker flags as hardest, because pitch ranges overlap and a tracker jump to the other talker looks exactly like a switch.

Baselines

The naive reference is the static system: PGSS conditioned on the initially selected talker, never updated, with feedback ignored. It bounds how much any adaptation is worth. The second reference is an oracle that sees the true target schedule and true pitch. The gap between it and everything else is the headroom. The file's analogues suggest this gap is real but can be small: in the soft-mask work, a priori pitch reached 73.7% word accuracy against 72.2% for estimated pitch on Aurora 2 at 0 dB.

The strongest competitor is the decoupled cascade. First, pitch contours are cleaned with the smoothness-based correction of An error correction scheme for GCI detection algorithms using pitch smoothness criterion. Where that is too slow, a cheaper Viterbi smoother with the same smoothness penalty is used. Second, target preference is updated from feedback with NS-DPO-style exponential discounting over a Bradley-Terry score per talker. This is the natural composition of the best tool from each literature, and a skeptical reviewer would propose exactly this. It gets the same tracker, the same separator, the same feedback stream, and the same tuning budget: $\gamma$ and the smoothing strength are grid-searched on validation sessions with the same number of trials used to fit our model's two transition parameters. No reported result found on Lacuna for any system on target-switching sessions. The closest anchors are indirect. NS-DPO keeps reward accuracy "above 60-70%" under mid-dataset flips while standard DPO falls to "~50-55%", and PGSS reports the tracker precision/recall above. Beating the cascade means higher time-averaged target-following accuracy with a false-switch rate no higher than the cascade's at matched switch-detection latency. This must hold on the error-coincident sessions and not merely on average.

Two ablations isolate the key ingredient. The first removes the error state from the feedback likelihood, so every reject counts as preference evidence while pitch correction stays switch-aware. The second keeps the error state but makes it depend only on confidence $c_t$ and not on feedback. If the first ablation matches the full model, blame assignment is not doing the work. If the second matches, feedback is not helping pitch correction and the coupling is one-directional.

Finally, a pitch-free competitor uses Conv-TasNet-style separation, whose standard version reports 15.4 dB SI-SNRi on WSJ0-2mix in An Empirical Study of Conv-Tasnet. It is combined with a speaker-embedding selector updated by the same discounted feedback.

Why not just…?

Why not just smooth the pitch and then discount feedback by recency? This is the cascade above, and it is the real threat. If tracker failures rarely coincide with feedback, the cascade should match us, and we expect it to on uniformly random error placement. The argument for coupling rests on two failure modes. Smoothness correction erases genuine switches, because its core assumption is that abrupt jumps are errors. Recency weighting absorbs artifact complaints as preference changes, which is the limitation NS-DPO's authors concede. The error-switch alignment sweep settles it. If the joint model's advantage does not grow as injected errors move closer to feedback events, we drop the coupling claim.

Why not just avoid pitch and track the target with speaker embeddings or an end-to-end separator? This removes octave errors entirely. PGSS reports that pitch conditioning beats embedding-conditioned and speaker-independent separation, especially for similar timbres and varying speaker counts. LibriMix shows Conv-TasNet generalizing poorly across corpora (a 4 dB drop from WHAM! to LibriMix) and losing to simple masks at low overlap. Neither result covers switching sessions, so the pitch-free competitor is run directly. If it wins on same-gender pairs, that becomes a finding that pitch is the wrong handle there, and we will not hide it.

Why not just ask the listener when unsure? A clarification prompt would disambiguate "wrong talker" from "bad audio." In AcCoRD, however, uncertainty-driven asking (UncReAct) gave no meaningful gain over the plain agent and weaker models over-asked. Its "triggered preferences", which users form only after seeing an output, scored as low as 0.09. Rejections of rendered audio are triggered preferences in exactly this sense. We include a variant that emits a second, distinct "sounds bad" gesture at a configurable cost. It measures how much of our gain a two-button interface would recover without inference. If the variant matches our model at acceptable cost, the practical recommendation is the extra button.

Proposed Experiments

The pitch tracker's confidence is first calibrated on the Keele and Edinburgh databases. On Keele, the least-squares harmonic estimator of Fundamental frequency estimation by least-squares harmonic model fitting reports 2.3% gross errors against 3.2% for YIN. We confirm the confidence $c_t$ predicts gross errors before relying on it, since an uninformative $c_t$ would reduce the error state to guesswork.

The main experiment runs every system on switching sessions built from Libri2Mix, Libri3Mix, SparseLibriMix and WSJ0-2mix/3mix. It reports target-following accuracy, false-switch rate, switch-detection latency, and SI-SNRi, PESQ and STOI measured against the desired talker at each moment. Results are stratified by same- versus mixed-gender pairs and by error-switch alignment.

Two decisive checks follow. The first is the alignment sweep described above: our gain over the cascade must rise as errors move toward feedback events. The second is the human study with 20 to 30 participants. Real taps must reproduce the simulated ranking, and the joint model must reduce listener-reported "it switched on its own" events relative to the cascade. If both checks pass, acoustic reliability belongs inside preference-drift models wherever feedback is provoked by machine-generated signals. If either fails, the negative result still settles a design choice for interactive hearing devices. It would say that the simple cascade, or a second button, is enough.