ConceptioArchivearXiv CS
arXiv CSopen access

From Global to Factor-Wise Expert Composition in Discrete Diffusion Models

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
machine learning, deep learning, neural networks

From Global to Factor-Wise Expert Composition in Discrete Diffusion Models

Haozhe Huang1,2

Yudong W. Xu2,3

Abhijoy Mandal1,2

Alán Aspuru-Guzik1,2,4

1

arXiv:2607.11758v1 [cs.LG] 13 Jul 2026

Department of Computer Science, University of Toronto 2 Vector Institute for Artificial Intelligence 3 Department of Mechanical & Industrial Engineering, University of Toronto 4 Senior Fellow, Canadian Institute for Advanced Research (CIFAR)

1

Abstract

where collecting data for every possible combination of desired properties is intractable.

Discrete diffusion models offer a powerful framework for solving complex reasoning tasks, particularly through compositional generation, which combines multiple pre-trained experts to generalize beyond their individual training data. Recent theoretical corrections introduce time-dependent mixing weights to better align composed diffusion dynamics with the intended target. However, these methods are fundamentally limited by working on a per-sample basis, treating each generated state monolithically and ignoring the potential spatial or functional specializations of different experts. In this work, we address this limitation by proposing FactorDiff – a factor-wise composition framework for diffusion models. We posit that samples can be further decomposed into smaller factors, and propose a sampling process that dynamically routes each factor to the most relevant expert. We instantiate this framework with spatial/pixel-level compositions and validate it on the ARC-AGI benchmark, demonstrating that simple factor-specific routing consistently outperforms complex global scalar weighting schemes on tasks that require logical consistency and spatial disentanglement.

Recent works have sought to improve compositional sampling by introducing time-dependent correction weights for each expert. Methods such as SuperDiff [Skreta et al., 2025b], RNE [He et al., 2026], and Feynman-Kac Correctors [Skreta et al., 2025a, Hasan et al., 2025] derive these weights mathematically to ensure the combined score field approximates the true product distribution. While theoretically grounded, these approaches share a fundamental limitation: they assign a single global scalar weight to each expert at every timestep. This implicitly assumes that each expert is equally knowledgeable across the entire set of variables in the state space x.

INTRODUCTION

Discrete diffusion models have recently emerged as a powerful paradigm for solving complex reasoning and generative tasks by learning the underlying data distribution directly from samples [Austin et al., 2021, Lou et al., 2024, Ye et al., 2025]. A key advantage of this framework is its potential for compositional generation — the ability to combine multiple pre-trained models (or experts) to solve tasks that lie outside the training distribution of any single model [Du et al., 2020]. This capability is critical for real-world applications

This "monolithic" assumption is problematic for complex generative tasks where experts have specialized domains or conflicting objectives. For instance, in a spatial reasoning task, one expert may be valid only for a specific region, while another governs the boundary conditions. Assigning a single weight forces a compromise that dilutes the signal of the correct expert in its region of competence. In this work, we argue that effective composition requires a more granular approach. We propose a factor-wise composition framework in which the state is decomposed into user-defined factors, and expert contributions are routed at the factor level rather than applied uniformly to the entire sample. Instead of assigning a single scalar weight for each expert, our method dynamically assigns weights per factor during sampling, enabling heterogeneous expert contributions within a single generated state. We instantiate this framework with position-level routing for grid-structured reasoning and demonstrate the benefits of this intuition on ARC-AGI, a challenging discrete-reasoning benchmark where standard scalar weighting fails to capture the necessary local constraints. By acknowledging the spatial and functional independence of experts, our method achieves superior generalization on tasks that require strict logical consistency.

Inputs Occupancy Model

Color Model

A) Scalar-Based Weighting (State-of-the-Art)

B) FactorDiff (Ours)

Accumulated Density Calculation

Per-pixel Routing

Sample-level Composition

Factored Composition

Task: e76a88a6

Concrete Scores

Figure 1: Overview of our method. Discrete diffusion models can be combined via their concrete scores during the reverse diffusion step. However, even state-of-the-art methods do not leverage them to their full potential, operating only at the sample level with scalar weights. By further factoring the sample space at the spatial level, we can produce better results with expert model combinations. We summarize our contributions as follows: • We propose FactorDiff,1 a factor-wise composition framework that casts composition as routing over factors, and instantiates it with position-level expert selection for grid-structured diffusion models (Figure 1). • We introduce a native 2D masked diffusion architecture that preserves grid topology and enables training complementary expert models whose predictions can be composed at inference time. • We empirically evaluate factor-wise routing on ARCAGI, showing consistent gains over per-sample scalarweight baselines (including SuperDiff, RNE, and Feynman–Kac correctors), with the largest improvements arising from highly specialized complementary experts.

x ∈ {0, . . . , 9}H×W encodes colours as integers, with dimensions up to 30 × 30. The goal is to predict the corre(q) sponding query output xout by identifying the underlying transformation that maps xin 7→ xout in the demonstrations. ARC-AGI is significant because it emphasizes compositional and systematic reasoning: success often requires discovering object structure (connected components, symmetry, repetition), manipulating discrete entities (copy, translate, rotate, reflect), and applying conditional rules that depend on spatial context. Unlike supervised datasets, where the same mapping is learned across many labelled examples, ARC tasks require on-the-fly rule induction from only a few demonstrations, making it a challenging testbed for models that aim to exhibit flexible, human-like generalization.

2.2

2

PRELIMINARIES

2.1

ARC-AGI

The Abstraction and Reasoning Corpus (ARC-AGI)[Chollet, 2019] is a benchmark of grid-based reasoning problems designed to probe generalization from a handful of examples rather than pattern recognition at scale. Each task specifies a latent rule, typically an abstract transformation over objects, colours, and spatial relations, that must be inferred from a small set of input-output demonstrations and then applied to a new query input. Example tasks are visualized in Figure 2. Formally, an ARC-AGI task consists of K demonstration (k) (k) (q) pairs {(xin , xout )}K k=1 and a query input xin . Each grid 1

Code: github.com/markohuang/factordiff.

DISCRETE DIFFUSION

Discrete diffusion models [Austin et al., 2021] define a generative process over a discrete state space X = {1, . . . , S} via a forward corruption process and a learned reverse denoising process. Forward Process. The forward process q(xt |xt−1 ) injects noise according to a transition matrix Qt ∈ RS×S , such that q(xt |xt−1 ) = xt−1 Qt (where x is represented as a one-hot vector). This Markov chain admits a closedform marginal distribution q(xt |x0 ) = x0 Q̄t , where Q̄t = Q1 . . . Qt . In this work, we adopt the Masked Diffusion Language Model (MDLM) framework [Sahoo et al., 2024], which uses an absorbing state parameterization. The transition matrix Qt is defined such that tokens either remain unchanged or transition to a special [MASK] token with probability βt . Crucially, once a token is masked, it remains

