# Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks

デジタルツインネットワークにおける確率的計算オフロードのための深層強化学習

Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · arXiv · 2020年11月17日

- **課題** IIoTにおける確率的なタスク到着と時変チャネルの下で、デジタルツインに基づいて計算オフロードと資源割り当てを、長期的なエネルギー効率の観点から最適化する問題です。
- **手法** デジタルツインネットワークの状態をLyapunov最適化によって毎スロットの問題に置き換え、それを非同期Actor-CriticベースのDRLで解きます。
- **結果** シミュレーションでは、提案手法がベンチマークより低いsystem costを示します。デバイス数5から20の範囲の比較では、DQNより低いコストが報告されています。

## IIoT計算オフロードで確率的なタスク到着が難しい理由

IIoTデバイスはセンサーやアプリケーションからデータを継続的に生成するため、タスクの到着は一度だけ与えられる固定のタスクではなく、時間とともに変化する確率過程です。著者らは、既存研究の多くが各デバイスは単一の計算タスクを実行すると仮定しているか、タスク到着のランダム性を十分に反映していないと指摘し、そのままではIIoT環境に適用しにくいと述べています。ここに伝送リンクの確率的なチャネル変動と、デバイスと基地局の間の資源の異質性が加わると、オフロード判断と送信電力、帯域幅、計算資源を同時に最適化することはさらに難しくなります。この論文は、デジタルツインで構成したDigital Twin Network上で、この問題を長期的なエネルギー効率の観点から扱っています。

![Figure 1: Concept of digital twin](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-abfea67b49c3be61437c33063b40969c.png?thumb=512)

**Fig. 1** : Concept of digital twin

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの1ページ目から図の部分を抽出しています。

## デジタルツインネットワークの構成とキューモデル

提案する構造は、物理IIoTネットワークとデジタルツインに分かれます。物理ネットワークには、分散したIIoTデバイス、エッジサーバーを持つSBS、そしてエッジサーバーとDRLエージェントを持つMBSがあります。デジタルツインは、デバイスと基地局の位置、送信電力、帯域幅、計算資源を仮想モデルとして保持し、デバイスと基地局の間の接続関係を更新します。各デバイスのローカルバッファ長は\\(Q\_{li}(t+1)=\\max\\{Q\_{li}(t)-\\Psi\_i(t),0\\}+\\lambda\_i(t)\\)で更新され、ここで\\(\\Psi\_i(t)\\)は、ローカル実行とオフロードによってバッファから出ていくタスク量です。

エッジバッファ長も、オフロードされたタスク量を加え、エッジサーバーが実行したタスク量を引く形で、同じ形で更新されます。

![Figure 2: The digital twin network](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-9dc545995829a31fcba63deba1293bc0.png?thumb=512)

**Fig. 2** : The digital twin network

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。

## Lyapunov最適化で長期問題を時間スロット問題に変える方法

長期エネルギー効率問題P1は、複数のスロットにわたる平均エネルギーと平均処理タスク量の比を最小化しつつ、キュー安定性の制約を満たす必要があります。著者らはLyapunov optimizationを用いて、この長期の目的と制約を、1つの時間スロットで解ける部分問題に変換します。キュー長の二乗和で定義したLyapunov関数に、デバイスごとの摂動ベクトルβを加え、その条件付きドリフトと重みVを掛けたネットワーク効率項を加えたdrift-plus-penaltyの形を最小化します。Vは非負の重みであり、ドリフトを減らすことはキューを安定させ、効率項を減らすことは目的を下げる役割を持ちます。βはデジタルツインがデバイスごとに予測し、こうして得られた毎スロット問題P2をDRLの目的として使用します。

## Markov decision processで構成したDRL環境

P2を学習するため、著者らはMarkov decision processを構成します。状態s(t)には、デジタルツインが更新した伝送データレート行列、デバイスとエッジサーバーの計算資源ベクトル、最大送信電力、帯域幅ベクトル、ローカルとエッジのキュー長が含まれます。行動a(t)は、帯域幅割り当て、送信電力、エッジサーバーが送り出すタスク量、デバイスとエッジの計算資源割り当てからなります。行動変数はすべて連続値であるため、著者らは方策勾配ベースのDRLを選びます。即時報酬は、P2の目的に負の符号を付けた形であり、これを最大化することはシステムコストを最小化することと同じです。制約を満たせば報酬を受け取り、違反すると負の定数のペナルティを受けます。

