词条 | Gaussian process |
释义 |
In probability theory and statistics, a Gaussian process is a stochastic process (a collection of random variables indexed by time or space), such that every finite collection of those random variables has a multivariate normal distribution, i.e. every finite linear combination of them is normally distributed. The distribution of a Gaussian process is the joint distribution of all those (infinitely many) random variables, and as such, it is a distribution over functions with a continuous domain, e.g. time or space. A machine-learning algorithm that involves a Gaussian process uses lazy learning and a measure of the similarity between points (the kernel function) to predict the value for an unseen point from training data. The prediction is not just an estimate for that point, but also has uncertainty information—it is a one-dimensional Gaussian distribution (which is the marginal distribution at that point).[1] For some kernel functions, matrix algebra can be used to calculate the predictions using the technique of kriging. When a parameterised kernel is used, optimisation software is typically used to fit a Gaussian process model. The concept of Gaussian processes is named after Carl Friedrich Gauss because it is based on the notion of the Gaussian distribution (normal distribution). Gaussian processes can be seen as an infinite-dimensional generalization of multivariate normal distributions. Gaussian processes are useful in statistical modelling, benefiting from properties inherited from the normal. For example, if a random process is modelled as a Gaussian process, the distributions of various derived quantities can be obtained explicitly. Such quantities include the average value of the process over a range of times and the error in estimating the average using sample values at a small set of times. DefinitionA time continuous stochastic process is Gaussian if and only if for every finite set of indices in the index set is a multivariate Gaussian random variable.[2] That is the same as saying every linear combination of has a univariate normal (or Gaussian) distribution. Using characteristic functions of random variables, the Gaussian property can be formulated as follows: is Gaussian if and only if, for every finite set of indices , there are real-valued , with such that the following equality holds for all . where denotes the imaginary unit such that . The numbers and can be shown to be the covariances and means of the variables in the process.[3] VarianceThe variance of a Gaussian process is finite at any time , formally[4]{{rp|p. 515}} . StationarityFor general stochastic processes strict-sense stationarity implies wide-sense stationarity but not every wide-sense stationary stochastic process is strict-sense stationary. However, for a Gaussian stochastic process the two concepts are equivalent.[4]{{rp|p. 518}} A Gaussian stochastic process is strict-sense stationary if, and only if, it is wide-sense stationary. Covariance functionsA key fact of Gaussian processes is that they can be completely defined by their second-order statistics.[5] Thus, if a Gaussian process is assumed to have mean zero, defining the covariance function completely defines the process' behaviour. Importantly the non-negative definiteness of this function enables its spectral decomposition using the Karhunen–Loève expansion. Basic aspects that can be defined through the covariance function are the process' stationarity, isotropy, smoothness and periodicity.[6][7] Stationarity refers to the process' behaviour regarding the separation of any two points and . If the process is stationary, it depends on their separation, , while if non-stationary it depends on the actual position of the points and . For example, the special case of an Ornstein–Uhlenbeck process, a Brownian motion process, is stationary. If the process depends only on , the Euclidean distance (not the direction) between and , then the process is considered isotropic. A process that is concurrently stationary and isotropic is considered to be homogeneous;[8] in practice these properties reflect the differences (or rather the lack of them) in the behaviour of the process given the location of the observer. Ultimately Gaussian processes translate as taking priors on functions and the smoothness of these priors can be induced by the covariance function.[6] If we expect that for "near-by" input points and their corresponding output points and to be "near-by" also, then the assumption of continuity is present. If we wish to allow for significant displacement then we might choose a rougher covariance function. Extreme examples of the behaviour is the Ornstein–Uhlenbeck covariance function and the squared exponential where the former is never differentiable and the latter infinitely differentiable. Periodicity refers to inducing periodic patterns within the behaviour of the process. Formally, this is achieved by mapping the input to a two dimensional vector . Usual covariance functionsThere are a number of common covariance functions:[7]
Here . The parameter ℓ is the characteristic length-scale of the process (practically, "how close" two points and have to be to influence each other significantly), δ is the Kronecker delta and σ the standard deviation of the noise fluctuations. Moreover, is the modified Bessel function of order and is the gamma function evaluated at . Importantly, a complicated covariance function can be defined as a linear combination of other simpler covariance functions in order to incorporate different insights about the data-set at hand. Clearly, the inferential results are dependent on the values of the hyperparameters θ (e.g. ℓ and σ) defining the model's behaviour. A popular choice for θ is to provide maximum a posteriori (MAP) estimates of it with some chosen prior. If the prior is very near uniform, this is the same as maximizing the marginal likelihood of the process; the marginalization being done over the observed process values .[7] This approach is also known as maximum likelihood II, evidence maximization, or empirical Bayes.[9] ContinuityFor a Gaussian process, continuity in probability is equivalent to mean-square continuity, [10]{{rp|145}} and continuity with probability one is equivalent to sample continuity.[11]{{rp|91 "Gaussian processes are discontinuous at fixed points."}} The latter implies, but is not implied by, continuity in probability. Continuity in probability holds if and only if the mean and autocovariance are continuous functions. In contrast, sample continuity was challenging even for stationary Gaussian processes (as probably noted first by Andrey Kolmogorov), and more challenging for more general processes.[12]{{rp|Sect. 2.8}} [13]{{rp|69,81}} [14]{{rp|80}} [15]As usual, by a sample continuous process one means a process that admits a sample continuous modification. [16]{{rp|292}} [17]{{rp|424}} Stationary caseFor a stationary Gaussian process some conditions on its spectrum are sufficient for sample continuity, but fail to be necessary. A necessary and sufficient condition, sometimes called Dudley-Fernique theorem, involves the function defined by (the right-hand side does not depend on due to stationarity). Continuity of in probability is equivalent to continuity of at When convergence of to (as ) is too slow, sample continuity of may fail. Convergence of the following integrals matters: these two integrals being equal according to integration by substitution The first integrand need not be bounded as thus the integral may converge () or diverge (). Taking for example for large that is, for small one obtains when and when In these two cases the function is increasing on but generally it is not. Moreover, the condition there exists such that is monotone on does not follow from continuity of and the evident relations (for all ) and Theorem 1. Let be continuous and satisfy Then the condition is necessary and sufficient for sample continuity ofSome history.[17]{{rp|424}} Sufficiency was announced by Xavier Fernique in 1964, but the first proof was published by Richard M. Dudley in 1967.[16]{{rp|Theorem 7.1}} Necessity was proved by Michael B. Marcus and Lawrence Shepp in 1970.[18]{{rp|380}} There exist sample continuous processes such that they violate condition An example found by Marcus and Shepp [18]{{rp|387}} is a random lacunary Fourier series where are independent random variables with standard normal distribution; frequencies are a fast growing sequence; and coefficients satisfy The latter relation implies whence almost surely, which ensures uniform convergence of the Fourier series almost surely, and sample continuity of Its autocovariation function is nowhere monotone (see the picture), as well as the corresponding function Brownian motion as the integral of Gaussian processesA Wiener process (aka Brownian motion) is the integral of a white noise generalized Gaussian process. It is not stationary, but it has stationary increments. The Ornstein–Uhlenbeck process is a stationary Gaussian process. The Brownian bridge is (like the Ornstein–Uhlenbeck process) an example of a Gaussian process whose increments are not independent. The fractional Brownian motion is a Gaussian process whose covariance function is a generalisation of that of the Wiener process. ApplicationsA Gaussian process can be used as a prior probability distribution over functions in Bayesian inference.[7][20] Given any set of N points in the desired domain of your functions, take a multivariate Gaussian whose covariance matrix parameter is the Gram matrix of your N points with some desired kernel, and sample from that Gaussian. Inference of continuous values with a Gaussian process prior is known as Gaussian process regression, or kriging; extending Gaussian process regression to multiple target variables is known as cokriging.[21] Gaussian processes are thus useful as a powerful non-linear multivariate interpolation tool. Gaussian process regression can be further extended to address learning tasks in both supervised (e.g. probabilistic classification[7]) and unsupervised (e.g. manifold learning[5]) learning frameworks. Gaussian processes can also be used in the context of mixture of experts models, for example.[22][23] The underlying rationale of such a learning framework consists in the assumption that a given mapping cannot be well captured by a single Gaussian process model. Instead, the observation space is divided into subsets, each of which is characterized by a different mapping function; each of these is learned via a different Gaussian process component in the postulated mixture. Gaussian process prediction, or krigingWhen concerned with a general Gaussian process regression problem (kriging), it is assumed that for a Gaussian process f observed at coordinates x, the vector of values {{tmath|f(x)}} is just one sample from a multivariate Gaussian distribution of dimension equal to number of observed coordinates {{tmath|n}}. Therefore, under the assumption of a zero-mean distribution, {{tmath|f (x) \\sim N (0, K(\\theta,x,x'))}}, where {{tmath|K(\\theta,x,x')}} is the covariance matrix between all possible pairs {{tmath|(x,x')}} for a given set of hyperparameters θ.[7] As such the log marginal likelihood is: and maximizing this marginal likelihood towards θ provides the complete specification of the Gaussian process f. One can briefly note at this point that the first term corresponds to a penalty term for a model's failure to fit observed values and the second term to a penalty term that increases proportionally to a model's complexity. Having specified θ making predictions about unobserved values {{tmath|f(x^*)}} at coordinates x* is then only a matter of drawing samples from the predictive distribution where the posterior mean estimate A is defined as and the posterior variance estimate B is defined as: where {{tmath|K(\\theta,x^*,x)}} is the covariance between the new coordinate of estimation x* and all other observed coordinates x for a given hyperparameter vector θ, {{tmath|K(\\theta,x,x')}} and {{tmath|f(x)}} are defined as before and {{tmath|K(\\theta,x^*,x^*)}} is the variance at point x* as dictated by θ. It is important to note that practically the posterior mean estimate {{tmath|f(x^*)}} (the "point estimate") is just a linear combination of the observations {{tmath|f(x)}}; in a similar manner the variance of {{tmath|f(x^*)}} is actually independent of the observations {{tmath|f(x)}}. A known bottleneck in Gaussian process prediction is that the computational complexity of prediction is cubic in the number of points |x| and as such can become unfeasible for larger data sets.[6] Works on sparse Gaussian processes, that usually are based on the idea of building a representative set for the given process f, try to circumvent this issue.[24][25] See also
Notes1. ^{{cite web|url=http://platypusinnovation.blogspot.co.uk/2016/05/a-simple-intro-to-gaussian-processes.html|title=Platypus Innovation: A Simple Intro to Gaussian Processes (a great data modelling tool)|date=2016-05-10}} 2. ^{{cite book| last=MacKay | first=David, J.C.| authorlink=David J.C. MacKay| title=Information Theory, Inference, and Learning Algorithms |year=2003 | pages=540|publisher=Cambridge University Press| isbn=9780521642989|url=http://www.inference.phy.cam.ac.uk/itprnn/book.pdf | quote=The probability distribution of a function is a Gaussian processes if for any finite selection of points , the density is a Gaussian}} 3. ^{{cite book |last=Dudley |first=R.M. |title=Real Analysis and Probability |year=1989 |publisher=Wadsworth and Brooks/Cole}} 4. ^1 {{cite book|author=Amos Lapidoth|title=A Foundation in Digital Communication|url=https://books.google.com/books?id=6oTuDQAAQBAJ&printsec=frontcover#v=onepage&q=independence&f=false|date=8 February 2017|publisher=Cambridge University Press|isbn=978-1-107-17732-1}} 5. ^1 {{cite book |last=Bishop |first=C.M. |title= Pattern Recognition and Machine Learning |year=2006 |publisher=Springer |isbn=978-0-387-31073-2}} 6. ^1 2 {{cite book |last=Barber |first=David |title=Bayesian Reasoning and Machine Learning |url=http://web4.cs.ucl.ac.uk/staff/D.Barber/pmwiki/pmwiki.php?n=Brml.HomePage |year=2012 |publisher=Cambridge University Press |isbn=978-0-521-51814-7}} 7. ^1 2 3 4 5 {{cite book |last=Rasmussen |first=C.E. |author2=Williams, C.K.I |title=Gaussian Processes for Machine Learning |url=http://www.gaussianprocess.org/gpml/ |year=2006 |publisher=MIT Press |isbn=978-0-262-18253-9}} 8. ^{{cite book |last=Grimmett |first=Geoffrey |author2=David Stirzaker|title= Probability and Random Processes| year=2001 |publisher=Oxford University Press |isbn=978-0198572220}} 9. ^{{cite journal |last1= Seeger| first1= Matthias |year= 2004 |title= Gaussian Processes for Machine Learning|journal= International Journal of Neural Systems|volume= 14|issue= 2|pages= 69–104 |doi=10.1142/s0129065704001899| pmid= 15112367 | citeseerx= 10.1.1.71.1079 }} 10. ^{{cite book |chapterurl=https://www.mathunion.org/fileadmin/ICM/Proceedings/ICM1974.2/ICM1974.2.ocr.pdf |title=Proceedings of the International Congress of Mathematicians |editors= |first=R. M. |last=Dudley |authorlink=Richard M. Dudley |year=1975 |volume=2 |pages=143–146 |chapter=The Gaussian process and how to approach it}} 11. ^{{cite journal |first=R. M. |last=Dudley |authorlink=Richard M. Dudley |title=Sample functions of the Gaussian process |journal=Annals of Probability |volume=1 |issue=1 |pages=66–103 |year=1973 |quote=|doi=10.1007/978-1-4419-5821-1_13 |isbn=978-1-4419-5820-4 }} 12. ^{{cite book |last=Talagrand |first=Michel |author-link=Michel Talagrand |title=Upper and lower bounds for stochastic processes: modern methods and classical problems |year=2014 |publisher=Springer, Heidelberg |isbn=978-3-642-54074-5 |url=https://www.springer.com/gp/book/9783642540745}} 13. ^{{cite book |title=Lecture Notes in Mathematics |editors= |first=Michel |last=Ledoux |authorlink=Michel Ledoux |year=1994 |volume=1648 |publisher=Springer, Berlin |pages=165–294 |chapter=Isoperimetry and Gaussian analysis|doi=10.1007/BFb0095676 |title-link = Lecture Notes in Mathematics|isbn = 978-3-540-62055-6}} 14. ^{{cite journal |last=Adler |first=Robert J. |author-link=Robert Adler |title=An introduction to continuity, extrema, and related topics for general Gaussian processes |journal=Lecture Notes-Monograph Series |volume=12 |pages=i–155 |year=1990 |publisher=Institute of Mathematical Statistics |isbn= |jstor=4355563 }} 15. ^{{cite journal |title=Review of: Adler 1990 'An introduction to continuity...' |first=Simeon M. |last=Berman |date=1992 |journal=Mathematical Reviews|mr = 1088478}} 16. ^1 {{cite journal |first=R. M. |last=Dudley |authorlink=Richard M. Dudley |title=The sizes of compact subsets of Hilbert space and continuity of Gaussian processes |journal=Journal of Functional Analysis |volume=1 |issue= 3|pages=290–330 |year=1967 |url=https://www.sciencedirect.com/science/article/pii/0022123667900171|doi=10.1016/0022-1236(67)90017-1 }} 17. ^1 {{cite book |chapterurl=https://projecteuclid.org/euclid.bsmsp/1200514231 |title=Proceedings of the sixth Berkeley symposium on mathematical statistics and probability, vol. II: probability theory |editors= |first1=M.B. |last1=Marcus |first2=Lawrence A. |last2=Shepp |authorlink2=Lawrence Shepp |year=1972 |volume= |publisher=Univ. California, Berkeley |pages=423–441 |chapter=Sample behavior of Gaussian processes}} 18. ^1 {{cite journal |first1=Michael B. |last1=Marcus |first2=Lawrence A. |last2=Shepp |authorlink2=Lawrence Shepp |title=Continuity of Gaussian processes |journal=Transactions of the American Mathematical Society |volume=151 |issue= 2|pages=377–391 |year=1970 |doi=10.2307/1995502|jstor=1995502 }} 19. ^The documentation for scikit-learn also has similar examples. 20. ^{{cite book |last=Liu |first=W. |author2=Principe, J.C. |author3=Haykin, S. |title=Kernel Adaptive Filtering: A Comprehensive Introduction |url=http://www.cnel.ufl.edu/~weifeng/publication.htm |year=2010 |publisher=John Wiley |isbn=978-0-470-44753-6}} 21. ^{{cite book |last=Stein |first=M.L. |title=Interpolation of Spatial Data: Some Theory for Kriging |year=1999 |publisher = Springer}} 22. ^Emmanouil A. Platanios and Sotirios P. Chatzis, “Gaussian Process-Mixture Conditional Heteroscedasticity,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 36, no. 5, pp. 888–900, May 2014. 23. ^Sotirios P. Chatzis, “A Latent Variable Gaussian Process Model with Pitman-Yor Process Priors for Multiclass Classification,” Neurocomputing, vol. 120, pp. 482–489, Nov. 2013. 24. ^{{cite journal |last1= Smola| first1= A.J.| last2=Schoellkopf | first2= B. |year= 2000 |title= Sparse greedy matrix approximation for machine learning |journal= Proceedings of the Seventeenth International Conference on Machine Learning| pages=911–918}} 25. ^{{cite journal |last1= Csato| first1=L.| last2=Opper | first2= M. |year= 2002 |title= Sparse on-line Gaussian processes |journal= Neural Computation |number=3| volume= 14 | pages=641–668 | doi=10.1162/089976602317250933| pmid=11860686| citeseerx=10.1.1.335.9713}} External links
Software
Video tutorials
4 : Stochastic processes|Kernel methods for machine learning|Nonparametric Bayesian statistics|Normal distribution |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。