Issue 
A&A
Volume 646, February 2021



Article Number  A84  
Number of page(s)  21  
Section  Numerical methods and codes  
DOI  https://doi.org/10.1051/00046361/202039258  
Published online  12 February 2021 
Comparison of classical and Bayesian imaging in radio interferometry
Cygnus A with CLEAN and resolve
^{1}
MaxPlanck Institut für Astrophysik, KarlSchwarzschildStr. 1, 85748 Garching, Germany
email: parras@mpagarching.mpg.de
^{2}
LudwigMaximiliansUniversität München (LMU), GeschwisterSchollPlatz 1, 80539 München, Germany
^{3}
Technische Universität München (TUM), Boltzmannstr. 3, 85748 Garching, Germany
^{4}
South African Radio Astronomy Observatory, 2 Fir Street, Black River Park, Observatory (North Gate entrance) 7925, South Africa
^{5}
Department of Physics and Electronics, Rhodes University, Grahamstown 6140, South Africa
^{6}
National Radio Astronomy Observatory, PO Box O, Socorro, NM 87801, USA
Received:
26
August
2020
Accepted:
1
December
2020
CLEAN, the commonly employed imaging algorithm in radio interferometry, suffers from a number of shortcomings: In its basic version, it does not have the concept of diffuse flux, and the common practice of convolving the CLEAN components with the CLEAN beam erases the potential for superresolution; it does not output uncertainty information; it produces images with unphysical negative flux regions; and its results are highly dependent on the socalled weighting scheme as well as on any human choice of CLEAN masks for guiding the imaging. Here, we present the Bayesian imaging algorithm resolve , which solves the above problems and naturally leads to superresolution. We take a VLA observation of Cygnus A at four different frequencies and image it with singlescale CLEAN, multiscale CLEAN, and resolve. Alongside the sky brightness distribution, resolve estimates a baselinedependent correction function for the noise budget, the Bayesian equivalent of a weighting scheme. We report noise correction factors between 0.4 and 429. The enhancements achieved by resolve come at the cost of higher computational effort.
Key words: techniques: interferometric / methods: statistical / methods: data analysis / instrumentation: interferometers
© P. Arras et al. 2021
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Open Access funding provided by Max Planck Society.
1. Introduction
Radio interferometers provide insights into a variety of astrophysical processes that deepen our knowledge of astrophysics and cosmology in general. A common strategy to improve radio observations is to upgrade the hardware: increase the number of antennas or their sensitivity. This paper takes the orthogonal approach and improves one part of radio pipelines, the imaging and deconvolution step. Interferometers do not directly measure the sky brightness distribution but rather measure its modified Fourier components. Therefore, the step from the data to the image is nontrivial.
One of the first deconvolution algorithms, singlescale CLEAN (Högbom 1974), is still in use today. It was developed for the computational resources of the 1970s and assumes that the sky brightness distribution consists of point sources. The basic idea behind singlescale CLEAN is to transform the Fourier data into image space, find the brightest point sources in descending order, simulate a measurement of those point sources, subtract them from the data, and iterate. Finally, the collection of point sources, called CLEAN components, is usually convolved with the socalled CLEAN beam, which is supposed to represent the intrinsic resolution of the radio interferometer. In practice, this algorithm converges to some approximation of the actual sky brightness distribution.
The assumption that the sky consists of point sources is problematic because typical radio interferometers are also capable of capturing faint diffuse emission. Therefore, Cornwell (2008), Rau & Cornwell (2011), and Offringa & Smirnov (2017) extended CLEAN to using Gaussianshaped structures as basis functions. The resulting algorithm is called multiscale CLEAN and is the defacto standard for deconvolving extended structures.
There are several major reasons to rethink the CLEAN approach to imaging and deconvolution now that more computational resources are available and significant progress in Bayesian inference has been made relative to the 1970s. First, in order to allow CLEAN to undo initial and too greedy flux assignments, CLEAN components are usually not required to be positive. Therefore, the final sky brightness distribution is not necessarily positive and almost all maps produced from radio interferometric data contain unphysical negativeflux regions. Second, the convolution with the CLEAN beam fundamentally limits the resolution of the image despite the fact that superresolution is possible (Honma et al. 2014; Dabbech et al. 2018). In particular, the location of bright compact sources can be determined with much higher accuracy than suggested by the CLEAN beam. Third, the weighting scheme, which is a function that rescales the influence of each data point on the final image depending on the baseline length or proximity of other measurements, crucially influences the output image. A prescription for setting the weighting scheme, such that the resulting image resembles the actual sky brightness distribution in the best possible way, does not exist. Finally, CLEAN does not output reliable uncertainty information.
We intend to address the above issues by updating the Bayesian imaging algorithm resolve developed in Arras et al. (2018, 2019a) and originally pioneered by Junklewitz et al. (2015) and Greiner et al. (2016). Bayesian inference is the framework of choice for this as it is the only consistent extension of Boolean logic to uncertainties via realvalued probabilities (Cox 1946). resolve is formulated in the language of information field theory (Enßlin et al. 2009) in symbiosis with the inference algorithm Metric Gaussian Variational Inference (MGVI, Knollmüller & Enßlin 2019). It combines the imaging and deconvolution steps of the CLEAN approach. Indeed, resolve significantly improves the resolution of the image as superresolution is built in.
Bayesian imaging in radio astronomy is not new. Maximum entropy imaging was the most prominent of the first such algorithms based on the minimalistic prior assumption that photons could arrive from all directions and no intrinsic emission structures can be assumed a priori (Cornwell & Evans 1985; Gull & Skilling 1984). While this has been proven to be particularly successful for imaging diffuse emission, Junklewitz et al. (2016, Sect. 3.2.2) demonstrate that resolve can outperform maximum entropy imaging. The reasons for this include that the latter does not assume any correlations between pixels a priori or a brightness distribution for each pixel with an exponential cutoff for high values.
Related approaches include Sutton & Wandelt (2006) and Sutter et al. (2014), who use Bayesian inference as well. These approaches are, however, limited to Gaussian priors and relatively few pixels because Gibbs sampling is used.
Another approach to deconvolution has leveraged convex optimization theory, and in particular, the relatively new field of compressive sensing (Candès et al. 2006). Originally formulated as the SARA (sparsity averaging) reconstruction algorithm (Carrillo et al. 2012), this has produced approaches such as PURIFY (Carrillo et al. 2014) and HyperSARA (Abdulaziz et al. 2019). These methods have demonstrated good performance on extended emission, and in particular, on the data we use for this study (Dabbech et al. 2018). This class of algorithms can be thought of as yielding maximumaposterior point estimates of the sky under a sparsity prior, however recent work by Repetti et al. (2019) shows a way to incorporate uncertainty estimates into the approach. These uncertainty estimates are not an uncertainty map for the whole sky brightness distribution but rather a hypothesis test to assess the discovery significance of single sources. This approach is based on the assumption that the functionals that need to be optimized are (log)convex and has been demonstrated to work on large data sets. One of our main insights is that noise inference is needed (at least for the data sets that we have analysed) because otherwise the noise statistics of the data are not correct. Uncertainties that are derived from incorrect error bars on the data cannot be reliable. In our understanding noise inference would render the optimization problem nonconvex. Cai et al. (2018) propose a hybrid approach, where compressive sensing is combined with Markov chain Monte Carlo sampling.
This paper is structured as follows: Sect. 2 describes the underlying data model common to the compared imaging algorithms. Section 3 defines the novel resolve algorithm and specifies the prior assumptions and Sect. 4 recapitulates the singlescale CLEAN and multiscale CLEAN algorithms. All three algorithms are compared in Sect. 5 by applying them to the same four data sets.
2. Measurement model
Astrophysical signals undergo a variety of transformations as they travel from their source to where they are observed on Earth. We restrict ourselves to an ideal, unpolarized phase tracking interferometer, in which case the measurement process obeys (for example Thompson et al. 2017):
where d_{uvw} represents the data taken by the interferometer (commonly referred to as visibilities), n_{uvw} represents an additive noise realization, 𝔞(l,m) is the antenna sensitivity pattern and I(l, m) the true sky brightness distribution. The data space coordinates (u, v, w) record the relative positions of antenna pairs as the Earth rotates under the frame of the sky. The coordinates denote the positions of points on the celestial sphere. The integral goes over the half of the sphere that is above the horizon. If the array is arranged such that w → 0 or if the field of view is very small (l^{2} + m^{2} → 1), Eq. (1) reduces to a twodimensional Fourier transform of the apparent sky 𝔞(l,m) I(l,m). This assumption, referred to as the coplanar array approximation, is discussed further in Sect. 4.
In practice the integral in Eq. (1) is discretized to allow numerical evaluation. Then, the measurement model simplifies to:
where R ∈ Lin_{ℝ}(ℝ^{N},ℂ^{M}) is a discretization of Eq. (1), which maps a discretized image I ∈ ℝ^{N} to visibilities in ℂ^{M}, and n ∈ ℂ^{M} is the noise present in the observation. Both resolve and wsclean use the software library ducc^{1} (Distinctly Useful Code Collection) for evaluating the integral.
Since visibilities consist of an average of a large number of products of antenna voltages, it can be assumed, by the central limit theorem, that the noise is Gaussian with diagonal covariance N: . Thus, the likelihood probability density is given by:
where ^{†} denotes the complex conjugate transpose. For better readability, but also because it is the quantity that needs to be implemented for resolve , we define the information Hamiltonian ℋ(d ∣ I,N) ≔ −log P(d ∣ I,N) (Enßlin et al. 2009). Then,
where h(N) is a normalization term constant in I. Many traditional imaging algorithms employ this expression without h(N) as the data fidelity term that ought to be minimized.
We conclude this section with two comments. First, note that Eq. (4) stores all information about the measurement device and the data at hand. No specific assumptions about the data processing have been made yet. Therefore, Eq. (4) is the starting point of both resolve and CLEAN. We call the process of turning Eq. (4) into an image ‘imaging’ and do not differentiate between imaging and ‘deconvolution’. Second, the process of recovering the true sky brightness distribution from the measured visibilities is an inverse problem. In Eq. (2), the sky I cannot be computed uniquely from d and N alone because the Fourier space coverage (commonly called uvcoverage) is not complete and because of the presence of noise. We may know the noise level N but we never know the noise realization n. This is why turning data into the quantity of interest, in our case I, is a nontrivial task. The appearance of uncertainties is a direct consequence of the noninvertibility of R and the presence of n.
3. Resolve
resolve is a Bayesian imaging algorithm for radio interferometers. It is formulated in the language of information field theory (Enßlin et al. 2009; Enßlin & Frommert 2011; Enßlin 2018) and was first presented in Junklewitz et al. (2015) and then upgraded in Junklewitz et al. (2016), Greiner et al. (2016), and Arras et al. (2018). Arras et al. (2019a) added antennabased directionindependent calibration to resolve such that calibration and imaging can be performed simultaneously. This paper presents another resolve feature for the first time: automatic data weighting. Additionally, the diffuse sky model is updated to a special case of the model presented in Arras et al. (2020a). The implementation is free software^{2}.
3.1. Inference scheme
resolve views radio interferometric imaging as a Bayesian inference problem: it combines a likelihood and a prior probability density to a posterior probability density. We generalize the likelihood to depend on general model parameters ξ (previously I and N). The likelihood contains all information about the measurement process and the noise. In contrast, the prior is a probability density that assigns to every possible value of the model parameters ξ a probability that represents the knowledge on the model parameters before having looked at the data. These two quantities are combined with a normalization factor to Bayes’ theorem:
gives the probability for all configurations of the model parameters after having looked at the data.
resolve uses Bayes’ theorem together with the reparameterization trick (Kingma et al. 2015): It is always possible to transform the inference problem such that the prior density is a standard normal distribution: . In this approach, all prior knowledge is formally encoded in the likelihood. Put differently, the task of defining the inference problem is to write down a function that takes standard normal samples as input, transforms them into sensible samples of the quantity of interest with their assumed prior statistics and finally computes the actual likelihood.
For our imaging purposes ξ is a roughly 10 milliondimensional vector. Exactly representing nontrivial highdimensional probability densities on computers is virtually impossible. Therefore, approximation schemes need to be employed. For the application at hand, we choose the Metric Gaussian Variational Inference (MGVI, Knollmüller & Enßlin 2019) implementation in NIFTy (Arras et al. 2019b) because it strikes a balance between computational affordability and expressiveness in the sense that it is able to capture offdiagonal elements of the posterior uncertainty covariance matrix.
3.2. On weighting schemes
CLEAN assumes a certain weighting scheme that induces changes in the noise level. A weighting scheme is necessary for two reasons: It can be used to reweight by the density of the uvcoverage to make it effectively uniform, which CLEAN needs to perform best (see Sect. 4). resolve does not need this kind of correction because it is based on forward modelling and Bayesian statistics: A more densely sampled region in uvspace leads to more information in this region and not to inconsistencies in the inference.
Additionally, there exist weighting schemes that further reweight the visibilities based on the baseline length. This weighting represents the tradeoff between sensitivity (upweight short baselines) and resolution (uniform weighting). Depending on the application CLEAN users need to choose between those extremes themselves.
Moreover, we find that short baselines are subject to higher systematic noise. For the data sets at hand, this systematic noise is up to a factor of higher than the thermal noise level (see Fig. 8). If the noise variance of the visibilities were correct, that value would be 1. To CLEAN higher systematic noise is indistinguishable from nonuniform sampling; to a Bayesian algorithm, which takes the uncertainty information of the input data seriously, it makes a crucial difference. Therefore, the advanced version of resolve presented here assumes that the thermal measurement uncertainties need to be rescaled by a factor that depends only on the baseline length and which is correlated with respect to that coordinate. This correction function (or Bayesian weighting scheme) is learned from the data alongside the actual image. The details on this approach are described in the next section.
3.3. Assumptions and data model
To specify resolve, the standardized likelihood in Eq. (5) needs to be defined. In addition to the thermal noise level σ_{th}, which is generated by the antenna receivers, calibrated visibilities may be subject to systematic effects. In order to account for these the thermal variance is multiplied by a correction factor α, which is unknown and assumed to depend on the baseline length:
where ξ^{(σ)} refers to the part of ξ that parameterizes σ. Consequently the noise standard deviation σ itself becomes a variable part of the inference. The sky brightness distribution I is variable as well (meaning that it depends on ξ) and the simulated data s are given by:
where ξ^{(I)} refers to the part of ξ that parameterizes I and I(ξ^{(I)}) is the discretized sky brightness distribution in units Jy/arcsec^{2}.
The remaining task is to specify I(ξ^{(I)}) and α(ξ^{(σ)}). For the sky brightness distribution we assume two additive components: A point source component modelled with a pixelwise inverse gamma prior (Selig et al. 2015) and a component for diffuse emission. A priori we assume the diffuse emission to be lognormal distributed with unknown homogeneous and isotropic correlation structure. This is motivated by the expectation that emission varies over several magnitudes. Furthermore, we assume that the noise correction function α is lognormal distributed since it needs to be strictly positive and also may vary strongly.
Let F^{(n)}(ξ) be a function that maps standard normal distributed parameters ξ on a ndimensional Gaussian random field with periodic boundary conditions and homogeneous and isotropic correlation structure (Enßlin 2018). The specific form of F^{(n)}(ξ) is explained in Sect. 3.4. Then:
where ° denotes function composition, CDF_{Normal} and refer to the cumulative density function of the standard normal distribution and the inverse cumulative density function of the Inverse Gamma distribution, respectively, and C is a cropping operator that returns only the first half of the (onedimensional) lognormal field. This is necessary because α is not a periodic quantity and we use fast Fourier Transforms, which assume periodicity. While the diffuse component of the sky brightness distribution is not periodic either, it is not necessary to apply zeropadding there since the flux is expected to vanish at the image boundaries. The point sources are restricted to the locations a priori known to contain point sources.
All in all, the likelihood density is given by:
where denotes a diagonal matrix with x on its diagonal and c is a normalization constant. The sum goes over all data points and the dependency of σ and s on ξ is left implicit. The normalization factor in Eq. (10) is chosen such that Eq. (10) is normalized if d is viewed as combination of two sets of real random variables:
The following two subsections (Sects. 3.4 and 3.5) describe the technical details of the resolve sky model and the sampling procedure. Section 4 describes the technical details of singlescale CLEAN and multiscale CLEAN . Nontechnical readers may safely skip directly to Sect. 4 or even Sect. 5.
3.4. Correlated field model with unknown correlation structure
The following section closely follows (Methods Section Arras et al. 2020a), which derives the correlated field model in a more general context. For reasons of clarity and comprehensibility, we repeat the derivation here for the specific case at hand and adopted to the notation used here. The main reason for the complexity of the model below is that for modelling diffuse emission neither a specific correlation kernel nor a parametric form for the kernel shall be assumed. Rather, our goal is to make the correlation kernel part of the inference as well. This reduces the risk of biasing the end result by choosing a specific kernel as prior.
In order to simplify the notation we drop the indices (I) and (σ) for this section and write: F^{(n)} = F^{(n)}(ξ). Still the model F^{(n)} is used for both the correction function α and the diffuse component of the sky brightness distribution while the domains are onedimensional and twodimensional, respectively. In the following, standard normal variables will appear in various places. Therefore, we write ξ = (ξ_{0}, ξ_{1}, …) and ξ_{>n} = (ξ_{n + 1}, ξ_{n + 2}, …) where each ξ_{i} is a collection of standard normal variables.
The task is to write down a function that takes a standard normal random variable ξ as input and returns a realization of a correlated field with unknown homogeneous and isotropic correlation structure. This means that the twopoint correlation function depends on the distance between the sampling points only:
where ⟨x⟩_{P} denote the expectation value of x over he distribution P. For homogeneous and isotropic processes the WienerKhintchin theorem (Wiener 1949; Khintchin 1934) states that the twopoint correlation function of the process is diagonal in Fourier space. Let the ndimensional discrete Fourier transform be the map ℱ(n):X_{h} → X where X is a regular grid space with shape (N_{1}, …, N_{n}) and pixel sizes (Δx_{1}, …, Δx_{n}) and X_{h} its harmonic counterpart: It has the same shape and pixel sizes ((N_{1}Δx_{1})^{−1}, …, (N_{n}Δx_{n})^{−1}). Let us define:
where offset is the (known) mean of the Gaussian random field, ÂÂ^{†} = S in Fourier basis, vol = ∏_{i}N_{i}Δx_{i} is the total volume of the space and ξ is a standard normal random field. The volume factors in the Fourier transform are defined such that the zero mode in Fourier space is the integral over position space:
for all ndim fields x. Then the set is a collection of correlated fields with unknown correlation structure, meaning that A still depends on ξ. ξ_{0} is defined on that space as well and ‘⋅’ denotes pixelwise multiplication.
If we could derive a sensible form of the correlation structure A for both the diffuse emission and the correction function a priori, we could insert it here and infer only ξ. However, we are not aware of a method to set the correlation structure by hand without introducing any biases for a given data set. Therefore, we let the data inform the correlation structure A as well and set a prior on A. This approach may be viewed as a hyper parameter search integrated into the inference itself. In the following we will see that even the parameters needed to model A are inferred from the data. So it is really a nested hyper parameter search.
The presented model has five hyper parameters. In order to emulate a hyper parameter search, we do not set them directly but rather make them part of the inference and let the algorithm tune them itself. The hyper parameters which are necessarily positive are modelled with a lognormal prior as generated from standard normal variables ξ_{i} via:
where 𝔪 and 𝔰 refer to mean and standard deviation of the lognormal distribution; the ones that can be positive or negative have a Gaussian prior and are denoted by Normal(ξ_{i};𝔪,𝔰)≔ 𝔪 + 𝔰 ξ_{i}. The values for 𝔪 and 𝔰 as well as for the other hyper parameters are summarized in Table 1.
Hyper parameters for resolve runs.
The zero mode controls the overall diffuse flux scale. Its standard deviation A_{0} is a positive quantity and we choose it to be lognormal distributed a priori:
The nonzero modes k ≠ 0 control the fluctuations of the random process. In order to be able to set a prior on the total fluctuations, we define:
where p_{k} is the model for the power spectrum of F^{(n)} up to the multiplicative term ‘fluc’. By this definition we ensure that ‘fluc’ is the pointwise standard deviation of the final process: ⟨s_{x}s_{x}⟩ = fluc^{2} for all x after having subtracted the contribution from A_{0}. ‘fluc’ is strictly positive and we model it with a lognormal prior: fluc = LogNormal(ξ_{2};𝔪_{2}, 𝔰_{2}).
The remaining piece is the actual form of p_{k} for k ≠ 0. The prior knowledge we want to encode into this model is: First, diffuse emission is correlated, meaning that falling power spectra and specifically pk ∼ k^{−s}, s > 0 shall be preferred. And second, periodically repeating patterns in the sky brightness distribution are not expected or equivalently strong peaks in the power spectrum shall be penalized. In order to define p_{k} in a nonparametric fashion and to represent the above power law property, we choose to transform p_{k} into doublelogarithmic space in which power laws become affine linear functions:
We choose to model a_{t} as an integrated Wiener process, that is a general continuous random process:
where η_{t} is Gaussian distributed. In this form the process is not Markovian and is not suited to be evaluated as a forward model. Therefore, we track the derivatives b_{t} of a_{t} as degrees of freedom themselves:
where the specific form of the variances on the righthand side of the equation will be interpreted below. Subsequently, we will call ‘asp’ asperity and ‘flex’ flexibility. The solution to Eq. (22) for b_{t} is a Wiener process. Therefore, a_{t} is an integrated Wiener process for asp = 0. asp > 0 leads to an additional (not integrated) Wiener process on a_{t}. The solution to Eq. (22) is:
where t_{n} is the nth (discretized) value of t and Δt_{n} = t_{n} − t_{n − 1}. This formulation allows us to compute samples of the process a_{t} from standard normal inputs ξ_{3} and ξ_{4}. ‘flex’ and ‘asp’ are both positive quantities and are modelled with lognormal priors: flex = LogNormal (ξ_{5}; 𝔪_{5}, 𝔰_{5}) and asp = LogNormal(ξ_{6}; 𝔪_{6}, 𝔰_{6}). As can be seen from Eq. (22) ‘flex’ controls the overall variance of the integrated Wiener process. The model is set up such that it produces power spectra that can deviate from a power law. ‘asp’ determines the relative strength between the Wiener and the integrated Wiener process. The limit asp → 0 is welldefined. In this case, a_{t} is a pure integrated Wiener process and asp > 0 adds nonsmooth parts to it. More intuitively, this means that vanishing ‘asp’ lead to effectively turn off the nonsmooth part of the power spectrum model. Then, the generated power spectra can be differentiated twice on doublelogarithmic scale. A nonvanishing ‘asp’ gives the model the possibility to add small nonsmooth structures on top of the smooth power spectrum. Since ‘asp’ is also variable during the inference process, we choose not to set it to zero a priori since the algorithm can do it itself if needed.
Finally, we modify the model such that it is possible to set a prior on the average slope of the integrated Wiener process. This is necessary to encode a preference for falling spectra. To this end, the difference between the first and the last pixel of the integrated Wiener process is replaced by a linear component whose slope is ‘avgsl’:
The slope is modelled with a Gaussian prior: avgsl = Normal(ξ_{7}; 𝔪_{7}, 𝔰_{7}).
In summary, this defines a model that is able to generate Gaussian random fields of arbitrary dimension with unknown correlation structure. The random field is assumed to have homogeneous and isotropic correlation structure. The power spectrum itself is modelled in doublelogarithmic space as a mixture of a Wiener process and an integrated Wiener process with the possibility of specifying the overall slope of the process. This model is used in its onedimensional version for the weighting scheme field α and in its twodimensional version for the diffuse component of the sky brightness distribution I.
3.5. Sampling with variable noise covariance
To find approximate posterior samples, resolve employs the MGVI algorithm (Knollmüller & Enßlin 2019). This algorithm performs a natural gradient descent to find the minimum of:
where is the latent posterior mean and ξ_{i} are samples that represent the uncertainty of the posterior. They are drawn as zero centred Gaussian random samples with the inverse Bayesian Fisher metric as covariance:
where is the Jacobian of s and σ as a function of ξ evaluated at the latent mean , and F is the Fisher information metric of the likelihood in terms of the visibility s and the noise standard deviation σ. These samples from this inverse metric can be drawn without the need of inverting explicit matrices, by using the conjugate gradient algorithm. We refer to Knollmüller & Enßlin (2019, discussion around Eq. (58)) for a detailed description.
For the computation of the Fisher metric of a complex Gaussian distribution, the real and imaginary parts of the visibility s are treated individually in order to avoid ambiguities related to complex versus real random variables. Using Eq. (11) we arrive at:
To draw random variates with this covariance we use normal random variates and multiply them with the square root of the diagonal of the matrix in Eq. (28). In the NIFTy package implementing these operations, this Fisher metric is given as a function of σ^{−2} instead, that can be obtained from Eq. (28) by applying the Jacobian :
For computational speed, the real and imaginary parts of the visibilities are combined into complex floating point numbers where possible.
4. Traditional CLEAN imaging algorithms
4.1. Singlescale CLEAN
This section outlines the main ideas behind the CLEAN algorithm. First, the most basic variant of CLEAN (Högbom 1974) is described followed by a discussion of additional approximations that make it more efficient (Clark 1980) and a more sophisticated version of the algorithm that overcomes coplanar array approximation (Schwab & Cotton 1983).
At its heart, CLEAN is an optimization algorithm that seeks to minimize Eq. (4). But since this problem is illposed (the operator R^{†}N^{−1}R occurring in Eq. (4) is not invertible), a unique minimum does not exist. For a patch of sky consisting purely of point sources, one could seek the smallest number of points that would result in the dirty image when convolved with the PSF.
A practical solution, as formalized by Högbom (1974), involves starting from an empty sky model and then iteratively adding components to it until the residual image appears noiselike. More precisely, noting that the residual image equates to the dirty image at the outset, we proceed by finding the brightest pixel in the residual image. Then, using the intuition that the dirty image is the true image convolved by the PSF, we centre the PSF at the current brightest pixel, multiply it by the flux value in the pixel and subtract some fraction of it from the residual image. At the same time, the model image is updated by adding in the same fraction of the pixel value at the location of the pixel. This procedure is iterated until a satisfactory solution is found, for example when the residual appears noiselike or its brightest pixel is lower than some predetermined value. This solution loosely corresponds to the smallest number of point sources necessary to explain the data. The one tunable parameter in the algorithm is the fraction of the flux of the point source that is added to the model at a time. This parameter is called loop gain.
This surprisingly simple procedure is so effective that it is still the most commonly used deconvolution algorithm in radio astronomy. However, it relies on the approximation
where denotes convolution and I^{PSF} is an image of the point spread function (PSF), namely the result of applying R^{†}N^{−1}R to an image that has only a unit pixel at its centre. In Eq. (30), equality only holds when the coplanar array approximation is valid^{3}. This leads to two alternate forms of the derivative of the likelihood Hamiltonian:
where the latter approximation is exact if the coplanar array approximation is valid and the primary beam structure is negligible or ignored. For the maximum likelihood solution, set the right hand side of Eq. (31) to zero. This leads to the classic notion that the dirty image is the image convolved by the PSF:
Especially if the number of image pixels is much smaller than the number of data points, this allows computation of the gradients in Eq. (31) very efficiently. The reason for this is that the operator I^{PSF}* can be implemented efficiently using the fast Fourier transform (FFT), whereas R^{†}N^{−1}R requires a combination of convolutional gridding (including possible wterm corrections) and the FFT.
The key to the speed of the CLEAN algorithm comes from the intuition provided by Eq. (32). During model building the convolution is not performed explicitly, rather the PSF is centred on the location of the current pixel and subtracted from the residual pixelwise. Since point sources can be located right at the edge of the image, the PSF image needs to be twice the size in both dimensions of the residual image. To save memory and computational time, Clark (1980) approximated the PSF by a smaller version and restricted the regions in which PSF side lobes are subtracted. This is possible since the PSF side lobes typically fall off fairly rapidly, especially for arrays with good uvoverage. However, it is paid for by artefacts being added to the model if the approximation is not done carefully. For this reason the Clark approximation is often used in combination with a CLEAN mask^{4}, the region in which real emission is expected. Outside the mask boundaries the algorithm is not allowed to allocate components. However, even with a mask, such aggressive image space approximations inevitably lead to artefacts. Thus, to prevent artefacts from accumulating, the residual has to be computed by subtracting the model convolved with the full PSF from the dirty image. This step, which uses an FFTbased convolution, was termed the major cycle to distinguish it from the less accurate but much faster approximate computation of the residual termed the minor cycle. Schwab & Cotton (1983) generalized this idea to use the full measurement operator instead of an FFTbased convolution leading to a different and more robust form of major cycle.
A major cycle corresponds to an exact evaluation of the gradient using the first of the two expressions for the gradient in Eq. (31). It removes artefacts stemming from incomplete subtraction of PSF side lobes by subtracting the model correctly in visibility space. In addition, by incorporating wprojection Cornwell et al. (2008) or wstacking Offringa et al. (2014) techniques into the implementation of the measurement operator, it is possible to compute the gradient without utilising the coplanar array approximation. Since computing the gradient exactly is an expensive operation, it should preferably be done as few times as possible. Högbom CLEAN can be used in combination with the Clark approximation to add multiple components to the model while keeping track of the approximate gradient. This is called the minor cycle. Eventually, the current model is confronted with the full data using the exact expression for the gradient and the procedure is repeated until some convergence criteria are met. Since new regions of emission are uncovered as the corrupting effects of the brightest sources are removed, dynamic masking strategies, in which the mask is adapted from one major cycle to the next, are often employed.
The criterion at which to stop the minor cycle and perform another exact evaluation of the gradient affects both the computational cost and the quality of the final result. Careful user input is often required to balance the tradeoff between these two factors. Because of the convolutional nature of the problem, the level of artefacts introduced by exploiting image space approximations is proportional to the brightest pixel in the residual image. Thus, running the minor cycle for too long adds artefacts to the model. In principle it is possible to correct for these artefacts in subsequent iterations, but in practice this is potentially unstable. As convergence criterion for the minor loop, a parameter called major loop gain or peak factor is defined: Iterate minor loops until the residual has decreased by the peak factor. A sensible choice depends on the field of view and the degree of noncoplanarity of the array. Typical values are around 0.15.
In AIPS, the software we used for our singlescale CLEAN maps, a new major cycle i + 1 starts if the flux of the next clean component is smaller than m_{i}(1 + a_{i}), a current map specific reference flux m_{i} times a cycledependent factor 1 + a_{i}, which is stirred according to the following heuristic. The starting value for this factor, a_{0}, depends on the ratio where r_{i} and m_{i} are the peak and lowest flux of the absolute residual image in the ith major cycle, respectively, and is defined as:
Then, a increases at each iteration: where n_{i} is the current number of CLEAN components and f is a free parameter. Larger fs let a_{i} decrease more slowly.
Especially if extended emission is present, model images produced by CLEAN are so far from realistic representatives of the true sky that astronomers cannot work with them directly. They are the best fit to the data under the implicit prior imposed by CLEAN but fail miserably at capturing extended source morphology or frequency spectra. Therefore, the results produced by CLEAN are interpreted with the help of the socalled restored image. The first step in creating the restored image is to convolve the model image with the CLEAN beam, a Gaussian that approximates the primary lobe of the PSF. This represents the intrinsic resolution of the instrument that is assumed to be constant across the image. Next, in an attempt to account for any undeconvolved flux and set the noise floor for the observation, the residual image is added to the model convolved with the PSF. The noise floor, which is taken to be the RMS of the resulting image in regions devoid of structure, is then supposed to give an estimate of the uncertainty in each pixel.
All in all, careful user input is required to successfully use CLEAN for imaging. Fortunately the tunable parameters are actually quite easy to set once the user has developed some intuition for them. However, the model images produced by singlescale CLEAN are completely unphysical when there are extended sources in the field. In extreme cases, singlescale CLEAN fails to fully deconvolve the faint diffuse emission in the field and can lead to imaging artefacts. A possible explanation for this is that, at each iteration, singlescale CLEAN tries to minimize the objective function by interpolating residual visibility amplitudes with a constant function. This limitation has been partially addressed by the multiscale variants of the CLEAN algorithm.
4.2. Multiscale CLEAN
Multiscale CLEAN (Cornwell 2008; Rau & Cornwell 2011; Offringa & Smirnov 2017) is an extension of singlescale CLEAN that imposes sparsity in a dictionary of functions, as opposed to just the delta function. Most implementations use a predetermined number of either circular Gaussian components or the tapered quadratic function (Cornwell 2008) in addition to the delta function. While this model is still not a physical representation of the sky, diffuse structures within the field of view are more faithfully represented. Most multiscale CLEAN implementations share the major and minor cycle structure of CottonSchwab CLEAN with the major cycle implemented in exactly the same way. However, the minor cycle differs between the many variants of multiscale CLEAN. The implementation used for the current comparison is described in detail in Offringa & Smirnov (2017) and implemented in the wsclean software package (Offringa et al. 2014).
The starting point for wsclean’s multiscale algorithm is to select the size of the scale kernels. While this can be specified manually, wsclean also provides a feature to determine them automatically from the uvcoverage of the observation. In this case, the first scale always corresponds to the delta function kernel scale. The second scale is then selected as the full width window of the tapered quadratic function that is four times larger than the smallest theoretical scale in the image (determined from the maximum baseline). The size of the corresponding Gaussian scale kernels is set to approximately match the extent of the tapered quadratic function. As noted in Offringa & Smirnov (2017), the factor of four was empirically determined to work well in practice. If smaller scales are used, point sources are sometimes represented with this scale instead of the delta scale. Each subsequent scale then has double the width of the previous one and scales are added until they no longer fit into the image or until some predetermined maximum size is reached.
Once the scales have been selected, the algorithm identifies the dominant scale at each iteration. This is achieved by convolving the residual image with each Gaussian scale kernel and comparing the peaks in the resulting convolved images subject to a scale bias function (conceptually similar to matched filtering). The scale bias function (see Offringa & Smirnov 2017 for full details) can be used to balance the selection of large and small scales. It introduces a tunable parameter to the algorithm, viz. the scale bias β. With the dominant scale identified, the model is updated with a component corresponding to this scale at the location of the maximum in the convolved residual image. As with singlescale CLEAN, the model is not updated with the full flux in the pixel but only some fraction thereof. The exact fraction is scaledependent (see again Offringa & Smirnov 2017 for details). To keep track of the approximate residual, the PSF convolved with the scale kernel multiplied by this same fraction is subtracted from the residual image.
The additional convolutions required to determine the dominant scale at each iteration introduce an additional computational cost compared to singlescale CLEAN. For this reason, wsclean provides the option of running an additional subminor loop that fixes the dominant scale until the peak in the scale convolved image decreases by some prespecified fraction (or for a fixed number of iterations). This significantly decreases the computational cost of the algorithm but it is still more expensive than singlescale CLEAN. While we will not delve into the exact details of how the subminor loop is implemented, we will note that it introduces yet another tunable parameter to the algorithm that is similar to the peak factor of CottonSchwab CLEAN. This parameter, called multiscalegain in wsclean, determines how long a specific scale should be CLEAN ed before redetermining the dominant scale in the approximate residual. Importantly, the subminor loop also makes use of a Clarklike approximation to restrict regions in which peak finding and PSF subtraction should be performed. This improves both the speed and the quality of the reconstructed images.
While we have not discussed all the details behind the multiscale CLEAN implementation in wsclean, our discussion should make it clear that it introduces additional tunable parameters to the algorithm. Most of the time the algorithm performs reasonably well with these parameters left to their defaults. However, some degree of tuning and manual inspection is sometimes required, especially for fields with complicated morphologies.
4.3. Motivation to improve CLEAN
Classical radio interferometric imaging suffers from a variety of problems. Two of these problems stand out in particular: the lack of reliable uncertainty estimates and the unphysical nature of model images produced by CLEAN. As we discuss below, CLEAN forces astronomers to conflate these two issues in a way that makes it very difficult to derive robust scientific conclusions in the sense that it is not guaranteed that two observers would convert the same data set into the same sky image and that meaningful statistical uncertainty information would be provided by the algorithm.
Astronomers need to account for uncertainties in both flux and position and these two notions of uncertainty are correlated in a nontrivial way that is determined by both the uvcoverage and the signaltonoise ratio of the observation. However, model images produced by CLEAN are not representative of the true flux distribution of the sky and come without any uncertainty estimates. This can be attributed to the fact that CLEAN is not based on statistical theory but rather is a heuristic that tries to represent flux in form of predetermined basis functions (delta peaks, Gaussians) via fluxgreedy algorithms. As a result, astronomers turn to the restored image (see Sect. 4.1) instead of relying directly on the model produced by CLEAN. Compared to the model image, the restored image has two favourable qualities viz. it accounts for the (assumed constant) intrinsic instrumental resolution and it displays structures in the image relative to the noise floor of the observation. These two aspects are supposed to roughly account for uncertainties in position and flux respectively. However, besides the fact that adding the residuals back in introduces structures in the image that are not real, and that the restored image has inconsistent units^{5}, this is completely unsatisfactory from a statistical point of view. Firstly, the restored image completely neglects the correlation between uncertainties in flux and position, information that is crucial to determine whether a discovery is real or not. In fact, since the act of convolving the model image by the CLEAN beam assumes that the resolution is constant across the image, whereas it is known that superresolution of high signaltonoise structures is possible, the restored image paints a rather pessimistic picture of the capabilities of radio interferometers. Secondly, both the ‘noise in the image’ and the size of the clean beam depend on the weighting scheme that has been used. It is difficult to attach any degree of confidence to the results since the weighting scheme is a free parameter of CLEAN. Dabbech et al. (2018, Figs. 1 and 2) shows the impact of different weighting schemes on the final image. This limitation is borne out quite explicitly in the data set chosen for the current comparison in Sect. 5. Furthermore, since CLEAN outputs images that contain regions with unphysical negative flux^{6}, astronomers need to assess for themselves which parts of the image to trust in the first place. The above limitations provide opportunities for speculative scientific conclusions that cannot be backed up by statistically rigorous arguments. They also make it impossible to quantitatively compare images from radio interferometers processed by CLEAN to for example astrophysical simulations.
In addition to the above, CLEAN relies on user input that involves the careful construction of masks, selecting an appropriate weighting scheme and setting hyperparameters such as loop gains and stopping criteria etc. This results in an effective prior: It is known that CLEAN imposes some measure of sparsity in the chosen dictionary of functions, but it is unclear how to write down the explicit form of the effective prior. The problem is exacerbated by CLEAN using a form of backward modelling that does not perform well when there are very little data available or when the uvcoverage is highly nonuniform, as is the case for typical VLBI observations. Thus, the way that CLEAN is implemented is fundamentally incompatible with Bayesian inference making it impossible to infer, or indeed marginalize over, optimal values for the parameters it requires. This is clearly problematic as far as scientific rigour is concerned.
This illustrates that the notions of uncertainty, resolution and sensitivity are tightly coupled concepts when interpreting images produced by radio interferometers. As such it is not sufficient to apply a postprocessing step such as making the restored image to derive scientific conclusions from radio maps. In fact, doing so potentially limits the usefulness of interferometric data because it eliminates the possibility of superresolution at the outset. This is a result of incorrect prior specification and not properly accounting for the interaction between the data fidelity and the prior term during imaging. Obtaining sensible posterior estimates requires combining the linear Fourier measurement taken by the interferometer with a prior that respects the physics of the underlying problem, such as enforcing positivity in the spatial domain for example. To this end, resolve approximates the posterior with MGVI, an algorithm that can track nontrivial crosscorrelations. Instead of providing a point estimate with associated error bars, MGVI provides samples from the approximate posterior that can then be used to compute expectation values of any derived quantities while accounting for cross correlations between parameters.
In summary, the absence of proper uncertainty information, potential negativity of flux, the arbitrariness of the weighting scheme, problems with little data and nonuniform uvcoverage and loss of resolution by convolving with the CLEAN beam illustrate the necessity to improve beyond the CLEANbased algorithms.
5. Comparison of results from resolve and CLEAN
Here we compare the performance of the three imaging approaches presented in Sects. 3 and 4. To this end we use VLA observations of Cygnus A that have been flagged and calibrated with standard methods. For more details on the data reduction process refer to Lerato Sebokolodi et al. (2020). We use singlechannel data sets at the frequencies 2052, 4811, 8427 and 13 360 MHz. The CLEAN maps have been converted from the unit Jy beam^{−1} to Jy/arcsec^{2} by multiplication with the halfwidthhalfmaximum area of the CLEAN beam. All data and the results of the three different methods are archived Arras et al. (2020b) ^{7}.
5.1. Configuration
All values for the hyper parameters of resolve are summarized in Table 1. The resolve parameters separate into those for the sky brightness distribution and those for the Bayesian weighting scheme. For the latter, they are chosen such that the model has much flexibility to adopt to the exact situation. Because α provides a multiplicative correction to the noise levels, the offset is set to zero (which becomes one, that is to say no correction, after exponentiation). The zero mode standard deviation is set to a high value because the overall noise level might be completely different. The fluctuations also have a large standard deviation such that the algorithm can easily tune that parameter. A value of 2 means that we expect the correction function α to vary within one standard deviation two efolds up and down. The flexibility and asperity parameters of the power spectrum ‘flex’ and ‘asp’ are set such that the algorithm can pick up nontrivial values but not too extreme ones here. The average slope of the power spectrum is chosen to vary around 2. In other words, the Bayesian weighting scheme α depends in a differentiable fashion on the baseline length a priori. A relatively high a priori standard deviation of 0.4 enables the algorithm to tune the slope to the appropriate value. The most important aspect of the hyper parameter setting is that the resulting prior has enough variance to capture the actual Bayesian weighting scheme and sky brightness distribution. As discussed above the model is set up in such a way that it can adjust its hyper parameters on its own. All parameters discussed in this section are really hyper parameters of that hyper parameter search. For the sky brightness distribution we know a priori that typical flux values in regions with emission vary on scales of 10^{8} and 10^{12} Jy sr^{−1}. Therefore a sensible offset for the Gaussian field is log(10^{9}) ≈ 20. A priori we let that value vary two efolds up and down in one standard deviation which means that within three standard deviations typical flux values between ≈10^{6} and ≈10^{11} Jy sr^{−1} can be reached. However, as always we make the standard deviations themselves a parameter and choose 2 for the standard deviation of the standard deviation of the zero mode which makes virtually all offsets possible. As positions for the point sources modelled with an inversegamma prior (see Eq. (8)) we assume a point source at the phase centre and a second one located at (0.7, −0.44) arcsec relative to the phase centre (Cygnus A2, Perley et al. 2017).
Apart from the hyper parameters we need to specify the minimization procedure for resolve (Knollmüller & Enßlin 2019). In order to arrive at a sensible starting position for the actual inference we proceed in the following steps: First, compute the maximumaposterior solution assuming the error bars provided by the telescope. This means that we set α = 1 in Eq. (6). Second, use five mirrored parameter samples ξ, as generated by MGVI, to approximate the Metric Gaussian KullbackLeibler divergence and solve the inference problem with respect to ξ^{(σ)} only. In other words, we find a good weighting scheme α conditional to the sky brightness distribution found before. Third, solve the MGVI inference problem for the sky brightness distribution conditional to the found weighting scheme using five mirrored samples. Fourth, solve the full inference problem for the sky brightness distribution and the Bayesian weighting scheme simultaneously. Fifth, terminate after the second iteration. Sixth, flag all data points that are more than 6σ away from the model data taking the Bayesian weighting scheme into account and restart from the first step.
In all cases, we approximate the Metric Gaussian KullbackLeibler divergence using five mirrored samples. These samples are drawn with the help of conjugate gradient runs (see Sect. 3.5). These conjugate gradients are declared converged when the conjugate gradient energy does not change by more than 0.1 three times in a row. As an upper limit for the maximum number of conjugate gradient steps we choose 2000. Not iterating the conjugate gradient algorithm until convergence, which is not computationally feasible, does not introduce biases in the inference but rather increases the posterior variance as discussed in Knollmüller & Enßlin (2019).
The multiscale CLEAN results produced for the current comparison were obtained by first doing an imaging run with uniform weighting down to a fairly low threshold and using wsclean’s automasking feature. The resulting images were used to define an external mask containing the most prominent features. A second imaging run down to a deeper threshold was then performed using Briggs weighting with a robustness factor of −1. These images were then used to refine the mask and to flag obvious outliers in the data. The outliers were identified by computing whitened residual visibilities and flagging all data points with whitened residual visibility amplitudes larger than five time the global average. On average this resulted in about 1% of the data being flagged which is more than expected from the noise statistics. This could indicate that a small amount of bad data slipped through the initial preprocessing steps (flagging and calibration). The final imaging run was then performed using the refined mask and Briggs weighting with a robustness factor of zero. While the procedure could be refined further, we found that doing so results in diminishing returns in terms of improving the final result.
The wsclean settings reported in Table 2 are common to all the data sets for the final multiscale CLEAN imaging run. The image size was set so that the PSF for the 13 GHz data set has just more than five pixels across the FWHM of the primary lobe, a rule of thumb that is commonly employed to set the required pixel sizes for an observation. Twenty threads are employed to approximately match the computational resources given to resolve. In addition to automasking, which is set to kick in when the peak of the residual is approximately twice the value of the RMS in the image, a manual FITS mask was supplied using the fitsmask option. The masks for the different data sets are shown in Fig. A.1. In all cases the scales were automatically selected. The only parameter that differs between data sets is the threshold at which to stop CLEANing, specified through the threshold parameter in wsclean. These were set to 0.002, 0.0007, 0.0003, and 0.0002 for the 2, 4, 8, and 13 GHz data sets, respectively, which approximately matches the noise floor in the final restored images. A value of zero for the Briggs robustness factor was chosen as it usually gives a fairly good tradeoff between sensitivity and resolution. However, as discussed in Sect. 4.3, the need to specify the weighting scheme manually is one of the main limitations of CLEAN. This is especially evident in the 8 GHz observation where the Cygnus A2 is just visible using a robustness factor of zero whereas it is clearly visible in the images with a robustness factor on minus one. Cygnus A2 is completely lost when using natural weighting, which is where the interferometer is most sensitive to faint diffuse structures. For singlescale CLEAN, the default settings as implemented in AIPS are used.
Common hyper parameters for multiscale CLEAN runs.
5.2. Analysis of results
Figure 1 shows a summary of the results of the twelve runs: four frequencies imaged with three different algorithms. The units of the CLEAN images have been converted to Jy arcsec^{−2} (by dividing the CLEAN output in Jy beam^{−1} by the beam area BMAJ⋅BMIN). Then the pixel values of all images can be directly compared to each other. As discussed above, the output of resolve is not a single image but rather a collection of posterior samples. For the purpose of comparison we display the pixelwise posterior mean.
Fig. 1.
Overview of imaging results. The first column shows the resolve posterior mean, the middle and last column show singlescale CLEAN multiscale CLEAN results, respectively. The colour bar has units Jy arcsec^{−2}. Negative flux regions are displayed in white. See also different scaled version in Fig. A.6. 
Figure 1 shows that the resolve maps do not feature any negative flux regions. Since this was a strict prior assumption for the algorithm, this is the expected result. The singlescale CLEAN and the multiscale CLEAN have many negative flux regions where no (bright) sources are located. Otherwise, the results of these two algorithms are similar. Additionally, Figs. 2 and A.2 show the pixelwise posterior uncertainty of the resolve runs. These figures do not contain the whole uncertainty information which is stored in the posterior samples. The posterior distribution for each pixel is not Gaussian and therefore the higher moments are nontrivial. Additionally, the crosscorrelation between the pixels cannot be recovered from the pixelwise posterior uncertainty.
Fig. 2.
Relative pixelwise posterior uncertainty of resolve runs. All plots are clipped to 0.7 from above and the two pixels with point sources are ignored in determining the colour bar. Their uncertainty is reported in Table 3. 
In order to investigate the results further, Figs. 3–5 show the western lobe of the 13.36 GHz observation only and Fig. 6 shows the bottom left hot spot of all observations. In the CLEAN results it can be seen that the resolution improves significantly when going to higher frequencies. This is due to the natural increase of an interferometer: the higher the observation frequency, the higher the intrinsic resolution. The same is true for the resolve maps. However, resolve also achieves higher resolution than CLEAN at lower frequencies. By eye, the resolution of the resolve 4.8 GHz map is comparable to the CLEAN 13.4 GHz map. This phenomenon is called superresolution and is possible by the nontrivial interaction between likelihood and prior: By adding the constraint that the sky brightness distribution is positive, information about Fourier modes which correspond to baselines longer than the actual maximum baseline can be inferred from the data. The high resolution features that turn up at lower frequencies can be validated at the higher frequency CLEAN maps. This is possible because the synchrotron radiation which is responsible for the emission has a very broad frequency spectrum. Unless there are internal or external absorption effects which are not believed to be happening here, there cannot be major differences in the brightness over frequency ratios of a few. Additionally, it can be observed that the ripples in the fainter regions next to the hotspot which are present in both CLEAN reconstructions are not present in the resolve one. This is rooted in the fact that resolve can take the noise level properly into account and let the prior smooth within the regions which are less informed by the data because the flux level is lower.
Fig. 3.
Zoomedin version of the singlescale CLEAN reconstruction of the 13.36 GHz data set focusing on the western lobe and rotated anticlockwise by 90 degrees. The colour bar is the same as in Fig. 1. Negative flux regions have been set to lower limit of the colour map. 
Figure 7 shows a direct comparison of the multiscale CLEAN result and posterior samples of resolve. It can be observed that the resolve samples significantly deviate from the multiscale CLEAN map. In addition, it becomes apparent that resolve assigns significant flux in regions which have negative flux in the singlescale CLEAN result.
Fig. 7.
Comparison of multiscale CLEAN (blue contour lines, grey regions: negative flux regions) and four resolve posterior samples (red) at 13.4 GHz. 
Figure 8 displays posterior samples of the Bayesian weighting scheme. It can be observed that the prior samples have higher variance and show a huge variety of correlation structures. This shows that the prior is agnostic enough not to bias the result in a specific direction. Generally, the correction factor decreases with baseline length. Its minimum and maximum values are 0.4 and 429, respectively, across all four data sets and all posterior samples. That means that the actual noise level of some visibilities is 429 times higher than promised by the SIGMA column of the measurement set. For medium to long baseline lengths the correction factor takes values between ≈0.5 and ≈1. A relative factor of 0.5 could originate from different conventions regarding the covariance of a complex Gaussian probability density. For the 2 GHz data set the correction factor remains at values ≈8 even at longer baseline lengths. So this data set seems to have an overall higher noise level than specified. For long baseline lengths the noise level increases consistently. This effect may be explained by inconsistencies in the data due to pointing errors. Especially at high frequencies, Cygnus A has comparable angular size to the primary beam. Particularly near the zenith (Cygnus A transits 8 degrees from the zenith), the VLA antennas do not point accurately. The errors induces by this cannot be modelled by antennabased calibration solutions. Therefore, pointing errors introduce inconsistencies in the data. An additional source of inconsistencies in the data might be inconsistent calibration solutions which have been introduced in the data during the selfcalibration procedure in which negative components in the sky brightness distribution have been used. An approach similar to Arras et al. (2019a) may be able to compute consistent calibration solutions in the first place.
Fig. 8.
Posterior samples of the Bayesian weighting scheme α and prior samples for the 13.36 GHz data set. The dashed lines are located at values 0.5 and 1. The latter corresponds to no correction at all. The light grey lines are prior samples that illustrate the flexibility of the a priori assumed Bayesian weighting schemes. 
In the following, we briefly discuss some of the materials that can be found in Appendix A. Figure A.3 displays residual maps as they are computed by wsclean. Residual maps are defined by the r.h.s. of Eq. (31) divided by tr N^{−1}. It is uncommon to plot the residual image based on the restored image in the CLEAN framework. However, if the scienceready image is considered to be the restored image, it is vitally important to actually compute the residuals from it and not from a different image. It can be observed that the multiscale CLEAN model image fits the data very well whereas the restored multiscale CLEAN image performs significantly worse.
From a signal reconstruction point of view, these residual maps have to be taken with a grain of salt since for example a nonuniform uvcoverage biases the visual appearance of the maps and overfitting cannot be detected. Therefore, Figs. A.4 and A.5 show histograms in data space for all three methods of the (posterior) residuals weighted with the resolve weights σ(ξ^{(σ)}) and the wsclean imaging weights, respectively. For better comparison, the residuals for the multiscale CLEAN model image are included. These histograms show how consistent the final images and the original data are. For this comparison the error bars on the data are needed. As stated above the error bars which come with the data and represent the thermal noise cannot be trusted. Therefore, we compute the noiseweighted residuals based on the error bars which resolve infers onthefly and the error bars (also called weighting scheme) which wsclean uses for our multiscale CLEAN reconstructions. If the assumed data model is able to represent the true sky brightness distribution and its measurement the noiseweighted residuals should be standardnormal distributed. This expected distribution is indicated in Figs. A.4 and A.5 with dashed black lines. Table A.1 provides the reduced χ^{2} values for all histograms in Figs. A.4 and A.5. If the noiseweighted residuals are standardnormal distributed, . The reduced χ^{2} values of the resolve posterior with Bayesian weighting are all close to 1. This means that the error bars indeed can be rescaled by a baselinelengthdependent factor and that resolve is successful in doing so. The multiscale CLEAN model image overfits the data according to the wsclean weighting scheme but achieves values close to 1 using the Bayesian weighting scheme as well. In contrast the reduced χ^{2} values for the restored images produced by singlescale CLEAN and multiscale CLEAN exceed all sensible values for both weighting schemes. One may argue that an image which comes with reduced χ^{2} values of > 100 does not have much in common with the original data. All in all, the residuals show that the resolve and the CLEAN reconstructions differ significantly already on the data level.
For inspecting low flux areas Fig. A.6 displays a saturated version of Figs. 1 and A.7 compares the multiscale CLEAN result with the resolve posterior mean for the 2.4 GHz data set. It can be observed that all three algorithms pick up the faint emission. For resolve, the three higher frequency data reconstructions exhibit regions next to the main lobes which are very faint. It looks like resolve tries to make these regions negative which is not possible due to the prior. For the 13.4 GHz data set, even the central regions features such a dip. All this can be explained by inconsistencies described above as well.
Table 3 summarizes the fluxes of the two point sources including their posterior standard deviation. Most probably, the provided uncertainty underestimates the true uncertainty for several reasons: First, these uncertainties are conditional to the knowledge that two point sources are located at the given positions. Therefore, the information needed to determine the position of the point sources is not included in the error bars. Second, inconsistencies in the data induced by the calibration can lead to underestimating posterior variance because contradictory data points pull with strong force in opposite directions in the likelihood during the inference. This results in too little posterior variance. Third, MGVI only provides an lower bound on the true uncertainty but still its estimates are found to be largely sensible as shown in Knollmüller & Enßlin (2019).
resolve point source fluxes.
Generally, it can be observed that the posterior standard deviation decreases with increasing frequency. This is expected since interferometers with effectively longer baselines are more sensitive to point sources. Our results from Table 3 can be compared to Perley et al. (2017, Table 1). At 8.5 GHz Perley et al. (2017) reports 1368 mJy for the central source and (4.15 ± 0.35) mJy for Cygnus A2. At 13 GHz they report 1440 mJy and (4.86 ± 0.17) mJy. These measurements have been taken in July 2015 whereas our measurements are from November 30 and December 5, 2015. The comparison is still valid since Perley et al. (2017) showed that the sources are not significantly variable on the scale of one year. We can observe that all flux values are in the right ballpark and the fluxes of Cygnus A2 agree within 2σ. The fluxes for the central source cannot be compared well because Perley et al. (2017) do not provide uncertainties on it. However, taking only the resolve uncertainties into account, the flux values differ significantly. For the lower two frequencies no data are available in Perley et al. (2017) because the sources are not resolved by CLEAN. The resolve results give the posterior knowledge on the secondary source given its position. In this way, statements about the flux of Cygnus A2 at low frequencies can be made even though it is not resolved. Thus, we can claim the discovery of Cygnus A2 given its position on a 3σ and 7σ level for the 2.1 and 4.8 GHz observations, respectively.
5.3. Computational aspects
Each resolve run needs ≈500 000 evaluations of the response and ≈400 000 evaluations of its adjoint. That makes the response part of the imaging algorithm a factor of ≈50 000 more expensive compared to CLEAN approaches. The good news is that the implementation of the radio response Eq. (7) in the package ducc scales well with the number of data points and that the response calls can be parallelized over the sum in Eq. (26).
The resolve runs have been performed on a single node with five MPI tasks, each of which needs ≈2.2 GB main memory. Each MPI task uses four threads for the parallelization of the radio response and the Fast Fourier Transforms. The wall time for each resolve run is between 80 and 90 h.
Singlescale CLEAN takes below 30 min for imaging each channel on a modern laptop. Thus, resolve is approximately 180 times slower that singlescale CLEAN here. This comparison does not include that the resolve had five times the number of CPUs available.
Multiscale CLEAN takes about 2 hours during the final round of imaging on the 13 GHz data set. This number does not account for the time taken during the initial rounds of imaging used to tune the hyper parameters and construct the mask which can be a timeconsuming process. However, it should be kept in mind that CLEAN scales much better when the dimensionality of the image is much smaller than that of the data, which is not the case here. This is because CLEAN only requires about 10–30 applications of the full measurement operator and its adjoint, even including all preprocessing steps. Taking 90 min for the average multiscale CLEAN run, resolve is 60 times slower than multiscale CLEAN.
6. Conclusions
This paper compares the output of two algorithms traditionally applied in the radio interferometry community (singlescale CLEAN and multiscale CLEAN) with a Bayesian approach to imaging called resolve. We demonstrate that resolve overcomes a variety of problems present in traditional imaging: The sky brightness distribution is a strictly positive quantity, the algorithm quantifies the uncertainty on the sky brightness distribution, and the weighting scheme is determined nonparametrically. Additionally, resolve provides varying resolution depending on the position on the sky into account, which enables superresolution. We find that singlescale CLEAN and multiscale CLEAN give similar results. In contrast, resolve produces images with higher resolution: The 4.8 GHz map has comparable resolution to the 13.4 GHz CLEAN maps. These advantages are at the cost of additional computational time, in our cases ≈90 h wall time on a single node.
Future work may extend resolve to multifrequency reconstructions where the correlation structure in frequency axis is taken into account as well in order to increase resolution. Additionally, directionindependent and antennabased calibration may be integrated into resolve . Finally, the prior on the sky brightness distribution may be extended to deal with polarization data as well.
Negative flux is also an artefact of discretising the measurement operator Eq. (2) since the response of a point source situated exactly in between two pixels is a sinc function.
Acknowledgments
We thank Vincent Eberle and Simon Ding for feedback on drafts of the manuscript, Philipp Frank for his work on the correlated field model in NIFTy, Eric Greisen for explanations regarding AIPS, George Heald, Jakob Knollmüller, Wasim Raja, and Shane O’Sullivan for discussions, explanations, and feedback, and Martin Reinecke for his work on the software packages NIFTy and ducc and comments on an early draft of the manuscript. P. Arras acknowledges financial support by the German Federal Ministry of Education and Research (BMBF) under grant 05A17PB1 (Verbundprojekt DMeerKAT). The research of O. Smirnov is supported by the South African Research Chairs Initiative of the Department of Science and Technology and National Research Foundation. The National Radio Astronomy Observatory is a facility of the National Science Foundations operated under cooperative agreement by Associated Unversities, Inc.
References
 Abdulaziz, A., Dabbech, A., & Wiaux, Y. 2019, MNRAS, 489, 1230 [Google Scholar]
 Arras, P., Knollmüller, J., Junklewitz, H., & Enßlin, T. A. 2018, 2018 26th European Signal Processing Conference (EUSIPCO) (IEEE), 2683 [Google Scholar]
 Arras, P., Baltac, M., Ensslin, T. A., et al. 2019a, Astrophys. Sour. Code Lib. [record ascl:1903.008] [Google Scholar]
 Arras, P., Frank, P., Leike, R., Westermann, R., & Enßlin, T. A. 2019b, A&A, 627, A134 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Arras, P., Bester, H. L., Perley, R. A., et al. 2020a, http://doi.org/10.5281/zenodo.4267057 [Google Scholar]
 Arras, P., Frank, P., Haim, P., et al. 2020b, ArXiv eprints [arXiv:2002.05218] [Google Scholar]
 Cai, X., Pereyra, M., & McEwen, J. D. 2018, MNRAS, 480, 4154 [Google Scholar]
 Candès, E. J., et al. 2006, Proceedings of the International Congress of Mathematicians, 3, 1433, Madrid, Spain [Google Scholar]
 Carrillo, R. E., McEwen, J. D., & Wiaux, Y. 2012, MNRAS, 426, 1223 [Google Scholar]
 Carrillo, R. E., McEwen, J. D., & Wiaux, Y. 2014, MNRAS, 439, 3591 [Google Scholar]
 Clark, B. G. 1980, A&A, 89, 377 [NASA ADS] [Google Scholar]
 Cornwell, T. J. 2008, IEEE J. Sel. Top. Signal Process., 2, 793 [Google Scholar]
 Cornwell, T. J., & Evans, K. 1985, A&A, 143, 77 [Google Scholar]
 Cornwell, T. J., Golap, K., & Bhatnagar, S. 2008, IEEE J. Sel. Top. Signal Process., 2, 647 [Google Scholar]
 Cox, R. T. 1946, Am. J. Phys., 14, 1 [Google Scholar]
 Dabbech, A., Onose, A., Abdulaziz, A., et al. 2018, MNRAS, 476, 2853 [Google Scholar]
 Enßlin, T. A. 2018, Ann. Phys., 1800127 [Google Scholar]
 Enßlin, T. A., & Frommert, M. 2011, Phys. Rev. D, 83, 105014 [Google Scholar]
 Enßlin, T. A., Frommert, M., & Kitaura, F. S. 2009, Phys. Rev. D, 80, 105005 [Google Scholar]
 Greiner, M., Vacca, V., Junklewitz, H., & Enßlin, T. A. 2016, ArXiv eprints [arXiv:1605.04317] [Google Scholar]
 Gull, S. F., & Skilling, J. 1984, IEE Proceedings F (Communications, Radar and Signal Processing) (IET), 131, 646 [Google Scholar]
 Högbom, J. 1974, A&AS, 15, 417 [Google Scholar]
 Honma, M., Akiyama, K., Uemura, M., & Ikeda, S. 2014, PASJ, 66, 95 [Google Scholar]
 Junklewitz, H., Bell, M., & Enßlin, T. 2015, A&A, 581, A59 [EDP Sciences] [Google Scholar]
 Junklewitz, H., Bell, M., Selig, M., & Enßlin, T. A. 2016, A&A, 586, A76 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Khintchin, A. 1934, Math. Ann., 109, 604 [Google Scholar]
 Kingma, D. P., Salimans, T., & Welling, M. 2015, Advances in Neural Information Processing Systems, 2575 [Google Scholar]
 Knollmüller, J., & Enßlin, T. A. 2019, ArXiv eprints [arXiv:1901.11033] [Google Scholar]
 Lerato Sebokolodi, M., Perley, R., Eilek, J., et al. 2020, ApJ, in press [arXiv:2009.06554] [Google Scholar]
 Offringa, A. R., & Smirnov, O. 2017, MNRAS, 471, 301 [Google Scholar]
 Offringa, A., McKinley, B., HurleyWalker, N., et al. 2014, MNRAS, 444, 606 [Google Scholar]
 Perley, D. A., Perley, R. A., Dhawan, V., & Carilli, C. L. 2017, ApJ, 841, 117 [Google Scholar]
 Rau, U., & Cornwell, T. J. 2011, A&A, 532, A71 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Repetti, A., Pereyra, M., & Wiaux, Y. 2019, SIAM J. Imaging Sci., 12, 87 [Google Scholar]
 Schwab, F. R., & Cotton, W. D. 1983, AJ, 88, 688 [Google Scholar]
 Selig, M., Vacca, V., Oppermann, N., & Enßlin, T. A. 2015, A&A, 581, A126 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Sutter, P. M., Wandelt, B. D., McEwen, J. D., et al. 2014, MNRAS, 438, 768 [Google Scholar]
 Sutton, E. C., & Wandelt, B. D. 2006, A&AS, 162, 401 [Google Scholar]
 Thompson, R. A., Moran, J. M., & Swenson, G. W., Jr 2017, Interferometry and Synthesis in Radio Astronomy (Springer Nature) [Google Scholar]
 Wiener, N. 1949, Extrapolation, Interpolation, and Smoothing of Stationary Time Series (MIT press Cambridge), 2 [Google Scholar]
