Case study
ResearchDistributed AI Systems Research
Deciding where to split a neural network when inference runs across several machines, and proving the split result still matches the whole model.
- Python
- ONNX Runtime
- YOLO26n
- Qwen3
- NDN
- Linux
Overview
Ongoing undergraduate research with Prof. Feng Wang at the University of Mississippi, in collaboration with the University of Memphis, running since January 2026.
The work treats latency-optimal partitioning of deep neural network inference across heterogeneous service providers as a constrained optimization problem, balancing compute time, network transfer time, and memory and storage limits.
Problem
Splitting a model across machines raises two questions that have to be answered in order. Is the distributed result still the same result, and where should the cut go?
Correctness is easy to lose silently — a partitioned pipeline can drift from the single-machine baseline while still producing plausible output. And the best cut is not obvious: activation sizes do not shrink monotonically, so the cheapest place to split depends on how expensive a byte is on the link between the machines.
My contribution
I reproduced an NDN-based distributed inference framework for YOLO26n split inference and Qwen3-0.6B, reaching 175 ms end to end with output matching the unsplit model exactly.
I built the Python and ONNX Runtime profiling tools that evaluate every one of the 367 possible cut points — verifying correctness at each and measuring per-part latency and transfer size — along with a two-machine runner over TCP.
I also set up the heterogeneous Linux testbed the work runs on, and diagnosed three reproducibility failures in the research installer from logs and source.
Architecture
Partition. The model is cut at a chosen layer, producing a head that runs near the data and a tail that runs on more capable hardware.
Enumerate. Every one of the 367 candidate cut points is evaluated rather than a promising few, since the latency minimum is not where intuition puts it.
Transfer. The intermediate tensor crosses the link. Only 16 of the 367 cuts pass a single tensor; the rest carry more and cost correspondingly more to ship.
Verify. Each split is checked against the unsplit model, holding error at or below 3.7 × 10⁻⁴ across the tooling and exact on the reproduced framework.
Measure. Per-part latency and transfer size are recorded so the break-even bandwidth for offloading can be computed rather than guessed.
Engineering decisions
- Establishing correctness before measuring anything
- A split pipeline that is fast but subtly wrong is worthless, and the failure is quiet — the output still looks like a valid detection. Verifying each cut first means every latency number afterwards describes a pipeline that computes the right thing.
- Evaluating all 367 cut points rather than sampling
- Activation sizes do not shrink monotonically through a network, so the latency minimum sits somewhere counter-intuitive and moves with the link. Sampling plausible cuts would miss it. Exhaustive evaluation is also what surfaced that only 16 cuts pass a single tensor.
- Reporting a break-even bandwidth instead of a verdict
- Whether to offload is not a fixed answer. Splitting a 34 ms local inference only pays off above roughly 390 Mbps, so the useful output is the threshold, which a deployment can check against its own network.
- Building a genuinely heterogeneous testbed
- Dual-boot Ubuntu across UEFI and Legacy BIOS machines plus a KVM virtual machine surfaces the dependency and environment problems a homogeneous cluster hides — and those are exactly what a real device-to-edge deployment hits.
Results
- Reproduced split inference for YOLO26n and Qwen3-0.6B at 175 ms end to end, with output identical to the unsplit model.
- All 367 candidate cut points evaluated for correctness, latency and transfer size, holding error at or below 3.7 × 10⁻⁴.
- Established that only 16 of 367 cuts carry a single tensor, and that offloading a 34 ms local inference breaks even only above roughly 390 Mbps.
- Three reproducibility failures in the research installer diagnosed from logs and source, each documented for the development team.
- A heterogeneous Linux testbed built from scratch: dual-boot Ubuntu on UEFI and Legacy BIOS machines, plus a KVM virtual machine mirroring the supported environment.
Limitations
- The work is ongoing and there is no public repository yet.
- Results so far cover YOLO26n and Qwen3-0.6B; generalization to other architectures is not yet established.
- The break-even bandwidth is specific to the models and hardware measured, not a universal threshold.