Papers
Topics
Authors
Recent
Search
2000 character limit reached

Joint Degree Matrix (JDM): Realizability & Sampling

Updated 7 July 2026
  • JDM is an edge-count matrix that refines the degree sequence by detailing the exact number of edges between prescribed degree classes.
  • It supports rigorous realizability criteria and constructive algorithms that verify, reconfigure, and sample graphs with prescribed degree mixing.
  • JDM informs statistical modeling by revealing inherent sparsity and connectivity constraints which affect parameter estimability and sampling performance.

A joint degree matrix (JDM) is a refinement of the degree sequence of a simple graph: for each pair of degree classes, it specifies the exact number of edges joining them. In the standard undirected formulation, if Vi={v:deg(v)=i}V_i=\{v:\deg(v)=i\}, then JijJ_{ij} counts edges between ViV_i and VjV_j. The same information is sometimes written as a joint degree vector (JDV), obtained by flattening the upper-triangular part of the symmetric matrix; in that sense JDV and JDM are identical in content up to vectorization and symmetry conventions (Czabarka et al., 2015). As a graph invariant, the JDM encodes degree mixing much more finely than the degree sequence and underlies realization theory, reconfiguration by swaps, Markov-chain sampling, and statistical models based on bidegree counts (Stanton et al., 2011).

1. Definition, notation, and relation to degree mixing

For an undirected graph GG, the JDM J(G)\mathcal J(G) is the matrix with entries J(G)k,l\mathcal J(G)_{k,l} equal to the number of edges between nodes of degree kk and degree ll. In the equivalent JDV notation, one writes

jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|

for JijJ_{ij}0, and the matrix form is recovered by symmetry, JijJ_{ij}1 for JijJ_{ij}2 and JijJ_{ij}3 for JijJ_{ij}4 (Czabarka et al., 2015). The associated degree vector JijJ_{ij}5 has coordinates JijJ_{ij}6, the number of nodes of degree JijJ_{ij}7, and the total number of edges is

JijJ_{ij}8

The JDM determines the degree counts by

JijJ_{ij}9

equivalently ViV_i0 (Stanton et al., 2011).

This count-based object is the exact realization counterpart of the joint degree distribution (JDD). Once ViV_i1 and ViV_i2 are known, the degree distribution and joint degree distribution are

ViV_i3

In that probabilistic sense, the JDM is an integer-valued realization of the degree-pair mixing pattern on edges. A common compression of that information is assortativity: the JDD captures the full degree mixing structure, whereas assortativity is only a sufficient statistic derived from it (Stanton et al., 2011).

The JDM does not encode isolated vertices. Several formulations state this explicitly: degree-ViV_i4 vertices do not appear in the matrix, and the degree sequence is determined uniquely only up to isolated nodes (Stanton et al., 2011). In the JDV formulation used for extremal support questions, graphs are taken without isolated vertices unless noted otherwise (Czabarka et al., 2015).

2. Realizability and constructive characterization

The basic realizability problem asks when a prescribed matrix of degree-class edge counts is graphical. In count form, a matrix ViV_i5 is realizable by a simple graph if and only if the induced class sizes

ViV_i6

are integers for all ViV_i7, and the capacity constraints

ViV_i8

hold for all classes (Stanton et al., 2011). An equivalent class-based formulation writes the instance as ViV_i9, where the partition classes VjV_j0 are prescribed, every vertex in VjV_j1 must have degree VjV_j2, and VjV_j3 is the required number of edges between VjV_j4 and VjV_j5. Then realizability is characterized by

VjV_j6

together with

VjV_j7

These conditions are both necessary and sufficient (Amanatidis et al., 2015).

Constructive algorithms accompany both characterizations. One line of work builds, for each pair of classes VjV_j8, a nearly regular bipartite graph when VjV_j9 and a nearly regular internal graph when GG0, maintaining balanced residual degrees inside every class; the stated runtime is GG1 (Stanton et al., 2011). Another line first places the required inter- and intra-class edge counts arbitrarily and then rebalances degrees within each class by moving neighbors from overfull to underfull vertices; a more technical Balanced Degree Algorithm maintains

GG2

throughout the construction (Amanatidis et al., 2015).

Connected realizability is stricter than ordinary realizability. For JDM instances, the reduced instance

GG3