Task 4347f46a

Task d22278a0

Task 95990924

likely under all experts. In practice, however, experts are rarely equally reliable, motivating methods that introduce weights. Importantly, existing work typically does so using a single scalar per expert, either as mixture coefficients or as global exponents. SUPERDIFF [Skreta et al., 2025b] formalizes composition by specifying a weighted mixture target pmix (x) = t

M X

(m)

ωm pt

ωm ≥ 0,

(x),

masked (absorbing state). Reverse Process. The generative process reverses this corruption by learning a denoising distribution pθ (xt−1 |xt ). This is typically parameterized by a neural network p̂θ (x0 |xt ) that predicts the clean data distribution from the noisy state. The reverse transition is then derived using the posterior of the forward process: X pθ (xt−1 |xt ) ∝ q(xt−1 |xt , x̃0 )p̂θ (x̃0 |xt ). (1) x̃0 ∈X

Recent works such as LLaDA [Nie et al., 2026] and ARChitects [Knoop et al., 2025] have applied this framework to 2D grids by flattening them into sequences, but they rely on standard 1D architectures that may introduce topological mismatches for spatial reasoning tasks. 2.3

COMPOSING DIFFUSION MODELS

In many settings, we have access to multiple pretrained (m) diffusion “experts” {pθ }M m=1 (e.g., trained on different data sources or with different architectures) and wish to combine them at inference time. As specified in Section 2.2, (m) each expert induces a reverse transition pθ (xt−1 | xt ). A natural goal is to sample from a composed target distribution built from the experts.

ωm = 1,

m

m=1

Figure 2: Example tasks from the ARC-AGI-1 dataset.

X

(4) and deriving the corresponding superposed reverse dynam(m) ics. During sampling, SUPERDIFF estimates log pt (xt ) along the trajectory and uses these values to compute statedependent responsibilities; nevertheless, the user-facing composition parameters remain one scalar coefficient per expert ({ωm }, or equivalent global biases/temperatures). SUPERDIFF also proposes an “AND”-style construction that selects coefficients to equalize density changes across experts; this again solves for a small set of scalar weights (one per expert) rather than introducing spatially varying notions of expert competence. Feynman-Kac Correctors (FKC) [Hasan et al., 2025, Skreta et al., 2025a] considers product/geometric-average targets obtained by adding global exponents to the naive product in (3), e.g. M Y βm (m) pgeo (x) ∝ pt (x) , (5) t m=1

FKC derives a Feynman–Kac reweighting that corrects heuristic score-mixing so that a particle system tracks the intended intermediate targets. While the algorithm uses SMC (j) importance weights wt to correct samples, these weights are scalar per particle, and the composition itself is governed by scalar per-expert exponents {βm }, fixed across the state space. RNE [He et al., 2026] similarly targets annealed and productstyle compositions by introducing global exponents on expert densities, e.g. p0 (x) ∝

M Y

(m)

p0 (x)

β m

,

(6)

m=1

Naive composition without weights. Two common ways to combine experts are: M

Mixture (OR):

pmix (x) = t

Product (AND):

pprod (x) ∝ t

1 X (m) p (x), M m=1 t M Y

(m)

pt

(x).

(2)

(3)

m=1

The mixture favours samples that are likely under any expert, while the product favours samples that are simultaneously

and uses Radon–Nikodym / time-reversal identities to estimate marginal density ratios along trajectories. As in FKC, the resulting composition remains parameterized by one scalar per expert through {βm }.

3

FACTOR-WISE COMPOSITION

The correction methods reviewed in Section 2.3, such as Feynman-Kac correctors [Hasan et al., 2025], RNE [He et al., 2026], and weighted score addition [Skreta et al.,

2025b], are target-distribution-first: they specify a compositional Q target distribution, typically the product of experts p(x) ∝ m pm (x), and reverse-engineer a sampling procedure to match it through modified rate matrices, importance weights, and particle resampling. In essentially all cases, composition is parameterized by one scalar weight per expert, for example, through a weighted product: pcomp (x) ∝

M Y

αm pm (x) ,

αm ≥ 0.

(7)

expert specialization without committing to a product-ofexperts target, and enables composition decisions at the spatial/positional level.

3.1

COMPOSITION AS ROUTING

Masked diffusion models such as MDLM [Sahoo et al., 2024] factorize the reverse transition over variables v ∈ V :

m=1

This formulation assumes that every expert provides a globally competent distribution over the full state: each expert’s predictions over all variables are always folded into the product at every position, if an expert is up-weighted, it is up-weighted everywhere in x. Importance weighting can correct for discrepancies between the sampling process and the target distribution, but it cannot correct for a misspecified target. In structured domains, however, the state often admits a natural decomposition into factors (e.g., spatial regions, variable groups, constraint scopes, or output components), as is standard in probabilistic graphical models [Koller and Friedman, 2009]. When experts are complementary specialists, global weights in Equation (7) can be fundamentally misspecified: a shape expert trained only on occupancy produces arbitrary predictions over colour tokens, yet the product includes them at every position; a colour expert that hallucinates shapes sees those hallucinations enter the product alongside the shape expert’s accurate predictions. The desired composition is to trust the shape expert for shape and the colourQexpert for colour. However, this cannot be k expressed as k pα k for any choice of global exponents αk ; it requires composition decisions that vary across the state space. Moreover, even if such a position-dependent target could be specified, existing methods can only correct at the sample level (i.e., using singular scalar weights per trajectory) and cannot recover the combinatorial space of per-position expert assignments (Section 2.3). This suggests replacing global scalar weighting with factorwise composition, where each factor f ∈ F can be assigned its own expert weighting: pcomp (x) ∝

M Y Y

α pm (xf ) m,f .

(8)

f ∈F m=1

Here xf denotes the subset/view of variables belonging to factor f , and the weights {αm,f } allow expertise to vary across factors. In the hard-routing special case, αm,f is one-hot in m, yielding a single selected expert per factor. FactorDiff operationalizes this factor-wise perspective during inference. At each denoising step, a routing map assigns each variable (position/pixel) to the most competent expert. This defines a valid generative process that respects

pθ (xt−1 | xt ) =

Y

pθ (xt−1,v | xt ).

(9)

v∈V

We exploit this factorization to compose experts at the variable level. Given M expert models, we introduce a routing variable zv ∈ {1, . . . , M } that assigns each variable v to a specific expert. The composed transition is: p(xt−1 | xt , z) =

Y

pzv (xt−1,v | xt ),

(10)

v∈V

