Skip to main content
QUICK REVIEW

[Paper Review] Fiber: A Platform for Efficient Development and Distributed Training for Reinforcement Learning and Population-Based Methods

Jiale Zhi, Rui Wang|arXiv (Cornell University)|Mar 25, 2020
Evolutionary Algorithms and ApplicationsComputer Science35 references5 citations
TL;DR

Fiber is a scalable, dynamically sharded distributed computing framework designed for reinforcement learning (RL) and population-based methods, enabling efficient development and high-performance training across diverse hardware. It outperforms IPyParallel and Spark in scalability and efficiency, reducing training time by over 50% with 256 workers on PPO and scaling effectively from 32 to 1,024 workers without failure.

ABSTRACT

Recent advances in machine learning are consistently enabled by increasing amounts of computation. Reinforcement learning (RL) and population-based methods in particular pose unique challenges for efficiency and flexibility to the underlying distributed computing frameworks. These challenges include frequent interaction with simulations, the need for dynamic scaling, and the need for a user interface with low adoption cost and consistency across different backends. In this paper we address these challenges while still retaining development efficiency and flexibility for both research and practical applications by introducing Fiber, a scalable distributed computing framework for RL and population-based methods. Fiber aims to significantly expand the accessibility of large-scale parallel computation to users of otherwise complicated RL and population-based approaches without the need to for specialized computational expertise.

Motivation & Objective

  • Address the lack of flexible, efficient, and scalable distributed frameworks tailored for reinforcement learning and population-based methods.
  • Overcome limitations of existing frameworks like PyTorch, Ray, and IPyParallel in handling heterogeneous workloads and dynamic scaling.
  • Enable seamless transition from local multiprocessing to large-scale distributed training with minimal code changes.
  • Support unified, low-overhead user interfaces across backends (local, cluster, cloud) to maximize development efficiency.
  • Reduce systems engineering burden for researchers and practitioners while maintaining high throughput and fault tolerance.

Proposed method

  • Fiber employs a master-worker architecture with a lightweight task pool for efficient scheduling of RL and population-based computation tasks.
  • It integrates with cluster managers like Kubernetes for job tracking and resource management, avoiding monolithic control stores.
  • Dynamic scaling is achieved by allocating resources on-demand based on workload phases, enabling fine-grained adaptation to variable computation needs.
  • The framework uses a unified Python API that mirrors standard multiprocessing, allowing users to switch from local to distributed execution with a single import change.
  • It leverages shared noise tables and efficient communication to minimize overhead in population-based methods like ES and PPO.
  • Fiber avoids heavy-weight abstractions like task dependency graphs, reducing memory and communication costs compared to systems like Ray.

Experimental results

Research questions

  • RQ1Can a distributed framework dynamically scale resources across heterogeneous workloads in RL and population-based methods without sacrificing performance?
  • RQ2How does Fiber’s lightweight design compare to heavier frameworks like Ray and IPyParallel in terms of scalability and runtime efficiency?
  • RQ3To what extent can Fiber enable seamless migration from single-machine multiprocessing to large-scale distributed training with minimal code changes?
  • RQ4Does Fiber maintain low overhead while scaling to thousands of workers, especially in compute-intensive RL workloads?
  • RQ5Can Fiber handle variable-length simulation rollouts and phase-dependent resource demands more effectively than existing systems?

Key findings

  • Fiber achieved sub-linear speedup on PPO training, reducing total training time by over 50% when scaling from 8 to 256 workers compared to multiprocessing.
  • With 256 workers, Fiber completed PPO training in less than half the time of the 8-worker multiprocessing baseline, demonstrating strong scalability beyond single-machine limits.
  • Fiber scaled efficiently from 32 to 1,024 workers on ES, with training time decreasing steadily, while IPyParallel failed at 1,024 workers due to communication errors.
  • Fiber maintained 1–3% performance overhead compared to multiprocessing even at high worker counts, indicating low runtime cost.
  • Fiber outperformed IPyParallel in all tested configurations, showing superior scalability and reliability under large-scale parallel workloads.
  • The framework enabled a 1-line code change (replacing 'multiprocessing' with 'fiber') to convert a single-machine PPO implementation into a distributed one, highlighting its development efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.