[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85405-en":3,"doc-seo-85405-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},85405,1099513958762,"Logic","https://ap-avatar.wpscdn.com/avatar/1000023916a998db790?x-image-process=image/resize,m_fixed,w_180,h_180&k=1782109480056885918",6,"Technology","Device-Cloud Collaborative LLM Inference with Multi-Modal, Multi-Task, Multi-Turn Conversations","Recent large language models (LLMs) enable multitask solving via multi-modal inputs and multi-turn dialogue, but deployment is harder than for traditional ML due to their size. On-device inference is limited by compute, memory, and energy, while cloud inference may violate real-time needs and adds communication and usage costs. The paper proposes TMO, a device-cloud LLM system using Three-Way Offloading across multi-modal data, multi-task handling, and multi-turn context. A resource-constrained reinforcement learning strategy selects inference location and modalities to maximize long-term reward under constraints, and introduces the M4A1 evaluation dataset, improving latency, cost, and response quality.","Device-Cloud Collaborative LLM Inference with Multi-Modal, Multi-Task, Multi-Turn Conversations  \nLiangqi Yuan, Graduate Student Member, IEEE, Dong-Jun Han, Member, IEEE, Shiqiang Wang, Fellow, IEEE,  \nand Christopher G. Brinton, Senior Member, IEEE  \narXiv :2502 . 1 1007v 5 [ cs .LG] 10 Jul 2026  \nAbstract—Compared to traditional machine learning models, recent large language models (LLMs) can exhibit multitask-solving capabilities through multi-modal data sources and multi-turn conversations. These unique characteristics of LLMs, together with their large model size, make their deployment more challenging. Specifically, (i) deploying LLMs on devices faces computational, memory, and energy resource issues, while (ii) deploying them in the cloud cannot guarantee real-time service and incurs communication/usage costs. In this paper, we design TMO, a device-cloud LLM inference system with Three-M Offloading: Multi-modal, Multi-task, and Multi-turn conversation. TMO incorporates (i) a lightweight on-device LLM that can process simple tasks at high speed and (ii) a largescale cloud LLM that can handle multi-modal data sources. We develop a resource-constrained reinforcement learning (RCRL) strategy for TMO that optimizes the inference location (i.e., device [vs. cloud](vs. cloud)) and multi-modal data sources to use for each task in multi-turn conversations, aiming to maximize the longterm reward (response quality, latency, and usage cost) while adhering to resource constraints. We also contribute M4A1, a new dataset we curated across multiple modalities, tasks, conversation turns, and LLM configurations, enabling evaluation of offloading decisions. We demonstrate the effectiveness of TMO compared to several exploration-decision and LLM-as-Router baselines, showing significant improvements in latency, cost, and response quality. Our code and dataset are available at [https://github.com/liangqiyuan/TMO](https://github.com/liangqiyuan/TMO).  \nIndex Terms—Large Language Model, Reinforcement Learning, Multi-modal, Collaborative Inference, Resource Constraint.  \nI. INTRODUCTION  \nLarge language models (LLMs) have demonstrated remarkable general-purpose task-solving capabilities across various fields and have been gradually incorporated into daily life [2]–[5] . The development of LLMs is thriving, yet deploying  \nThis work was supported in part by the National Science Foundation (NSF) under grant CPS-2313109, by the Office of Naval Research (ONR) under grant N00014-23-C-1016, by the Air Force Office of Scientific Research (AFOSR) under grant FA9550-24-1-0083, by the Institute of Information & communications Technology Planning & Evaluation (IITP) from the Korea government (MSIT) (No. RS-2024-00457882, AI Research Hub Project), and by NVIDIA’s Academic Grant Program.  \nAn earlier version of this paper was presented at the Twenty-sixth International Symposium on Theory, Algorithmic Foundations, and Protocol Design for Mobile Networks and Mobile Computing (MobiHoc 2025) [1], where it received the Best Paper Award Runner-up.  \nL. Yuan and C. G. Brinton are with the School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA. E-mail: [liangqiy@purdue.edu](liangqiy@purdue.edu); [cgb@purdue.edu](cgb@purdue.edu)  \nD.-J. Han is with the Department of Computer Science and Engineering, Yonsei University, Seoul, [South Korea. E-mail: djh@yonsei.ac.kr](South Korea. E-mail: djh@yonsei.ac.kr)  \nS. Wang is with the Department of Computer Science, University of Exeter,  \nEX4 4RN, UK. E-mail: [shiqiang.wang@ieee.org](shiqiang.wang@ieee.org)  \nFig. 1. Application Scenario for the TMO System in Kitchen Activity Assistance. Given a user prompt, the decision engine selects between the on-device and cloud LLMs and chooses the relevant data modalities based on the current task and conversation history. For the query “Where did I put my dishes?”, first-person and overhead views are uploaded to the cloud LLM, which the text-o","cbCaiajMOEg4SwYE","https://ap.wps.com/l/cbCaiajMOEg4SwYE","pdf",8228354,1,16,"English","en",105,"# Introduction\n# Research Questions","[{\"question\":\"What deployment challenges does the paper identify for large language models?\",\"answer\":\"On-device inference faces computational, memory, and energy limits, while cloud inference cannot guarantee real-time service and increases communication and usage costs.\"},{\"question\":\"What is TMO and how does it work?\",\"answer\":\"TMO is a device-cloud LLM inference system that performs Three-Way Offloading across multi-modal data, multi-task handling, and multi-turn conversations, using a lightweight on-device LLM for simple tasks and a large-scale cloud LLM for richer multi-modal processing.\"},{\"question\":\"How does the system choose where to run inference and which modalities to use?\",\"answer\":\"It uses a resource-constrained reinforcement learning strategy to optimize inference location (device vs. cloud) and the relevant multi-modal data sources per task across multi-turn conversation history, maximizing long-term reward under resource constraints.\"}]",1784203166,40,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"device-cloud-collaborative-llm-inference-with-multi-modal-multi-task-multi-turn-conversations","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/technology/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/device-cloud-collaborative-llm-inference-with-multi-modal-multi-task-multi-turn-conversations/85405/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What deployment challenges does the paper identify for large language models?","Question",{"text":75,"@type":76},"On-device inference faces computational, memory, and energy limits, while cloud inference cannot guarantee real-time service and increases communication and usage costs.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What is TMO and how does it work?",{"text":80,"@type":76},"TMO is a device-cloud LLM inference system that performs Three-Way Offloading across multi-modal data, multi-task handling, and multi-turn conversations, using a lightweight on-device LLM for simple tasks and a large-scale cloud LLM for richer multi-modal processing.",{"name":82,"@type":73,"acceptedAnswer":83},"How does the system choose where to run inference and which modalities to use?",{"text":84,"@type":76},"It uses a resource-constrained reinforcement learning strategy to optimize inference location (device vs. cloud) and the relevant multi-modal data sources per task across multi-turn conversation history, maximizing long-term reward under resource constraints.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,113,117,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":111,"slug":112},50,"technology",{"id":114,"doc_module":4,"doc_module_name":45,"category_name":115,"show_sort_weight":28,"slug":116},7,"Healthcare","healthcare",{"id":118,"doc_module":4,"doc_module_name":45,"category_name":119,"show_sort_weight":120,"slug":121},8,"Research & Report",30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]