where pzv (xt−1,v | xt ) is the per-variable conditional predicted by expert zv . Since each factor is a valid conditional from a trained model, the product defines a valid joint transition; no additional normalization or importance correction is required. The expressiveness of this framework is governed by the granularity of the routing map z. We identify two levels: Per-Sample Composition (zv = z for all v). When the routing map is constant across positions, composition can only select among complete samples. Existing importanceweighted methods operate in this regime. Feynman-Kac correctors [Hasan et al., 2025] and RNE [He et al., 2026] combine expert predictions identically at every position, then select or discard complete trajectories via scalar importance weights. All positions within a selected sample share the same provenance, and expert contributions cannot vary spatially. Recovering factored compositions (e.g., expert 1 at boundaries, expert 2 at interiors) requires the particle population to cover a combinatorial space that grows exponentially in the number of independently varying positions. Per-Pixel Composition (zv varies across v). The focus of this work is to explore the potential of allowing the routing map to vary across positions (pixels). This enables compositions that no single sample-level particle can express: one expert’s confident boundary predictions stitched together with another’s confident interior predictions within a single sample (Figure 3). We show that position-level routing handles all tested expert combinations: pairs of full models, a spatial expert with a full model, and two different expert models, consistently and without modification. We instantiate this via confidence-based selection in Section 3.2.

Occupancy model

4.1

We train on a subset of ARC-AGI-1 tasks. Specifically, we select 120 tasks in which grids fit within a 10 × 10 grid, covering colour permutations, object detection, symmetry, translations, and pattern completion (see Section A.7 for details). We then use the RE-ARC generator [Hodel, 2024] to generate 1000 unique instances for each task, yielding 120,000 total example pairs. Of the 1000 generated instances per task, we train on 800 and evaluate in-distribution on the held-out 200. We apply geometric augmentations (90◦ rotations, horizontal and vertical flips, and their compositions), yielding up to 8 equivalent views per training example.

Task: 6e19193c

+

=

Color model

Figure 3: The output space is split: the Occupancy model handles background and borders, while the Colour model fills in the texture. This level of factorization is impossible at the sample-level.

3.2

CONFIDENCE-BASED ROUTING

When expertise varies spatially (e.g., one Occupancy model excels at boundaries while another Colour model excels at textures), we employ spatial routing. In this work, we explore a simple instantiation of this concept, in which the routing variable zv is dynamically determined at inference time based on expert confidence (Figure 4). We select the expert with the highest confidence at each position v: zv = argmax C(pk (xv | xt )),

(11)

k∈{1,...,K}

where the confidence metric C is the margin between the top two probabilities, as inspired by the work of Kim et al. [2025]: C(p) = p(1) − p(2) . The composed reverse step is then:

Rather than learning explicit task embeddings, we provide the model with context frames: input-output demonstration pairs concatenated along the channel dimension with the query input. This enables a single model to be trained on all 120 tasks simultaneously, in contrast to prior work that trains separate models per task [Li et al., 2025]. During inference, the model identifies which transformation to apply purely from the provided context frames. Expert Variants. We train three complementary model types, each with a different training objective (see Section A.5 for detailed equations): • Full model: Standard masked cross-entropy over all 10 colors. Learns the complete input-to-output mapping. • Occupancy model (Occ): Binary cross-entropy for background (colour 0) versus foreground (colours 1– 9). Learns where objects appear without distinguishing between colours. • Color model (Col): Cross-entropy computed only at foreground positions (colors 1–9), ignoring background. Focuses on predicting which colour appears at non-background positions. 4.2

pcomposed (xvt−1 | xt ) =

K X

I[zv = k] · pk (xvt−1 | xt ). (12)

k=1

4

ARC-AGI-1

PROBLEM FORMULATION

Standard approaches flatten grids into sequences x ∈ RHW , imposing an arbitrary ordering (raster scan) that forces attention to learn that tokens i and i + W are vertical neighbours. We instead treat the grid as a lattice graph G = (V, E), where V is the set of cells and E encodes adjacency. Specializing the general discrete diffusion framework of Section 2.2 to this 2D setting, each variable v ∈ V corresponds to a grid cell taking values in X = {0, . . . , 9} (10 colours for ARC-AGI) plus a [MASK] token.

MASKED DIFFUSION ON GRIDS

We employ continuous-time masked diffusion [Sahoo et al., 2024], specialized to 2D grids (Figure 5). Starting from a fully-masked state (maximum entropy), the reverse process progressively reveals tokens according to a noise schedule. Following Sahoo et al. [2024], we enforce two properties via the SUBS parameterization: (1) the output never predicts [MASK], implemented by setting logits[MASK] = −∞; and (2) unmasked tokens copy themselves with probability 1. The continuous-time NELBO reduces to weighted masked cross-entropy:   σt′ L = Et,q(xt |x0 ) · CE(pθ (xt ), x0 ) (13) 1 − αt where σt′ = dσ/dt and the loss is computed only at masked positions.

Probability margin between top 2 predictions

Select the more confident model’s prediction O F O F O O F O O

Task: 95990924

Individual output predictions

Occupancy model (O)

Full model (F)

Correct solution

Figure 4: Per-pixel routing in action. The routing map z (visualized as a mask) is computed at each denoising step. The Occupancy model is selected at boundaries where it is confident, providing sharp shapes. The Full model is selected for interiors, providing colour. 4.3

DENOISING ARCHITECTURE

The masked diffusion process described in Section 4.2 defines the outer generative loop: starting from a fully masked grid, it progressively unmasks tokens over T denoising steps. At each step t, a neural network must predict the clean data distribution p̂θ (x0 | xt ). We parameterize this network using an iterative refinement architecture, which serves as the denoising model for all expert distributions pk (xvt−1 | xt ) defined in Equation (10). Iterative Refinement Backbone. Following the iterative refinement paradigm of TRM [Jolicoeur-Martineau, 2025], the denoising network maintains dual latent states zH (highlevel) and zL (low-level). Within a single denoising step at time t, the network performs H internal refinement cycles, allowing constraint propagation across the grid before producing the final prediction. Learnable 2D positional embeddings are added to token embeddings, ensuring that the confidence metric C(pk ) in Equation (11) reflects true spatial locality rather than artifacts of raster scanning. Backbone Variants. We implement two variants for fbackbone , both conditioned on the query input through channel-wise concatenation:

5

