Table of Contents
Fetching ...

Maximum Entropy Relaxation of Multi-Way Cardinality Constraints for Synthetic Population Generation

François Pachet, Jean-Daniel Zucker

Abstract

Generating synthetic populations from aggregate statistics is a core component of microsimulation, agent-based modeling, policy analysis, and privacy-preserving data release. Beyond classical census marginals, many applications require matching heterogeneous unary, binary, and ternary constraints derived from surveys, expert knowledge, or automatically extracted descriptions. Constructing populations that satisfy such multi-way constraints simultaneously poses a significant computational challenge. We consider populations where each individual is described by categorical attributes and the target is a collection of global frequency constraints over attribute combinations. Exact formulations scale poorly as the number and arity of constraints increase, especially when the constraints are numerous and overlapping. Grounded in methods from statistical physics, we propose a maximum-entropy relaxation of this problem. Multi-way cardinality constraints are matched in expectation rather than exactly, yielding an exponential-family distribution over complete population assignments and a convex optimization problem over Lagrange multipliers. We evaluate the approach on NPORS-derived scaling benchmarks with 4 to 40 attributes and compare it primarily against generalized raking. The results show that MaxEnt becomes increasingly advantageous as the number of attributes and ternary interactions grows, while raking remains competitive on smaller, lower-arity instances.

Maximum Entropy Relaxation of Multi-Way Cardinality Constraints for Synthetic Population Generation

Abstract

Generating synthetic populations from aggregate statistics is a core component of microsimulation, agent-based modeling, policy analysis, and privacy-preserving data release. Beyond classical census marginals, many applications require matching heterogeneous unary, binary, and ternary constraints derived from surveys, expert knowledge, or automatically extracted descriptions. Constructing populations that satisfy such multi-way constraints simultaneously poses a significant computational challenge. We consider populations where each individual is described by categorical attributes and the target is a collection of global frequency constraints over attribute combinations. Exact formulations scale poorly as the number and arity of constraints increase, especially when the constraints are numerous and overlapping. Grounded in methods from statistical physics, we propose a maximum-entropy relaxation of this problem. Multi-way cardinality constraints are matched in expectation rather than exactly, yielding an exponential-family distribution over complete population assignments and a convex optimization problem over Lagrange multipliers. We evaluate the approach on NPORS-derived scaling benchmarks with 4 to 40 attributes and compare it primarily against generalized raking. The results show that MaxEnt becomes increasingly advantageous as the number of attributes and ternary interactions grows, while raking remains competitive on smaller, lower-arity instances.
Paper Structure (35 sections, 14 equations, 5 figures, 3 tables, 2 algorithms)

This paper contains 35 sections, 14 equations, 5 figures, 3 tables, 2 algorithms.

Figures (5)

  • Figure 1: Scalability of the CP-SAT solver. Left: 12 variables (315 target cells); the solver proves optimality up to $n = 30$ (green dots). Right: 24 variables (3,621 target cells); the solver never proves optimality. Markers indicate solver status: optimal (proved best), feasible (not proved optimal), and timeout/infeasible. Error bars show the range over 3 random seeds. The time limit is 120 s per run.
  • Figure 2: Competence map of MaxEnt vs. Raking (2D view): relative advantage as a function of population size and number of variables, for arity 2 and arity 3. Green = MaxEnt better; red = Raking better.
  • Figure 3: Competence map of MaxEnt vs. Raking (3D view): height encodes MaxEnt precision (1$-$err); color encodes relative advantage. Green regions indicate configurations where MaxEnt wins.
  • Figure 4: Mean relative error vs. population size for 28-variable instances (left: arity 2; right: arity 3). MaxEnt consistently outperforms Raking for small populations and high arity.
  • Figure 5: Mean relative error vs. population size for 40-variable instances (left: arity 2; right: arity 3). The advantage of MaxEnt over Raking grows with the number of variables.