arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.07428cs.ITcs.NImath.IT
收藏

面向混合语言模型远程推理的任务导向信息年龄

Task-oriented Age of Information for Remote Inference with Hybrid Language Models

Shuying Gan, Xijun Wang, Chenyuan Feng, Chao Xu, Howard H. Yang, Xiang Chen, Tony Q. S. Quek

AI总结:

本文针对远程推理中LLM延迟高与SLM精度低的问题,提出一种混合语言模型系统,通过动态调整图像分辨率并路由任务,以最小化任务导向信息年龄,并证明最优策略具有阈值结构。

摘要:

大型语言模型(LLMs)凭借其先进的推理能力彻底改变了人工智能(AI)领域,但其庞大的参数集带来了显著的推理延迟,对确保推理结果的时效性构成了挑战。小型语言模型(SLMs)虽然以更少的参数提供更快的推理速度,但在复杂任务上往往牺牲准确性。本研究提出了一种新颖的远程推理系统,由用户、传感器和边缘服务器组成,该系统同时集成两种模型类型以及一个决策器。系统动态确定传感器传输图像的分辨率,并将推理任务路由至SLM或LLM以优化性能。关键目标是通过联合考虑推理任务的准确性和时效性来最小化任务导向信息年龄(TAoI)。由于传输时间和推理时间具有非均匀性,我们将该问题建模为半马尔可夫决策过程(SMDP)。通过将SMDP转换为等价的马尔可夫决策过程,我们证明了最优控制策略遵循基于阈值的结构。我们进一步开发了一种利用该阈值性质的相对策略迭代算法。仿真结果表明,所提出的最优策略在管理准确性-时效性权衡方面显著优于基线方法。

英文摘要:

Large Language Models (LLMs) have revolutionized the field of artificial intelligence (AI) through their advanced reasoning capabilities, but their extensive parameter sets introduce significant inference latency, posing a challenge to ensure the timeliness of inference results. While Small Language Models (SLMs) offer faster inference speeds with fewer parameters, they often compromise accuracy on complex tasks. This study proposes a novel remote inference system comprising a user, a sensor, and an edge server that integrates both model types alongside a decision maker. The system dynamically determines the resolution of images transmitted by the sensor and routes inference tasks to either an SLM or LLM to optimize performance. The key objective is to minimize the Task-oriented Age of Information (TAoI) by jointly considering the accuracy and timeliness of the inference task. Due to the non-uniform transmission time and inference time, we formulate this problem as a Semi-Markov Decision Process (SMDP). By converting the SMDP to an equivalent Markov decision process, we prove that the optimal control policy follows a threshold-based structure. We further develop a relative policy iteration algorithm leveraging this threshold property. Simulation results demonstrate that our proposed optimal policy significantly outperforms baseline approaches in managing the accuracy-timeliness trade-off.

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

↑