Physics-Anchored Frame Noise Models for Lung Ultrasound Severity Scoring Across Hospitals

A lung ultrasound clip is usually graded with one severity score (0 to 3), and that score reflects the worst finding seen anywhere in the sweep. Most frames in a score-3 clip look milder, and some look normal. When a network is trained by copying the clip score onto every frame, it is fitting labels that are wrong for much of the clip. When it is then deployed at a different hospital, with a different probe, scanner, and patient mix, it tends to fall back on whatever site-specific cues happened to correlate with the score. We propose to decide which frames a clip label actually applies to using the physics of the image rather than the network's own confidence. Simple, deterministic measurements do this job: vertical artifact (B-line) area, pleural line continuity and position from a Radon transform, and consolidation-like dark regions below the pleura. These measurements feed a small noise model that says, for each frame, how likely the clip label is to be inflated relative to that frame's true severity. The deep classifier is trained through this noise model.

The bet is about robustness more than in-distribution accuracy. A noise model built on network confidence learns its notion of "reliable frame" from the training hospitals' data and inherits their shortcuts. A noise model built on a handful of physical descriptors with very few parameters has little room to memorize a site. The descriptors are also used only during training, so if the handcrafted extractor breaks on an unfamiliar probe at deployment, inference is unaffected. The core test is therefore leave-one-site-out evaluation: does physics-anchored label correction transfer to unseen institutions better than learned frame weighting, learned confidence anchors, or feeding the same descriptors in as extra input channels?

Core Claim

Handcrafted acoustic descriptors are more useful as the label-noise model in weakly supervised video training than as input features. Used this way, they improve frame-level and clip-level severity scoring on held-out institutions by more than the same descriptors added as input channels, and by more than temporal noise models whose anchors come from model confidence.

This differs from each of the closest existing works. Integrating Domain Knowledge Into Deep Networks for Lung Ultrasound With Applications to COVID-19 builds a pleural signed-distance mask and a vertical artifact mask and concatenates them as input channels for static frame classification. It never models the mismatch between clip and frame labels and never tests on unseen sites. Our proposal uses close relatives of those exact masks, but routes them into the loss rather than the input. Learning under Temporal Label Noise supplies the method we reuse: a forward loss that passes predictions through a time-dependent noise transition matrix. It assumes one noise function shared by all sequences, estimates anchors from model confidence, and was tested only on one-dimensional sensor streams. We make the transition matrix specific to each frame, conditioned on physical descriptors, and constrained by the clinical "worst frame defines the clip" rule. Weakly Supervised Contrastive Learning for Better Severity Scoring of Lung Ultrasound motivates the problem: it shows that treating clip scores as noisy frame labels helps. It handles the noise implicitly with contrastive terms on purely deep features and aggregates clips with a max-pool heuristic.

Research Program

The noise model. Let $x_t$ be frame $t$ of a clip with clip label $y \in \{0,1,2,3\}$. Let $f_\theta(x_t)$ be the classifier's distribution over the frame's true severity $z$. Let $h_t$ be a vector of about ten handcrafted descriptors for that frame. The descriptors are:

  • B-line count and fractional vertical-artifact area, from line fitting in Cartesian coordinates after probe-specific scan conversion;
  • pleural line continuity, thickness, and depth, from the Radon-based pleural detector;
  • the fraction of hypoechoic tissue below the pleura.

The training objective is

$$ \mathcal{L} = -\sum_t \log \sum_{z \le y} Q_\phi(y \mid z, h_t)\, f_\theta(x_t)_z \;-\; \lambda \log\Big[\prod_t F_t(y) - \prod_t F_t(y-1)\Big]. $$

In the first term, $Q_\phi(y \mid z, h_t)$ is the probability that a frame of true severity $z$ with descriptors $h_t$ carries clip label $y$. It is set to zero for $z > y$, because the clip score is the maximum over frames. The second term is the exact likelihood that the maximum frame severity equals $y$. Here $F_t(k)=\sum_{j\le k} f_\theta(x_t)_j$ is the frame's cumulative severity distribution, $\prod_t F_t(k)$ is the probability that every frame has severity at most $k$, and $\lambda$ weights this clip-level term.

$Q_\phi$ is a softmax over $z \le y$ whose logits are linear in $h_t$, with $\phi$ shared across all sites. That gives under fifty parameters in total. We initialize $\phi$ from the standard lung ultrasound scoring rules:

  • separated B-lines map to score 1;
  • coalescent B-lines map to score 2;
  • consolidation maps to score 3;
  • frames with A-lines and no vertical artifacts are anchors for $z=0$.

$\phi$ is then learned jointly with $\theta$ under a penalty that keeps it near the rule-based start. The low capacity is deliberate: the noise model should express physics, not site identity.

The descriptor-reliability study. The file names a real risk: structural priors degrade when the pleura is badly disrupted, and extractors assume a particular probe geometry. Before anything else, we will measure each descriptor's agreement with the pixel-level artifact masks in ICLUS, separately by center and by probe type (convex vs. linear). This tells us where anchors are trustworthy. It also tells us whether the method's gains track descriptor reliability, which is the mechanism we claim.

Data and splits. The primary benchmark is ICLUS-DB: five Italian centers, convex and linear probes, and frame-level severity labels plus artifact masks. The frame-level labels let us train on clip labels only and then measure directly how well each method recovers true frame severity. We evaluate leave-one-center-out, conditional on center identifiers being available in the released data; otherwise we fall back to a leave-one-probe-type-out split. We also run a cross-dataset transfer: train on ICLUS, test on COVIDx-US clips with their clinician-verified LUSS scores (COVIDx-US), and in the reverse direction. COVIDx-US is additionally split leave-one-source-out across its source repositories.

