Heterogeneous Step Allocation (HSA) Overview
- HSA is a nonuniform allocation framework that assigns different step budgets, update frequencies, or work fractions based on token dynamics or task demands.
- In diffusion transformers, HSA tailors denoising steps per token using dynamic selection and KV-cache synchronization to balance quality and runtime.
- HSA is also applied in heterogeneous computing and multi-agent planning, optimizing resource allocation and ensuring safety via explicit synchronization mechanisms.
Searching arXiv for papers relevant to “Heterogeneous Step Allocation (HSA)” and closely related constructs. Heterogeneous Step Allocation (HSA) denotes a class of nonuniform allocation schemes in which different computational or planning entities receive different step budgets, update frequencies, or work fractions rather than being processed under a uniform schedule. In its explicit contemporary usage, HSA is a training-free inference algorithm for Diffusion Transformers (DiTs) that assigns different denoising step counts to different spatiotemporal tokens according to their velocity dynamics. Closely related formulations appear in heterogeneous computing, where Monte Carlo work is fractionally split across CPUs, GPUs, and FPGAs under latency–accuracy models, and in heterogeneous multi-agent planning, where asynchronous spatial-temporal allocation assigns agent-specific replanning schedules and pairwise safe regions without a global clock (Chu et al., 7 May 2026, Inggs et al., 2015, Chen et al., 2023).
1. Conceptual structure
Taken together, the cited formulations indicate a recurring structure: a workload is partitioned into heterogeneous units; each unit is assigned a nonuniform update or execution budget; and the resulting mismatch in timing or workload granularity is repaired by an explicit synchronization mechanism. In DiT inference, the units are spatiotemporal tokens grouped into sets with different denoising budgets . In heterogeneous computing, the units are pricing tasks whose Monte Carlo paths are split across platforms through fractions . In asynchronous multi-agent planning, the units are agent-specific replanning steps and pairwise time-stamped half-space renewals.
| Setting | Allocated object | Coordination mechanism |
|---|---|---|
| DiT video generation | Token groups with budgets | Modular activation, KV-cache synchronization, cached Euler update |
| Heterogeneous computing | Task fractions and binaries | MILP minimizing makespan |
| Multi-agent planning | Step schedules and TSHS renewals | Asynchronous spatial-temporal allocation |
A useful distinction follows from the sources. In (Chu et al., 7 May 2026), HSA is the name of a specific algorithm. In (Inggs et al., 2015) and (Chen et al., 2023), the term is used interpretively: the underlying methods realize the same broad idea of heterogeneous allocation, but under different domain objectives and constraints.
2. HSA in Diffusion Transformers
In video generation with DiTs, standard inference applies the same number of reverse denoising steps to every token. HSA replaces this uniform policy with a grouped budget allocation. The token sequence is partitioned into disjoint groups 0, each group receives a step budget 1, and each 2 divides the total number of diffusion steps 3. The baseline group satisfies 4. The effective average step count per token is
5
so the ideal speedup relative to the uniform baseline is 6 (Chu et al., 7 May 2026).
The active-set rule is modular. At global iteration 7, group 8 is active if and only if 9, giving
0
This preserves aligned scheduling across groups despite heterogeneous budgets. The construction is defined on top of flow matching, where the DiT predicts a continuous velocity field 1 over latents 2, and the uniform baseline uses the Euler reverse integrator
3
Budget assignment is driven by token velocity dynamics observed online. During an initial bootstrap phase, the method computes each token’s relative velocity change,
4
averages this quantity over several early steps, and uses the result to rank tokens. Tokens with smaller average relative change are assigned to lower-budget groups, while tokens with larger change remain in higher-budget groups up to the full baseline. Group sizes are chosen to meet a runtime target, and membership is determined per sample.
HSA applies to both text-to-video and image-to-video generation. The method is explicitly described as training-free and model-agnostic, and it uses the same 5 schedule as the pretrained model.
3. Synchronization, caching, and numerical update
Nonuniform activation creates an immediate systems problem: at a given iteration, only a subset of tokens is active, but active tokens still require global context. HSA resolves this through KV-cache synchronization. For each transformer block 6, cached keys and values 7 and 8 are maintained over the full sequence. At iteration 9, fresh 0 are computed only for active tokens, the cache is updated at active indices, and attention is evaluated only for active queries against the full cached key–value state:
1
This reduces per-step attention complexity from 2 to 3, because only 4 queries attend to 5 keys while inactive tokens skip query projection, attention, and feed-forward computation (Chu et al., 7 May 2026).
A second mechanism handles skipped latent updates. Each token 6 stores a cached velocity 7 from its last active iteration. HSA then advances all tokens with a unified Euler step,
8
where 9 if 0, and 1 otherwise. For skipped tokens, repeated application telescopes to a single Euler step from the last active noise level with constant velocity. The paper emphasizes that this is a single tensor operation across all 2 tokens and is therefore GPU-friendly.
Because Q/K/V features and velocities exhibit higher relative change early and late in denoising, HSA restricts caching to a central window. If the central caching fraction is 3, with margin 4, then the first 5 and last 6 steps use full computation for all tokens, while heterogeneous activation is applied only to the middle interval. The local truncation error of Euler is 7, so this phase-aware design shields structure formation and detail refinement from excessive cache staleness.
The implementation further reorders tokens so non-baseline tokens precede the always-active baseline 8. Since 9 is refreshed every iteration, only the non-baseline prefix requires persistent KV storage.
4. Presets, empirical behavior, and quality–runtime trade-offs
The reported presets are tied to runtime targets. For text-to-video and image-to-video, the paper uses the following examples: HSA-75A with 0 tokens at 1 steps, 2 at 3 steps, and 4 at 5 steps; HSA-75B with 6 at 7 steps and 8 at 9 steps; HSA-50 with 0 at 1 steps and 2 at 3 steps; and HSA-25 with 4 at 5 steps and 6 at 7 steps. The more aggressive presets use a larger central caching window and, at 8 runtime, random allocation because there are insufficient early steps to bootstrap token dynamics (Chu et al., 7 May 2026).
On Wan-2.1-1.3B text-to-video, HSA improves the quality-runtime Pareto frontier over uniform Flow Matching and TeaCache, especially at aggressive acceleration. At 9 runtime, HSA-75A reports 0 VBench and HSA-75B 1, versus 2 for FM(3) and 4 for TC(5). The distortion metrics relative to FM(6) are markedly better for HSA-75A/B, with PSNR approximately 7 and 8, and LPIPS approximately 9–0, compared with PSNR 1 and LPIPS 2 for FM(3). At 4 runtime, HSA-50 reports 5 versus 6 for both FM(7) and TC(8), with PSNR 9 versus 0 and LPIPS 1 versus 2. At 3 runtime, HSA-25 reports 4 versus 5 for FM(6) and 7 for TC(8); LPIPS is comparable at approximately 9–00, but VBench remains higher.
On Wan-2.1-1.3B image-to-video, HSA remains competitive within the narrow quality band imposed by the input image and preserves the reference trajectory more effectively than uniform Flow Matching at the same runtime. At 01 runtime, HSA-75A/B report VBench-I2V of approximately 02–03, PSNR approximately 04, and LPIPS approximately 05, compared with PSNR 06 and LPIPS 07 for FM(08). At 09 runtime, HSA-50 reports PSNR 10 and LPIPS 11, versus 12 and 13 for FM(14). Qualitative results on Wan-2.2-A14B and LTX-2 are reported to preserve image alignment, structure, and motion fidelity better than FM(15) at 16 runtime.
Ablation studies attribute the gains primarily to dynamic token selection and the phase-aware cache window. Dynamic selection outperforms Uniform, Random, and Random-with-first-frame reservation at approximately 17 and 18 runtimes. Per-dimension VBench radar plots show that HSA tracks the full-budget reference across all sixteen dimensions more closely than the baselines, particularly when runtime is reduced to 19 and 20.
5. HSA as fractional work allocation in heterogeneous computing
A domain-specific heterogeneous computing formulation realizes HSA by splitting Monte Carlo work across distributed CPUs, GPUs, and FPGAs. Tasks are indexed by 21, platforms by 22, and the relaxed HSA variable 23 denotes the fraction of task 24’s Monte Carlo paths executed on platform 25, with 26. To account for fixed setup and communication overheads once per task–platform pair, binary variables 27 are introduced with 28. The platform completion time is
29
and makespan minimization is expressed through the standard auxiliary variable 30 (Inggs et al., 2015).
The model is built from two domain metrics. Latency is linear in the number of Monte Carlo paths,
31
while the 32 confidence interval width obeys
33
For a required accuracy 34, the number of paths is
35
and substitution yields the latency–accuracy model
36
with 37. The allocator therefore optimizes latency directly as a function of accuracy.
The empirical setting contains 38 option-pricing tasks drawn from Black–Scholes and Heston underlyings and a heterogeneous pool of 39 platforms comprising multicore CPUs, GPUs, and FPGAs. Model calibration uses online micro-benchmarking and weighted least squares for 40 and 41, while 42 is estimated from initial Monte Carlo samples. Across the 43-task, 44-platform workload, latency and accuracy predictions are generally within about 45 of runtime observations. When these models are used by the metaheuristic allocator and the MILP allocator, reported makespan improvements reach up to 46 and 47, respectively, relative to the proportional heuristic.
Within this formulation, HSA is not simple load balancing. The split variable 48 captures proportional work, the binary 49 isolates one-time per-platform overheads, and the combined model exposes when redundant setup costs dominate and therefore when a naive proportional split becomes poor.
6. HSA as asynchronous step scheduling in heterogeneous multi-agent systems
In heterogeneous multi-agent trajectory planning, the paper does not introduce the term Heterogeneous Step Allocation. Its central mechanism is Asynchronous Spatial-Temporal Allocation (ASTA). The provided concept mapping identifies ASTA as a concrete realization of HSA because it allocates heterogeneous replanning steps and pairwise spatiotemporal safe regions across agents with different dynamics, compute times, and waiting times (Chen et al., 2023).
Each agent 50 evolves under agent-specific dynamics
51
with heterogeneity arising from different models such as double integrator, unicycle, and bicycle; different bounds such as 52, 53, 54, and 55; different convex polygon footprints 56; and different onboard compute times 57 and waiting times 58. The asynchronous step schedule is
59
with the design condition 60.
Safety is enforced through pairwise time-stamped half-spaces,
61
assembled into the time-stamped allocation
62
The pairwise half-spaces satisfy 63 and 64, hence 65. The derivable time-stamped space for agent 66 is the intersection over current neighbors,
67
The key asynchronous mechanism is the renewal update. When one agent finishes replanning and a neighbor is in its waiting window, a renewal 68 is computed and only the future portion of the pairwise allocation is replaced: 69 By freezing the allocation before 70, the method preserves safety even if neighboring agents temporarily use different allocation versions.
The paper states two formal guarantees. The safety theorem shows that, given collision-free initialization and adherence to the current allocations, inter-agent collisions are avoided for all future time. The update-frequency theorem states that if 71 for all agents, then the pairwise update frequency satisfies
72
Reported results include an 73-agent heterogeneous crossing task in a 74 m diameter circle, with minimum inter-agent distance approximately 75 m for 76 m and completion within 77 s. In the 78-agent antipodal comparison against Ego-swarm, IMPC-DR, DMPC, LSC, and MADER, the proposed asynchronous method reports moving time 79 s min/max, replanning runtime 80 ms min/max, and transition length 81 m min/max. Hardware experiments with 82 heterogeneous UGVs, onboard Raspberry Pi 4B computation, WiFi/ROS communication, and low-level MPC tracking report no collisions in a cluttered arena and safe behavior at an unsignalized intersection.
7. Distinctions, limitations, and future directions
The available literature suggests that HSA is best treated as a family of nonuniform allocation mechanisms rather than as a single standardized formalism. The explicit name refers to token-level denoising allocation in DiTs, whereas the heterogeneous computing and multi-agent papers instantiate analogous structures under different mathematical objects and objectives (Chu et al., 7 May 2026, Inggs et al., 2015, Chen et al., 2023).
Several distinctions are technically important. In DiTs, HSA is training-free and avoids expensive offline profiling, but its speedup diminishes in rare cases of globally high motion or complex scenes where most tokens exhibit high velocity. Practical gains can also be limited if KV caches must be offloaded to CPU on constrained hardware. In heterogeneous computing, the main formulation assumes independent tasks and sequential execution per platform; communication overlaps, batching effects, and concurrent task execution are not explicitly modeled, although the details note that such effects can be approximated by adjusted 83 and 84 or by additional constraints. In ASTA, safety proofs do not model communication delays or packet loss, and feasibility of the trajectory optimization problem is not guaranteed; when infeasible, the agent holds the previous trajectory.
The future directions stated in the sources remain domain-specific. For video generation, proposed extensions include learning or optimizing the budget mapping function 85, adaptive per-iteration budget reallocation, richer dynamics estimators such as velocity curvature or second-order terms, and joint optimization with other caching axes while preserving full-context attention. For multi-agent planning, proposed extensions include robust treatment of delays, slack or penalty structures for recursive feasibility, scaling mechanisms for denser neighborhoods, 3D and aerial robots, dynamic obstacles, and asynchronous distributed optimization such as ADMM layered under the same allocations. For heterogeneous computing, the generalizable guidance is to define domain metrics, derive simple predictive models linking algorithmic knobs to those metrics, calibrate coefficients online, and encode the resulting allocation as ILP or MILP with explicit variables for fractional work and overhead activation.
In all three settings, the central technical idea is the same: heterogeneous systems need not spend the same number of steps, updates, or execution fractions on every unit of work. The formal contribution of HSA-style methods is to make that asymmetry explicit, model it quantitatively, and preserve correctness or quality through a synchronization mechanism appropriate to the domain.