arXiv:2504.13574cs.LGcs.CV2025-04被引 1

轻量级多智能体模块提升边缘设备图像分类效率

MAAM: A Lightweight Multi-Agent Aggregation Module for Efficient Image Classification Based on the MindSpore Framework

  • 三路并行智能体提取异构特征,自适应加权融合
  • 在CIFAR-10上达87.0%准确率,训练效率提升30%
  • 适合资源受限场景部署,支持硬件加速

资源受限环境下对轻量级图像分类模型的需求要求在计算效率与特征表达能力之间取得平衡。传统注意力机制虽具强特征建模能力,但常因高计算复杂度和结构僵化而难以应用于边缘设备或实时系统。为此,本文提出基于MindSpore框架的轻量级多智能体聚合模块(MAAM),通过三条独立参数化的并行代理分支提取异构特征,经可学习标量权重自适应融合,并由卷积压缩层优化。借助MindSpore的动态计算图与算子融合特性,MAAM在CIFAR-10上达到87.0%准确率,显著优于传统CNN(58.3%)与MLP(49.6%),训练效率提升30%。消融实验表明,移除代理注意力或压缩模块后准确率分别降至32.0%与25.5%,验证其对判别性特征学习的关键作用。该框架具备硬件加速能力与极低内存占用,为资源受限场景提供可部署的图像分类解决方案。

原文摘要 · Abstract (English)

The demand for lightweight models in image classification tasks under resource-constrained environments necessitates a balance between computational efficiency and robust feature representation. Traditional attention mechanisms, despite their strong feature modeling capability, often struggle with high computational complexity and structural rigidity, limiting their applicability in scenarios with limited computational resources (e.g., edge devices or real-time systems). To address this, we propose the Multi-Agent Aggregation Module (MAAM), a lightweight attention architecture integrated with the MindSpore framework. MAAM employs three parallel agent branches with independently parameterized operations to extract heterogeneous features, adaptively fused via learnable scalar weights, and refined through a convolutional compression layer. Leveraging MindSpore's dynamic computational graph and operator fusion, MAAM achieves 87.0% accuracy on the CIFAR-10 dataset, significantly outperforming conventional CNN (58.3%) and MLP (49.6%) models, while improving training efficiency by 30%. Ablation studies confirm the critical role of agent attention (accuracy drops to 32.0% if removed) and compression modules (25.5% if omitted), validating their necessity for maintaining discriminative feature learning. The framework's hardware acceleration capabilities and minimal memory footprint further demonstrate its practicality, offering a deployable solution for image classification in resource-constrained scenarios without compromising accuracy.

轻量模型注意力机制边缘计算

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