Phyelds: A Pythonic Framework for Aggregate Computing

📅 2026-03-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the lack of native support for aggregate computing paradigms in the Python ecosystem, which has hindered seamless integration with data science and machine learning workflows. To bridge this gap, the authors introduce, for the first time, a field calculus–based aggregate computing model directly into Python, designing and implementing a lightweight yet extensible library that offers a Pythonic API. The resulting framework integrates smoothly with mainstream tools such as PyTorch and TensorFlow. Beyond filling a critical void in Python’s computational capabilities, the study demonstrates the approach’s effectiveness and generality across diverse application domains, including sensor networks, federated learning coordination, and multi-agent reinforcement learning simulations.
📝 Abstract
Aggregate programming is a field-based coordination paradigm with over a decade of exploration and successful applications across domains including sensor networks, robotics, and IoT, with implementations in various programming languages, such as Protelis, ScaFi (Scala), and FCPP (C++). A recent research direction integrates machine learning with aggregate computing, aiming to support large-scale distributed learning and provide new abstractions for implementing learning algorithms. However, existing implementations do not target data science practitioners, who predominantly work in Python--the de facto language for data science and machine learning, with a rich and mature ecosystem. Python also offers advantages for other use cases, such as education and robotics (e.g., via ROS). To address this gap, we present Phyelds, a Python library for aggregate programming. Phyelds offers a fully featured yet lightweight implementation of the field calculus model of computation, featuring a Pythonic API and an architecture designed for seamless integration with Python's machine learning ecosystem. We describe the design and implementation of Phyelds and illustrate its versatility across domains, from well-known aggregate computing patterns to federated learning coordination and integration with a widely used multi-agent reinforcement learning simulator.
Problem

Research questions and friction points this paper is trying to address.

aggregate computing
Python
machine learning
data science
field calculus
Innovation

Methods, ideas, or system contributions that make the work stand out.

aggregate computing
field calculus
Pythonic API
federated learning
multi-agent reinforcement learning
🔎 Similar Papers
No similar papers found.