# 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을 사용해 이 장기 목적과 제약을 한 시간 슬롯에서 풀 수 있는 부문제로 바꿉니다. 큐 길이의 제곱합으로 정의한 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 채널 설정에서 수행되었습니다. 대역폭과 전송 전력을 제외한 변형, 계산 자원 할당을 제외한 변형과 제안 방식을 비교하면, 제안 방식은 계산 오프로딩, 대역폭, 전송 전력, 계산 자원 할당을 동시에 최적화하는 만큼 두 벤치마크보다 system cost가 낮게 나타납니다. 저자들은 두 변형 중 대역폭과 전송 전력을 빼는 쪽의 비용 차이가 더 크므로 이 두 자원의 최적화가 성능에 더 큰 영향을 준다고 해석합니다. 장치 수를 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의 설정이 함께 나타나므로, 두 조건의 관계는 본문만으로 명확하지 않습니다. 학습률 실험에서 탐색한 다른 값의 범위도 원문에 제시되지 않습니다. 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)

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}
}
```

## 이 논문의 용어

- [Markov Decision Process](https://refivu.com/terms/5d622f56f22a-markov-decision-process)
- [experience replay](https://refivu.com/terms/5ee9a599e6c6-experience-replay)
- [deep reinforcement learning](https://refivu.com/terms/8edc9bce66e9-deep-reinforcement-learning)
- [DQN](https://refivu.com/terms/6263174655b5-dqn)
- [policy gradient](https://refivu.com/terms/abaf88e7ce4d-policy-gradient)
- [actor-critic](https://refivu.com/terms/080ed1efed92-actor-critic)
- [advantage function](https://refivu.com/terms/451ef9a0779f-advantage-function)
- [k-nearest neighbors](https://refivu.com/terms/20f336308226-k-nearest-neighbors)
- [digital twin](https://refivu.com/terms/733ff3f69524-digital-twin)
- [Lyapunov optimization](https://refivu.com/terms/596bc43d290a-lyapunov-optimization)

## 다른 논문 해설

- [Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning](https://refivu.com/papers/0ab0f6fd-fd2b-4168-9f77-1d6bbc4443b9-inverse-reinforcement-learning-for-autonomous-navigation-via.md)
- [A quantum information theoretic analysis of reinforcement learning-assisted quantum architecture search](https://refivu.com/papers/5d37d8c6-6130-4013-bae7-992b6c471e4f-a-quantum-information-theoretic-analysis-of-reinforcement.md)
- [Reinforcement Learning Algorithm for Mixed Mean Field Control Games](https://refivu.com/papers/abeaa8fd-737c-49de-a716-4057af36cbb7-reinforcement-learning-algorithm-for-mixed-mean-field.md)
- [Simulation-Driven Balancing of Competitive Game Levels with Reinforcement Learning](https://refivu.com/papers/7e7b05bf-7a68-4833-a165-49dd4c450350-simulation-driven-balancing-of-competitive-game-levels-with.md)
- [Offline Reinforcement Learning for Learning to Dispatch for Job Shop Scheduling](https://refivu.com/papers/cbf013e6-c77a-4b03-b0aa-f08b69ee047f-offline-reinforcement-learning-for-learning-to-dispatch-for.md)
- [Efficient and practical quantum compiler towards multi-qubit systems with deep reinforcement learning](https://refivu.com/papers/f3b3c8a5-f92c-492e-8767-2b01944c00d3-efficient-and-practical-quantum-compiler-towards-multi-qubit.md)
- [Medical Text Classification using Convolutional Neural Networks](https://refivu.com/papers/6c6ab56b-0c08-4daf-8166-fc31659cb292-medical-text-classification-using-convolutional-neural.md)
- [Warped Hypertime Representations for Long-term Autonomy of Mobile Robots](https://refivu.com/papers/027e164d-5004-446f-a111-76276cceafe8-warped-hypertime-representations-for-long-term-autonomy-of.md)
- [Wireless Agentic AI with Retrieval-Augmented Multimodal Semantic Perception](https://refivu.com/papers/4fad3a90-0503-4227-86aa-d43fbcaac150-wireless-agentic-ai-with-retrieval-augmented-multimodal.md)
- [Scientific Computing with Diffractive Optical Neural Networks](https://refivu.com/papers/c8a7c4e2-3078-43aa-9b4d-fefff53ffa75-scientific-computing-with-diffractive-optical-neural.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/3abcd222-e3a8-4466-ab8d-04aeace1e847-deep-reinforcement-learning-for-stochastic-computation)
