Giter Club home page Giter Club logo

drl4ec's Introduction

Computation Offloading in Edge Computing of Industrial Internet based on Deep Reinforcement Learning

Introduction - Thesis

This project contains codes of Yifan Zhu's undergraduate thesis.

This thesis focuses on multi-objective modeling of the computational offloading problem in edge computing with the main demands of industrial Internet applications, and adopts deep reinforcement learning as a solution method to optimize the resource allocation of edge computing and provide a comprehensive optimal solution for task scheduling in the context of industrial Internet. Currently, industrial Internet applications have a high demand for low latency and low cost: most applications require the shortest possible response time due to QoS considerations; the more resource-rich servers have higher cost per unit time. Therefore, under the consideration of cost control and low latency, this thesis proposes a multi-objective optimization problem with minimizing both as the optimization objective and takes the set of execution locations of tasks as the decision variables. Considering the difficulty of solving the multi-objective optimization problem, this study solves the problem with a deep reinforcement learning algorithm and proposes to self-learn to get the optimal strategy. Considering the convergence speed and the robustness of the results, the proposed weighted summation method is used to decompose the multi-objective problem into multiple scalar optimization subproblems, while the subproblems are modeled using a pointer network and the actor-critic method is used to train the model parameters in order to learn to obtain the best optimization strategy and obtain the Pareto front. Three deep reinforcement learning models are trained in the experiments, and the neighborhood parameter transfer method, generalization performance, and convergence and distributivity of the Pareto frontier are analyzed and evaluated respectively.

Introduction - project

  1. To train the model, run main.py
  2. Trained model is available in these directories:
  • ec_no_transfer: model trained without parameter transfer strategy.
  • ec_transfer-10ec-20task: model trained to solve problems with 10 servers and 20 tasks.
  • ec_transfer-10ec-40task: model trained to solve problems with 10 servers and 40 tasks.
  1. To test trained model, modify the model directory and run test.py

Please note that many codes are inherited from https://github.com/mveres01/pytorch-drl4vrp

drl4ec's People

Contributors

yifan-zhu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.