# US 2025/0148786 A1 · System and method for imitation learning in robotics for complex task learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148786 A1
- Document ID: US20250148786A1
- Status: Published application
- Kind: A1
- Application number: 18/923,297
- Filed: 2024-10-22
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: Tata Consultancy Services Limited
- Applicants: Tata Consultancy Services Limited
- Inventors: SAMRAT DUTTA; RAJESH SINHA; PRAKASH CHANDERLAL AMBWANI
- Web page: https://patentgrep.com/patent/US20250148786A1

## CPC

- B25J 9/163: {learning, adaptive, model based, rule based expert control}
- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- B25J 9/1661: {characterised by task planning, object-oriented languages}
- B25J 9/1664: {characterised by motion, path, trajectory planning}
- G05B 13/027: {using neural networks only}
- G05B 19/423: Teaching successive positions by walk-through, i.e. the tool head or end effector being grasped and guided directly, with or without servo-assistance, to follow a path
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 10/86: using syntactic or structural representations of the image or video pattern, e.g. symbolic string recognition; using graph matching
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G06V 20/70: Labelling scene content, e.g. deriving syntactic or semantic representations
- G05B 2219/39298: Trajectory learning
- G05B 2219/40115: Translate goal to task program, use of expert system
- G05B 2219/40116: Learn by operator observation, symbiosis, show, watch
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

The embodiments of present disclosure herein address unresolved problem of key capabilities that an intelligent robot must possess to perform complex and long-horizon object manipulation tasks without human intervention. The present disclosure overcomes above mentioned challenges by decoupling imitation learning task into two parts using a decouple neural network architecture comprising two modules. A high-level module that segments out sequence of primitive actions from video of human demonstration of a complex task and a low-level module that executes those primitives sequentially on robot. The high-level module, Task Sequencing Network (TSNet), is a hybrid neural network composed of Convolutional Neural Network (CNN), Recurrent Neural Network (RNN) with Connectionist Temporal Classification (CTC) loss, while low-level controller is built using dynamic movement primitives (DMP). The network is trained in a supervised learning setting. The CNN, RNN with CTC combination helps in efficiently segmenting task primitives in sequence for given input video demonstrations.

## Claims

### Claim 1

A processor-implemented method comprising:
collecting, via an input/output interface, a plurality of videos of a long-horizon task demonstration and a plurality of kinesthetic robot demonstration, wherein during the kinesthetic robot demonstration a manipulator robotic arm is manually actuated to perform a plurality of primitive actions and joint angle data of the manipulator is recorded;
sampling, via one or more hardware processors, a plurality of frames at a plurality of time steps from each of the plurality of videos using a uniform temporal sampling to identify a sequence of one or more sub-tasks in the plurality of videos of a task demonstration;
labeling, via the one or more hardware processors, the sampled plurality of frames with an associated sub-task of the one or more sub-tasks to generate a training dataset;
training, via the one or more hardware processors, a Task Sequencing Network (TSNet) using the generated training dataset comprising the long-horizon task demonstration to predict the sequence of one or more sub-tasks associated with the plurality of frames;
obtaining, via the one or more hardware processors, the one or more sub-tasks predicted with highest probability at each of the plurality of time steps, and removing one or more duplicate sub-tasks and extra blank tokens to predict the sequence of one or more sub-tasks using the trained TSNet;
building, via the one or more hardware processors, a manipulation graph from the predicted sequence of one or more sub-tasks to generate a parameterized trajectory based on the manipulation graph;
training, via the one or more hardware processors, one or more Dynamic Movement Primitive (DMP) models using the plurality of the kinesthetic robot task demonstration to build a Task Agnostic DMP Library (TADL) comprising DMPs associated with the one or more sub-tasks; and
selecting, via the one or more hardware processors, a relevant movement for the one or more sub-tasks from the TADL to execute an intended movement comprising of one or more sub-tasks on a manipulator robotic arm.

### Claim 2 (depends on 1)

The processor-implemented method of claim 1, wherein the TSNet comprises a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN).

### Claim 3 (depends on 2)

The processor-implemented method of claim 2, wherein the CNN is trained to classify the plurality of frames.

### Claim 4 (depends on 2)

The processor-implemented method of claim 2, wherein the RNN is trained to learn the temporal relationship between the plurality of frames.

### Claim 5 (depends on 2)