and the associated reduced capacities GG4 are used to characterize whether a connected realization exists. The criterion is expressed through the existence of a valid tree for the reduced instance, equivalently through the absence of a certificate GG5 violating a weighted connectivity inequality. A polynomial-time algorithm either constructs a connected realization or outputs such a certificate (Amanatidis et al., 2015).

3. Reconfiguration by swaps and uniform sampling

Local moves preserving the JDM are restricted swap operations. If GG6, GG7, and GG8 lie in the same degree class GG9, then the swap

J(G)\mathcal J(G)0

preserves all JDM counts. This operation preserves the JDM because it replaces one edge from J(G)\mathcal J(G)1 to the degree class of J(G)\mathcal J(G)2 and one edge from J(G)\mathcal J(G)3 to the degree class of J(G)\mathcal J(G)4 by edges of the same class-pair types (Czabarka et al., 2013).

A central structural theorem is that the realization space of a fixed JDM on a fixed labeled vertex set is connected under restricted swap operations. The proof in "On Realizations of a Joint Degree Matrix" corrected an earlier erroneous argument by Stanton and Pinar; the error was that equal neighborhoods of a chosen vertex in two realizations do not imply that the truncated graphs obtained by deleting that vertex have the same JDM (Czabarka et al., 2013). The corrected proof proceeds by transforming arbitrary realizations into balanced realizations, then matching degree spectra vertex by vertex, and finally resolving the remaining differences inside each degree-class pair.

This connectivity result motivates Markov-chain samplers over the space of simple realizations. One construction uses a JDM configuration model and endpoint switches within degree neighborhoods. The simple-graph chain is aperiodic, because with probability J(G)\mathcal J(G)5 it stays in place, and it is symmetric and irreducible, so it converges to the uniform distribution on simple graphs with the prescribed JDM (Stanton et al., 2011). A related legal-switch chain on J(G)\mathcal J(G)6 chooses a legal switch uniformly and accepts it with probability

J(G)\mathcal J(G)7

which again yields an aperiodic irreducible chain with uniform stationary distribution (Amanatidis et al., 2015).

The unresolved point is rapid mixing in full generality. Empirical evidence based on edge-indicator autocorrelation suggested quick mixing in practice and led to the heuristic recommendation of running the simple-graph chain for about J(G)\mathcal J(G)8 steps (Stanton et al., 2011). That heuristic does not amount to a general theorem, and several works explicitly leave the mixing rate of the full JDM realization chain open (Czabarka et al., 2013).

4. Balanced realizations and regimes with provable rapid mixing

Balanced realizations form a particularly tractable subspace. For a fixed graphical JDM J(G)\mathcal J(G)9, if J(G)k,l\mathcal J(G)_{k,l}0 denotes the number of neighbors of J(G)k,l\mathcal J(G)_{k,l}1 in class J(G)k,l\mathcal J(G)_{k,l}2, and

J(G)k,l\mathcal J(G)_{k,l}3

for J(G)k,l\mathcal J(G)_{k,l}4, then a realization is balanced if

J(G)k,l\mathcal J(G)_{k,l}5

for every class pair and every vertex in the source class. Equivalently, each partial degree is either the floor or the ceiling of the class average, so edges between two degree groups are distributed as uniformly as possible (Erdős et al., 2013).

Every graphical JDM admits a balanced realization, and the restricted-swap Markov chain on the set of all balanced realizations has polynomially bounded relaxation time: J(G)k,l\mathcal J(G)_{k,l}6 The proof decomposes balanced realizations into labeled unions of almost regular and almost semi-regular bipartite factors, then applies a conductance-based factorization theorem together with fast mixing results for the factor chains (Erdős et al., 2013). This result is substantial but applies only to the balanced subset, not to all JDM realizations.

A later rapid-mixing theorem fully resolves the first nontrivial unrestricted case: JDMs with exactly two degree classes. In that setting, the restricted switch chain on J(G)k,l\mathcal J(G)_{k,l}7 is rapidly mixing for all instances. The proof passes through an augmented state space J(G)k,l\mathcal J(G)_{k,l}8, a hinge-flip chain, and strong stability with constant J(G)k,l\mathcal J(G)_{k,l}9, and then transfers the flow bound to the natural switch chain by an embedding argument (Amanatidis et al., 2018).