• RQ1: Does per-pixel routing outperform per-sample composition when experts are specialized? • RQ2: Is per-pixel routing “safe” when experts are both strong generalists (full+full), i.e., does it avoid degrading performance relative to the best available baseline? Metrics. We report Pixel accuracy, the fraction of correctly predicted cells across all grids, and Exact accuracy, the fraction of grids for which every cell is correct. All results are evaluated on the same 120-task ARC-AGI-1 subset, using RE-ARC-generated held-out examples (IID evaluation). Single-expert baselines. Table 1 reports the performance of individual experts on the held-out RE-ARC evaluation set. The Trans-IR full model achieves 93.0% exact accuracy, outperforming the Conv-IR full model (89.3%). In contrast, the specialist experts perform poorly on the full 10-class end task (3.3% exact for the colour expert, 0.2% exact for the occupancy expert), since they are trained on restricted objectives. This gap motivates composition: specialists may be inaccurate globally, but highly reliable on the substructure they are intended to model. Table 1: Single expert performance on ARC-AGI-1 tasks

• Convolutional (Conv-IR): A U-shaped encoderdecoder with skip connections. Local receptive fields capture fine-grained spatial patterns, while hierarchical downsampling aggregates global context.

Backbone

Variant

Params

Pixel (%)

Exact (%)

Conv-IR Trans-IR

Full Full

1M 1M

99.3 99.5

89.3 93.0

• Transformer (Trans-IR): A bidirectional attentionbased architecture where each token attends to all others, providing immediate global context, with 2D sinusoidal positional embeddings to preserve grid topology.

Trans-IR Trans-IR

Col Occ

1M 1M

32.4 65.7

3.3 0.2

EXPERIMENTAL RESULTS

Our experiments are designed to answer two questions:

Composition protocols. To isolate the effect of routing granularity, we compare per-sample composition methods (PoE averaging, SuperDiff, FKC, RNE) against per-pixel routing (FactorDiff maximum selection). Results are summarized in Table 2.

Task id: 4347f46a

Context pairs + Query

? T=1.00

masked

T=0.33

T=0.66

T=0.00

Diffuse output with MDLM

Figure 5: Masked diffusion on 2D grids. The forward process progressively masks tokens (left to right), while the reverse process iteratively unmasks them conditioned on the input grid, recovering the clean output. 5.1

RQ1: BENEFIT UNDER SPECIALIZATION (OCC + FULL; COL + OCC)

We evaluate regimes where experts are explicitly complementary, and per-sample methods must use a single global mixture/exponent across all positions. Occ + Full. Per-pixel routing achieves 94.0% exact accuracy, outperforming the strongest per-sample method (SuperDiff density at 93.2%) by 0.8%. More importantly, several per-sample methods degrade relative to the best single expert (93.0%): PoE average drops to 91.0% and FKC to 90.2%, consistent with global composition diluting correct full-model predictions in regions where the occupancy expert is uninformative. Per-pixel routing avoids this trade-off by selecting the occupancy expert only where it is locally reliable, while deferring elsewhere. Col + Occ. This pairing directly stresses RQ1: both specialists are nearly useless on the end task individually (3.3% and 0.2% exact), yet their errors are structured and complementary. Per-pixel routing composes them into a strong solver, reaching 90.5% exact accuracy. In contrast, all persample methods remain far below (73.2–78.4%), with a 12+ point gap to the best per-sample baseline (FKC at 78.4%). This gap is consistent with the “scalar bottleneck”: a single global mixture/exponent cannot express “use occupancy for shape/boundaries and colour for texture” within the same sample, whereas per-pixel routing can. 5.2

RQ2: SAFETY UNDER STRONG GENERALISTS (FULL + FULL)

We test whether per-pixel routing harms performance when both experts are competent across the full state space. Com-

posing two strong full models (Trans-IR 93.0% and Conv-IR 89.3%), all composition methods improve over the individual baselines. Crucially, per-pixel routing is non-degrading: it matches the best per-sample baseline, tying FKC at 95.2% exact accuracy (and matching or exceeding PoE average and SuperDiff density at 95.1%). This indicates that allowing spatially varying expert selection does not introduce systematic stitching errors or instability when experts already agree broadly; instead, it behaves like a benign refinement that preserves strong global competence. Across ARC-AGI-1, per-pixel routing is safe in the generalist regime (Full+Full; RQ2) and becomes increasingly advantageous as expert specialization increases (Occ+Full and especially Col+Occ; RQ1). These results support the central claim that factor-wise composition can capture complementary expertise that per-sample/global-weight composition cannot represent.

5.3

EXPERT-OVERLAP ABLATION AND ROUTING MAPS

In Figure 6, we inspect behaviour when experts overlap heavily; we run a Full+Full ablation study, in which our composite FactorDiff framework is applied over two full-output experts trained with the same objective and data distribution but differing only in architectural inductive bias (Trans-IR and Conv-IR). We evaluate all 200 held-out queries for each of the 120 tasks (24,000 samples). This pair is separate from the main aggregate in Table 2, which uses the stronger headline full models; here the goal is to probe routing behaviour under heavy overlap. Per-pixel routing achieves 94.8% exact accuracy, well above both deployable models (89.5% and 85.6%). Crucially, for 132 of the 24,000 grids, the composed

Table 2: Composition results on 120-task ARC-AGI-1 subset (RE-ARC IID evaluation). We compare composition methods across expert combinations. Per-pixel max consistently outperforms or matches all baselines across all combinations, including col+occ where it dramatically exceeds alternatives. Full + Full

Occ + Full

Col + Occ

Exact (%)

Exact (%)

Exact (%)

Single model baselines — Full (Trans-IR, 93.0%) — Full (Conv-IR, 89.3%) — Occ — Col

93.0 89.3 — —

93.0 — 0.2 —

— — 0.2 3.3

Per-sample routing Per-sample Average (PoE) Per-sample Density (SuperDiff) Per-sample FKC Per-sample RNE

95.1 95.1 95.2 94.1

91.0 93.2 90.2 85.2

73.2 77.7 78.4 76.5

Per-pixel routing Per-pixel Maximum selection

95.2

94.0

90.5

Granularity

Method

output is exactly correct, whereas neither individual model is. Per-pixel routing stitches correct regions from each into solutions neither produces alone. Even with hindsight, the better of the two models chosen per task, composition wins on more tasks than it trails (39 vs 23, with 58 ties), without ever being catastrophically worse. In the figure, we also show bar charts and scatter plots that provide further insight into per-task performance of compositional models vs single models.

6

RELATED WORKS

