Papers
Topics
Authors
Recent
Search
2000 character limit reached

Heterogeneous Step Allocation (HSA) Overview

Updated 5 July 2026
  • 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 G1,,GKG_1,\dots,G_K with different denoising budgets sks_k. In heterogeneous computing, the units are pricing tasks whose Monte Carlo paths are split across platforms through fractions ai,pa_{i,p}. 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 GkG_k with budgets sks_k Modular activation, KV-cache synchronization, cached Euler update
Heterogeneous computing Task fractions ai,pa_{i,p} and binaries bi,pb_{i,p} MILP minimizing makespan ZZ
Multi-agent planning Step schedules tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k 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 S={1,,N}S=\{1,\dots,N\} is partitioned into disjoint groups sks_k0, each group receives a step budget sks_k1, and each sks_k2 divides the total number of diffusion steps sks_k3. The baseline group satisfies sks_k4. The effective average step count per token is

sks_k5

so the ideal speedup relative to the uniform baseline is sks_k6 (Chu et al., 7 May 2026).

The active-set rule is modular. At global iteration sks_k7, group sks_k8 is active if and only if sks_k9, giving

ai,pa_{i,p}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 ai,pa_{i,p}1 over latents ai,pa_{i,p}2, and the uniform baseline uses the Euler reverse integrator

ai,pa_{i,p}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,

ai,pa_{i,p}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 ai,pa_{i,p}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 ai,pa_{i,p}6, cached keys and values ai,pa_{i,p}7 and ai,pa_{i,p}8 are maintained over the full sequence. At iteration ai,pa_{i,p}9, fresh GkG_k0 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:

GkG_k1

This reduces per-step attention complexity from GkG_k2 to GkG_k3, because only GkG_k4 queries attend to GkG_k5 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 GkG_k6 stores a cached velocity GkG_k7 from its last active iteration. HSA then advances all tokens with a unified Euler step,

GkG_k8

where GkG_k9 if sks_k0, and sks_k1 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 sks_k2 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 sks_k3, with margin sks_k4, then the first sks_k5 and last sks_k6 steps use full computation for all tokens, while heterogeneous activation is applied only to the middle interval. The local truncation error of Euler is sks_k7, 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 sks_k8. Since sks_k9 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 ai,pa_{i,p}0 tokens at ai,pa_{i,p}1 steps, ai,pa_{i,p}2 at ai,pa_{i,p}3 steps, and ai,pa_{i,p}4 at ai,pa_{i,p}5 steps; HSA-75B with ai,pa_{i,p}6 at ai,pa_{i,p}7 steps and ai,pa_{i,p}8 at ai,pa_{i,p}9 steps; HSA-50 with bi,pb_{i,p}0 at bi,pb_{i,p}1 steps and bi,pb_{i,p}2 at bi,pb_{i,p}3 steps; and HSA-25 with bi,pb_{i,p}4 at bi,pb_{i,p}5 steps and bi,pb_{i,p}6 at bi,pb_{i,p}7 steps. The more aggressive presets use a larger central caching window and, at bi,pb_{i,p}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 bi,pb_{i,p}9 runtime, HSA-75A reports ZZ0 VBench and HSA-75B ZZ1, versus ZZ2 for FM(ZZ3) and ZZ4 for TC(ZZ5). The distortion metrics relative to FM(ZZ6) are markedly better for HSA-75A/B, with PSNR approximately ZZ7 and ZZ8, and LPIPS approximately ZZ9–tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k0, compared with PSNR tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k1 and LPIPS tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k2 for FM(tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k3). At tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k4 runtime, HSA-50 reports tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k5 versus tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k6 for both FM(tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k7) and TC(tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k8), with PSNR tik+1=tik+Δtik+wikt_i^{k+1}=t_i^k+\Delta t_i^k+w_i^k9 versus S={1,,N}S=\{1,\dots,N\}0 and LPIPS S={1,,N}S=\{1,\dots,N\}1 versus S={1,,N}S=\{1,\dots,N\}2. At S={1,,N}S=\{1,\dots,N\}3 runtime, HSA-25 reports S={1,,N}S=\{1,\dots,N\}4 versus S={1,,N}S=\{1,\dots,N\}5 for FM(S={1,,N}S=\{1,\dots,N\}6) and S={1,,N}S=\{1,\dots,N\}7 for TC(S={1,,N}S=\{1,\dots,N\}8); LPIPS is comparable at approximately S={1,,N}S=\{1,\dots,N\}9–sks_k00, 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 sks_k01 runtime, HSA-75A/B report VBench-I2V of approximately sks_k02–sks_k03, PSNR approximately sks_k04, and LPIPS approximately sks_k05, compared with PSNR sks_k06 and LPIPS sks_k07 for FM(sks_k08). At sks_k09 runtime, HSA-50 reports PSNR sks_k10 and LPIPS sks_k11, versus sks_k12 and sks_k13 for FM(sks_k14). Qualitative results on Wan-2.2-A14B and LTX-2 are reported to preserve image alignment, structure, and motion fidelity better than FM(sks_k15) at sks_k16 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 sks_k17 and sks_k18 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 sks_k19 and sks_k20.

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 sks_k21, platforms by sks_k22, and the relaxed HSA variable sks_k23 denotes the fraction of task sks_k24’s Monte Carlo paths executed on platform sks_k25, with sks_k26. To account for fixed setup and communication overheads once per task–platform pair, binary variables sks_k27 are introduced with sks_k28. The platform completion time is

