TRANSMISSION // 2608.24713v2

When near-symmetry can speed up probabilistic reasoning

Source published

A new method lets probabilistic models group nearly, rather than perfectly, interchangeable inputs. In tests on generated models, it sped up inference while keeping query results close to exact-model results.

AI-generated conceptual illustration for When near-symmetry can speed up probabilistic reasoning
AI-generated conceptual illustration; not documentary evidence.

Many probabilistic models become easier to compute with when some inputs are interchangeable. But data-estimated numbers rarely match exactly. This paper asks whether small mismatches can be tolerated—and how much accuracy that costs.

Probabilistic models often represent uncertainty using networks of variables linked by local functions, or factors. Calculating probabilities from such models can become costly as the number of variables grows. One way to make the calculations more manageable is to notice when some objects are interchangeable: if swapping their values leaves a factor unchanged, the model can sometimes count how many values of each kind there are instead of treating every object separately. This approach is called lifted inference.

The difficulty is that real model parameters may be estimated from data. Values that should be equal under a symmetry can differ slightly, so a method requiring exact equality may fail to recognize that the inputs are nearly interchangeable. The authors ask whether those small differences can be tolerated without making later probability queries unreliable.

A controlled relaxation of symmetry

The paper introduces ε-commutativity. In everyday terms, a factor has this property when swapping a selected group of inputs changes its output by no more than a specified relative tolerance, ε. At ε = 0, the definition reduces to exact commutativity. The tolerance is multiplicative, so it concerns relative rather than fixed absolute differences.

To use the near-symmetry, the authors group input assignments that differ only by swaps and replace the factor’s slightly different outputs within each group with a shared representative. They use the arithmetic mean as a practical representative in their experiments. The compressed model can then use counting variables—variables that record how many inputs have each value—in place of explicitly listing every interchangeable assignment.

The authors incorporate this idea into advanced colour passing (ACP), an algorithm for constructing lifted models. They also derive theoretical guarantees: bounds on how much the full probability distribution can change when factors are replaced, and therefore on the possible effects of compression on later inference. The paper establishes that its bound for the mean-based construction is optimal in the general case. That is a worst-case mathematical guarantee, not a prediction that every model will experience an error near the bound.

There is an important structural wrinkle: unlike exact commutativity, ε-commutativity is not necessarily preserved when separate sets of inputs are combined. The paper gives an example where each pair of inputs meets a tolerance but the whole group does not. This means algorithms cannot simply extend every pairwise discovery into a larger approximately symmetric group.

Tests on generated models

For the empirical evaluation, the authors start with factor graphs used in earlier work and add controlled noise to factors that were originally exactly commutative. They compare ordinary ACP, which only compresses exact symmetries, with an ε-relaxed version. They vary model domain size, the number of approximately commutative factors, and the tolerance. The reported tests use generated Boolean-variable models; the authors say they alter only the factors under study, to isolate the effect of approximate commutativity.

They measure the runtime of lifted variable elimination (LVE), a downstream inference method, and compare marginal-probability queries from the compressed models with queries from the exact ACP-compressed models. Across the tested configurations, the ε-relaxed approach enabled additional compression and reduced LVE runtime. The reported speedup grew with domain size, and the authors say the query results generally stayed close to the exact-model results, with a small number of outliers. The differences remained within the paper’s theoretical guarantee in these experiments.

These findings support a specific conclusion: in the generated models studied, allowing small, controlled deviations from symmetry could make inference faster without large changes to the tested query results. They do not establish that the same speedups or accuracy will hold for every real-world model. The experiments use a limited family of discrete models with deliberately introduced noise, rather than a broad collection of applications with parameters learned from observational data.

The method also has a stated scope limit. Its counting-variable approach is for discrete variables; the authors identify continuous variables as a direction for future work. In addition, the tolerance is a user-set parameter: a larger tolerance allows more differences to count as symmetry, but the paper’s bounds and experiments do not mean that any chosen tolerance will be suitable for every task.

The source text describes itself as a preprint that has not undergone peer review, while also stating that a version of record was published in a Springer Lecture Notes in Computer Science volume. Readers should distinguish the arXiv text from that published version and consult the version of record for the final publication. The paper offers theoretical results and controlled experiments, but these alone do not settle how the method performs across practical deployments.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.