Existing ARC-AGI Solvers. Early ARC-AGI solving approaches focused on symbolic methods [Wind, 2020, Alford et al., 2021, Xu et al., 2023, Hocquette and Cropper, 2025], but recent work has shifted towards latent methods leveraging language or vision models [Franzen et al., 2025, Li et al., 2025, Hu et al., 2026]. While early LLMs struggled (i.e., GPT-4 solved only 13/50 simple tasks [Xu et al., 2024b]), newer models achieve much higher performance, with GPT-5.5 achieving 95%. More recently, TRM [Jolicoeur-Martineau, 2025] achieved 45% with 7M parameters via latent recursion, though critiques suggest heavy reliance on search rather than generalizable reasoning [Roye-Azar et al., 2024]. CompressARC [Liao and Xu, 2025] and SOAR [Pourcel et al., 2025] take a program synthesis approach and search for code reproducing examples, but suffer from combinatorial explosion and brittleness. Compositional-ARC [Mondorf et al., 2026] tests recombination of learned primitives, but operates at the task level: composing entire sub-programs rather than expert predictions within a single generative process. In contrast, FactorDiff composes expert predictions at the position level during diffusion sampling, enabling fine-grained spatial routing without requiring an explicit program decomposition.

Factor-based Composition for Continuous Diffusion. The idea of composing diffusion models at the factor level has been explored in the continuous setting. These methods compose factors by adding their scores over the graph and apply Bethe-style corrections to avoid double-counting variables shared across overlapping scopes [Yang et al., 2023, Xu et al., 2024a, Sridhar et al., 2024, Mishra et al., 2023, 2024, Zhang et al., 2023]. Our work brings this factor-level perspective to discrete diffusion: rather than adding continuous scores over a fixed factor-graph topology, it routes each factor to a single expert, which composes valid conditionals directly and requires no correction for overlap. Model Merging and Mixtures. A broad literature merges pre-trained models by averaging weights (model soups [Wortsman et al., 2022]) or routing inputs to jointlytrained sub-networks (mixture-of-experts [Shazeer et al., 2017]). We instead combine frozen experts purely at inference: there is no shared parameter space, so weight-space merging does not apply, and unlike prior diffusion composition that mixes full outputs through one scalar weight per expert (Section 2.3), FactorDiff mixes experts per factor within intermediate denoising states. This gives a finergrained composition regime than scalar output-level fusion.

7

CONCLUSION

We introduced FactorDiff, a factor-wise composition framework for discrete diffusion models that operates at the position level rather than the sample level. Built on a native 2D masked diffusion architecture that preserves grid topology, FactorDiff dynamically routes each position to the most competent expert via confidence-based selection. The key insight is that existing per-sample composition methods, which assign a single scalar weight to each expert, cannot capture the spatially varying expertise structure of complementary expert models.

c)

Composition follows the stronger expert, per task Trans-IR stronger

100

Trans-IR Conv-IR FactorDiff

Conv-IR stronger

80

FactorDiff (%)

Exact accuracy (%)

a)

60

Composed vs. Trans-IR 99/120

80 60 40 20 0

40 20

0

Conv-IR

ae a1 6e 82

fd1 cf0

b9

a2

1c a9

96 e8

d4

d9

Trans-IR

Routing

FactorDiff (%)

Composed

07

3fb 3

ed

e5 48

91

e5 09

33

e

f

45 3

9e 2

GT

33

e4 0b

6

0a 43 57 a1

a6 88

6 91

04 3 a1 88

e7 6a

81 9 82

Example input/output

97%

96%

80%/20%

wrong

100%

97%

97%

78%/22%

77%/23%

100

60 40 20 0

25

50

75

100

Composed vs. best individual

FactorDiff (%)

93%

75

118/120

100

correct

50

80

0

correct

25

Composed vs. Conv-IR

100

0

b)

100

97/120

80 60 40 20 0

0

25

50

75

baseline exact (%)

100

Figure 6: Expert overlap ablation and routing maps (Trans-IR vs. Conv-IR: same data and objective, differ only in architecture; 120 tasks, 24,000 samples, untuned). a) On the 12 most-disagreeing tasks, composition follows the stronger expert in both directions. b) Routing maps: top two rows are correct where neither model is, by stitching each model’s correct regions; bottom row is a failure case. c) Per task, composition matches or exceeds each single model (Trans-IR 99/120, Conv-IR 118/120) and is not bounded by the better one. On RE-ARC (120 tasks, IID evaluation), FactorDiff’s perpixel routing consistently achieves the best performance across expert combinations. It further achieves 90.5% exact accuracy by composing colour and occupancy specialists that individually score only 3.3% and 0.2% on the full task, dramatically exceeding per-sample methods (best: 78.4%). Overall, FactorDiff provides a simple and effective mechanism for combining arbitrary specialists within a single diffusion trajectory, and naturally extends to learned or taskconditioned routing when expertise structure is unknown. Limitations and Open Questions Our confidence-based routing assumes that expert confidence correlates with correctness, which holds across all tested combinations but may not generalize to arbitrary model pairs (e.g., architectures with unknown complementary strengths). A natural extension is to learn the routing function (e.g., train a small network to predict per-pixel routing weights from the current diffusion state). This would generalize FactorDiff to settings where expertise structure must be discovered rather than designed. We instantiate factors as individual pixels, but this is one

realization of a more general principle: factors could equally be objects, connected regions, or latent abstractions, and discovering informative factorizations automatically is itself non-trivial. We note, however, that manually designed factorizations are not strictly necessary to benefit from perpixel mixing, and with a well-designed routing function, composing two full-output experts already improves over the best individual in our overlap ablation (Section 5.3). We leave richer factorizations to future work. We establish that fine-grained, per-factor routing for discrete diffusion models is feasible and consistently beneficial in an unstudied regime, without proving the optimality of confidence-based routing. Characterizing when factor-wise composition provably helps, and extending beyond ARCAGI, are natural next steps.

Acknowledgements A.A.-G. thanks Anders G. Frøseth for his generous support. A.A.-G. also acknowledges the generous support of Natural Resources Canada and the Canada 150 Research Chairs program. Computations were performed on the Trillium supercomputer at the SciNet HPC Consortium. SciNet is funded by Innovation, Science and Economic Development Canada; the Digital Research Alliance of Canada; the Ontario Research Fund: Research Excellence; and the University of Toronto. References Simon Alford, Anshula Gandhi, Akshay Rangamani, Andrzej Banburski, Tony Wang, Sylee Dandekar, John Chin, Tomaso Poggio, and Peter Chin. Neural-guided, bidirectional program search for abstraction and reasoning. In International Conference on Complex Networks and Their Applications, pages 657–668. Springer, 2021. Jacob Austin, Daniel D Johnson, Jonathan Ho, Daniel Tarlow, and Rianne van den Berg. Structured denoising diffusion models in discrete state-spaces. Advances in Neural Information Processing Systems, 34:17981–17993, 2021. François Chollet. On the measure of intelligence. In arXiv preprint arXiv:1911.01547, 2019. Yilun Du, Shuang Li, and Igor Mordatch. Compositional visual generation with energy based models. Advances in Neural Information Processing Systems, 33:6637–6647, 2020. Daniel Franzen, Jan Disselhoff, and David Hartmann. Product of experts with LLMs: Boosting performance on ARC is a matter of perspective. In Forty-second International Conference on Machine Learning, 2025. URL https: //openreview.net/forum?id=dsBjxI6l8W. Mohsin Hasan, Viktor Ohanesian, Artem Gazizov, Yoshua Bengio, Alán Aspuru-Guzik, Bondesan Roberto, Marta Skreta, and Kirill Neklyudov. Discrete FeynmanKac correctors for diffusion guidance. arXiv preprint arXiv:2601.10403, 2025. Jiajun He, José Miguel Hernández-Lobato, Yuanqi Du, and Francisco Vargas. RNE: Plug-and-play diffusion inference-time control and energy-based training. In International Conference on Learning Representations, 2026. Céline Hocquette and Andrew Cropper. Relational decomposition for program synthesis. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, pages 4526–4534, 2025.

