Online Algorithms for Hierarchical Inference in Deep Learning applications at the Edge
KTH Royal Institute of Technology(KTH皇家理工学院);IMDEA Networks Institute(IMDEA网络研究所)
Vishnu Narayanan Moothedath, Jaya Prakash Champati, James Gross
备注:
The original version was submitted to a journal and was later revised. The updated version was accepted in a journal and will be published soon. The 'Journal reference' will be updated as and when the information is available
发表信息:
IEEE Transactions on Machine Learning in Communications and Networking, vol. 2, pp. 280-297, 2024
本文面向边缘分层推理,提出基于最大 softmax 值和连续专家 PEA 的在线元学习框架及两种算法,以决定样本是否卸载,并证明次线性遗憾界。
摘要:
我们考虑一种资源受限的边缘设备(ED),例如 IoT 传感器或微控制器单元,其嵌入了用于通用分类应用的小型 ML 模型(S-ML),同时考虑一台托管大型 ML 模型(L-ML)的边缘服务器(ES)。由于 S-ML 的推理精度低于 L-ML,将所有数据样本卸载到 ES 会带来较高的推理精度,但这会违背在 ED 上嵌入 S-ML 的目的,并丧失本地推理在降低延迟、节省带宽和提高能效方面的优势。为了充分利用两方面的优势,即在 ED 上进行推理的优势和在 ES 上进行推理的优势,我们探索了分层推理(HI)的思想:仅当 S-ML 推理正确时才接受该推理,否则将数据样本卸载以进行 L-ML 推理。然而,HI 的理想实现并不可行,因为 ED 并不知道 S-ML 推理是否正确。我们提出了一个在线元学习框架,ED 可以使用该框架预测 S-ML 推理的正确性。具体而言,我们建议使用 S-ML 针对某个数据样本输出的最大 softmax 值,并决定是否将该样本卸载。由此产生的在线学习问题实际上是一个具有连续专家空间的“依专家建议预测”(PEA)问题。我们提出了两种不同的算法,并在不对损失函数平滑性作任何假设的情况下,证明了它们的次线性遗憾界。我们使用四个数据集(即 Imagenette、Imagewoof、MNIST 和 CIFAR-10)针对图像分类应用评估并基准测试了所提算法的性能。
英文摘要:
We consider a resource-constrained Edge Device (ED), such as an IoT sensor or a microcontroller unit, embedded with a small-size ML model (S-ML) for a generic classification application and an Edge Server (ES) that hosts a large-size ML model (L-ML). Since the inference accuracy of S-ML is lower than that of the L-ML, offloading all the data samples to the ES results in high inference accuracy, but it defeats the purpose of embedding S-ML on the ED and deprives the benefits of reduced latency, bandwidth savings, and energy efficiency of doing local inference. In order to get the best out of both worlds, i.e., the benefits of doing inference on the ED and the benefits of doing inference on ES, we explore the idea of Hierarchical Inference (HI), wherein S-ML inference is only accepted when it is correct, otherwise the data sample is offloaded for L-ML inference. However, the ideal implementation of HI is infeasible as the correctness of the S-ML inference is not known to the ED. We propose an online meta-learning framework that the ED can use to predict the correctness of the S-ML inference. In particular, we propose to use the maximum softmax value output by S-ML for a data sample and decide whether to offload it or not. The resulting online learning problem turns out to be a Prediction with Expert Advice (PEA) problem with continuous expert space. We propose two different algorithms and prove sublinear regret bounds for them without any assumption on the smoothness of the loss function. We evaluate and benchmark the performance of the proposed algorithms for image classification application using four datasets, namely, Imagenette and Imagewoof, MNIST, and CIFAR-10.
CLIMB: Centroid-Based Hierarchical Memory for Online Continual Self-Supervised Learning
Universite Claude Bernard Lyon 1, CNRS, INSA Lyon, LIRIS, UMR 5205(里昂第一大学, 法国国家科学研究中心, 法国国立应用科学学院, 里昂信息与系统研究实验室, UMR 5205);INSA Lyon, CNRS, Universite Claude Bernard Lyon 1, LIRIS, UMR 5205(法国国立应用科学学院, 法国国家科学研究中心, 里昂第一大学, 里昂信息与系统研究实验室, UMR 5205);Universite Claude Bernard Lyon 1 / Univ. Rennes, Inria, CNRS LIRIS UMR 5205 / IRISA UMR 6074(里昂第一大学 / 雷恩大学, 法国国家信息与自动化研究所, 法国国家科学研究中心 里昂信息与系统研究实验室 UMR 5205 / 雷恩计算机科学研究所 UMR 6074)
What Makes a Star Teacher? A Hierarchical BERT Model for Evaluating Teacher's Performance in Online Education
Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院);University of British Columbia(不列颠哥伦比亚大学)
教育对社会和个人生活都有重大影响。随着技术的发展,在线教育在过去十年中发展迅速。虽然有一些关于学生行为分析,课程概念挖掘和课程推荐的在线教育研究(Feng,Tang和Liu 2019; Pan et al. 2017),但很少有关于评估教师在线教育绩效的研究。本文通过对1,085门在线课程的字幕进行系统研究,以了解和有效预测教师的表现。我们的无模型分析表明,教师的口头暗示(例如,问题策略、情感诉求、模糊限制语)和课程结构设计与教师性能评估均显著相关。基于这些见解,我们提出了一个层次课程BERT模型来预测教师在网络教育中的表现。我们提出的模型可以捕获每个课程的层次结构以及从课程内容中提取的深层语义特征。实验结果表明,我们提出的方法取得了显着的增益比几个国家的最先进的方法。我们的研究提供了一个显着的社会影响,帮助教师改善他们的教学风格,提高他们的教学材料设计,更有效的在线教学在未来。
Hierarchical Latent Structure Learning through Online Inference
Center for Theoretical Neuroscience and Zuckerman Institute(理论神经科学中心和Zuckerman研究所);Columbia University(哥伦比亚大学);Department of Psychiatry, Columbia University Irving Medical Center(精神病学系,哥伦比亚大学伊万杰琳医学中心);New York State Psychiatric Institute(纽约州精神医学研究所);Columbia Data Science Institute(哥伦比亚数据科学研究所)
Recasting Gradient-Based Meta-Learning as Hierarchical Bayes
University of California, Berkeley(加州大学伯克利分校)
元学习允许智能代理利用先前的学习片段作为快速提高新任务性能的基础。贝叶斯分层建模提供了一个理论框架,用于将元学习形式化为跨任务共享的一组参数的推理。在这里,我们将Finn et al.(2017)的模型不可知元学习算法(MAML)重新表述为分层贝叶斯模型中的概率推理方法。与通过分层贝叶斯进行元学习的现有方法相比,MAML通过使用可扩展的梯度下降过程进行后验推理而自然地适用于复杂函数逼近器。此外,MAML作为分层贝叶斯的识别提供了一种将算法的操作理解为元学习过程的方法,以及利用计算策略进行有效推理的机会。我们利用这个机会,提出了一个改进的MAML算法,利用近似推理和曲率估计的技术。
Online Continual Learning with Dynamic Label Hierarchies
College of Computer Science(计算机科学学院);Technology, Nanjing University of Aeronautics(技术学院,南京航空航天大学);MIIT Key Laboratory of Pattern Analysis(模式分析 MIIT 实验室);Computer Vision Center, Spain(西班牙计算机视觉中心);Computer Sciences Department, Universitat Autonoma de Barcelona, Spain(巴塞罗那自治大学计算机科学系,西班牙);State Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);IDEAS Research Institute, Warsaw, Poland(华沙 IDEAS 研究院,波兰);Joint Laboratory of Spatial intelligent Perception(空间智能感知联合实验室)
Online Learning for Multi-Layer Hierarchical Inference under Partial and Policy-Dependent Feedback
Department of Electrical and Computer Engineering(电气与计算机工程系);The University of Texas at Austin(德克萨斯大学奥斯汀分校);DEVCOM Army Research Laboratory(国防部陆军研究实验室)
A hierarchical Vovk-Azoury-Warmuth forecaster with discounting for online regression in RKHS
Institute of Mathematics, Mechanics and Computer Sciences of the Southern Federal University(南方联邦大学数学、力学与计算机科学学院);Regional Scientific and Educational Mathematical Center of the Southern Federal University(南方联邦大学区域科学与教育数学中心)
Low-Regret and Low-Complexity Learning for Hierarchical Inference
1 Paul G. Allen School of Computer Science \& Engineering, University of Washington, 2 Department of Electrical Engineering, IIT Bombay, 3 Department of Computer Science, University of Victoria Email