arXiv:2611.02601cs.AINov 2026

Manuscript Offprint

arXiv:2611.02601

Parallelism-Aligned Pruning and Round-Aware Context Reuse for On-Device Multimodal Agents

Peipei Jiao, Mingkang Liu, Weiming Meng, Lichen Pang, Tianyuan Liu, Junyan Li

ABSTRACT

On-device multimodal agents are limited by two deployment mismatches: pretrained attention structures may not divide evenly across the compute cores of an edge accelerator, causing irregular partitions; and standard prefix caching keeps historical visual tokens in the persistent KV cache, whose capacity grows with the number of rounds. We present PARC, which combines parallelism-aligned structured pruning with lifetime-aware KV-cache reorganization. At the model level, it uses first-order Taylor importance and grouped-query-attention-aware selection to make attention dimensions divisible by the target core count while preserving the query-to-key/value ratio and head dimension. At runtime, it separates the system prompt, persistent text history, and transient visual observations by lifetime, updating text history during tool execution so that historical images leave the persistent cache and more interaction rounds fit a fixed budget. On 2,062 GUI actions, the incremental interface shows no accuracy regression, and task-aware recovery training restores 98.7% of the action-type accuracy gap and the coordinate hit rate to the original level. Under seven-core deployment, hardware-aligned pruning reduces vision-encoder latency by 11.4%, improves decoding throughput by 23.8%, and lowers per-heap high-water memory by 12.7%; a parameter-matched control confirms that the speedup stems mainly from core alignment rather than parameter reduction.

Keywords on-device inference · multimodal agents · structured pruning · neural processing unit · KV cache · incremental prefill

1 Introduction

Vision-language models are evolving from static visual question answering into interactive agents that perceive an environment, generate structured actions, invoke tools, and respond to new observations, as in embodied navigation, mobile automation, and multi-round visual dialogue. Compared with offline inference, such applications jointly require low time to first token (TTFT), high decoding throughput, accurate spatial grounding, and bounded device memory.

Two mismatches limit on-device efficiency. First, general-purpose architectures are not necessarily aligned with the parallel resources of an edge accelerator: when a compiler partitions attention heads across compute cores, a non-divisible dimension creates uneven shards, and the slowest shard determines the synchronization latency. Second, standard prefix caching treats the prefix as a contiguous sequence, so historical visual observations either keep consuming persistent cache capacity or, once removed, break direct reuse of the following text state; the KV-cache pressure thus grows with the number of rounds.

Existing pruning methods optimize parameter count or FLOPs and rarely treat the discrete core count as a structural constraint, while KV-cache research focuses on prefix reuse, eviction, or capacity rather than the differing lifetimes of prompts, text history, and images in tool-using agents. We therefore propose PARC (Parallelism-Aligned Pruning and Round-Aware Context Reuse), illustrated in Fig. 1.

The contributions of this work are threefold:

Figure

Figure 1: Overview of PARC. Model dimensions are aligned with available cores, while fixed prompts and round-specific inputs are managed according to their lifetimes.

  • We formulate grouped-query-attention (GQA)-aware head pruning under a hardware parallelism constraint, preserving the GQA ratio, per-head dimension, and rotary-position compatibility while producing more regular partition candidates and reducing the risk of uneven shards or local serialization.

  • We introduce a round-aware inference schedule that separates persistent text from transient images and commits new text history during tool execution, thereby reorganizing KV-cache state by context lifetime, reducing persistent visual-token occupancy, and extending the feasible interaction length under a fixed cache budget.

  • We conduct deployment experiments on a seven-core edge NPU and systematically evaluate direct pruning, recovery training, and multi-round incremental inference on 2,062 GUI actions, using accuracy and device measurements to quantify effects on visual encoding, context prefill, autoregressive decoding, and memory usage.