Michael Hodel. Addressing the abstraction and reasoning corpus via procedural example generation. arXiv preprint arXiv:2404.07353, 2024. Keya Hu, Ali Cy, Linlu Qiu, Xiaoman Delores Ding, Runqian Wang, Yeyin Eva Zhu, Jacob Andreas, and Kaiming He. Arc is a vision problem! In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2537–2546, 2026. Alexia Jolicoeur-Martineau. Less is More: Recursive Reasoning with Tiny Networks, October 2025. URL http://arxiv.org/abs/2510. 04871. arXiv:2510.04871 [cs] version: 1. Keller Jordan, Jeremy Bernstein, Laker Newhouse, Yuchen Jin, Vlado Boza, Jiacheng You, and Franz Cesista. Muon: An optimizer for hidden layers in neural networks. https://kellerjordan.github.io/ posts/muon/, 2024. Accessed: 2025. Jaeyeon Kim, Kulin Shah, Vasilis Kontonis, Sham M. Kakade, and Sitan Chen. Train for the worst, plan for the best: Understanding token ordering in masked diffusions. In Forty-second International Conference on Machine Learning, 2025. Mike Knoop et al. The ARChitects - technical report. https://lambdalabsml.github.io/ ARC2025_Solution_by_the_ARChitects/, 2025. Daphne Koller and Nir Friedman. Probabilistic graphical models: principles and techniques. MIT press, 2009. Wenhao Li, Yudong Xu, Scott Sanner, and Elias Boutros Khalil. Tackling the abstraction and reasoning corpus with vision transformers: the importance of 2d representation, positions, and objects. Transactions on Machine Learning Research, 2025. ISSN 28358856. URL https://openreview.net/forum? id=Al72Fp0rCg. Isaac Liao and Anji Xu. Arc-agi without pretraining. arXiv preprint arXiv:2512.06104, 2025. Aaron Lou, Chenlin Meng, and Stefano Ermon. Discrete diffusion modeling by estimating the ratios of the data distribution. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 32819–32848. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/ v235/lou24a.html. Utkarsh Aashu Mishra, Shangjie Xue, Yongxin Chen, and Danfei Xu. Generative skill chaining: Long-horizon skill

planning with diffusion models. In Conference on Robot Learning, pages 2905–2925. PMLR, 2023. Utkarsh Aashu Mishra, Yongxin Chen, and Danfei Xu. Generative factor chaining: Coordinated manipulation with diffusion-based factor graph. In 8th Annual Conference on Robot Learning, 2024. URL https:// openreview.net/forum?id=p6Wq6TjjHH. Philipp Mondorf, Shijia Zhou, Monica Riedler, and Barbara Plank. Compositional-ARC: Assessing systematic generalization in abstract spatial reasoning. In International Conference on Learning Representations, 2026. Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. Advances in Neural Information Processing Systems, 38: 50608–50646, 2026. Julien Pourcel, Cédric Colas, and Pierre-Yves Oudeyer. Self-Improving Language Models for Evolutionary Program Synthesis: A Case Study on ARC-AGI. June 2025. URL https://openreview.net/forum? id=z4IG090qt2. Antonio Roye-Azar, Santiago Vargas-Naranjo, Dhruv Ghai, Nithin Balamurugan, and Rayan Amir. Tiny recursive models on ARC-AGI-1: Inductive biases, identity conditioning, and test-time compute. arXiv preprint arXiv:2512.11847, 2024. Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. In Proceedings of the 38th International Conference on Neural Information Processing Systems, pages 130136–130184, 2024. Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations, 2017. Marta Skreta, Tara Akhound-Sadegh, Viktor Ohanesian, Roberto Bondesan, Alan Aspuru-Guzik, Arnaud Doucet, Rob Brekelmans, Alexander Tong, and Kirill Neklyudov. Feynman-kac correctors in diffusion: Annealing, guidance, and product of experts. In Fortysecond International Conference on Machine Learning, 2025a. URL https://openreview.net/forum? id=Vhc0KrcqWu. Marta Skreta, Lazar Atanackovic, Joey Bose, Alexander Tong, and Kirill Neklyudov. The superposition of diffusion models using the itô density estimator. In International Conference on Learning Representations, volume 2025, pages 67004–67057, 2025b.

Deepak Sridhar, Abhishek Peri, Rohith Rachala, and Nuno Vasconcelos. Adapting diffusion models for improved prompt compliance and controllable image synthesis. Advances in Neural Information Processing Systems, 37: 6979–7010, 2024. J

S Wind. 1st place solution + code and official documentation. https: //www.kaggle.com/competitions/ abstraction-and-reasoning-challenge/ discussion/154597, 2020.

Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: Averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In Proceedings of the 39th International Conference on Machine Learning, pages 23965–23998. PMLR, 2022. Yiqing Xu, Jiayuan Mao, Linfeng Li, Yilun Du, Tomas Lozáno-Pérez, Leslie Pack Kaelbling, and David Hsu. “set it up”: Functional object arrangement with compositional generative models. The International Journal of Robotics Research, page 02783649251378198, 2024a. Yudong Xu, Elias B Khalil, and Scott Sanner. Graphs, constraints, and search for the abstraction and reasoning corpus. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 4115–4122, 2023. Yudong Xu, Wenhao Li, Pashootan Vaezipoor, Scott Sanner, and Elias Boutros Khalil. LLMs and the abstraction and reasoning corpus: Successes, failures, and the importance of object-based representations. Transactions on Machine Learning Research, 2024b. ISSN 28358856. URL https://openreview.net/forum? id=E8m8oySvPJ. Zhutian Yang, Jiayuan Mao, Yilun Du, Jiajun Wu, Joshua B Tenenbaum, Tomás Lozano-Pérez, and Leslie Pack Kaelbling. Compositional diffusion-based continuous constraint solvers. In Conference on Robot Learning, 2023. Jiacheng Ye, Jiahui Gao, Shansan Gong, Lin Zheng, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Beyond autoregression: Discrete diffusion for complex reasoning and planning. In The Thirteenth International Conference on Learning Representations, 2025. URL https: //openreview.net/forum?id=NRYgUzSPZz. Qinsheng Zhang, Jiaming Song, Xun Huang, Yongxin Chen, and Ming-Yu Liu. Diffcollage: Parallel generation of large content with diffusion models. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10188–10198, 2023. doi: 10.1109/CVPR52729.2023.00982.

