Skip to content

alalulu8668/asI-ADMM_RL

Repository files navigation

asI-ADMM_RL

Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT

GitHub last commit GitHub contributors GitHub stars

Overview

This repository contains the code and resources related to the paper titled "Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT." This paper presents a novel approach to decentralized reinforcement learning in the context of Edge IoT, leveraging Adaptive Stochastic Alternating Direction Method of Multipliers (ADMM) for efficient and scalable learning.

Paper Link: Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT

Table of Contents

Introduction

Edge computing provides a promising paradigm to support the implementation of Internet of Things (IoT) by offloading tasks to nearby edge nodes. Meanwhile, the increasing network size makes it impractical for centralized data processing due to limited bandwidth, and consequently a decentralized learning scheme is preferable. Reinforcement learning (RL) has been widely investigated and shown to be a promising solution for decision-making and optimal control processes. For RL in a decentralized setup, edge nodes (agents) connected through a communication network aim to work collaboratively to find a policy to optimize the global reward as the sum of local rewards. However, communication costs, scalability and adaptation in complex environments with heterogeneous agents may significantly limit the performance of decentralized RL. Alternating direction method of multipliers (ADMM) has a structure that allows for decentralized implementation, and has shown faster convergence than gradient descent based methods. Therefore, we propose an adaptive stochastic incremental ADMM (asI-ADMM) algorithm and apply the asI-ADMM to decentralized RL with edge-computing-empowered IoT networks. We provide convergence properties for proposed algorithms by designing a Lyapunov function and prove that the asI-ADMM has $\mathcal{O}(\frac{1}{k}) +\mathcal{O}(\frac{1}{M})$ convergence rate where $k$ and $ M$ are the number of iterations and batch samples, respectively. Then, we test our algorithm with two supervised learning problems. For performance evaluation, we simulate two applications in decentralized RL settings with homogeneous and heterogeneous agents. The experiment results show that our proposed algorithms outperform the state of the art in terms of communication costs and scalability, and can well adapt to complex IoT environments.

Key Features

This repository provides a comprehensive implementation of the research paper "Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT." It consists of the following three main components:

  1. Decentralized Least Square (decentralized_least_square):

    • Implementation of the decentralized least square optimization using proposed asIADMM algorithm.
    • Includes code and resources for solving decentralized optimization problems using least square techniques. Decentralized optimization problems using asI-ADMM
  2. Stochastic Least Square (stochastic_least_square):

    • Implementation of the stochastic least square optimization using stochastic incremental ADMM algorithm. This is the vanila version.
    • Provides tools for solving decentralized optimization problems with a stochastic approach.
  3. ADMM Reinforcement Learning (admm_rl):

    • Integration of Adaptive Stochastic Alternating Direction Method of Multipliers (ADMM) for decentralized reinforcement learning.
    • Use customized environment using matlab reinforcement learning package. Decentralized RL using asI-ADMM
  • All the simulations consider variance in the results, which means multiple realizations are implemented in one results.*

  • Shaded plot with variance uses stdshade.m file. *

Installation

May require reinforcement learning package in matlab.

Acknowledgements

Thanks to Yu Ye for implementation of vanila stochastic ADMM.

Citation

If you find this repository or the research paper "Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT" useful in your work, please consider citing it:

@article{lei2022adaptive,
  title={Adaptive Stochastic ADMM for Decentralized Reinforcement Learning in Edge IoT},
  author={Lei, Wanlu and Ye, Yu and Xiao, Ming and Skoglund, Mikael and Han, Zhu},
  journal={IEEE Internet of Things Journal},
  volume={9},
  number={22},
  pages={22958--22971},
  year={2022},
  publisher={IEEE}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages