EdgeShard: Efficient LLM Inference via Collaborative Edge Computing

AI-generated keywords: EdgeShard

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors address challenges faced by large language models (LLMs) relying on cloud computing:
  • Prolonged latency
  • High bandwidth costs
  • Privacy concerns
  • Proposed solution: EdgeShard leveraging edge computing for LLM deployment closer to data sources:
  • Partitioning model into shards deployed on distributed devices
  • Reduces latency by up to 50% and improves throughput by 2x compared to baseline methods
  • Comparison with existing approaches:
  • Existing methods may result in accuracy loss or unstable network connections
  • EdgeShard offers a more effective solution for addressing challenges
  • Optimization strategy:
  • Formulate adaptive joint device selection and model partition problem
  • Design efficient dynamic programming algorithm for optimization
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Mingjin Zhang, Jiannong Cao, Xiaoming Shen, Zeyang Cui

Under review

Abstract: Large language models (LLMs) have shown great potential in natural language processing and content generation. However, current LLMs heavily rely on cloud computing, leading to prolonged latency, high bandwidth cost, and privacy concerns. Edge computing is promising to address such concerns by deploying LLMs on edge devices, closer to data sources. Some works try to leverage model quantization to reduce the model size to fit the resource-constraint edge devices, but they lead to accuracy loss. Other works use cloud-edge collaboration, suffering from unstable network connections. In this work, we leverage collaborative edge computing to facilitate the collaboration among edge devices and cloud servers for jointly performing efficient LLM inference. We propose a general framework to partition the LLM model into shards and deploy on distributed devices. To achieve efficient LLM inference, we formulate an adaptive joint device selection and model partition problem and design an efficient dynamic programming algorithm to optimize the inference latency and throughput, respectively. Experiments of Llama2 serial models on a heterogeneous physical prototype demonstrate that EdgeShard achieves up to 50% latency reduction and 2x throughput improvement over baseline methods.

Submitted to arXiv on 23 May. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2405.14371v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

, , , , In their paper titled "EdgeShard: Efficient LLM Inference via Collaborative Edge Computing," authors Mingjin Zhang, Jiannong Cao, Xiaoming Shen, and Zeyang Cui address the challenges faced by large language models (LLMs) that heavily rely on cloud computing. These challenges include prolonged latency, high bandwidth costs, and privacy concerns. To mitigate these issues, the authors propose leveraging edge computing to deploy LLMs on edge devices closer to data sources. Their proposed approach, called EdgeShard, aims to improve the efficiency of LLM inference through collaborative edge computing. This is achieved by partitioning the model into shards and deploying them on distributed devices. By doing so, they are able to reduce latency by up to 50% and improve throughput by 2x compared to baseline methods. While some existing approaches attempt to reduce model size through quantization or utilize cloud-edge collaboration, they often result in accuracy loss or suffer from unstable network connections. In contrast, the authors' approach offers a more effective solution for addressing these challenges. To optimize inference latency and throughput, the authors formulate an adaptive joint device selection and model partition problem. They design an efficient dynamic programming algorithm to achieve this optimization. Overall, this work contributes to advancing the field of natural language processing by offering a novel solution for enhancing the efficiency of LLM inference through collaborative edge computing. It addresses key challenges faced by LLMs and presents a promising approach that can significantly improve performance while also addressing privacy concerns associated with cloud computing.
Created on 20 Sep. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.