WorksComputer Science
Serialization Tax in Shared-Latent Exchangeable Decisions
Abstract
Accurate item probabilities can produce inaccurate group-level decisions. A system may score each item separately, yet act on whether enough hidden items succeed: show a slate, defer a panel decision, or inspect a batch. When items share an uncertain latent state, independent marginalization preserves means but removes dependence from the aggregate posterior. We call this error the serialization tax. For binary items sharing one success rate, classical convex-order comparisons give a more dispersed exact count law than any independent completion with the same total mean. We quantify variance and total-variation gaps, derive threshold separation under margin conditions, and connect posterior approximation to decision regret. Separate results cover non-binary outcomes, heterogeneous items, and sufficient posterior resolution. TaxScore identifies large hidden blocks with unresolved uncertainty near a decision boundary for routing to richer posterior heads. On pre-specified, hidden-target-free MovieLens 1M/10M audits, existing shared-latent heads improve high-score negative log-likelihood (NLL)/utility from 0.673/0.696 to 0.629/0.723 and from 0.670/0.691 to 0.639/0.715. Routing gives 0.006–0.012 full-population utility gains, with matched controls identifying their sources. Our code is available at https://github.com/SiminChang/Serialization-Tax-in-Shared-Latent-Exchangeable-Decisions.
Introduction
Many machine-learning pipelines predict one score per item, as in recommendation and implicit-feedback modeling [10, 24, 36]. A downstream action can depend on the group: whether a slate contains enough relevant movies, a measurement panel warrants deferral, or a batch warrants inspection. Such decisions require the probability of an aggregate event. If hidden items share an uncertain user or batch state, their posterior predictions remain dependent after that state is marginalized. Replacing the joint predictive distribution by the product of its marginals preserves every item mean but removes this dependence. The resulting aggregate probability can therefore be inaccurate even when each item probability is calibrated.
Posterior predictive correlations and joint prediction benchmarks already show why uncertainty beyond marginals matters [42, 33]. We study the specific approximation that creates the discrepancy: averaging a shared latent state separately for each item before computing a group outcome. Retaining that state through aggregation yields a mixture of conditional count laws with different tail behavior. Classical stochastic-order results describe part of this change [9, 21]. We connect this ordering to posterior gaps, decision diagnostics, and an audit of the decision value and measured computational cost of shared posterior inference.
Figure 1 illustrates the resulting aggregate-posterior error, which we call the serialization tax. Given observations , hidden-item covariates , and hidden items, the decision may require , where . A model can estimate this probability directly or obtain it from shared posterior samples, using either a sequence or set backbone. The analysis concerns the probabilistic information passed to the decision. The MovieLens study tests a pre-specified regime with ambiguous prefixes and near-threshold slates and reports both selected-slice and full-population effects under a fixed decision rule and a declared inference budget.

