This section presents the MARL architecture for optimizing energy transition in Turkey. The system utilizes Multi-Agent Proximal Policy Optimization which has been used for benchmarking against a total of 12 more algorithms. The main algorithms include value-based (DQN, A3C), policy gradient (SAC, TD3), evolutionary (GA, PSO, DE), fuzzy (Fuzzy Q-Learning, Neuro-Fuzzy), multi-agent (MARL), and meta-learning (MAML, Progressive NN) approaches. Section 3.5.1 describes the MAPPO algorithm and actor-critic architecture; Section 3.5.2 describes multi-agent coordination with a total of 7 regional agents; Section 3.5.3 specifies benchmark algorithms; Section 3.5.4 documents hyperparameter configurations.
Multi-Agent Proximal Policy Optimization (MAPPO): Primary Algorithm
MAPPO is special because it tells us how to fix a policy that has just made a big mistake. MAPPO [schulman2017proximal] achieves a balance between sample efficiency (by enabling multiple epochs per batch through importance sampling), training stability (through a clipped objective that guards against destructive updates) as well as implementation simplicity (with only a few hyperparameters, and being robust to misspecification). This balance motivates many researchers and practitioners to adopt MAPPO as their primary algorithm.
Policy gradient foundation: The parameterized policy is optimized to maximize expected return:
The policy gradient theorem [sutton2000policy] offers a way to calculate the optimal policies:
refers to the advantage. The advantage estimates generated using a critic network reduce variance while maintaining unbiasedness.
Clipped surrogate objective: Updates on policy gradients are like standard policy gradients but for large it breaks. MAPPO clips probability ratio:
Clipped objective:
Where epsilon equals 0.2, which is a typical value. Clipping restricts to the range of [0.8, 1.2], limiting policy changes to 20% per update. If the advantage function is positive (), then the objective increases the probability but with 1.2× clipping. If the advantage function is negative, then the objective decreases this probability but with 0.8× clipping. This conservative updating maintains training stability.
Actor-critic architecture: MAPPO uses two neural networks, actor that returns action distribution and critic that estimates state value. The two networks share common layers that extract features, like convolutional or fully connected processing state. Then their paths diverge to separate heads. Whose parameter count is 40% less than if they were independent networks.
Actor network (policy): A 446-D state is run through the actor network (policy):
- The input normalization process is represented by the formula .
- The first fully connected layer consists of 512 neurons and ReLU activation.
- A layer with 512 neurons activated through ReLU.
- The average head has 119 neurons (one for each action dimension) that are not activated (unbounded).
- The log-std head with 119 neurons has a starting value of -0.5 (std ≈ 0.6), learned during training.
- Generating Action: Sample an action from a normal distribution: .
- The maximum action is multiplied by the effect of squashing function: where is sigmoid.
The Gaussian policy allows for continuous action spaces which will allow capacity additions of 0-15 GW/year. The standard deviation is a learnable parameter of the Gaussian policy, which allows one to balance exploration (high std in early training) and exploitation (low std in late training).
Critic network (value function): The critic network or value function receives a 446-dimensional state as input similar to the actor:
- Shared feature extraction (layers 1-2 identical to actor).
- Head value: 1 neuron no activation (no upper bound value estimate).
- The output from the 3rd step is: , estimated cumulative discounted reward from state $s$.
Critic training minimizes mean squared error:
The Monte Carlo return, which is the sum of the observed rewards or Generalized Advantage Estimation (GAE, λ-return; Schulman et al., 2016) for lower variance.
Generalized Advantage Estimation (GAE): There are three different techniques that are used to estimate the advantage function, they include the following:
- Monte Carlo: Estimate unbiased, high variance () - TD(0): Estimate biased, low variance () - Generalized Advantage Estimation (GAE): The results comes about through combinations of those two equations above. GAE interpolates via λ-weighting: