# Token-based Function Computation with Memory

**Authors:** Saber Salehkaleybar, S. Jamaloddin Golestani

arXiv: 1703.08831 · 2017-03-28

## TL;DR

This paper introduces a token-based distributed function computation algorithm with memory that accelerates meeting times of tokens and reduces complexity compared to previous methods, with proven theoretical improvements and robustness enhancements.

## Contribution

The paper presents the TCM algorithm, a novel token-based approach with a chasing mechanism that improves meeting times and complexity over the CRW algorithm in various network topologies.

## Key findings

- TCM reduces time complexity by at least √(n/log n) in Erdös-Renyi and complete graphs.
- In torus networks, TCM reduces time complexity by log(n)/log(log n).
- Simulation shows at least constant factor message complexity improvement.

## Abstract

In distributed function computation, each node has an initial value and the goal is to compute a function of these values in a distributed manner. In this paper, we propose a novel token-based approach to compute a wide class of target functions to which we refer as "Token-based function Computation with Memory" (TCM) algorithm. In this approach, node values are attached to tokens and travel across the network. Each pair of travelling tokens would coalesce when they meet, forming a token with a new value as a function of the original token values. In contrast to the Coalescing Random Walk (CRW) algorithm, where token movement is governed by random walk, meeting of tokens in our scheme is accelerated by adopting a novel chasing mechanism. We proved that, compared to the CRW algorithm, the TCM algorithm results in a reduction of time complexity by a factor of at least $\sqrt{n/\log(n)}$ in Erd\"os-Renyi and complete graphs, and by a factor of $\log(n)/\log(\log(n))$ in torus networks. Simulation results show that there is at least a constant factor improvement in the message complexity of TCM algorithm in all considered topologies. Robustness of the CRW and TCM algorithms in the presence of node failure is analyzed. We show that their robustness can be improved by running multiple instances of the algorithms in parallel.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.08831/full.md

## Figures

30 figures with captions in the complete paper: https://tomesphere.com/paper/1703.08831/full.md

## References

29 references — full list in the complete paper: https://tomesphere.com/paper/1703.08831/full.md

---
Source: https://tomesphere.com/paper/1703.08831