The processor-implemented method of claim 2, wherein the CNN and the RNN are trained using a Connectionist Temporal Classification (CTC) loss function.

### Claim 6

A system comprising:
a memory storing instructions;
one or more Input/Output (I/O) interfaces; and
one or more hardware processors coupled to the memory via the one or more I/O interfaces, wherein the one or more hardware processors are configured by the instructions to:
collect a plurality of videos of a long-horizon task demonstration and a plurality of kinesthetic robot demonstration, wherein during the kinesthetic robot demonstration a manipulator robotic arm is manually actuated to perform a plurality of primitive actions and joint angle data of the manipulator is recorded;
sampling a plurality of frames at a plurality of time steps from each of the plurality of videos using a uniform temporal sampling to identify a sequence of one or more sub-tasks in the plurality of videos of a task demonstration;
label the sampled plurality of frames with an associated sub-task of the one or more sub-tasks to generate a training dataset;
train a Task Sequencing Network (TSNet) using the generated training dataset comprising the long-horizon task demonstration to predict the sequence of one or more sub-tasks associated with the plurality of frames;
obtain the one or more sub-tasks predicted with highest probability at each of the plurality of time steps, and removing one or more duplicate sub-tasks and extra blank tokens to predict the sequence of one or more sub-tasks using the trained TSNet;
build a manipulation graph from the predicted sequence of one or more sub-tasks to generate a parameterized trajectory based on the manipulation graph;
train one or more Dynamic Movement Primitive (DMP) models using the plurality of the kinesthetic robot task demonstration to build a Task Agnostic DMP Library (TADL) comprising DMPs associated with the one or more sub-tasks; and
select a relevant movement for the one or more sub-tasks from the TADL to execute an intended movement comprising of one or more sub-tasks on a manipulator robotic arm.

### Claim 7 (depends on 6)

The system of claim 6, wherein the TSNet comprises a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN).

### Claim 8 (depends on 7)

The system of claim 7, wherein the CNN is trained to classify the plurality of frames.

### Claim 9 (depends on 7)

The system of claim 7, wherein the RNN is trained to learn the temporal relationship between the plurality of frames.

### Claim 10 (depends on 7)

The system of claim 7, wherein the CNN and the RNN are trained using a Connectionist Temporal Classification (CTC) loss function.

### Claim 11

One or more non-transitory machine-readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause:
collecting, via an input/output interface, a plurality of videos of a long-horizon task demonstration and a plurality of kinesthetic robot demonstration, wherein during the kinesthetic robot demonstration a manipulator robotic arm is manually actuated to perform a plurality of primitive actions and joint angle data of the manipulator is recorded;
sampling a plurality of frames at a plurality of time steps from each of the plurality of videos using a uniform temporal sampling to identify a sequence of one or more sub-tasks in the plurality of videos of a task demonstration;
labeling the sampled plurality of frames with an associated sub-task of the one or more sub-tasks to generate a training dataset;
training a Task Sequencing Network (TSNet) using the generated training dataset comprising the long-horizon task demonstration to predict the sequence of one or more sub-tasks associated with the plurality of frames;
obtaining the one or more sub-tasks predicted with highest probability at each of the plurality of time steps, and removing one or more duplicate sub-tasks and extra blank tokens to predict the sequence of one or more sub-tasks using the trained TSNet;
building a manipulation graph from the predicted sequence of one or more sub-tasks to generate a parameterized trajectory based on the manipulation graph;
training one or more Dynamic Movement Primitive (DMP) models using the plurality of the kinesthetic robot task demonstration to build a Task Agnostic DMP Library (TADL) comprising DMPs associated with the one or more sub-tasks; and
selecting a relevant movement for the one or more sub-tasks from the TADL to execute an intended movement comprising of one or more sub-tasks on a manipulator robotic arm.

### Claim 12 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the TSNet comprises a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN).

### Claim 13 (depends on 12)

The one or more non-transitory machine-readable information storage mediums of claim 12, wherein the CNN is trained to classify the plurality of frames.

### Claim 14 (depends on 12)

The one or more non-transitory machine-readable information storage mediums of claim 12, wherein the RNN is trained to learn the temporal relationship between the plurality of frames.

### Claim 15 (depends on 12)

The one or more non-transitory machine-readable information storage mediums of claim 12, wherein the CNN and the RNN are trained using a Connectionist Temporal Classification (CTC) loss function.
