HyperGraph ROS: An Open-Source Robot Operating System for Hybrid Parallel Computing based on Computational HyperGraph

Shufang Zhang, Jiazheng Wu, Jiacheng He, Kaiyi Wang, Shan An · DOI

Abstract

Modern robotics applications demand high-performance communication and efficient resource utilization, yet industry-standard frameworks like the Robot Operating System (ROS) often struggle with architectural overhead. This paper introduces HyperGraph ROS, a lightweight, high-performance alternative designed to unify intra-process, inter-process, and cross-device communication through a single "computational hypergraph." By integrating Intel Threading Building Blocks (TBB) for parallel scheduling and ZeroMQ for distributed messaging, HyperGraph ROS achieves significantly higher throughput and lower latency than ROS 2, particularly in resource-constrained environments.

Introduction

While ROS 1 and ROS 2 have become the foundational frameworks for robotics development, they carry significant architectural baggage that can hinder real-time performance. Developers frequently encounter four primary bottlenecks:

  1. Communication Overhead: ROS 2's reliance on the Data Distribution Service (DDS) introduces latency, and its intra-process communication often requires complex manual configurations.
  2. Inefficient Scheduling: Standard ROS lacks sophisticated parallel scheduling, failing to fully exploit multi-core processor architectures.
  3. Serialization Redundancy: The mismatch between common serialization formats like Protocol Buffers (protobuf) and the native ROS protocol leads to "double-copying" of data, wasting CPU cycles.
  4. Resource-Heavy Visualization: Standard tools like RViz are built on heavy libraries (Qt and OGRE), sometimes consuming more resources than the robotic algorithms themselves.

HyperGraph ROS addresses these issues by reimagining the robot's software architecture as a unified computational hypergraph, optimizing for both speed and resource efficiency.

System Architecture and Methodology

HyperGraph ROS is built on a hybrid communication model that dynamically selects the most efficient transport method based on the node's location.

Hybrid Communication and Parallelism

For intra-process communication, the system utilizes Intel TBB Flow Graphs with C++ pointer passing. This zero-copy approach ensures that data is shared between nodes within the same process with minimal overhead. For inter-process and cross-device communication, the system seamlessly transitions to ZeroMQ, providing a high-performance alternative to the more cumbersome DDS used in ROS 2.

To maximize hardware utilization, HyperGraph ROS replaces simple callback queues with automated parallelism. Leveraging Intel TBB’s work-stealing algorithm, the system automatically schedules node tasks across available CPU cores upon message reception, ensuring optimal load balancing without manual intervention.

Native Serialization and Lightweight Core

By adopting Protocol Buffers (protobuf) as its native serialization method, HyperGraph ROS ensures broad language compatibility (C++, Python, Java) while eliminating redundant memory copies. This architectural streamlining results in a remarkably small footprint; the core library is approximately 12 MB, a fraction of the 200–300 MB required for a minimal ROS installation.

HyperGraph VIZ

To solve the visualization bottleneck, the authors developed HyperGraph VIZ from scratch using OpenGL, GLFW, and ImGui. Unlike RViz, which relies on heavy rendering engines, HyperGraph VIZ is designed to maintain a stable resource footprint even as the complexity of the environment (such as a SLAM point cloud) increases.

Experimental Results

The system was evaluated through synthetic benchmarks and real-world robotic simulations, comparing its performance directly against ROS 1 and ROS 2.

Latency and Throughput

In cross-device communication tests involving a 4 MB data packet, ROS 2 exhibited a latency of approximately 970ms. In contrast, HyperGraph ROS handled the same packet in less than 80ms. Furthermore, the system demonstrated superior intra-process throughput due to the TBB-based parallel reception mechanism, outperforming both optimized and non-optimized ROS configurations.

Resource Consumption

During SLAM (Simultaneous Localization and Mapping) simulations, the memory usage of HyperGraph VIZ remained stable at a low level. Conversely, ROS RViz showed a linear increase in memory consumption as the map size grew. This stability makes HyperGraph ROS particularly suitable for long-duration missions on hardware with limited RAM, such as low-cost drones or vacuum robots.

Discussion and Limitations

HyperGraph ROS offers a compelling alternative for developers prioritizing performance and deployment on edge devices. The ability to switch a node from local execution to a remote cloud server via a simple YAML configuration—without code changes—highlights its flexibility.

However, the system currently has some limitations:

  • Inter-Process Latency: On the same device, inter-process communication (between different processes) currently shows slightly higher latency than ROS 1/2. This is a result of prioritizing "serialization isolation" for data integrity, an area targeted for future optimization.
  • Ecosystem Maturity: While it provides essential utilities like a parameter server and TF tree, it lacks the vast library of community-contributed drivers and nodes available in the ROS ecosystem.
  • Security: The move from DDS to ZeroMQ trades enterprise-grade security features for performance, which may be a consideration for robots on untrusted networks.

Conclusion

HyperGraph ROS demonstrates that a unified, hypergraph-based approach to robotic communication can yield massive performance gains. By optimizing the core communication stack and visualization tools, it provides a high-performance foundation for the next generation of resource-constrained and multi-robot systems. The project is open-source and available for community contribution on GitHub.

Summary updated

BibTeX
@inproceedings{zhang2025hypergraph,
  author = {Shufang Zhang and Jiazheng Wu and Jiacheng He and Kaiyi Wang and Shan An},
  title = {{HyperGraph ROS: An Open-Source Robot Operating System for Hybrid Parallel Computing based on Computational HyperGraph}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11246232},
}
Figure