Manuscript Offprint
arXiv:2610.03290Wrong Organ, Right Physics: Transferring Echocardiography Pretraining to Lung Ultrasound for Tuberculosis Screening
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Transferring Echocardiography Pretraining to Lung Ultrasound for Tuberculosis Screening
Christiaan M. Geldenhuys , Joshua M. Jansen van Vüren , Véronique Suttels , Trevor Brokowski , Ablo P. Wachinou , Mary-Anne Hartley , Rensu P. Theart , Grant Theron , Thomas R. Niesler
*Department of Electrical and Electronic Engineering, University of Stellenbosch, Stellenbosch, South Africa
†Laboratory for intelligent Global Health and Humanitarian Response Technologies (LiGHT)
Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland
§National Teaching Hospital for Tuberculosis and Pulmonary Diseases (CNHU-PPC), Cotonou, Benin
‡South African Medical Research Council Centre for Tuberculosis Research (CTR)
Division of Molecular Biology and Human Genetics, Faculty of Medicine and Health Sciences
Stellenbosch University, Cape Town, South Africa
Corresponding authors: cmgeldenhuys@sun.ac.za, trn@sun.ac.za
Abstract—Lung ultrasound (LUS) is attractive for tuberculosis (TB) screening at primary-care level, but labelled cohorts are small. Echocardiography carries no such constraint, while sharing the same underlying ultrasound imaging physics, signal processing and B-mode appearance as LUS. We ask whether an encoder pretrained on that high-resource ultrasound domain carries representations that remain usable in the low-resource one. Only the encoder varies, across seventeen encoders spanning three architecture families. Among them, a latent-predictive video encoder pretrained on generic video (V-JEPA2-L) and its echocardiography counterpart (EchoJEPA-L) differ in pretraining corpus alone. The choice among these encoders does not resolve the classification, the whole family spanning 2.50 percentage points against a measurement resolution of 2.71. What moves the task instead is feature conditioning. Standardising the features between the encoder and the classifier improves all seventeen encoders by a mean of +1.23 percentage points at . On the held-out test set every encoder selected on the development folds stands above the baseline system by up to +2.57 percentage points of area under the receiver operating characteristic curve (AUROC), and specificity at 90% sensitivity reaches 79.3% against 60.3%. The contrast specified in advance, EchoJEPA-L against V-JEPA2-L, measures -0.16 percentage points at . We therefore find no evidence that shared ultrasonic physics alone makes echocardiography a more productive pretraining corpus than generic video, and any advantage, if present, is smaller than this cohort can resolve. The video encoders receive replicated still images, however, so whether this absence of an effect reflects the pretraining domain or a video encoder applied to static frames cannot be separated. The limiting factor is the labelled cohort rather than the encoder.
Index Terms—Echocardiography, Feature Standardisation, Joint-Embedding Predictive Architecture, Lung Ultrasound, Model Selection, Small-Cohort Evaluation, Transfer Learning, Tuberculosis Screening
I. INTRODUCTION
Tuberculosis (TB) remains one of the leading infectious causes of death. An estimated one in four people who fell ill with TB in 2023 was never diagnosed [1]. Chest radiography, interpreted either by a trained reader or by computer-aided detection (CAD) software, is the imaging tool the World Health Organization (WHO) recommends for screening and triage. Yet radiographic equipment and trained readers remain concentrated in urban tertiary centres [2]. Lung ultrasound (LUS) is an attractive complement at primary-care level, because the probe is portable, battery-powered and free of ionising radiation. The weakness of LUS lies in interpretation, which is operator-dependent and not yet supported by a strong body of evidence [3].
Automated interpretation can address this core weakness, but labelled LUS data are scarce. The cohort studied here includes 504 labelled patients, of which 101 are reserved as a held-out test partition. This is small by the standards of modern representation learning. Echocardiography, on the other hand, has public corpora that are several orders of magnitude larger. Furthermore, it is acquired under the same ultrasound imaging physics, and shares the speckle statistics and the B-mode display of LUS.
Transfer into medical imaging has usually drawn on natural images [4], or on the target anatomy itself [5]. Echocardiography offers a third source, one that shares the imaging physics of LUS but not its anatomy. EchoJEPA is a latent-predictive encoder pretrained on echocardiography [6]. In this paper we exploit the asymmetry between the two domains. We ask whether an encoder pretrained on a high-resource ultrasound domain carries representations that remain useful in the low-resource LUS domain, or whether the different anatomy, probe placement and acquisition protocol prevent this.
As a baseline, we use a classifier built on an 18-layer residual neural network (ResNet) trained in a supervised way, which was found to perform well in previous work [7]. As competing encoders, we evaluate EchoJEPA-L against V-JEPA2-L, a video encoder of identical architecture pretrained on generic video and never on ultrasound. The two therefore differ in pretraining corpus alone. We further consider fifteen other encoders, spanning convolutional and transformer architectures and four pretraining corpora. In our evaluation only the encoder varies, while the data, the classifier architecture and the evaluation protocol remain the same. Each encoder is evaluated with its parameters held fixed, so that only the attention-pooling classifier is trained.
-
A comparison of encoder architectures and pretraining corpora for tuberculosis classification from LUS, obtained under a protocol in which the encoder alone is exchanged (Section V-B).
-
The isolation of feature conditioning as a variable separable from the choice of encoder, tested by pairing each encoder against itself (Section V-C).
II. BACKGROUND
A. Lung ultrasound for tuberculosis screening
The interpretation of LUS images is a central limitation of the technique. A systematic review of point-of-care ultrasound for pulmonary tuberculosis (PTB) found no consensus on how images should be acquired or analysed, and concluded that its diagnostic utility remains unclear [3]. Effective automatic analysis would address this, filling a role similar to automated chest-radiograph analysis without the infrastructure or radiation control that even ultra-portable radiographic units require [8].
Applied as a screening test, LUS would take the place of a symptom questionnaire, so that every patient who presents is scanned rather than questioned. Such a test falls under Type 2 of the 2025 WHO target product profile (TPP) for TB screening tests, which supersedes the 2014 triage profile [9, 10]. A Type 2 test screens at high sensitivity and is followed by a second screening test before a patient is referred for diagnostic evaluation.
B. Latent-predictive self-supervised video representation learning
Masked self-supervised learning divides broadly according to where in the network the loss is computed. Reconstruction methods place it in pixel space, masking patches and regressing the missing values, as the masked autoencoder (MAE) does for images [11] and VideoMAE for video [12]. Such methods assume that local pixel intensities reflect the underlying structure. For ultrasound that assumption is weak. The image is dominated by stochastic speckle, and by acoustic shadow and attenuation that vary with probe angle and gain without corresponding to the anatomy. A pixel-reconstruction objective must reproduce these artefacts faithfully to lower its loss, spending capacity on detail that does not carry across operators or devices [6, 13].
Latent prediction moves the loss into the representation space instead. LeCun [14] argues that an encoder trained under a joint-embedding predictive architecture (JEPA) objective can discard input detail that is not predictable, whereas a generative architecture cannot. I-JEPA realises this for images [15], V-JEPA establishes feature prediction as a stand-alone video objective [16], and V-JEPA 2 scales it to more than one million hours of video [17]. EchoJEPA applies the pretraining procedure of V-JEPA 2 to echocardiography rather than to generic video [6].
C. Large-scale pretrained ultrasound and echocardiography encoders
Echocardiography already has several large-scale pretrained encoders [18, 19, 20, 21]. Self-supervision on LUS itself would need a LUS corpus large enough to pretrain on [5], and the one general ultrasound encoder spanning many organs excludes the lung [22].
The closest prior work to the present study is US-JEPA, an image-level JEPA trained on over five million frames across 22 anatomies including the lung, which asks whether an ultrasound-native latent-predictive model can be trained rather than whether an existing echocardiography model can be repurposed [13]. Its weights are not released, so it cannot enter a comparison here.
D. Cross-domain transfer
Transfer into medical imaging has a cautionary history. Raghu et al. [4] found that ImageNet transfer offered little benefit on two large medical imaging tasks and that far smaller models performed comparably, so an ImageNet initialisation is a reference point rather than a strong prior. Self-supervised pretraining changes this, matching strong supervised comparators on a fraction of the labelled data [23], yet validation under shifts of anatomy and imaging technique remains inconsistently documented [24], and that is the shift imposed here.
What echocardiography and LUS share is the physics of image formation rather than the content of the image. Most soft tissue is structured too finely for an ultrasound scanner to resolve, so its echoes interfere to produce speckle. The statistics of that speckle are determined by the ultrasound probe geometry and acquisition system, rather than by the organ [25]. An aerated lung departs from this, because air hinders the propagation of ultrasound through the parenchyma, so LUS is still read mostly from imaging artefacts such as A-lines and B-lines [26]. Only where consolidation replaces the air does the lung take on a tissue-like echotexture (see Figure 1), the appearance closest to that of soft tissue in echocardiogram images. Ultrasound encoders pretrained across many organs have nonetheless been shown to generalise across organs and tasks [22].
The encoder is held fixed throughout this study. Kumar et al. [27] show that updating every parameter can distort the pretrained features and leave the model worse than training only a classifier above a fixed encoder, when the target domain lies far from the pretraining domain. The labelled cohort here is small and the shift in anatomy and acquisition protocol is large, so only the classifier is trained.
Far less attention has been paid to the transformation that stands between a fixed encoder and the classifier. Because no pretraining objective constrains the scale or spread of the features an encoder produces, a fixed encoder can hand the classifier a representation whose statistics suit it badly. Whether a shortfall is then a property of the representation or of its scale is what feature conditioning seeks to resolve.
E. Multiple-instance learning for patient-level scoring
The imaging record of a patient is produced by a clinician sweeping the transducer over a fixed set of anatomical sites on the chest, under a standardised protocol [28]. Each site contributes one or more still images to the record of that patient. A reader interpreting the record looks for the sonographic findings that tuberculosis can produce [29], consolidation among them (see Figure 1). Those findings need not be present at every site imaged in a patient who has the disease. A patient carries a single diagnosis, whereas none of the images in the record of that patient carries a label of its own. Multiple-instance learning (MIL) matches this structure by presenting the model with an unordered set of images, from which it must produce a single TB score for the patient [30].
Attention-based MIL learns a weight for every image and pools the image embeddings into a single representation as a weighted mean [30]. Because the weights depend on the embeddings rather than on the order of the images, the operation is permutation invariant and accepts sets of different sizes, which a variable number of images per patient requires. It also carries no assumption that every image in a positive set shows disease, so the model is not required to observe disease-related findings at every anatomical site of a patient confirmed to have TB.
III. DATA
The target cohort (see Table I) is recruited at a tertiary referral centre in Benin, West Africa, following the same clinical pathway as the baseline system [7]. Each patient carries a single PTB label at the patient level rather than at the level of any image. A patient counts as positive under either WHO case definition for TB, bacteriologically confirmed or clinically diagnosed [31]. Patients may lack the bacteriological result the imaging signal is asked to recover. Imaging is acquired with a Butterfly iQ+ portable ultrasound probe connected to a smartphone at 14 defined anatomical sites per patient, following the standardised sliding-scan protocol proposed for collaborative LUS image banks in tuberculosis [28]. Every raw frame is cleaned by a ruler-anchored crop that removes the device chrome, leaving an 8-bit greyscale image that retains the full sector rather than a tight crop of it (see Figure 1). These cleaned images from the recruited cohort form the dataset used in all experiments that follow.
TABLE I: Composition of the lung ultrasound cohort. Folds are patient-disjoint, and the sixth is held out as the test set.
| Property | Value |
|---|---|
| Cohort | |
| Patients with a label | 504 |
| Patients with cleaned images | 502 |
| Cleaned images | 13 458 |
| Images per patient, median | 28 |
| Anatomical site codes | 14 |
| Cross-validation folds | 6 |
| Patients per development fold | 79 to 81 |
| Negatives per development fold | 41 to 46 |
| Positive class | |
| Positive | 224 |
| Bacteriologically confirmed | 192 |
| Clinically diagnosed | 32 |
| Positive fraction | 44.6 % |
| Held-out test set, positive | 43 |
| Bacteriologically confirmed | 38 |
| Clinically diagnosed | 5 |
| Held-out test set, negative | 58 |