Appendix A: Supplementary material
Fig. A.1.
Masks used for multiscale CLEAN runs. 
Fig. A.2.
Relative pixelwise posterior uncertainty of resolve runs on linear scale. The two pixels with point sources are ignored in determining the colour bar. 
Fig. A.3.
Residual maps. The first and second column display residual maps computed with the Bayesian weights. The third column displays the residual map for the multiscale CLEAN model image with wsclean weighting. All colour bars have the unit Jy and are defined to be symmetric around zero with maximum five times the median of the absolute values of each image individually. The sign of the residual maps is determined by the r.h.s. of Eq. (31). 
Fig. A.4.
Histogram of (posterior) residuals weighted with σ(ξ^{(σ)}), i.e. both the thermal noise and the Bayesian weighting scheme. Blue and orange bars denote real and imaginary parts, respectively. The black dotted line displays a standard normal Gaussian distribution scaled to the number of data points. For multiscale CLEAN the residuals for both the model and restored image are shown. Histogram counts outside the displayed range are shown in the left and rightmost bin. 
Fig. A.5.
Histogram of noiseweighted (posterior) residuals weighted with wsclean weighting scheme, i.e. both the thermal noise and the imaging weighting scheme employed by wsclean. This weighting scheme has been used for the multiscale CLEAN reconstruction. The histograms are plotted analogously to Fig. A.4. 
Reduced χ^{2} values of all reconstructions weighted with the Bayesian σ(ξ^{(σ)}) and the wsclean weighting scheme.
Fig. A.7.
Comparison multiscale CLEAN (blue, negative regions grey), resolve posterior mean (orange), 2052 MHz, contour lines have multiplicative distances of . 
Fig. A.8.
Overview of imaging results zoomed in to central source. The top row shows the resolve posterior mean, the middle and last row show singlescale CLEAN multiscale CLEAN results, respectively. The colour bar has units Jy arcsec^{−1}. Negative flux regions are displayed in white. 
All Tables
Reduced χ^{2} values of all reconstructions weighted with the Bayesian σ(ξ^{(σ)}) and the wsclean weighting scheme.
All Figures
Fig. 1.
Overview of imaging results. The first column shows the resolve posterior mean, the middle and last column show singlescale CLEAN multiscale CLEAN results, respectively. The colour bar has units Jy arcsec^{−2}. Negative flux regions are displayed in white. See also different scaled version in Fig. A.6. 

In the text 
Fig. 2.
Relative pixelwise posterior uncertainty of resolve runs. All plots are clipped to 0.7 from above and the two pixels with point sources are ignored in determining the colour bar. Their uncertainty is reported in Table 3. 

In the text 
Fig. 3.
Zoomedin version of the singlescale CLEAN reconstruction of the 13.36 GHz data set focusing on the western lobe and rotated anticlockwise by 90 degrees. The colour bar is the same as in Fig. 1. Negative flux regions have been set to lower limit of the colour map. 

In the text 
Fig. 4.
Same as Fig. 3, but with multiscale CLEAN reconstruction. 

In the text 
Fig. 5.
Same as Fig. 3, but with resolve posterior mean. 

In the text 
Fig. 6.
Overview of imaging results. Zoomedin version of Fig. 1 focusing on the eastern hot spot. 

In the text 
Fig. 7.
Comparison of multiscale CLEAN (blue contour lines, grey regions: negative flux regions) and four resolve posterior samples (red) at 13.4 GHz. 

In the text 
Fig. 8.
Posterior samples of the Bayesian weighting scheme α and prior samples for the 13.36 GHz data set. The dashed lines are located at values 0.5 and 1. The latter corresponds to no correction at all. The light grey lines are prior samples that illustrate the flexibility of the a priori assumed Bayesian weighting schemes. 

