Beyond a Single Device: Simulating Distributed Generative AI at the Edge with LEDGE

For many of us working in Edge AI, experimenting with language models on devices such as Raspberry Pis and NVIDIA Jetsons has become increasingly familiar over the past few years.

Thanks to advances in model quantization, hardware acceleration, and inference engines, what seemed rather impractical only a few years ago is progressively becoming a reality.

But what happens when a single edge device is simply not enough?

One possibility is to offload computation to the cloud. Another, arguably more interesting from an Edge AI perspective, is to enable multiple devices to collaboratively execute the same model.

While the idea is relatively intuitive, making it work efficiently is far from straightforward.

On November 18, 2026, researchers from the University of California, Irvine, and the University of California, San Diego, released a paper introducing LEDGE (An Efficient Simulator for Distributed LLM Serving on Heterogeneous Edge Devices), a research tool that addresses some of the challenges associated with designing and evaluating such systems.

When on-device AI becomes distributed AI

Much of the conversation around Edge Generative AI has so far focused on making language models fit within the resource constraints of individual devices.

Smaller models, lower-precision representations, more efficient architectures, and dedicated AI accelerators have all contributed significantly to this direction.

However, edge devices rarely operate in isolation.

Consider a smart home, an industrial facility, or a robotic system. These environments increasingly comprise multiple computing devices, each with different computational capabilities, memory capacities, and connectivity characteristics.

Rather than treating these devices as independent computational units, could we leverage their collective resources to execute more capable AI models?

This opens up a rather different set of challenges:

  • How should a language model be partitioned across multiple devices?
  • Which devices should participate in inference?
  • How should computation be distributed across heterogeneous hardware?
  • When does the communication overhead outweigh the benefits of distributed execution?
  • How should multiple inference workloads coexist within the same network?

These are not exclusively machine learning problems.

They are, to a large extent, distributed systems and networking problems.

The challenge of experimentation

One aspect that is perhaps less frequently discussed is how difficult it can be to experimentally evaluate distributed generative AI systems.

Anyone who has worked with heterogeneous edge testbeds will probably recognize the challenge.

Changing a model, its quantization level, the number of participating devices, or the underlying network configuration can require considerable experimental effort. When these dimensions are combined, the number of possible configurations quickly becomes difficult to manage.

And, unlike experiments on powerful cloud servers, running inference on resource-constrained devices can itself be a rather time-consuming process.

This is precisely the problem LEDGE aims to address.

Instead of physically executing a language model for every possible deployment configuration, LEDGE allows researchers and developers to simulate its distributed execution and estimate the resulting performance.

In other words, it provides a way to explore the design space before committing to an actual deployment.

Under the hood: how does LEDGE work?

LEDGE models distributed LLM inference through a representation of computational operations, communication events, and their dependencies.

Rather than performing the actual tensor computations, the simulator estimates their execution time using performance models calibrated through measurements on real hardware.

The framework supports two widely used approaches to distributed inference:

  • Tensor parallelism, where individual model operations are divided across multiple devices.
  • Pipeline parallelism, where different groups of model layers are assigned to different devices.

Importantly, these partitions do not need to be uniform. A more capable device can be assigned a larger portion of the computation, while a less powerful device handles a smaller share.

Another particularly interesting aspect is the explicit consideration of network contention. When multiple devices or inference workloads share the same communication infrastructure, they may interfere with each other, even if their computational resources are entirely independent.

Capturing this behaviour is essential when moving from controlled laboratory experiments to more realistic edge environments.

More devices do not necessarily mean better performance

Perhaps one of the most interesting observations emerging from this work concerns the relationship between distributed inference and network topology.

Intuitively, one might expect that adding more devices to an inference system would improve its performance.

However, the network connecting these devices can fundamentally change the outcome.

In one of the scenarios provided by the authors, a 14-billion-parameter Qwen model is distributed across Raspberry Pi 5 devices.

Increasing the number of devices from 8 to 64 reduces the simulated end-to-end latency from approximately 31 to 19 seconds when the devices are directly connected to a router.

With a different network topology, where groups of devices communicate through switches with shared uplinks, the same increase in computational resources leads to a latency of approximately 61 seconds.

More computational resources, yet worse performance.

While these results are specific to the configurations considered, they illustrate an important point: the performance of distributed AI systems cannot be understood by looking at computational capabilities alone.

The network is an integral part of the inference architecture.

How accurate is the simulator?

Of course, a simulator is only useful if it provides a sufficiently realistic representation of the underlying system.

The authors evaluated LEDGE using a heterogeneous testbed comprising ten NVIDIA Jetson and Raspberry Pi devices, considering four language model families and 17 combinations of models and numerical precisions.

For the evaluated Qwen deployments, the authors report an average percentage error in request latency below 3.6%, while the simulation process was approximately 135 times faster overall than conducting the corresponding inference experiments.

Interestingly, the performance model also demonstrated a degree of generalizability across different model families.

In a broader case study, the researchers explored more than 26,000 deployment configurations in less than 90 minutes, considering environments ranging from smart homes and offices to field operations and infrastructure monitoring.

Imagine conducting all these experiments on a physical edge testbed.

While simulation will certainly not eliminate the need for experimental validation, it can substantially reduce the number of configurations that need to be evaluated in practice.

Making distributed Edge AI more accessible

Another aspect worth highlighting is that the authors have made the implementation publicly available, together with a graphical interface and several example scenarios.

Through the interface, users can define network topologies, configure model partitions, select participating devices, and specify inference workloads.

The simulator also provides performance metrics that are particularly relevant for generative AI applications, including end-to-end latency, Time to First Token (TTFT), and Time per Output Token (TPOT).

For researchers, this provides another instrument for investigating distributed inference strategies.

For companies, it could help identify promising deployment configurations before investing in physical infrastructure.

For students, it offers an interesting environment in which to explore the interplay between machine learning, distributed systems, and networking without necessarily having access to a large collection of edge devices.

Beyond simulation

What I also find interesting is how tools such as LEDGE could eventually contribute to a broader research direction: the orchestration of distributed AI systems.

Today, simulation is primarily used to understand how different deployment configurations behave.

But what if similar performance models could also support decisions at runtime?

Edge environments are inherently dynamic. Devices may become unavailable, network conditions may change, computational resources may be shared with other applications, and inference requirements may evolve over time.

Rather than relying on a deployment configuration selected once and for all, future systems could potentially use performance predictions to continuously reconsider how and where AI workloads should be executed.

This would also require looking beyond inference latency, incorporating other dimensions such as energy consumption, reliability, resource availability, and application-specific requirements.

There is still considerable research to be done in this direction.

Nevertheless, efficient simulation and performance modelling represent important building blocks towards more adaptive and autonomous Edge AI systems.

Looking ahead

Will distributed inference become the default way of executing generative AI at the edge?

Probably not.

For many applications, executing a sufficiently capable small language model on a single device will remain the most practical solution. For others, cloud-based inference will continue to make sense.

But between these two extremes lies a largely unexplored design space, where heterogeneous devices can collaborate, share resources, and collectively provide AI capabilities that would otherwise be difficult to achieve individually.

Exploring this space requires more than increasingly capable models and faster accelerators.

It also requires tools, methodologies, and a deeper understanding of how these models behave when embedded into real-world distributed systems.

LEDGE is an interesting contribution in this direction.

For the Edge AI community, it also reinforces an important message:

The future of Edge Generative AI will not only depend on how efficiently we can execute a model on a device, but also on how intelligently we can coordinate the computational and communication resources available across multiple devices.


Further reading and resources