UNIFERENCE: A Discrete Event Simulation Framework for Developing Distributed AI Models

Doğaç Eldenk, Stephen Xia
3/27/2026
cs.DCcs.AIcs.LG

Official code: Dogacel/Uniference (3 stars, last commit 2026-03-06).

Abstract

Developing and evaluating distributed inference algorithms remains difficult due to the lack of standardized tools for modeling heterogeneous devices and networks. Existing studies often rely on ad-hoc testbeds or proprietary infrastructure, making results hard to reproduce and limiting exploration of hypothetical hardware or network configurations. We present UNIFERENCE, a discrete-event simulation (DES) framework designed for developing, benchmarking, and deploying distributed AI models within a unified environment. UNIFERENCE models device and network behavior through lightweight logical processes that synchronize only on communication primitives, eliminating rollbacks while preserving the causal order. It integrates seamlessly with PyTorch Distributed, enabling the same codebase to transition from simulation to real deployment. Our evaluation demonstrates that UNIFERENCE profiles runtime with up to 98.6% accuracy compared to real physical deployments across diverse backends and hardware setups. By bridging simulation and deployment, UNIFERENCE provides an accessible, reproducible platform for studying distributed inference algorithms and exploring future system designs, from high-performance clusters to edge-scale devices. The framework is open-sourced at https://github.com/Dogacel/Uniference.

View on arXivView PDF

Code Implementations(1)

Dogacel/UniferenceOfficial100%
31CSS, HTMLAug 14, 20257 months agoNOASSERTION

Similar Papers

Cite this paper

@article{eldenk2026uniference,
  title  = {UNIFERENCE: A Discrete Event Simulation Framework for Developing Distributed AI Models},
  author = {Doğaç Eldenk and Stephen Xia},
  year   = {2026},
  eprint = {2603.26469},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.26469v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.26469.svg)](https://codeofpaper.com/paper/2603.26469)

Discussion