Bayesian Two-Mode Network Analysis

Statistics
Introduced by
Borgatti & Everett (two-mode SNA); Bayesian extensions by multiple authors
Year
1997–2010s
Type
Probabilistic network model
Family
Network science

What does it do?

Bayesian two-mode network analysis applies Bayesian inference to bipartite networks, in which two disjoint sets of nodes, such as actors and events or consumers and products, are linked only across the sets.

Priors over tie probabilities and structural parameters yield posterior distributions and credible intervals for centrality, community membership and projection metrics, instead of single point estimates.

The intuition behind the method

A standard two-mode network records which actors attended which events. Classical analysis treats observed ties as fixed facts. The Bayesian version instead asks: given the observed pattern, what is the probability distribution over possible underlying connection tendencies? Priors encode prior knowledge about how actors and events typically relate, and the observed data updates those beliefs through Bayes' rule. The result is not just a single network metric but a posterior distribution over each metric, revealing which conclusions are robust and which are uncertain given limited data.

History

Two-mode network analysis is documented in Borgatti and Everett's 1997 paper 'Network analysis of 2-mode data' in Social Networks, which is the two-mode reference cited on this page. That paper describes two-mode network analysis rather than a Bayesian model. Latouche, Birmelé and Ambroise (2011) develop an overlapping stochastic block model for one-mode networks, fitted by variational inference; it is related probabilistic block-model work, not a bipartite method. Bayesian two-mode analysis is therefore best understood as general Bayesian inference (priors, likelihoods, and posterior sampling or approximation) applied to bipartite data, rather than as a single established method with a named originator and date.

When to use it

Choose this approach when the data are genuinely two-mode, such as actor-by-event membership matrices, and when the conclusions depend on how certain the network metrics are. It is most useful for sparse or small bipartite datasets, where point estimates of centrality or clustering can be unstable, and when prior knowledge such as expected tie density or known group sizes can be encoded. Do not use it when the data are one-mode, when the question is purely descriptive and an exploratory summary is enough, when no defensible priors can be specified, or when available computing resources cannot support MCMC or variational inference at the network size in question.

Limitations and considerations

  • MCMC sampling becomes expensive as the number of actors and events grows and the adjacency matrix becomes dense.
  • Results depend on the prior when data are sparse. A flat Beta(1,1) edge prior is uniform over the edge probability and adds little information, so the posterior is wide and is shaped mainly by the scarce data. An informative prior, by contrast, can dominate the posterior. Check the prior's influence with a sensitivity analysis across alternative prior choices.
  • Dedicated, mature software for Bayesian two-mode models is less established than for classical two-mode analysis, so many analyses require custom model code.
  • Interpreting posterior summaries requires familiarity with priors, posterior distributions and credible intervals, which can make results harder to communicate to non-specialists.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Returns posterior distributions and credible intervals for centrality scores and community assignments, so the uncertainty behind each conclusion is visible.
  • In sparse or small bipartite datasets, the posterior shows which conclusions the data can support and which rest mainly on the prior.
  • Known group sizes, expected tie density or domain knowledge can enter through the priors rather than being left out of the analysis.
  • Community assignments carry their posterior uncertainty, so an actor can be reported as ambiguous between groups instead of being forced into one cluster.
  • Both modes are modelled jointly, so the bipartite structure is kept and one-mode projections are derived from the posterior rather than fixed in advance.

Applications

  • Author-by-journal or author-by-conference publication data, with uncertainty over centrality rankings.
  • Consumer-by-product purchase data, to look for latent preference groups with credible intervals.
  • Patient-by-disease co-occurrence data, where probabilistic community structure is of interest.
  • Legislator-by-bill co-sponsorship data, linking actors to events.
  • Plant-pollinator interaction data, where observation uncertainty affects structural conclusions.

How it works

How it works

1

The network is encoded as a bipartite adjacency matrix with actors on one side and events (or items) on the other. No ties exist within either set; connections run only across the two modes. This representation is the foundation for all subsequent modelling steps.

