Counterfactual Probing for Parallel Unmasking with Hidden Forest Structure
Organizations: The University of Tokyo · RIKEN AIP
Abstract
Masked generative models offer parallel token prediction, but accurate parallel sampling must account for dependencies among tokens. When dependencies are unknown, finding safe batches also costs model evaluations. We study whether total evaluations, including discovery, can be sublinear in sequence length ; sublinear sequential depth then follows. We consider discrete distributions with hidden forest structure, accessed through a fixed approximate conditional oracle. Under explicit regularity conditions and uniform Hellinger error bounds, for any fixed target accuracy and sufficiently large , our sampler achieves seed-averaged total-variation error at most , with total masked-state submissions and sequential depth both bounded by for constants and . These guarantees use polynomial vocabulary size and an edge-response lower bound set by and . The sampler shares evaluations of hypothetical reveals across dependence tests to identify safe parallel batches without requiring full recovery of the hidden forest. A tunable parameter trades probing cost against irreversible commit rounds. In the same class, any admissible irreversible product-commit sampler attaining the same seed-averaged accuracy requires counterfactual submissions or commit rounds in the worst case, for constants .
Figures & tables
| Sampler / variant | Target / oracle | Submissions | Depth | Output |
| Sequential chain rule | Arbitrary / exact | Exact | ||
| One product batch | Arbitrary / exact | No error bound a | ||
| Anari et al. (2024) | Arbitrary / exact | , exp. | Exact | |
| Anari et al. (2026) | Arbitrary / noisy b | , exp. | TV | |
| Li and Cai (2025) | TC/DTC / averaged prediction error | (path: ) | same | Mean KL |
| Chen et al. (2026) | Supplied / exact | (path: ) | same | Mean KL |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Proof step | Key idea and conclusion | References |
|---|---|---|
| Construct a hard matching family | Nontrigger oracle replies hide dependence while each edge retains loss . The inclusion calculation checks the target assumptions and oracle error under the stated calibration. | Section C.2 ; Lemmas C.1 and C.2 |
| Relate adaptive commits to output error | Later batches depend on sampled values. The midpoint identity expresses output affinity as an expectation of products of local affinities along these adaptive paths. | Section C.3 ; Lemma C.3 |
| Limit what probes can reveal | The unresolved matching and triggers remain conditionally uniform. One candidate per source per submission gives . | Section C.4 ; Lemmas C.4 and C.5 |
| Force collisions with few rounds | Edge counting forces large active batches; a conditional Laplace bound then gives with constant probability under the budgets in equation 46 . | Sections C.5 , C.6 and C.7 ; Lemmas C.6 , C.7 and C.8 |
| Convert collisions into sampling error | Each collision contributes a factor . The midpoint identity gives a prior-averaged loss; averaging over seeds and selecting a worst-case instance yields the TV lower bound. | Sections C.8 and C.9 ; Lemmas C.9 and B.2 |
| Recover the main-text lower bound | Calibrate the matching witness at the public parameters, then take the fixed-accuracy limit to obtain Theorem 3.2 . | Corollaries G.2 and G.3 |
| Proof task | Key argument and conclusion | Algorithm steps | References |
|---|---|---|---|
| Certify the vocabulary banks | Preprocessing gives a nonempty complement of , whose tokens have true marginal mass below , certifying the tail representative. Under the standard floor, (RF) bounds . | Step 1 | Lemma E.3 |
| Recover low-degree neighborhoods | Separating colors reduce packed probes to one-source comparisons at a fixed boundary. RT–UEN and the screening margin make their votes correct; fresh-color majorities give for degree at most , except on reached-screen failures of total probability at most . | Step 2 – Step 3 ; Step 3.1 – Step 3.3 | Lemmas E.2 , E.4 and E.5 ; Lemma E.6 |
| Peel the high-degree core | Let count vertices of degree above before phase . On successful paths, the forest degree sum gives . Either stopping test leaves maximum degree at most , certifying the true residual forest. | Step 4 – Step 5 | Lemma E.7 |
| Complete safe parallel sampling | Singleton peels and one centroid per true residual component are safe. Exact-row products then equal joint batch conditionals. Centroid deletion halves component sizes, giving logarithmically many terminal rounds on successful paths. | Step 4 , Step 6 | Lemmas E.2 , E.8 and E.9 |
| Bound all-path resources | Count screen loops for , and peel and centroid commits for rounds. Guard caps rounds even on failed-screen paths. Each screen is one parallel stage: . excludes preprocessing and commits. | All: Step 1 – Step 6 , plus Guard | Lemma E.8 |
| Case (i): bound output TV | Each coordinate is committed once, so adaptive Hellinger composition bounds an analysis-only safe rule’s oracle error. Coupling to that rule adds at most , giving seed-averaged TV at most . | All: Step 1 – Step 6 ; output-law analysis | Lemmas E.9 , E.10 and E.11 ; Theorem E.1 |
| Family | Structure before relabeling | ||
|---|---|---|---|
| Matching | Disjoint pairs | ||
| Path | One path | ||
| Binary tree | Complete binary tree | ||
| Growing stars | At most leaves per star |