(a) Aerated lung
(b) Consolidation
Fig. 1: Two cleaned images from the target cohort, both acquired at the same anterior apical site. In (a) a bright pleural line lies above a stack of equidistant horizontal reverberation artefacts, the appearance of aerated lung. In (b) the region beneath the pleural line carries a tissue-like echotexture broken by punctate hyperechoic foci, the appearance of consolidation. Both patients carry a positive PTB label. A patient with confirmed disease can therefore present an aerated appearance at any individual site, which is what the patient-level aggregation is designed to accommodate (see Section IV-B).
The echocardiography encoders under test were pretrained on MIMIC-IV-ECHO, a single-centre corpus of transthoracic echocardiography studies [32].
IV. EXPERIMENTAL SETUP
Figure 2 sets out our experimental procedure. Every stage of it is identical across the seventeen encoders under test, and only the encoder is exchanged. A measured difference is therefore attributable to encoder architecture and pretraining setup rather than to preprocessing, classifier design or tuning effort. The encoder parameters are held fixed throughout, so that only the classifier is trained.

Fig. 2: Experimental procedure, in which only the encoder varies. Each patient contributes an unordered set of cleaned LUS images, one per anatomical site, each padded to square, resized to and encoded independently. A latent-predictive video encoder instead receives the image replicated to 16 identical video frames. The features may pass through an optional conditioning stage, and attention pooling with an additive site embedding aggregates the set into a single TB score. The four encoders drawn here stand for the seventeen compared, each evaluated with its parameters held fixed.
A. Input preprocessing and encoders
The cleaned LUS still images of Section III reach every encoder through one shared preprocessing pipeline. Each image is padded to a square canvas before resizing, to preserve its aspect ratio. The padded image is resized to with the bicubic kernel, as done in the baseline system. Every encoder outside the latent-predictive video group takes that image directly.
The latent-predictive video encoders expect a video rather than a still image, so the image is replicated along the temporal axis to 16 identical video frames, as was done for still images during their pretraining. The token sequence therefore carries no variation along the temporal axis, and the temporal attention operates over identical tokens. For these video encoders the per-image embedding is the mean over the output tokens.
Each of the seventeen encoders falls into one of four groups: convolutional networks supervised on natural images, transformers supervised on natural images, transformers self-supervised on natural images, and latent-predictive video encoders.
The convolutional encoder group includes ResNet-18, -34, -50, -101 and -152 [33]. All five use the weights obtained by supervised training on ImageNet-1k, with D = 512 for the first two architectures and D = 2048 for the remaining three, where D is the dimensionality of the feature vector that each network produces for one input image. The baseline system uses the ResNet-18 encoder, which achieved the best classification performance in prior work on this dataset [7]. Every encoder, including this baseline, is optimised over the same hyperparameter range (see Section IV-C).
The supervised transformer encoder group includes vision transformer (ViT)-B/16 with , and ViT-L/16 with . Both are pretrained on ImageNet-21k and further fine-tuned on ImageNet-1k [34]. The self-supervised natural-image encoder group includes a ViT-L/16 MAE pretrained on ImageNet-1k [11] and a DINOv2 ViT-L/14 pretrained on LVD-142M [35]. For each of these four transformer models we evaluate two variants, taking the encoder representation either from the classification token or from the mean of the patch tokens.
The latent-predictive video encoder group includes V-JEPA2-L, the ViT-L configuration of V-JEPA 2, pretrained on generic video [17], and three EchoJEPA-L model variants all pretrained on echocardiography at [6]. The released EchoJEPA-L is a ViT-L checkpoint pretrained on approximately 525 000 MIMIC-IV-ECHO videos, which distinguishes it from the larger proprietary EchoJEPA-G models of Munim et al. [6] trained on roughly 18 million echocardiography videos. The first uses the released weights, and is named EchoJEPA-L in Table II. The second omits the annealing stage of that pretraining procedure, and is named pretraining only. The third begins from random initialisation rather than from the generic-video initialisation, and is named without video initialisation. All three are used unmodified, as released by Munim et al. [6].
ViT-L/16 under supervision is matched to EchoJEPA-L in embedding width and parameter count, but it is not an exact architecture-matched control. The two also differ in pretraining corpus, in training objective, in how the input is divided into tokens and in how position is encoded, the supervised ViT-L/16 taking two-dimensional patches of one image with learned absolute position embeddings where EchoJEPA-L takes tubelets spanning pairs of frames with a rotary position embedding (RoPE) configuration. V-JEPA2-L is identical to the released EchoJEPA-L in architecture, tubelet size, patch size and RoPE configuration, and differs from it only in the pretraining corpus, which is the contrast this study specified in advance. No encoder is pretrained on lung ultrasound, or on any ultrasound domain other than echocardiography.
B. Patient-level classifier
Every encoder provides features to the same patient-level classifier. A TB label is recorded per patient, and the set of images belonging to that patient is formed by passing each image independently through the encoder. The MIL classifier takes that set and produces one posterior class probability, which serves as the TB score of the patient (see Section II-E). Each feature vector obtained from the encoder, of width to 2048, is linearly projected to a common encoding dimension of 512 and summed with a learned embedding associated with each anatomical site. The linear projection allows encoders of different native width to be compared with an identical MIL classifier architecture. As in the baseline system, an attention-pooling multi-layer perceptron supplies the weights over the set, and a projection maps the pooled vector to one TB score per patient (see Figure 2). A padding mask accommodates the variable number of images per patient. All 2.9 million classifier parameters beyond the input projection are identical across encoders, and no site-dropout augmentation is applied, consistent with the regime of the baseline system.
C. Training and hyperparameter selection protocol
The cohort of Section III is partitioned into six patient-disjoint folds. The sixth is the held-out test partition, taken unchanged from the baseline system so that the comparison is made on the patients that system was itself held out against [7]. The remaining five folds repartition the 401 development patients jointly on the TB label and on clinical and radiographic covariates, so that every fold carries a proportional share of each stratum. For each development fold in turn, the classifier trains on the remaining four and is scored on the development fold left out. Training runs for 20 epochs at an effective batch size of 32 patients, using the AdamW optimiser [36], with gradient clipping at unit norm. The optimiser hyperparameters (learning rate, weight decay and positive-class weight) are searched over 45 configurations per encoder within each feature condition, being three learning rates, five weight decays and three positive-class weights. The configuration and the stopping epoch are chosen by minimising the mean development loss across the five folds, and this is the hyperparameter selection criterion used throughout. Every figure reported below is a single training run at one seed, except for a repeatability check that repeats four encoders over five seeds and measures how far reinitialisation and shuffle order alone move a result (see Section VI-C).
D. Research questions
We consider the following two research questions. In each case, one aspect of the overall system is varied, while all other aspects remain fixed.
RQ1) Does any encoder improve on the baseline ResNet-18? All seventeen encoders are evaluated with their parameters held fixed, so that only the classifier is optimised. The comparison asks whether any encoder improves on the ResNet-18 configuration of the baseline system (see Section V-B).
RQ2) Do fixed encoder features require conditioning before classification? The features from each encoder are passed to the classifier in four ways: (1) left unchanged, (2) standardised per dimension to zero mean and unit variance using statistics estimated across the training data, (3) through a batch normalisation layer [37], and (4) through a layer normalisation layer [38] (see Section V-C).
E. Metrics, estimand and statistical treatment
The reported quantity throughout is area under the receiver operating characteristic curve (AUROC), and a difference of two areas is reported in signed percentage points. On the development folds each encoder is summarised by the mean and between-fold standard deviation across the five development-fold models.
On the held-out test set the five development-fold models ensemble the same 101 patients, their scores are averaged per patient, and one test AUROC is computed with a DeLong confidence interval [39]. Because every encoder scores the same patients, each held-out contrast is paired, whether an encoder against the baseline system or the two latent-predictive video encoders against each other. No comparison ranks one encoder against the rest, so every p value is reported without adjustment for multiplicity.
The development folds support one pre-specified test. Feature standardisation is applied to every encoder in turn on the same patients, folds and classifier, so the seventeen encoders are paired observations of one intervention, and their differences admit a Wilcoxon signed-rank test [40]. The encoders share patients, folds, classifier and tuning effort, so what carries the result is the breadth of the family over which the direction holds rather than the exponent.
The power available on the held-out test set is limited. With 43 positives and 58 negatives, a paired difference in AUROC carries a standard error near 2 to 3 percentage points, so a held-out comparison may fail to reach statistical significance even where the development evidence is strong.
The 2025 screening profile of the WHO sets Type 2 minimal targets of 90 % sensitivity and 60 % specificity [10], for which this work is suited (see Section II-A). We use the TPP as a scale against which a measured difference is judged material, not as a certification target. Specificity at a fixed sensitivity is a step function of the number of negatives, and one patient is the smallest step it can take, so a statistically detectable gain in AUROC can be clinically unresolvable on a cohort of this size (see Section VI-C).
A paired t test is not used, the paired differences being strongly right-skewed over two orders of magnitude, a shape for which Demšar [41] recommends a rank-based test. Every development-fold test is reported two-sided, and the remaining normaliser comparisons are exact sign tests over the same seventeen encoders.
V. RESULTS
We first retrain the baseline system on the data set up of this study, to enable a direct numerical comparison (see Section III). Results then follow the two research questions in turn, each reported as the mean improvement in AUROC, its bearing on the Type 2 targets, and which contrasts reach statistical significance.
A. The baseline system
The baseline system described in [7] is retrained under the protocol described in Section IV-C. This baseline achieves a mean development AUROC of 0.8717, with a between-fold standard deviation of 0.0389. On the held-out test set, the same system achieves an AUROC of 0.8881 [0.8209, 0.9554].
B. Encoder choice
Table II reports the development results for the seventeen encoders under both raw and standardised feature conditions. Table III and Figure 3 give the held-out test results for the encoder models carried forward.
On the development folds the best-to-worst spread across the seventeen encoders is 2.50 percentage points on raw features and 2.56 on standardised features, and no encoder stands more than +2.05 points above the baseline. The ResNet-101 leads on raw features at a mean AUROC of 0.8759, and the ViT-L/16 MAE on its mean-patch representation leads on standardised features. On the held-out test set every encoder selected on the development folds stands above the baseline in AUROC, the supervised ViT-L/16 by the largest margin at +2.57 percentage points and the ResNet-101 by the smallest at +0.24.
Contrasting EchoJEPA-L against V-JEPA2-L measures a -0.16 percentage point reduction on the held-out test set. This reverses the direction observed on the development folds, where echocardiography pretraining showed an improvement in classification transferability.
Against the Type 2 targets the separation is wider at the operating point. Where the baseline reaches 60.3% specificity at 90% sensitivity, four of the five selected encoders reach between 69% and 79.3%, a gain of up to +18.97 percentage points, while the ResNet-101 alone falls below the baseline at 56.9%. The hatched region of Figure 3 marks the operating points that meet both Type 2 minima.
Among these held-out contrasts only the supervised ViT-L/16 against the baseline reaches statistical significance, at p = 0.040. The ResNet-101 margin returns p = 0.866, every paired difference in specificity spans zero, and the EchoJEPA-L against V-JEPA2-L contrast returns p = 0.926 with an interval of percentage points.
C. Feature conditioning
Standardising the features between the encoder and the classifier improves all seventeen encoders, by a mean of +1.23 percentage points with a bootstrap interval of , which is 48% of the best-to-worst spread across encoders (see Table IV). On the held-out test set the one conditioning contrast carried, batch-normalised against raw features within ResNet-101, gains +1.28 percentage points of AUROC.
The development gain is statistically significant, at a Wilcoxon . The two normalisers that estimate statistics across the dataset — standardisation and batch normalisation — are indistinguishable, differing by -0.11 percentage points at p = 1, though failing to detect a difference does not establish that the two are equivalent. By contrast, layer normalisation, which estimates statistics for each image, falls below raw features at -0.35 percentage points and p = 0.049.
VI. Discussion
Figure 3 grounds this discussion, placing the baseline, the two latent-predictive video encoders and the leading encoder on the held-out patients against the Type 2 targets. The question this study set out to answer is not which encoder scores highest, but what constitutes a real improvement on a cohort of this size. The resolution of the measurement answers it, and the two research questions are read against that resolution below.
The mean development AUROC moves by 7.30 percentage points according to which patients fall in a fold, so twice the standard error of that fold mean, 2.71 percentage points, is the smallest difference between two encoders this study can resolve. No adjacent pair of encoders in Table II clears that figure, and the best-to-worst spread of the whole family sits inside a single unit of that resolution under either feature condition.
A. Encoder choice (RQ1)
Held fixed and given conditioned features, every encoder selected on the development folds improved on the baseline system on the held-out patients, the two transformers by +2.57 and +2.37 percentage points of AUROC and by +13.79 and +18.97 points of specificity at 90% sensitivity. A gain of that size at the operating point would matter clinically, and a further cohort would be recruited to confirm it. Replacing the incumbent ResNet-18 encoder with any of them is supported by every selected encoder clearing the baseline, and in a consistent direction. It is not evidence that one replacement is better than another, because the whole band sits inside what these 101 patients can measure (see Section VI-C). Replacing the incumbent encoder is therefore supported, whereas choosing among the replacements is a matter of recruitment rather than of method.
In a TB screening, due to the low prevalence of the disease, most people tested do not have TB, so it is specificity, not sensitivity, that governs the number of false-positive results. Consider a setting in which 1000 people are screened for TB and the prevalence is between 1% and 10%. If specificity
These figures differ slightly to those published in [7], where the positive class consisted only of bacteriologically confirmed TB cases.
TABLE II: Seventeen encoders on the five development folds, each evaluated with and without feature standardisation.
| Encoder | Pretraining corpus | Dev. AUROC (sd) | ||
|---|---|---|---|---|
| Raw features | Standardised features | |||
| Baseline system [7] | ImageNet-1k | - | - | |
| Convolutional, supervised on natural images | ||||
| ResNet-18 | ImageNet-1k | +1.23 | ||
| ResNet-34 | ImageNet-1k | +1.13 | ||
| ResNet-50 | ImageNet-1k | +0.11 | ||
| ResNet-101 | ImageNet-1k | +0.76 | ||
| ResNet-152 | ImageNet-1k | +1.30 | ||
| Transformer, supervised on natural images | ||||
| ViT-B/16 | ImageNet-21k to 1k | +1.64 | ||
| ViT-B/16, mean patch | ImageNet-21k to 1k | +0.86 | ||
| ViT-L/16 | ImageNet-21k to 1k | +1.57 | ||
| ViT-L/16, mean patch | ImageNet-21k to 1k | +0.57 | ||
| Transformer, self-supervised on natural images | ||||
| ViT-L/16 MAE | ImageNet-1k | +3.72 | ||
| ViT-L/16 MAE, mean patch | ImageNet-1k | +3.12 | ||
| DINOv2 ViT-L/14 | LVD-142M | +1.15 | ||
| DINOv2 ViT-L/14, mean patch | LVD-142M | +0.03 | ||
| Latent-predictive video | ||||
| V-JEPA2-L | generic video | +1.51 | ||
| EchoJEPA-L | MIMIC-IV-ECHO | +0.79 | ||
| EchoJEPA-L, pretraining only | MIMIC-IV-ECHO | +0.69 | ||
| EchoJEPA-L, without video initialisation | MIMIC-IV-ECHO | +0.67 | ||
Every entry is the mean development AUROC across folds 1 to 5, followed by the between-fold standard deviation, both in units of AUROC, each taken at the configuration the hyperparameter selection criterion chose out of the 45 searched within that condition.
is standardised minus raw, paired within the encoder on the same patients, folds and classifier, in signed percentage points. The baseline system updates all of its parameters and has no feature condition to ablate, so it holds one entry and carries no (see Section V-A).
Bold marks the leading value of each group under each feature condition, and the leading of each group.
Carried to the held-out test set (see Table III).
The encoder the baseline system uses, with its parameters held fixed where the baseline row updates them.
were raised from 60.3% to 79.3% at a fixed 90% sensitivity, between 171 and 188 fewer people would be sent for a second screening test. Under a Type 2 pathway a false positive leads to a further screening test rather than to treatment, so its cost falls on confirmatory testing, laboratory capacity and time lost by the patient (see Section II-A). These are point estimates from a single tertiary-referral cohort, and the specificity gain behind them is not resolved by these data, so they show the possible scale of the benefit rather than a reduction to expect in practice.
The contrast the study was built on, echocardiography against generic-video pretraining, returns no statistical advantage for echocardiography. EchoJEPA-L against V-JEPA2-L lies within resolution of the development folds and changes sign on the held-out test set, a direction Taratynova et al. [42] also report inside the cardiac domain. The interval is too wide to establish equivalence, so the finding is not that the benefit is small but that any benefit lies below what this cohort can measure.
That bound is moreover for a video encoder presented with replicated still images rather than with a recording, which the blind-sweep protocol does not produce (see Sections III and IV-A), so the study cannot separate a representation that carries nothing useful here from one that the replicated video frames degraded. The physics of image formation offers one reason the first could hold, since LUS is read largely from artefacts whereas echocardiography is read from images of tissue (see Section II-D). The follow-up that would separate them is a cohort acquired as recordings.
B. Feature conditioning (RQ2)
What stands between a fixed encoder and the classifier matters more than which encoder it is. The comparison establishes that where the feature statistics are estimated is what matters most, rather than whether a learned transform accompanies them. The two normalisers that estimate across the dataset perform alike, whether the statistics are fitted on the training split beforehand or accumulated from mini-batches as training proceeds. Layer normalisation showed no such improvement over raw features, as it remains confined to one image at a time. A trainable affine transform is therefore not the active ingredient, whereas the application of dataset-wide scale information is. Batch normalisation is the more practical of the two effective normalisers, since it estimates its statistics during training and needs no separate pass over the dataset beforehand.
TABLE III: The held-out test set of 101 patients, 43 positive and 58 negative. Every figure is a mean-probability ensemble over the five development-fold models, whose scores are averaged per patient before one AUROC is computed on those 101 patients.
| System or contrast | Test AUROC | Δ test AUROC | p | Specificity (%) | Δ spec. |
|---|---|---|---|---|---|
| Baseline system [7] | 0.8881 [0.8209, 0.9554] | - | - | 60.3 [23.6, 87.1] | - |
| Encoders against the baseline system, each paired on identical patients | |||||
| ViT-L/16, supervised | 0.9138 [0.8555, 0.9721] | +2.57 [+0.12, +5.01] | 0.040 | 74.1 [25.9, 91.8] | +13.79 [ -6.0, +27.6] |
| ViT-L/16, MAE | 0.9118 [0.8512, 0.9724] | +2.37 [-0.89, +5.62] | 0.154 | 79.3 [26.8, 92.3] | +18.97 [ -8.6, +33.3] |
| V-JEPA2-L | 0.9058 [0.8435, 0.9680] | +1.76 [-0.88, +4.41] | 0.191 | 69.0 [28.8, 91.4] | +8.62 [-17.0, +24.1] |
| EchoJEPA-L | 0.9042 [0.8469, 0.9615] | +1.60 [-2.09, +5.29] | 0.394 | 70.7 [39.6, 88.6] | +10.34 [ -8.2, +27.1] |
| ResNet-101 | 0.8905 [0.8244, 0.9567] | +0.24 [-2.56, +3.05] | 0.866 | 56.9 [31.7, 86.5] | -3.45 [-20.8, +21.4] |
| ResNet-101, raw features | 0.8777 [0.8076, 0.9478] | -1.04 [-4.31, +2.22] | 0.532 | 58.6 [36.7, 87.5] | -1.72 [-21.2, +25.0] |
| Feature conditioning, within ResNet-101, specified in advance | |||||
| Batch-normalised against raw | - | +1.28 [-0.99, +3.55] | 0.268 | - | -1.72 [-13.5, +23.0] |
| The encoder contrast specified in advance, the two compared only with each other | |||||
| EchoJEPA-L against V-JEPA2-L | - | -0.16 [-3.54, +3.21] | 0.926 | - | +1.72 [-11.1, +26.7] |
Bracketed figures are 95 % confidence intervals, and every specificity is measured at 90 % sensitivity.
AUROC is in signed percentage points from a paired DeLong et al. [39] test on identical patients, and spec. is in signed percentage points of specificity at sensitivity from a paired patient bootstrap over 10 000 resamples with the threshold re-estimated in every resample. Every comparison is paired between two systems on identical patients, so no adjustment for multiplicity applies and every is reported as measured (see Section IV-E).
Bold marks each two-sided .
TABLE IV: Which normaliser, paired within each encoder. Each row names two conditions and reports the first against the second, so a positive favours the first.
| Comparison | Ahead | Δ dev. AUROC | p |
|---|---|---|---|
| Does feature conditioning improve downstream classification? | |||
| Standard. vs raw | 17/17 | +1.23 [+0.83, +1.70] | |
| Batch norm. vs raw | 15/17 | +1.12 [+0.67, +1.65] | 0.0023 |
| Layer norm. vs raw | 4/17 | -0.35 [-0.66, -0.02] | 0.049 |
| Should features be normalised across the dataset, or merely learned? | |||
| Standard. vs layer norm. | 17/17 | +1.57 [+1.16, +2.00] | |
| Batch norm. vs layer norm. | 17/17 | +1.46 [+1.04, +1.92] | |
| Can feature standardisation be substituted with batch normalisation? | |||
| Batch norm. vs standard. | 8/17 | -0.11 [-0.53, +0.31] | 1.0 |
Every entry is a mean development AUROC over all 17 encoders. Ahead counts the encoders on which the first named normaliser leads.
is in signed percentage points, given as the mean followed by a bracketed interval, which is a percentile bootstrap over 10 000 resamples of the 17 encoders.
Every is two-sided, the first row from a Wilcoxon signed-rank test and the rest from exact sign tests (see Section IV-E).
C. Measurement resolution and limitations
The measurement resolution is a floor rather than an estimate, since the folds are not exchangeable and one is the hardest and another the easiest for most encoders. Reseeding alone moves an encoder by 0.28 to 0.68 percentage points, and one encoder selects five different configurations across five seeds while its mean development AUROC moves by only 0.70 percentage points. For that encoder the configuration is better read as a lottery over a flat region than as a stable property. Only the standard error of the fold mean bears on whether two encoders differ, most of the fold-sampling noise cancelling in a difference taken on the same encoder over the same folds.
The clinical unit is coarser still, and this is where the size of the cohort matters most. Specificity at a fixed sensitivity is a step function of the number of negatives, and one patient is the smallest step it can take, 2.2 to 2.4 percentage points on a development fold and 1.72 on the held-out test set. An effect below that line is one no operating point on this cohort can register. At sensitivity the baseline system reaches specificity, with a patient bootstrap of [23.6, 87.1], which places it on the Type 2 minimum. However, every interval in the lower panel of Figure 3 crosses that minimum. This cohort therefore does not resolve which side of the Type 2 specificity any of these systems sits on.
The cohort also bounds how far these results generalise. Every patient is recruited at one tertiary referral centre and imaged with one portable probe under one standardised protocol, and the held-out partition comes from that same site, so the held-out evaluation is an internal validation rather than an external one. A referral population at a positive fraction of 44.6 % is also likely to differ in disease spectrum from people presenting at primary care, so sensitivity and specificity may both shift in screening use.
VII. SUMMARY AND CONCLUSION
We compared seventeen pretrained encoders for LUS tuberculosis screening under a protocol in which only the encoder varied, each evaluated with its parameters held fixed.
Feature conditioning improved all seventeen encoders and is the one intervention the development folds establish. On the held-out test set every encoder selected on those folds placed above the baseline system, the largest margins being +2.57 percentage points of AUROC and +18.97 percentage points of specificity at 90 % sensitivity. Choosing among those encoders is what this cohort cannot settle, every one of them falling inside its measurement resolution.
Reusing a high-resource ultrasound encoder in a low-resource ultrasound domain remains worth attempting, and it was

