arXiv:2601.02437cs.CVcs.AI2026-01被引 1

无需本地数据即可为不同设备定制剪枝的视觉变换模型部署方案

TAP-ViTs: Task-Adaptive Pruning for On-Device Deployment of Vision Transformers

  • 通过高斯混合模型提取设备数据分布特征,仅上传参数保护隐私
  • 在多个数据集上压缩比相同时,性能优于现有最佳剪枝方法
  • 适合移动端和边缘设备的个性化模型轻量化,兼顾隐私与效率

视觉变换模型(ViTs)在多种视觉任务中表现优异,但其巨大的计算与内存开销限制了在资源受限的移动和边缘设备上的高效部署。剪枝成为降低ViT复杂度的有前景方向。然而,现有方法或生成单一剪枝模型适用于所有设备,忽略设备异构性;或依赖设备本地数据微调,因资源有限和隐私约束难以实现。为此,本文提出TAP-ViTs,一种无需访问原始本地数据的设备定制化剪枝框架。具体地,为在隐私约束下推断设备级任务特征,我们提出基于高斯混合模型(GMM)的度量数据集构建机制:每个设备用轻量GMM拟合其私有数据分布,并仅上传GMM参数;云端据此从公开数据中选取分布一致样本,构建各设备的任务代表性度量数据集。基于该代理数据集,进一步设计双粒度重要性评估剪枝策略,联合衡量复合神经元重要性与自适应层重要性,实现细粒度、任务感知的剪枝,适配各设备计算预算。在多个ViT主干网络和数据集上的大量实验表明,TAP-ViTs在相近压缩比下持续优于当前最优剪枝方法。

原文摘要 · Abstract (English)

Vision Transformers (ViTs) have demonstrated strong performance across a wide range of vision tasks, yet their substantial computational and memory demands hinder efficient deployment on resource-constrained mobile and edge devices. Pruning has emerged as a promising direction for reducing ViT complexity. However, existing approaches either (i) produce a single pruned model shared across all devices, ignoring device heterogeneity, or (ii) rely on fine-tuning with device-local data, which is often infeasible due to limited on-device resources and strict privacy constraints. As a result, current methods fall short of enabling task-customized ViT pruning in privacy-preserving mobile computing settings. This paper introduces TAP-ViTs, a novel task-adaptive pruning framework that generates device-specific pruned ViT models without requiring access to any raw local data. Specifically, to infer device-level task characteristics under privacy constraints, we propose a Gaussian Mixture Model (GMM)-based metric dataset construction mechanism. Each device fits a lightweight GMM to approximate its private data distribution and uploads only the GMM parameters. Using these parameters, the cloud selects distribution-consistent samples from public data to construct a task-representative metric dataset for each device. Based on this proxy dataset, we further develop a dual-granularity importance evaluation-based pruning strategy that jointly measures composite neuron importance and adaptive layer importance, enabling fine-grained, task-aware pruning tailored to each device's computational budget. Extensive experiments across multiple ViT backbones and datasets demonstrate that TAP-ViTs consistently outperforms state-of-the-art pruning methods under comparable compression ratios.

视觉变换模型模型剪枝边缘计算隐私保护

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。