エージェントの目標は、割引率δを適用した累積報酬の期待値を最大化することです。

![Figure 3: Digital twin enabled DRL algorithm](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-ef3ef8f99627a484d2674f608b81bd1b.png?thumb=512)

**Fig. 3** : Digital twin enabled DRL algorithm

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

## Asynchronous Actor-Criticの方策勾配と非同期学習

AACはActor-Critic構造を用います。Actorネットワークは現在の状態から行動を生成し、Criticネットワークは状態の価値を推定して現在の方策を評価します。Actorのパラメータは、行動の対数確率にadvantage functionを掛けた方策勾配で更新されます。advantage functionは、行動が期待より良かったか悪かったかを示します。Criticは、二乗の時間差誤差を減らす方向に更新されます。学習では、複数の学習エージェントがそれぞれ環境の複製と相互作用し、tmaxステップごとに蓄積した更新をグローバルエージェントに送る非同期方式で行われます。著者らは、DQNのリプレイメモリが必要とするオフポリシー学習と大きなメモリを使う代わりに、非同期学習によって隣接サンプルの相関を減らす方法を選んだと説明しています。

## システムコストの比較と学習率への感度

数値実験は、MBS 1個、SBS 3個、デバイス20個、Rayleigh fadingチャネルの設定で行われました。帯域幅と送信電力を除いた変形、計算資源割り当てを除いた変形と、提案手法を比べると、提案手法は計算オフロード、帯域幅、送信電力、計算資源割り当てを同時に最適化する分、2つのベンチマークより低いsystem costを示します。著者らは、2つの変形のうち帯域幅と送信電力を除く方のコストの差がより大きいことから、この2つの資源の最適化が性能により大きく影響すると解釈しています。デバイス数を5から20まで変えた比較では、DQNよりAACベースのアルゴリズムのsystem costが低く報告されており、学習率0.001では提案アルゴリズムのsystem costが最も低い値に収束すると報告されています。

デバイス数が増えるほど、すべての方式のsystem costが増加することも確認されています。

![Figure 4: System cost under different schemes](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-867c6f667daaa6af5533fcb7c0dbc062.png?thumb=512)

**Fig. 4** : System cost under different schemes.

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

![Figure 6: System cost with respect to the number of devices under different schemes](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-7d954bb75f807b48816229bd16de3665.png?thumb=512)

**Fig. 6** : System cost with respect to the number of devices under different schemes.

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

![Figure 7: System cost with respect to the number of devices under different DRL algorithms](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-4dff899ba3189cf022cda2ca7b274f2f.png?thumb=512)

**Fig. 7** : System cost with respect to the number of devices under different DRL algorithms.

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

![Figure 8: Impact of the learning rate on performance](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-39a28c562c8e3618161f224f4d8f7b19.png?thumb=512)

**Fig. 8** : Impact of the learning rate on performance.

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

## 結果の解釈の範囲と確認されていない点

結果はシミュレーションの設定で得られたものです。チャネルはRayleigh fadingと仮定され、デバイス数、SBS数、帯域幅、CPU能力が特定の値に固定されています。デバイス数によるSBS数の比較の説明には、N=40に言及する文とN=20の設定が同時に現れるため、2つの条件の関係は本文だけでは明確ではありません。学習率の実験で探索した他の値の範囲も、論文には示されていません。DQNとの比較で、行動の離散化がより良い行動を取り逃がすという説明は著者らの解釈であり、その原因を直接切り分けた実験で確認されたものではありません。実際のIIoT配備や実測データでの検証は、この論文の範囲には含まれていません。

![Figure 5: System cost with respect to the number of SBSs](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847/figures/figure-a6aa44676bca8c070e4e2d738dab885f.png?thumb=512)

**Fig. 5** : System cost with respect to the number of SBSs

