Policy Network Few-Shot Imitation Under Domain Shift

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing few-shot imitation systems for artificial agents, such as robots, require numerous demonstrations to learn tasks and struggle with domain shifts, suboptimal demonstrators, and inefficient training, limiting their ability to generalize effectively.

Innovation Solution

A method using reinforcement learning to train a policy network with a transformer-based architecture and axial attention, allowing efficient few-shot imitation by processing multiple demonstrations and observations, addressing domain shifts and improving on suboptimal demonstrations without additional training.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional imitation learning methods are used, then the agent can learn from demonstrations, but the number of demonstrations required becomes prohibitively large

Engineering Contradiction:
Improveimitation accuracyVSAvoidnumber of demonstrations
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent introduces an intermediary representation learning layer that transforms demonstrations into task-independent features. This intermediary representation acts as a mediator between the raw demonstrations and the policy network, enabling the agent to learn from fewer demonstrations by extracting essential task characteristics without requiring extensive demonstration data

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter space by transforming demonstrations into a standardized representation format with specific dimensional constraints. By parameterizing the demonstration representation and applying consistent transformation rules, the system can generalize from fewer demonstrations across different tasks

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the agent is trained on multiple tasks to build generalization, then the agent can perform diverse tasks, but the training complexity and time increase

Engineering Contradiction:
Improvetask generalization capabilityVSAvoidtraining system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the training process into distinct components: demonstration processing module, representation learning module, and policy learning module. This segmentation allows each component to be optimized independently and trained on specific task types, reducing overall training complexity while maintaining versatility

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal representation learning framework that can process demonstrations from multiple tasks using the same architecture. The representation module serves multiple functions by extracting task-independent features that can be applied across different task domains, reducing the need for task-specific training components

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If behavior cloning or inverse reinforcement learning is used, then the agent can learn from demonstrations, but the methods fail to handle domain shift between agent and demonstrator

Engineering Contradiction:
Improveaction prediction accuracyVSAvoiddomain shift robustness
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent applies preliminary domain adaptation by transforming demonstrations into a standardized representation before policy learning. This preliminary processing step prepares the demonstrations for cross-domain generalization by extracting task-independent features that are robust to domain shifts between agent and demonstrator

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates an abstract copy of the demonstration information through representation learning, rather than directly copying actions. This abstract representation captures the essential task structure while being invariant to domain-specific variations, enabling the agent to generalize to new domains

Inventive Principle:
Principle #26Copying

4Measurement precision

If the policy is trained for each new task, then the agent can perform the specific task accurately, but the training time increases for every new task

Engineering Contradiction:
Improvetask performance accuracyVSAvoidtraining time per task
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary representation learning on demonstrations before task-specific policy training. By pre-processing demonstrations into standardized representations, the system reduces the computational burden of subsequent policy training, enabling faster adaptation to new tasks while maintaining accuracy

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts task-independent features from demonstrations and separates them from task-specific policy learning. By taking out the essential task characteristics into a reusable representation, the system avoids retraining these features for each new task, significantly reducing training time while preserving performance accuracy

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12370678B2Demonstration-conditioned reinforcement learning for few-shot imitation
Publication Date: 2025.07.29 NAVER CORP
  • US12370678B2 patent drawing
  • US12370678B2 patent drawing
  • US12370678B2 patent drawing

AI summary

A computer-implemented method for performing few-shot imitation is disclosed. The method comprises obtaining at least one set of training data, wherein each set of training data is associated with a task and comprises (i) one of samples of rewards and a reward function, (ii) one of samples of state transitions and a transition distribution, and (iii) a set of first demonstrations, training a policy network embodied in an agent using reinforcement learning by inputting at least one set of first demonstrations of the at least one set of training data into the policy network, and by maximizing a risk measure or an average return over the at least one set of first demonstrations of the at least one set of training data based on respective one or more reward functions or respective samples of rewards, obtaining a set of second demonstrations associated with a new task, and inputting the set of second demonstrations and an observation of a state into the trained policy network for performing the new task.