arXiv Science⌕ Search

arXiv subjects

Xinyao Rao

Publications and source records attributed to Xinyao Rao.

2 recordsLinked to original sources

Spark-H3: Adaptive Block Sparse Attention for Video Diffusion Models

Long video sequences make attention a substantial cost in video diffusion models. Block sparse attention (BSA) reduces this cost by computing selected blocks exactly while compressing the remaining blocks. However, fixed token grouping can place tokens with dissimilar attention preferences in the same group, while uniform key averaging can underestimate the attention mass of compressed blocks. We introduce Spark-Attn, a training-free BSA method comprising Spark-Reblock and Spark-Reweight. Spark-Reblock recursively groups tokens by attention preference while preserving regular block shapes for efficient GPU execution. Spark-Reweight uses the global mean query as an anchor to construct attention-weighted key-value representations and logit biases for the compressed blocks, calibrating their attention mass. We instantiate Spark-Attn in MiniMax-H3 as Spark-H3. At 10% exact-block density, Spark-H3 delivers a 2.49$\times$ DiT speedup and reaches 24.81 dB PSNR against the corresponding dense outputs on MiniMax-H3 (20 denoising steps, 345 frames, 1344$\times$768). Increasing the density to 20% further improves PSNR to 26.76 dB while still achieving a 2.26$\times$ DiT speedup. These results demonstrate that Spark-H3 achieves a state-of-the-art quality-efficiency trade-off for training-free BSA on video diffusion models.

cs.CV↗

Robust Recovery of Sparse Support in Constrained Group Testing

In the early stage of a pandemic, rapidly identifying a small number of infected individuals through large-scale screening is critical for pandemic control. Group testing has been widely used to improve testing efficiency and numerous studies have investigated the problem under noisy measurements, typically modeled as bit-flipping of test outcomes. However, these methods do not consider the constraints imposed by dilution, pool size, and the limit of detection (LOD), which can lead to false negatives when the viral load in a pool falls below the LOD. In addition, liquid dispensing errors, common in laboratory settings, affects diluted viral loads in a nonlinear manner. In this work, we introduce a novel measurement model that characterizes the process of sample pooling and dilution, incorporating LOD-induced binary quantization as well as liquid dispensing errors. For the case with known sparsity level, we propose a low-complexity decoding algorithm and provide theoretical guarantees for exact support recovery under both noiseless and noisy settings. For the case with unknown sparsity level, we develop a blind support recovery algorithm, along with a heuristic variant to enhance robustness, which can achieve exact support recovery with only O(klogn) measurements. Extensive simulations show that the proposed algorithms outperform existing combinatorial group testing algorithms, validating the effectiveness, efficiency and robustness in large-scale screening.

eess.SP↗