permABC: Permutation-Based ABC for Hierarchical Models
- permABC is a permutation-based extension of Approximate Bayesian Computation that overcomes fixed-order matching issues in hierarchical models with arbitrarily labeled compartments.
- It integrates an optimal assignment step within ABC-SMC, complemented by Over Sampling and Under Matching strategies, to enhance simulation acceptance rates in high-dimensional settings.
- By reordering simulated compartments to align local parameters, permABC yields a labeled posterior sample that sharpens inference and improves computational scalability.
Searching arXiv for permABC and core ABC background papers to ground the article. permABC is a permutation-based extension of Approximate Bayesian Computation (ABC) for likelihood-free inference in hierarchical models with many grouped observations and both global and local parameters, especially when the groups are exchangeable compartments whose labels are statistically arbitrary (Luciano et al., 8 Jul 2025). It was introduced to address a specific failure mode of standard ABC: in high-dimensional hierarchical settings, a simulated dataset may match the observed compartments well only after relabeling, yet ordinary componentwise comparison rejects it because it enforces a fixed ordering. permABC replaces fixed-order matching by an optimal assignment step, embeds that idea in ABC-SMC, and adds two sequential accelerators—Over Sampling and Under Matching—to improve feasibility in regimes with many compartments or strong contamination (Luciano et al., 8 Jul 2025).
1. Position within the ABC literature
ABC is a family of Bayesian methods for settings in which the posterior target is conceptually well defined but the likelihood is unavailable in closed form, too costly to evaluate, or otherwise intractable, while forward simulation from the model remains feasible (Marin et al., 2011). In the standard rejection formulation, one simulates , then pseudo-data , and accepts if simulated and observed data are sufficiently close under a discrepancy applied either to raw data or to summary statistics: This yields the usual ABC pseudo-posterior
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$
where (Luciano et al., 8 Jul 2025).
The broader ABC literature had already developed rejection ABC, ABC-MCMC, ABC-PMC, and ABC-SMC, while emphasizing calibration difficulties involving summary statistics, discrepancy functions, and tolerance schedules (Marin et al., 2011). Application-focused work had also shown that adaptive SMC-ABC could be effective in complex stochastic simulators, for example in astronomical inference on galaxy morphology, where a self-generating target sequence and self-refining MCMC kernel made likelihood-free inference practical despite an intractable data likelihood (Cameron et al., 2012). However, these earlier papers did not define permABC. The specific contribution of permABC is to exploit exchangeability of grouped observations through permutation-based matching inside the ABC acceptance step rather than through only summary-statistic design or ordinary SMC adaptation (Luciano et al., 8 Jul 2025).
A central motivation is dimensional scalability. Standard ABC already suffers from a severe acceptance bottleneck when many dimensions must match simultaneously, and this becomes especially acute in hierarchical models with a shared global parameter and many compartment-specific local parameters (Marin et al., 2011). permABC was proposed precisely for that setting (Luciano et al., 8 Jul 2025).
2. Hierarchical exchangeability and the matching problem
The permABC framework considers a hierarchical model with compartments. In compartment , the observed subdataset is
and the full dataset is
Parameters are partitioned into a global parameter 0 with prior 1 and local parameters 2, giving
3
The key modeling assumption is conditional exchangeability of the compartment-level pairs 4. A typical case is
5
and conditional on 6, each compartment is simulated independently from a common compartment-level likelihood 7, so that
8
For a permutation 9,
0
and exchangeability implies
1
This is the structural premise on which permABC rests (Luciano et al., 8 Jul 2025).
In the examples emphasized by the method, the comparison often uses full data rather than summaries, i.e. 2, with discrepancy
3
where the weights 4 may be chosen manually or adaptively to prevent domination by a single compartment (Luciano et al., 8 Jul 2025).
The methodological problem is that standard ABC compares 5 and 6 coordinatewise in their original order. When simulated local labels are arbitrary, this comparison is statistically unnatural. A simulated dataset may be a good fit only after relabeling compartments. In one-dimensional settings, sorting can sometimes recover the relevant comparison because
7
but that device does not generalize to multivariate compartments 8, 9 (Luciano et al., 8 Jul 2025). permABC addresses the relabeling problem directly through optimal matching.
3. Permutation-matched acceptance and pseudo-posterior
The central acceptance criterion of permABC is
0
A simulation is accepted if some permutation of the simulated compartments lies within tolerance of the observed dataset (Luciano et al., 8 Jul 2025). Computationally, the required optimization is a linear assignment or bipartite matching problem that can be solved by a modified Jonker–Volgenant algorithm in
1
time, replacing a 2 search over all permutations by polynomial-time matching (Luciano et al., 8 Jul 2025).
If one accepts whenever some permutation matches, the induced pseudo-posterior is
3
with
4
This target is permutation-invariant in the local parameters and is useful when local parameters are nuisances, but by itself it does not identify which local parameter corresponds to which observed compartment (Luciano et al., 8 Jul 2025).
permABC therefore adds a projection step. For each accepted simulation, it computes
5
and returns the reordered pair
6
The projected pseudo-posterior is
7
with marginal
8
where
9
and
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$0
This is a defining distinction from approaches that use only permutation-invariant summaries: permABC aligns the local parameters themselves and returns a labeled posterior sample (Luciano et al., 8 Jul 2025).
permABC is not, for arbitrary $\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$1, identical to ordinary ABC. Standard ABC would accept all permutations satisfying the tolerance criterion, whereas permABC retains only the optimal one. The paper gives a sufficient condition under which the two coincide. Define
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$2
Then for every $\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$3, at most one permutation can satisfy the ABC condition, and therefore
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$4
The method therefore preserves the small-$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$5 consistency regime of ordinary ABC while modifying the pseudo-posterior at moderate tolerances (Luciano et al., 8 Jul 2025). A more exact but more expensive stratified permABC variant was also proposed to recover the classical ABC pseudo-posterior exactly for larger $\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$6 by estimating the number of acceptable permutations (Luciano et al., 8 Jul 2025).
4. Sequential algorithms: permABC-SMC, Over Sampling, and Under Matching
permABC was developed not only as a rejection sampler but also as a sequential method built on ABC-SMC. In the SMC formulation, one uses a decreasing tolerance schedule
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$7
and sequential proposal distributions $\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$8. The defining substitution is that ordinary ABC discrepancy is replaced by the permuted discrepancy
$\begin{split} \pi_{\varepsilon}\{ \theta \mid \eta(y)\} &\propto \int_{D^K} \pi_{\varepsilon}\{\theta, z \mid \eta(y)\} \, dz \ &\propto \pi(\theta) \int_{A_{y,\varepsilon}} f(z \mid \theta) \, dz, \end{split}$9
At the final stage, particles are projected by their optimal permutations to obtain samples from 0 (Luciano et al., 8 Jul 2025).
The paper emphasizes a Del Moral, Doucet, and Jasra style ABC-SMC scheme with 1 pseudo-dataset per parameter proposal. In that regime, accepted particles effectively carry binary survival weights, so the effective sample size can coincide with the number of surviving particles and fail to reveal degeneracy. For that reason the method recommends monitoring the unique particle rate in addition to ESS (Luciano et al., 8 Jul 2025).
The sequential framework is extended in two complementary directions.
| Variant | Mechanism | Intended role |
|---|---|---|
| permABC-SMC | Full matching under optimal permutation | Default sequential method |
| Over Sampling | Simulate 2 compartments, keep best matching subset | Improve early-stage acceptance |
| Under Matching | Require only 3 compartments to match | Early-stage relaxation and robustness |
Over Sampling
Over Sampling, denoted permABC-OS, simulates more compartments than are observed: 4 Acceptance is based on the existence of a size-5 subset of simulated compartments that matches the observed data: 6 where 7 is the set of injections from 8 to 9. This is a rectangular assignment problem solvable in
0
time (Luciano et al., 8 Jul 2025).
The corresponding acceptance region is
1
with pseudo-posterior
2
After acceptance, the optimal partial permutation is applied and the 3 matched compartments are brought to the front, defining 4 (Luciano et al., 8 Jul 2025).
The intended effect is to make early SMC stages easier: as 5 grows, the algorithm can search among more simulated compartments for a good subset. The paper notes a specific distributional consequence: large 6 tends to keep the global parameter marginal closer to prior, while matched local parameters become highly concentrated around good local fits (Luciano et al., 8 Jul 2025). The sequential schedule is
7
with a recommended decay
8
and 9 suggested. A practical calibration chooses 0 as a high empirical quantile of initial matching distances, for example using 1 (Luciano et al., 8 Jul 2025).
Under Matching
Under Matching, denoted permABC-UM, moves in the opposite direction. It simulates the usual 2 compartments but requires only 3 matches at intermediate stages: 4 Here 5 selects 6 simulated compartments and 7 selects 8 observed compartments, with restricted distance
9
The optimization can be reduced to a square assignment on a 0 matrix with complexity
1
by augmenting the cost matrix with dummy rows and columns of zero cost (Luciano et al., 8 Jul 2025).
The acceptance region is
2
with pseudo-posterior
3
The schedule is
4
with heuristic update
5
for 6 or 7 (Luciano et al., 8 Jul 2025).
The stated motivation is robustness and combinatorial relief in early stages. It can tolerate outliers or mild model misspecification, but the transition to full matching can become severe, and population collapse at the final step is a recognized limitation (Luciano et al., 8 Jul 2025).
5. Computation, proposal adaptation, and implementation
The basic rejection version of permABC differs formally from vanilla rejection ABC in only one step: after simulating 8, it solves
9
and accepts if
0
storing 1 (Luciano et al., 8 Jul 2025). Practically, however, that assignment step is the entire method.
Within SMC, proposal adaptation requires special care because local labels can switch across particles. Standard ABC-SMC often uses a diagonal Gaussian random walk
2
In permABC, raw componentwise empirical variances are not meaningful unless particles are aligned. The method therefore first aligns each particle using its optimal permutation 3, then computes
4
and defines the proposal kernel
5
For Over Sampling and Under Matching, when only some compartments are matched, unmatched components receive default variance
6
where 7 indexes matched components (Luciano et al., 8 Jul 2025).
The appendix also introduces a blockwise Metropolis-within-Gibbs kernel. A global move updates the shared parameter using the full dataset and a recomputed optimal assignment, while a local move updates local parameters in random blocks but still evaluates acceptance through the global permuted discrepancy. This is specifically contrasted with ABC-Gibbs, which may mix poorly under strong dependence because it conditions on other blocks rather than scoring the full configuration globally (Luciano et al., 8 Jul 2025).
Several practical tuning recommendations are explicit. For Over Sampling, the tolerance may be selected as a high empirical quantile of initial matching distances with 8; duplication of particles across 9 transitions can mitigate extinction, with 00 or 01 suggested; and monitoring should include unique particle rate in addition to ESS (Luciano et al., 8 Jul 2025). The method is implemented in a public Python package, permabc (Luciano et al., 8 Jul 2025).
A common misconception is that permABC is merely a permutation-invariant summary-statistic trick. The construction of the projected pseudo-posterior shows otherwise: the method uses optimal relabeling to recover aligned local parameters, not only an invariant global discrepancy (Luciano et al., 8 Jul 2025). A plausible implication is that permABC occupies an intermediate position between purely invariant ABC summaries and full latent-label inference: it exploits symmetry but still returns a labeled local posterior.
6. Empirical results, applications, and limitations
The main empirical evidence is organized around both synthetic experiments and a real-world epidemiological application (Luciano et al., 8 Jul 2025).
In a toy 02 uniform example, the method exhibits the two regimes predicted by theory. For 03, permABC and standard ABC target different pseudo-posteriors; for 04, they coincide. Even in that small example, permABC reached the same approximation quality with about half the simulations (Luciano et al., 8 Jul 2025).
In a high-dimensional Gaussian hierarchical model,
05
performance was measured by the tolerance 06 achieved for a fixed computational budget, normalized by the number of simulations required to obtain 07 unique particles. Under that criterion, permutation-based methods reached substantially smaller 08 than vanilla ABC, ABC-SMC, and ABC-PMC, and the advantage increased with 09 (Luciano et al., 8 Jul 2025).
In an overparameterized Gaussian model with posterior ridge structure,
10
permABC-SMC captured the full posterior geometry more effectively than ABC-Gibbs, which became trapped and produced a truncated approximation (Luciano et al., 8 Jul 2025). This result directly supports the claim that global permutation-based matching is more robust than coordinatewise likelihood-free updating when global and local parameters are strongly coupled.
In a 11 contaminated Gaussian example with four local means in the tails of the prior, Over Sampling reached lower 12 with fewer iterations than standard permABC-SMC, although each iteration was more expensive; Under Matching worked well at intermediate 13 and provided robustness to contamination, but usually struggled to reach very small tolerances because the final full-matching step degenerated (Luciano et al., 8 Jul 2025). The paper therefore suggests hybrid strategies in practice.
The principal real-world case study is a hierarchical SIR analysis of daily hospitalization trajectories across 14 French departments during the first wave of COVID-19 (Luciano et al., 8 Jul 2025). The dynamical system is
15
with
16
The model uses a global 17 shared across departments and local parameters
18
yielding a 19-dimensional parameter space: 20 The reported findings are that using all 21 departmental trajectories with permABC-SMC gives a much sharper posterior for the global 22 than fitting a model to aggregated national data, while also recovering local heterogeneity across departments (Luciano et al., 8 Jul 2025).
The limitations are explicit. permABC relies crucially on exchangeability; if compartment labels are scientifically meaningful rather than interchangeable, permutation matching can induce bias or wash out structure (Luciano et al., 8 Jul 2025). The method targets a different pseudo-posterior from standard ABC at moderate or large 23, even though the two coincide in the sufficiently small-tolerance regime (Luciano et al., 8 Jul 2025). Assignment cost remains nontrivial at 24, Over Sampling can suffer particle extinction across 25 transitions, Under Matching can degenerate when 26, and improved inference machinery cannot correct a misspecified simulator (Luciano et al., 8 Jul 2025).
Within the ABC literature more broadly, these caveats align with longstanding warnings that approximation quality depends jointly on tolerance, discrepancy design, and the structural faithfulness of the simulator itself (Marin et al., 2011). A plausible implication is that permABC should be understood not as a universal replacement for ABC, but as a specialized likelihood-free method for hierarchical simulators in which exchangeability is real, grouped labels are arbitrary, and fixed-order comparison is the dominant computational bottleneck.