This repository contains the simulation codes used for the numerical results of the paper:
Multi-User Non-Linearly Separable Distributed Computing
Ali Khalesi, Ahmad Tanha, Derya Malak, and Petros Elia
The paper is available online on arXiv:
https://arxiv.org/abs/2601.16171v2
This work studies a multi-user distributed computing problem where several users request the evaluation of non-linearly separable functions. The proposed framework uses sparse tensor factorization, multidimensional tiling, and graph-based assignment methods to reduce the required number of servers under computation and communication constraints.
The codes in this repository reproduce the numerical comparisons reported in the paper.
The repository includes Python routines for:
- Generating admissible exponent tuples,
- Constructing multidimensional tiles,
- Checking tuple-tile feasibility,
- Building the associated assignment graph,
- Solving the assignment problem using max-flow,
- Computing the proposed achievable number of servers,
- Comparing with the default tensor decomposition baseline,
- Comparing with the Tessellated Distributed Computing baseline,
- Generating IEEE-style histogram plots.
The codes are written in Python and require:
numpy
matplotlibThe implementation also uses standard Python libraries, including:
math
itertools
collectionsTo run the simulations and generate the plots, use:
python main.pyThe script generates comparison plots for different parameter settings, for example:
K = 6, L = 3, P = 6, Lambda = 3, Delta = 6
K = 8, L = 5, P = 5, Lambda = 2, Delta = 4The generated figures are saved in both PDF and EPS formats.
If you use this code or find it useful in your research, please cite our paper:
@article{khalesi2026multiuser,
title={Multi-User Non-Linearly Separable Distributed Computing},
author={Khalesi, Ali and Tanha, Ahmad and Malak, Derya and Elia, Petros},
journal={arXiv preprint arXiv:2601.16171},
year={2026}
}You may also cite the repository using the CITATION.cff file.
Ahmad Tanha
GitHub: https://github.com/ahmadtanhaa
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, also known as CC BY-NC-ND 4.0.
You are free to share this material, provided that appropriate credit is given, a link to the license is provided, and any changes are indicated.
You may not use the material for commercial purposes.
You may not distribute modified versions of the material.
For more details, see:
https://creativecommons.org/licenses/by-nc-nd/4.0/
The codes are provided for research and reproducibility purposes. They are intended to accompany the paper and reproduce the numerical results presented therein.