arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.05900cs.LGcs.CVeess.IV
收藏

内存优化的 Once-For-All 网络

Memory-Optimized Once-For-All Network

Télécom Paris, Institut Polytechnique de Paris(巴黎综合理工学院电信学院)

Maxime Girard, Victor Quétu, Samuel Tardieu, Van-Tam Nguyen, Enzo Tartaglione

AI总结:

提出 MOOFA 超网,通过跨配置最大化内存使用和特征多样性改进 OFA,并在 ImageNet 上提升内存利用率与模型准确率。

摘要:

由于资源约束各不相同,在不同硬件平台上部署深度神经网络(DNN)具有挑战性。除了旨在使深度模型对硬件友好的手工方法之外,神经架构搜索正作为一种工具箱兴起,用于在不牺牲性能的情况下构建更高效的 DNN。其中,Once-For-All(OFA)方法提供了一种解决方案,允许从单个超网中采样性能良好的子网络——这带来了计算方面的明显优势。然而,OFA 并未充分利用目标设备的潜在内存容量,而是专注于限制每层的最大内存使用量。这使得模型泛化能力方面仍存在尚未开发的潜力。本文提出 Memory-Optimized OFA(MOOFA)超网,旨在通过在不同配置之间最大化内存使用(例如特征多样性)来增强 DNN 在资源受限设备上的部署。在 ImageNet 上进行测试时,与原始 OFA 超网相比,我们的 MOOFA 超网在内存利用和模型准确率方面均表现出提升。代码可在 https://github.com/MaximeGirard/memory-optimized-once-for-all 获取。

英文摘要:

Deploying Deep Neural Networks (DNNs) on different hardware platforms is challenging due to varying resource constraints. Besides handcrafted approaches aiming at making deep models hardware-friendly, Neural Architectures Search is rising as a toolbox to craft more efficient DNNs without sacrificing performance. Among these, the Once-For-All (OFA) approach offers a solution by allowing the sampling of well-performing sub-networks from a single supernet -- this leads to evident advantages in terms of computation. However, OFA does not fully utilize the potential memory capacity of the target device, focusing instead on limiting maximum memory usage per layer. This leaves room for an unexploited potential in terms of model generalizability. In this paper, we introduce a Memory-Optimized OFA (MOOFA) supernet, designed to enhance DNN deployment on resource-limited devices by maximizing memory usage (and for instance, features diversity) across different configurations. Tested on ImageNet, our MOOFA supernet demonstrates improvements in memory exploitation and model accuracy compared to the original OFA supernet. Our code is available at https://github.com/MaximeGirard/memory-optimized-once-for-all.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