When a clinician listens to a child's heart, they place one stethoscope at four chest locations in turn: the aortic, pulmonary, tricuspid and mitral sites. Where a murmur is loudest, and how it fades from site to site, is part of the diagnosis. Current machine-learning systems for this task mostly ignore that pattern. They classify each short recording on its own, or they pool the four recordings into an unordered bag. Meanwhile, work on microphone arrays in speech has spent a decade learning how to fuse "what the sound is" with "where it comes from." This proposal carries one specific lesson from that field into auscultation. In array processing, the ratio between two channels cancels whatever the channels share. In auscultation, the four recordings of one patient share the same stethoscope, room and session. So differences between sites, measured at matched points of the heartbeat, should cancel the device and room effects that make these models brittle across hospitals, while keeping the localized signature of a murmur.
The claim in two sentences: align the four site recordings by heartbeat phase rather than by clock time, and give the classifier the per-frequency differences between sites alongside each site's own spectrogram. This should make murmur classification, including the hard "Unknown" class and the question of which site the murmur is loudest at, more robust to recording hardware than models that see sites independently or pooled.
Why the obvious transfer does not work
The tempting idea is to treat the four chest sites as a microphone array and apply geometry-agnostic spatial models such as UniArray. UniArray projects multi-channel signals onto learned spatial patterns and synthesizes virtual microphones to separate speech across unseen array layouts. That design depends on the channels being recorded at the same time, because it relies on inter-microphone phase and spatial covariance. Standard auscultation, including the CirCor Digiscope data behind the PhysioNet 2022 challenge, records the sites one after another. No phase relationship exists between them, so phase-based spatial features are undefined. The spatial cue that survives is the one clinicians actually use: relative loudness and spectral shape across sites. This is the analogue of the interaural level difference, the loudness gap between two ears, not the interaural time difference. The proposal is built around that surviving cue, and it replaces time synchrony with heartbeat synchrony.
Core Claim
Let $X_s(b,\phi)$ be the log mel-band energy at chest site $s$, frequency band $b$ and cardiac phase $\phi$, averaged over the heartbeats in that recording. Cardiac phase means position within the beat, from the first heart sound through systole to the second heart sound and diastole, found by a standard heart-sound segmenter. If the recording chain (stethoscope response, gain, room) adds a band-dependent offset $H(b)$ in the log domain that is shared across one patient's session, then $X_s = S_s + H$, where $S_s$ is the site-specific physiological spectrum. The inter-site contrast
$$D_{s,s'}(b,\phi) = X_s(b,\phi) - X_{s'}(b,\phi) = S_s(b,\phi) - S_{s'}(b,\phi)$$
removes $H$ exactly under this model while keeping the localized part of the signal. A systolic murmur loudest at the aortic site appears as a positive band-limited ridge in $D$ during systole. A noisy or poorly placed recording appears as a contrast that is inconsistent across beats.
The additive-offset model is an approximation. Pressure and placement vary per site, so $H$ is only partly shared. Whether the approximation holds well enough is the central empirical question.
The model has three parts:
- A per-site spectral encoder, answering "what" is heard at each site.
- A contrast encoder over the $D$ tensors, answering "where" it is heard.
- A fusion stage that learns how much to trust each stream.
The fusion design borrows from Spectral or spatial? Leveraging both for speaker extraction. That work conditions a multi-channel U-Net on a small classifier at the network's bottleneck, which judges whether spatial or spectral cues are currently reliable. It recovered 7.58 dB SI-SDRi where a spatial-only model fell to −3.36 dB. We reuse this reliability-gating mechanism and add one extension: the reliability estimate feeds the "Unknown" output directly. In CirCor, "Unknown" largely reflects recordings a clinician could not judge, so an explicit signal-trust variable is a natural predictor for it.
Research Program
Front end. We first build the cycle-aligned representation. Each recording is segmented into beats. Log-mel energies are resampled onto a fixed grid of cardiac phase. We compute per-site phase-averaged spectra, a beat-to-beat variance map per site, and all pairwise contrasts among the available sites.
Missing sites. Missing sites are common because not every patient has all four recordings. We handle them by masking contrast pairs rather than imputing channels. This is the sequential-recording counterpart of UniArray's missing-microphone robustness, and it is simpler than virtual-microphone estimation, which has no physical basis here.
Shared encoder. The per-site encoder starts from contrastive self-supervised pre-training on unlabeled PhysioNet 2016 recordings, following Listen to your heart. That work showed such pre-training lifts validation weighted accuracy on the 2022 murmur task from 0.558 to 0.668. The same pre-trained encoder is given to every baseline, so pre-training cannot explain any gain.
Outputs. The model has three heads:
- murmur class (Present, Absent, Unknown);
- clinical outcome (Normal, Abnormal);
- a site-localization head predicting the site of maximal audibility.
The third head is trained only if the released CirCor annotations include per-site murmur audibility. We expect this from the dataset's clinical labeling, but it must be verified. If absent, localization is evaluated only qualitatively, through the learned contrast maps.
Analysis of what the model learned. Because the contrast tensor lives in interpretable units, we can ask whether the network's attributions concentrate on systolic or diastolic bands at physiologically plausible sites. The file identifies this kind of interpretability as a weakness of LLM-based systems like AudioTSLM.
Baselines
Naive reference. A per-recording spectrogram CNN whose patient prediction is a majority vote over sites. This is the "do nothing about space" point, and it is what the PhysioNet 2016 challenge implicitly assumed by treating each site recording as an independent entry. For the older binary task, that challenge reports a sample-entry modified accuracy of 0.7057 against 0.8602 for the winner. The number is on a different task and serves only as context.
Strongest existing method. Dual Bayesian ResNet (Walker et al.) splits the three-way murmur task into two binary ResNet50s over 4-second log-mel windows, with Monte Carlo dropout for uncertainty. It reports a hidden-test weighted accuracy of 0.771 (rank 4 of 40) and 0.780 weighted accuracy on its own held-out evaluation, with per-class accuracy of 0.833 on Present and 0.615 on Unknown. The PhysioNet 2022 hidden test set is not available to us. We will therefore reimplement it on the public CirCor data with the same patient-level cross-validation folds, the same pre-trained encoder initialization, and the same hyperparameter search budget as our model. We report our reimplementation's number next to the published one rather than comparing across evaluation sets. Beating it means higher weighted accuracy on matched folds with non-overlapping fold-level confidence intervals, plus a larger gain on the Unknown class than on Present.
Structured aggregation baselines. - Maiby's algorithm samples 16 segments per patient at random, concatenates their CNN embeddings, and classifies with a feed-forward net. It reports 0.729 hidden-test weighted accuracy against 0.394 for a random-forest baseline. - An attention pooler over site recordings with learned site embeddings. This is our lightweight stand-in for the Perceiver Resampler that AudioTSLM uses to compress multi-site audio into a patient representation. AudioTSLM reports binary F1-macro 0.865 on CaReSound, but no reported result was found on Lacuna for AudioTSLM on CirCor three-way weighted accuracy.
Ablations isolating the key ingredient. - Remove the contrast stream. - Replace heartbeat alignment with clock-time alignment. - Remove the reliability gate's link to the Unknown head. - Most importantly, replace learned contrast with per-patient mean normalization, described below.
Why not just…?
Why not just normalize each patient's spectra by their cross-site mean? Subtracting the patient's average log spectrum from each site cancels the shared offset $H$ just as $D$ does, and it takes one line of code. This is the real threat, and we treat it as the primary control rather than an afterthought. Our hypothesis is that mean normalization removes the device but also throws away absolute level and the directional structure among pairs of sites. The learned contrast model keeps both streams and lets the gate weigh them. If Dual Bayesian ResNet with patient-mean normalization matches our model on device-perturbed evaluation and on the Unknown class, the honest conclusion is that the benefit is device cancellation alone. We would then report that simple result as the finding.
Why not just let attention over sites learn cross-site relations implicitly? A pooler with site embeddings could in principle discover contrasts. However, CirCor has about 1,568 patients, and the file's evidence on small acoustic datasets favors built-in structure over capacity. Maiby's algorithm, which aggregates without anatomical structure, finished well below the decomposed model, and its authors flag the risk of missing localized murmurs. The attention baseline above is run under an identical budget. The device-perturbation test will show whether implicit learning acquires the invariance or only fits the training hardware.
Why not just add more pre-training data or a larger audio foundation model? Self-supervised pre-training is included in every arm, so it cannot be the explanation. AudioTSLM reports that general-purpose audio encoders struggle with subtle non-speech physiological sounds, and that a lightweight domain tokenizer matched them. More data may improve all arms equally without addressing the specific failure: shortcuts through hardware transfer functions.
Why not just add patient metadata? Walker et al. found that fusing demographics through XGBoost raised raw accuracy from 0.762 to 0.820 but lowered weighted accuracy from 0.780 to 0.749, by favoring the majority Absent class. Cross-site contrast is acoustic evidence about the minority classes, which is the opposite of what metadata supplied.
Proposed Experiments
Main comparison. Five-fold patient-level cross-validation on the public CirCor / PhysioNet 2022 data, reporting:
- challenge weighted accuracy;
- per-class accuracy, with Unknown reported separately;
- outcome prediction with the challenge cost score;
- calibration of the Unknown probability against the reliability gate.
First decisive check: hardware robustness. At test time, each patient's four recordings are passed through the same randomly drawn stethoscope-like band filter and gain, drawn from a family fitted to spectral differences between PhysioNet 2016's eight source databases. The additive-offset model predicts that the contrast stream is nearly unaffected, while per-site models degrade. A second condition applies independent filters per site, breaking the shared-offset assumption. Here the advantage should shrink. That shrinkage is the falsification test for the mechanism: if the advantage persists unchanged, the gain is not coming from cancellation.
Second decisive check: cross-cohort transfer. Train on CirCor, which is pediatric, and evaluate zero-shot Normal/Abnormal on PhysioNet 2016 subjects with multiple labeled site recordings, grouped by source database. The question is whether the gap between the contrast model and Dual Bayesian ResNet widens on sources whose equipment differs most from CirCor's.
Third decisive check: missing sites. Evaluate with one or two sites randomly removed, to confirm that pair masking degrades gracefully.
Secondary transfer. CaReSound, the multi-source benchmark used by AudioTSLM, offers ICBHI and SPRSound multi-site respiratory recordings. These are a test of whether the same contrast principle applies beyond the heart. We would run this only if the main results hold.
References
- UniArray: Unified Spectral-Spatial Modeling for Array-Geometry-Agnostic Speech Separation
- Spectral or spatial? Leveraging both for speaker extraction in challenging data conditions
- Listen to your heart: A self-supervised approach for detecting murmur in heart-beat sounds for the Physionet 2022 challenge
- Patient-Level Multimodal Question Answering from Multi-Site Auscultation Recordings
- Classification of Normal/Abnormal Heart Sound Recordings: the PhysioNet/Computing in Cardiology Challenge 2016
- Dual Bayesian ResNet: A Deep Learning Approach to Heart Murmur Detection
- Maiby's Algorithm: A Two-Stage Deep Learning Approach for Murmur Detection in Mel Spectrograms for Automatic Auscultation of Congenital Heart Disease