Bayesian Models of Graphs, Arrays and Other Exchangeable Random Structures
Peter Orbanz, Daniel M. Roy
I Introduction
For data represented by exchangeable sequences, Bayesian nonparametrics has developed into a flexible and powerful toolbox of models and algorithms. Its modeling primitives—Dirichlet processes, Gaussian processes, etc.—are widely applied and well-understood, and can be used as components in hierarchical models or dependent models to address a wide variety of data analysis problems. One of the main challenges for Bayesian statistics and machine learning is arguably to extend this toolbox to the analysis of data sets with additional structure, such as graph, network, and relational data.
In this article, we consider structured data—sequences, graphs, trees, matrices, etc.—and ask:
What is the appropriate class of statistical models for a given type of structured data?
Representation theorems for exchangeable random structures lead us to an answer, and they do so in a very precise way: They characterize the class of possible Bayesian models for the given type of data, show how these models are parametrized, and even provide basic convergence guarantees. The probability literature provides such results for dozens of exchangeable random structures, including sequences, graphs, partitions, arrays, trees, etc. The purpose of this article is to explain how to interpret these results and how to translate them into a statistical modeling approach.
Consider a data analysis problem in which observations are represented as edges in a graph. As we observe more data, the graph grows. For statistical purposes, we might model the graph as a sample from some probability distribution on graphs. Can we estimate the distribution or, at least, some of its properties? If we observed multiple graphs, all sampled independently from the same distribution, we would be in the standard setting of statistical inference. For many problems in e.g. network analysis, that is clearly not the approach we are looking for: There is just one graph, and so our sample size should relate to the size of the graph. Of course, we could assume that the edges are independent and identically distributed random variables, and estimate their distribution—that would indeed be a way of performing inference within a single graph. The resulting model, however, is sensitive only to the number of edges in a graph and so has only a single parameter , the probability that an edge is present. What are more expressive models for graph-valued data?
Compare the problem to a more familiar one, where data is represented by a random sequence , whose elements take values in a sample space , and observations are interpreted as the values of the initial elements of the sequence. In this case, a statistical model is a family of distributions on , indexed by elements of some parameter space . If the sequence is exchangeable, de Finetti’s theorem tells us that there is some model and some distribution on such that the joint distribution of is
This means the sequence can be generated by first generating a random parameter value , and then sampling . In particular, the elements of the sequence are conditionally i.i.d. given .
For the purposes of statistical inference, the (conditional) i.i.d. structure implies that we can regard the elements of the sequence as repetitive samples from an unknown distribution , and pool these observations to extract information about the value of . This may be done using a Bayesian approach, by making a modeling assumption on (i.e., by defining a prior distribution) and computing the posterior given data, or in a frequentist way, by assuming is non-random and deriving a suitable estimator.
To generalize this idea to the graph case, we regard the infinite sequence as an infinite random structure, of which we observe a finite substructure (the initial segment ). From this perspective, de Finetti’s theorem tells us how to break down a random structure (the sequence) into components (the conditionally independent elements), which in turn permits the definition of statistical inference procedures. What if, instead of an infinite sequence, is an infinite graph, of which we observe a finite subgraph? To mimic the sequence case, we would need a definition of exchangeability applicable to graphs, and a suitable representation theorem to substitute for de Finetti’s.
Since generating a parameter randomly determines a distribution , we can think of as a random probability measure with distribution defined by , and paraphrase de Finetti’s theorem as follows:
The joint distribution of any exchangeable sequence of random values in is characterized by the distribution of a random probability measure on .
If we assume a random graph to be exchangeable—where we put off the precise definition for now—it is indeed also characterized by a representation theorem. The implications for statistical models are perhaps more surprising than in the case of sequences:
The distribution of any exchangeable graph is characterized by a distribution on the space of functions from to $$.
Hence, any specific function defines a distribution on graphs (we will see in Section III how we can sample a graph from ).
For modeling purposes, this means that any statistical model of exchangeable graphs is a family of such distributions , and can be regarded as the model parameter. Density estimation in exchangeable graphs can therefore be formulated as a regression problem: It is equivalent to recovering the function from data. Once again, we can choose a frequentist approach (define an estimator for ) or a Bayesian approach (define a prior distribution on a random function ); we can obtain nonparametric models by choosing infinite-dimensional subspaces of functions, or parametric models by keeping the dimension finite.
Since a graph can be regarded as a special type of matrix (the adjacency matrix), we can ask more generally for models of exchangeable matrices, and obtain a similar result:
There is a wide variety of random structures for which exchangeability can be defined; Table I lists some important examples. Borrowing language from , we collectively refer to such random objects as exchangeable random structures. This article explains representation theorems for exchangeable random structures and their implications for Bayesian statistics and machine learning. The overarching theme is that key aspects of de Finetti’s theorem can be generalized to many types of data, and that these results are directly applicable to the derivation and interpretation of statistical models.
reviews exchangeable random structures, their representation theorems, and the role of such theorems in Bayesian statistics.
introduces the generalization of de Finetti’s theorem to models of graph- and matrix-valued data, the Aldous-Hoover theorem, and explains how Bayesian models of such data can be constructed.
surveys models of graph- and relational data available in the machine learning and statistics literature. Using the Aldous-Hoover representation, models can be classified and some close connections emerge between models which seem, at first glance, only loosely related.
describes recent development in the mathematical theory of graph limits. The results of this theory refine the Aldous-Hoover representation of graphs and provide a precise understanding of how graphs converge and how random graph models are parametrized.
explains the general Aldous-Hoover representation for higher-order arrays.
discusses sparse random structures and networks, why these models contradict exchangeability, and open questions arising from this contradiction.
II Bayesian Models of Exchangeable Structures
The fundamental Bayesian modeling paradigm based on exchangeable sequences can be extended to a very general approach, where data is represented by a random structure. Exchangeability properties are then used to deduce valid statistical models and useful parametrizations. This section sketches out the ideas underlying this approach, before we focus on graphs, matrices, and arrays in Section III.
The simplest example of an exchangeable random structure is an exchangeable sequence. We use the customary shorthand notation for a sequence, and similarly for a matrix, etc. Suppose is an infinite sequence of random variables in a sample space . We call exchangeable if its joint distribution satisfies
or even , where the notation means that the random variables and have the same distribution. Informally, exchangeability means that the probability of observing a particular sequence does not depend on the order of the elements in the sequence.
If the elements of a sequence are exchangeable, de Finetti’s representation theorem implies they are conditionally i.i.d. The conditional independence structure is represented by a random probability measure, a random variable with values in the set of probability distributions on .
Let be an infinite sequence of random variables with values in a space . The sequence is exchangeable if and only if there is a random probability measure on such that the are conditionally i.i.d. given and
where is the distribution of .
The integral on the right-hand side of (II.3) can be interpreted as a two-stage sampling procedure:
Sample , i.e., draw a probability distribution at random from the distribution .
Conditioned on , sample the conditionally i.i.d. as
The theorem says that any exchangeable sequence can be sampled by such a two-stage procedure; the distribution of the sequence is determined by the choice of . The random measure is called the directing random measure of . Its distribution is called the mixing measure or de Finetti measure.
Statistical inference is only possible if the distribution of the data, or at least some of its properties, can be recovered from observations. For i.i.d. random variables, this is ensured by the law of large numbers. The proof of de Finetti’s theorem also implies a law of large numbers for exchangeable sequences:
If the sequence is exchangeable, the empirical distributions
holds with probability 1 for every set .
The two theorems have fundamental implications for Bayesian modeling. If we assume the data can be represented by (some finite prefix of) an exchangeable sequence, this implies without any further assumptions:
Conditioned on a random probability measure representing an unknown distribution , every sample is i.i.d. with distribution .
Every exchangeable sequence model is characterized by a unique distribution on .
A statistical model can be taken to be some subset of rather than , which we would have to consider for a general random sequence.
Statistical inference is possible in principle: With probability one, the empirical distributions converge to the distribution generating the data, according to (II.6).
A modeling application might look like this: We consider a specific data source or measurement process, and assume that data generated by this source can be represented as an exchangeable sequence. The definition of exchangeability for an infinite sequence does not mean we have to observe an infinite number of data points to invoke de Finetti’s theorem; rather, it expresses the assumption that samples of any finite size generated by the source would be exchangeable. Hence, exchangeability is an assumption on the data source, rather than the data.
Given observations , we then compute the posterior distribution, by conditioning on the observations. Theorem II.2 implies that, if the empirical measure converges asymptotically to a specific measure , the posterior converges to a point mass at . This result has to be interpreted very cautiously, however: It only holds for a sequence which was actually generated from the measure we use as a prior. In other words, suppose someone generates from a distribution on by the two-stage sampling procedure above, without disclosing to us. In the sampling procedure, the variable assumes as its value a specific distribution , from which the data is then generated independently. We model the observed sequence by choosing a prior . The posterior under still converges to a point mass, but there is no guarantee that it is a point mass at , and (II.6) only holds if .
Thus, there are several important questions that exchangeability does not answer:
The de Finetti theorem says that there is some prior which adequately represents the data, but provides no guidance regarding the choice of : Any probability measure on is the prior for some exchangeable sequence.
Theorem II.2 only guarantees convergence for sequences of random variables generated from the prior .
Theorem II.2 is a first-order result: It provides no information on how quickly the sequence converges. Results on convergence rates can only be obtained for more specific models; the set of all exchangeable distributions is too large and too complicated to obtain non-trivial statements.
Answers to these questions typically require further modeling assumptions.
II-B The general form of exchangeability results
Many problems in machine learning and modern statistics involve data which is more naturally represented by a random structure that is not a sequence: often a graph, matrix, array, tree, partition, etc. is a better fit. If it is possible to define a suitable notion of exchangeability, the main features of de Finetti’s theorem typically generalize. Although results differ in their details, there is a general pattern, which we sketch in this section before considering specific types of exchangeable structures.
The setup is as follows: The product space of infinite sequences is substituted by a suitable space of more general, infinite structures. An infinite random structure is a random variable with values in . Each element of can be thought of as a representation of an infinitely large data set or “asymptotic” sample. An actual, finite sample of size is modeled as a substructure of , such as a the length- prefix of an infinite sequence or a -vertex subgraph of an infinite graph.
The first step in identifying a notion of exchangeability is to specify what it means to permute components of a structure . If is an infinite matrix, for example, a very useful notion of exchangeability arises when one considers all permutations that exchange the ordering of rows/columns, rather than the ordering of individual entries. Exchangeability of a random structure then means that the distribution of is invariant under the specified family of permutations.
Once a specific exchangeable random structure is defined, the next step is to invoke a representation theorem that generalizes de Finetti’s theorem to . Probability theory provides such theorems for a range of random structures; see Table I for examples. A representation theorem can be interpreted as determining (1) a natural parameter space for exchangeable models on , and (2) a special family of distributions on , which are called the ergodic distributions or ergodic measures. Each element determines an ergodic distribution, and we denote this distribution as . The set of ergodic distributions is
The distribution of any exchangeable random structure can then be represented as a mixture of these ergodic distributions,
In the specific case of exchangeable sequences, (II.8) is precisely the integral representation (II.3) in de Finetti’s theorem, and the ergodic measures are the distributions of i.i.d. sequences, that is,
For more general random structures, the ergodic measures are not usually product distributions, but they retain some key properties:
They are particularly simple distributions on , and form a “small” subset of all exchangeable distributions.
They have a conditional independence property, in the sense that a random structure sampled from one of the ergodic distributions decomposes into conditionally independent components. In de Finetti’s theorem, these conditionally independent components are the elements of the sequence.
As in the sequence case, the integral (II.8) in the general case represents a two-stage sampling scheme:
A Bayesian model for an exchangeable random structure with representation (II.8) is characterized by a prior distribution on .
Suppose the prior concentrates on a subset , that is, is the smallest subset to which the prior assigns probability 1. Then defines a subset
of ergodic measures. We thus have defined a Bayesian model on , with prior and observation model . In summary:
is the natural parameter space for Bayesian models of , and the prior distribution is a distribution on .
The observation model is a subset of the ergodic measures. An exchangeability theorem characterizing the ergodic measures therefore also characterizes the possible observation models.
The representation (II.8) is typically complemented by a convergence results: A specific function of the samples converges to almost surely as , generalizing Theorem II.2. In particular, the parameter space can be interpreted as the set of all possible limit objects.
If the set on which the prior concentrates its mass is a finite-dimensional subspace of , we call the resulting Bayesian model parametric. If has infinite dimension, the model is nonparametric.
II-C Exchangeable partitions
Kingman showed that exchangeable random partitions can again be represented in the form of Eq. II.8. The parameter space consists of all sequence of scalars which satisfy
Let . Then defines a partition of $$ into intervals
Generate .
Kingman called this distribution a paint-box distribution.
is exchangeable if and only if
for some distribution on , where is the paint-box distribution with parameter .
If is exchangeable, the scalars can be recovered asymptotically as limiting relative block sizes
Part 1) is of course the counterpart to de Finetti’s theorem, and part 2) corresponds to Theorem II.2. In (II.15), we compute averages within a single random structure, having observed only a substructure of size . Nonetheless, we can recover the parameter asymptotically from data. This is a direct consequence of exchangeability, and would not generally be true for an arbitrary random partition.
II-D “Non-exchangeable” data
Exchangeability seems at odds with many types of data; for example, a sequence of stock prices over time will be poorly modeled by an exchangeable sequence. Nonetheless, a Bayesian model of a time series will almost certainly imply an exchangeability assumption—the crucial question is which components of the overall model are assumed to be exchangeable. As the next example illustrates, these components need not be the variables representing the observations.
In other words, is a Lévy process if, for any disjoint of equal length, the increments form an i.i.d. sequence. It is then natural to ask for an exchangeable process: We say that is an exchangeable continuous-time process if, again for any disjoint of equal length, the sequence is exchangeable (see Fig. 2). The representation theorem for such processes is due to Hans Bühlmann [e.g. 39, Theorem 1.19]:
Hence, each ergodic measure is the distribution of a Lévy process, and the measure is a distribution on parameters of Lévy processes or—in the parlance of stochastic process theory—on Lévy characteristics.
Another important type of exchangeability property is defined for sequences taking values in a countable space . Such a sequence is called Markov exchangeable if the probability of observing an initial trajectory depends only on the initial state and, for every pair , on the number of transitions . In particular, the probability does not depend on when each transition occurs. Diaconis and Freedman showed the following:
If a (recurrent) process is Markov exchangeable, it is a mixture of Markov chains.
(Recurrence means that each visited state is visited infinitely often if the process is run for an infinite number of steps.) Thus, each ergodic distribution is the distribution of a Markov chain, and a parameter value consists of a distribution on (the distribution of the initial state) and a transition matrix. If a Markov exchangeable process is substituted for the Markov chain in a hidden Markov model, i.e., if the Markov exchangeable variables are latent variables of the model, the resulting model can express much more general dependencies than Markov exchangeability. The infinite hidden Markov model is an example; see . Recent work by Bacallado, Favaro, and Trippa constructs prior distributions on random walks that are Markov exchangeable and almost surely reversible.
A very general approach to modeling is to assume that an exchangeability assumption holds marginally at each value of a covariate variable , e.g., a time or a location in space: Suppose is a set of structures as described above, and is a space of covariate values. A marginally exchangeable random structure is a random measurable mapping
such that, for each , the random variable is an exchangeable random structure in .
A popular example of a marginally exchangeable model is the dependent Dirichlet process (DDP) of MacEachern . In this case, for each , the random variable is a random probability measure whose distribution is a Dirichlet process. More formally, is some sample space, , and the DDP is a distribution on mappings ; thus, the DDP is a random conditional probability. Since is a Dirichlet process if is fixed, samples from are exchangeable.
Eq. II.16 is, of course, just another way of saying that is a -valued stochastic process indexed by , although we have made no specific requirements on the paths of . The interpretation as a path is more apparent in the next example.
II-E Random functions vs random measures
De Finetti’s theorem can be equivalently formulated in terms of a random function, rather than a random measure, and this formulation provides some useful intuition for Section III. Roughly speaking, this random function is the inverse of the cumulative distribution function (CDF) of the random measure in de Finetti’s theorem; see Fig. 3.
More precisely, suppose that . A measure on can be represented by its CDF, defined as . Hence, sampling the random measure in de Finetti’s theorem is equivalent to sampling a random CDF . A CDF is not necessarily an invertible function, but it always admits a so-called right-continuous inverse , given by
This function inverts in the sense that for all . It is well-known that any scalar random variable with CDF can be generated as
In the special case , de Finetti’s theorem therefore translates as follows: If is an exchangeable sequence, then there is a random function such that
where are i.i.d. uniform variables.
It is much less obvious that the same should hold on an arbitrary sample space, but that is indeed the case:
Let be an infinite, exchangeable sequence of random variables with values in a space . Then there exists a random function from $\mathbf{X}U_{1},U_{2},\dotsc$ is an i.i.d. sequence of uniform random variables,
As we will see in the next section, this random function representation generalizes to the more complicated case of array data, whereas the random measure representation in Eq. II.3 does not.
III Exchangeable Graphs, Matrices, and Arrays
Random arrays are a very general type of random structure, which include important special cases, such as random graphs and random matrices. The representation theorem for exchangeable arrays is the Aldous-Hoover theorem. In this section, we focus on -arrays, matrices and graphs. The general case for -arrays is conceptually similar, but considerably more technical, and we postpone it until Section VI.
A random matrix is a random -array, although the term matrix usually implies that has the algebraic structure of a field. A random graph is a random matrix with . As in the sequence case, we assume is infinite in size, and the statistical interpretation is that an observed, finite array is a sub-array of . In network analysis problems, for example, an observed graph with vertices would be interpreted as a random induced subgraph of an underlying graph , which represents an infinite population.
In this section, we are interested in the characterization of random arrays whose distributions are invariant to permutations reordering the rows and columns. For a -array, there are two natural ways to define exchangeability: we can ask that the distribution of the array be invariant only to the joint (simultaneous) permutation of the rows and columns or also to separate permutations of rows and columns.
A random 2-array is called jointly exchangeable if
The analogue of de Finetti’s theorem for exchangeable arrays is the Aldous-Hoover theorem . It has two versions, for jointly and for separately exchangeable arrays.
A random array is jointly exchangeable if and only if it can be represented as follows: There is a random function such that
Because the variables are indexed by a set, the indices are unordered, and we can think of the array as an upper-triagonal matrix with i.i.d. uniform entries. If the function is symmetric in its first two arguments, then is symmetric—that is, if for all and , then for all and . In general, however, a jointly exchangeability matrix or -array need not be symmetric.
Separately exchangeable arrays can also be given a precise characterization using Theorem III.2:
A random array is separately exchangeable if and only if it can be represented as follows: There is a random function such that
In the prototypical version of a collaborative filtering problem, users assign scores to movies. Scores may be binary (“like/don’t like”, ), have a finite range (“one to five stars”, ), etc. Separate exchangeability then simply means that the probability of seeing any particular realization of the matrix does not depend on the way in which either the users or the movies are ordered.
Like de Finetti’s and Kingman’s theorem, the representation results are complemented by a convergence result, due to Kallenberg [37, Theorem 3]. The general result involves some technicalities and is not stated here; the special case for random graphs is discussed in Section V (see Theorem V.1).
The variables and in the representation (III.4) of a jointly exchangeable array need not be uniform: We can substitute variables with a different marginal distribution if we modify the random function accordingly. For (III.4) to represent some jointly exchangeable array, it is sufficient that:
The variables are independent of the random function .
Conversely, suppose we define variables and satisfying 1) and 2), and additionally:
Values do not re-occur, with probability one; that is, the distributions substituted for the uniform is atomless.
III-B Exchangeable Graphs
An important special case is when is simple—i.e., undirected and without self-loops. In this case, is symmetric with a zero diagonal, and its representation (III.4) can be simplified: Let be a random function satisfying (III.4). Without loss of generality, we may assume that is symmetric in its first two arguments. Consider the (random) function from to $W(x,x):=0$ on the diagonal and otherwise by
where is independent of . Then is random symmetric function from to $$, and, by construction,
We thus obtain the following specialization of the Aldous-Hoover theorem for exchangeable simple graphs:
where and are independent i.i.d. uniform variables as in (III.4), which are independent of .
The representation (III.8) yields the following generative process:
where indicates the edge connecting and is present; if , it is absent.
Fig. 4 illustrates the generation of random simple graph.
Following , we call a (measurable) function from to $W\nu\theta$ has an interpretation as a limit of the empirical adjacency matrices for larger and larger subgraphs.
III-C Application to Bayesian Models
The representation results above have fundamental implications for Bayesian modeling—in fact, they provide a general characterization of Bayesian models of array-valued data:
Statistical models of exchangeable arrays can be parametrized by functions from . Every Bayesian model of an exchangeable array is characterized by a prior distribution on the space of functions from to $$.
For the special case of simple graphs, we can rephrase this idea in terms of graphons:
Statistical models of exchangeable simple graphs are parametrized by graphons. Every Bayesian model of an exchangeable simple graph is characterized by a prior distribution on the space of graphons.
In a Bayesian model of an exchangeable -array, the random function plays the role of the random parameter in (II.10), and the parameter space is the set of measurable function . Every possible value of defines an ergodic distribution : In the jointly exchangeable case, for example, Theorem III.2 shows that can be sampled from by sampling
Similarly, the ergodic distributions for separately exchangeable 2-arrays are given by (III.5). In the special case of exchangeable simple graphs, the parameter space can be reduced to the set of graphons, and the ergodic distribution defined by a graphon is given by (III.8).
To the best of our knowledge, Hoff was the first to invoke the Aldous-Hoover theorem for statistical modeling. The problem of estimating the distribution of an exchangeable graph can be formulated as a regression problem on the unknown function . This perspective was proposed in , where the regression problem is formulated as a Bayesian nonparametric model with a Gaussian process prior. The regression model need not be Bayesian, however, and recent work formulates the estimation of under suitable modeling conditions as a maximum likelihood problem .
Various types of array-valued data depend on time or some other covariate. In this case, joint or separate exchangeability might be assumed to hold marginally, as described in Section II-D. E.g., in the case of a graph evolving over time, one could posit the existence of a graphon depending also on the time . More generally, the discussion in II-D applies to joint and separate exchangeability just as it does to exchangeable sequences. On the other hand, sometimes exchangeability will not be an appropriate assumption, even marginally. In Section VII, we highlight some reasons why exchangeable graphs may be poor models of very large sparse graphs.
III-D Uniqueness of representations
In the representation Eq. III.8, random graph distributions are parametrized by functions . This representation is not unique: Two distinct graphons may parametrize the same random graph. In this case, the two graphons are called weakly isomorphic . From a statistical perspective, this means the graphon is not identifiable when regarded as a model parameter, although it is possible to treat the estimation problem up to equivalence of functions [37, Theorem 4].
Although any graphon obtained from by a MPT is weakly isomorphic to , the converse is not true: For two weakly isomorphic graphons, there need not be a MPT that transforms one into the other [see 47, Example 7.11].
IV Models in the Machine Learning Literature
The representation theorems show that any Bayesian model of an exchangeable array can be specified by a prior on functions. Models can therefore be classified according to the type of random function they employ. This section surveys several common categories of such random functions, including random piece-wise constant (p.w.c.) functions, which account for the structure of models built using Chinese restaurant processes, Indian buffet processes and other combinatorial stochastic processes; and random continuous functions with, e.g., Gaussian process priors. Special cases of the latter include a range of matrix factorization and dimension reduction models proposed in the machine learning literature. Table II summarizes the classes in terms of restrictions on the random function and the values it takes, and Fig. 7 depicts typical random functions across these classes.
Cluster-based models assume that the rows and columns of the random array can be partitioned into (disjoint) classes, such that the probabilistic structure between every row- and column-class is homogeneous. Within social science, this idea is captured by assumptions underlying stochastic block models .
The collaborative filtering problem described in Example III.4 is a prototypical application: here, a cluster-based model would assume that the users can be partitioned into classes/groups/types/kinds (of users), and likewise, the movies can also be partitioned into classes/groups/types/kinds (of movies). Having identified the underlying partition of users and movies, each class of user would be assumed to have a prototypical preference for each class of movie.
Because a cluster-based model is described by two partitions, the exchangeable partition models well-known from Bayesian nonparametric clustering can be used as building blocks. If the partitions are in particular generated by a by a Chinese restaurant process, we obtain the Infinite Relational Model (IRM), introduced in and independently in . The IRM can be seen as a nonparametric generalization of parametric stochastic block models . In the following example, we describe the model for the special case of a -valued array.
Under the IRM, the generative process for a finite subarray of binary random variables , , , is as follows: To begin, we partition the rows (and then columns) into clusters according to a Chinese restaurant process: The first and second row are chosen to belong to the same cluster with probability proportional to 1 and to belong to different clusters with probability proportional to a parameter . Subsequently, each row is chosen to belong to an existing cluster with probability proportional to the current size of the cluster, and to a new cluster with probability proportional to . Let be the random partition of induced by this process, where is the cluster containing 1, and is the cluster containing the first row not belonging to , and so on. Note that the number of clusters, , is also a random variable. Let be the random partition of induced by this process on the columns, possibly with a different parameter determining the probability of creating new clusters. Next, for every pair of cluster indices, , , we generate an independent beta random variable . Finally, we generate each independently from a Bernoulli distribution with mean , where and . As we can see, represents the probability of links arising between elements in clusters and .
The Chinese restaurant process generating and is known to be exchangeable in the sense that the distribution of is invariant to a permutation of the underlying set . It is then straightforward to see that the distribution on the subarray is exchangeable. In addition, it is straightforward to verify that, were we to have generated an array, the marginal distribution on the subarray would have agreed with that of the above process. This implies that we have defined a so-called projective family and so results from probability theory imply that there exists an infinite array and that the above process describes the distribution of every finite subarray.
We say that a Bayesian model of an exchangeable array is simple cluster-based if, for some random function representing , there are random partitions and of the unit interval $$ such that:
On each block , is constant. Let be the value takes on block .
The block values are themselves an exchangeable array, and independent from and .
We call an array simple cluster-based if its distribution is.
Most examples of simple cluster-based models in the literature—including, e.g., the IRM—take the block values to be conditionally i.i.d. (and so the array is then trivially exchangeable). As an example of a more flexible model for , which is merely exchangeable, consider the following:
Like with cluster-based models of exchangeable sequences, if the number of classes in each partition is bounded, then a simple cluster-based model of an exchangeable array is a mixture of a finite-dimensional family of ergodic distributions. Therefore, mixtures of an infinite-dimensional family must place positive mass on partitions with arbitrarily many classes.Exchangeable partitions may contain blocks consisting of only a single element (see Section II-C); these are also known as dust. Our definitions exclude this case because it complicates presentation, but the generalization is straightforward.
In order to define the more general class of cluster-based models, we relax the piece-wise constant nature of the random function . We do so by starting with a simple cluster-based array with values in a space . Since is exchangeable, it is represented by a random function , and we define as
for some function .
If is a fixed parameter value and a uniform random variable in $\phi(\theta,U)\mathbf{X}P_{\theta}\phi(\theta,U){X=(X_{ij})}F{(\Theta_{ij})}GX_{ij}P_{\Theta_{ij}}{P=\{P_{\theta}|\theta\in\mathbf{T}\}}X_{ij}\ThetaP_{\Theta_{ij}}\Theta$ .
Let be a family of distributions on , and let be a collection of random variables taking values in , indexed by elements of a set . We say that a collection of random variables, indexed by the same set , is a -randomization of when the elements are conditionally independent given , and for all .
We say that a Bayesian model for an exchangeable array in is cluster-based if is a -randomization of a simple cluster-based exchangeable array taking values in a space , for some family of distributions on . We say an array is cluster-based when its distribution is.
The intuition is that the cluster memberships of every pair of individuals determines a parameter , which in turn determines a distribution . The actual observed relationship is then a sample from .
We may alternatively describe the IRM distribution on exchangeable arrays as follows: Let be a family of distributions on (e.g., a family of Bernoulli distributions indexed by their means in $H{X:=(X_{ij})}P{\Theta:=(\Theta_{ij})}\mathbf{T}$.
In order to describe the structure of , it suffices to describe the distribution of the partitions and as well as that of the block values. For the latter, the IRM simply chooses the block values to be i.i.d. draws from the distribution . (While the block values can be taken to be merely exchangeable, we have not seen this generalization in the literature.) For the partitions, the IRM utilizes the stick-breaking construction of a Dirichlet process .
The IRM is originally defined in terms of a Chinese restaurant process (rather than a Dirichlet process), as we have done in Example IV.1. In terms of the CRP, each random probability in (IV.2) is the limiting fraction of rows in the th cluster as the number of rows tends to infinity.
IV-B Feature-based models
Feature-based models of exchangeable arrays have similar structure to cluster-based models. Like cluster-based models, feature-based models partition the rows and columns into clusters, but unlike cluster-based models, feature-based models allow the rows and columns to belong to multiple clusters simultaneously. The set of clusters that a row belongs to are then called its features. The interaction between row and column is then determined by the features that the row and column possess.
The stochastic process at the heart of most existing feature-based models of exchangeable arrays is the Indian buffet process, introduced by Griffiths and Ghahramani . The Indian buffet process (IBP) produces an allocation of features in a sequential fashion, much like the Chinese restaurant process produces a partition in a sequential fashion. In the follow example, we will describe the Latent Feature Relational Model (LFRM) of Miller et al. , one of the first nonparametric, feature-based models of exchangeable arrays. For simplicity, consider the special case of a -valued, separately-exchangeable array.
Under the LFRM, the generative process for a finite subarray of binary random variables , , , is as follows: To begin, we allocate features to the rows (and then columns) according to an IBP. In particular, the first row is allocated a Poisson number of features, with mean . Each subsequent row will, in general, share some features with earlier rows, and possess some features not possessed by any earlier row. Specifically, the second row is also allocated a Poisson number of altogether new features, but with mean , and, for every feature possessed by the first row, the second row is allocated that feature, independently, with probability . In general, the th row is allocated a Poisson number of altogether new features, with mean ; and, for every subset of the previous rows, and every feature possessed by exactly those rows in , is allocated that feature, independently, with probability . (We use the same process to allocate a distinct set of features to the columns, though potentially with a different constant governing the overall number of features.)
The exchangeability of the subarray follows from the exchangeability of the IBP itself. In particular, define the family of counts , , where is the number of features possessed by exactly those rows in . We say that is a random feature allocation for . (Let be the random feature allocation for the columns induced by the IBP.) The IBP is exchangeable is the sense that
for every permutation of , where . Moreover, the conditional distribution of the subarray given the feature assignments is the same as the conditional distribution given the feature allocations . It is then straightforward to verify that the subarray is itself exchangeable. Like with the IRM example, the family of distributions on subarrays of different sizes is projective, and so there exists an infinite array and the above process describes the distribution of every subarray.
The LFRM is a special case of a class of models that we will call feature-based. From the perspective of simple cluster-based models, simple feature-based models also have a block structured representing function, but relax the assumption that values of each block form an exchangeable array.
To state the definition of this class more formally, we begin by generalizing the notion of a partition of $$. Definition IV.8 was also introduced and studied in much more detail by Broderick et al. —which we were unaware of when this article was first submitted—and we have adjusted our terminology to match that of , where the term feature paint-box was coined. The perspectives differ slightly: In , the feature paint-box is introduced based on the theory of exchangeable partitions, and the authors show that key aspects of this theory generalize elegantly. Our perspective here is that feature models form a special type of exchangeable arrays—as indeed do exchangeable partitions, see [39, Theorem 7.38].
Let be a uniformly-distributed random variable and a sequence of subsets of $EUnU\in E_{n}E$ a feature paint-box if
To parse (IV.4), first recall that a partition is a special case of a feature paint-box. In this case, the sets are disjoint and represent blocks of a partition. The relation then indicates that an object represented by the random variable is in block of the partition. In a feature paint-box, the sets may overlap. The relation now indicates that the object has feature . Because the sets may overlap, the object may possess multiple features. However, condition Eq. IV.4 ensures that the number of features per object remains finite (with probability 1).
However, if we want to capture the idea that the relationships between objects depend on the individual features the objects possess, we would not want to assume that the entries of formed an exchangeable array, as in the case of a simple, cluster-based model. E.g., we might choose to induce more dependence between and when than otherwise. The following definition captures the appropriate relaxation of exchangeability:
and the values themselves form a feature-exchangeable array, independent of and . We say an array is simple feature-based if its distribution is.
Simple feature-based arrays specialize to simple cluster-based arrays if either i) the feature allocations are partitions or ii) the array is exchangeable. The latter case highlights the fact that feature-based arrays relax the exchangeability assumption of the underlying block values.
As in the case of simple cluster-based models, nonparametric simple feature-based models will place positive mass on feature allocations with an arbitrary number of distinct sets. As for cluster-based models, we define general feature-based models as randomizations of simple models:
We say that a Bayesian model for an exchangeable array in is feature-based when is a -randomization of a simple, feature-based, exchangeable array taking values in a space , for some family of distributions on . We say an array is feature-based when its distribution is.
Comparing Definitions IV.5 and IV.12, we see that the relationship between random functions representing and are the same as in cluster-based models. The LFRM described in Example IV.7 is a special case of a feature-based model:
A feature-based model is determined by the randomization family , the distribution of the underlying feature-exchangeable array of link probabilities, and the distribution of the random feature allocation. In the case of the LFRM, is the family distributions, for (although this is easily generalized, and does not represent an important aspect of the model). The underlying feature-exchangeable array is that described in Example IV.10.
The random feature allocations underlying the LFRM can be described in terms of so-called “stick-breaking” constructions of the Indian buffet process. One of the simplest stick-breaking constructions, and the one we will use here, is due to Teh, Görür, and Ghahramani . (See also , and .)
where . (As one can see, this representation obscures the conditional independence inherent in the feature allocation induced by the IBP.)
IV-C Piece-wise constant models
Simple partition- and feature-based models have piece-wise constant structure, which arises because both types of models posit prototypical relationships on the basis of a discrete set of classes or features assignments, respectively. More concretely, a partition of is induced by partitions of $$.
An alternative approach is to consider partitions of directly, or partitions of induced by partitions of . Rather than attempting a definition capturing a large, natural class of such models, we present an illustrative example:
A Mondrian process is a partition-valued stochastic process introduced by Roy and Teh . (See also Roy [57, Chp. V] for a formal treatment.) More specifically, a homogeneous Mondrian process on is a continuous-time Markov chain , where, for every time , is a floorplan-partition of —i.e., a partition of comprised of axis-aligned rectangles of the form , for intervals . It is assumed that is the trivial partition containing a single rectangle.
Every continuous-time Markov chain is characterized by the mean waiting times between jumps and the discrete-time Markov process of jumps (i.e., the jump chain) embedded in the continuous-time chain. In the case of a Mondrian process, the mean waiting time from a partition composed of a finite set of rectangles is . The jump chain of the Mondrian process is entirely characterized by its transition probability kernel, which is defined as follows: From a partition of , we choose to “cut” exactly one rectangle, say , with probability proportional to ; Choosing , we then cut the rectangle vertically with probability proportional to and horizontally with probability proportional to ; Assuming the cut is horizontal, we partition into two intervals and , uniformly at random; The jump chain then transitions to the partition where is replaced by and ; The analogous transformation occurs in the vertical case.
As is plain to see, each partition is produced by a sequence of cuts that hierarchically partition the space. The types of floorplan partitions of this form are called guillotine partitions. Guillotine partitions are precisely the partitions represented by d-trees, the classical data structure used to represent hierarchical, axis-aligned partitions.
Another, very popular example of a piece-wise constant model is the mixed-membership stochastic blockmodel of Airoldi et al. .
IV-D Gaussian-process-based models
All models discussed so far are characterized by a random function with piece-wise constant structure. In this section, we briefly discuss a large and important class of models that relax this restriction by modeling the random function as a Gaussian process.
If is chosen appropriately, a random function sampled from the Gaussian process is continuous with probability 1.
We say that a Bayesian model for an exchangeable array in is Gaussian-process-based when, for some random function representing , the process is Gaussian on . We will say that an array is Gaussian-process-based when its distribution is.
In terms of Eq. III.12, a Gaussian-process-based model is one where a Gaussian process prior is placed on the function . The definition is stated in terms of the space as domain of the uniform random variables to match our statement of the Aldous-Hoover theorem and of previous models. In the case of Gaussian processes, however, it is arguably more natural to use the real line instead of $\phi:^{3}\to JGJG^{\prime}^{3}G^{\prime}_{x,y,z}=G_{\phi(x,y,z)}\mu\kappa\mu\circ\phi\kappa\circ(\phi\otimes\phi)J$ that can be put into correspondence with the unit interval.
The random variables in Definition IV.15 are real-valued. To model -valued arrays, such as random graphs, we can use a suitable randomization:
Many of the most popular parametric models for exchangeable arrays of random variables can be constructed as (randomizations of) Gaussian-process-based arrays. For a catalog of such models and several nonparametric variants, as well as their covariance functions, see . Here we will focus on the parametric eigenmodel, introduced by Hoff , and its nonparametric cousin, introduced Xu, Yan and Qi . To simplify the presentation, we will consider the case of a -valued array.
In the case of a -valued array, both the eigenmodel and its nonparametric extension can be interpreted as an -randomizations of a Gaussian-process-based array , where is given as in Definition IV.16 for some mean, variance and sigmoid. To complete the description, we define the Gaussian processes underlying .
A nonparametric counterpart to the eigenmodel was introduced by Xu et al. :
A related nonparametric model for exchangeable arrays, which places fewer restrictions on the covariance structure and is derived directly from the Aldous-Hoover representation, is described in .
V Convergence, Concentration and Graph Limits
We have already noted that the parametrization of random arrays by functions in the Aldous-Hoover theorem is not unique. Our statement of the theorem also lacks an asymptotic convergence result such as the convergence of the empirical measure in de Finetti’s theorem. The tools to fill these gaps have only recently become available in a new branch of combinatorics which studies objects known as graph limits. This section summarizes a few elementary notions of this rapidly emerging field and shows how they apply to the Aldous-Hoover theorem for graphs.
Convergence results in statistics study the behavior of the empirical distribution (II.5). The corresponding object for exchangeable graphs is an empirical estimate of the graphon, which is a “checkerboard function”: Given a finite graph with vertices, we subdivide into square patches, resembling the adjacency matrix. We then define a function with constant value 0 or 1 on each patch, equal to the corresponding entry of the adjacency matrix. We call the empirical graphon of . Examples are plotted in Fig. 8. Since is a valid graphon, it parametrizes an infinite random graph, even though is finite. Aldous-Hoover theory provides a graph counterpart to the law of large numbers:
Let be a graphon. Suppose we sample a random graph from one vertex at a time, and is the graph given by the first vertices. Then the distributions defined by converge weakly to the distribution defined by with probability 1.
A recent development in combinatorics and graph theory is the theory of graph limits . This theory defines a distance measure on graphons (more details below). The metric can be applied to finite graphs, since the graphs can be represented by the empirical graphon. It is then possible to study conditions under which sequences of graphs converge to a limit. It turns out that limits of graphs can be represented by graphons, and the convergence of graphs corresponds precisely to the weak convergence of the distributions defined by the empirical graphons. This theory refines the Aldous-Hoover theory with a large toolbox of powerful results. We describe a few aspects in the following. The authoritative (and very well-written) reference is .
The most convenient way to define convergence is by defining a metric: If is a distance measure, we can define as the limit of if as . The metric on functions which has emerged as the “right” choice for graph convergence is called the cut metric, and is defined as follows: We first define a norm as
Suppose and are two distinct functions which parametrize the same distribution on graphs. The distance in general perceives such functions as different: The functions in Fig. 8, for instance, define the same graph, but have non-zero distance under . Hence, if we were to use to define convergence, the two sequences of graphs in the figure would converge to two different limits. We therefore modify as follows: For any given , let be the set of all functions which define the same random graph.
Informally, we can think of the functions in as functions obtained from by a “rearrangement” like the one illustrated in Fig. 5. The definition above says that, before we measure the distance between and using , we rearrange in the way that aligns it most closely with . In Fig. 5, this closest rearrangement would simply reverse the permutation of blocks, so that the two functions would look identical.
The function is called the cut pseudometric: It is not an actual metric, since it can take value 0 for two distinct functions. It does, however, have all other properties of a metric. By definition, holds if and only if and parametrize the same random graph.
Clearly, the graph limit is a graphon, and the two terms are used interchangeably. This definition indeed provides a metric counterpart to convergence of exchangeable graph distributions:
V-B Unique parametrization in the Aldous-Hoover theorem
Recall that two graphons can be equivalent, in the sense that they are distinct functions but define the same random graph (they are weakly isomorphic in the language of Section III-D). The equivalence classes form a partition of the space of all graphons, which motivates the definition of a “quotient space”: We can define a new space by collapsing each equivalence class to a single point. Each element corresponds to all functions in one equivalence class, and hence to one specific random graph distribution. Since the pseudometric only assigns distance 0 to two distinct functions if they are equivalent, it turns into a metric on , and is a metric space. Although the elements of this space are abstract objects, not actual functions, the space has remarkable analytical properties, and is one of the central objects of graph limit theory.
Since contains precisely one element for each ergodic distribution on exchangeable graphs, we can obtain a unique parametrization of exchangeable graph models by using as a parameter space: If is a graphon and the corresponding element of —the element to which was collapsed in the definition of —we define a family of distributions on exchangeable arrays by taking to be the distribution induced by the uniform sampling scheme described by Eq. III.8 when .
Although the existence of such a probability kernel is not a trivial fact, it follows from a technical result of Orbanz and Szegedy . In particular, the Aldous-Hoover theorem for an exchangeable random graph can then be written as a unique integral decomposition
in analogy to the de Finetti representation.
V-C Regularity and Concentration
All convergence results we have seen so far provide only asymptotic guarantees of convergence, but no convergence rates. We give two examples of concentration results from graph limit theory, which address similar questions as those asked in mathematical statistics and empirical process theory: How large a graph do we have to observe to obtain reliable estimates?
Underlying these ideas is one of the deepest results of modern graph theory, Szemeredi’s regularity lemma: For every very large graph , there is a small, weighted graph that summarizes all essential structure in . The only condition is that is sufficiently large. In principle, this means that can be used as an approximation or summary of , but unfortunately, the result is only valid for graphs which are much larger than possible in most conceivable applications. There are, however, weaker forms of this result which hold for much smaller graphs.
To define for a given graph , we proceed as follows: Suppose is a partition of into sets. For any two sets and , we define as the probability that two vertices and , each chosen uniformly at random from its set, are connected by an edge. That is,
The graph is now defined as the weighted graph with vertex set and edge weights for edge . To compare this graph to , it can be helpful to blow it up to a graph of the same size as , constructed as follows:
Each node is replaced by a clique of size (with all edges weighted by 1).
For each pair and , all possible edges between the sets are inserted and weighted by .
If we measure how much two graphs differ in terms of the cut distance, can be approximated by as follows:
This form of the result is called “weak” since it uses a less restrictive definition of what it means for and to be close then Szemerédi’s original result. The weaker hypothesis makes the theorem applicable to graphs that are, by the standards of combinatorics, of modest size.
A prototypical concentration result based on Theorem V.4 is the following:
The relevance of such results to statistics becomes evident if we think of as a statistic of a graph or network (such as the edge density) which we try to estimate from an observed subgraph of size . Results of this type, for graphs and other random structures, are collectively known under the term property testing, and are covered by a sizeable literature in combinatorics and theoretical compute science .
VI Exchangeability and higher-dimensional arrays
The theory of exchangeable arrays extends beyond 2-dimensional arrays, and, indeed, some of the more exciting implications and applications of the theory rely on the general results. In this section we begin by defining the natural extension of (joint) exchangeability to higher dimensions, and then give higher-dimensional analogues of the theorems of Aldous and Hoover, due to Kallenberg. These theorems introduce exponentially-many additional random variables as the dimension increases, but only a linear number are necessary to produce an arbitrarily good approximation. The presentation owes much to Kallenberg .
Let be a -dimensional array (or simply -array) of random variables in . We say that is jointly exchangeable when
When , we recover Theorem III.2 characterizing two-dimensional exchangeable arrays. Indeed, if we write and for notational convenience, then the right hand side of Eq. VI.4 reduces to
for some random . When , we instead have
for some random , where we have additionally taken for notational convenience.
As in the two-dimensional case, arrays with certain additional symmetries can be treated as special cases. In this section, we consider separate exchangeability in the setting of -arrays, and in the next section we consider further generalizations. We begin by defining:
We say that -array is separately exchangeable when
for the element of the function space that maps each nonempty subset to the real , i.e., the element in the collection indexed by the vector . Then we have:
We can consider the special cases of and arrays. Then we have, respectively,
for some random ; and
for some random . As we can see, jointly exchangeable arrays, which are required to satisfy fewer symmetries than their separately exchangeable counterparts, may take . Indeed, one can show that these additional assumptions make jointly exchangeable arrays a strict superset of separately exchangeable arrays, for .
VI-B Further generalizations
In applications, it is common for the distribution of an array to be invariant to permutations that act simultaneously on some but not all of the dimensions. E.g., if the first two dimensions of an array index into the same collection of users, and the users are a priori exchangeable, then a sensible notion of exchangeability for the array would be one for which these first two dimensions could be permuted jointly together, but separately from the remaining dimensions.
More generally, we consider arrays that, given a partition of the dimensions of an array into classes, are invariant to permutations that act jointly within each class and separately across classes. More carefully:
for every collection of permutations, where denotes the subset containing .
We may now cast both jointly and separately exchangeable arrays as -exchangeable arrays for particular choices of partitions . In particular, when we recover joint exchangeability, and when , we recover separate exchangeability. Just as we characterized jointly and separately exchangeable arrays, we can characterize -exchangeable arrays.
VI-C Approximations by simple arrays
These representational results require a number of latent random variables exponential in the dimension of the array, i.e., roughly twice as many latent variables are needed as the entries generated in some subarray. Even if a -array is sparsely observed, each observation requires the introduction of potentially variables. (In a densely observed array, there will be overlap, and most latent variables will be reused.)
Regardless of whether this blowup poses a problem for a particular application, it is interesting to note that exchangeable -arrays can be approximated by arrays with much simpler structure, known as simple arrays.
Again, it is instructive to study special cases: in the jointly exchangeable case, taking , we get
and, in the separately exchangeable case, we get
taking . We may now state the relationship between general arrays and simple arrays:
VII Sparse random structures and networks
Exchangeable random structures are not “sparse”. In an exchangeable infinite graph, for example, the expected number of edges attached to each node is either infinite or zero. In contrast, graphs representing network data typically have a finite number of edges per vertex, and exhibit properties like power-laws and “small-world phenomena”, which can only occur in sparse graphs. Hence, even though exchangeable graph models are widely used in network analysis, they are inherently misspecified. Since the lack of sparseness is a direct mathematical consequence of exchangeability, networks and sparse random structures pose a problem that seems to require genuinely non-exchangeable models. The development of a coherent theory is, despite intense efforts in mathematics, a largely unsolved problem. In this section, we make the problem more precise and describe how, at least in principle, exchangeability might be substituted by other symmetry properties. The topic raises a host of challenging questions to which, in most cases, we have no answers.
In an exchangeable structure, events either never occur, or they occur infinitely often with a fixed (though unknown) probability. The simplest example is an exchangeable binary sequence: By de Finetti’s theorem, the binary variables are conditionally i.i.d. with a Bernoulli distribution. If we sample infinitely often, conditionally on the random Bernoulli parameter taking value , the fraction of ones in the sequence will be precisely . Therefore, we either observe a constant proportion of ones (if ) or no ones at all (if ).
In an exchangeable graph, rather than ones and zeros, we have to consider the possible subgraphs (single edges, triangles, five-stars, etc). Each possible subgraph occurs either never, or infinitely often. Since an infinite graph may have infinitely many edges even if it is sparsely connected, the number of edges is best quantified in terms of a rate:
Let be a sequence of graphs , where has vertices. We say that the sequence is sparse if, as increases, is of size (is upper-bounded by for a constant ). It is called dense if (lower-bounded by for a constant ).
If a random graph is sampled step-wise one vertex at a time, the partial graphs at each step also form a sequence, and we can refer to the random graph as dense or sparse, depending on whether the sequence is dense or sparse. (This definition has to be used with caution, since changing the order in which vertices are generated may affect the rate.) A typical example of dense random graphs are infinite random graphs in which each vertex has infinite degree. Random graphs with bounded degrees are sparse. Many important types of graph and array data are inherently sparse: In a social network with billions of users, individual users do not, on average, have billions of friends.
Exchangeable graphs are not sparse. If a random graph is exchangeable, it is either dense or empty.
The theory of graph limits described in Section V is closely related to exchangeability, and is inherently a theory of dense graphs: If we construct a sequence of graphs with sparsely growing edge sets, convergence in cut metric is still well-defined, but the limit object is always the empty graphon, i.e., a function on which vanishes almost everywhere.
One possible way to generate sparse graphs is of course to modify the sampling scheme for exchangeable graphs to generate fewer edges.
There is a very simple way to modify the Aldous-Hoover approach into one that generates sparse random graphs: Suppose we sample a finite graph with a fixed number of vertices. We simply multiply the probability in our usual sampling scheme by :
Comparison with our argument why exchangeable graphs are dense immediately shows that a graph sampled this way is sparse. More generally, we can multiply by some other rate function (instead of specifically ), and ask how this model behaves for . Statistical properties of this model are studied by Bickel, Chen, and Levina , who consider the behavior of moment estimators for the edge density, triangle density and other subgraph densities.
An obvious limitation of the BJR model is that it does not actually attempt to model network structure: It can equivalently be sampled by sampling from a graphon as in (III.8) and then deleting each edge independently at random, with probability . (In the parlance of random graph theory, this is exchangeable sampling followed by i.i.d. bond percolation.) In other words, the BJR model modifies an exchangeable graph to fit a first-order statistic of a network (the number of edges), but it cannot generate typical network structures, such as power laws.
VII-B Beyond exchangeability: Symmetry and ergodic theory
The example of networks and sparse structures shows that there are important random structures which are not exchangeable. This raises the question whether integral decompositions and statistical models, which we have throughout derived from exchangeability, can be obtained in a similar manner for structures that are not exchangeable. In principle, that is possible: Exchangeability is a special case of a probabilistic symmetry. It turns out that integral decompositions can be derived from much more general symmetries than exchangeability.
A very general result, the ergodic decomposition theorem, shows that integral decompositions of the form (II.8) are a general consequence of probabilistic symmetries, rather than specifically of exchangeability. The general theme is that there is some correspondence of the form
In principle, Bayesian models can be constructed based on any type of symmetry, as long as this symmetry defines a useful set of ergodic distributions. The following statement of the ergodic decomposition theorem glosses over various technical details; for a precise statement, see [39, Theorem A1.4].
We have already encountered the components of (VII.1) in Section II: In Bayesian terms, again corresponds to the observation distribution and to the prior. Geometrically, the integral representation Eq. VII.1 can be regarded as convex combination. Fig. 9 illustrates this idea for a toy example with three ergodic measures. A special case of the ergodic decomposition theorem is well-known in Bayesian theory as a result of Freedman :
In the language of Theorem VII.5, the group is the set of all rotations and reflections acting on all finite prefixes of a sequence. For every , let be the distribution of zero-mean Gaussian random variable with standard deviation . Freedman showed that, if satisfies Eq. VII.2, then its distribution is a scale mixture of Gaussians:
An alternative way to define symmetry in statistical models is through sufficient statistics: Intuitively, a symmetry property identifies information which is not relevant to the statistical problem; so does a sufficient statistic. For example, the empirical distribution retains all information about a sample except for the order in which observations were recorded. The empirical distribution is hence a sufficient statistic for the set distributions of exchangeable sequences. In an exchangeable graph model, the empirical graphon (the checkerboard function in Fig. 8) is a sufficient statistic. If the sufficient statistic is finite-dimensional and computes an average over observations for some function , the ergodic distributions are exponential family models . A readable introduction to this topic is given by Diaconis . The definitive reference is the monograph of Lauritzen , who refers to the set of ergodic distributions as an extremal family.
Not every probabilistic symmetry is applicable in statistics in the same way as exchangeability is. To be useful to statistics, the symmetry must satisfy two conditions:
The set of ergodic measures should be a “small” subset of the set of symmetric measures.
The measures should have a tractable representation, such as Kingman’s paint-box or the Aldous-Hoover sampling scheme.
Theorem VII.5 guarantees neither. If (1) is not satisfied, the representation is useless for statistical purposes: The integral representation Eq. VII.1 means that the information in is split into two parts, the information contained in the parameter value (which a statistical procedure tries to extract) and the randomness represented by (which the statistical procedure discards). If the set is too large, contains almost all the information in , and the decomposition becomes meaningless. We will encounter an appealing notion of symmetry for sparse networks in the next section—which, however, seems to satisfy neither condition (1) or (2). It is not clear at present whether there are useful types of symmetries which do not imply some form of invariance to a group of permutations. Although the question is abstract, the incompatibility of sparseness and exchangeability means it is directly relevant to Bayesian statistics.
VII-C Stationary networks and involution invariance
Is there a form of invariance that yields statistical models for network data? There is indeed a very natural notion of invariance in networks, called involution invariance, which we describe in more detail below. This property has interesting mathematical properties and admits an ergodic decomposition as in Theorem VII.5, but it seems to be too weak for applications in statistics.
A crucial difference between network structures and exchangeable graphs is that, in most networks, location in the graph matters. If conditioning on location is informative, exchangeability is broken. Probabilistically, location is modeled by marking a distinguished vertex in the graph. A rooted graph is simply a graph in which a particular vertex has been marked. A very natural notion of invariance for networks is called involution invariance or unimodularity , and can be thought of as a form of stationarity:
The definition says that, if an observer randomly walks along the graph by moving to a uniformly selected neighbor in each step, the distribution of the network around the observer remains unchanged (although the actual neighborhoods in a sampled graph may vary).
Involution invariance is a symmetry property which admits an ergodic decomposition, and Aldous and Lyons have characterized the ergodic measures. This characterization is abstract, however, and there is no known “nice” representation resembling, for example, the sampling scheme for exchangeable graphs. Thus, of the two desiderata described in Section VII-B, property (2) does not seem to hold. We believe that property (1) does not hold either: Although we have no proof at present, it seems that involution invariance is too weak a constraint to yield interesting statistical models (i.e., the set of ergodic distributions is a “large” subset of the involution invariant distributions).
Since exchangeability and involution invariance are the only well-studied probabilistic symmetries for random graphs, the question how statistical models of networks can be characterized is an open problem:
Is there a notion of probabilistic symmetry whose ergodic measures in (VII.1) describe useful statistical models for sparse graphs with network properties?
There is a sizeable literature on sparse random graph models which can model power laws and other network properties; see, for example . These are probability models and can be simulated, but estimation from data is often intractable, due to stochastic dependencies between the edges in the random graph. On the other hand, some dependence between edges is necessary to obtain a power law and similar properties. Hence, a suitable notion of symmetry would have to restrict dependencies between edges sufficiently to permit statistical inference, but not to the full conditional independence characteristic of the exchangeable case.
VIII Further References
Excellent non-technical references on the general theory of exchangeable arrays and other exchangeable random structures are two recent surveys by Aldous . His well-known lecture notes also cover exchangeable arrays. The most comprehensive available reference on the general theory is the monograph by Kallenberg (which presupposes in-depth knowledge of measure-theoretic probability). Kingman’s original article provides a concise reference on exchangeable random partitions. A thorough, more technical treatment of exchangeable partitions can be found in .
Schervish gives an insightful discussion of the application of exchangeability to Bayesian statistics. There is a close connection between probabilistic symmetries (such as exchangeability) and sufficient statistics, which is covered by a substantial literature. See Diaconis for an introduction and further references. For applications of exchangeability results to machine learning models, see , who discuss applications of the partial exchangeability result of Diaconis and Freedman to the infinite hidden Markov model .
The theory of graph limits in its current form was initiated by Lovász and Szegedy and Borgs et al. . It builds on work of Frieze and Kannan , who introduced both the weak regularity lemma (Theorem V.4) and the cut norm . In the framework of this theory, the Aldous-Hoover representation of exchangeable graphs can be derived by purely analytic means [48, Theorem 2.7]. The connection between graph limits and Aldous-Hoover theory was established, independently of each other, by Diaconis and Janson and by Austin . An accessible introduction to the analytic perspective is the survey , which assumes basic familiarity with measure-theoretic probability and functional analysis, but is largely non-technical. The monograph gives a comprehensive account.
Historically, the Aldous-Hoover representation was established in independent works of Aldous and of Hoover in the late 1970s. Aldous’ proof used probability-theoretic methods, whereas Hoover, a logician, leveraged techniques from model theory. In 1979, Kingman writes
…a general solution has now been supplied by Dr David Aldous of Cambridge. […] The proof is at present very complicated, but there is reason to hope that the techniques developed can be applied to more general experimental designs.
Aldous’ paper , published in 1981, attributes the idea of the published version of the proof to Kingman. The results were later generalized considerably by Kallenberg .
Acknowledgments. We have learned much about random graphs from Cameron Freer, and are also indebted to James Robert Lloyd for many useful discussions. Two anonymous reviewers have provided very detailed feedback, which in our opinion has greatly improved the article. We thank Karolina Dziugaite, Creighton Heaukalani, Jonathan Huggins and Christian Steinrücken for helpful comments on the manuscript.