sks_k29

and makespan minimization is expressed through the standard auxiliary variable sks_k30 (Inggs et al., 2015).

The model is built from two domain metrics. Latency is linear in the number of Monte Carlo paths,

sks_k31

while the sks_k32 confidence interval width obeys

sks_k33

For a required accuracy sks_k34, the number of paths is

sks_k35

and substitution yields the latency–accuracy model

sks_k36

with sks_k37. The allocator therefore optimizes latency directly as a function of accuracy.

The empirical setting contains sks_k38 option-pricing tasks drawn from Black–Scholes and Heston underlyings and a heterogeneous pool of sks_k39 platforms comprising multicore CPUs, GPUs, and FPGAs. Model calibration uses online micro-benchmarking and weighted least squares for sks_k40 and sks_k41, while sks_k42 is estimated from initial Monte Carlo samples. Across the sks_k43-task, sks_k44-platform workload, latency and accuracy predictions are generally within about sks_k45 of runtime observations. When these models are used by the metaheuristic allocator and the MILP allocator, reported makespan improvements reach up to sks_k46 and sks_k47, respectively, relative to the proportional heuristic.

Within this formulation, HSA is not simple load balancing. The split variable sks_k48 captures proportional work, the binary sks_k49 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 sks_k50 evolves under agent-specific dynamics

sks_k51

with heterogeneity arising from different models such as double integrator, unicycle, and bicycle; different bounds such as sks_k52, sks_k53, sks_k54, and sks_k55; different convex polygon footprints sks_k56; and different onboard compute times sks_k57 and waiting times sks_k58. The asynchronous step schedule is

sks_k59

with the design condition sks_k60.

Safety is enforced through pairwise time-stamped half-spaces,

sks_k61

assembled into the time-stamped allocation

sks_k62

The pairwise half-spaces satisfy sks_k63 and sks_k64, hence sks_k65. The derivable time-stamped space for agent sks_k66 is the intersection over current neighbors,

sks_k67

The key asynchronous mechanism is the renewal update. When one agent finishes replanning and a neighbor is in its waiting window, a renewal sks_k68 is computed and only the future portion of the pairwise allocation is replaced: sks_k69 By freezing the allocation before sks_k70, 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 sks_k71 for all agents, then the pairwise update frequency satisfies

sks_k72

Reported results include an sks_k73-agent heterogeneous crossing task in a sks_k74 m diameter circle, with minimum inter-agent distance approximately sks_k75 m for sks_k76 m and completion within sks_k77 s. In the sks_k78-agent antipodal comparison against Ego-swarm, IMPC-DR, DMPC, LSC, and MADER, the proposed asynchronous method reports moving time sks_k79 s min/max, replanning runtime sks_k80 ms min/max, and transition length sks_k81 m min/max. Hardware experiments with sks_k82 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 sks_k83 and sks_k84 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 sks_k85, 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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Heterogeneous Step Allocation (HSA).