From Global to Factor-Wise Expert Composition in Discrete Diffusion Models (Supplementary Material)

Haozhe Huang1,2

Yudong W. Xu2,3

Abhijoy Mandal1,2

Alán Aspuru-Guzik1,2,4

1

Department of Computer Science, University of Toronto 2 Vector Institute for Artificial Intelligence 3 Department of Mechanical & Industrial Engineering, University of Toronto 4 Senior Fellow, Canadian Institute for Advanced Research (CIFAR)

A

SUPPLEMENTARY MATERIAL

A.1

TRANSFORMER BACKBONE ARCHITECTURE

This section provides implementation details for the Trans-IR backbone described in Section 4.3. Input Embedding. The input grid xt ∈ {0, . . . , 10}H×W (10 colors plus mask token) is embedded via a learnable (q) embedding table E ∈ R11×d , producing token embeddings of dimension d. The query input c = xin is embedded separately and concatenated channel-wise, doubling the embedding dimension to 2d before a linear projection back to d: h(0) = Win [E(xt )∥E(c)] + PE

(14)

where Win ∈ Rd×2d and PE denotes positional encodings. 2D Positional Encoding. We use 2D sinusoidal positional encodings to preserve grid topology. For position (i, j), we compute separate encodings for each spatial dimension and concatenate them: d/4

PE(i,j) = [sin(ωk i), cos(ωk i), sin(ωk j), cos(ωk j)]k=1

(15)

where ωk = 1/100004k/d . This produces a d-dimensional encoding that captures both row and column position independently. Context Conditioning. Rather than conditioning on the noise level σt directly, we condition on context embeddings derived from the input. The query input c is encoded via a small convolutional network followed by global average pooling: cctx = MLP(Pool(ConvNet(onehot(c)))) (k)

(16)

(k)

When context pairs (xin , xout ) are provided, they are similarly encoded and averaged, then added to the context embedding. Adaptive Layer Normalization (adaLN-Zero). Each transformer block is modulated by the context embedding via adaLN-Zero, which produces six modulation parameters: (γ1 , β1 , α1 , γ2 , β2 , α2 ) = MLP(cctx )

(17)

adaLN(h, γ, β) = γ ⊙ LayerNorm(h) + β

(18)

The modulation is applied as: where γ and β are broadcast over the sequence dimension. The α parameters scale the residual connections, initialized to zero for stable training.

Transformer Block.

Each transformer block consists of:

1. Self-attention: Multi-head attention with Flash Attention over all H × W tokens 2. Feed-forward: Two-layer MLP with GELU activation The forward pass for block ℓ with adaLN-Zero modulation is: h′ = h(ℓ) + α1 ⊙ Attn(adaLN(h(ℓ) , γ1 , β1 )) (ℓ+1)

h Output Projection.

= h + α2 ⊙ FFN(adaLN(h , γ2 , β2 ))

(19) (20)

The final hidden states are layer-normalized and projected to logits over the vocabulary: logits = LayerNorm(h(L) )Wout + bout ∈ RH×W ×11

(21)

Following SUBS parameterization, we set logits[MASK] = −∞ to prevent predicting the mask token. Model Configurations.

Table 3 lists the hyperparameters for our transformer backbone. Table 3: Transformer backbone configuration (∼1M parameters).

A.2

Hyperparameter

Value

Hidden dimension d Number of blocks L Attention heads Head dimension FFN expansion Context dimension

144 2 4 36 4× 144

CONVOLUTIONAL BACKBONE ARCHITECTURE

This section provides implementation details for the Conv-IR backbone described in Section 4.3. Input Encoding. The input grid xt and query input c are converted to one-hot representations and concatenated along the channel dimension, producing a tensor of shape (B, 2V, H, W ) where V = 10 is the vocabulary size. A convolutional layer projects this to the model channel dimension: h(0) = Conv3×3 ([onehot(xt )∥onehot(c)]) ∈ RB×C×H×W

(22)

Residual Block. Each residual block consists of two 3 × 3 convolutions with GroupNorm and SiLU activation, plus context injection: h1 = Conv3×3 (SiLU(GroupNorm(h)))

(23)

h2 = h1 + MLP(cctx )[:,:,None,None]

(24)

h′ = h + Conv3×3 (SiLU(GroupNorm(h2 )))

(25)

The context embedding cctx is broadcast spatially and added after the first convolution, allowing the model to modulate its behavior based on the task context. Context Conditioning. Context conditioning follows the same approach as the transformer backbone: a small convolutional network encodes the query input, and optional context pairs are encoded and averaged: K

cctx = MLP(Pool(ConvNet(onehot(c)))) +

1 X (k) (k) PairEnc(xin , xout ) K k=1

(26)

Table 4: Convolutional backbone configuration (∼1M parameters).

Output Projection.

Hyperparameter

Value

Model channels C Number of blocks L Context dimension GroupNorm groups

128 2 256 8

The final hidden states are normalized and projected to logits: logits = Conv3×3 (SiLU(GroupNorm(h(L) ))) ∈ RB×11×H×W

(27)

The output is permuted to (B, H · W, 11) for compatibility with the diffusion loss. Model Configurations. A.3

Table 4 lists the hyperparameters for our convolutional backbone.

TRAINING DETAILS

Optimizer. We use the Muon optimizer [Jordan et al., 2024], a variant of momentum SGD with Newton-Schulz orthogonalization applied to the momentum buffer. Muon has shown strong performance on transformer training with fewer hyperparameters to tune than Adam variants. Diffusion Sampling. At inference, we use 128 denoising steps with confidence-based token ordering [Kim et al., 2025], which unmasks tokens in order of prediction confidence margin. A.4

TRAINING CONFIGURATION

Table 5 summarizes the training hyperparameters used for all experiments. We train for a maximum of 60,000 steps with early stopping based on validation loss, using a patience of 30 validation checks (i.e., training stops if the validation loss does not improve for 30 consecutive checks). The large batch size of 1,100 is enabled by BF16 mixed-precision training, which reduces memory consumption while maintaining numerical stability. Table 5: Training hyperparameters. Hyperparameter Optimizer Learning rate Momentum Max steps Batch size Warmup steps Precision Gradient clipping Early stopping patience

A.5

