Manuscript Offprint
arXiv:2610.03419Deep Bayesian REFoCUS
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Simon W. Penninga and Ruud J. G. van Sloun
Abstract—In this work we formulate ultrasound multistatic recovery from arbitrary transmit sequences as a Bayesian inference problem. To that end, we train a deep generative prior on multistatic data sets to tackle the rank-deficient regime in which classical linear REFoCUS decoders fail. This approach, which we term Deep Bayesian REFoCUS, outperforms the linear baselines for all regimes of rank-deficiency and noise levels, and regresses to linear decoding when inversion is exact. The model also expresses uncertainty in the null space of the acquisitions, whereas the linear REFoCUS decoders only provide point estimates. Finally, we analyze the impact of distribution shift between simulation and in-vivo acquisitions, showing remarkable generalization ability without any fine-tuning or adaptation.
Index Terms—ultrasound imaging, multistatic recovery, full matrix capture, retrospective transmit beamforming, diffusion models, inverse problems, posterior sampling.
I. INTRODUCTION
THE diagnostic quality of a B-mode ultrasound image is strongly influenced by its transmit sequence. Classical line-by-line imaging focuses a series of transmits at spatial focal points, sweeping across the Field Of View (FOV). This achieves relatively high contrast and good resolution at the cost of frame rate due to the large number of transmits needed to cover the view. Ultrafast sequences such as plane-wave and diverging-wave transmission raise the frame rate by orders of magnitude but suffer from reduced contrast, worse lateral resolution, and a lower signal-to-noise ratio (SNR) [1], [2]. Coherent compounding of multiple steered transmits can recover part of the loss [1], [3], but the underlying trade-off between frame rate, SNR, and focusing quality remains. Moreover, coherent compounding of unfocused transmits that cover a large FOV is impacted by tissue motion across the transmit sequence, and generating sufficient tissue harmonics for harmonic imaging is more difficult.
In the linear regime, the multistatic dataset (recordings at every receive element for every transmit element firing individually) enables retrospective transmit and receive focusing with the full array entirely computationally, via linear combinations of timed single-element firings. However, acquiring a high-quality multistatic data set is challenging in practice, since sequential single-element firing severely limits SNR and frame rate [4].
With Retrospective Encoding For Conventional Ultrasound Sequences (REFoCUS) [5], the multistatic data set can instead be recovered from arbitrary transmit sequences. This is done by inverting the linear encoding of single-element responses. Recording the channel data of a conventional full-aperture sequence and applying the adjoint of the encoding (a re-delay-and-sum across transmit events) recovers an estimate of the complete data set but with full-aperture transmit SNR. This approach was later reformulated in the frequency domain and stabilized with Tikhonov regularization, extending recovery to steered and walking-aperture sequences [6]. However, both decoding methods yield estimates that are ultimately linear in the measurements, and exact inversion only holds for a set of noiseless transmits that is full rank.
In this paper we introduce Deep Bayesian REFoCUS (DB-REFoCUS) to tackle the rank deficiency constraint. In the rank-deficient regime, a learned prior can exploit statistical dependencies between observed and unobserved components to infer a distribution over plausible multistatic sets. Real multistatic data sets are highly structured and spatially coherent across the elements, and we train a deep generative model to capture this structure and to recover the multistatic data set through posterior sampling.
The recent introduction of diffusion and flow-matching models [7]–[10] has made learning large generative priors (e.g. images and videos) feasible, and posterior-sampling schemes [11]–[13] such as Diffusion Posterior Sampling (DPS) [14] have demonstrated the ability to solve ill-posed inverse problems. Here we show that these techniques can also be used to learn priors over raw ultrasound channel data. We link DPS guidance with the classical adjoint-based REFoCUS, and show that it can be directly used with any ultrasound sequence (without training for specific sequences), only requiring the specific acquisition operator at inference. Repeated sampling from the posterior gives us an ensemble whose spread represents epistemic uncertainty, which correlates strongly with model error. For an overview of DB-REFoCUS see Fig. 1.
In the remainder of this paper we review related work and derive a Bayesian representation of REFoCUS. We train a generative prior on idealized simulated multistatic data sets and evaluate on in vivo cardiac recordings of the Parasternal Long Axis (PLAX) view for various transmit counts.
This work was supported by the European Research Council (ERC) under the ERC Starting Grant US-ACT (grant no. 101077368). (Correspondence: Simon W. Penninga.)
S. W. Penninga and R. J. G. van Sloun are with the Department of Electrical Engineering, Eindhoven University of Technology, Eindhoven, The Netherlands (e-mail: s.w.penninga@tue.nl; r.j.g.v.sloun@tue.nl).

Fig. 1. Schematic of the Deep Bayesian REFoCUS sampling process. A multistatic data set is initialized with random Gaussian noise. The diffusion process is guided by the residual of the measurements, which we obtain through transmit beamforming. The neural network steps introduce the multistatic prior statistics, and the adjoint guidance steps transport the generation process towards the measurements.
full aperture with orthogonal (Hadamard) sign patterns whose decoding returns the per-element responses [21], [22]. The codes are chosen specifically such that decoding is orthogonal and trivial, which creates a limitation for transmit design.
Retrospective transmit focusing was initially done by deconvolving the fixed transmit “lens” to synthesize an in-focus image outside of the focal zone, using least squares optimization [23]. REFoCUS generalized the retrospective focusing to the complete data set and removed the restriction on transmit design, making any transmit sequence decodable with the adjoint [5], ramp-filtered adjoint, and Tikhonov-regularized least squares [6]. However, when the number of transmit events is smaller than the number of transducer elements, the per-frequency encoding matrix necessarily has a nontrivial null space. Consequently, the multistatic responses cannot be uniquely determined from the measurements alone without additional assumptions/priors.
Existing approaches address this nonuniqueness through different assumptions: compressed-sensing methods exploit sparsity [24], whereas minimum-norm least-squares methods select the solution with zero null-space component [25]. With the advent of deep learning, directly learning non-linear decoders became opportune. In [26], a convolutional network trained in the null space of the Hadamard encoding regresses the residual, and in [27] transmit apodizations are learned jointly with a decoding network.
These approaches are discriminative in nature: a network is trained to regress a target image, apodization, or channel estimate using some cost function, for a fixed acquisition scheme, and any new transmit setting requires retraining. Moreover, a non-linear point regressor does not express the spread of the null space and diversity of plausible solutions.
Instead, we learn a generative prior over complete data sets and supply the encoding as a differentiable operator only at inference, retaining universality for a particular anatomical domain and bandwidth. Recovery is done through posterior sampling: the null space is populated by draws from the conditional distribution of the unobserved components given the measurements, and repeated sampling shows which part of the transmit acquisition is under-determined.
III. METHODS
A. The multistatic data set and encodings
We adhere to the original notation of the REFoCUS model [6]. Consider an array of elements and let denote the echo signal received at time at element after firing transmit element . The collection of these responses over all element pairs is the multistatic data set. Because acoustic propagation is linear, the channel data produced by any transmit event can be seen as a superposition of the single-element responses. A transmit event that fires elements with apodization weights and delays records
where is measurement noise. Taking the Fourier transform along the fast-time axis turns the delays into phase ramps and decouples the problem per temporal frequency f and receive element R:
(2) with the encoding-matrix entries
Stacking the recorded events per frequency bin and receive channel gives with defined as
Accurate recovery of is then dependent on the pseudo-inverse .
Initially, the underlying multistatic data set was estimated using the adjoint of the encoding
where denotes the conjugate transpose. In the time domain this equals a re-delay-and-sum across transmit events. The adjoint's nonuniform frequency weighting was later corrected with a ramp filter and an additional recovery method was proposed with the Tikhonov-regularized inverse
where is the largest singular value of and a regularization parameter [6]. The regularized inverse equalizes the encoding where it is invertible and suppresses noise amplification where it is not. Both estimators are linear, and their accuracy is determined by the rank of the -matrix. For every bin has an at least -dimensional null space.
B. Bayesian REFoCUS
To impose a statistical distribution we rewrite the multistatic data set as a sampleable random variable in the time domain, with the set of measurements as . The acquisition is formulated as
with n complex Gaussian noise with diagonal covariance. The transmit beamforming operator A follows (2) through
and is still defined by and , with F the fast Fourier transform across the fast-time axis. The posterior multistatic data set x, conditioned on measurements y, is expressed through Bayes' rule
We model the prior with a continuous-time flow-matching generative model [9], [10], [28]. This type of score model regresses the velocity of a linear interpolation between data samples and Gaussian noise . The relation is defined as
with velocity . A network , parameterized by weights , is trained to minimize the flow-matching objective
With a model for the velocity field, the noising process can be inverted to obtain an unconditional multistatic data set estimate
The posterior of a score-matching model is obtained through
such that
(14)
The final expression uses and the assumption , following DPS [14]. With the Gaussian noise model in (7) the likelihood becomes
(15)
with the adjoint Jacobian of the clean estimate. Note that this likelihood term contains the adjoint of the transmit encoding , operating on the residual of the measurements. This likelihood term contains the adjoint of the transmit encoding, which backprojects the measurement residual. It therefore uses the same adjoint operator as conventional REFoCUS for measurement consistency.
The posterior samples can be separated into two terms per frequency bin
The decomposition is not exact, as the reconstruction is not exactly measurement-consistent (the prior is not prevented from contributing to the part of the multistatic data set that is covered by measurements). This design choice is deliberate, since the measurements are noisy and should not be reproduced exactly. Instead, the guidance term is normalized and weighted by a parameter in discrete diffusion time, resulting in the update step
with some small stability constant. The complete multistatic recovery is shown in Algorithm 1.
Algorithm 1 Deep Bayesian REFoCUS
1: Input: transmit beamforming operator , measurement , velocity network , step count , number of posterior samples , guidance strength scalar . 2: schedule 3: for to do 4: 5: for to do 6: 7: ; 8: 9: 10: 11: end for 12: 13: end for 14: return Posterior samples
IV. EXPERIMENTAL SETUP
A. Model prior
To train a generative prior we simulate a collection of multistatic data sets derived from real cardiac anatomy. B-mode images of the EchoNet-LVH data set [29] are used (cardiac PLAX view), and point scatterers are sampled from pixel intensities of every frame. The scatterer positions are jittered and mapped to a lateral extent of and a depth of , creating a sector of . With zea [30], STA acquisitions are simulated for a Philips S5-1 probe with , pitch, , , , , . The simulator is linear and operates in the frequency domain. It does not include depth-wise attenuation, measurement noise, sound speed variation, or out-of-plane clutter. Moreover, using processed B-mode images that include noise, aberration effects, and clutter to create a scattering density map introduces a distribution bias. Our claim is therefore not that this is a realistic simulation of a true multistatic dataset, but that it is an idealized representation that is still sufficiently rich and expressive to construct a useful generative prior for multistatic acquisitions of impinging wavesfronts originating from some anatomical structure. A schematic showing the data set generation process is shown in Fig. 2.
To reduce the computational cost of the model, multistatic data sets are compressed to IQ with and axial decimation, reducing model input to (transmit, fast-time, receive and complex axis, respectively). The multistatic tensors are normalized to zero mean and unit variance and clipped to standard deviations. The complete simulated corpus contains 107 880 training samples and 11 205 validation samples from held-out patients.
The architecture chosen for the velocity field model is a 3D convolutional U-Net [34], built with residual blocks [35]. The network is trained with the flow-matching objective (11), with an XLA-compiled TensorFlow [36] forward pass. An Exponential Moving Average (EMA) of the weights is used for all sampling and evaluation. All architecture and training parameters can be found in Table I.

Fig. 2. Multistatic data generation example for an EchoNet-LVH frame. Point scatterers are sampled based on pixel intensities, full-rank STA firings are simulated with zea. For reference, the multistatic data set is beamformed.
TABLE I U-NET AND TRAINING CONFIGURATION.
| Stage | Output (tx × ax × rx) | Channels | Blocks | Attn. |
|---|---|---|---|---|
| Stem | 80 × 512 × 20 | 96 | — | — |
| Encoder stage 1 | 80 × 512 × 20 | 96 | 4 | — |
| Encoder stage 2 | 40 × 256 × 10 | 192 | 3 | ✓ |
| Encoder stage 3 | 20 × 128 × 5 | 384 | 3 | ✓ |
| Bottleneck | 10 × 64 × 5 | 384 | 3 | ✓ |
| Decoder stage 3 | 20 × 128 × 5 | 384 | 3 | ✓ |
| Decoder stage 2 | 40 × 256 × 10 | 192 | 3 | ✓ |
| Decoder stage 1 | 80 × 512 × 20 | 96 | 4 | — |
| Un-stem | 80 × 512 × 80 | 2 | — | — |
Training
| Time sampling | logit-normal (μ=0, s=1) |
|---|---|
| Optimizer | AdamW, weight decay |
| LR schedule | , cosine |
| EMA momentum | 0.9999 |
| Batch / train steps | 32 / 400,000 |
| Parameters | 146.7M |
| Precision | mixed bfloat16 |
| Cluster | 8x NVIDIA B200 |
| Training time | 240h |
The (un-)stem layer is a single strided (transpose-)convolution. Attention (Attn.) denotes axis-factorized self-attention with 8 QK-normalized heads [31]-[33].
B. Evaluation
We compare DB-REFoCUS with the adjoint REFoCUS [5], the ramp-filtered adjoint REFoCUS, and the Tikhonov-regularized inverse [6]. For the Tikhonov method we perform an oracle grid search for for every data point to achieve a performance upper bound, sweeping 26 log-spaced points and selecting the best-performing result. For
DB-REFoCUS we use steps and report performance of the posterior mean with K = 8 samples.
Multistatic recovery performance is measured in the channel domain with gain-compensated complex correlation [6] and Normalized Mean-Squared Error (NMSE). In the image domain, we compare recovery with Peak Signal-to-Noise Ratio (PSNR) and the Structural Similarity Index Measure (SSIM). The multistatic data sets are converted to images through delay-and-sum beamforming with pressure-field weighting, envelope detection, 99.99th-percentile normalization and log compression, and are displayed with a fixed 50 dB dynamic range.
We evaluate on six transmit families that are synthesized from the multistatic ground truth for simulation data, and recorded with a physical probe for the in vivo experiments. The following families are selected to cover a broad range of conditioning for the inverse problem:
• Focused sector beams (FOC): full-aperture transmits focused at a radius of 60 mm ( F/3), steered across the sector. For in vivo experiments both fundamental and harmonic imaging modes are used.
• Wide beams (WD): similar to FOC, but a focal radius of 150 mm. Both fundamental and harmonic imaging modes for in vivo experiments.
• Plane waves (PW): full-aperture steered waves with linear transmit delays.
• Diverging waves (DW): steered virtual point sources with a radius of 30 mm behind the array.
• Hadamard (HAD): zero delays across elements with apodizations taken as rows of an order-80 Hadamard matrix [21].
• Random (RND): i.i.d. Bernoulli apodizations with zero delays across elements. The incoherent compressed-sensing counterpart of HAD.
During experiments, the acquisitions are subsampled with an interleaving pattern for the steered families, such that the entire sector remains covered.
C. Experiments
- Simulation: For the simulation experiments, the SNR profile of the in vivo acquisitions is copied by adding noise to the transmits with . Here is a scalar proportional to the target SNR, the depth, the power-normalized TGC profile, and . Unless stated otherwise, we use a global measurement SNR = 10 dB for all simulation experiments. The profile of is defined across 32 blocks with 2.951 mm spacing, spreading a global SNR of 10 dB across local SNRs of [35.95, 34.89, ..., 1.99, 0.94] dB with respect to depth.
First we sweep guidance strength for 50 test frames for all transmit families and all to select a single global operating point for DB-REFoCUS. Then, we evaluate multistatic recovery quality on 100 different test frames in the channel and image domains. To test noise robustness, we use and sweep SNR = dB for the FOC and HAD transmit types. In this experiment we retune on 10 separate test frames, select a static optimum per noise level, and evaluate on 100 separate frames. For the oracle Tikhonov method a grid search is still in place, and we select the best-performing result per frame. Lastly, we calculate the Spearman correlation between the multistatic posterior variance and the multistatic loss in the channel domain for every transmit type at every . This experiment shows the impact of epistemic uncertainty, and whether the model can localize the rank deficiency of the measurements.
- In vivo: For the in vivo experiments we use the Verasonics Vantage 256 system [37] with a Philips S5-1 probe with a 0.254 mm pitch. A non-expert operator records the cardiac PLAX view in the Left Lateral Recumbent (LLR) position for 12 anonymized volunteer subjects. For every transmit family we record 100 frames at 33 Hz (3 s).
All acquisitions are transmitted and demodulated at and recorded with a sampling rate of . For the FOC and WD families we extend the fundamental mode recordings with harmonic counterparts, which transmit at . We apply a 2 MHz wide band-pass filter, apply a 32-sample Hanning window, demodulate, and downsample by a factor of 3. The resulting IQ data is then shifted from 4.1667 MHz to 4 MHz with a phase ramp, the axial samples are cropped to the first 512 entries, and the recordings are normalized to unit variance with a single scalar. The image processing pipeline for the in vivo data is the same as that for the simulated data. The in vivo channel data set is made available as part of OpenH-RF [38].
For the in vivo experiments we have no ground-truth multistatic data set, so we evaluate on held-out sets. For the multistatic data set is recovered with every method, transmit beamformed to the remaining transmits, and compared with the real acquisitions. In the image domain we compare the B-mode created from the recovered multistatic with the B-mode of the acquisition with . Because the model is not trained on in vivo acquisitions, is increased to 0.8 for stronger measurement guidance for in vivo experiments.
V. RESULTS
A visual comparison of the methods is shown in Fig. 3. For the simulation example, a single plane wave is fired at a angle and the target is the full multistatic data set. The linear decoders stay true to the measurement and shrink the null-space components to 0, while DB-REFoCUS out-paints the B-mode. The result differs from the target, but the model shows an understanding of the cardiac anatomy that aligns with such a measurement. For the in vivo example, the methods receive as measurement 40 harmonic wide beams and have as a target the equivalent frame with 80 harmonic wide beams. Shown is their beamformed multistatic recovery. Here, the classical recovery methods clearly show the transmit beamforming pattern of radial streaks, as the null space between them is not filled in. The DB-REFoCUS result does not have this problem. However, it shows a clear distribution shift towards EchoNet-LVH, artificially increasing contrast.
For supplementary (interactive) qualitative and video results, visit https://swpenninga.github.io/deep-bayesian-refocus.
Beamformed
Ramp-filtered adjoint
Oracle Tikhonov
Deep Bayesian REFoCUS
Target
Simulation
In vivo

