arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.14598cs.NEcs.LG
收藏

MemFlow: 一种轻量级的前向记忆框架,用于快速的领域自适应特征映射

MemFlow: A Lightweight Forward Memorizing Framework for Quick Domain Adaptive Feature Mapping

South China University of Technology(华南理工大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)

Jianming Lv, Chengjun Wang, Depin Liang, Qianli Ma, Wei Chen, Xueqi Cheng

AI总结:

MemFlow通过冻结主干网络和高效特征-预测映射微调,解决边缘设备上在线学习的计算瓶颈,实现在真实世界跨领域数据集上的性能提升达10%。

摘要:

在真实世界环境中部署预训练视觉模型时,由于测试场景的多样性,性能会显著下降。通过在边缘设备上使用目标领域收集的无标签数据持续适应学习模型,可以有效提升泛化能力。然而,深度神经网络中大量参数的梯度反向传播优化比前向推断更耗时,使低功耗边缘设备上的在线学习不可行。为了解决这一关键挑战,我们提出了一种轻量级梯度自由前向记忆框架MemFlow,利用冻结的主干网络,实现了特征与预测之间的高效微调。具体而言,MemFlow利用随机连接的神经元来记忆特征-标签关联;在网络中,脉冲信号被传播,并通过根据置信度水平关联神经元存储的记忆来生成预测。更值得注意的是,MemFlow通过使用无标签数据强化特征映射的记忆,从而实现对新领域的快速适应。在四个真实世界跨领域数据集上的广泛实验表明,MemFlow在传统领域适应方法所需计算时间的不到1%内,实现了高达10%的性能提升。代码可在https://github.com/so-link/MemFlow上获得。

英文摘要:

Deploying pretrained visual models in real-world environments often suffers from significant performance degradation due to the diversity of testing scenarios. Continuous adaptation of learning models on edge devices via unlabeled data collected from the target domain is highly effective for boosting generalization capability. However, gradient-backpropagation-based optimization of the massive parameters in deep neural networks is vastly more time-consuming than forward inference, rendering online learning infeasible on low-power edge devices. To address this critical challenge, we propose a lightweight gradient-free forward-memorizing framework, namely MemFlow, which leverages a frozen backbone and enables efficient fine-tuning of the mapping between features and predictions. Specifically, MemFlow employs randomly connected neurons to memorize feature-label associations; within the network, spiking signals are propagated, and predictions are generated by associating neuron-stored memories according to their confidence levels. More notably, MemFlow supports reinforced memorization of feature mappings using unlabeled data, thereby enabling rapid adaptation to new domains. Extensive experiments on four real-world cross-domain datasets demonstrate that MemFlow achieves performance improvements of up to 10\% while consuming less than 1\% of the computational time required by traditional domain adaptation methods.The code is available at https://github.com/so-link/MemFlow.

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

↑