Skip to main content
QUICK REVIEW

[论文解读] MetaLDC: Meta Learning of Low-Dimensional Computing Classifiers for Fast On-Device Adaption

Yejia Liu, Shijin Duan|arXiv (Cornell University)|Feb 23, 2023
Ferroelectric and Negative Capacitance DevicesEngineering被引用 3
一句话总结

MetaLDC 提出了一种元学习框架,用于超高效、低维计算(LDC)分类器,可在资源受限的微型设备上实现对未见过任务的快速设备端适应。通过使用闭式梯度更新任务特定分类层的轻量级 LDC 网络进行元训练,MetaLDC 在准确率、对位错误的鲁棒性以及硬件效率方面均优于当前最先进(SOTA)的 HDC 和 LDC 基线模型。

ABSTRACT

Fast model updates for unseen tasks on intelligent edge devices are crucial but also challenging due to the limited computational power. In this paper,we propose MetaLDC, which meta-trains braininspired ultra-efficient low-dimensional computing classifiers to enable fast adaptation on tiny devices with minimal computational costs. Concretely, during the meta-training stage, MetaLDC meta trains a representation offline by explicitly taking into account that the final (binary) class layer will be fine-tuned for fast adaptation for unseen tasks on tiny devices; during the meta-testing stage, MetaLDC uses closed-form gradients of the loss function to enable fast adaptation of the class layer. Unlike traditional neural networks, MetaLDC is designed based on the emerging LDC framework to enable ultra-efficient on-device inference. Our experiments have demonstrated that compared to SOTA baselines, MetaLDC achieves higher accuracy, robustness against random bit errors, as well as cost-efficient hardware computation.

研究动机与目标

  • 解决在计算资源有限的微型边缘设备上,对未见过任务实现快速高效模型适应的挑战。
  • 克服超维计算(HDC)的高内存和计算成本,以及现有低维计算(LDC)模型缺乏快速适应能力的问题。
  • 利用受大脑启发的轻量级 LDC 架构,实现极低的设备端推理与适应开销,最小化设备端计算量。
  • 开发一种元学习方法,将元学习表示与任务特定适应分离,从而降低设备端训练成本。
  • 提升对随机位错误的鲁棒性,降低能耗与模型尺寸,以适应微控制器和物联网设备的部署需求。

提出的方法

  • MetaLDC 采用两阶段框架:在多样化任务上进行元训练,并利用闭式梯度在新任务上实现快速适应。
  • 该模型由非二值编码层(推理期间固定)和二值权重分类层(任务特定,通过闭式梯度更新)组成。
  • 在元训练过程中,网络被优化以学习跨异构数据分布的共享表示,最终层被训练以支持快速适应。
  • 任务特定的适应通过仅更新最后一层并使用闭式梯度表达式实现,避免反向传播,从而减少设备端计算量。
  • 该方法明确考虑了仅能更新最后一层的约束条件,使其适用于微控制器级别部署。
  • 基于 LDC 的架构使用数十个维度而非数千个,显著降低了内存和计算成本。
Figure 1. Overview of MetaLDC. Our MetaLDC is based on the ultra-lightweight LDC network and composed of two stages: meta-training and fast adaption. The meta parameter $\theta$ keeps learned knowledge from heterogeneous data distributions, while the task-specific parameter $\phi$ is used to quickly
Figure 1. Overview of MetaLDC. Our MetaLDC is based on the ultra-lightweight LDC network and composed of two stages: meta-training and fast adaption. The meta parameter $\theta$ keeps learned knowledge from heterogeneous data distributions, while the task-specific parameter $\phi$ is used to quickly

实验结果

研究问题

  • RQ1元学习的低维计算分类器是否能在计算开销极小的前提下,实现在微型设备上对未见过任务的快速适应?
  • RQ2在资源受限设备上,MetaLDC 的分类层闭式梯度更新与基于梯度的微调相比,在准确率和效率方面表现如何?
  • RQ3与当前最先进(SOTA)的 HDC 和 LDC 模型相比,MetaLDC 在随机位错误下的鲁棒性提升程度如何?
  • RQ4MetaLDC 的元学习表示在无需完整微调的情况下,如何在多样化数据分布上实现良好泛化?
  • RQ5MetaLDC 是否能在保持超低模型尺寸和推理延迟的同时,实现比现有 HDC 和 LDC 基线更高的准确率和更低的能耗?

主要发现

  • MetaLDC 在视觉和非视觉数据集(包括 Split ISOLET 和 Rotated MNIST)上的准确率均高于当前最先进(SOTA)的 HDC 和微调前的 LDC 模型。
  • 在 Split ISOLET 上,MetaLDC 与 MetaLDC-NFT(无微调)的准确率差距在 5% 以内,在 Rotated MNIST 上为 10% 以内(K=1),表明元学习初始化具有强大的泛化能力。
  • MetaLDC 对随机位错误表现出强鲁棒性,在硬件嵌入式错误场景下优于当前最先进(SOTA)的 HDC 和 LDC 模型。
  • 与基线方法相比,MetaLDC 显著降低了能耗、延迟和模型尺寸,使其适用于微控制器级别部署。
  • 由于采用闭式梯度更新,该方法仅需少量数据点即可实现快速适应,设备端计算量极低。
  • MetaLDC 的性能随数据点数量增加而提升,且随着训练数据增多,过拟合效应呈递减趋势。
MetaLDC: Meta Learning of Low-Dimensional Computing Classifiers for Fast On-Device Adaption

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。