potentialpaper

Count the Groups, Not the Configurations: Exact Inference and Learning at Fixed Totals

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We compress fixed-total allocation models into group counts, enabling exact sampling, lossless model comparison, and efficient discrete structure learning.

Abstract. A fixed total couples every variable in an integer allocation model. For interactions determined by group totals, we turn this constraint into a computational resource: sum local allocation weights into group-count tables, remove a redundant count coordinate, and sample exact configurations from the resulting small distribution. We reuse these tables to score whole batches of changes to group membership through exact partition-function ratios. For two groups, compilation costs O(Jcmax⁡r)O(Jc_{\max}r) for JJ variables, maximum capacity cmax⁡c_{\max}, and total rr, versus O(Jcmax⁡r2)O(Jc_{\max}r^2) for an explicit total-and-signed-count recursion. A shared conditional allocation law also makes model comparison lossless at the count level. Controlled synthetic experiments with heterogeneous local weights yield 1.481.48--2.98×2.98\times more effective samples per CPU second than the best tested positive auxiliary-field mixtures, and count-compressed membership scoring is 1.75×1.75\times faster than its expanded implementation. Learning studies separate this computational benefit from the choice of statistical objective. Exact residual calculations further reveal how an omitted interaction can amplify rare configurations, damaging importance sampling before substantially changing the bulk distribution. The result is a reusable count representation for sampling, comparison, and discrete structure refinement.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 2 reviews · OpenReview

Updated 25 Nov 2026, 10:34 UTC.

Reviewer YihDOpenReview ↗
Rating
3/4(+1)
Confidence
2/4
Soundness
3/3
Presentation
1/3
Informativeness
2/3
Read review
Summary

Suppose one wishes to sample from all possible allocations of rr objects into JJ boxes, where each box has a capacity of at most ci,i=1,…,Jc_i, i=1,\ldots,J. (Each of these numbers are integers). The authors consider a version of this problem which includes importance sampling terms inspired by exponential tilting and Ising/spin models. They observe that if the interaction between boxes depends only on some group totals in a manner which can be learned, then it is sufficient to first sample those totals and subsequently sample individual allocations conditional on them. They devise an algorithm which, conditioned on the group dependence, samples the allocations. Then they discuss how to learn the group dependence.

Strengths

Ultimately, the running time reduction is substantial, under the assumption. This is a major strength of the paper. The simplicity of Algorithm 1 is also a plus point, since its analysis was particularly easy.

Weaknesses

A critical weakness of the paper is that it fails to motivate practical scenarios under which the group dependence actually occurs. The experiments all come with the allocations that need to be learned, but there is no real-life scenario explained in the paper where the group dependence exists, but is not known beforehand. This applies, in particular, to situations where binary grouping is used.

In light of this, the contribution feels tangential to ongoing research. Furthermore, the introduction is tersely written and does not really bring out the separation between learning the group dependence, and then sampling once the group dependence is known: the writing needs to reflect this better.

Terms such as compiled interaction, remaining energy, macrostate, group-count law, source total, and membership swap are introduced rapidly and not within context.

These concerns have been addressed by the author's comments below

Questions for the authors

a) Typographical error : in the graphics in page 2, the subscripts have not rendered, so it looks like x1x1 instead of x1x_1. Similar for A+,A−A+, A-.

b) I think the introduction and abstract contain a number of terms that require definition or explanation. For example, "A fixed total couples every variable in an integer allocation model" is a very terse statement, which can be replaced by "in an integer allocation model, under the constraint that the total number of slots are fixed, the occupancies of each slot become highly dependent on one another". I think you should be very clear about what you mean by "groups", and isolate the learning of group dependence from the actual sampling conditioned on the dependence itself.

c) I think you should check out Ankur Moitra et. al. "Steering diffusion models with quadratic rewards: a fine-grained analysis" : you will find some hardness results on generating from tilted distributions. Do see both the result and linked literature.

These questions have been addressed by the authors below. Since their addressal of the problem is sufficient, I have decided to raise my rating from 2 to 3.

d) Is there some theoretical result which can be provided on the accuracy of the ML scheme? Right now, I'm thinking why is this particular scheme chosen, so it could be validated not only by experiments but by basic results establishing asymptotic correctness and a rate of convergence.

Right now, I am marking this for a borderline rejection due to its writing primarily. I like the idea and I think it can be taken further, but need convincing that the rewrite required at this point for acceptance is not substantial.

Reviewer XQR6OpenReview ↗
Rating
3/4
Confidence
2/4
Soundness
3/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper proposes a group-count compiler for exact inference and learning in fixed-total discrete allocation models, avoiding explicit enumeration of exponentially many configurations. By representing allocations through macrostate variables and polynomial coefficient tables, it reduces computational complexity while preserving the original probability distribution. The method supports exact sampling, partition-function computation, and likelihood fitting, and uses importance sampling to account for residual interactions omitted from the main model. For group-structure learning, it efficiently evaluates multiple membership swaps by reusing the current macrostate distribution and computing exact likelihood ratios in batches.

Strengths
  • The key strength is the use of the fixed-total constraint to eliminate one count dimension and represent the problem through a compact macrostate. The group-count compiler preserves the original probability distribution while reducing the complexity of the two-group recurrence.
  • The paper extends the compiler beyond sampling by using the current macrostate distribution to evaluate many candidate membership-swap ratios in batches. This provides a coherent connection between exact inference and structure learning, avoiding the need to rebuild a full partition function for every proposed swap.
Weaknesses
  • The experimental validation primarily uses controlled synthetic models and known or specified model components, including unary fields and group-class constraints. Although these experiments enable exact reference probabilities and careful correctness checks, they provide limited evidence that the proposed framework will be effective in more complex or realistic settings.
  • Prototype learning, global representation modeling, and gating mechanisms are all existing techniques, so the approach does not constitute a completely novel breakthrough.
Questions for the authors
  • The paper reports substantial efficiency gains for group-structured interactions, but the results for random dense controls are close to parity with the baseline. Could the authors clarify the structural conditions under which the group-count compiler is expected to provide meaningful computational gains, and whether these conditions can be identified before running the compiler?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review