All methods receive identical preprocessing:

  • COVIDx-US-style cropping and UI inpainting;
  • the same ResNet-18 backbone;
  • the same augmentations;
  • the same hyperparameter search budget, with 20 trials tuned only on the training sites' validation folds.

Baselines

Naive reference. A ResNet-18 trained with cross-entropy, the clip label copied to every frame, and mean or max pooling at test time. This is the setting in which POCOVID-Net reached 92% clip accuracy but only 0.55 sensitivity on healthy clips. Weakly Supervised Contrastive Learning for Better Severity Scoring of Lung Ultrasound reports 0.842 ± 0.027 clip-level AUC for its cross-entropy ResNet-50. Those numbers come from different datasets and will not be compared directly; we re-run this baseline on our splits.

Strongest existing noise-handling method. The contrastive objective with intra-class alignment, inter-class contrast, and ordinal continuity terms from Weakly Supervised Contrastive Learning for Better Severity Scoring of Lung Ultrasound. It reports a clip-level AUC of 0.867 ± 0.020 and a frame-level AUC of 0.903 ± 0.022 on POCOVID-Net plus a private set. It is the strongest competitor because it targets exactly this clip-to-frame noise in lung ultrasound. We re-implement it on our backbone and splits. Since its private data are unavailable, the reported figure serves only as a sanity check, not a target.

Strongest descriptor-based method. Early fusion of pleural and vertical-artifact channels, as in Integrating Domain Knowledge Into Deep Networks for Lung Ultrasound With Applications to COVID-19. That paper reports a frame F1 of 68.8% versus 62.2% for raw frames on ICLUS, measured in-distribution. We also include the late-fusion variant that Multi-feature Multi-Scale CNN-Derived COVID-19 Classification from Lung Ultrasound Data found best on its binary task. Both receive our descriptors computed by the same extractors. This directly tests the fusion-timing tension in the literature against a third option: putting the descriptors in the loss.

Temporal noise model with confidence anchors. The Forward Temporal Loss of Learning under Temporal Label Noise, with its plug-in anchor estimation adapted to frames. It reports 4.2% versus 29.4% test error on the moving dataset under mixed noise. No reported result was found on Lacuna for it on ultrasound video. This baseline doubles as the key ablation: it differs from ours only in where the anchors come from.

Additional ablations.

  • Our loss with $Q_\phi$ replaced by an unconstrained small network on deep features. This isolates "physics" from "frame-specific."
  • Our loss with descriptors shuffled across frames within a clip.
  • The clip-level max-likelihood term alone, which isolates what the descriptors add beyond ordinal multiple-instance learning.

What counts as beating the baselines. We claim success if, averaged over held-out sites, our method improves frame-level macro-F1 against ICLUS frame labels, and clip-level macro-AUC, over every baseline. The margin must exceed the across-seed standard deviation, using five seeds and a paired comparison per held-out site. In addition, the gap over input-channel fusion must be larger on held-out sites than in-distribution.

Why not just…?

Why not just use attention-based multiple-instance learning and let the network learn which frames matter? This is the most serious alternative. A learned attention pooling over frames can discover the informative frames with no handcrafted features at all. Our concern is that what the attention learns to find salient comes from the training sites. The Role of Pleura and Adipose in Lung Ultrasound AI showed that a temporal ResNet-18 attended to subcutaneous fat and scored only 0.6553 AUC until the region above the pleura was masked, which raised it to 0.7742. That evidence is single-center, so it does not settle the question. We will run attention pooling and our clip-level max-likelihood term as baselines. If either matches our method on held-out sites, the physics anchoring is not earning its keep and we will report that.

Why not just feed the descriptors in as extra channels? That is what Integrating Domain Knowledge Into Deep Networks for Lung Ultrasound With Applications to COVID-19 did, and it worked in-distribution. However, the deep pathway can learn to ignore or override the channels. Worse, the network then depends on the extractor at test time, exactly where scan conversion and probe geometry may break it. The per-site descriptor-reliability study combined with the fusion baselines will show whether input fusion degrades specifically at sites where the extractor degrades, and whether our training-only use avoids that.

Why not just filter frames with a descriptor threshold and train with cross-entropy? For example, one could drop frames without B-lines from positive clips. This is the simplest version of the idea, and if it performs as well, the noise model is unnecessary. We include it at matched tuning budget. We expect it to lose on mid-severity clips: hard thresholds discard the graded information that separates scores 1 and 2, and they fail outright when the pleura is disrupted. That expectation is a hypothesis, not a finding, and the comparison will decide it.

Decisive Checks

The first check uses ICLUS frame labels. Trained only on clip labels, does our method recover held-out-center frame severity better than confidence-anchored forward loss and contrastive learning? If the confidence-anchored version matches it, the central claim fails.

The second check is the in-distribution versus held-out gap. Input-channel fusion should lose relatively more accuracy on unseen centers and probes than our method does. The size of our advantage should correlate, across held-out sites, with that site's descriptor reliability. If gains appear at sites where descriptors are unreliable, something other than the claimed mechanism is at work.

The third check is shortcut reliance. We measure the fraction of Grad-CAM attribution falling above the detected pleural line for each method on held-out sites. This tests whether physics-anchored noise modeling reduces the subcutaneous shortcut documented in The Role of Pleura and Adipose in Lung Ultrasound AI, or merely coexists with it.

The fourth check is cross-dataset transfer between ICLUS and COVIDx-US, reported with clip-level macro-AUC and quadratic-weighted kappa for the ordinal score. This is the closest proxy here for deployment at a new institution without retraining.