Figure 1. Same marginals, different aggregate posterior (). One shared latent draw gives identical outcomes, whereas independent completion uses two separate coins. Both have item probability .50, but the probability of two successes falls from .50 to .25. The count-law total-variation (TV) distance is .50, exceeding the lower bound in Theorem 1. Locally identical predictions thus give different probabilities for the event used by the decision.
Our contributions are threefold:
To our knowledge, this is the first unified formulation and analysis of this averaging-before-aggregation failure for shared-latent aggregate tail decisions. We quantify lost count uncertainty through exact variance identities, TV lower bounds, and equality conditions, building on classical convex-order comparisons. Separate empirical-measure and heterogeneous-item results identify the appropriate comparison for each decision object.
Decision conditions and sufficient posterior resolution. Threshold-margin bounds motivate TaxScore. Finite-probe lower bounds and grid-resolution guarantees specify the information needed for tail prediction. A bounded-regret result connects posterior accuracy to action value while making the role of the utility and decision boundary explicit.
A reproducible routing audit with attribution and cost controls. Controlled bags verify mechanism scaling, and MovieLens audits show selected-slice NLL/utility improvements and 0.006–0.012 full-population gains. Matched-backbone, fixed-ensemble, equal-budget, and latency controls separate probability quality, decision value, and computational cost.
Background and Related Work
Exchangeability and stochastic orders. Exchangeability and de Finetti theory represent an infinitely exchangeable sequence through a random probability measure [11, 20, 25]. The homogeneous mixture-versus-binomial ordering is a classical dependence comparison [9 Theorem 2.11]. Hoeffding’s comparison covers independent Bernoulli sums with the same total mean [21 Theorem 3]. Stochastic orders and majorization provide the broader context [39, 30, 3, 23]. We use this lineage explicitly, then derive conditional posterior identities, threshold bounds, and resolution conditions that connect the comparison to a decision audit with an explicit action, cost model, and inference budget.
Joint predictive uncertainty. Wang et al. [ [42] evaluate posterior predictive correlations for regression and active learning, while the Neural Testbed evaluates joint predictions across agents and environments [33]. Our focus is complementary: identify the marginalization operation that removes dependence, quantify its consequences for aggregate tails, and test whether a decision-time diagnostic concentrates the observed decision value of joint prediction.
Architectures, inference, and tail decisions. Deep Sets, Janossy pooling, Set Transformers, flows, neural processes, dropout, and ensembles model exchangeable data or predictive uncertainty [Zaheer et al., 2017, Murphy et al., 2019, Lee et al., 2019, Rasul et al., 2019, Zwartsenberg et al., 2023, Garnelo et al., 2018a,b, Kim et al., 2019, Gal and Ghahramani, 2016, Lakshminarayanan et al., 2017]. Each backbone still specifies an output object: marginals, a count distribution, or joint samples. Slate bandits and ranking [13, 2], multiple-instance learning [12, 5], and calibration [19, 27, 41] motivate distinct objectives. Stop-loss, chance constraints, and conditional value-at-risk (CVaR) depend on aggregate tails [6, 38]. Additive expected relevance uses only marginal means, so the utility determines which posterior information the action requires and where our dependence analysis applies.
Task objectives and changing populations. Beyond-accuracy recommendation studies jointly evaluate accuracy, diversity, and serendipity [7], illustrating why an audit must declare its action and reward. Our experiments fix a tail event and evaluate its predict/defer payoff. Diversity-aware slate construction requires a separate objective-dependent analysis. Group concept-drift detection studies changes shared across data streams [44]. It addresses temporal distribution change, while our analysis conditions on a given posterior. Together these perspectives motivate monitoring whether a routing score calibrated on one population continues to select valuable joint inference after changes in user composition, item availability, or the operating reward.
Our work connects a precise approximation, decision-specific error bounds, and an audit of value and computational cost. Together, these components turn classical dependence comparisons into a reproducible test of when retaining shared posterior uncertainty benefits the downstream action.
Shared-Latent Counts and Independent Marginalization
The analysis begins with the number of hidden successes after a shared latent state is averaged separately for each item. Binary counts admit a convex-order comparison. Non-binary observations and heterogeneous covariates require separate mathematical statements, each describing the same approximation through the aggregate object and loss function used by the downstream decision.
Let reveal coordinates of a binary sequence , leaving hidden items. Assume one uncertain success rate is drawn from , then shared by all hidden items: . This hierarchical mixture is the binary form of de Finetti’s representation. The shared-rate assumption is stronger than finite permutation invariance. Write , , and . We use
A total-variation (TV) gap is therefore a worst-case bounded test-function gap. A mean-preserving independent completion replaces the hidden items by independent with means satisfying , and writes .
The ordering below combines Cousin and Laurent [ [9] with Hoeffding [ [21]. The variance identity, TV bound, and equality cases quantify this conditional comparison.
Theorem 1 (Convex-order comparison and posterior gaps). For every observation and every discrete convex function ,
Moreover, for all ,
If , then
For , equality of the two posterior count laws holds iff and for every hidden item. For , both count laws are , so the count-law gap vanishes even when .
Takeaway. Independent completion can preserve the aggregate predictive mean, and even local calibration, while understating count uncertainty. Jensen gives the homogeneous mixture comparison and Hoeffding handles heterogeneous independent means. Convex losses, including variance and stop-loss, inherit this ordering. Threshold indicators require separate margin conditions because they are nonconvex. Decision regret also depends on the utility and whether the posterior change moves the optimal action. Appendix A develops these consequences and perturbation bounds that quantify departures from the exact shared-latent assumptions in finite populations.
Rating bins, continuous measurements, and multi-class panels require a comparison beyond binary counts. The appropriate non-binary statement is a Laplace-functional order for the hidden empirical measure. This choice preserves a valid distributional comparison in settings where unrestricted multivariate convex order fails.
Theorem 2 (Full empirical-measure law). Let be infinitely exchangeable on a standard Borel space with directing random measure , hidden empirical measure , and posterior mean measure . Let be any independent completion whose average marginal is . Then for every bounded measurable ,
Laplace functionals determine the law of a finite random measure, so this is the full non-binary object-level extension. A literal unrestricted multivariate convex-order theorem is false in dimension . Appendix Proposition 8 gives the counterexample. In applications, or a finite partition is chosen to match the decision, such as low/mid/high rating bins or measurement threshold bands.
For an application, the audit chooses , a partition, or a statistic that matches the downstream tail event. Rating bins, count truncations, and measurement threshold bands provide concrete choices. Fixing this object connects the empirical-measure comparison to the posterior quantity used by the action.
Heterogeneous Slates and Decisions
Real slates are heterogeneous: movies have genres, products have covariates, and items can respond differently to the same latent state. The following identity quantifies the covariance removed by independent marginalization, conditional on both the observed prefix and visible item features.
Proposition 1 (Covariate-conditional shared-latent tax). Condition on and hidden item covariates . Let be a shared latent state and let independently. For and the independent marginal completion , ,
If the posterior over is associated [14] and the are coordinatewise nondecreasing, all terms are nonnegative. More generally, suppose a posterior region of mass puts at least above threshold , while is below . The exact tail exceeds the independent tail by at least
These margins are in count units. A probability margin corresponds to , so . The identity retains shared covariance under heterogeneous item features. Its sign determines whether independent marginalization reduces or increases aggregate variance.
Proposition 2 (Signed covariance audit). With and , , the variance tax equals . If , it is at least . If negative covariance is comparable to positive covariance, the diagnostic must retain its sign to assess the net aggregate-variance change.
To connect posterior accuracy to a decision, fix the observed information and let denote the decision-relevant outcome, such as the hidden count or its threshold indicator.
Theorem 3 (Bayes value transfer). Let be the target conditional law and the predictive law used by the decision. For a common action set and utility , assume Bayes maximizers and exist. Then, conditionally on ,
This is an upper bound: posterior closeness controls regret, while large TV can leave the optimal action unchanged. Establishing positive regret requires an additional action-crossing argument. For binary predict/defer decisions, Appendix 7 supplies such conditions and regret lower bounds. MovieLens measures realized payoff under validation-tuned thresholds, whose departure from Bayes optimality contributes a separate residual (Appendix B.7). Expected stop-loss and CVaR comparisons follow directly from convex order through their convex aggregate-risk representations.
Diagnostics and Posterior Resolution
But how can we identify the decisions that benefit most from shared posterior computation? A large tax needs three ingredients: a hidden block large enough to amplify dependence, unresolved shared-latent uncertainty, and a decision boundary close to the posterior mass. For a threshold , the gap can be constant even as grows. If with , then the exact threshold posterior tends to , while local i.i.d. completion tends to .
Proposition 3 (TaxScore diagnostic). In the two-point setting above, define the probability margins when and when . With or respectively, the finite- threshold-posterior gap is at least in the first case and in the second. Thus the visible scale is when margins are proportional to . The count margin recovers Proposition 1’s exponent under the same bounded-summand concentration inequality.
Corollary 1 (Finite-sample threshold separation). The displayed TaxScore bounds are the Hoeffding finite-sample form [22] of the constant asymptotic threshold separation. Appendix B states and proves both directions of the threshold separation for finite hidden blocks.
Remark 1 (Effective ambiguity scale). The diagnostic combines the hidden block size, unresolved latent ambiguity, and the margin to the particular tail event. Each component matters through its effect on the tail probability, and hence on the action selected under the stated utility.
The theoretical score is specific to the two-point model and its crossing assumptions. An empirical score combining ambiguity, block size, and boundary distance is a surrogate whose usefulness requires evaluation. Large variance can leave an action unchanged far from the boundary, while collapsed uncertainty can make marginals sufficient nearby. We test whether the score concentrates useful joint-prediction gains, with low-score groups as controls. A direct Transformer count head may already learn the relevant tail accurately. Applying the lower bounds below requires establishing that its output is determined by a fixed dictionary of posterior expectations across the compared instances.
Fixed finite summaries cannot uniformly recover threshold posteriors. A -probe compression is an output determined only by the vector of posterior expectations . Let the dictionary include , and let a finite witness support have evaluation matrix and threshold vector . If lies outside the row span of , two posterior laws match all probes but have different probability mass above the threshold.
| Representation | Formal support | Decision implication |
| Independent marginals | Theorem 1. Prop. 1 | Preserves local means but removes shared-latent covariance before aggregation, action pricing, and threshold evaluation. |
| Fixed probe summaries | Prop. 4. Cor. 2 | Threshold ambiguity persists under matched probe expectations when the stated row-span conditions hold. |
| TaxScore triage | Prop. 3 | Gives a two-point-model tail bound. Empirical scores require separate validation of routing gains. |
| Shared-state integration | Prop. 5 | Resolving posterior mass near the boundary controls grid error. Learned latent heads are tested empirically. |
| Value audit | Theorem 3 | Posterior closeness bounds Bayes regret. Positive value requires an action change under the specified utility. |
Table 1. Predictive representations and what the analysis establishes. Each guarantee applies to the stated predictive representation.
Proposition 4 (Finite-probe lower bound). Under the finite-support, constant-probe, and row-span conditions above, every -probe compression has asymptotic threshold-posterior error at least half the induced difference in posterior mass above on one of the two matched instances. A suitable bounded-utility decision problem also has a positive worst-case loss, with the utility chosen to distinguish the two matched posteriors.
Corollary 2 (Minimax probe-compression tax). Under the finite-support row-span condition, every -probe compression has strictly positive worst-case asymptotic threshold-posterior risk.
Escaping the lower bound requires resolution at the decision scale. Let and let be a grid projection with .
Proposition 5 (Resolution needed to escape the threshold tax). For every ,
Thus a dimension-growing grid or mixture head escapes when its mesh resolves the decision margin and little posterior mass lies in the unresolved band.
The restriction concerns the information retained by the representation. A finite-dimensional stochastic latent head can carry threshold-relevant posterior uncertainty. A large deterministic head restricted to fixed probes or independent marginals can still discard the mass needed to recover the tail probability.
Finite-probe scope. The result concerns summaries determined by a fixed dictionary of posterior expectations, such as finitely many moments. A learned count head or rollout state satisfies it only when that information restriction is established. Support-adaptive, dimension-growing, or stochastic representations can retain the missing threshold information, and a task-specific head can directly predict the required tail from the observed group under a task-specific supervised objective.
Computing the aggregate before averaging. Low-dimensional shared latents can be resolved by grid or mixture heads. Higher-dimensional latents can use stochastic global-latent posteriors such as neural-process or flow heads. In each case, one posterior draw, mixture component, or ensemble member is propagated across all hidden items before computing the tail probability. The same joint predictive computation applies to recurrent sequence and permutation-invariant set backbones.
Experiments
Experimental setting. We organize the experiments around four linked tests: mechanism scaling, diagnostic selection, gain attribution, and routing value. Controlled synthetic/Covtype bags test scaling with ambiguity [4]. MovieLens 1M/10M test whether selected slates benefit from joint prediction, which controls explain the gain, and what compute routing requires [18]. Natural multiple-instance-learning (MIL) tasks supply boundary cases [12, 5]. Every MovieLens example reveals ratings and predicts whether at least of hidden ratings are at least four stars. All heads share five seed-specific user splits and are evaluated on identical revealed prefixes, hidden slates, and tail-event labels.
Models and metrics. Baselines include independent completion, gated recurrent unit (GRU) and Transformer count heads [8, 40], rollout predictors [31], set heads [45, 29], and parameter-matched controls. Joint predictions use grid mixtures, an Attentive Neural Process (ANP) [26], conditional flows [37, 35, 46], or two-tower ensemble mixtures [10, 28]. Tail NLL/Brier measure probability quality. Utility measures action value. Full-population switch gain and latency measure deployment cost. Reliability and expected calibration error (ECE) supplement these metrics. MovieLens utility scores a correct confident decision as 1, an error as 0, and deferral as with primary cost . Validation users determine the confidence threshold. This normalized predict/defer payoff evaluates action value. Normalized discounted cumulative gain (NDCG) and Recall evaluate ranking relevance, which has a different action space and objective from the threshold triage task studied here.
Decision-time scoring. The predict/defer payoff gives a concrete interpretation of posterior refinement. At , a Bayes decision defers when the larger event probability is below . For example, changing a predicted success probability from to the correct replaces deferral with a positive prediction, increasing its expected payoff from to . A refinement from to leaves the positive action unchanged. These examples explain why improved tail NLL and improved realized utility are distinct outcomes and why the audit reports both on the same groups.
Controlled studies use the known data-generating posterior. MovieLens uses two distinct steps. Candidate construction accepts a slate with training-popularity mean within of and both revealed outcomes present, or minimizes over 80 candidates. Genres enter the prediction heads, while the selector uses popularity and revealed outcomes. A fixed scalar-user grid posterior, updated only from these available signals, then supplies hidden-slate component means and weights . The empirical routing score is
The routing score estimates posterior ambiguity relative to the event boundary. It is distinct from candidate selection and from Proposition 3’s two-point bound. Its inputs are training popularity, item identities, and revealed outcomes, excluding hidden targets and predictions from the compared neural heads. Descriptive bins and top- slices use unlabeled test-score ranks. The original switch transfers a numeric validation-score cutoff, while the equal-budget comparison selects an exact fraction within each split. Fractions and algorithms are fixed before evaluation, with the complete grid estimator, split-specific cutoffs, and allowed score inputs documented in Appendix § 11.
Results. Controlled errors grow with hidden-block ambiguity, MovieLens gains concentrate on flagged slates, and matched controls separate probability improvements from utility changes. Routing then retains modest population gains at a reduced rich-head budget. These experiments evaluate the diagnostic in a deliberately selected high-risk regime and identify the conditions under which additional inference improves probability quality and changes a cost-sensitive action.
Law scaling. Synthetic and covtype bags instantiate the theorem-aligned regime. Appendix Figures 5–7 show threshold-posterior, TV, and variance gaps growing with hidden size and latent posterior variance. On full covtype after revealing items, event-TV rises $0.070 \to 0.104$ and independent-completion NLL as grows from 16 to 96. Stronger sequence heads reduce this error, while object-space prediction retains an advantage on the high-ambiguity prefixes. At , IndepPBN NLL rises from to between low- and high- prefixes, while ObjSetTF rises from to $.728. Figure 4 visualizes this controlled ambiguity comparison.
Figure 4. Calibration and mechanism checks. ML1M-80 reliability tests tail calibration. Covtype high- prefixes expose the theorem-aligned ambiguity mechanism.
Diagnostic selection. MovieLens tests the heterogeneous-item setting of Proposition 1 without assuming its latent model is exact. In ML1M , high-bin SeqTXCount has NLL and utility, versus for ANP and for FlowLatent. On the top-10% slice, the baseline becomes for ANP and for FlowLatent. ML10M gives for SeqTXCount versus and , respectively. All comparisons use identical slates within each seed. The accompanying gain panels examine how the benefit changes across score bins under the fixed task, action cost, and shared evaluation protocol.
Figure 2. MovieLens decision-critical slate audit. Each point is one seed on the pre-specified high-TaxScore slice. Violins show the seed-level distribution and intervals show the mean with a 95% standard-error band. Stochastic global-latent heads improve tail NLL and utility over direct Transformer count heads across both MovieLens scales and critical slices.
Routing 20–30% of slates yields .021–.035 utility gains on routed slates and .006–.012 overall: 2.1–3.5 versus 0.6–1.2 percentage points of normalized predict/defer payoff.
Appendix Table 12 perturbs candidate weights, margins, and budgets, retaining top-20% NLL gains of .027–.054 on ML1M and .039–.064 on the bounded-user ML10M subset across six near-default variants. Switch-utility gains range from .002 to .009 and −.004 to .003, respectively. Single-signal selectors are weaker or unstable. Threshold perturbations retain positive ML1M high-slice NLL gains (Table 13). This evidence supports local enrichment while showing how decision utility also depends on crossing the cost-specific action boundary on the selected evaluation slates.
| Threshold | corr(bin, NLL gain) | Top-20 NLL/util. gain | Switch util. gain |
| 0.60 | 0.98 | 0.022/0.004 | 0.004 |
| 0.70 | 0.91 | 0.054/0.027 | 0.009 |
| 0.75 | 0.99 | 0.026/-0.005 | -0.002 |
Table 13. ML1M-80 threshold robustness. The selector and model pair are fixed while the tail threshold changes. Gains compare FlowLatent with SeqTXCount. Positive values favor FlowLatent.
Alternative explanations. On MovieLens, we hold the Transformer backbone, split, seeds, and decision rule fixed and evaluate SeqTXGlobal with 64 components, matching the latent-evaluation budget of ANP/Flow. Relative to SeqTXCount, top-20% NLL improves .0228 ± .0118 and utility .0173 ± .0134, both in five of five seeds. Full-population NLL increases by .0032 ± .0057. This paired comparison localizes the improvement to flagged groups and distinguishes the gain in their tail probabilities from the weaker population-wide result under the same matched-backbone protocol (Table 16).
Table 16. Same-backbone ML1M-80 control: SeqTXGlobal-64 relative to SeqTXCount. Entries are mean ± population standard deviation of paired differences over five seeds. Positive NLL reduction and utility gain favor the latent head. The backbone is fixed, but the output heads differ in parameter count. 64 components match latent-evaluation resolution while runtime can differ.
| Population | NLL reduction | Utility gain | Positive seeds (NLL, util.) |
| Full population | −0.0032 ± 0.0057 | 0.0023 ± 0.0034 | 2/5, 4/5 |
| Top 20% | 0.0228 ± 0.0118 | 0.0173 ± 0.0134 | 5/5, 5/5 |
Averaging location. Holding the same three trained two-tower members fixed isolates where averaging occurs: EnsMean aggregates averaged item probabilities, whereas EnsMix averages the three tail probabilities. Both use 72,579 parameters and the same member predictions. EnsMix reduces full-population NLL by .0108 ± .0034, Brier score by .00066 ± .00026, and ECE by .00186 ± .00105, with each probability metric improving in all five seeds. Utility changes by −.0011 ± .0030 overall and −.0036 ± .0054 on the top 20%. Preserving the mixture improves probability quality in this control. The larger ANP/Flow utility gains also depend on the shared uncertainty represented by the corresponding learned posterior families (Table 17).
Table 17. Fixed-member averaging control: TwoTowerEnsMix relative to TwoTowerEnsMean on ML1M-80. The same three trained members (72,579 parameters) and predictions are reused. Only tail aggregation changes. NLL/Brier/ECE reductions are positive in all five seeds. Utility decreases slightly despite the consistently improved probability estimates on the same evaluation groups.
| Population | NLL reduction | Brier reduction | ECE reduction | Utility change |
| Full population | 0.0108 ± 0.0034 | 0.00066 ± 0.00026 | 0.00186 ± 0.00105 | −0.0011 ± 0.0030 |
| Top 20% | 0.0050 ± 0.0022 | 0.00071 ± 0.00020 | 0.00183 ± 0.00046 | −0.0036 ± 0.0054 |
Equal-budget routing. On ML1M-80, all selectors route exactly 330/1652 or 496/1652 test slates (20% or 30%). Baselines use SeqTXCount uncertainty or average 100 random masks per seed. Each mixed policy reselects its confidence threshold on validation users. Table 3 shows that TaxScore improves probability quality and payoff at each budget. Its paired advantage over each comparator is positive in all five seeds for both heads and metrics. This exact-budget study and the original validation-cutoff switch in Table 2 use distinct operating points, so the interpretation of each estimate follows its declared selector, realized routing fraction, and policy-tuning rule.
| Setting | Slice | Baseline | NLL/Util. | Joint head | NLL/Util. | Gain |
| Covtype | all | SeqTXCount | 0.537/– | ObjSetTF | 0.523/– | +.014 NLL |
| ML1M (2, 80, .7) | high TaxScore | SeqTXCount | 0.673/0.696 | ANP | 0.629/0.723 | +.044/+.027 |
| ML1M (2, 80, .7) | top 10% | SeqTXCount | 0.690/0.689 | ANP | 0.609/0.735 | +.081/+.046 |
| ML10M (2, 120, .6) | high TaxScore | SeqTXCount | 0.670/0.691 | ANP | 0.639/0.715 | +.031/+.024 |
| Budgeted switch | full test | SeqTXCount | – | top 20–30% | – | +.006–.012 util. |
Table 2. Headline tail-decision results, averaged over five seeds. Lower NLL and higher utility are better. Every reported gain compares the indicated heads on an identical pre-specified evaluation slice.
| Rich head / fraction | TaxScore | Cheap uncertainty | Random |
| ANP / 20% | 0.0105 / 0.0071 | 0.0058 / 0.0024 | 0.0045 / 0.0032 |
| ANP / 30% | 0.0137 / 0.0089 | 0.0085 / 0.0035 | 0.0066 / 0.0044 |
| FlowLatent / 20% | 0.0106 / 0.0094 | 0.0050 / 0.0019 | 0.0037 / 0.0030 |
| FlowLatent / 30% | 0.0127 / 0.0098 | 0.0068 / 0.0035 | 0.0058 / 0.0042 |
Table 3. Equal-budget routing on ML1M-80. Each cell reports full-population NLL reduction / utility gain over SeqTXCount (five-seed means). All selectors route the same number of test slates. Appendix Table 18 reports paired five-seed variability and the policy-tuning protocol.
Cost and latency. The archived five-seed cost sensitivity study retunes the confidence threshold at each . Its reported two-head-average gains over .20–.50 range from .009 to .044 on the high slice and .002 to .011 with 20% routing. At .10, differences are within of zero as cheap deferral suppresses action changes (Appendix § 11). Two NVIDIA L20 runs measure head-only online latency of .58–.70 ms for SeqTXCount, 5.92–8.07 for ANP, and 6.48–8.76 for Flow. Weighting these measurements by a 20–30% routing fraction estimates 1.64–3.11 ms/slate, 63–74% below rich-head-only inference and 1.07–2.42 ms above cheap-only inference. The head-only timing protocol excludes scoring, transfer, and queueing overhead (Table 19). The sensitivity archive retains summary ranges. Paired attribution and latency results are independently reaggregated from the released individual per-seed measurements and separately archived clean per-run timing records.
Table 19: Compute audit. Training seconds are the original five-seed training segment (mean standard deviation). Inference ranges are the two per-GPU mean latencies on NVIDIA L20 with preloaded inputs, five timing trials per GPU, float32/TF32, and 64 posterior samples for ANP/Flow. Each inference entry is milliseconds per slate. These are architecture-matched, head-only measurements, excluding score construction, data transfer, and queueing, whose contributions require an end-to-end timing audit in the target production serving environment.
| Head | Parameters | Train seconds | Online () | Batched () |
| SeqTXCount | 145,377 | 3.0 0.2 | 0.58–0.70 | 0.0043–0.0046 |
| ANP | 91,329 | 15.5 1.8 | 5.92–8.07 | 0.0581–0.0595 |
| FlowLatent | 227,153 | 16.0 1.3 | 6.48–8.76 | 0.0610–0.0627 |
Table 19.
Boundaries and use. The controls support two levels of attribution. The fixed-member ensemble comparison isolates averaging location because member predictions are reused. The matched-backbone comparison also changes the learned output family, so optimization and approximation error remain part of its empirical effect. Together, they connect an exactly controlled operation to a trainable shared-latent alternative. Their agreement on flagged-slice probability gains strengthens the mechanism evidence while keeping the interpretation specific to the measured contrast.
The auxiliary tasks clarify where this mechanism matters. On Brown Creeper, essentially flat NLL and modest utility changes illustrate a weak-gain boundary. In contrast, the semi-synthetic Breast Cancer batch check shows event-TV increasing across oracle ambiguity bins (Table 15), extending the controlled mechanism evidence beyond MovieLens. Together, these results favor selective inference when resolving shared uncertainty changes the downstream group-level decision.
Table 15. Semi-synthetic quality-control batch inspection. Real UCI Breast Cancer features form item pools, while a shared latent risk controls batch defect prevalence. This mechanism check reports NLL and event-TV, with smaller values indicating more accurate aggregate posteriors.
| TaxScore bin | Interface | NLL | Event-TV |
| Low | indep. oracle | 0.050 ± 0.042 | 0.009 ± 0.000 |
| Low | shared oracle | 0.043 ± 0.028 | 0.000 ± 0.000 |
| Low | object head | 0.063 ± 0.024 | 0.029 ± 0.014 |
| Mid | indep. oracle | 0.708 ± 0.036 | 0.059 ± 0.000 |
| Mid | shared oracle | 0.227 ± 0.008 | 0.000 ± 0.000 |
| Mid | object head | 0.269 ± 0.035 | 0.060 ± 0.024 |
| High | indep. oracle | 0.732 ± 0.074 | 0.187 ± 0.002 |
| High | shared oracle | 0.535 ± 0.028 | 0.000 ± 0.000 |
| High | object head | 0.623 ± 0.039 | 0.135 ± 0.011 |
Decision value and inference cost. The experiments reveal a useful distinction between probability quality and action value. NLL and Brier gains measure improvements in the tail posterior, supported by the reliability and ECE results. Utility gains arise when those improvements change a prediction or deferral at the chosen cost. This explains the fixed-ensemble comparison: preserving the mixture improves calibration, yet leaves the payoff nearly unchanged because many refined probabilities lead to the same action. Consequently, the strongest case for richer inference combines better probabilities on flagged groups with positive full-population switch gains at an affordable routing budget.
This distinction also guides adaptation to a new application. Candidate rules and score regularization can be fitted on development groups using the information available at decision time. With the utility specified, held-out validation groups then determine the routing fraction and confidence threshold that offer the best payoff within the compute budget. Freezing this policy before test evaluation yields a direct comparison with cheap-only inference. When the population or reward changes, renewed validation updates the routing rule to reflect where improved joint prediction can change the action.
The computational trade-off follows from the same policy. Suppose scoring costs and routes a fraction of groups to a rich head, with head latencies and . Executing only the selected head gives an expected latency of . Thus routing is faster than rich-head-only inference when
The measured head latencies quantify the right-hand side, leaving scoring, batching, and queueing overhead to the serving implementation. If the cheap head also runs on rich-routed groups, its extra pass must enter this accounting. Jointly measuring the resulting latency and payoff therefore identifies the routing budget that best balances the application’s decision value and computational requirements.
Conclusion
Independent marginalization can preserve item means while changing the posterior of a hidden aggregate. This work unifies the approximation, its decision-specific consequences, and an empirical audit of when shared posterior computation is valuable. Classical stochastic orders support the count comparison, while threshold, covariance, and resolution analyses specify the information needed by the action. TaxScore guides selective inference under a declared utility and budget. Extending the audit to nonadditive combinatorial objectives, shifting populations, and end-to-end routing costs will test the value of selective joint prediction under broader objectives and operating conditions.
Acknowledgments
This work was supported by the National Key R&D Program of China (Grant No. 2025YFF0514701).
Supplementary material. Appendix A gives formal consequences and notation, Appendix B contains proofs, and Appendix C documents implementation and evaluation. Appendices D and E collect supplementary numerical results, empirical comparisons, and diagnostic figures.
Formal Consequences and Robustness
| Term or symbol | Meaning and role |
| , , | Observed prefix, visible hidden-item covariates, and hidden block size. All posterior comparisons condition on the available information. |
| Posterior of a shared Bernoulli success rate. Conditional on , hidden items are independent with probability . | |
| , | Posterior mean and variance of . measures unresolved uncertainty in the shared success rate. |
| , | Exact hidden count and count from mean-preserving independent completion. The latter uses a product of marginal predictions. |
| , , | Directing random probability measure, its posterior mean, and the empirical measure of the hidden observations. |
| , | Shared latent state and heterogeneous conditional item success probabilities. |
| , , | Decision outcome, target law , and model predictive law conditional on the same information. |
| , | Actions maximizing expected bounded utility under and , respectively. |
| . Bounds each test-function error and gives an upper bound on Bayes regret. | |
| , , | Tail threshold, per-item probability margin, and count margin. . |
| Serialization tax | Aggregate-posterior error induced by independent marginalization. Decision regret additionally depends on the utility. |
| Theoretical TaxScore | in the two-point model, under Proposition 3's crossing conditions. |
| Empirical TaxScore | Boundary-normalized grid-posterior ambiguity used to rank MovieLens slates. A surrogate whose routing value is evaluated empirically. |
| -probe compression | A summary determined only by finitely many posterior expectations of specified probes, including the constant function. |
| Posterior resolution | Ability of a grid, mixture, or samples to retain probability mass near the relevant boundary. Proposition 5 gives a sufficient grid condition. |
Table 4. Terminology and symbols. The main text uses standard probabilistic objects. The two named diagnostics below are defined through their mathematical role and available inputs.
Formal implications and empirical hypotheses. Binary convex order directly compares expected convex count losses, including variance and stop-loss. The TV bound, equality conditions, threshold separation, and heterogeneous covariance identity have separate derivations. The empirical-measure result establishes a Laplace-functional comparison under its own exchangeability assumption. Finite-probe limits and resolution guarantees require their stated information and margin assumptions. The empirical audit evaluates learned-head calibration, utility, routing enrichment, and latency.
Additive and nonadditive actions. For any feasible action set independent of outcomes and utility , the conditional expected utility is . Any approximation preserving these marginal means leaves all action values, and hence the Bayes-optimal action set, unchanged. This includes fixed-position-weight ranking and linear top- selection, even with deterministic budget constraints. Joint-success probabilities, pairwise outcomes, joint coverage, and chance constraints generally require joint posterior information. They may be affected by dependence, but their analysis requires an explicit action and loss class with corresponding assumptions.
Proposition 6 (Approximate de Finetti robustness). Let . Let be a Bernoulli-mixture surrogate count with latent posterior variance , and suppose the actual remaining count satisfies
Let be any mean-preserving independent completion for the surrogate mean . Then
For every threshold , the threshold-posterior gap between and is at least the corresponding surrogate gap minus .
Corollary 3 (Finite-population robustness). Suppose that, conditional on , the target hidden block is a simple random sample without replacement of size from a finite exchangeable population of size with random success fraction . Let be the with-replacement surrogate. Then
Consequently every TV lower bound for , and every threshold lower bound, obtained for the surrogate degrades by at most .
Corollary 4 (Generating-function hierarchy). For every ,
Corollary 5 (Threshold-exceedance and factorial-moment hierarchy). For every threshold ,
For every ,
Corollary 6 (TV gap and equality characterization). Assume . For every mean-preserving independent completion,
and
Thus if and only if and for every hidden item. For , both count laws are Bernoulli, so the count-law discrepancy is identically zero.
Proposition 7 (Binary stop/reveal rule). Fix a reveal cost and actions with rewards
If , the Bayes rule predicts 0 for , reveals for , and predicts 1 for . If lies at least inside one of these three decision regions while an approximate posterior selects a different region, the value loss is at least .
Corollary 7 (Stop-loss and CVaR-style tail risk). Under Theorem 1, for every threshold ,
Thus independent completion can understate stop-loss, CVaR-style, and chance-constrained tail risk whenever the scalar loss is an increasing affine function of the hidden count.
Corollary 8 (Linear-statistic hierarchy). Fix bounded measurable functions and define
Then for every ,
Corollary 9 (Finite-partition count-vector hierarchy). Fix a measurable partition and define
Let with . Let be any independent categorical completion with and . Then for every ,
Moreover, if ,
Corollary 10 (Finite-probe reductions). Finite permutation averages of rollout posteriors driven by the same probe vector, finite moment summaries, parametric latent posterior heads whose parameters are functions of finitely many probe expectations, and parametric count posterior heads whose parameters are functions of finitely many probe expectations are all -probe compressions. Hence Proposition 4 applies whenever its row-span condition holds. Concrete dictionaries include for moment heads, equal to the sufficient statistics used to fit a Beta or fixed exponential-family head, the finite rollout state statistics exposed to a count head, and the union of such statistics across a fixed number of permutation orders. The row-span test asks whether the vector on the witness support is linearly recoverable from that dictionary.
Proofs
Proof of Theorem 1
Fix a function and define
The Bernstein second-derivative identity gives
where . Hence if is discrete convex, then is convex on .
Applying Jensen to the latent posterior gives the homogeneous exchangeable mixture comparison of Cousin and Laurent [ [9], here conditional on :
On the other hand, Hoeffding [ [21] showed that among all sums of independent Bernoulli random variables with a fixed mean, the mean-matched binomial is maximal in convex order. Therefore
Combining the two displays yields
which proves Theorem 1.
Proof of the one-dimensional corollaries
For Corollary 4, choose for any fixed . Then
so is discrete convex and Theorem 1 gives
The exact expression (6) follows from the conditional binomial law. The upper envelope (7) and the lower envelope (8) follow from the same Jensen arguments as above: is convex, while is concave. These are the two scalar functions used in the comparisons.
For Corollary 5, has second difference , hence is discrete convex.
Conditional on , the binomial factorial moments are
Averaging over gives
Since is convex on for every , Jensen gives
For the independent completion,
where is the th elementary symmetric polynomial. By the standard Maclaurin inequality for nonnegative vectors [30],
Thus
which proves the factorial-moment hierarchy.
For ,
while
Both laws have the same mean , so
for any integer-valued random variable . Substituting and proves (9), (10), and (11).
For Corollary 6, note that
Combining this display with (9) yields
If both laws are equal, then their variances coincide, so both nonnegative terms on the right must vanish. Hence and for every hidden item. Conversely, these conditions imply almost surely and , so both laws are exactly .
For , every mean-preserving completion has the same Bernoulli count law as the exact predictive count, so no TV lower bound in terms of can hold. For , use the test function
Then
By the variational characterization
this implies
which proves Corollary 6.
Proofs for the empirical-measure extension
Conditional on ,
Taking conditional expectation over yields (3). Since is convex on and
Jensen gives (4).
For the independent completion,
Applying the arithmetic-geometric mean inequality,
which proves (5). The Laplace-functional version follows by taking .
Corollary 8 is immediate from Theorem 2 after taking
For Corollary 9, apply Theorem 2 with
Then
which proves the count-vector mgf hierarchy.
For the covariance formula, conditional on ,
Taking expectations and adding the covariance of the conditional mean gives
For the completion,
and therefore
which is dominated by the mean-matched multinomial covariance. Subtracting yields the PSD lower bound.
For , use the bounded test function
Under the exact law,
Under the completion,
because for each coordinate. Hence
and the variational characterization of TV proves the final claim of Corollary 9.
Proposition 8 (No unrestricted multivariate convex-order extension). There exist , , a convex function , and a posterior on with mean such that, if
then
This counterexample rules out extending Theorem 1 to all convex functions of non-binary count vectors.
Proof. Work on the simplex
and define
This is convex as the maximum of affine functions. Set
which is convex on because it is the composition of with a linear map. On the degree-2 Bernstein lattice,
Hence
Now let take the two values
with probability each, so that
If and , then
Direct substitution gives
whereas
Since , the claimed failure follows.
For Proposition 6, the triangle inequality gives
Applying Corollary 6 to the surrogate law yields the first inequality. For the threshold event, the difference between the actual and surrogate event probabilities is bounded by
and rearranging proves the second display.
Proof of Proposition 1
All probabilities below are conditional on . Conditional independence given gives
which proves the factorial-moment identity. Also
because for each coordinate. The independent completion has variance , proving the variance identity.
Association gives nonnegative covariance for every pair because each is coordinatewise nondecreasing. For the tail bound, condition on . The heterogeneous Bernoulli sum has conditional mean at least . Hoeffding’s inequality for independent bounded variables gives, for every such ,
Therefore . The independent completion has mean at most , so Hoeffding gives
Subtracting the two displays proves the claim.
Proof of Proposition 2
The first display is the covariance identity in Proposition 1 after writing each off-diagonal covariance as and summing over . The lower bound follows immediately from . The posterior-sample audit is the empirical covariance matrix of the square-integrable random vector , establishing consistency by the law of large numbers.
Proof of Corollary 3
Condition on the finite population and draw indices with replacement from . If no index repeats, the ordered sample has the same law as sampling without replacement. Hence the total variation distance between the with- and without-replacement ordered samples is at most the collision probability
The count is a measurable function of the ordered sample, so the same TV bound holds for the count laws. Finally,
and Proposition 6 transfers the surrogate lower bounds with this value of .
Proof of Theorem 3
All expectations in this proof are conditional on the same observed information . For any fixed action ,
since and TV controls the expectation of every bounded test function. Therefore
because is optimal under . Nonnegativity is immediate from optimality of under .
Scope and non-Bayes decisions. The bound measures conditional regret under the target posterior. It averages over hidden outcomes and supplies an upper bound for the specified utility. For example, with binary classification utility, and have TV distance but the same optimal action and zero regret. For an implemented action , define its departure from Bayes optimality under as
The same proof gives regret at most . The validation-selected confidence threshold used in MovieLens can differ from the analytic Bayes threshold. The experiment measures realized utility alongside predictive error. For a binary tail indicator , TV is the absolute tail-probability error. Projecting a count law to the binary event contracts TV, preserving the count-level upper bound.
Proof of Proposition 7
Under posterior , the three Bayes values are
Hence action 0 is optimal exactly when and , which reduces to because . By symmetry, action 1 is optimal exactly when , and otherwise reveal is optimal.
For the regret bounds, write
If and , then the approximate posterior chooses 0 or 1, whose value is at most , while . Hence the regret is at least .
If and , the approximate posterior chooses action 1 or reveal. Any other action has value at most , while , so the regret is at least . The symmetric argument handles and with the same regret bound.
Proof of Corollary 7
The functions and are convex on , so Theorem 1 gives both stop-loss inequalities. For a scalar loss , the standard representation
shows that ordering every upper stop-loss term orders the CVaR objective for affine increasing functions of the hidden count. The buffer claim follows by applying this inequality to threshold slack.
Worst-case tightness
The factor 2 in Theorem 3 is tight under the stated utility domain. Fix any and . Let , let
so . Consider binary classification utility . Under , action 0 is uniquely optimal. Under , action 1 is optimal whenever . If the approximate posterior selects the -Bayes action and is evaluated under , the regret is
Letting proves sharpness of within the stated bounded-utility class.
Proof of the asymptotic two-point separation
Under the exact posterior,
Since , the weak law of large numbers implies
Hence the exact posterior converges to . Local completion replaces the mixture by , which converges to for by applying the weak law to this single mean-matched binomial.
Proof of Corollary 1
If , then Hoeffding’s inequality gives
Therefore
while . Subtracting yields the first inequality.
If , then Hoeffding’s inequality gives
Hence
Subtracting these two inequalities gives the claimed upper-side threshold separation.
Proof of Proposition 3
If , then and . Corollary 1 gives
The case is the same:
If , then , giving the claimed scale.
Proof of Proposition 5
Write . The contribution of to is at most because both tail probabilities lie in . On , the projection satisfies . Hoeffding’s inequality gives
so . The case is symmetric. Integrating over proves the bound.
The final statement follows from the same decomposition: if is uncontrolled, the right-hand side may be order one for every , regardless of how small is relative to the rest of the state space. A boundary-mass condition is therefore needed for a useful rate.
Proof of Proposition 4
Let the witness support be , let include the constant-probe row, and let . By assumption, lies outside the row span of . Therefore there exists a vector such that
Write with disjoint nonnegative parts. Because the constant-probe row of is all ones and ,
so the positive and negative masses agree:
Define two probability measures supported on by
For every probe ,
because the corresponding probe row of annihilates . Moreover,
Set for later reference. Because both supports avoid , the weak law implies
A -probe compression produces the same approximate posterior on both instances, since all probe expectations agree. Writing the common approximate threshold probability as , we obtain
Taking proves the posterior-error claim.
For the final sentence, fix the worse of the two instances in the previous display. On that instance, the exact posterior over is a Bernoulli law and the approximate posterior is another Bernoulli law with parameter error at least
For Bernoulli laws, this parameter error is exactly the TV gap. Applying the worst-case tightness construction after Theorem 3 on the binary event space therefore yields, for every , a bounded-utility decision problem whose asymptotic Bayes value loss is at least
Proof of Corollary 2
Proposition 4 already constructs two posterior laws with matched probe expectations and distinct threshold masses whenever the row-span condition holds, so .
Fix any -probe compression. For any pair with matched probe expectations, the compression produces the same approximate posterior on both instances. Writing the common asymptotic threshold estimate as , we have directly
Taking and then the supremum over all admissible pairs gives
The decision-loss statement follows by applying the worst-case tightness construction after Theorem 3 to the harder instance of a near-maximizing indistinguishable pair of posterior measures.
Proofs of finite-probe reductions
Permutation averages. Each rollout posterior is, by assumption, a measurable function of the same probe vector . A finite average of such functions is again a measurable function of that vector. The averaged predictor is consequently covered by Proposition 4.
Finite moments. Choose distinct points
For the moment probes , the row span of is exactly the set of value vectors obtained by evaluating polynomials of degree at most on these points. The threshold vector is
If lay in the row span of , there would exist a polynomial of degree at most such that
Then the polynomial would have distinct roots , forcing , which contradicts . Thus lies outside the row span, so Proposition 4 applies. Combining this observation with Corollary 10 proves the permutation-average extension.
Low-parameter latent heads. For each define
By measurability of the family , each is measurable on . Therefore
is a measurable function of the same probe vector . This expresses the entire count law through the fixed probes, precisely the information restriction of Proposition 4.
Low-parameter count heads. For each and , the coordinate map
is measurable by assumption. Therefore each coordinate of
is a measurable function of the same probe vector , since . The resulting count law is thus a -probe compression covered by Proposition 4.
Experimental Protocols and Implementation Details
Compute and aggregation protocol. The main benchmark runs used a Linux environment with NVIDIA L20 GPUs and a fixed software environment across seeds. Per-seed JSON records contain configuration, metrics, and audit metadata. Deterministic scripts generate the tables and figures. The added attribution controls and two clean latency runs retain their own raw records and protocols. The cost-sensitivity evidence is an archived summary. Its reproducibility limits are stated separately below.
Reproducibility package. The supplementary material includes paper sources, experiment code, per-seed and aggregated outputs, plotting scripts, and reproduction instructions for the environment, seed list, benchmark commands, and aggregation commands. External datasets are obtained from scikit-learn [34], MovieLens [18], UCI [4, 43, 1], and the public MIL sources cited in each benchmark description, with download locations and preprocessing steps recorded in the corresponding scripts.
Breast-cancer benchmark. We used the Wisconsin Breast Cancer dataset [43] as exposed by scikit-learn [34], split the raw examples into train/validation/test partitions, and generated hierarchical bags with . The reported results use 5000 train bags, 1200 validation bags, and 1200 test bags per seed.
Digits benchmark. We binarized the optical handwritten digits dataset [1] as exposed by scikit-learn [34] by whether the digit lies in , then generated hierarchical bags with . Stop/reveal thresholds were tuned on validation bags over the grid . The point metric in Table 22 uses reveal cost 0.06, while the underlying policy sweep evaluates reveal costs in . Per seed, the split contains 4000 training bags and 1000 bags each for validation and final evaluation.
Table 22: Digits hierarchical stop/reveal benchmark over five seeds. Prefix metrics are evaluated at . Stopping thresholds are tuned on validation, with tuned denoting the validation-selected stopping probability threshold. Utility is maximized and the remaining error/cost metrics minimized.
| Model | Prefix acc. | Prefix NLL | Prefix Brier | Prefix ECE | Utility | Avg. reveals | Tuned |
| IndepPB | 0.733 0.011 | 2.073 0.178 | 0.241 0.013 | 0.230 0.013 | 0.753 0.013 | 1.279 0.071 | 0.89 0.02 |
| SeqMLP | 0.769 0.014 | 0.558 0.024 | 0.182 0.009 | 0.073 0.016 | 0.774 0.015 | 1.228 0.050 | 0.64 0.02 |
| SeqPermAvg | 0.769 0.014 | 0.558 0.024 | 0.182 0.009 | 0.073 0.016 | 0.773 0.012 | 1.589 0.712 | 0.68 0.09 |
| ObjMLP | 0.765 0.014 | 0.553 0.024 | 0.180 0.009 | 0.055 0.011 | 0.773 0.018 | 1.307 0.167 | 0.68 0.05 |
Table 22.
Covtype benchmark. We used the full Forest CoverType dataset [4] as exposed by scikit-learn [34], treated cover type 2 as the positive class for binarization, and generated hierarchical bags with . To keep the item-level baseline computationally stable at this scale, the raw logistic item model was fit on a random 100,000-example subsample of the training split, while the bag-level models were fit on 12,000 train bags per seed. The reported results use 3000 validation bags and 3000 test bags per seed.
Covtype threshold benchmark. Using the same raw covtype split, we generated threshold-risk bags with observed prefix length and hidden sizes . The label is the tail event
Each seed uses 8000 train bags, 2000 validation bags, and 2000 test bags for each hidden size. The same item-level logistic model is reused across the sweep, and the bag-level predictors are retrained separately for each hidden size. The ARR rollout baseline is trained as a Mittal-style multi-step predictor [31] over hidden-item reveals and then marginalized back to the threshold event. ObjSetTF uses the same object-space task but replaces the object MLP with a Set Transformer.
Covtype active-learning benchmark. For active learning, we fix the same threshold-risk task at hidden size . Each queried bag reveals its full latent item labels, after which the corresponding predictor is retrained and used to score the remaining pool by threshold-event uncertainty. We report budgets over a pool of 6144 bags, with 1000 validation and 2000 test bags per seed.
Musk stop/reveal benchmark. We used the Musk multiple-instance benchmark [12], where each molecule is a bag of conformations with a natural bag label. We kept molecules with at least 6 conformations, formed train/validation/test partitions by molecule identity, and sampled fixed-size sub-bag views of size . Stop/reveal thresholds were tuned on validation views over the grid , and Appendix Figure 17 sweeps reveal cost in .
Birds stop/reveal benchmark. We used the Brown Creeper multiple-instance benchmark [5], where each bag is an audio recording represented by local segments and the bag label indicates species presence. We kept bags with at least 16 segments, split by bag identity, and sampled fixed-size views of size . This natural grouped benchmark tests whether posterior-sensitive stop/reveal decisions remain informative beyond the controlled two-point latent model. Threshold tuning uses the Musk validation grid. Figure 16 reports the reveal-cost sweep .
Figure 16. Natural grouped stop/reveal on the Brown Creeper multiple-instance benchmark over five seeds. Bags are audio recordings with local segment features and natural species-presence labels. No latent source is injected by the experiment. Left: utility as a function of reveal cost after re-tuning the stopping threshold for each cost. Right: the corresponding average number of reveals.
For the diagnostic natural-task sweep we also used MovieLens 100K [18]. Each user is a group, each rated movie is an item, and the sampled-view label is whether at least half of the unrevealed slate receives a high rating ( stars) after observing three rated items from the same user. Item features contain movie genres and the observed rating/positive bit for the revealed prefix. No synthetic user latent is sampled. This task is closest to recommender triage among the natural sweeps. Gains concentrate in the high-TaxScore slice of these natural grouped decisions.
MovieLens tail-risk benchmarks. We used MovieLens 1M [18] for the main recommender slate experiment and MovieLens 10M as a scale-up check. Users with at least ratings were split by user identity into train/validation/test sets. For each sampled view, ratings are revealed and held-out movies form the hidden slate. The label is whether at least hidden movies receive rating at least four stars. Movie genres and training-set movie popularity are visible for hidden items. Hidden ratings are reserved for outcome evaluation. Additional random 1M configurations , , and were used for full-distribution stress checks outside the headline decision-critical audit. The 10M scale-up uses the pre-specified cold-slate setting and a pool of 5000 eligible users before user-level splitting.
The decision-critical configurations , , and use a pre-specified triage rule. For each candidate view, compute the hidden-slate prior success rate using only training-set movie popularity logits and compute the observed prefix success rate using only the revealed ratings. Accept immediately if the hidden prior is within 0.08 of and the observed prefix contains both outcomes. Otherwise keep the best of 80 candidates under
The candidate rule never reads hidden ratings, hidden positives, future outcomes, or predictions from evaluated heads. Its constants 0.08, 0.20, and 80 were fixed before comparing models. Movie identity indexes training popularity. Genres are reserved for prediction-head features. Each seed samples three slate views per training user and two per validation or test user for model evaluation.
Grid-based routing score, distinct from candidate selection. The saved experiments use grid_predictions to compute the routing score after a slate is selected. Let be the training-popularity logit of item , let be the logistic function, and use 16 equally spaced shifts . With observed prefix labels , the discrete posterior weights are
For hidden-item component means , define and . The empirical score is . The Table 3 offset regularizes the boundary distance. Its value is an empirical regularizer separate from Proposition 3. No neural-head output, hidden rating, tail label, or realized test gain enters . This common grid surrogate can be misspecified. Candidate-rule perturbations share this fixed grid estimator.
Slices versus routing policies. The code uses test-score terciles for low/mid/high descriptive bins and test-score quantiles for top-10/20/30% slices. Figure 3 uses score quartiles. These ranks use test covariates and revealed prefixes, never hidden outcomes. The descriptive cutoffs consequently depend on the unlabeled test-score distribution. The original deployment switch instead obtains its numeric cutoff from a validation-score quantile and applies it unchanged to test scores, so the realized test fraction can differ from the nominal budget. The additional matched-budget study ranks each split separately to select exactly the requested number of slates. All fractions and algorithms are specified before outcome evaluation. Confidence thresholds and model choices use validation labels.
Figure 3. TaxScore gain diagnostics. The two panels compare realized NLL and utility gains across score bins, testing whether routing concentrates valuable joint inference.
Prediction heads and payoff. GlobalGrid integrates conditional Poisson-binomial tail probabilities over the shared shift. SeqTXGlobal and ObjSetGlobal learn grid weights. ANP uses a diagonal Gaussian latent vector and FlowLatent a conditional affine-coupling flow. TwoTowerIndep completes item predictions independently. TwoTowerDropout averages Monte Carlo (MC) dropout tails. TwoTowerEnsMean averages member item probabilities before aggregation, whereas TwoTowerEnsMix averages member tail probabilities. SeqTXCountPM and ObjSetTFPM increase direct-count capacity without introducing a shared latent. For a predicted event probability , the implemented policy predicts if , otherwise defers. Its payoff is 1 for a correct prediction, 0 for an error, and for deferral, with in the headline results and selected on validation users. It measures the payoff of this offline triage decision under a declared cost.
Matched-backbone and fixed-ensemble controls. The additional ML1M-80 study uses five seeds, a common 16-point scoring grid, and 64 SeqTXGlobal components. The Transformer backbone is unchanged. The count output has no sampling parameter, so matching 64 latent components to ANP/Flow’s 64 samples matches posterior-evaluation resolution. Wall-clock cost and parameter count can differ. SeqTXGlobal has 240,737 parameters versus 145,377 for SeqTXCount. The separate parameter-matched controls address capacity. EnsMean and EnsMix reuse exactly the same three trained members (72,579 total parameters), with no extra training or member forward passes. The aggregation operation, including its tail calculations, differs. Table 16 and Table 17 report the mean and population standard deviation of paired differences across the five training seeds.
Equal-budget routing controls. For each rich head, TaxScore, SeqTXCount uncertainty , and random routing select exactly 330 or 496 of 1,652 test slates. Random results average 100 masks per seed. Each selector/head/budget combination retunes its mixed-policy confidence threshold on validation groups. Seed-level means are then aggregated. TaxScore’s incremental advantage over each comparator is positive in all five seeds for full NLL and utility at both budgets (Table 18). Uncertainty routing requires evaluating the cheap head first. Compute accounting includes this selector-specific work.
Table 18. Equal-budget ML1M-80 routing: full-population improvements over SeqTXCount, with five-seed mean ± standard deviation. All selectors route exactly 330/1,652 or 496/1,652 test slates. Random rows average 100 masks within each seed. Cheap uncertainty is . Each mixed-policy confidence threshold is selected on validation users. TaxScore exceeds each comparator for both metrics in all five seeds at each head/budget setting. These estimates use exact budgets. The original switch instead transfers a validation cutoff with a variable achieved fraction.
| Rich head | Budget | Selector | NLL reduction | Utility gain |
| ANP | 20% | TaxScore | 0.0105 ± 0.0009 | 0.0071 ± 0.0024 |
| ANP | 20% | Cheap uncertainty | 0.0058 ± 0.0013 | 0.0024 ± 0.0024 |
| ANP | 20% | Random | 0.0045 ± 0.0010 | 0.0032 ± 0.0011 |
| ANP | 30% | TaxScore | 0.0137 ± 0.0018 | 0.0089 ± 0.0012 |
| ANP | 30% | Cheap uncertainty | 0.0085 ± 0.0016 | 0.0035 ± 0.0016 |
| ANP | 30% | Random | 0.0066 ± 0.0015 | 0.0044 ± 0.0016 |
| FlowLatent | 20% | TaxScore | 0.0106 ± 0.0011 | 0.0094 ± 0.0026 |
| FlowLatent | 20% | Cheap uncertainty | 0.0050 ± 0.0025 | 0.0019 ± 0.0027 |
| FlowLatent | 20% | Random | 0.0037 ± 0.0007 | 0.0030 ± 0.0019 |
| FlowLatent | 30% | TaxScore | 0.0127 ± 0.0019 | 0.0098 ± 0.0026 |
| FlowLatent | 30% | Cheap uncertainty | 0.0068 ± 0.0032 | 0.0035 ± 0.0029 |
| FlowLatent | 30% | Random | 0.0058 ± 0.0011 | 0.0042 ± 0.0024 |
Deferral-cost sensitivity. The primary audit at reports ANP/Flow high-bin utility gains of .027/.023, and original validation-cutoff switch gains of .008/.009 at 20% and .010/.012 at 30%. A separate archived five-seed sensitivity summary retunes at each with a fresh validation-selected operating point. Averaged across ANP and Flow, its high-slice gains over .20–.50 range from .009 to .044, with 20%-switch gains from .002 to .011. At .10, differences are within of zero. These ranges come from the recorded sensitivity summary, which uses a separate aggregation from the headline results. The released archive retains that summary. Per-cost prediction arrays are unavailable, limiting reproducibility to the archived ranges. The matched-routing results retain their separate raw records and aggregation. With cheap deferral, improved posteriors may leave both the selected action and the realized downstream payoff unchanged.
Inference timing and routing overhead. Architecture-matched SeqTXCount, ANP, and Flow heads were timed on two NVIDIA L20 GPUs with preloaded (82, 23) inputs, float32 precision, TensorFloat-32 enabled, and 64 latent samples for ANP/Flow. Each GPU ran five trials: batch size 1 used 50 warm-ups and 200 timed batches per trial. Batch size 192 used 20 and 50. CUDA events with synchronization measure head output only. We report the range of per-GPU means across two clean runs. An overlapping-load run was excluded. Table 19 also reports the original five-seed training times.
For direct routing of fraction , the head-only estimate is . Including score construction and routing overhead , savings relative to rich-only inference require . The timing protocol excludes the score’s grid computation. End-to-end evaluation must remeasure this additional overhead. At batch size 192, interpolation further assumes each head receives full batches. Small queues may erase the expected throughput savings. Cross-domain use requires held-out validation of candidate rules and score regularization against utility and total cost.
Supplementary Tables
| Symbol | Meaning |
| or | exact posterior count under the object-space/shared-latent law |
| or | approximate posterior count used for decisions |
| and | exact and approximate hidden empirical measures in the non-binary law |
| or | generated independent item under an independent completion |
| and | directing random measure and its posterior mean after observing |
| scalar de Finetti latent frequency | |
| general shared latent state, possibly high-dimensional | |
| observed covariates/metadata of hidden item | |
| conditional success probability of item given the shared latent | |
| TaxScore | margin-normalized ambiguity diagnostic for a threshold decision |
| and | positive and negative signed covariance mass in Proposition 2 |
Table 5. Notation convention used throughout the paper.
| Model | Interface role | Interpretation |
| Tax-risk interfaces | ||
| IndepPB | Theorem 1 | Mean-preserving independent completion. |
| MeanIndep | Prop. 1 | Heterogeneous independent marginal completion. |
| TwoTowerIndep | Prop. 1 | Item marginals are completed independently across the slate. |
| TwoTowerEnsMean | Tax-risk interface | Ensemble item marginals are averaged before tail computation. |
| Conditional finite-probe interfaces | ||
| SeqMLP | Conditional | Covered only when its posterior head is a fixed -probe compression. |
| SeqPermAvg | Conditional | Averaging fixed probes retains the same posterior information. |
| ARR ollout | Conditional | Covered when every rollout uses the same fixed probe vector. |
| Stress tests and capacity controls | ||
| SeqGRUCount | Stress test | Direct count head beyond the exact lower-bound class. |
| SeqTXCount | Stress test | Permutation-averaged Transformer count head beyond the exact lower-bound class. |
| SeqTXCountPM | Capacity control | Parameter-matched direct count head. |
| ObjSetTFPM | Capacity control | Parameter-matched direct set/count head. No added shared latent. |
| Shared-sample and resolution mechanisms | ||
| TwoTowerDropout | Shared-sample baseline | MC dropout carries a shared stochastic state during slate scoring. |
| TwoTowerEnsMix | Shared-sample baseline | Slate-level tails are mixed over shared ensemble members. |
| GlobalGrid | Resolution design | Dimension-growing grid posterior for the shared latent. |
| SeqTXGlobal | Resolution design | Transformer backbone with an explicit global-latent posterior head. |
| ANP | Resolution design | Attentive neural-process posterior over a shared latent vector. |
| FlowLatent | Resolution design | Conditional flow posterior over a shared latent vector. |
| ObjMLP | Object-space comparator | Object-space posterior surrogate used as a competing design. |
| ObjSetTF | Object-space comparator | Object-space Set Transformer surrogate used as a stronger design. |
| ObjSetGlobal | Resolution design | Set backbone with an explicit global-latent posterior head. |
Table 6. Predictive representations of empirical baselines. Each role describes the implemented prediction head and the posterior information exposed to downstream decisions.
| Config | Slice | SeqTX | SeqTX-PM | 2T-Mean | 2T-Mix | ANP | Flow |
| ML1M-40 | All | ||||||
| ML1M-40 | High | ||||||
| ML1M-80 | All | ||||||
| ML1M-80 | High | ||||||
| ML10M-120 | All | – | – | ||||
| ML10M-120 | High | – | – |
Table 7. MovieLens tail-event NLL on full-distribution and high-TaxScore slices. Means and standard deviations are over five seeds. The high slice is the pre-specified decision-critical TaxScore bin. Dashes indicate baselines absent from the MovieLens 10M scale-up experiments.
Table 8: Pre-specified high-TaxScore triage slices on MovieLens. The top slices are selected by the TaxScore diagnostic computed from visible metadata and observed prefix ratings.
| Config | Slice | Count | SeqTX NLL | SeqTX util. | ANP NLL | ANP util. | Flow NLL | Flow util. |
| ML1M-80 | Top 20% | 331 | 0.686 ± 0.008 | 0.688 ± 0.014 | 0.631 ± 0.011 | 0.722 ± 0.007 | 0.628 ± 0.011 | 0.720 ± 0.010 |
| ML1M-80 | Top 10% | 166 | 0.690 ± 0.015 | 0.689 ± 0.022 | 0.609 ± 0.013 | 0.735 ± 0.018 | 0.603 ± 0.016 | 0.729 ± 0.009 |
| ML10M-120 | Top 20% | 500 | 0.675 ± 0.009 | 0.683 ± 0.011 | 0.639 ± 0.011 | 0.715 ± 0.006 | 0.638 ± 0.008 | 0.712 ± 0.013 |
| ML10M-120 | Top 10% | 250 | 0.675 ± 0.020 | 0.680 ± 0.015 | 0.642 ± 0.010 | 0.712 ± 0.004 | 0.645 ± 0.006 | 0.709 ± 0.010 |
Table 8.
Table 9: Original budgeted switch gains over SeqTXCount. Mixed predictions use the rich head on slates exceeding a validation-score cutoff and the cheap head elsewhere. Full gains average all test slates. Flagged gains average the routed subset. The offline experiment evaluates both heads to form these comparisons. Latency is assessed separately from this payoff calculation. See Table 18 for the separate exact-budget comparison and Table 19 for head-only timings.
| Config | Budget | Target | Test frac. | Full NLL gain | Full util. gain | Per-flagged util. gain |
| ML1M-80 | 10% | ANP | 10.0% | 0.008 ± 0.001 | 0.004 ± 0.004 | 0.045 ± 0.031 |
| ML1M-80 | 20% | ANP | 19.6% | 0.011 ± 0.001 | 0.008 ± 0.003 | 0.035 ± 0.018 |
| ML1M-80 | 30% | ANP | 29.1% | 0.014 ± 0.002 | 0.010 ± 0.002 | 0.030 ± 0.010 |
| ML1M-80 | 10% | Flow | 10.0% | 0.009 ± 0.001 | 0.004 ± 0.004 | 0.040 ± 0.023 |
| ML1M-80 | 20% | Flow | 19.6% | 0.012 ± 0.001 | 0.009 ± 0.003 | 0.032 ± 0.012 |
| ML1M-80 | 30% | Flow | 29.1% | 0.015 ± 0.003 | 0.012 ± 0.003 | 0.026 ± 0.008 |
| ML10M-120 | 10% | ANP | 9.7% | 0.003 ± 0.002 | 0.003 ± 0.003 | 0.034 ± 0.020 |
| ML10M-120 | 20% | ANP | 19.4% | 0.007 ± 0.004 | 0.006 ± 0.004 | 0.033 ± 0.013 |
| ML10M-120 | 30% | ANP | 29.3% | 0.009 ± 0.006 | 0.006 ± 0.005 | 0.024 ± 0.012 |
| ML10M-120 | 10% | Flow | 9.7% | 0.003 ± 0.002 | 0.004 ± 0.002 | 0.030 ± 0.020 |
| ML10M-120 | 20% | Flow | 19.4% | 0.008 ± 0.003 | 0.007 ± 0.004 | 0.029 ± 0.018 |
| ML10M-120 | 30% | Flow | 29.3% | 0.009 ± 0.005 | 0.007 ± 0.008 | 0.021 ± 0.017 |
Table 9.
Table 10: Mean paired-seed gains over SeqTXCount on MovieLens. Positive NLL gain means lower NLL for the target model. Positive utility gain means higher utility. NLL wins count seeds with positive NLL gains out of five. These headline-sweep top-slice gains use the full five-seed audit aggregation. Robustness Table 12 and Table 13 use separate Flow-only selector-sweep aggregations.
| Config | Slice | Target | NLL gain | Utility gain | NLL wins/5 |
| ML1M-40 | All | SeqTX-PM | -0.002 | -0.001 | 2/5 |
| ML1M-40 | All | SeqTXGlobal | 0.001 | -0.002 | 3/5 |
| ML1M-40 | All | ANP | 0.014 | 0.002 | 5/5 |
| ML1M-40 | All | Flow | 0.010 | 0.005 | 5/5 |
| ML1M-40 | High | SeqTX-PM | -0.004 | -0.003 | 1/5 |
| ML1M-40 | High | SeqTXGlobal | 0.006 | 0.001 | 3/5 |
| ML1M-40 | High | ANP | 0.025 | 0.013 | 5/5 |
| ML1M-40 | High | Flow | 0.024 | 0.012 | 4/5 |
| ML1M-80 | All | SeqTX-PM | 0.001 | 0.005 | 3/5 |
| ML1M-80 | All | SeqTXGlobal | 0.002 | 0.002 | 3/5 |
| ML1M-80 | All | ANP | 0.022 | 0.015 | 5/5 |
| ML1M-80 | All | Flow | 0.019 | 0.012 | 5/5 |
| ML1M-80 | High | SeqTX-PM | 0.008 | 0.003 | 3/5 |
| ML1M-80 | High | SeqTXGlobal | 0.018 | 0.007 | 5/5 |
| ML1M-80 | High | ANP | 0.044 | 0.027 | 5/5 |
| ML1M-80 | High | Flow | 0.044 | 0.023 | 5/5 |
| ML1M-80 | Top20 | SeqTX-PM | 0.008 | 0.003 | 3/5 |
| ML1M-80 | Top20 | ANP | 0.055 | 0.035 | 5/5 |
| ML1M-80 | Top20 | Flow | 0.058 | 0.032 | 5/5 |
| ML1M-80 | Top10 | SeqTX-PM | 0.014 | 0.002 | 3/5 |
| ML1M-80 | Top10 | ANP | 0.081 | 0.046 | 5/5 |
| ML1M-80 | Top10 | Flow | 0.087 | 0.040 | 5/5 |
| ML10M-120 | All | SeqTX-PM | -0.002 | -0.003 | 2/5 |
| ML10M-120 | All | ANP | 0.024 | 0.014 | 5/5 |
| ML10M-120 | All | Flow | 0.024 | 0.014 | 5/5 |
| ML10M-120 | High | SeqTX-PM | -0.002 | 0.004 | 2/5 |
| ML10M-120 | High | ANP | 0.030 | 0.025 | 5/5 |
| ML10M-120 | High | Flow | 0.031 | 0.022 | 5/5 |
| ML10M-120 | Top20 | SeqTX-PM | 0.001 | 0.007 | 2/5 |
| ML10M-120 | Top20 | ANP | 0.036 | 0.032 | 5/5 |
| ML10M-120 | Top20 | Flow | 0.038 | 0.029 | 5/5 |
| ML10M-120 | Top10 | SeqTX-PM | 0.003 | 0.010 | 2/5 |
| Config | Slice | Target | NLL gain | Utility gain | NLL wins/5 |
| ML10M-120 | Top10 | ANP | 0.033 | 0.032 | 4/5 |
| ML10M-120 | Top10 | Flow | 0.031 | 0.029 | 4/5 |
Table 10.
| Setting | Variant | corr(bin, NLL gain) | Top-20 NLL/util. gain | Switch util. gain |
| ML10M-120 (1200 users) | 0.76 | 0.039/0.008 | -0.001 | |
| ML10M-120 (1200 users) | 0.92 | 0.064/0.019 | 0.003 | |
| ML10M-120 (1200 users) | 0.20 | 0.046/0.004 | -0.004 | |
| ML10M-120 (1200 users) | 0.93 | 0.054/0.025 | 0.003 | |
| ML10M-120 (1200 users) | -0.09 | 0.044/0.028 | -0.002 | |
| ML10M-120 (1200 users) | -0.09 | 0.044/0.028 | -0.001 | |
| ML10M-120 (1200 users) | default | -0.09 | 0.044/0.028 | -0.001 |
| ML10M-120 (1200 users) | prefix only | 0.98 | 0.053/-0.013 | 0.007 |
| ML10M-120 (1200 users) | prior only | -0.89 | 0.010/0.006 | -0.001 |
| ML1M-80 | 0.98 | 0.037/0.023 | 0.006 | |
| ML1M-80 | 0.95 | 0.035/0.019 | 0.006 | |
| ML1M-80 | 0.93 | 0.033/0.012 | 0.003 | |
| ML1M-80 | 0.90 | 0.027/0.021 | 0.002 | |
| ML1M-80 | 0.92 | 0.054/0.029 | 0.008 | |
| ML1M-80 | 0.91 | 0.054/0.027 | 0.009 | |
| ML1M-80 | default | 0.91 | 0.054/0.027 | 0.009 |
| ML1M-80 | prefix only | 1.00 | 0.035/0.017 | 0.005 |
| ML1M-80 | prior only | -0.59 | 0.002/0.001 | 0.000 |
Table 12. MovieLens candidate-selection robustness. Variants perturb candidate budget , prior-margin cutoff , and prefix-ambiguity weight . The subsequent grid-based TaxScore is unchanged. Hidden ratings, hidden positives, compared-head predictions, and test labels never enter candidate selection or scoring. Gains compare FlowLatent with SeqTXCount. Top-slice gains assess enrichment. Bin correlation is supplementary and can be negative, especially on the 1,200-user ML10M subset. The sign of switch utility additionally depends on action changes.
| Config | neg. pair frac. | corr(TaxScore, NLL gain) | corr(, NLL gain) | |||
| ML1M-40 | 59.5 | 0.0 | 0.038 | 0.000 | 0.83 | 0.56 |
| ML1M-80 | 243.1 | 0.0 | 0.038 | 0.000 | 0.95 | 0.74 |
| ML10M-120 | 591.8 | 0.0 | 0.041 | 0.000 | 0.75 | 0.42 |
Table 11. MovieLens diagnostic checks. Signed covariances are reported on the high-TaxScore slice. Correlations compare TaxScore and the finite-ratio proxy against the ANP NLL gains measured separately in the low-, medium-, and high-score diagnostic bins.
| Model | Params | Train sec/run | Samples / ensemble members | High NLL |
| SeqTX | 145,377 | 3.0 | 1 | 0.673 ± 0.011 |
| SeqTX-PM | 437,585 | 3.0 | 1 | 0.665 ± 0.008 |
| SeqTXGlobal | 236,081 | 12.1 | 16 | 0.654 ± 0.013 |
| 2T-Mean | 72,579 | 5.1 | 3 | 0.772 ± 0.056 |
| 2T-Mix | 72,579 | 5.1 | 3 | 0.767 ± 0.053 |
| ANP | 91,329 | 15.5 | 64 | 0.629 ± 0.008 |
| Flow | 227,153 | 16.0 | 64 | 0.628 ± 0.011 |
Table 14. Capacity and compute audit for the MovieLens setting. Parameter-matched direct count heads yield smaller high-TaxScore tail-calibration gains than shared-latent posterior heads. Train sec/run is the rounded per-seed training wall-clock segment recorded by the experiment script, so small equalities should be read at that reporting granularity.
Table 20: Weighted head-latency estimates derived from separate head measurements. The calculation is , in milliseconds per slate. Steady-state batched estimates assume each routed head can fill batches of 192. Deployment savings additionally depend on TaxScore computation, routing overhead, and the achieved per-head batching efficiency.
| Rich head | Fraction | Online ms/slate | Batched ms/slate | Online saving vs. rich-only |
| ANP | 20% | 1.64–2.17 | 0.0151–0.0156 | 72.2–73.1% |
| FlowLatent | 20% | 1.76–2.31 | 0.0156–0.0162 | 72.9–73.6% |
| ANP | 30% | 2.18–2.91 | 0.0204–0.0211 | 63.2–64.0% |
| FlowLatent | 30% | 2.35–3.11 | 0.0213–0.0220 | 63.8–64.4% |
Table 20.
Table 21: Analytic majority witness for , , , and . Here . The ambiguous rows exhibit the largest independent-completion error.
| Exact tail | Independent tail | TV lb. | ||||
| 0 | 0.0154 | 0.0117 | 0.0020 | 0.0097 | 0.0055 | 0.0055 |
| 1 | 0.2000 | 0.1938 | 0.0875 | 0.1063 | 0.0576 | 0.0576 |
| 2 | 0.8000 | 0.8062 | 0.9125 | 0.1063 | 0.0576 | 0.0576 |
| 3 | 0.9846 | 0.9883 | 0.9980 | 0.0097 | 0.0055 | 0.0055 |
Table 21.
Table 23: Auxiliary hierarchical bag-majority benchmarks over five seeds. Lower is better for NLL, Brier, and ECE. These tasks are intentionally less tail-sensitive than the threshold-risk scaling task.
| Dataset | Model | Acc. | NLL | Brier | ECE |
| Breast | IndepPB | 0.803 0.009 | 0.552 0.046 | 0.116 0.003 | 0.050 0.007 |
| Breast | SeqMLP | 0.801 0.011 | 0.419 0.011 | 0.134 0.004 | 0.043 0.011 |
| Breast | SeqPermAvg | 0.802 0.009 | 0.412 0.011 | 0.132 0.004 | 0.046 0.009 |
| Breast | ObjMLP | 0.804 0.012 | 0.393 0.024 | 0.124 0.007 | 0.044 0.011 |
| Covtype | IndepPB | 0.786 0.003 | 0.466 0.009 | 0.148 0.003 | 0.040 0.003 |
| Covtype | SeqMLP | 0.760 0.008 | 0.515 0.016 | 0.166 0.004 | 0.045 0.012 |
| Covtype | SeqPermAvg | 0.775 0.005 | 0.469 0.005 | 0.153 0.002 | 0.024 0.004 |
| Covtype | ObjMLP | 0.788 0.008 | 0.455 0.008 | 0.147 0.003 | 0.024 0.005 |
Table 23.
Table 24: Natural grouped Brown Creeper stop/reveal benchmark over five seeds. Prefix metrics are evaluated after one revealed segment. Point metrics use the validation-selected threshold and reveal cost from the sweep. Larger accuracy and utility indicate improvement. Smaller NLL and ECE indicate better probabilities, and fewer reveals reduce observation costs.
| Model | Prefix acc. | Prefix NLL | Prefix ECE | Utility | Avg. reveals |
| SeqGRU | 0.727 | 0.534 | 0.098 | 0.789 | 2.051 |
| SeqTX | 0.740 | 0.530 | 0.095 | 0.785 | 2.452 |
| ObjMLP | 0.700 | 0.532 | 0.089 | 0.796 | 2.372 |
| ObjSetTF | 0.733 | 0.558 | 0.104 | 0.796 | 2.290 |
Table 24.
Supplementary Figures
Figure 5. Synthetic law visualizations in the two-point family. As the unrevealed size or latent posterior variance increases, the threshold-posterior gap grows as predicted by Proposition 3 and Corollary 1, while the TV and predictive-variance gaps follow Corollary 6.
Figure 6. Covtype threshold-risk scaling over five seeds. Independent completion remains deceptively competitive on accuracy, but calibration and NLL deteriorate sharply with hidden size. GRU and permutation-averaged Transformer count heads improve on rollout. The object-space Set Transformer achieves the strongest calibration and NLL across the evaluated hidden sizes.
Figure 7. Direct theorem-aligned diagnostic on the covtype hierarchical threshold task. The exact oracle threshold posterior is compared with the oracle mean-preserving independent completion using the binary-event TV , the maximal expectation error over binary-event functions with values in under the exact and independently completed predictive laws.
Figure 8. TaxScore diagnostics. Left: controlled covtype-style hierarchical bags binned by the margin-normalized ambiguity score from Proposition 3. Event-TV increases sharply with TaxScore. Right: natural MIL and MovieLens slate triage tasks binned by an estimated TaxScore proxy. High-score bins show consistent object-space utility gains, with smaller gains in the lower-score regimes.
Figure 9. Posterior-head resolution ablation in the controlled Bernoulli mixture. A grid mixture head improves as its support resolution grows, while the fixed mean-completion and Beta moment summaries retain a threshold-probability error floor across all tested support resolutions.
Figure 10. MovieLens Brier decomposition on the critical-slate audit. This decomposition complements the main-text reliability curve by separating its calibration and resolution components.
Figure 11. Resolution and capacity audits. Left: grid-latent posteriors improve tail NLL as resolution increases, while independent completions plateau. Right: parameter-matched direct count heads test whether additional capacity reproduces the gains from shared-latent prediction.


Figure 12. Non-binary MovieLens rating-bin demo for the empirical-measure law. Ratings are partitioned into low, middle, and high bins. The event depends jointly on high-bin and low-bin counts. The shared bin mixture improves partition-event NLL and exhibits the Laplace/covariance gaps predicted by Theorem 2. The fixed Laplace-proxy scale emphasizes the large-slate gap. Smaller-slate differences are visually compressed by this common exponential scale.
Figure 13. Finite-exchangeability stress test. A finite population with shared-latent composition is sampled without replacement and compared with the with-replacement de Finetti surrogate. The measured TV deviation decreases with within the collision correction in Corollary 3.
Figure 14. Covtype pool-based active learning over five seeds on the threshold-risk task with hidden size . Each queried bag reveals its full item labels. Left: test accuracy versus labeled-bag budget. Right: test NLL versus labeled-bag budget. The object-space models are substantially more sample-efficient than rollout and remain competitive with stronger GRU/Transformer count-head baselines. Independent completion remains accuracy-competitive but essentially flat in NLL, highlighting the influence of posterior-family restrictions at larger labeling budgets.
Figure 15. Covtype threshold-risk performance at the largest hidden size after splitting test prefixes by oracle latent posterior variance . The high-ambiguity slice has the largest independent-completion error, consistent with the hidden-size and residual-variance scale in Remark 1.
Figure 17. Natural grouped stop/reveal on the Musk multiple-instance dataset over five seeds. Each molecule is a bag of conformations. After each reveal the model may stop and classify the molecule or pay to reveal another conformation. Left: utility as a function of reveal cost after re-tuning the stopping threshold for each cost. Right: the corresponding average number of reveals.
NeurIPS Paper Checklist
Claims and scope. [Yes] The paper analyzes independent marginalization of shared-latent predictive distributions and restricted finite-probe summaries. Classical convex-order ingredients are attributed explicitly. Separate posterior, threshold, and resolution results are distinguished from empirical routing claims. Theorem 3 bounds conditional Bayes regret from above. Positive regret additionally requires a change in the cost-dependent action.
Limitations. [Yes] The limitations are stated where they matter technically. The Bernoulli convex-order theorem assumes a de Finetti/shared-latent posterior. Finite exchangeability is handled through explicit TV perturbation and finite-population correction in Appendix § 9. The non-binary extension is a Laplace-functional law, and Appendix § 10 includes the counterexample explaining why the stronger statement is false. The finite-probe lower bound requires the specified information restriction on posterior summaries.
Theory assumptions and proofs. [Yes] All formal assumptions are included in theorem or proposition statements. The setup defines the TV convention used in value-transfer constants. Appendix § 9 gives deferred consequences and Appendix § 10 gives proofs for the convex-order law, empirical-measure extension, heterogeneous-slate covariance tax, TaxScore bounds, finite-probe lower bound, resolution theorem, and finite-exchangeability robustness.
Experimental protocol and reproducibility. [Yes] § 6 and Appendix § 11 specify data construction, user-level splits, allowed features, and scoring and routing rules. MovieLens candidate selection uses training popularity and revealed prefix ratings. The routing score uses a fixed grid posterior from the same visible information. Test-score ranks for descriptive slices are distinguished from validation cutoffs for the original switch and exact-budget routing in the added controls. Hidden test outcomes never determine selection.
Code and data access. [Yes] The supplementary archive contains manuscript source, experiment implementations, available per-seed/aggregate JSON records, and reproduction scripts. The added attribution and latency tables are verified against raw saved records. The cost-sensitivity result has only an archived aggregate summary. That reproducibility limitation is disclosed in Appendix § 11 and the artifact notes. Datasets come from public scikit-learn, MIL, UCI, and MovieLens sources.
Experimental details. [Yes] Dataset construction, hierarchical bag generation, MovieLens slate sampling, validation/test sizes, model-interface definitions, posterior-head choices, reveal-cost grids, and threshold-selection rules are specified in Appendix § 11. The main text reports the headline settings. Appendix tables provide full-distribution, high-bin, top-quantile, calibration, capacity, signed-covariance, and deployment-switch audits.
Error bars and statistical reporting. [Yes] Stochastic experiments use five seeds unless explicitly stated. Figures report mean curves or binned means. Appendix tables report mean standard deviation, paired mean gains, seed-consistency counts, and bin sizes where relevant. The MovieLens audit reports both full-distribution and protocol-selected slice metrics, separating critical-slate gains from average-population gains.
Compute resources. [Yes] Appendix § 11 describes the Linux/NVIDIA L20 experiments and the separate two-GPU timing protocol. It distinguishes per-seed training segments, measured head latency, weighted routing estimates, and unmeasured scoring/transfer/queueing overhead.
Ethics and broader impacts. [Yes] The paper is a theoretical and diagnostic study using public datasets. All experiments are offline analyses of existing public data. The intended impact is to improve calibration audits for tail-sensitive grouped decisions such as recommendation, quality control, active triage, and medical-panel-style risk assessment. We also state boundary cases where the diagnostic predicts little gain.
Safeguards. [N/A] The supplementary material is for offline reproduction. It contains no private user data, no credentials, and no system for making real-world decisions. MovieLens user identifiers are public benchmark IDs and are used only within standard offline splits.
Licenses for existing assets. [Yes] The paper cites the datasets and software sources used in experiments. Reproduction relies on public benchmark sources distributed through scikit-learn, MovieLens, UCI tabular datasets, and cited public MIL mirrors. No proprietary or restricted dataset is required to reproduce the reported results.
New assets. [No] The released assets consist of code, aggregate outputs, and a pre-specified MovieLens audit protocol applied to existing datasets.
Human subjects and crowdsourcing. [N/A] The work uses existing public benchmark data exclusively and involves no recruitment or direct interaction with human participants.
References
- [1]Ethem Alpaydin and Cenk Kaynak. Optical recognition of handwritten digits dataset. UCI Machine Learning Repository, 1998.
- [2]Imad Aouali, Sergey Ivanov, Mike Gartrell, David Rohde, Flavian Vasile, Victor Zaytsev, and Diego Legrand. Combining reward and rank signals for slate recommendation, 2021. arXiv:2107.12455.arxiv.org/abs/2107.12455
- [3]A. D. Barbour, Lars Holst, and Svante Janson. Poisson Approximation. Oxford University Press, 1992.
- [4]Jock Blackard. Covertype [dataset]. UCI Machine Learning Repository, 1998.
- [5]Forrest Briggs, Xiaoli Z. Fern, and Raviv Raich. Rank-loss support instance machines for miml instance annotation. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 534–542, 2012.DOI
- [6]Abraham Charnes and William W. Cooper. Chance-constrained programming. Management Science, 6(1):73–79, 1959.DOI
- [7]Xue Chen, Qichao Liang, Yuanzhu Chen, Peng Wang, Hang Yu, and Xiangfeng Luo. Cognitive-based knowledge learning framework for recommendation. Knowledge-Based Systems, 287:111446, 2024. doi: 10.1016/j.knosys.2024.111446.DOI
- [8]Kyung Hyun Cho, Bart van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Conference on Empirical Methods in Natural Language Processing, pages 1724–1734, 2014.arxiv.org/abs/1406.1078
- [9]Areski Cousin and Jean-Paul Laurent. Comparison results for exchangeable credit risk portfolios. Insurance: Mathematics and Economics, 42(3):1118–1127, 2008. doi: 10.1016/j.insmatheco.2008.02.005.
- [10]Paul Covington, Jay Adams, and Emre Sargin. Deep neural networks for youtube recommendations. In ACM Conference on Recommender Systems, pages 191–198, 2016.DOI
- [11]Bruno de Finetti. La prévision: ses lois logiques, ses sources subjectives. Annales de l’Institut Henri Poincaré, 7:1–68, 1937.
- [12]Thomas G. Dietterich, Richard H. Lathrop, and Tomás Lozano-Pérez. Solving the multiple instance problem with axis-parallel rectangles. Artificial Intelligence, 89(1-2):31–71, 1997.DOI
- [13]Maria Dimakopoulou, Nikos Vlassis, and Tony Jebara. Marginal posterior sampling for slate bandits. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, pages 2223–2229, 2019. doi: 10.24963/ijcai.2019/308. URL https://www.ijcai.org/proceedings/2019/308.DOI
- [14]James D. Esary, Frank Proschan, and David W. Walkup. Association of random variables, with applications. The Annals of Mathematical Statistics, 38(5):1466–1474, 1967.DOI
- [18]F. Maxwell Harper and Joseph A. Konstan. The movielens datasets: History and context. ACM Transactions on Interactive Intelligent Systems, 5(4):19:1–19:19, 2015. doi: 10.1145/2827872.DOI
- [19]Ursula Hebert-Johnson, Michael Kim, Omer Reingold, and Guy Rothblum. Multicalibration: Calibration for the (Computationally-identifiable) masses. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 1939–1948. PMLR, 10–15 Jul 2018. URL https://proceedings.mlr.press/v80/hebert-johnson18a.html.
- [20]Edwin Hewitt and Leonard J. Savage. Symmetric measures on cartesian products. Transactions of the American Mathematical Society, 80(2):470–501, 1955.DOI
- [21]Wassily Hoeffding. On the distribution of the number of successes in independent trials. The Annals of Mathematical Statistics, 27(3):713–721, 1956.
- [22]Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963.
- [23]Yili Hong. On computing the distribution function of the poisson binomial distribution. Computational Statistics & Data Analysis, 59:41–51, 2013.DOI
- [24]Yifan Hu, Yehuda Koren, and Chris Volinsky. Collaborative filtering for implicit feedback datasets. In IEEE International Conference on Data Mining, pages 263–272, 2008.DOI
- [25]Olav Kallenberg. Probabilistic Symmetries and Invariance Principles. Springer, 2005.DOI
- [26]Hyunjik Kim, Andriy Mnih, Jonathan Schwarz, Marta Garnelo, S. M. Ali Eslami, Dan Rosenbaum, Oriol Vinyals, and Yee Whye Teh. Attentive neural processes. In International Conference on Learning Representations, 2019.arxiv.org/abs/1901.05761
- [27]Volodymyr Kuleshov, Nathan Fenner, and Stefano Ermon. Accurate uncertainties for deep learning using calibrated regression. In Proceedings of the 35th International Conference on Machine Learning, 2018.arxiv.org/abs/1807.00263
- [28]Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems, 2017.arxiv.org/abs/1612.01474
- [29]Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In International Conference on Machine Learning, pages 3744–3753, 2019.arxiv.org/abs/1810.00825
- [30]Albert W. Marshall, Ingram Olkin, and Barry C. Arnold. Inequalities: Theory of Majorization and Its Applications. Springer, 2 edition, 2011.
- [31]Daksh Mittal, Ang Li, Thomson Yen, C. Guetta, and Hongseok Namkoong. Architectural and inferential inductive biases for exchangeable sequence modeling. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 154422–154455. Curran Associates, Inc., 2025. doi: 10.52202/0805713.5165. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/e31fc00e6acb1d09184f1489e766900d-Paper-Conference.pdf.arxiv.org/abs/2503.01215
- [33]Ian Osband, Zheng Wen, Seyed Mohammad Asghari, Vikranth Dwaracherla, Xiuyuan Lu, Morteza Ibrahimi, Dieterich Lawson, Botao Hao, Brendan O’Donoghue, and Benjamin Van Roy. The neural testbed: Evaluating joint predictions. In Advances in Neural Information Processing Systems, volume 35, 2022.arxiv.org/abs/2110.04629
- [34]Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, Jake Vanderplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Matthieu Perrot, and Édouard Duchesnay. Scikit-learn: Machine learning in python. Journal of Machine Learning Research, 12:2825–2830, 2011.arxiv.org/abs/1201.0490
- [35]Kashif Rasul, Ingmar Schuster, Roland Vollgraf, and Urs Bergmann. Set flow: A permutation invariant normalizing flow, 2019. arXiv:1909.02775.arxiv.org/abs/1909.02775
- [36]Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. BPR: Bayesian personalized ranking from implicit feedback. In Conference on Uncertainty in Artificial Intelligence, 2009.
- [37]Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with normalizing flows. In International Conference on Machine Learning, 2015.
- [38]R. Tyrrell Rockafellar and Stanislav Uryasev. Optimization of conditional value-at-risk. Journal of Risk, 2(3):21–41, 2000.DOI
- [39]Moshe Shaked and J. George Shanthikumar. Stochastic Orders. Springer, 2007.
- [40]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, pages 5998–6008, 2017.arxiv.org/abs/1706.03762
- [41]Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
- [42]Chaoqi Wang, Shengyang Sun, and Roger Grosse. Beyond marginal uncertainty: How accurately can bayesian regression models estimate posterior predictive correlations? In Proceedings of The 24th International Conference on Artificial Intelligence and Statistics, volume 130 of Proceedings of Machine Learning Research, pages 2476–2484, 2021. URL https://proceedings.mlr.press/v130/wang21g.html.arxiv.org/abs/2011.03178
- [43]William H. Wolberg, Olvi L. Mangasarian, W. Nick Street, and William N. Street. Breast cancer wisconsin (diagnostic) dataset. UCI Machine Learning Repository, 1995.
- [44]Hang Yu, Weixu Liu, Jie Lu, Yimin Wen, Xiangfeng Luo, and Guangquan Zhang. Detecting group concept drift from multiple data streams. Pattern Recognition, 134:109113, 2023. doi: 10.1016/j.patcog.2022.109113.DOI
- [45]Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabás Póczos, Ruslan Salakhutdinov, and Alexander Smola. Deep sets. In Advances in Neural Information Processing Systems, 2017.
- [46]Berend Zwartsenberg, Adam Šcibior, Matthew Niedoba, Vasileios Lioutas, Justice Sefas, Yunpeng Liu, Setareh Dabiri, Jonathan Wilder Lavington, Trevor Campbell, and Frank Wood. Conditional permutation invariant flows. Transactions on Machine Learning Research, 2023. URL https://openreview.net/forum?id=DUsgPi3oCC.arxiv.org/abs/2206.09021















