In the realm of AI, large language models (LLMs) like GPT-4, central to the operation of AI agents, predominantly operate in the cloud, incurring high operational costs. With local-based small language models (SLMs) becoming more accurate, the necessity of cloud-exclusive processing is being reconsidered. An AI agent's response to a user's request comprises a series of subtasks or iterations. Existing approaches only allocate a single request between SLM and LLM to ensure their outputs are similar, but adopting this approach in the AI agent scenario for assigning each subtask is not effective since SLM will output a different subsequent subtask, which affects the accuracy of the final output. In this paper, we first conduct experimental analysis to understand the features of AI agent operations. Leveraging our findings, we propose the Adaptive Iteration-level Model Selector (AIMS), a lightweight scheduler to automatically partition AI agent's subtasks between local-based SLM and cloud-based LLM. AIMS considers the varying subtask features and strategically decides the location for each subtask in order to use SLM as much as possible while attaining the accuracy level. Our experimental results demonstrate that AIMS increases accuracy by up to 9.1% and SLM usage by up to 10.8% compared to HybridLLM. It offloads 45.67% of subtasks to a local SLM while attaining similar accuracy on average compared with the cloud-only LLM approach.
Deep Learning-based Hybrid Graph-Coloring Algorithm for Register Allocation
AMD(超威半导体公司)
寄存器分配是优秀优化编译器的关键阶段,它依赖于图着色。因此,一个有效的图着色算法是至关重要的。在这项工作中,我们试图学习一个很好的启发式着色干扰图中使用的寄存器分配阶段。我们的目标是处理具有100个或更少节点的中等大小的干扰图。对于这样的图,我们可以得到节点的最佳颜色分配。然后,这种最佳着色用于训练我们的深度学习网络,该网络基于几层LSTM,为图的每个节点输出颜色。然而,当前网络可能会为边连接的节点分配相同的颜色,导致干扰图的着色无效。由于很难在LSTM中对约束进行编码以避免无效着色,因此我们在深度学习网络中增加了一个颜色校正阶段,该阶段在网络分配颜色后运行。因此,我们的算法本质上是混合的,由深度学习算法和更传统的校正阶段的混合组成。我们使用数千个不同稀疏度的随机图来训练我们的网络。在我们的混合算法的各种流行的图在文献中发现的应用,我们看到,我们的算法做得很好,当这些图的最佳着色相比。我们还针对几个SPEC CPU 2017基准测试对LLVM流行的贪婪寄存器分配器运行了我们的算法,并注意到混合算法在大多数基准测试中的性能与这种经过良好调整的分配器相当或更好。
Similarity-Based Bike Station Expansion via Hybrid Denoising Autoencoders
Department of Engineering Cybernetics Norwegian University of Science(工程 cybernetics 系 Norwegian 科学大学);Department of Architecture(建筑系);Planning Norwegian University of Science(规划 Norwegian 科学大学)
Tree Meets Transformer: A Hybrid Architecture for Scalable Power Allocation in Cell-Free Networks
Smart Networks and Services Joint Undertaking (SNS JU)(智能网络与服务联合体);Italian Ministry of Education and Research (MUR)(意大利教育与研究部);HORIZON-JU-SNS-2022 EU project TIMES(HORIZON-JU-SNS-2022 EU项目TIMES);European Union under the Italian National Recovery and Resilience Plan (NRRP) of NextGenerationEU(欧盟在意大利国家复苏与韧性计划(NRRP)下的NextGenerationEU)
Intelligent Hybrid Resource Allocation in MEC-assisted RAN Slicing Network
School of Information Science and Engineering, Southeast University(东南大学信息科学与工程学院);Purple Mountain Laboratories(紫金山实验室);Singapore University of Technology and Design(新加坡科技设计大学)
Hybrid-Task Meta-Learning: A GNN Approach for Scalable and Transferable Bandwidth Allocation
School of Electronic and Information Engineering, Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳)电子与信息工程学院);School of Electrical and Information Engineering, The University of Sydney(悉尼大学电气与信息工程学院);School of Science, Technology and Engineering, University of the Sunshine Coast(阳光海岸大学科学、技术与工程学院);School of Electrical and Computer Engineering, University of Sydney(悉尼大学电气与计算机工程学院)