[出典](https://arxiv.org/abs/2011.08430v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang · Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

## 論文情報

- **著者**: Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2020年11月17日
- **登録日**: 2026年11月6日
- **更新日**: 2020年11月18日
- **バージョン**: v2
- **arXiv**: 2011.08430
- **カテゴリ**: cs.LG · cs.AI
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2011.08430v2) · [PDF ↗](https://arxiv.org/pdf/2011.08430v2)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

The rapid development of Industrial Internet of Things (IIoT) requires industrial production towards digitalization to improve network efficiency. Digital Twin is a promising technology to empower the digital transformation of IIoT by creating virtual models of physical objects. However, the provision of network efficiency in IIoT is very challenging due to resource-constrained devices, stochastic tasks, and resources heterogeneity. Distributed resources in IIoT networks can be efficiently exploited through computation offloading to reduce energy consumption while enhancing data processing efficiency. In this paper, we first propose a new paradigm Digital Twin Networks (DTN) to build network topology and the stochastic task arrival model in IIoT systems. Then, we formulate the stochastic computation offloading and resource allocation problem to minimize the long-term energy efficiency. As the formulated problem is a stochastic programming problem, we leverage Lyapunov optimization technique to transform the original problem into a deterministic per-time slot problem. Finally, we present Asynchronous Actor-Critic (AAC) algorithm to find the optimal stochastic computation offloading policy. Illustrative results demonstrate that our proposed scheme is able to significantly outperforms the benchmarks.

## この論文を引用

Yueyue Dai, Ke Zhang, Sabita Maharjan, Yan Zhang (2020). Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks. arXiv:2011.08430v2. https://arxiv.org/abs/2011.08430v2

**BibTeX**

```
@misc{dai2020deep,
  title = {{Deep Reinforcement Learning for Stochastic Computation Offloading in Digital Twin Networks}},
  author = {Yueyue Dai and Ke Zhang and Sabita Maharjan and Yan Zhang},
  year = {2020},
  eprint = {2011.08430},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.08430v2}
}
```

## この論文の用語

- [Experience replay](https://refivu.com/ja/terms/5ee9a599e6c6-experience-replay)
- [policy gradient](https://refivu.com/ja/terms/abaf88e7ce4d-policy-gradient)
- [DQN](https://refivu.com/ja/terms/6263174655b5-dqn)
- [Markov decision process](https://refivu.com/ja/terms/5d622f56f22a-markov-decision-process)
- [Deep Reinforcement Learning](https://refivu.com/ja/terms/8edc9bce66e9-deep-reinforcement-learning)
- [actor-critic](https://refivu.com/ja/terms/080ed1efed92-actor-critic)
- [advantage function](https://refivu.com/ja/terms/451ef9a0779f-advantage-function)
- [K-Nearest Neighbors](https://refivu.com/ja/terms/20f336308226-k-nearest-neighbors)

## ほかの論文解説

- [Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learning](https://refivu.com/ja/papers/c8ba1a5f-8040-4096-92b0-d848951ca124-mastering-the-game-of-stratego-with-model-free.md)
- [Variational Quantum Circuits for Deep Reinforcement Learning](https://refivu.com/ja/papers/f6af79b4-b092-4c2a-8589-70b19b37fcc5-variational-quantum-circuits-for-deep-reinforcement-learning.md)
- [Reinforcement Learning via Self-Distillation](https://refivu.com/ja/papers/020d237b-90b6-4f93-9da6-e25bde98d4ec-reinforcement-learning-via-self-distillation.md)
- [Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor](https://refivu.com/ja/papers/ea8ec555-d426-4464-bcf3-677288c80a9c-soft-actor-critic-off-policy-maximum-entropy-deep.md)
- [Asynchronous Methods for Deep Reinforcement Learning](https://refivu.com/ja/papers/39f3326a-859f-4ab8-9bdb-14644a9778e1-asynchronous-methods-for-deep-reinforcement-learning.md)
- [Continuous control with deep reinforcement learning](https://refivu.com/ja/papers/4a1a35c3-732d-4750-869f-588d477a2492-continuous-control-with-deep-reinforcement-learning.md)
- [Federated Social Recommendation with Graph Neural Network](https://refivu.com/ja/papers/ce54fcd7-f119-4f48-9809-3fe4f5cc05cd-federated-social-recommendation-with-graph-neural-network.md)
- [An Introduction to Deep Generative Modeling](https://refivu.com/ja/papers/02e18aa5-91fb-46d1-afb1-87e9dbd71146-an-introduction-to-deep-generative-modeling.md)
- [Visual Spatial Reasoning](https://refivu.com/ja/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4-visual-spatial-reasoning.md)
- [Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction](https://refivu.com/ja/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e-machine-learning-based-network-intrusion-detection-for-big.md)
- [Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks](https://refivu.com/ja/papers/726fc9f2-ea0b-4f5f-b42e-cc0c9f6e4c3a-avoiding-overfitting-a-survey-on-regularization-methods-for.md)
- [Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning](https://refivu.com/ja/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d-learning-agile-soccer-skills-for-a-bipedal-robot.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847-deep-reinforcement-learning-for-stochastic-computation)