These results define the current proven landscape. Rapid mixing is established for balanced realizations of arbitrary graphical JDMs and for all two-class JDM instances, but not for the full realization space with three or more degree classes (Erdős et al., 2013).

5. Extremal sparsity and statistical implications

The JDM has many formally possible cells but comparatively small achievable support. In JDV notation, the support is

kk0

and the number of possible positions is

kk1

The extremal problem is to maximize kk2 over all kk3-vertex graphs (Czabarka et al., 2015).

A lower bound comes from the half graph kk4, with vertex set kk5 and edge set

kk6

Its degree sequence is

kk7

and its support size is

kk8

Hence

kk9

Two upper-bound methods show that asymptotically only a little over half of all possible cells can be nonzero. One yields

ll0

and a combinatorial argument yields

ll1

Accordingly,

ll2

so only about half of the JDM cells can be nonzero in any graph (Czabarka et al., 2015).

This extremal sparsity has a direct modeling consequence. In the ll3K or bidegree-distribution exponential random graph model, the sufficient statistics are the JDM entries. If an observed graph has ll4, then the corresponding parameter is not estimable from that observation. Since even the most favorable graph can make only about half of the cells nonzero, a single network observation can support estimation of at most about half of the JDM-based parameters (Czabarka et al., 2015).

The JDM is a special case of broader partition-based edge-count models. In the Partition Adjacency Matrix (PAM) model, the vertex set is partitioned into arbitrary classes ll5, the degree sequence is given explicitly, and a matrix ll6 prescribes the exact number of edges between and within the partition classes. Choosing the partition classes to be degree classes makes JDM an instance of PAM (Erdős et al., 2015). Skeleton graphs re-encode the same information as PAM: the partition classes become vertices of an auxiliary graph, allowed class pairs become bones, and bone weights prescribe edge counts. This formulation is especially useful when the number of partition classes is small or the interaction pattern has special topology, such as two classes or a skeleton graph with at most one cycle (Erdős et al., 2015).

Formulation Constraint object Representative result
JDM Edges between degree classes Realizability, connectivity by restricted swaps, and exact-constrained sampling (Stanton et al., 2011)
PAM / skeleton graph Edges between arbitrary partition classes JDM is a special case; polynomial results for two classes and at-most-one-cycle skeleton graphs (Erdős et al., 2015)
Directed JDM + DCM Source out-degree to target in-degree counts Rescaled construction with exact realization of adjusted targets and bounded deviation of distributions (Yan et al., 30 Jul 2025)

In the skeleton-graph setting, the exact two-class problem is already subtler than ordinary JDM reconfiguration. The number of crossing edges between the two classes has a parity restriction under swaps, realizability with exactly ll7 crossing edges is decidable in polynomial time, and the realization space need not be connected under preserving swaps alone; connectivity is recovered by allowing preserving swaps together with double swaps (Erdős et al., 2015). This underscores that JDM-type constraints become structurally harder when degree classes are replaced by arbitrary partitions.

A directed specialization of the JDM was introduced for linearly rescaled sampling of large directed networks. There the matrix is

ll8

so rows index source out-degree classes and columns index destination in-degree classes. It is paired with a degree correlation matrix

ll9

After scaling by a factor jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|0, flooring jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|1, ceiling jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|2, and adding an adjustment matrix jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|3, the final targets

jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|4

are realized exactly by a directed construction, while the original joint degree and degree-correlation distributions are preserved only approximately, with explicit sparsity-refined bounds (Yan et al., 30 Jul 2025). In that directed setting, empirical data on eight networks showed jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|5 below jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|6 in all cases and around jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|7 for node size larger than jik(G)={xyE(G):xVi, yVk}j_{ik}(G)=\bigl|\{xy\in E(G):x\in V_i,\ y\in V_k\}\bigr|8, reinforcing the broader theme that degree-pair matrices are typically sparse objects (Yan et al., 30 Jul 2025).

Across these formulations, the JDM serves as a canonical exact summary of degree mixing. It determines the degree sequence up to isolated vertices, supports clean realizability criteria, admits local reconfiguration moves, and yields both constructive and sampling-based graph models. At the same time, its realization spaces reveal sharp limits: full rapid-mixing theorems remain restricted, connected realizability is substantially subtler than ordinary realizability, and even extremal JDMs can occupy only about half of their potential cells.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Joint Degree Matrix (JDM).