Probing Bayesian credible regions intrinsically: a feasible error certification for physical systems
C. Oh, Y. S. Teo, H. Jeong

TL;DR
This paper introduces a new method for efficiently certifying the error and credibility of Bayesian estimators in physical systems, especially quantum state tomography, using average log-likelihoods instead of computationally intensive sampling.
Contribution
It reformulates Bayesian credible-region theory to rely on region averages, enabling feasible error certification without rejection sampling or full parameter space knowledge.
Findings
Region-average log-likelihood suffices for size and credibility estimation.
Analytical formulas for $l_2$-norm distance provide asymptotic error certification.
Method applicable to large datasets and quantum systems without Monte Carlo methods.
Abstract
Computing size and credibility of Bayesian credible regions for certifying the reliability of any point estimator of an unknown parameter (such as a quantum state, channel, phase, \emph{etc.}) relies on rejection sampling from the entire parameter space that is practically infeasible for large datasets. We reformulate the Bayesian credible-region theory to show that both properties can be obtained solely from the average of log-likelihood over the region itself, which is computable with direct region sampling. Neither rejection sampling nor any geometrical knowledge about the whole parameter space is necessary, so that general error certification now becomes feasible. We take this region-average theory to the next level by generalizing size to the average -norm distance between a random region point and the estimator, and present analytical formulas for to estimate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Probing Bayesian credible regions intrinsically: a feasible error certification for physical systems
C. Oh
Center for Macroscopic Quantum Control, Department of Physics and Astronomy, Seoul National University, 08826 Seoul, South Korea
Y. S. Teo
Center for Macroscopic Quantum Control, Department of Physics and Astronomy, Seoul National University, 08826 Seoul, South Korea
Frontier Physics Research Division, Department of Physics and Astronomy, Seoul National University, 08826 Seoul, South Korea
H. Jeong
Center for Macroscopic Quantum Control, Department of Physics and Astronomy, Seoul National University, 08826 Seoul, South Korea
Abstract
Standard computation of size and credibility of a Bayesian credible region for certifying any point estimator of an unknown parameter (such as a quantum state, channel, phase, etc.) requires selecting points that are in the region from a finite parameter-space sample, which is infeasible for a large dataset or dimension as the region would then be extremely small. We solve this problem by introducing the in-region sampling theory to compute both region qualities just by sampling appropriate functions over the region itself using any Monte Carlo sampling method. We take in-region sampling to the next level by understanding the credible-region capacity (an alternative description for the region content to size) as the average -norm distance between a random region point and the estimator, and present analytical formulas for to estimate both the capacity and credibility for any dimension and sufficiently large dataset without Monte Carlo sampling, thereby providing a quick alternative to Bayesian certification. All results are discussed in the context of quantum-state tomography.
*Introduction.—*Parameter reconstruction from datasets is a preliminary task in the study of natural sciences. In quantum theory, proper reconstruction of quantum states Smithey et al. (1993); Chuang and Nielsen (2000); Řeháček et al. (2007); Teo et al. (2011a); Zhu (2014), quantum channels O’Brien et al. (2004); Teo et al. (2011b); Fiurášek (2015); Varga et al. (2018), interferometric phases Caves (1981); Dorner et al. (2009), etc., is the root to successful executions of all quantum-information protocols Ladd et al. (2010); Demkowicz-Dobrzański et al. (2015); Campbell et al. (2017); Ladd et al. (2010); Lekitsch et al. (2017). A parameter estimator must be accompanied by an appropriate error certification to ascertain its reliability for future physical predictions. Bootstrapping or resampling Efron and Tibshirani (1993); Davison and Hinkley (1997), which generates mock data from collected ones to obtain “error-bars”, can result in highly overoptimistic “error-bar” lengths Suess et al. (2017) that do not accurately characterize the estimator. From the principles of hypothesis testing, one can instead construct Bayesian credible regions Shang et al. (2013); Li et al. (2016) based on the collected data. These credible regions are distinct from the frequentists’ confidence regions Christandl and Renner (2012); Blume-Kohout (2012); Faist and Renner (2016), which are constructed from the complete (often assumed) distribution of estimators that includes all unobserved ones in the experiment.
A credible region , which is a Bayesian error region constructed from experimentally observed data , requires the specification of its size and credibility, which is the probability that the true parameter is inside . It is well-known from Shang et al. (2013) that the latter is readily derived so long as the functional behavior of the former with the shape of is known. As the size of is defined as the volume fraction of the full parameter space , its computation conventionally requires one to first obtain a large sample of points in , and later discard (usually very many) points that are outside . Acquiring a sufficiently large sample of for a subsequently accurate sample filtering is doable with a number of Monte Carlo (MC) methods Shang et al. (2015); Seah et al. (2015), most notably the Hamiltonian Markov-chain MC, provided that is not small. In practice, however, when data sample-size becomes even moderately large, the region (of size Teo et al. (2018) for a -dimensional parameter) is too tiny for any MC-filtering sampling to be practically feasible. In Teo et al. (2018); Oh et al. (2018), closed-form approximations are given to estimate both region qualities for large without MC-filtering, with the premise that the volume of is known.
In this Letter, we develop an in-region sampling theory to compute the size and credibility with neither MC-filtering from nor any geometrical knowledge about (such as its volume). We first prove the central lemma which states that both region qualities are computable from the average of log-likelihood over . We next discuss the hit-and-run MC algorithm Bélisle et al. (1993); Smith (1996); Lovász and Vempala (2006); Kiatsupaibul et al. (2011) as one of the many numerical tools to perform direct region-average computation. As a strategic bonus, we make use of the region-average concept in in-region sampling to define the region capacity of induced by an -norm () between two points in . This would allow us to derive fully operational asymptotic approximation formulas for (squared-error metric) to carry out rapid error certifications without numerical computations. All results are demonstrated and verified for multi-qubit tomography.
*Error-region size and credibility.—*For a given informationally complete (IC) dataset , we would like to reconstruct the unknown -dimensional parameter (vectorial in general) that fully characterizes some physical system. We shall assume that the parameter space (of quantum states, channels, Cartesian-product of independent quantities, etc.) for the physical system of interest is convex, and take the unique estimator to be the maximum-likelihood (ML) estimator Aldrich (1997); Řeháček et al. (2007); Teo (2015), that is the estimator that maximizes the likelihood . It was formally shown in Shang et al. (2013) that the optimal Bayesian credible region (CR) for has an isolikelihood boundary —a boundary of constant likelihood—and every interior point possessing a likelihood (see Fig. 1). Its size and credibility are
[TABLE]
where the volume measure incorporates some prescribed prior distribution , is the Heaviside function, , and characterizes the shape and size of , so that and . Hence, measures the total prior content of that monotonically decreases with increasing , and its posterior content that expresses the probability that . Both (pre-chosen to be 0.95 say) and the corresponding are reported together with . The relation
[TABLE]
means that a single -integration for is sufficient to acquire Shang et al. (2013). In realistic experiments, where the desired number of data copies is usually large (which we assume unless otherwise stated), the likelihood becomes a Gaussian function owing to the central limit theorem and peaks strongly around . In this case, becomes very small even for small or large (the desired situation). Therefore, MC-filtering produces almost no yield as such a finite sample would surely miss for a reasonably high .
We inform that one systematic guide to report error regions is to invoke the elegant notion of evidence, which leads to the so-called plausible region Li et al. (2016); Evans (2016); Al-Labadi et al. (2018); Teo et al. (2018); Oh et al. (2018) for , in which all points have posterior probabilities larger than or equal to their prior probabilities—a physical measure of statistical significance. Then should not exceed the credibility of this plausible region in order for the CR to contain only plausible points (refer to our companion article Oh et al. (2019) for details).
*In-region sampling theory.—*We shall now propose a way to compute both and without MC-filtering. The physical intuition behind our theory is to realize that if one inspects the average of some quantity over the region [formally denoted by ], then its rate of change with actually encodes information about the behavior of with . A shrinkage of , for example, translates to an exclusion of some values from the region-average. More precisely, this leads to the
Region-average computation (RAC) lemma: For any prior and , the prior content (up to a multiplicative factor), and hence the credibility , are all inferable from the -average quantity .
We prove this lemma by taking the first-order derivative of in . Upon noting that , we end up with the following first-order differential equation
[TABLE]
that characterizes the full evolution of given the boundary value . Equation (3) can be solved easily by iterating following Euler’s method Butcher (2003), so that can thereafter be computed using Eq. (2). This closes our constructive proof of the RAC lemma.
For any prior distribution , there exist many MC Shang et al. (2015); Del Moral et al. (2006) schemes to compute , many of which use Markov-chain algorithms. Hit-and-run sampling Bélisle et al. (1993); Smith (1996); Lovász and Vempala (2006); Kiatsupaibul et al. (2011) is one such extensively-studied scheme. The mechanism behind hit-and-run starts with the construction of a simple finite convex set . For and some , two general cases exist as shown in Fig. 1. In Case A, we define as the hyperellipsoid centered at that profiles the Gaussian whenever is an interior point. In Case B, where is a boundary point on , we set as the (truncated) hyperellipsoid centered at , where is the Fisher information evaluated at and . Next, starting from a reference point in , say the ML estimator , a finite line segment, with endpoints on , passing through this point is generated and a random point is picked repeatedly along this line until it lies in , thereafter becoming the next reference through which a new finite line segment is generated to find the next point in . The final sample is then used to compute any -average quantity. The key point is that a hyperellipsoidal for hit-and-run is constructed based on the central limit theorem, where the condition guarantees that the physical region is asymptotically contained in . To play it safe, a good idea would be to choose a hyperellipsoid that is, say, twice the size of the supposed one given by the theorem.
Beginning with and of , the accelerated version of hit-and-run Bélisle et al. (1993); Smith (1996); Kiatsupaibul et al. (2011) for any given prior distribution runs as follows: 1. Generate a random line segment characterized by , where and follows the standard Gaussian distribution (mean 0 and variance 1 for each column entry). Its endpoints are parametrized by , where , , , , , [ and for Case A]. 2. Define and . 3. Pick a random number according to the marginal probability distribution truncated in the interval [] and obtain . 4. Determine whether . If so, define , raise by 1, and go to 1. If not, set if or if , and repeat 3 and 4. Sampling terminates when for a prechosen .
We emphasize that the Gaussian approximation serves only as an efficient guide to contain the sampling space. An additional criterion that may be used to further ensure that all sampled points truly lie in , although this is almost always the case for . One main technical issue for Markov-chain schemes is that the convergence rate is strongly dependent on the starting point (finite sample-point correlation). It is well-known, however, that hit-and-run converges fast to (with essentially polynomial complexity) so long as it starts from any interior point. As an example in 4-qubit tomography, such an interior point can be generated in about 10 seconds per with and 4096 measurement outcomes using accelerated projected gradient method Shang et al. (2017) to minimize the function 32 times (see for instance Lovász and Vempala (2006); Lovász (1999) and our companion article Oh et al. (2019) for more technical discussions).
*Region capacity.—*The region-average methodology used to feasibly compute (and ) invites more options to gauge the capacity of . Instead of measuring prior contents, we may check how close is a randomly-chosen point in from on average. Formally, the -average
[TABLE]
for the capacity of now depends additionally on the metric one chooses to measure this average distance.
One can argue that if the metric is an -norm of , monotonically decreases with when for an appropriate . To see this we begin with . According to Fig. 2, after the substitution , we have for the more complicated Case B,
[TABLE]
The same conclusion for Case A follows by definition, and remains unchanged also for since is also monotonic in . These imply that induced by any -norm behaves as a proper capacity measure in the limit under a sufficient class of priors that includes the uniform primitive prior. The new practice for Bayesian CR certification is then to report the three-tuple for some .
*Analytical error certification with region capacity.—*It turns out that the approximated extensions of all integrals to the whole space free all -average quantities from any geometrical dependence on , unlike that asymptotically depends on ’s volume Teo et al. (2018). We may then use this observation to acquire asymptotic formulas for and to perform approximate analytical error certifications. To this end, we regard induced by the squared -norm (), , as the prototypical metric-induced capacity measure for . Let us first discuss the case in which is an interior point of (Case A). Since , finding becomes the business of doing a hyperellipsoidal average of . This gets us to
[TABLE]
The logarithmic divergences in , a derivation byproduct from Gaussian approximation of and relaxation of , pose no ill consequence so long as is sufficiently large such that for all values that give desirably large .
The situation becomes more complicated for Case B, which demands geometrical knowledge about for an exact calculation of (see Fig. 3). This tempts us to use a first-order approximation by expanding the likelihood about to a Gaussian function of hyperellipsoidal- profile centered at , and next introducing a hyperplane containing that is tangent to its isoGaussian (constant-Gaussian-value) contour. is then a hyperellipsoidal-cap (formed by the hyperplane and the hyperellipsoid from the Gaussian expansion of ) average. We refer the Reader to Sec. VII of our companion article for all related technical calculations, and simply state the final formulas:
[TABLE]
involving , , depending on the incomplete beta function , and
[TABLE]
It is easy to see that Eqs. (7) and (8) include Case A by recognizing that the “effective ” () approaches (), so that gives and .
*Discussions for quantum-state tomography.—*All results presented thus far apply to arbitrary physical systems. Here, we specifically investigate quantum-state tomography, thereby endowing explicit forms to all important quantities that are pertinent to Bayesian CR error certification.
For an unknown quantum state of Hilbert-space dimension , every data-copy measurement in a tomography experiment is usually mutually independent, so that the log-likelihood catalogs the relative frequency data of all measurement outcomes , each with the Born probability . We can express and in terms of the Hermitian basis such that and , so that we may denote the ()-dimensional and . This leads to () and for the ML state estimator of ML probabilities . In concrete terms, for Case A, is full rank, such that the CR ; whereas for Case B, is rank-deficient and is therefore approximately a truncated (covariance profile of the Gaussian expansion of about ) by the quantum-state space —the convex set of unit-trace positive operators. The uniform is assumed.
To compare with the closed-form approximations in Eqs. (6) and (7), we pick the -norm to measure the region capacity of , which is equivalent to the Hilbert-Schmidt (HS) distance for quantum states. We emphasize that for sufficiently large , all arguments leading to the monotonicity of still applies for Case B as . Figures 4 and 5 showcase our in-region sampling theory. The matches in both Case A and B between theory and hit-and-run sampling are very good for moderate , but are expected to have some discrepancies for more complex systems due to the more pronounced corners in Bengtsson et al. (2013). Instead, accelerated hit-and-run can be used, the complexity of which are analyzed in our companion article.
*Conclusions.—*In realistic multi-dimensional parameter estimation problems, sufficiently large dataset almost exclusively results in extremely small Bayesian credible regions relative to the entire parameter space. The conventional practice of first doing Monte Carlo to sample the parameter space followed by sample filtering almost always fails to accurately construct such small error regions. Our technique of in-region sampling developed in this Letter is capable of constructing any such small regions efficiently with perfect yield. In-region sampling is equivalent to computing region-averages that is efficient with a wide range of numerical methods. The region-average perspective of in-region sampling allows us to operationally formulate an alternative concept of region capacity through averaging any distance norm between two credible-region points, for which, in the special case , closed-form approximation formulas to facilitate ultrafast analytical Bayesian error estimations with sufficiently large datasets are readily available. Either way, efficient Bayesian error certifications can now be carried out on physical systems of varying complexity. For exceedingly large quantum systems where Monte Carlo computations start to become visibly taxing, these asymptotic formulas can serve as large-scale approximate certifiers at least for high credibility values.
Acknowledgements.
The authors thank J. Shang for fruitful discussions, and acknowledge financial support from the BK21 Plus Program (21A20131111123) funded by the Ministry of Education (MOE, Korea) and National Research Foundation of Korea (NRF), the framework of international cooperation program managed by the NRF (NRF-2018K2A9A1A06069933), and the Basic Science Research Program through the NRF funded by the Ministry of Education (No. 2018R1D1A1B07048633).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Smithey et al. (1993) D. T. Smithey, M. Beck, M. G. Raymer, and A. Faridani, “Measurement of the Wigner distribution and the density matrix of a light mode using optical homodyne tomography: Application to squeezed states and the vacuum,” Phys. Rev. Lett. 70 , 1244–1247 (1993) .
- 2Chuang and Nielsen (2000) I. Chuang and M. Nielsen, Quantum Computation and Quantum Information (Cambridge University Press, Cambridge, 2000).
- 3Řeháček et al. (2007) J. Řeháček, Z. Hradil, E. Knill, and A. I. Lvovsky, “Diluted maximum-likelihood algorithm for quantum tomography,” Phys. Rev. A 75 , 042108 (2007) . · doi ↗
- 4Teo et al. (2011 a) Y. S. Teo, H. Zhu, B.-G. Englert, J. Řeháček, and Z. Hradil, “Quantum-state reconstruction by maximizing likelihood and entropy,” Phys. Rev. Lett. 107 , 020404 (2011 a) . · doi ↗
- 5Zhu (2014) H. Zhu, “Quantum state estimation with informationally overcomplete measurements,” Phys. Rev. A 90 , 012115 (2014) . · doi ↗
- 6O’Brien et al. (2004) J. L. O’Brien, G. J. Pryde, A. Gilchrist, D. F. V. James, N. K. Langford, T. C. Ralph, and A. G. White, “Quantum process tomography of a controlled-not gate,” Phys. Rev. Lett. 93 , 080502 (2004) . · doi ↗
- 7Teo et al. (2011 b) Y. S. Teo, B.-G. Englert, J. Řeháček, and Z. Hradil, “Adaptive schemes for incomplete quantum process tomography,” Phys. Rev. A 84 , 062125 (2011 b) . · doi ↗
- 8Fiurášek (2015) J. Fiurášek, “Continuous-variable quantum process tomography with squeezed-state probes,” Phys. Rev. A 92 , 022101 (2015) . · doi ↗