Fig. 3: The held-out test set, on the 101 patients of Table I, for the baseline system, for EchoJEPA-L and V-JEPA2-L, and for the encoder that leads there. Upper panel: each curve is the pointwise mean over 1 000 000 bootstrap resamples at the 59 achievable false-positive rates, and the legend gives the empirical AUROC with a DeLong 95% interval [39]. The grey band is the pointwise 95% bootstrap interval of the baseline system alone. The hatched region marks operating points meeting both Type 2 minimal targets of the 2025 screening profile of the WHO, 90% sensitivity and 60% specificity. Lower panel: the operating points instead, as specificity at a sensitivity of at least 90% on the same axis, where the box is the interquartile range of the bootstrap, the whisker its 95% interval with the threshold re-estimated inside every resample, the marker the observed value rather than the bootstrap median, and the right-hand figures the true negatives of 58. The dashed rule is the Type 2 specificity.
not what limited this study. Shared imaging physics did not on its own make echocardiography a productive pretraining corpus, and no advantage for it was detected under static-frame evaluation. Whether such a system meets the WHO Type 2 minimum is a question of recruitment rather than of encoder choice.
ETHICS AND DATA AVAILABILITY
The study that recruited the target cohort was approved by the committee for biomedical research ethics of the University of Parakou on 18 May 2021, under reference 0407/CLERB-UP/P/SP/R/SA, and is registered as NCT05423847 [7]. Every participant gave written informed consent, and a trusted representative assisted any participant who was unable to read or write.
The de-identified images, reproduced in Figure 1, and their patient-level labels are deposited under a persistent identifier [43]. Access is granted for research use under a data use agreement.
The echocardiography and generic-video encoders are those released by their respective authors and are used unmodified [6, 17]. MIMIC-IV-ECHO, the corpus behind the echocardiography encoders, is available under credentialed access, governed by the PhysioNet Credentialed Health Data License 1.5.0 and the corresponding data use agreement [32]. No echocardiography frame is processed or reproduced in this work.
ACKNOWLEDGEMENTS
This project has received funding from the European Union’s Horizon Europe research and innovation Programme Global Health EDCTP3 Joint Undertaking under grant agreement No. 101190662 – CAD LUS4TB, and has received funding from the Swiss State Secretariat for Education, Research and Innovation (SERI) under contract number 589188. The TrUST study, within which the target cohort was recruited, is funded by the Swiss Lung Association.
In addition, we gratefully acknowledge financial support from Telkom (South Africa) for the research presented in this paper. We also thank the Stellenbosch Rhasatsha High Performance Computing facility and team for access to their facilities and for their technical support, which were invaluable to this project.
The Butterfly iQ+ ultrasound equipment used in this project was provided by BFLY Operations, Inc. BFLY Operations, Inc. had no involvement in the funding, data collection, design, analysis and outcome related to this project.
ORCID
Christiaan M. Geldenhuys
Joshua M. Jansen van Vüren
Véronique Suttels
Trevor Brokowski
Ablo P. Wachinou
Mary-Anne Hartley
Rensu P. Theart
Grant Theron
Thomas R. Niesler
ID orcid.org/0000-0003-0691-0235
ID orcid.org/0000-0002-3406-4788
ID orcid.org/0000-0002-5261-0439
ID orcid.org/0000-0002-7547-7749
ID orcid.org/0000-0002-1024-9665
ID orcid.org/0000-0002-8826-3870
ID orcid.org/0000-0003-0508-1690
ID orcid.org/0000-0002-9216-2415
ID orcid.org/0000-0002-7341-1017
REFERENCES
[1] Z. Z. Qin et al., “Comparing the accuracy of computer-aided detection (CAD) software and radiologists from multiple countries for tuberculosis detection in chest X-rays,” Scientific Reports, vol. 15, 2025, Art. no. 22540. DOI: 10.1038/s41598-025-06164-w.
[2] World Health Organization, “WHO operational handbook on tuberculosis. Module 2: Screening – systematic screening for tuberculosis disease,” World Health Organization, Geneva, Switzerland, 2021.
[3] J. Bigio et al., “Diagnostic accuracy of point-of-care ultrasound for pulmonary tuberculosis: A systematic review,” PLOS ONE, vol. 16, no. 5, 2021, Art. no. e0251236. DOI: 10.1371/journal.pone.0251236.
[4] M. Raghu, C. Zhang, J. Kleinberg, and S. Bengio, “Transfusion: Understanding transfer learning for medical imaging,” in Advances in Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada, 2019, pp. 3342–3352.
[5] B. VanBerlo, B. Li, J. Hoey, and A. Wong, Self-supervised pretraining improves performance and inference efficiency in multiple lung ultrasound interpretation tasks, 2023. arXiv: 2309.02596 [cs.CV].
[6] A. Munim et al., EchoJEPA: A latent predictive foundation model for echocardiography, 2026. arXiv: 2602.02603 [eess.IV].
[7] V. Suttels et al., Lung ultrasound for the detection of pulmonary tuberculosis using expert- and AI-guided interpretation: A prospective cohort study, SSRN preprint, Presented at ESCMID Global 2025, Vienna, Austria, 2025. DOI: 10.2139/ssrn.5174193.
[8] A. Alege et al., “Impact of the use of the ultra-portable digital X-ray with CAD4TB for active case finding for tuberculosis in Nigeria,” Frontiers in Digital Health, vol. 7, 2025, Art. no. 1559203. DOI: 10.3389/fdgth.2025.1559203.
[9] World Health Organization, “High-priority target product profiles for new tuberculosis diagnostics: Report of a consensus meeting,” World Health Organization, Geneva, Switzerland, WHO/HTM/TB/2014.18, 2014.
[10] World Health Organization, “Target product profiles for tuberculosis screening tests,” World Health Organization, Geneva, Switzerland, 2025.
[11] K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick, “Masked autoencoders are scalable vision learners,” in 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 2022, pp. 15979–15988. DOI: 10.1109/CVPR52688.2022.01553.
[12] Z. Tong, Y. Song, J. Wang, and L. Wang, “VideoMAE: Masked autoencoders are data-efficient learners for self-supervised video pretraining,” in Advances in Neural Information Processing Systems (NeurIPS), New Orleans, LA, USA, 2022.
[13] A. Radhachandran, V. Ivezić, S. Athreya, R. Anilkumar, C. W. Arnold, and W. Speier, US-JEPA: A joint embedding predictive architecture for medical ultrasound, 2026. arXiv: 2602.19322 [cs.CV].
[14] Y. LeCun, A path towards autonomous machine intelligence, version 0.9.2, OpenReview submission BZ5a1r-kVsf, Position paper, 2022.
[15] M. Assran et al., “Self-supervised learning from images with a joint-embedding predictive architecture,” in 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 2023, pp. 15619–15629. DOI: 10.1109/CVPR52729.2023.01499.
[16] A. Bardes et al., “Revisiting feature prediction for learning visual representations from video,” Transactions on Machine Learning Research, 2024. arXiv: 2404.08471 [cs.CV].
[17] M. Assran et al., V-JEPA 2: Self-supervised video models enable understanding, prediction and planning, Meta FAIR preprint, 2025. arXiv: 2506.09985 [cs.AI].
[18] M. Christensen, M. Vukadinovic, N. Yuan, and D. Ouyang, “Vision-language foundation model for echocardiogram interpretation,” Nature Medicine, vol. 30, no. 5, pp. 1481–1488, 2024. DOI: 10.1038/s41591-024-02959-y.
[19] M. Vukadinovic et al., EchoPrime: A multi-video view-informed vision-language model for comprehensive echocardiography interpretation, 2024. arXiv: 2410.09704 [cs.CV].
[20] G. Holste, E. K. Oikonomou, M. Tokodi, A. Kovács, Z. Wang, and R. Khera, “Complete AI-enabled echocardiography interpretation with multitask deep learning,” JAMA, vol. 334, no. 4, pp. 306–318, 2025. DOI: 10.1001/jama.2025.8731.
[21] Z. Zhang, Q. Wu, S. Ding, X. Wang, and J. Ye, “Echo-Vision-FM: A pre-training and fine-tuning framework for echocardiogram video vision foundation model,” Nature Communications, vol. 17, 2025, Art. no. 19. DOI: 10.1038/s41467-025-66340-4.
[22] J. Jiao et al., “USFM: A universal ultrasound foundation model generalized to tasks and organs towards label efficient image analysis,” Medical Image Analysis, vol. 96, 2024, Art. no. 103202. DOI: 10.1016/j.media.2024.103202.
[23] S. Azizi et al., “Robust and data-efficient generalization of self-supervised machine learning for diagnostic imaging,” Nature Biomedical Engineering, vol. 7, no. 6, pp. 756–779, 2023. DOI: 10.1038/s41551-023-01049-7. arXiv: 2205.09723 [cs.CV].
[24] A. Vergara-Richart, X. Rafael-Palou, A. Fuster-Matanzo, I. I. Roncales, Á. Alberich-Bayarri, and A. Jiménez-Pastor, Vision foundation models in radiology: A scoping review of data, methodology, evaluation and clinical translation, 2026. arXiv: 2607.07219 [cs.CV].
[25] R. F. Wagner, S. W. Smith, J. M. Sandrik, and H. Lopez, “Statistics of speckle in ultrasound B-scans,” IEEE Transactions on Sonics and Ultrasonics, vol. 30, no. 3, pp. 156–163, 1983. DOI: 10.1109/T-SU.1983.31404.
[26] L. Demi et al., “New international guidelines and consensus on the use of lung ultrasound,” Journal of Ultrasound in Medicine, vol. 42, no. 2, pp. 309–344, 2023. DOI: 10.1002/jum.16088.
[27] A. Kumar, A. Raghunathan, R. Jones, T. Ma, and P. Liang, “Fine-tuning can distort pretrained features and underperform out-of-distribution,” in International Conference on Learning Representations (ICLR), Virtual, 2022.
[28] V. Suttels, P. Wachinou, J. Du Toit, N. Boillat-Blanco, and M.-A. Hartley, “Ultrasound for point-of-care sputum-free tuberculosis detection: Building collaborative standardized image-banks,” eBioMedicine, vol. 81, 2022, Art. no. 104078. DOI: 10.1016/j.ebiom.2022.104078.
[29] K. Möller et al., “Comments and illustrations of ultrasound findings in extrapulmonary tuberculosis manifestations,” Diagnostics, vol. 14, no. 7, 2024, Art. no. 706. DOI: 10.3390/diagnostics14070706.
[30] M. Ilse, J. M. Tomczak, and M. Welling, “Attention-based deep multiple instance learning,” in Proceedings of the 35th International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 80, Stockholm, Sweden, 2018, pp. 2127–2136.
[31] World Health Organization, “Definitions and reporting framework for tuberculosis – 2013 revision,” World Health Organization, Geneva, Switzerland, Tech. Rep. WHO/HTM/TB/2013.2, 2013.
[32] B. Gow et al., MIMIC-IV-ECHO: Echocardiogram matched subset (version 0.1), PhysioNet, 2023. DOI: 10.13026/ef48-v217.
[33] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 2016, pp. 770–778. DOI: 10.1109/CVPR.2016.90.
[34] A. Dosovitskiy et al., “An image is worth words: Transformers for image recognition at scale,” in International Conference on Learning Representations (ICLR), 2021. arXiv: 2010.11929 [cs.CV].
[35] M. Oquab et al., “DINOv2: Learning robust visual features without supervision,” Transactions on Machine Learning Research, 2024.
[36] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” in International Conference on Learning Representations (ICLR), New Orleans, LA, USA, 2019.
[37] S. Ioffe and C. Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” in Proceedings of the 32nd International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 37, Lille, France, 2015, pp. 448–456.
[38] J. L. Ba, J. R. Kiros, and G. E. Hinton, Layer normalization, 2016. arXiv: 1607.06450 [stat.ML].
[39] E. R. DeLong, D. M. DeLong, and D. L. Clarke-Pearson, “Comparing the areas under two or more correlated receiver operating characteristic curves: A nonparametric approach,” Biometrics, vol. 44, no. 3, pp. 837–845, 1988. DOI: 10.2307/2531595.
[40] F. Wilcoxon, “Individual comparisons by ranking methods,” Biometrics Bulletin, vol. 1, no. 6, pp. 80–83, 1945. DOI: 10.2307/3001968.
[41] J. Demšar, “Statistical comparisons of classifiers over multiple data sets,” Journal of Machine Learning Research, vol. 7, pp. 1–30, 2006.
[42] D. Taratynova, A. Aly, N. Saeed, and M. Yaqub, CardioBench: Do echocardiography foundation models generalize beyond the lab? 2025. arXiv: 2510.00520 [cs.CV].
[43] AI-POCUS Community of Practice et al., ULTR-AI lung ultrasound dataset, Hugging Face, version 7ab2baa, 2026. DOI: 10.57967/hf/10564.