arXiv Science⌕ Search

arXiv subjects

Vikhyath Kothamasu

Publications and source records attributed to Vikhyath Kothamasu.

2 recordsLinked to original sources

Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models

Diffusion models have become the industry standard for image and video generation, with properties such as parallel decoding and bidirectional context distinguishing them from classical autoregressive alternatives. Diffusion language models (DLMs) bring the same principles to text, and recent models are competitive with autoregressive ones on code and mathematical reasoning. Sparse mixture-of-experts (MoE) variants such as the LLaDA series make these models more practical, offering large-model quality at a fraction of the per-token compute. On memory-constrained GPUs such as 12 GB consumer cards, however, the ~32 GB of expert weights do not fit, and each of the dozens of denoising steps reloads them from host memory. Weight transfer, not compute, then dominates generation time. We identify two properties of iterative denoising that make most of this cost avoidable: between consecutive steps, per-token hidden states barely change (cosine similarity 0.97), and each layer routes to nearly the same set of experts (Jaccard overlap 0.94-0.97). We exploit this temporal locality with three mechanisms: per-expert output caching that skips unchanged tokens, temporal weight prefetching driven by previous-step routing, and a CPU SwiGLU fallback for misses. Across two LLaDA-mini models, two GPU architectures (L40S and A6000), and seven benchmarks, the combined system is a median 9x faster end-to-end than HF Accelerate at a 12 GB budget, with task accuracy preserved within run-to-run variance.

cs.LG↗

Hidden in Plain Sight: Benchmarking Agent Safety Against Decomposition Attacks with DECOMPBENCH

LLM-based Agents are becoming increasingly capable and widely deployed, creating growing incentives for adversarial misuse in the real-world. A key emerging threat is Decomposition Attacks \cite{glukhov2024breach, jones2024adversaries} in which a harmful task is broken into simpler, benign subtasks that evade safety mechanisms when executed separately but cumulatively fulfill the malicious intent. Although recent benchmarks assess agent safety in multi-turn and multi-tool-use settings, they do not explicitly capture this form of decompositional misuse and may not represent realistic adversarial execution flows. To this end, we introduce DeCompBench, a benchmark designed specifically to evaluate agentic safety under decomposition attacks. DeCompBench is created with a decomposition-by-design principle using a graphical framework and enables harmful task decomposition into individually benign and executable subtasks with realistic workflows. Our experiments using a custom decomposer show that state-of-the-art agents exhibit high refusal rates on monolithic harmful tasks, but significantly lower refusal rates on their decomposed variants, while often inadvertently fulfilling the adversarial objectives. These findings underscore the need for safety evaluations against decomposition attacks and corresponding defenses. Our dataset is publicly available and can be found at https://huggingface.co/datasets/decompositionbench/DeCompBench.

cs.CR↗