Search arXiv⌕ Search

arXiv subjects

Luyao Gao

Publications and source records attributed to Luyao Gao.

3 recordsLinked to original sources

Recall Before Glimpse: A Memory-based Device-Cloud Collaborative System for Online Video Understanding on Mobile Devices

Video Large Language Models (VideoLLMs) have demonstrated strong capabilities in online video understanding tasks and are increasingly deployed in mobile web applications. Existing edge-cloud collaborative systems select and upload query-relevant frames to cloud servers instead of transmitting the entire video stream upon query arrival. However, when deployed on mobile devices, these systems suffer severe performance degradation because they indiscriminately upload selected frames for every query over constrained uplink bandwidth. To address this challenge, this paper proposes Muse, a memory-based device-cloud collaborative system for efficient online video understanding. Muse continuously maintains a compact cloud memory of query-irrelevant visual tokens. For each query, Muse first attempts to generate a response from the cloud memory and only selects and uploads additional frames from the mobile device when necessary. To realize this design, Muse introduces a memory-conditioned entropy-based routing mechanism to balance accuracy and end-to-end latency and a memory-guided online Determinantal Point Process (DPP)-based frame selection mechanism to improve accuracy within a limited system cost. Our evaluation shows that Muse achieves a 1.42-1.86x speedup in end-to-end latency and a 2.01%-6.20% accuracy improvement over state-of-the-art edge-cloud collaborative baselines.

cs.MM↗

Collaborative Speculative Inference for Efficient LLM Inference Serving

Speculative inference is a promising paradigm employing small speculative models (SSMs) as drafters to generate draft tokens, which are subsequently verified in parallel by the target large language model (LLM). This approach enhances the efficiency of inference serving by reducing LLM inference latency and costs while preserving generation quality. However, existing speculative methods face critical challenges, including inefficient resource utilization and limited draft acceptance, which constrain their scalability and overall effectiveness. To overcome these obstacles, we present CoSine, a novel speculative inference system that decouples sequential speculative decoding from parallel verification, enabling efficient collaboration among multiple nodes. Specifically, CoSine routes inference requests to specialized drafters based on their expertise and incorporates a confidence-based token fusion mechanism to synthesize outputs from cooperating drafters, ensuring high-quality draft generation. Additionally, CoSine dynamically orchestrates the execution of speculative decoding and verification in a pipelined manner, employing batch scheduling to selectively group requests and adaptive speculation control to minimize idle periods. By optimizing parallel workflows through heterogeneous node collaboration, CoSine balances draft generation and verification throughput in real-time, thereby maximizing resource utilization. Experimental results demonstrate that CoSine achieves superior performance compared to state-of-the-art speculative approaches. Notably, with equivalent resource costs, CoSine achieves up to a 23.2% decrease in latency and a 32.5% increase in throughput compared to baseline methods.

cs.DC↗

Accelerating End-Cloud Collaborative Inference via Near Bubble-free Pipeline Optimization

End-cloud collaboration offers a promising strategy to enhance the Quality of Service (QoS) in DNN inference by offloading portions of the inference workload from end devices to cloud servers. Despite the potential, the complex model architectures and dynamic network conditions will introduce numerous bubbles (\ie, idle waiting time) in pipeline execution, resulting in inefficient resource utilization and degraded QoS. To address these challenges, we introduce a novel framework named COACH, designed for near bubble-free pipeline collaborative inference, thereby achieving low inference latency and high system throughput. Initially, COACH employs an \textit{offline} component that utilizes an efficient recursive divide-and-conquer algorithm to optimize both model partitioning and transmission quantization, aiming to minimize the occurrence of pipeline bubbles. Subsequently, the \textit{online} component in COACH employs an adaptive quantization adjustment and a context-aware caching strategy to further stabilize pipeline execution. Specifically, COACH analyzes the correlation between intermediate data and label semantic centers in the cache, along with its influence on the quantization adjustment, thereby effectively accommodating network fluctuations. Our experiments demonstrate the efficacy of COACH in reducing inference latency and enhancing system throughput. Notably, while maintaining comparable accuracy, COACH achieves up to 1.7x faster inference and 2.1x higher system throughput than baselines.

cs.DC↗