Asynchronous Opponent Modeling in Deep RL

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep reinforcement learning (DRL) methods for multiagent systems face challenges in efficiently modeling opponent policies, leading to suboptimal learning performance and slow convergence in complex environments.

Innovation Solution

The proposed Asynchronous Advantage Actor-Critic (A3C) mechanism, specifically the AMS-A3C and AMF-A3C architectures, utilize parameter sharing and policy features to model opponent policies as auxiliary tasks, accelerating learning by improving the prediction of opponent actions and enhancing feature learning in neural networks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional deep reinforcement learning methods are used for multiagent systems, then the system can learn opponent policies, but the learning convergence is slow and performance is suboptimal

Engineering Contradiction:
Improvelearning speedVSAvoidlearning performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the learning process into two distinct neural networks: an opponent model network that predicts opponent actions, and a policy network that learns the agent's own policy. This segmentation allows each network to specialize in specific tasks, improving both learning speed and performance by avoiding the computational burden of learning all aspects in a single network.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The opponent model network performs preliminary prediction of opponent actions before the policy network makes decisions. By pre-processing opponent behavior prediction, the system prepares useful information in advance that guides the policy network's learning process, accelerating convergence and improving overall performance.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If complex opponent modeling is implemented in deep RL, then prediction accuracy improves, but computational complexity and training time increase

Engineering Contradiction:
Improveopponent action prediction accuracyVSAvoidneural network architecture complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The complex opponent modeling task is divided into two specialized networks with distinct architectures. The opponent model network focuses solely on predicting opponent actions with appropriate complexity, while the policy network handles the agent's decision-making. This segmentation prevents either network from becoming overly complex while maintaining high prediction accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The opponent model network acts as an intermediary that processes opponent behavior data and provides predictions to the policy network. This intermediary structure simplifies the overall system by creating a dedicated component for opponent analysis, reducing the complexity burden on the main policy network while improving prediction accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If asynchronous methods are used in deep reinforcement learning, then distribution across threads improves, but coordinating opponent modeling becomes challenging

Engineering Contradiction:
Improvedistributed computing efficiencyVSAvoidsynchronization complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The asynchronous system is segmented into multiple worker threads, each maintaining its own opponent model network and policy network. This segmentation allows independent parallel execution of training processes while keeping synchronization requirements manageable at the level of parameter updates and experience sharing between workers.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11295174B2Opponent modeling with asynchronous methods in deep RL
Publication Date: 2022.04.05 ROYAL BANK OF CANADA
  • US11295174B2 patent drawing
  • US11295174B2 patent drawing
  • US11295174B2 patent drawing

AI summary

A computer system and method for extending parallelized asynchronous reinforcement learning to include agent modeling for training a neural network is described. Coordinated operation of plurality of hardware processors or threads is utilized such that each functions as a worker process that is configured to simultaneously interact with a target computing environment for local gradient computation based on a loss determination mechanism and to update global network parameters. The loss determination mechanism includes at least a policy loss term (actor), a value loss term (critic), and a supervised cross entropy loss. Variations are described further where the neural network is adapted to include a latent space to track agent policy features.