In the text 
Fig. A.1.
Masks used for multiscale CLEAN runs. 

In the text 
Fig. A.2.
Relative pixelwise posterior uncertainty of resolve runs on linear scale. The two pixels with point sources are ignored in determining the colour bar. 

In the text 
Fig. A.3.
Residual maps. The first and second column display residual maps computed with the Bayesian weights. The third column displays the residual map for the multiscale CLEAN model image with wsclean weighting. All colour bars have the unit Jy and are defined to be symmetric around zero with maximum five times the median of the absolute values of each image individually. The sign of the residual maps is determined by the r.h.s. of Eq. (31). 

In the text 
Fig. A.4.
Histogram of (posterior) residuals weighted with σ(ξ^{(σ)}), i.e. both the thermal noise and the Bayesian weighting scheme. Blue and orange bars denote real and imaginary parts, respectively. The black dotted line displays a standard normal Gaussian distribution scaled to the number of data points. For multiscale CLEAN the residuals for both the model and restored image are shown. Histogram counts outside the displayed range are shown in the left and rightmost bin. 

In the text 
Fig. A.5.
Histogram of noiseweighted (posterior) residuals weighted with wsclean weighting scheme, i.e. both the thermal noise and the imaging weighting scheme employed by wsclean. This weighting scheme has been used for the multiscale CLEAN reconstruction. The histograms are plotted analogously to Fig. A.4. 

In the text 
Fig. A.6.
Same As Fig. 1, but with a saturated colour bar. The colour bar has units Jy arcsec^{−2}. 

In the text 
Fig. A.7.
Comparison multiscale CLEAN (blue, negative regions grey), resolve posterior mean (orange), 2052 MHz, contour lines have multiplicative distances of . 

In the text 
Fig. A.8.
Overview of imaging results zoomed in to central source. The top row shows the resolve posterior mean, the middle and last row show singlescale CLEAN multiscale CLEAN results, respectively. The colour bar has units Jy arcsec^{−1}. Negative flux regions are displayed in white. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.