2

Bayesian priors are placed over the model parameters: edge probabilities, block membership indicators, or community mixing rates. Beta priors are common for binary tie probabilities; Dirichlet priors are used for block mixing proportions. Priors may incorporate domain knowledge, such as known group sizes or expected density.

3

A likelihood function expresses how probable the observed bipartite adjacency matrix is given the latent parameters. Bernoulli likelihoods handle binary ties; Poisson or negative-binomial likelihoods handle weighted ties. The likelihood captures the structural assumptions of the chosen model (e.g., stochastic block model or latent factor model). The standard specification assumes that ties are conditionally independent given the latent parameters and that actors (and events) within the same block are exchangeable. Strong dependence between actors, for example when one actor's participation drives others' participation, violates these assumptions and calls for a model that represents the dependence explicitly.

Formula
P(A | \theta) = \prod_{i,j} \theta_{ij}^{A_{ij}} (1-\theta_{ij})^{1-A_{ij}}
4

Bayes' theorem combines prior and likelihood into a posterior distribution over model parameters. Because analytical posteriors are rarely available for network models, Markov chain Monte Carlo (MCMC) or variational Bayes methods are used to sample or approximate the posterior, yielding uncertainty quantification for all structural summaries.

Formula
P(\theta | A) \propto P(A | \theta)\, P(\theta)
5

Posterior samples are used to compute projected one-mode networks (actor-by-actor or event-by-event), centrality distributions, and community assignments with credible intervals. This propagates uncertainty from the raw data through to all downstream metrics, enabling principled inference about which actors or communities are reliably distinct.

Common pitfalls

  • Projecting to a one-mode network before inference discards the bipartite structure. This can understate uncertainty, because the projected ties are no longer modelled as the observed two-mode ties.
  • Relying on informative priors without a sensitivity analysis. With sparse bipartite data an informative prior can dominate the posterior, so conclusions may reflect the prior rather than the data. Flat priors add little information, and sparse data then give wide posteriors that should not be read as precise results.
  • Reporting posterior means alone, without credible intervals, removes the main advantage of the Bayesian approach.
  • Treating ties within one mode as cross-mode ties violates the bipartite assumption that ties run only between the two sets.

Frequently asked questions

What makes a network two-mode (bipartite)?

A bipartite network has two disjoint sets of nodes — for example actors and events — and ties run only between the sets, never within them. If your data are an actor-by-event membership matrix, you have a two-mode network.

How is this different from standard frequentist two-mode network analysis?

Classical two-mode analysis treats observed ties as fixed and computes metrics as point estimates. The Bayesian version places probability distributions over structural parameters and returns posterior distributions, making uncertainty in all metrics explicit rather than hiding it.

Do I need to specify informative priors?

Not necessarily, but with sparse bipartite data a flat prior adds little information and the posterior stays wide. Whatever prior is chosen, for example a flat Beta(1,1) edge probability or a more informative Beta prior, should be checked for sensitivity by comparing results under alternative prior choices.

Which software supports Bayesian two-mode network analysis?

General-purpose probabilistic programming tools such as Stan, PyMC or BUGS can in principle be used to write custom bipartite Bayesian models. Dedicated implementations for this model class may exist, so check current documentation for availability and maintenance before choosing one.

When should I project the bipartite network to one mode before analysis?

Projection discards information and can introduce spurious ties. In a Bayesian framework it is almost always preferable to model the full bipartite structure and derive one-mode summaries from the posterior rather than projecting first.

Related methods

Sources

  1. Borgatti, S. P., & Everett, M. G. (1997). Network analysis of 2-mode data. Social Networks, 19(3), 243–269.

    Open DOI reference
  2. Latouche, P., Birmele, E., & Ambroise, C. (2011). Overlapping stochastic block models with application to the French political blogosphere. Annals of Applied Statistics, 5(1), 309–336.

    Open DOI reference