Fig. 3. Comparison of reconstruction quality of linear REFoCUS decoders and Deep Bayesian REFoCUS. For the simulation a single plane wave is fired and the target is the simulation multistatic ground truth. For the in vivo 40 harmonic wide beams are fired, and the target shows 80 harmonic wide beams.
…… Pooled over
Focused sector
Wide beam

Plane wave
Diverging
Complex correlation
Hadamard
Random
guidance scale
guidance scale
Fig. 4. Complex correlation of DB-REFoCUS recovered multistatic data sets against the ground truth. Panels show different transmit schemes, the lines show different numbers of transmit events. We sweep guidance strength to find the global operating point .
Adjoint
Ramp-filtered adjoint
Tikhonov (oracle)
Tikhonov (oracle, noiseless)
Bayesian REFoCUS
Focused sector
Wide beam

Plane wave

Diverging
Complex correlation

Hadamard

Random
Fig. 5. Complex correlation of DB-REFoCUS compared with the linear baselines for a range of at 10 dB measurement SNR. The noiseless Tikhonov method shows that linear recovery is limited by rank deficiency of the inversion.
The results for the -sweep are shown in Fig. 4. For the simulation data, the results are insensitive to the guidance strength parameter across all transmit types and measurement ranks. The optimum is selected for the remaining simulation experiments.
The recovery results in Fig. 5 show that the DB-REFoCUS multistatic recovery often reaches a complex correlation of 1 with as few as 4 out of 80 transmits. A clear relation can be seen between the focusing strength and the DB-REFoCUS recovery at low ranks. For the focused sector shows the worst performance, as it has the least coverage of the sector. The wide-beam, plane-wave and diverging-wave transmits show increased performance, as they insonify a larger area of the sector. In this setting, the DB-REFoCUS model is thus not limited by SNR, but by epistemic uncertainty. Nevertheless, for every operating point DB-REFoCUS surpasses the linear decoders in performance. A noiseless oracle Tikhonov baseline is added to show that linear recovery is not bound by the noise, but by rank deficiency of the measurements. The noisy and noiseless Tikhonov baselines show similar performance for all . For every operating point the NMSE, PSNR and SSIM performance of DB-REFoCUS is shown relative to the oracle Tikhonov method in Fig. 6. Both in the channel domain and image domain, DB-REFoCUS outperforms the Tikhonov baseline for all metrics. The difference is the strongest in the subsampling regime of . Below this number of transmits, the model does not have enough information to fully recover the multistatic data set. DB-REFoCUS generates plausible samples, but the posterior spread is relatively large. The samples all align with the measurements, but this is not enough to align with the complete multistatic. For higher numbers of transmits there is less benefit in having a generative prior. The multistatic is better populated, and linear decoders perform relatively better in this regime, shrinking the performance gap.
To investigate the impact of noise on recovery, Fig. 7 shows an SNR sweep for the FOC and HAD transmit types for . The plots show that DB-REFoCUS outperforms the linear counterparts for all noise levels when . When removing the rank deficiency and comparing we find that for low-SNR regimes DB-REFoCUS still performs better, but for a high enough SNR or clean image the linear decoders perform better. In this regime the linear inversion is exact, while the generative model still introduces stochasticity through sampling.
The relation between posterior uncertainty and rank deficiency is shown in Fig. 8. The panels show posterior uncertainty and model loss for a measurement of 8 equispaced focused transmits. We sample 8 multistatic recoveries and beamform the residual of the Monte Carlo posterior mean with respect to the multistatic ground truth. Likewise, we beamform the variance of the multistatic samples and plot the result. Panels (c) and (d) agree. The top part of the reconstruction
A steering angle of does not satisfy , so acquisitions at large angles contain grating lobes ( ). This is why the linear decoders do not reach a complex correlation of 1 for the steered transmit families. This does not affect the non-steered transmits or the in vivo harmonic imaging modes, which transmit at MHz.
Relative channel NMSE ↓ [dB]

Relative B-mode PSNR ↑ [dB]
Relative B-mode SSIM ↑
Fig. 6. Heatmap showing NMSE, PSNR and SSIM of DB-REFoCUS relative to the best performing linear decoder, oracle Tikhonov.

Fig. 7. Performance of DB-REFoCUS compared with linear decoder methods for a range of SNR levels. The dashed lines show performance, the solid lines show performance.
(a)
(b)

(c)
(d)
Fig. 8. Posterior uncertainty and model loss shown for a DB-REFoCUS recovery. (a) A measurement of 8 focused beams, (b) model recovery, (c) loss with respect to the multistatic target, (d) posterior variance of 8 samples.
shows no variance because it is reconstructed correctly. The dark spots without tissue also show no variance or loss. Most notable are the focal points. Here the highest pressure was achieved and reconstruction of tissue is best. These radial streaks are present in both panels.
The relation between the multistatic loss and posterior variance can be quantified with the Spearman correlation coefficient . In Fig. 9 a strong monotonic correlation is visible for high rank deficiencies across all transmit types. As expected, for the correlation drops sharply. The posterior converges to a single estimate as epistemic uncertainty is reduced. The correlation is now dominated by a fixed reconstruction gap and stochastic generation of samples.
The in vivo results for complex correlation are shown in Fig. 10. The model performs notably worse than for simulation data, due to a distribution gap. The model was not trained on this frequency, nor has it seen out-of-plane clutter, nonlinear effects or physical 3D wave dispersion. Still, from simulation the model has learned coherence and the multistatic structure, allowing it to outperform the linear decoders for low-rank inversion. At higher counts for the model pushes the measurements into the prior distribution, and this effect overtakes the gain of structuring the null space. Most notable is the performance of the Hadamard transmit type, where linear decoders fail by design. The Hadamard measurements are made orthogonal by design, such that unmeasured codes are fully unobserved. The DB-REFoCUS decoder still manages to recover a large component of the missing acquisitions through learned structure.
The other metrics are shown in Fig. 11. The NMSE result supports the complex correlation result, but the image-domain metrics deviate. This is because the EchoNet-LVH statistics are present in the recovery, as was shown in Fig. 3. We argue that out-of-distribution image-domain recovery is better evaluated

Fig. 9. Spearman correlation coefficient between the DB-REFoCUS multistatic loss and the posterior variance, for a range of rank deficiencies and all transmit types.

Fig. 10. In vivo complex correlation for different for all transmit types. The complex correlation is calculated on a held-out set of the remaining transmits that belong to the same frame. The recovered multistatic data set is transmit beamformed to these acquisitions to compare.
Focused sector
Focused (harm.)
Wide beam
Wide (harm.)
Plane wave
Diverging
Hadamard
Random ±1
Relative held-out NMSE ↓ [dB]
| -0.0 | -1.0 | -2.0 | 0.8 |
|---|---|---|---|
| 0.4 | -0.5 | -1.4 | -1.2 |
| -0.1 | -1.0 | -1.9 | 0.8 |
| 0.3 | -0.8 | -1.7 | -1.4 |
| -0.2 | -1.2 | -2.0 | 0.7 |
| -0.3 | -1.4 | -2.5 | 0.8 |
| -0.4 | -1.5 | -2.2 | -2.8 |
| -0.5 | -1.6 | -2.3 | -1.0 |
Relative B-mode PSNR ↑ [dB]
| Focused sector | 2.9 | 3.4 | 3.3 | 2.3 |
|---|---|---|---|---|
| Focused (harm.) | -0.6 | 0.2 | 1.1 | 1.1 |
| Wide beam | 3.1 | 3.3 | 2.6 | 1.6 |
| Wide (harm.) | 0.1 | 0.7 | 1.0 | 0.5 |
| Plane wave | 3.0 | 2.7 | 1.8 | 0.8 |
| Diverging | 1.8 | 0.1 | -1.9 | -3.2 |
| Hadamard | -0.9 | -1.2 | -1.0 | -0.9 |
| Random ±1 | -1.0 | -1.2 | -1.3 | -1.1 |
Relative B-mode SSIM ↑
| Focused sector | 0.10 | 0.16 | 0.14 | 0.07 |
|---|---|---|---|---|
| Focused (harm.) | -0.03 | 0.03 | 0.06 | 0.04 |
| Wide beam | 0.10 | 0.12 | 0.06 | -0.01 |
| Wide (harm.) | 0.02 | 0.04 | 0.04 | -0.01 |
| Plane wave | 0.12 | 0.10 | 0.03 | -0.03 |
| Diverging | 0.10 | 0.01 | -0.09 | -0.15 |
| Hadamard | 0.03 | 0.04 | 0.03 | 0.02 |
| Random ±1 | 0.07 | 0.06 | 0.05 | 0.03 |
| 8 | 16 | 32 | 64 |
Fig. 11. In vivo NMSE, PSNR and SSIM of DB-REFoCUS relative to the oracle Tikhonov linear decoder. NMSE is calculated through transmit beamforming to the held-out set, the image-domain metrics are calculated with respect to the image.
visually, and refer to the URL mentioned at the start of this section.
VI. DISCUSSION
The simulation results show the promising potential for this type of architecture to introduce deep generative models into the channel domain of ultrasound imaging.
The main challenge that limits the method is the availability of high-quality multistatic data sets to train on. Such data is not prevalent and it can be difficult to obtain for all anatomies. We expect that training the model through ambient diffusion [39] might offer a solution here, such that the model can learn in vivo multistatic structure from any transmit type. However, there is a trade-off that needs to be addressed when training with real data. As became clear in Fig. 3, out-of-distribution guidance is possible and can have positive effects. If the model has only seen idealized simulation statistics, it will naturally denoise, remove artifacts and correct for aberration during recovery. When these artifacts become part of the training data, the model could lose these capabilities or even introduce aberration and similar artifacts during generation. Conversely, if the in vivo distribution is too far from the prior, the model is at risk of hallucinating [40].
The model has shown impressive generalization capabilities, such as the ability to work with harmonic imaging and even a slight distribution shift. There are further generalization steps that should be made for a true universal prior, however. The current U-Net structure limits the domain in which the model can operate. We foresee that a transformer architecture (DiT [41]) can further generalize across probe types, dimensions in space, frequencies, bandwidth, depth, number of probe elements, and anatomies, by entering each of these features as a conditioning vector rather than being fixed by the network architecture.
Furthermore, the current model is orders of magnitude slower and more expensive than the linear alternatives. The main limitation is the number of steps that is required to transport the noise initialization to the multistatic. This requires a future investigation into model distillation for fewer steps, architecture pruning, or better initialization of the transport. Initializing transport with a linear REFoCUS recovery is one such solution. More accurate likelihood estimators like CovarianceDPS [42] can also reduce the number of necessary guidance steps, and methods like SeqDiff [43] can enable further improvements for video applications.
Lastly, the ability of the model to produce uncertainty maps and work with arbitrary transmit designs ties the work of this paper to the cognitive ultrasound framework [44]. An information-seeking agent can use such a generative prior to adapt transmit-receive sequences in a Bayesian reconstruction loop. Recent works have shown agent capabilities that select focused transmits for echocardiography [45], choose subsampling patterns [46], and amortize sampling cost across frames [43]. These implementations all work on beamformed, envelope, or image-domain data, and are limited to a fixed set of transmits. This work alleviates these constraints for future agents.
VII. CONCLUSION
We have introduced Deep Bayesian REFoCUS, a deep generative prior in the channel domain that can conditionally generate multistatic data sets and obtain posterior distributions for all transmit types. The method outperformed classical linear REFoCUS decoders across the board in simulation, and showed promising results for in vivo data. The model performs best for inversion tasks that are extremely rank-deficient and regresses toward linear decoder performance when inversion is exact. Despite in vivo measurements being out of training distribution, the model was able to structure the multistatic for sufficient image reconstruction. Further improvements of the method can be enabled by large-scale in vivo data collection, further generalization of the architecture and computational speedups.
REFERENCES
[1] G. Montaldo, M. Tanter, J. Bercoff, N. Benech, and M. Fink, “Coherent plane-wave compounding for very high frame rate ultrasonography and transient elastography,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 56, no. 3, pp. 489–506, 2009.
[2] M. Tanter and M. Fink, “Ultrafast imaging in biomedical ultrasound,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 61, no. 1, pp. 102–119, 2014.
[3] C. Papadacci, M. Pernot, M. Couade, M. Fink, and M. Tanter, “High-contrast ultrafast imaging of the heart,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 61, no. 2, pp. 288–301, 2014.
[4] J. A. Jensen, S. I. Nikolov, K. L. Gammelmark, and M. H. Pedersen, "Synthetic aperture ultrasound imaging," Ultrasonics, vol. 44, pp. e5–e15, 2006.
[5] N. Bottenus, “Recovery of the complete data set from focused transmit beams,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 65, no. 1, pp. 30–38, 2018.
[6] R. Ali, C. D. Herickhoff, D. Hyun, J. J. Dahl, and N. Bottenus, “Extending retrospective encoding for robust recovery of the multistatic data set,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 67, no. 5, pp. 943–956, 2020.
[7] J. Ho, A. Jain, and P. Abbeel, “Denoising diffusion probabilistic models,” in Advances in Neural Information Processing Systems (NeurIPS), 2020.
[8] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differential equations,” in International Conference on Learning Representations (ICLR), 2021.
[9] Y. Lipman, R. T. Q. Chen, H. Ben-Hamu, M. Nickel, and M. Le, "Flow matching for generative modeling," in International Conference on Learning Representations (ICLR), 2023.
[10] X. Liu, C. Gong, and Q. Liu, “Flow straight and fast: Learning to generate and transfer data with rectified flow,” in International Conference on Learning Representations (ICLR), 2023.
[11] Y. Song, L. Shen, L. Xing, and S. Ermon, “Solving inverse problems in medical imaging with score-based generative models,” in International Conference on Learning Representations (ICLR), 2022.
[12] B. Kawar, M. Elad, S. Ermon, and J. Song, “Denoising diffusion restoration models,” in Advances in Neural Information Processing Systems (NeurIPS), 2022.
[13] J. Song, A. Vahdat, M. Mardani, and J. Kautz, “Pseudoinverse-guided diffusion models for inverse problems,” in International Conference on Learning Representations (ICLR), 2023.
[14] H. Chung, J. Kim, M. T. McCann, M. L. Klasky, and J. C. Ye, “Diffusion posterior sampling for general noisy inverse problems,” in International Conference on Learning Representations (ICLR), 2023.
[15] M. Karaman, P.-C. Li, and M. O'Donnell, "Synthetic aperture imaging for small scale systems," IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 42, no. 3, pp. 429–442, 1995.
[16] M. O'Donnell, "Coded excitation system for improving the penetration of real-time phased-array imaging systems," IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 39, no. 3, pp. 341–351, 1992.
[17] T. Misaridis and J. A. Jensen, “Use of modulated excitation signals in medical ultrasound. Part I: Basic concepts and expected benefits,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 52, no. 2, pp. 177–191, 2005.
[18] K. L. Gammelmark and J. A. Jensen, “Multielement synthetic transmit aperture imaging using temporal encoding,” IEEE Transactions on Medical Imaging, vol. 22, no. 4, pp. 552–563, 2003.
[19] M.-H. Bae and M.-K. Jeong, “A study of synthetic-aperture imaging with virtual source elements in B-mode ultrasound imaging systems,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 47, no. 6, pp. 1510–1519, 2000.
[20] S. I. Nikolov and J. A. Jensen, “Virtual ultrasound sources in high-resolution ultrasound imaging,” in Proc. SPIE Medical Imaging, vol. 4687, 2002, pp. 395–405.
[21] R. Y. Chiao, L. J. Thomas, and S. D. Silverstein, “Sparse array imaging with spatially-encoded transmits,” in IEEE Ultrasonics Symposium Proceedings, vol. 2, 1997, pp. 1679–1682.
[22] E. Tiran, T. Deffieux, M. Correia, D. Maresca, B.-F. Osmanski et al., "Multiplane wave imaging increases signal-to-noise ratio in ultrafast ultrasound imaging," Physics in Medicine and Biology, vol. 60, no. 21, pp. 8549–8566, 2015.
[23] S. R. Freeman, P.-C. Li, and M. O'Donnell, “Retrospective dynamic transmit focusing,” Ultrasonic Imaging, vol. 17, no. 3, pp. 173–196, 1995.
[24] J. Liu, Q. He, and J. Luo, “A compressed sensing strategy for synthetic transmit aperture ultrasound imaging,” IEEE Transactions on Medical Imaging, vol. 36, no. 4, pp. 878–891, 2017.
[25] J. Zhang, J. Liu, W. Fan, W. Qiu, and J. Luo, “Partial Hadamard encoded synthetic transmit aperture for high frame rate imaging with minimal -norm least squares method,” Physics in Medicine and Biology, vol. 67, no. 10, p. 105002, 2022.
[26] J. Zhang, L. Huang, and J. Luo, “Deep null space learning improves dataset recovery for high frame rate synthetic transmit aperture imaging,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 70, no. 3, pp. 219–236, 2023.
[27] Y. Chen, J. Liu, X. Luo, and J. Luo, “ApodNet: Learning for high frame rate synthetic transmit aperture ultrasound imaging,” IEEE Transactions on Medical Imaging, vol. 40, no. 11, pp. 3190–3204, 2021.
[28] M. S. Albergo and E. Vanden-Eijnden, “Building normalizing flows with stochastic interpolants,” in International Conference on Learning Representations (ICLR), 2023.
[29] G. Duffy et al., “High-throughput precision phenotyping of left ventricular hypertrophy with cardiovascular deep learning,” JAMA Cardiology, vol. 7, no. 4, pp. 386–395, 2022.
[30] T. S. W. Stevens, W. L. van Nierop, B. Luijten, V. van de Schaft, O. Nolan, B. Federici, L. D. van Harten, S. W. Penninga, N. I. P. Schueler, and R. J. G. van Sloun, “zea: A toolbox for cognitive ultrasound imaging,” Journal of Open Source Software, vol. 11, no. 121, p. 9881, 2026.
[31] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in Neural Information Processing Systems (NeurIPS), 2017.
[32] A. Henry, P. R. Dachapally, S. S. Pawar, and Y. Chen, “Query-key normalization for transformers,” in Findings of the Association for Computational Linguistics: EMNLP, 2020, pp. 4246–4253.
[33] M. Dehghani et al., “Scaling vision transformers to 22 billion parameters,” in International Conference on Machine Learning (ICML), 2023, pp. 7480–7512.
[34] O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in Medical Image Computing and Computer-Assisted Intervention (MICCAI), 2015, pp. 234–241.
[35] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778.
[36] M. Abadi et al., “Tensorflow: A system for large-scale machine learning,” in USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2016, pp. 265–283.
[37] R. E. Daigle, “Ultrasound imaging system with pixel oriented processing,” U.S. Patent 8287456 B2, Oct. 2012, Verasonics, Inc., Kirkland, WA, USA.
[38] S. W. Penninga and R. J. G. van Sloun, “Tu/e cardiac plax multi-transmit rf,” OpenH-RF dataset, 2026.
[39] G. Daras, K. Shah, Y. Dagan, A. Gollakota, A. G. Dimakis, and A. Klivans, “Ambient diffusion: Learning clean distributions from corrupted data,” in Advances in Neural Information Processing Systems (NeurIPS), 2023.
[40] S. K. Aithal, P. Maini, Z. C. Lipton, and J. Z. Kolter, “Understanding hallucinations in diffusion models through mode interpolation,” in Advances in Neural Information Processing Systems (NeurIPS), 2024.
[41] W. Peebles and S. Xie, “Scalable diffusion models with transformers,” in IEEE/CVF International Conference on Computer Vision (ICCV), 2023.
[42] N. Yismaw, U. S. Kamilov, and M. S. Asif, “Gaussian is all you need: A unified framework for solving inverse problems via diffusion posterior sampling,” IEEE Transactions on Computational Imaging, vol. 11, pp. 1020–1030, 2025.
[43] T. S. W. Stevens, O. Nolan, J.-L. Robert, and R. J. G. van Sloun, “Sequential posterior sampling with diffusion models,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2025.
[44] R. J. G. van Sloun, “Active inference and deep generative modeling for cognitive ultrasound,” IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, vol. 71, no. 11, pp. 1478–1490, 2024.
[45] W. L. van Nierop, O. Nolan, T. S. W. Stevens, and R. J. G. van Sloun, "Patient-adaptive echocardiography using cognitive ultrasound," IEEE Transactions on Medical Imaging, vol. 45, no. 7, pp. 4034–4046, 2026.
[46] O. Nolan, T. S. W. Stevens, W. L. van Nierop, and R. J. G. van Sloun, "Active diffusion subsampling," Transactions on Machine Learning Research, 2025.