Value Muon 2 × 10−4 0.95 60,000 1,100 1,000 BF16 mixed 1.0 30

LOSS VARIANTS

We train three model variants with different loss functions, all derived from the continuous-time MDLM objective. Let dσ/dt pθ (x | xt ) denote the model’s predicted distribution over tokens, σt the noise level, and wt = exp(σ the time-dependent t )−1 weight. Full Model.

The standard loss computes cross-entropy over all 10 colors at every position: Lfull = Et,xt [−wt · log pθ (x0 | xt )]

(28)

Occupancy Model. The occupancy loss uses binary cross-entropy between background (color 0) and foreground (colors 1–9). We first compute the foreground probability by summing over all non-background colors: pbg = pθ (x = 0 | xt ) pfg =

9 X

(29)

pθ (x = c | xt )

(30)

c=1

The binary target is y = 1[x0 > 0], and the loss is: Locc = Et,xt [−wt · log pθ (y | xt )]

(31)

where pθ (y | xt ) = pfg if y = 1 else pbg . Color Model.

The color loss computes cross-entropy only at foreground positions, masking out background pixels: Lcolor = Et,xt [−wt · log pθ (x0 | xt ) · 1[x0 > 0]]

(32)

This trains the model to predict colors only where objects exist, ignoring the background entirely. Per-Expert Calibration. The occupancy and colour specialists are trained on disjoint label subspaces, so their raw confidence margins are not directly comparable across tokens outside each expert’s objective. We therefore allow a fixed per-expert temperature Tm before routing, i.e., logits or log-probabilities are divided by Tm before computing the confidence score in Equation (11). We consider this calibration a property of how each expert is prepared, and the routing temperatures used for the reported per-pixel results are: Table 6: Per-expert routing temperatures for FactorDiff maximum selection. T = 1.0 means no calibration; T < 1 sharpens the expert’s confidence margins before routing.

A.6

Expert pair

Expert 1 temperature

Expert 2 temperature

Full + Full Occ + Full Col + Occ

Full: 1.0 Occ: 1.0 Col: 1.0

Full: 1.0 Full: 1.0 Occ: 0.25

MAJORITY-VOTING BASELINE

Per-pixel routing executes the K forward passes per denoising step that any composition method already requires (one per expert); the routing layer itself adds only a top-2 sort over the vocabulary and an arg-max over the K confidences, both negligible beside a single transformer forward pass. We therefore take K passes as the floor and report the overhead of alternatives in Table 7. To verify that the improvement comes from routing rather than from extra compute, Table 8 compares per-pixel max against majority-voting (where we resampling a single expert N =3 times and take the majority-vote output for each pixel) on a 1,200-sample validation subset (10 queries × 120 tasks). Majority-voting plateaus near each expert’s deterministic ceiling (< 0.5 points even at 3× compute), since additional samples only reduce sampling noise within one architecture; per-pixel max gains +6.3 points over the strongest single expert at strictly lower total compute, by exploiting the complementary mistakes of two architectures. Table 7: Forward passes per denoising step for K=2 experts. Per-pixel routing adds only negligible bookkeeping (ϵ) above the per-expert floor. Method (K=2 experts) Per-pixel max (ours) Majority-voting, one expert (N =3) Cross-expert majority vote (N =3 each) Particle correctors (dFKC, M =8)

Fwd / step

Rel. to floor

2+ϵ 3 6 16

1× (floor) 1.5× 3× 8×

Table 8: Per-pixel max vs. Majority-voting (Full+Full, 1,200 samples). Resampling a single expert cannot close the gap that routing between complementary architectures opens. Method Trans-IR alone Conv-IR alone Trans-IR majority-voting (N =3) Conv-IR majority-voting (N =3) Per-pixel max (ours)

A.7

Compute

Exact (%)

1× 1× 3× 3× 2×

89.2 85.8 89.5 86.0 95.5

TRAINING TASK SAMPLES

We train on 120 tasks from the in-distribution subset of ARC-AGI-1, for which the RE-ARC generator [Hodel, 2024] provides programmatic augmentation. Figure 7 shows representative input-output examples produced by these task generators. Each pair displays the input grid (top) and target output grid (bottom), with the task ID labelled above. The diversity of transformations includes pattern completion, object manipulation, symmetry operations, and colour-based rules. All main paper results are evaluated on RE-ARC–generated held-out examples from these same 120 tasks (IID evaluation), not the official ARC-AGI-1 evaluation set.

00d62c1b

025d127b

05269061

05f2a901

08ed6ac7

0ca9ddb6

150deff5

178fcbfb

1b60fb0c

1bfc4729

1f0c79e5

1f642eb9

1f876c06

2204b7a8

22168020

22233c11

2281f1f4

228f6490

22eb0ac0

23581191

253bf280

25d487eb

2bcee788

2bee17df

Figure 7: Training task samples (page 1 of 5). Each cell shows an input-output pair from the RE-ARC generator, with task ID labelled above.

2c608aff

31aa019c

3345333e

3906de3d

3aa6fb7a

4347f46a

444801d8

54d82841

5521c0d9

56ff96f3

5c0a986e

63613498

694f12f3

6c434453

6cf79266

6d75e8bb

6e19193c

6e82a1ae

810b9b61

82819916

85c4e7cd

88a10436

8f2ea7aa

90f3ed37

Figure 8: Training task samples (page 2 of 5).

913fb3ed

91714a58

93b581b8

952a094c

95990924

97999447

98cf29f8

99fa7670

a1570a43

a2fd1cf0

a48eeaf7

a5313dff

a5f85a15

a61f2674

a65b410d

a699fb00

a78176bb

a79310a0

aabf363d

aba27056

ae3edfdc

aedd82e4

af902bf9

b1948b0a

Figure 9: Training task samples (page 3 of 5).

b230c067

b27ca6d3

b2862040

b527c5c6

b548a754

b60334d2

b6afb2da

b7249182

b782dc8a

ba97ae07

bb43febb

bda2d7a6

bdad9b1f

beb8660c

c0f76784

c9f8e694

ce22a75a

ce9e57f2

d22278a0

d2abd087

d364b489

d43fd935

d4a91cb9

d4f3cd78

Figure 10: Training task samples (page 4 of 5).

d5d6de2d

d6ad076f

d89b689b

d90796e8

d9f24cd1

db3e9e38

db93a21d

dbc1a6ce

dc1df850

ddf7fa4f

ded97339

e40b9e2f

e48d4e1a

e5062a87

e509e548

e76a88a6

e9614598

ea32f347

ec883f72

ecdecbb3

ef135b50

f15e1fac

f8c80d96

fcc82909

Figure 11: Training task samples (page 5 of 5).

Record · ID 363244 · SHA-256 3e7c70539951b57f
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.