Systems and methods for robot action replanning based on multimodal semantic gap evaluation
The multimodal-action generation framework iteratively refines robot action sequences using a multimodal gap evaluator and LLMs to bridge the gap between task demonstrations and robot capabilities, enhancing execution robustness and reliability in complex tasks.
Patent Information
- Application Number
- PCT/JP2026/080071
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-06-13
- Filing Date
- 2026-04-28
- Publication Date
- 2026-11-26
AI Technical Summary
Current robotic action generation systems fail to address the granularity and hierarchy of robotic actions required for day-to-day tasks, suffer from distribution gaps between training and test environments, and struggle with the semantic gap between task demonstrations and robot capabilities, leading to imperfect action sequence execution.
A multimodal-action generation framework that utilizes a multimodal gap evaluator and large language models (LLMs) to iteratively refine robot action sequences by evaluating discrepancies between task demonstrations and robot observations, aligning robot actions with task demonstrations through a feedback-driven loop, and generating corrective actions.
Enables robots to perform human-demonstrated tasks reliably in mismatched or unseen environments, improving execution robustness and reliability by autonomously adapting to domain mismatches and environmental variability.
Smart Images

Figure JP2026080071_26112026_PF_FP_ABST
Abstract
Description
[DESCRIPTION][Title of Invention]SYSTEMS AND METHODS FOR ROBOT ACTION REPLANNING BASED ON MULTIMODAL SEMANTIC GAP EVALUATION[Technical Field]
[0001] The present disclosure relates generally to artificial intelligence (AI)-assisted robotic manipulation systems, and more specifically to systems and methods for interactive planning and replanning of robotic action sequences.[Background Art]
[0002] Robots have been put to use in several real-world applications. They are operational in industrial and factory setups where mission critical and repetitive actions are flawlessly executed for objectives such as large-scale manufacturing of goods, and handling of cargo and the like. Recently, there has been active research to implement robots for handling day-to-day tasks for humans. Understanding human actions could allow robots to perform a large spectrum of complex manipulation tasks and make collaboration with humans easier. For example, a robotic helper that can perform daily household tasks could be very valuable in future smart homes for assisting older or disabled people. However, it is challenging to design robot agents that can perform such household tasks. Acquiring such skills required for everyday tasks is difficult since collection of data for controlling real robots and training models through supervised learning, especially for long horizon tasks, is a dauntingly complex activity. Thus, approaches to mitigate tedious human expert demonstrations are highly desirable.
[0003] Recently, the use of some machine learning models in creating robotic agents for performing open vocabulary tasks has gained traction. However, current solutions based on such models fail to provide robotic actionsof acceptable quality. Particularly, these solutions fail to address the granularity and hierarchy of robotic actions required to perform day-to-day tasks. While some solutions are too rigid in terms of applicable inputs, other approaches suffer from the distribution gap between training and test environments. Also, the translation of action steps inferred from task demonstration data into robot-executable actions remains challenging. Currently available solutions do not address the domain discrepancies between the task demonstration data and the environment of a robot and the semantic gap between the demonstrated actions and capabilities of the robot. Consequently, the automatic action sequence generation proposed by these conventional approaches is imperfect to meet the standards of robot planning for day-to-day tasks.[Summary of Invention]
[0004] The present disclosure provides an improved robotic control framework that enhances robot task execution by introducing Al-enabled, multimodal action replanning. Embodiments of the present disclosure are directed towards systems and methods for robot control, and more particularly, to a feedback-based action replanning framework that enables iterative adaptation of robot action sequences based on evaluation of discrepancies between task demonstrations and robotic execution. The disclosed system enables robots to identify gap between task demonstrations and robot executable actions and aligns the robot actions with the task demonstrations by operating in a feedback-driven and iterative loop. In this regard, the alignment of robot actions with task demonstrations may be achieved by evaluating a gap between robot observations and the task demonstrations. The robot observations may comprise observation data pertaining to the execution environment of the robot when executing a robot action. The execution environment of the robot may comprise the robot, one or objects on which the robot operates, one or more physical conditions associated with thesurroundings of the robot, and the like. Some embodiments may obtain the robot observations before execution of a robot action and evaluate the gap between the conditions before execution of a demonstrated action as depicted in the task demonstration data and the conditions before execution of a robot action corresponding to the demonstrated action and as depicted in the observation data. Additionally, or alternatively, in some embodiments the robot observations may be obtained after execution of the robot action to evaluate the gap between the conditions after execution of the demonstrated action as depicted in the task demonstration data and the conditions after execution of the corresponding robot action as depicted in the observation data. This approach allows robots to refine their action sequences based on observed discrepancies and adapt to task-based constraints and / or environment-specific constraints. The gap between the task demonstration data and the observation data may be expressed in terms of one or more discrepancies between the task demonstration data and the observation data. Various embodiments are directed towards quantifying the discrepancies in terms of various factors governing the robotic manipulation tasks. In this regard, some embodiments detect domain mismatches between the task demonstration data provided for action sequence generation and the robotic settings. Some embodiments also utilize the differences between states of objects as depicted in the task demonstration data and as observed in observation data pertaining to the robot. Some embodiments further utilize the differences between such object states and action feasibilities to generate missing or corrective actions for the robot thereby aligning the robot actions with the task demonstrations.
[0005] Some embodiments are based on the realization that at some level of operation, an effective human-robot collaboration for shared goals is necessary for seamless integration of robots in human daily lives. It is also a realization of some embodiments that learning robot action sequences from taskdemonstration data such as human videos is a key problem in embodied intelligence, with broad applications such as household assistants and robotic chefs. Some embodiments are based on the realization that there is a need for generating action sequences for controlling a robot to perform a task from instructions and / or demonstrations of the performance of the task.
[0006] Generally, a robot controller cannot transform instructions and / or demonstrations of a task into a sequence of control actions for performing the task. Towards this end, some embodiments realize that at least in theory, it is possible to use large language models (LLMs) to transform generic instructions and / or demonstrations of a task into a sequence of specific commands that a robot controller can understand and transform into a sequence of robotic control actions. For example, a robotic controller cannot directly use a generic instruction like “fry a potato” but can understand a sequence of commands that lead to the potato being fried, such as “take a potato”, “peel the potato”, “cut the potato”, “take a pan”, “add oil to the pan”, “put the pan on a hot stove”, “put the potato into the pan”, etc. It is also a realization of some embodiments that the use of multimodal task demonstration data can further enhance the quality of generated robotic actions. However, current LLM systems do not understand different modalities or treat them separately making one of the modalities dominant over another one. In this regard, some embodiments are based on another realization that a multimodal LLM having a multimodal encoder configured to accept the input data of different modalities and jointly embed the multimodal input into the hidden representations of the same dimensionality as that of the hidden representation of an LLM encoder may be capable of generating robotic actions from the multimodal inputs. However, some embodiments are also based on another realization that despite the multimodal capabilities, the generated robotic actions may still have large discrepancies with the demonstrated actions due to the distribution gap betweentraining and test environments. Accordingly, it is an objective of some embodiments to bridge the gap between training and test environment performances for such robot planning systems.
[0007] Some embodiments realize that although Vision-Language Models (VLMs) and multimodal large language models (MLLMs) can understand instructional videos and generate textual task steps, directly applying VLMs to robot action generation and execution remains highly challenging. Some embodiments recognize that one approach to address this can involve extending VLMs with control-level action decoders. However, such monolithic solutions require large-scale annotated datasets and significant computational resources. Various embodiments also realize that an alternate approach using hierarchical methods first generate high-level task steps using VLMs or MLLMs and then translate them into robot-executable actions using a predefined skill library or pretrained policy models. While this approach simplifies training, it is a realization of some embodiments that such an approach suffers from three fundamental limitations: (i) an environmental gap between the demonstration domain and the robot's physical workspace, (ii) an feasibility gap between human demonstrations and the robot’s capabilities, and (iii) a semantic loss caused by abstraction of rich human demonstrations into textual summaries that omit critical context.
[0008] Existing frameworks follow a one-pass execution strategy, in which action steps are extracted once and executed via modules such as LLM- based translators, imitation learning policies, or action primitive libraries. These approaches typically assume environmental consistency and struggle when exposed to long-horizon tasks with domain shift, such as those encountered in cooking or real-world human environments. These tasks demand not only initial plan generation but also runtime adaptability and correction. Some embodiments thus realized that prior efforts in failurerecovery have explored single-step plan editing, human-in-the-loop corrections, and shallow multimodal feedback, but these methods require human feedback at every step which may not be practical in many ways.
[0009] Example embodiments described herein address these challenges by introducing a multimodal-action generation framework that supports domain-aware evaluation and iterative correction of robot action sequences derived from multimodal task demonstrations. The disclosed framework encompasses a replanning mechanism that utilizes a multimodal gap evaluator and LLMs as agents for computing a semantic gap between the execution environment of the robot and the environment depicted in the task demonstrations. The semantic gap may be defined in terms of one or more discrepancies pertaining to the robot, its execution environment, and the task demonstrations.
[0010] The disclosed system performs semantic mapping of instructional steps into grounded, robot-executable primitives and object references. In some embodiments to further refine the generated actions and to align them with task demonstration data, some embodiments capture observation data to discern the difference or gap between the demonstrated action, environment and objects and the observed action, environment and objects. In this regard, in some embodiments, the observations may be captured before, during, or after execution of the initial set of robot actions generated corresponding to the task demonstration data. Accordingly, hereinafter, unless particularly specified, the observation data may correspond to at least one of: observations captured before execution of the initial set of robot actions, during the execution of the initial set of robot actions, or after execution of the initial set of robot actions Using this observation as feedback, the system performs multimodal gap evaluation by comparing robot-side keyframes with those from the task demonstration data, identifying domain gaps, and generating supplemental orcorrective actions. These actions are compiled into a revised action sequence, which is then output for execution by the robot. This iterative loop continues until task feasibility or success criteria are met.
[0011] By leveraging domain-aware feedback and adaptive plan correction, various embodiments described herein enable robots to perform human-demonstrated tasks more reliably, even in mismatched or previously unseen environments. Such a capability greatly contributes to addressing the quality issues associated with generated robotic actions arising from the gap between training and test environment performances for such robot planning systems.
[0012] Some embodiments also provide an automated action-correction framework that generates and refines robot-executable plans from human demonstrations, enables action and skill adaptation for long-horizon, complex tasks across different workspaces, and introduces an iterative replanning loop based on multimodal robot feedback to improve execution robustness. This framework bridges vision-language planning with domain-level adaptation, supporting scalable and reliable robotic execution across diverse task contexts. The framework integrates four key concepts: action mapping (robotic action sequences generated from task demonstration data are heuristically grounded to robot-executable actions and objects using a semantic mapping), robot observation as feedback (log multimodal observations either before execution of the mapped action sequence by the robot or after the execution of the mapped action sequence by the robot), discrepancy computation and action replanning (robot observations are compared with keyframes in task demonstration data to identify domain gaps, and corrective steps are generated), and iterative plan refinement (corrections are compiled and translated into a new action sequence).
[0013] In one embodiment, a robotic controller is configured to receive task-demonstration data expressed in multiple modalities, such as video, audio, and natural language text, and to generate an initial sequence of robot actions. The robot records observation data corresponding to the execution / simulation of the initial sequence of robot actions. The system then utilizes a multimodal gap evaluator to compare the robot’s observations with representations of the task-demonstration data. Based on this comparison, the system identifies one or more discrepancies related to object states, motion feasibility, or logical task ordering. As described above, the observation data may be captured before the execution of the initial sequence of robot actions, during the execution of the initial sequence of robot actions, or even after execution of the initial sequence of robot actions. Accordingly, the multimodal gap evaluator may be utilized either before executing robot actions to evaluate the beginning setup associated with execution of a robot action, or during the execution of the robot actions to evaluate the interim environment and conditions associated with execution of a robot action, or even after the execution of the robot actions to evaluate the final outcome(s) of the execution of a robot action. Accordingly, the gap evaluation may be done before and after the robot action execution.
[0014] To facilitate this process, some embodiments configure the system to generate the gap report. The gap report serves as a structured, machine- interpretable representation of detected mismatches between intended and observed outcomes for pre-execution of initial actions for the robot, post execution of the initial actions, or for both. The gap report may encode semantic information regarding the type and context of the various discrepancies, such as whether a target object is in an unexpected state (e.g., for a target object such as a fruit, whether it is unsliced instead of sliced), whether an action is infeasible for the robot (e.g., fine grasping not supported), or whether an action sequence violates expected logical constraints (e.g., attempting to place anobject before it has been picked). The discrepancies may be detected for preexecution evaluation (i.e., gap evaluation is done prior to executing an action in the initial set of action sequence), post execution evaluation (i.e., gap evaluation is done after executing / post execution of an action in the initial set of action sequence), or for both pre-execution evaluation and post execution evaluation.
[0015] Considering the object state discrepancy, as an example for preexecution evaluation, the observation data may indicate a tomato is in unsliced state for executing an action corresponding to a task of making a sandwich while the demonstration data depicts that a sliced tomato is used for the action. In such a case the object state discrepancy may be flagged. For the object state discrepancy, as an example for post-execution evaluation, the observation data may indicate that a tomato slice measures 5 mm in thickness after slicing instead of the demonstrated 3 mm thickness. For the object state discrepancy, as an example of both pre-execution and post execution evaluation, the observation data may indicate that an expected heated pan state is absent before cooking and the pan remains cool after the heating step.
[0016] Considering the action feasibility discrepancy, as an example for pre-execution evaluation, the observation data may indicate that the robot’s arm is too short to reach a countertop where the demonstrated tool lies. For the action feasibility discrepancy, as an example for post-execution evaluation, the observation data may indicate that the robot grasps a cup but it slips from the gripper due to insufficient grip force. For the action feasibility discrepancy, as an example of both pre-execution and post execution evaluation, the observation data may indicate that the robot cannot reach the object and, when forced to move within range, the object still slips from the grasp of the robot.
[0017] Considering the logical ordering discrepancy, as an example for pre-execution evaluation, the planned sequence may begin with a “place” action before any “pick” action. For the logical ordering discrepancy, as an example for post-execution evaluation, the robot executes “place unsliced tomato” before slicing. For the logical ordering discrepancy, as an example of both pre-execution and post execution evaluation, a placement step precedes a pick step in both the initial plan and the observed execution.
[0018] The gap report enables what may be referred to as a semantic diagnostic interface, which allows the system to perform closed-loop reasoning. In particular, the gap report provides input to a language-based action planner, which may be implemented using a large language model (LLM) or equivalent module. This planner uses the semantic content of the gap report — along with the original plan and execution history — to generate a revised sequence of robot actions. The revised sequence may include corrective actions, reordering of prior steps, or insertion of previously omitted subtasks. The robot may then execute the updated sequence, and the process may be repeated iteratively until the plan is aligned with the intended task demonstration.
[0019] In various embodiments, the system thus enables a robot to autonomously identify and correct execution failures without human intervention. This feedback-based correction loop allows the robot to adapt to domain mismatches, environmental variability, and embodiment constraints, improving robustness and reliability in executing tasks derived from human demonstrations. Unlike static one-pass planning systems, embodiments described herein leverage a feedback mechanism grounded in multimodal semantic reasoning, allowing the robot to converge toward successful execution through progressive refinement of its action plan.
[0020] In this way, various embodiments described herein provide robust robot control by generating robotic actions that are highly aligned with demonstration data for those tasks. Such effective robot control enables seamless collaboration of robotic manipulators with humans. By replanning the actions considering the semantic gap between the execution and demonstration domains, example embodiments of the disclosure lead to generation of precise robot actions that translate the task demonstrations into robot-executable actions and micro-steps.
[0021] In order to achieve the aforementioned advantages and objectives, some embodiments provide systems, methods, and computer program products for robot action replanning based on multimodal semantic gap evaluation.
[0022] In an embodiment a system for controlling a robot by adapting and refining robot actions based on discrepancies between task demonstrations and robot observations is described. The system comprises an input interface configured to receive task-demonstration data expressed in one or more modalities, a first sequence of robot actions corresponding to the taskdemonstration data, and observation data associated with execution of at least a portion of the first sequence of robot actions. The system further comprises a multimodal gap evaluator configured to compare the observation data with the task-demonstration data to detect one or more discrepancies, the discrepancies comprising at least one of an object-state discrepancy, a motion-feasibility discrepancy, and a logical-ordering discrepancy. The system also includes a memory storing instructions and parameters for a plan-revision language model, and one or more processors operatively coupled to the input interface and memory. The one or more processors are configured to generate a gap report comprising a structured representation of the detected discrepancies and generate a second sequence of robot actions based on the first sequence of robotactions and the gap report. The one or more processors are also configured to cause the robot to execute at least a portion of the second sequence.
[0023] In an embodiment a controller adaptively controlling a robot based on discrepancies between task demonstrations and robotic execution is described. The controller comprises an input interface configured to receive task-demonstration data expressed in a plurality of modalities, a first sequence of robot actions corresponding to the task-demonstration data, and observation data associated with at least one action of the first action sequence executed by the robot. The controller further includes a memory storing computer-readable instructions and parameter data for a multimodal discrepancy evaluator, a planrevision language model, and an affordance scorer configured to output a success metric. The controller comprises one or more processors operatively coupled to the input interface and the memory, the processors configured to command a trajectory controller to drive the robot to execute at least a portion of the first sequence of robot actions. The processors are further configured to compare, using a multimodal discrepancy evaluator, the observation data with the task-demonstration data to evaluate a respective object state of at least one corresponding object as depicted in the observation data and in the taskdemonstration data, a correspondence between a motion indicated by the taskdemonstration data and a motion executable by the robot, and a logical ordering of actions represented in the task-demonstration data and in the first sequence of robot actions. The processors are further configured to generate, based on the comparison, a gap report identifying at least one discrepancy selected from an object-state discrepancy, a motion-feasibility discrepancy, and a logical-ordering discrepancy. The processors are further configured to generate a second sequence of robot actions based on the first sequence of robot actions and the gap report. The processors are further configured to command atrajectory controller to drive at least one robotic actuator in accordance with the second sequence of robot actions.
[0024] In an embodiment, a computer-implemented method for adaptively controlling a robot using multimodal task-demonstration inputs and iterative action correction is described. The method comprises receiving taskdemonstration data expressed in one or more modalities, the taskdemonstration data representing a sequence of actions performed by a subject. The method further comprises obtaining a first sequence of robot actions corresponding to the task-demonstration data and obtaining observation data corresponding to execution of at least a portion of the first sequence of robot actions by the robot. The method further comprises comparing, using a multimodal gap evaluator model, the observation data with the taskdemonstration data to detect one or more discrepancies, the discrepancies comprising at least one of an object-state discrepancy between a depicted object in the observation data and a corresponding object in the task-demonstration data, a motion-feasibility discrepancy between an action represented in the task-demonstration data and an action executable by the robot, or a logical- ordering discrepancy between the ordering of actions in the first sequence and the ordering in the task-demonstration data. The method further comprises generating, based on the comparison, a gap report comprising a structured representation of the one or more discrepancies. The method further comprises generating a second sequence of robot actions based on the first sequence and the gap report, wherein the second sequence is modified to address at least one of the detected discrepancies. The method further comprises causing the robot to execute at least a portion of the second sequence of robot actions.
[0025] The presently disclosed embodiments will be further explained with reference to the following drawings. The drawings shown are notnecessarily to scale, with emphasis instead generally being placed upon illustrating the principles of the presently disclosed embodiments.[Brief Description of Drawings]
[0026] [FIG. 1A]FIG. 1 A illustrates a block diagram of a semantic gap-based action re-planner configured to generate a refined robot action plan based on semantic discrepancies detected between task demonstrations and robot observations, according to some example embodiments.[FIG. 1B]FIG. 1B illustrates schematics of the re-planning process performed by the semantic gap-based action re-planner of FIG. 1A, according to some example embodiments.[FIG. 1C]FIG. 1C illustrates a hierarchical task-decomposition paradigm for long-horizon goals, according to some example embodiments.[FIG. ID]FIG. ID illustrates a framework for obtaining real- world observation data by executing a first robot action sequence using a robot, according to some example embodiments.[FIG. IE]FIG. IE illustrates a framework for obtaining simulated observation data corresponding to the first robot action sequence, according to some example embodiments.[FIG. IF]FIG. IF illustrates an exemplar depiction of one of the various types of discrepancies generated by the semantic gap-based action re-planner of FIG.1 A, according to some example embodiments.[FIG. 1G]FIG. 1 G illustrates an exemplar depiction of one of the various types of discrepancies generated by the semantic gap-based action re-planner of FIG.1 A, according to some example embodiments.[FIG. 1H]FIG. 1H illustrates an exemplar depiction of one of the various types of discrepancies generated by the semantic gap-based action re-planner of FIG.1 A, according to some example embodiments.[FIG. II]FIG. II illustrates an exemplar depiction of one of the various types of discrepancies generated by the semantic gap-based action re-planner of FIG.1 A, according to some example embodiments.[FIG. 2A]FIG. 2A illustrates a block diagram of an LLM-based action generator for generating the first sequence of robot actions from multimodal task demonstration data, according to some example embodiments.[FIG. 2B]FIG. 2B illustrates the detailed schematics of generating the first action sequence via the LLM-based controller of FIG. 2A, according to some example embodiments.[FIG. 2C]FIG. 2C illustrates dual output streams produced by the LLM-based controller of FIG. 2A, according to some example embodiments.[FIG. 2D]FIG. 2D illustrates schematics of key frame selection in the task demonstration data corresponding to an action in the first action sequence, according to some example embodiments.[FIG. 3]FIG. 3 illustrates a flowchart of an iterative action re-planning method for a robot, according to some example embodiments.[FIG. 4]FIG. 4 illustrates an architecture of a multimodal gap evaluator of the semantic gap-based action re-planner of FIG. 1A, according to some example embodiments.[FIG. 5]FIG. 5 illustrates an example gap report enumerating some discrepancies between the task demonstrations and robot observations and environment, according to some example embodiments.[FIG. 6]FIG. 6 illustrates schematics of a general-purpose robot for object manipulation, depicting coordinate axes and reference frames used during execution of action sequences.[FIG. 7]FIG. 7 illustrates various components of a robotic controller system, including an input interface, processor, memory, server computer, storage device, userinterface devices, and control program.[FIG. 8]FIG. 8 illustrates a use case of the disclosure, depicting the integration of semantic gap-based re-planning within a practical robotic manipulation scenario.[Description of Embodiments]
[0027] While the above-identified drawings set forth presently disclosed embodiments, other embodiments are also contemplated, as noted in the discussion. This disclosure presents illustrative embodiments by way of representation and not limitation. Numerous other modifications and embodiments can be devised by those skilled in the art which fall within the scope and spirit of the principles of the presently disclosed embodiments.
[0028] The following description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the following description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing one or more exemplary embodiments. Contemplated are various changes that may be made in the function and arrangement of elements without departing from the spirit and scope of the subject matter disclosed as set forth in the appended claims.
[0029] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, understood by one of ordinary skill in the art can be that the embodiments may be practiced without these specific details. For example, systems, processes, and other elements in the subject matter disclosed may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known processes, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments. Further, like-reference numbers and designations in the various drawings may indicate like elements.
[0030] Also, individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, astructure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process may be terminated when its operations are completed but may have additional steps not discussed or included in a figure. Furthermore, not all operations in any particularly described process may occur in all embodiments. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, the function’s termination can correspond to a return of the function to the calling function or the main function.
[0031] Furthermore, embodiments of the subject matter disclosed may be implemented, at least in part, either manually or automatically. Manual or automatic implementations may be executed, or at least assisted, through the use of machines, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine-readable medium. A processor may perform the necessary tasks.
[0032] Robots have now become an essential component of major tasks in many industries. Dedicated as well as reprogrammable robots are put in use to perform mission critical tasks with accuracy and speed. Traditionally, robot control involved explicit programming which limited their adaptability and restricted their functionality to predefined tasks. However, recent advancements in machine learning, computer vision, and artificial intelligence have paved the way for new approaches to robot control, making it possible to control robots using multimodal information extracted from sensor data. The applications of robot control and manipulation by robots of their environment are immense, such as in hospitals, elderly and childcare, factories, outer space,restaurants, service industries, and homes. Such a wide variety of deployment scenarios, and the pervasive and unsystematic environmental variations in even quite specialized scenarios like food preparation, suggest that there is a need for rapid training of a robot for effective control.
[0033] Understanding human actions could allow robots to perform a large spectrum of complex manipulation tasks and make collaboration with humans easier. Effective human-robot collaboration for shared goals is necessary for seamless integration of robots in human daily lives. To realize such effective human-robot collaborative systems, multimodal scene understanding is essential to provide robots with the capability to interpret their environment and interact with humans based on such understanding.
[0034] Conventional LLM-based solutions treat each modality of task demonstration data independently or rely solely on text, causing one data stream to dominate and yielding suboptimal plans for complex manipulation tasks. In contrast, example embodiments described herein integrate all perceptual inputs via a multimodal LLM encoder, trained to embed heterogeneous data into the same hidden-representation space expected by a pretrained LLM decoder (whose parameters remain frozen). This enables the decoder to generate specific, executable robotic action sequences from the joint embeddings. Furthermore, to align the generated action sequences with the task demonstration data, some embodiments perform adaptive replanning to augment the generated action sequences with missing or corrective actions.
[0035] Towards these ends, some example embodiments are directed towards systems and methods for generating, evaluating, and iteratively refining robot action sequences from human demonstration data captured in multiple modalities. It is an object of some embodiments to provide robot action sequences in the precise order and granularity at which a robot arm can reliablyexecute them, thereby bridging the gap between human demonstrations and physical execution. In this regard, one approach employs a multimodal gap evaluator together with a plan-revision language model in a closed-loop framework. The gap evaluator compares fused embeddings of multiple modalities (including video, audio, speech-to-text transcripts, and any text instructions) against the robot’s observations before, after, or during execution of an initial action sequence and produces a structured gap report. Based on the gap report, the plan-revision model then iteratively produces revised action sequences, which are seamlessly integrated into the robot’s trajectory controller for real-time replanning until the execution aligns with the human demonstration within predefined tolerance thresholds.
[0036] FIG. 1 A illustrates a block diagram of a semantic gap-based action re-planner 100 configured to generate a refined robot action plan based on semantic discrepancies detected between task demonstrations and robot observations, according to some example embodiments. Hereinafter, the semantic gap-based action re-planner 100 may also be referred to as the replanner 100 or the re-planner 100. FIG. 1B illustrates schematics of the replanning process performed by the semantic gap-based action re-planner 100, according to some example embodiments. FIG. 1A and IB will be joinly described in reference to each other. The re-planner 100 leverages a multimodal gap evaluator 105 in combination with a plan-revision language model 106 to iteratively detect and correct errors in a closed feedback loop.
[0037] The re-planner 100 receives a plurality of inputs including task-demonstration data 101, a first sequence of robot actions 102 generated corresponding to the task-demonstration data 101, and observation data 103 captured corresponding to execution of at least a portion of the first sequence of robot actions 102. In an example, the task-demonstration data 101 may include, without limitation, any multimodal data that capture aspects of thedemonstrated task, including, without limitation, visual inputs such as video frames or images, audio inputs such as spoken instructions or ambient sounds, textual inputs such as transcribed narration or captions, sensor data such as temperature readings, force or tactile measurements, depth or pose information, or other modalities suitable for conveying task context. For example, the multimodal task-demonstration data 101 may include video frames, audio tracks, and speech transcripts of a human performing the task. As another example, the multimodal task-demonstration data 101 may include video frames, audio tracks, and / or audio transcripts of a robot performing the task. As another example, the multimodal task-demonstration data 101 may include video frames of an animation video, audio frames of an animated audio, and / or text captions demonstrating execution of the task.
[0038] In an example embodiment, the observation data 103 may include any sensor-derived information indicative of the robot’s execution context, captured pre-execution, post-execution, or both, and including, without limitation, video frames or images of robot-performed actions or rendered by a simulated robot in a virtual environment, force-sensor or tactile readings associated with a target object and / or executed actions, depth, pose, or motioncapture data associated with execution of at least a portion of the first sequence of robot actions 102, proprioceptive or inertial measurements corresponding to execution of at least a portion of the first sequence of robot actions 102, haptic or vibration feedback associated with execution of at least a portion of the first sequence of robot actions 102, and / or any other sensor streams suitable for characterizing the operational state of a target object or the robot before, during, or after execution of at least a portion of the first sequence of robot actions 102. For example, the observation data 103 may include depth-camera outputs showing the spatial arrangement of a gripper and object during a pick-and-place operation.
[0039] In an example embodiment, the first sequence of robot actions 102 comprises a sequence of high-level manipulation primitives derived from taskdemonstration data 101 or otherwise supplied by any suitable source, including, without limitation, a human operator, an LLM-based planner, another robotic controller, or a preprogrammed task script. For example, in a simple pick-and-place demonstration, the first sequence of robot actions 102 may include, without limitation, instructions to grasp a target object; lift the object to a predefined height, translate the object to a target location, and release the object onto a receiving surface.
[0040] In an example embodiment, the multimodal gap evaluator 105 comprises a multimodal encoder 105a, a comparison module 105b, and an affordance scorer 105c. The multimodal encoder 105a may comprise a transformer-based encoder configured to generate aligned embeddings for multimodal data, including, without limitation, visual inputs, audio inputs, textual inputs, and other sensor-derived inputs such as depth or tactile measurements. The multimodal encoder 105a employs cross-modal attention layers that compute attention weights between modality-specific embeddings and integrate the weighted embeddings into unified feature vectors in a shared latent space. The unified feature vectors represent the combined semantic content of the multimodal data to facilitate accurate comparisons between task-demonstration data 101 and execution observation data 103. for example, the multimodal encoder 105c may generate a joint embedding that simultaneously captures a demonstration video frame depicting a sliced tomato and a synchronized audio instruction “slice the tomato” as a single feature vector for downstream discrepancy detection.
[0041] In an example embodiment, the comparison module 105b computes semantic correspondence between the embeddings of the taskdemonstration data 101 and the execution observation data 103, performingpre-execution comparison, post-execution comparison, or both. In this regard, the comparison module 105b detects object-state discrepancies by comparing the embeddings of object states derived from the task-demonstration data 101 against embeddings derived from the robot’s pre-action observations (e.g., a depth scan showing a whole tomato before slicing) and / or post-action observations (e.g., an RGB frame showing an unsliced or incorrectly thick slice after execution). The comparison module 105b computes a correspondence metric such as cosine similarity between the demonstration embedding e.g., a “sliced tomato” state and the execution embedding e.g., a “whole tomato” state. If the similarity score falls below a predefined object-state threshold, the comparison module 105b flags an object-state misalignment as a discrepancy in the gap report 104.
[0042] In an example embodiment, the comparison module 105b assesses motion-feasibility discrepancies by evaluating the compatibility of motion embeddings representing the intended action from the task demonstration data 101 with embeddings reflecting the robot’s actual execution dynamics. For example, if a pre-execution motion embedding indicates a high-speed cutting trajectory that the robot’s joint- velocity limit embedding cannot support, or a post-execution embedding shows the robot stalled mid-cut due to torque limits, the comparison module 105b identifies and records a motion- feasibility discrepancy in the gap report 104.
[0043] In an example embodiment, the comparison module 105b verifies logical-ordering discrepancies by analyzing the sequence embeddings of action steps from the task demonstration data 101 against the temporal ordering of observed execution embeddings in the observation data 103 considering both pre- and post-execution sequences. The comparison module 105b computes an ordering similarity score to parameterize the logical order difference between the task demonstration data 101 (e.g., “slice tomato — > place slice on bread”)and the robot’s pre-planned or post-executed sequence (e.g., “place whole tomato — slice”). When this score falls below a logical-order threshold, the comparison module 105b flags a misordered step. For example, if a task demonstration embedding encodes “slice tomato” followed by “place sliced tomato on bread,” but the execution embedding reflects robot placing whole tomato before slicing, the module records a logical-ordering discrepancy in the gap report 104. In some embodiments, upon such detection the comparison module 105b scores the one or more object-state, motion-feasibility, and logical-ordering discrepancies in the gap report 104.
[0044] In an example embodiment, the affordance scorer 105 c assigns a numerical confidence score to each detected discrepancy to quantify its relative impact on overall task success. The affordance scorer 105c computes each score based on the severity of the semantic gap and outputs a structured report entry for consumption by the plan-revision model. For example, if a pre-execution motion feasibility discrepancy reveals that a required cutting trajectory exceeds the robot’s range, or a post-execution motion feasibility discrepancy shows an incomplete slice, the affordance scorer 105c may assign a low affordance score (below a threshold) that triggers insertion of an intermediate “reduce cutting speed” instruction in the revised sequence.
[0045] In an example embodiment, the multimodal gap evaluator 105 produces the gap report 104 comprising one or more entries, each entry identifying a detected discrepancy object-state, motion-feasibility, or logical- ordering paired with a corresponding affordance score for consumption by the plan-revision language model 106.
[0046] According to some embodiments, each entry in the gap report 104 identifyies a detected discrepancy type such as object-state, motion-feasibility, or logical-ordering describing the divergence between the task-demonstrationdata 101 and the observation data 103. The affordance score quantifies the relative impact of a detected discrepancy on overall task success. The gap report 104 may be formatted for direct consumption by the plan-revision language model 106. For example, in a tomato-slicing demonstration, an entry in the gap report 104 may identify a post-execution object-state discrepancy of “unsliced tomato” with an affordance score of 0.2 thereby prompting insertion of a “slice tomato” action in the revised sequence. For a pre-execution discrepancy, an entry might indicate that the robot’s planned “grasp” action lacks sufficient grip force, guiding the planner to adjust the grasp parameters; and for a discrepancy observed both pre- and post-execution, an entry could flag that the stovetop remains cold before activation and fails to heat afterward, prompting insertion of both “activate stove” and “verify stove temperature” primitives.
[0047] In an example embodiment, the plan-revision language model 106 comprises a pretrained transformer-based language model configured to receive the structured gap report 104. The plan-revision language model 106 addresses one or more detected semantic gaps by inserting, deleting, or reordering skill-level instructions while preserving the overall task intent. For example, in response to a gap report entry identifying an “unsliced tomato” object-state discrepancy with a low affordance score, the plan-revision language model 106 may insert a “slice tomato” primitive prior to any placement actions, thereby producing an updated action sequence aligned with both the demonstration and the robot’s execution constraints.
[0048] In an example embodiment, the second sequence of robot actions 107 comprises a refined sequence of high level manipulation primitives automatically generated by the plan revision language model 106 based on the gap report 104 to address one or more detected discrepancies in the first sequence of robot actions 102. The second sequence of robot actions 107 includes, without limitation, instructions that insert, delete, or reorder skill levelprimitives such as grasp, lift, slice, and place to resolve object state, motion feasibility, or logical ordering gaps. For example, in a sandwich assembly demonstration, when the gap report 104 flags an unsliced tomato state, the second sequence of robot actions 107 may insert a “slice tomato” action prior to a “place tomato slice” action. The refined instructions are thereafter translated by the action sequence decoder 108 and the trajectory controller 110 into corresponding low-level joint trajectories and force or velocity commands for execution by the robot.[00491 In an example embodiment, the action sequence decoder 108 is trained with machine learning to transform the second sequence of robot actions 107 into robotic actions 109 which can then be translated into control commands 111 using a library of robotic skills by the trajectory controller 110. In some embodiments, the library of robotic skills may be predetermined and stored in a memory of the replanner 100. In alternative embodiments, the library of robotic skills is dynamically provided by an external machine-learning based system. The generated control commands 111 preserve the semantic intent of the task-demonstration data 101 and ensure semantic alignment between the human demonstration and the executed actions. The semantic alignment bridges the gap between demonstration data such as human instructions and robotic execution by embedding the intended semantics within the control commands 111.
[0050] FIG. 1C illustrates a paradigm of robot action planning for a long horizon task / goal 113, according to some example embodiments. According to some embodiments, robot actions may be designed in a cascaded manner. For example, a long horizon goal 113 (for example: cook sandwich) may be broken down into a plurality of short horizon acts (SHA) 114 (such as grill tomato, cook bacon, place tomato and bacon on top of bread). Furthermore, each of the short horizon acts 114 may be broken down to one or more micro-manipulationsteps (MMS) 115 (such as pick, place, cut), which can be executed by the robot 112 of FIG. 1A.
[0051] Referring back to FIG. 1A the second sequence of robot actions 107 may specify a compound short-horizon task that is decomposed into discrete micro-manipulation steps. For example, from the exemplary shorthorizon task “cut the apple and the tomato placed on the table,” the action sequence decoder 108 may extract contextual cues, such as the pose of each target, selection of a cutting instrument, and desired cut orientation and formulate a sequence of actions including, without limitation, “sense apple pose”, “grasp apple”, “slice apple”, “sense tomato pose”, “grasp tomato”, and “slice tomato”.
[0052] In an example embodiment, each action within the robotic actions 109 may be implemented as one or more dynamic movement primitives (“DMPS”) that define goal-centric motion patterns parameterized by target position, orientation, velocity, or force, for example, a slice action may combine DMPS for approach, alignment, and cutting motion, where each DMP is adjusted based on the target’s sensed pose, by sequencing and parameterizing these DMPS, the robot 112 enables complex, semantically aligned task execution.
[0053] In an example embodiment, the control commands 111 generated by the trajectory controller 110 specify values of currents, voltages, or torque setpoints and their temporal profiles for the robot 140’s actuators, thereby translating the high-level robotic actions 109 into precise physical movements.
[0054] FIG. ID illustrates a framework for obtaining real-world observation data 103 A by executing the first sequence of robot actions 102 by the robot 112, according to some example embodiments. The action sequence decoder 108 decodes the first sequence of robot actions 102 into robotic actions109, and the trajectory controller 110 generates control commands 111 to drive the actuators of the robot 112. As the robot 112 performs each manipulation primitive, the image capturing device 116 records visual and depth information as the real-world observation data 103 A. In some embodiments, in addition or in alternate to the image capture device 116, any other sensor may be used to capture the observation data 103 A in other sensing modalities such as force or tactile measurements. The recorded outputs may be assembled into the real-world observation data 103 A. The real-world observation data 103 A may comprise video frames, depth maps, and sensor readings for consumption by the multimodal gap evaluator 105.
[0055] FIG. IE illustrates an example embodiment for obtaining simulated observation data 103B corresponding to the first robot action sequence, according to some example embodiments. The simulated observation data 103B may be obtained by executing the first sequence of robot actions 102 within an action simulator 117. The action simulator 117 receives the first sequence of robot actions 102 and emulates the corresponding robotic actions 109 in a virtual environment that mimics the real environment of the robot 112. The action simulator 117 renders synthetic sensor streams including rendered video frames, simulated depth maps, and virtual force or tactile readings which are collected as the simulated observation data 103B. The simulated observation data 103 is then provided to the multimodal gap evaluator 105 for semantic-gap analysis without requiring physical robot deployment.
[0056] Although the embodiments described in reference to FIGs. ID and IE consider execution or simulation of the actions and then capturing the observation data, it may be contemplated that the observation data may even be captured during or before executing each action in the robot actions 109.
[0057] FIGs. 1F-1I illustrate exemplar depictions of various types of discrepancies between task demonstration data 101 and the observation data 103, according to some example embodiments. Referring to FIG. IF, an example of the object state discrepancy between the task demonstration data 101 and the observation data 103 is shown. The task demonstration data 101 may depict placing “sliced tomatoes” on the bread slice while the observation data 103 may depict picking “whole tomato” by the gripper. Since the state of the object - tomato is not similar in the task demonstration data 101 and the observation data 103, the comparison module 105c of the multimodal gap evaluator 105 may register this as an object state discrepancy.
[0058] Referring to FIG. 1G, an example of the motion feasibility discrepancy between the task demonstration data 101 and the observation data 103 is shown. The motion feasibility discrepancy may be expressed between an action represented in the task-demonstration data 101 and an action represented in the observation data 103 of the robot. For example, the task demonstration data 101 may depict “cracking eggs” while the observation data 103 may depict picking egg. The comparison module 105b of the multimodal gap evaluator 105 computes correspondence between the encoded motion embeddings of the demonstration and execution and, upon determining that the demonstrated cracking action requires dexterous, multi-point manipulation beyond the robot’s single-arm capabilities, flags a motion-feasibility discrepancy in the gap report 104.
[0059] Referring to FIG. 1H, an example of the logical-ordering discrepancy between the task demonstration data 101 and the observation data 103 is shown. The logical-ordering discrepancy may be expressed between the ordering of actions in the task-demonstration data 101 and the actions represented in the observation data corresponding to the first sequence of actions 102 executable by the robot. For example, the task-demonstration data101 depicts a human placing pre-sliced tomato pieces onto a bread slice, whereas the observation data 103 depicts the robot placing a whole, unsliced tomato onto the bread slice. The comparison module 105b of the multimodal gap evaluator 105 analyzes the temporal sequence embeddings of the demonstrated and executed actions and, upon determining that the “slice” primitive is omitted or occurs out of order relative to the “place” primitive, flags a logical-ordering discrepancy in the gap report 104.
[0060] Referring to FIG. II, an example of the environment discrepancy between the task demonstration data 101 and the observation data 103 is shown. The environment discrepancy may be expressed between the environment depicted in the task demonstration data 101 and the execution environment of the robot as observed in the observation data 103. The environment in either case may encompass one or more target objects, one or more tools used with the target objects, environmental conditions, and the like. For example, the task demonstration data 101 may depict an action “putting the chopped vegetables in the pan” where the environment includes a heated pan while the observation data 103 may also depict the action as “putting the chopped vegetables in the pan” but the environment does not include a heated pan. Since the environments are not similar in the two data 101 and 103, there exists a discrepancy in the environments which will strongly affect the intended outcome in either case. In such a scenario, the comparison module 105c of the multimodal gap evaluator 105 may register this as an environment discrepancy.
[0061] FIG. 2A illustrates a block diagram of an LLM-based action generator 118 for generating the first sequence of robot actions 102 from the multimodal task demonstration data 101, according to some example embodiments. The LLM-based action generator 118 utilizes a large language model 119 and may be embodied as and also referred to as an LLM based controller 118. According to some embodiments, some components of theLLM-based action generator 118 may be optional. The LLM-based action generator 118 takes the multimodal task demonstration data 101 as input specifying general human instructions for performing a long horizon task in different modalities including audio, video, and a text modality. In some embodiments, the multimodal task demonstration data 101 may include data captured in other sensor modalitites for the human instructions. For example, the set of human instructions may be provided as a video recording. In an embodiment, the LLM-based action generator 118 is configured to acquire the multimodal task demonstration data 101 from a server or a database, such as database of a creator creating a video demonstrating the set of human instructions, an online platform hosting the video, etc.
[0062] FIG. 2B illustrates the detailed schematics of generating the first action sequence via the LLM-based controller of FIG. 2A, according to some example embodiments. The LLM-based action generator 118 comprises a suitable interface to collect and receive the multimodal task demonstration data 101. The multimodal task demonstration data 101 may comprise data in multiple modalitites such as text modality data 101a, audio modality data 101b, image modality data 101c, and video modality data 101d. The LLM-based action generator 118 also comprises a large language model (LLM) 119. The LLM 119 comprises a multimodal encoder 119a, a query transformer 119b also referred to as Q-former, and an LLM decoder 119c. The multimodal encoder 119a encodes the general instructions in each of the different modalities into a respective encoding of each of the instructions. For example, the multimodal encoder 119a may comprise an encoder for each of the modalities. The multimodal encoder 119a may jointly embed the multimodal inputs into the hidden representations of the same dimensionality as that of the hidden representation of an LLM encoder. Such a replacement of LLM encoder with the multimodal encoder 119a allows for training the multimodal LLM encoderfor the LLM decoder with frozen parameters trained for the LLM encoder expecting an input of a single modality.
[0063] Additionally or alternatively, some embodiments employ a querytransformer (Q-Former) 119b that translates the multimodal encodings from the encoder 119a into “text-like” representations that can be ingested by a backend LLM decoder 119c thereby conditioning the LLM decoder 119c to produce its output in the form of the first sequence of robot actions 102. According to some embodiments, the Q-Former 119b is multimodal. Some example embodiments leverage the LLM capabilities in the decoder 119c within the action sequence generation framework such that the extensive knowledge and inferential capabilities inherent in LLMs can be used to refine the generated action sequences. Such an integration allows incorporation of advanced LLMs for robotic manipulation.
[0064] The LLM decoder 119c decodes the text like representations of the encodings into the first sequence of robot actions 102. According to some embodiments, the LLM decoder 119c may optionally comprise or be coupled to an action sequence decoder 120. LLM refers to a class of powerful artificial intelligence models that are capable of understanding and generating human language. These models are typically based on deep learning architectures, such as transformers, and are trained on large datasets to learn the statistical patterns and structures of language. In the LLM, the encoder and decoder are essential components used for various natural language processing tasks. Specifically, the LLM encoder processes the input text and transforms it into a series of hidden representations that capture the contextual information of the input. However, the LLM 119 illustrated in FIG.2 A uses the multimodal encoder 119a instead of an LLM encoder and provides hidden representations of each input modality. The LLM decoder 119c takes the hidden representations generated by the multimodal encoder 119a and uses them to generate an output sequence.According to some embodiments, the multimodal encoder 119a as well as the LLM decoder 119c may have transformer-based architectures that include multiple layers of self-attention and feedforward neural networks. However, in addition to self-attention, the LLM decoder 119c can also incorporate crossattention, allowing it to attend to the encoder's output when generating the output sequence. This enables the LLM decoder 119c to generate output tokens based on both the input text and the context provided by the encoder.
[0065] To execute the generated first sequence of robot actions 102, they are translated in terms of robot performable actions using the action sequence decoder 120. In an embodiment, the action sequence decoder 120 and the action sequence decoder 108 may be the same. The action sequence decoder 120 is trained with machine learning to transform the first sequence of robot actions 102 into robot actions 109 using a library of robotic skills. According to some embodiments, the library of robotic skills may be predetermined and stored in a memory. Alternately, in some embodiments, the library of robotic skills may be dynamically provided by another machine learning based system. According to another embodiment, the robotic controller may be configured without the action sequence decoder 120, where the LLM decoder 119c is configured to directly decode the encodings into the robot actions 109.
[0066] According to some embodiments, the first sequence of robot actions 102 specify short horizon tasks for a robot 140 which cannot be directly submitted to the robots. For example, if the robot is a single arm robot, it cannot execute an exemplary short horizon task “Cut the apple and the tomato placed on the table" in one go. The short horizon task has to be broken down into micro manipulation steps and an action sequence can thereby be formulated. In this regard, the micro manipulation steps need to be connected with each other in a manner that ensures semantic meaning of the human instructions in the video and the formulated action sequence remain synchronized and matched.
[0067] From the exemplary short horizon task “Cut the apple and the tomato placed on the table”, the action sequence decoder 120 extracts contextual cues. For example, the action sequence decoder 120 discerns that a cut operation requires picking and / or placing the target in a suitable position, picking a cutting instrument, aligning the cutting instrument with the target in the suitable position and so on. This in turn requires knowledge of the target(s) and current position and / or orientation of the target(s). Thus, the action sequence decoder 120 formulates a sequence of robotic actions for each target separately unless they can be jointly processed. For example, for the exemplar short horizon task mentioned above, the action sequence may start from capturing the current position and / or orientation of the target, and proceed to picking and / or placing them in a desired position and orientation, picking a cutting instrument, aligning the instrument with the target’s position and / or orientation, and operating the cutting instrument in a calculated manner.
[0068] According to some embodiments, the action sequence decoder 120 may be applied for implementation to generate the robot actions 109 corresponding to the set of first sequence of robot actions 102. In particular, the robot actions 109 may include robot motor skills which can be represented either as state-based polices or goal-centric movement primitives such as dynamic movement primitives (DMPs) for the robot such that performing the action sequence causes the robot to perform the operation that is being demonstrated by the set of human instructions specified by the multimodal task demonstration data 101.
[0069] In an example, the DMPs may be basic, pre-defmed movement patterns or behaviors that can be combined to create more complex movements for robotic systems. For example, the DMPs could serve as building blocks for goal parameterized movement primitives allowing robots to perform a wide range of tasks by composing and sequencing these basic movement primitives.In an example, each action of the robot actions 109 may further include one or more DMPs (or skills) that simplifies control, planning and execution of the action by the robot. For example, a movement primitive associated with an action to be performed by the robot may represent simple and well-defined movement that the robot can execute. To this end, to accomplish the operation demonstrated through the human instructions in the multimodal inputs, the robot may have to combine multiple DMPs. By sequencing and combining the basic DMPs of the robot actions 109, the robot may be able to perform intricate movements to carry out the operation. For example, for an operation relating to assembling a puzzle, DMPs of the action sequence may relate to, for example, picking up pieces, rotating them, and placing them, where these DMPs are parameterized over puzzle type, etc. Moreover, the DMPs may also be used to generate trajectories that specify the robot's path through space and time. For example, trajectories may define how the robot should move its joints or end effector to achieve a desired motion or perform an action from the robot actions 109. To this end, a combination of multiple DMPs may create a trajectory that represents the entire operation performed by the robot.
[0070] In an example embodiment, the LLM-based action generator 118 may be applied for generating the first sequence of robotic actions 102 or the robot actions 109. For example, at first, some components of the LLM 119 and / or the action sequence decoder 120 may be applied for training, such as on one or more video recordings. During the training, some components of the LLM 119 and / or the action sequence decoder 120 may be applied to generate a sequence of actions from the recording. Further, once trained, the LLM 119 and / or the action sequence decoder 120 may be applied for implementation, such as on a video recording. During the implementation, the LLM 119 and / or the action sequence decoder 120 may be applied to generate an action sequence from the video recording.
[0071] The robotic actions 109 may be expressed in terms of robotic skills associated with the robot. For example, each operation demonstrated in the multimodal task demonstration data 101 may be subdivided or broken into sub¬ operations that are expressed in terms of the robot skills. The robot actions 109 thus generated are output to a robot controller that generates control commands in response to the skills described in each action of the robot actions 109. The control commands specify values of currents and voltages and time durations of supply of current / power to one or more actuators of the robot.
[0072] FIG. 2C illustrates dual output streams produced by the LLM-based controller 118 of FIG. 2A, according to some example embodiments. The dual output streams may include micro step actions 122 and the action description 124. In the example scenario illustrated in FIG. 2C, the video 101 d may show instructions for cooking a sandwich using tomato, bacon, and bread while the audio 101b may provide the same instructions in audio modality synchronized with the video 101d. In such an example, the micro step actions 122 may include actions for a single arm robot that describe the sequence in three groups of actions - cooking tomato (shown within the white box), cooking bacon (shown within the shaded box), and arranging the cooked tomato and cooked bacon on the bread (shown within the dark box). The action description 124 for such an example comprises the description corresponding to the three groups of actions.
[0073] FIG. 2D illustrates schematics of key frame selection in the task demonstration data 101 corresponding to an action in the first sequence of robot actions 102, according to some example embodiment. The exemplar schematics of the mapping shown in FIG. 2D considers a video stream such as the video 101 d of FIG. 2C, although data of other modalities may also be used as long as such data is available as a time-series. The video 101d comprises a plurality of frames from Frame 1 through Frame Z which may capture thecontinuous human demonstration of a task. In an example embodiment, the first sequence of robot actions 102 comprises a sequence of discrete actions from action 1 through action X each corresponding to a semantically meaningful subtask. In an example embodiment, for each action in the first sequence of robot actions 102, the system selects one or more key frames in the task demonstration data 101 (the video lOld in this example). For example, correspoding to the action - “Action M”a key frame that optimally represents the initiation and / or completion of the corresponding action may be selected. For example, when the action is “slice tomato,” the system may select the frame in which the knife blade first contacts the tomato surface as the representative key frame for the initiation of the action. In an example embodiment, the key-frame selection is based on temporal alignment, visual metrics, or learned criteria that associate frame-level embeddings with action-level embeddings. The selected key frames are then processed by the multimodal encoder 105a to generate embeddings that link each high-level action primitive with its visual context, thereby enabling precise discrepancy detection and structured gap report 104 generation.
[0074] In an example embodiment key frame selection involves three stages Object Mapping, Action Mapping, and Initial Action Sequence Generation In an example embodiment, during the Object Mapping stage, a large language model (LLM) performs semantic matching between objects depicted in the human demonstration and the robot’s known object set. Given an object set Ohumanextracted from the human video and a predefined set Orobot, the mapping map0associates each human object 0hE 0humanwith the most similar robot object OhE 0robotaccording to:mapooh~) = argOh e Orobotmax Sim( h, or)
[0075] where Sim(-,-) denotes the semantic similarity function computed by the LLM.
[0076] In an example embodiment, during the Action Mapping stage, textual descriptions of the human’s action steps are parsed and subjected to frequency analysis to identify high-frequency verbs. A manual mapping is then constructed between each human action ahand one or more robot skills arselected from the robot’s predefined action library, formally defined as: mapA(ah) = ar
[0077] In an example embodiment, during the Initial Action Sequence Generation stage, the object and action mappings are applied to the extracted human plan Aoto produce an initial robot-executable sequence A^.A = map(A0) = [map (aJ),map (a§),...]
[0078] Each action in A is grounded to its corresponding robot object via map0, and the resulting sequence serves as the basis for selecting semantically salient key frames in block 202 of FIG. 2D.
[0079] FIG. 3 illustrates a flowchart of an iterative action re-planning method 300 for controlling a robot, according to some example embodiments. In an example embodiment, at block 301 the re-planner 100 receives, via an input interface 700, multimodal inputs comprising task-demonstration data 101, a first sequence of robot actions 102, and observation data 103. The taskdemonstration data 101 may include, without limitation, any combination of visual inputs (e.g., video frames or still images of a human performing the task), audio inputs (e.g., spoken instructions or ambient sounds), textual inputs (e.g., speech-to-text transcripts or captions), and sensor-derived inputs (e.g., temperature readings, force or tactile measurements, depth or pose information) that together convey the context of the demonstrated task for example, a video of a person slicing a tomato, the audio instruction “slice the tomato,” and acorresponding speech transcript. The first sequence of robot actions 102 comprises high-level manipulation primitives derived from the task demonstration or otherwise supplied (e.g., by a human operator, an LLM-based planner, or a preprogrammed script). For example, “grasp tomato,” “slice tomato,” and “place tomato slice on bread”. The observation data 103 includes any sensor-derived information captured before, while, or after executing at least a portion of the action sequence, such as RGB images or video frames from a camera or rendered by a simulator, depth maps, force or tactile-sensor readings, pose or motion-capture data, proprioceptive or inertial measurements, haptic or vibration feedback, numerical similarity scores, binary executionsuccess flags, and contextual workspace metadata. For example, depth-camera outputs showing the spatial arrangement of the gripper and object during a pick-and-place operation.
[0080] In an example embodiment, at block 302 the multimodal gap evaluator 105 performs joint multimodal encoding of both the taskdemonstration data 101 and the observation data 103 into a unified latent space. Specifically, a transformer-based encoder 105a is configured to ingest heterogeneous input streams including, without limitation, visual inputs (such as video frames or still images processed by a convolutional video encoder), audio inputs (such as speech or ambient sounds processed by an acoustic encoder), textual inputs (such as speech-to-text transcripts, captions, or other written instructions processed by a transformer-based text encoder), and any other sensor-derived or contextual inputs (for example, depth maps, force or tactile measurements, pose or inertial data, temperature readings, or other modalities) to generate a set of modality-specific embedding vectors. These vectors are then fused via cross-modal attention layers that compute intermodality attention weights and integrate the weighted embeddings into unified feature vectors in a shared latent space. The resulting latent representationscapture the combined semantic content of each demonstration step and each execution instance, thereby enabling meaningful comparison across an open set of modalities.
[0081] Thereafter, the comparison module 105b analyzes the unified feature vectors to compute one or more semantic correspondence metrics that quantify the alignment between the task demonstration and the robot’s execution. In an example embodiment, for each action primitive or associated keyframe the module 105b computes an object-state correspondence metric by applying cosine similarity to the demonstration embedding (e.g., a vector representing “sliced tomato”) and the execution embedding (e.g., a vector representing “whole tomato”). If this similarity falls below a predefined objectstate threshold stored in memory (such as 0.8 for tomato-slicing tasks) a misalignment is flagged as an object-state discrepancy in the gap report 104. In parallel, the module computes a motion-feasibility correspondence metric by comparing a motion-trajectory embedding derived from the demonstration (e.g., high-velocity cutting motion) against an embedding encoding the robot’s maximum kinematic capabilities (e.g., joint-velocity and force limits). A compatibility score below a motion-feasibility threshold for instance, 0.7 when the intended cutting speed exceeds the robot’s calibrated limit results in a motion- feasibility discrepancy. Finally, a logical-ordering correspondence metric is obtained by evaluating the sequence embeddings of consecutive action steps, when the ordering similarity (for example, “slice — » place”) falls below a logical-order threshold (such as 0.75) the comparision module 105b flags a misordered step (e.g., “place” before “slice”).
[0082] In some embodiments, before computing these correspondence metrics the comparison module 105b employs a language-guided segmentation model to select the most semantically relevant keyframes corresponding to individual action primitives. By isolating, for example, the exact video framewhere the knife contacts the tomato and the simultaneous robot-camera frame, the evaluator focuses its similarity computations on critical moments of task execution rather than on entire video streams. The thresholds used for objectstate, motion-feasibility, and logical-ordering metrics may be predetermined based on empirical calibration or dynamically updated via feedback during iterative learning. Whenever any correspondence score falls below its respective threshold, the flagged discrepancy and its associated affordance score are recorded in the gap report 104 for downstream plan revision by the language model 106.
[0083] In an example embodiment, at block 303 the affordance scorer 105c quantitatively evaluates each semantic discrepancy identified by the comparison module 105b to produce a confidence or affordance score that reflects the relative impact of that discrepancy on overall task success. To do so, the affordance scorer 105c applies a severity- weighted scoring function, in which the magnitude of each correspondence metric’s deviation from its respective threshold is mapped to a numerical score within a normalized range (e.g., [0,1]). For instance, when an object-state correspondence score for a “sliced tomato” step falls 0.3 below the predefined object-state threshold, the scorer computes a proportionally low affordance score (such as 0.2) indicating that failure to slice the tomato critically undermines the task and thus warrants prompt correction. Conversely, a minor logical-ordering deviation such as, where the “place” action precedes “slice” by only a single step might yield a higher affordance score (e.g., 0.7), signifying lower urgency for revision. In some embodiments, the affordance scorer 105c further incorporates auxiliary factors such as the frequency of occurrence of a discrepancy across iterations, the confidence of the underlying embedding models, or user-defined priority weights to modulate each score and produce a more context-sensitive ranking of corrective needs.
[0084] Thereafter, each detected discrepancy is paired with its computed affordance score and assembled into an entry in the gap report 104. This structured entry not only specifies the discrepancy type (object-state, motionfeasibility, or logical-ordering) and its associated semantic context (e.g., “unsliced tomato”), but also includes the affordance score that will guide the plan-revision language model 106 in prioritizing corrective actions. For example, in a tomato-slicing task the gap report might contain an entry:{"discrepancy_type": "object_state","description": "unsliced tomato","affordance_score": 0.2}
[0085] Such entries enable the language model to determine that inserting a “slice tomato” primitive is more critical than, for example, reordering less impactful steps.
[0086] By converting raw correspondence deviations into normalized, weighted scores, the affordance scorer 105c transforms heterogeneous semantic gaps into a unified metric space. This facilitates a principled, data-driven approach to plan revision, ensuring that the highest-impact discrepancies are addressed first and that the iterative replanning loop converges efficiently toward successful task execution.
[0087] In an example embodiment, at block 304 the multimodal gap evaluator 105 compiles a gap report 104 that comprises one or more structured entries, each entry identifying a detected discrepancy type (for example, object¬ state, motion-feasibility, or logical-ordering) paired with its corresponding affordance score. Each entry further includes contextual metadata, such as identifiers for the affected action primitive, associated keyframe timestamps,and numerical similarity metrics, all serialized in a machine-interpretable format (e.g., JSON). For instance, a gap report entry may take the form:{"action_step": "slice_tomato","discrepancy_type": "object_state","description": "unsliced_tomato","affordance_score": 0.2,"timestamp": "2025-05-20T14:32:10.123Z"}
[0088] The gap report 104 thus provides a comprehensive diagnostic snapshot of each semantic gap quantifying not only that a gap exists but also its severity and precise location within the action sequence thereby equipping downstream modules with the data needed to prioritize and address the highest-impact errors.
[0089] In an example embodiment, at block 305 a plan-revision language model 106 consumes the original first sequence of robot actions 102 together with the gap report 104 to generate an improved second sequence of robot actions 107. The model, which may be a pretrained transformer-based LLM with frozen decoder parameters and a lightweight prompt-tuning layer, parses each gap report entry to determine where corrective insertions, deletions, or reorderings are required. For example, upon receiving an entry flagging an “unsliced_tomato” object-state discrepancy with low affordance, the model inserts the “slice tomato” primitive immediately before any placement steps. The output sequence preserves the original task intent while systematically resolving each flagged discrepancy. In an illustrative tomato-slicing use case, the resulting second sequence might read:take tomato — > take knife — > slice tomato — > place tomato slice on bread
[0090] This refined plan is then handed off to the action sequence decoder108 and trajectory controller 110 for low-level translation into executable joint trajectories and force- velocity commands.
[0091] Thereafter, the second sequence 107 is executed by the robot, new observation data is captured, and the operations of blocks 301–305 are iteratively repeated. This loop continues until a success metric computed as a weighted combination of object-affordance, motion-affordance, and logic-affordance sub-scores by the affordance scorer 105c exceeds a predefined threshold or until a maximum number of iterations is reached, thereby ensuring convergence toward a semantically aligned, executable plan.
[0092] In some embodiments, the operations of blocks 302–305 are iterated until an executable action sequenceis produced that enables the robot to successfully replicate the task demonstrated by a human. Each iteration executes the current plan A collects new observations, evaluates discrepancies, scores affordances, and revises the plan, thereby converging upon a semantically aligned and physically executable action sequence.
[0093] FIG. 4 illustrates an architecture of a multimodal gap evaluator 105 of the semantic gap-based action re-planner 100 of FIG. 1A, according to some example embodiments. The multimodal gap evaluator 105 comprises three primary submodules a multimodal encoder 105a, a comparison module 105b, and an affordance scorer 105c that together detect, quantify, and report semantic discrepancies between task-demonstration data 101 and observation data 103 to support closed-loop plan refinement.
[0094] In an example embodiment, at block 401 the multimodal gap evaluator 105 receives, via an input interface 700, at least three categories ofinformation: task-demonstration data 101, observation data 103, and at least a portion of a first sequence of robot actions 102. The task-demonstration data 101 may include, without limitation, any combination of visual data (such as RGB or depth video frames captured at arbitrary frame rates or resolutions), audio data (such as spoken instructions, ambient sounds, or descriptive narration), textual data (such as speech-to-text transcripts, operator annotations, or instructional captions), and other sensor-derived streams (such as force or torque measurements, tactile or haptic signals, inertial or pose information, temperature or pressure readings, semantic segmentation maps, or tool-state metadata). In addition, the task-demonstration data 101 may further comprise environmental context including lighting conditions, spatial layouts or maps, object ontologies, and tool specifications provided by external databases or pre-loaded knowledge graphs.
[0095] Similarly, the observation data 103 may include any combination of sensory outputs recorded before, during, or after execution of the first sequence of robot actions 102, for example post-execution RGB images or video clips, depth or LiDAR scans, point-cloud representations, proprioceptive joint-state readings, actuator current or voltage logs, force / torque sensor outputs, binary success / failure flags, continuous error metrics, and dynamically updated workspace metadata (such as collision reports or occupancy maps).
[0096] The first sequence of robot actions 102 comprises high-level manipulation primitives or parameterized motor commands such as “grasp object,” “apply cutting motion,” “move to designated location,” or “engage end-effector tool” that may be generated by a human operator or by a languagebased planner, or by simulation. The sequence may be represented in any suitable format, including, but not limited to, an ordered list of dynamic movement primitives, a JSON-encoded action script, or a domain-specific command language. By accommodating an open set of input modalities andsequence representations, block 401 ensures that the gap evaluator 105 can flexibly ingest rich, heterogeneous data streams from real-world or simulated environments to support robust identification of semantic discrepancies.
[0097] In an example embodiment, at block 403 the multimodal encoder 105c jointly encodes the task-demonstration data 101 and the observation data 103 into unified latent representations. The multimodal encoder 105a employs a transformer-based architecture in which dedicated sub-encoders first generate modality-specific embeddings: visual inputs (e.g., RGB or depth video frames) are processed by a convolutional neural encoder; audio inputs (e.g., speech or ambient sound waveforms) are processed by an acoustic encoder; textual inputs (e.g., speech-to-text transcripts, captions, or operator annotations) are processed by a transformer-based text encoder; and any other sensor-derived inputs (such as depth maps, force or tactile measurements, pose or inertial readings, temperature or pressure data, semantic segmentation maps, or toolstate metadata) are processed by respective sensor encoders. Thereafter, cross- modal attention layers compute inter-modality attention weights and integrate the weighted embeddings into a single unified feature vector for each demonstration or execution step. In some embodiments, a language-guided key-frame selection module identifies the most semantically salient frames such as the exact moment a knife contacts a tomato so that the multimodal encoder 105a fuses only the embeddings corresponding to those critical frames, thereby improving downstream discrepancy detection. The resulting latent vectors simultaneously capture the combined semantic content and contextual relationships of the heterogeneous inputs, enabling precise, cross-modal comparisons in subsequent stages of the evaluation pipeline.
[0098] In an example embodiment, at block 405 the comparison module 105 b computes one or more semantic correspondence metrics between the unified embeddings of the task-demonstration data 101 and the observationdata 103. For each action primitive or selected keyframe, the comparison module 105 b applies cosine-based and compatibility -based measures to detect semantic gaps. In particular, the module computes an object-state correspondence metric by measuring cosine similarity between an embedding representing the demonstrated object state (e.g., “sliced tomato”) and an embedding representing the executed object state (e.g., “whole tomato”). If this similarity falls below a predefined object-state threshold, the module flags an object-state discrepancy in the gap report 104. Concurrently, the module computes a motion- feasibility correspondence metric by comparing a motiontrajectory embedding derived from the demonstration (e.g., a high-speed cutting motion) against an embedding encoding the robot’s maximal kinematic capabilities (e.g., joint- velocity and torque limits). A compatibility score below a motion- feasibility threshold triggers a motion-feasibility discrepancy. Finally, the module evaluates a logical-ordering correspondence metric by comparing sequence embeddings of consecutive action steps to verify that the observed execution order matches the demonstrated order (e.g., “slice” then “place”). If the computed ordering similarity falls beneath a logical-order threshold, the module flags a logical-ordering discrepancy. Each flagged discrepancy is immediately recorded in the gap report 104 for downstream scoring and revision.
[0099] In an example embodiment, at block 407 the affordance scorer 105c quantitatively evaluates each flagged discrepancy to produce a normalized affordance score that reflects its relative impact on overall task success. The affordance scorer 105c applies a severity-weighted mapping, wherein the magnitude by which a correspondence metric deviates from its threshold is transformed into a numerical score within a predefined range (for example, [0,1]). A large deviation such as failure to effect a required slicing motion yields a low affordance score (e.g., 0.2), indicating high urgency forcorrection, whereas minor ordering misalignments may receive higher scores (e.g., 0.7), signifying lower immediate priority. In some embodiments, the affordance scorer 105c further adjusts each score based on auxiliary factors such as the frequency of recurrence of the discrepancy across iterations, the confidence level of the underlying embedding models, or user-specified priority weights. Each scored discrepancy is then packaged as a structured entry identifying the action step, discrepancy type, and affordance score for inclusion in the gap report 104.
[0100] In an example embodiment, at block 409 the multimodal gap evaluator 105 assembles the gap report 104 by aggregating all structured entries produced by blocks 405 and 407. Each entry in the gap report 104 specifies, at a minimum, the identifier of the affected action step, the type of discrepancy (object-state, motion-feasibility, or logical-ordering), and the associated affordance score. Optionally, entries may include contextual metadata such as keyframe timestamps, raw correspondence metric values, and the thresholds applied. The gap report 104 is serialized in a machine-interpretable format (e.g., JSON), enabling seamless ingestion by the plan-revision language model 106. For example, an entry in the gap report 104 may appear as:{"action_step": "slice_tomato","discrepancy_type": "object_state","affordance_score": 0.2,"timestamp": "2025-05-20T14:32:10.123Z"}
[0101] By furnishing both the nature and severity of each detected semantic gap, the gap report 104 empowers the plan-revision language model 106 to prioritize corrective insertions, deletions, or reorderings in thesubsequent action sequence, thereby driving the iterative replanning process toward successful task execution.
[0102] FIG. 5 illustrates an example gap report 104 enumerating some discrepancies between the task demonstrations and robot observations and environment, according to some example embodiments. The gap report 104 is produced by the multimodal gap evaluator 105 following comparison of the task-demonstration data 101 and the observation data 103, and comprises structured entries each identifying a detected discrepancy type paired with a corresponding affordance score.
[0103] In an example embodiment, the gap report 104 identifies an object coherence discrepancy. Object coherence refers to semantic mismatches between the objects depicted in the task demonstration and those actually perceived by the robot for example, when bacon and tomato are placed together on a plate in the demonstration but are located on separate surfaces or a different receptacle in the robot’s environment. Such a discrepancy is flagged when the object-state correspondence metric falls below the predefined object- state threshold. For instance, the gap report entry may appear as follows:"action_step": "place_items_on_plate","discrepancyjype": "obj ect_coherence","description": "demonstrated jplate_vs_robot_receptacle_mismatch", "affordance_score": 0.4
[0104] In an example embodiment, the gap report 104 identifies a motion feasibility discrepancy. Motion feasibility captures differences between the demonstrated manipulations and the robot’s physical capabilities such as when a human cracks an egg using two hands but the robot employs a single-gripperend-effector, resulting in failed or imprecise cracking motions. When the motion-feasibility correspondence metric drops below the motion-feasibility threshold, a discrepancy is recorded. For example, the gap report entry may read:{"action_step": "crack_egg","discrepancy_type": "motion_feasibility"," description": "two_hand_cracking_vs_single_gripper","affordance_score": 0.3}
[0105] In an example embodiment, the gap report 104 identifies a sequence logic correctness discrepancy. Sequence logic correctness evaluates whether the temporal ordering of actions executed by the robot aligns with the demonstrated order for example, ensuring that “slice tomato” occurs before “place slice on bread.” If the logical-ordering correspondence metric falls below the logical-order threshold, a discrepancy is flagged. As an example, the gap report entry may be:{"action_step": "slice_then_place","discrepancy_type": "logical_ordering","description": "execution_order_inversion_detected","affordance_score": 0.9}
[0106] In an example embodiment, the gap report 104 may further conclude with an overall coherence score computed by aggregating the individual affordance scores to quantify the aggregate semantic alignment between the demonstration and execution. For instance:{"overall_coherence_score": 0.5}
[0107] In an example embodiment, a single action step may give rise to multiple flagged discrepancies. For instance, during the “slice_tomato” action, the comparison module 105b may detect both a motion- feasibility discrepancy where the demonstrated cutting velocity exceeds the robot’s joint- velocity limit and an object-state discrepancy where the resulting slice is thicker than the intended specification. In such a case, the gap report 104 includes separate entries for each discrepancy, for example:{"action_step": "slice_tomato","discrepancy_type": "motion_feasibility","description": "cutting_speed_exceeds_limit","affordance_score": 0.25},"action_step": "slice_tomato","discrepancy_type": "object_state","description": "slice_thickness_incorrect","affordance_score": 0.35}
[0108] By enumerating multiple, co-occurring discrepancies for the same manipulation primitive, the gap report 104 furnishes the plan-revision language model 106 with a nuanced diagnostic of both the robot’s kinematic constraints and the fidelity of the executed object state, thereby enabling targeted corrective modifications.
[0109] By furnishing both the nature and severity of each detected semantic gap, the gap report 104 empowers the plan-revision language model 106 to prioritize corrective insertions, deletions, or reorderings in the subsequent action sequence, thereby driving the iterative re-planning process toward convergence upon a semantically aligned and executable plan.
[0110] FIG. 6 illustrates schematics of the robot 112 for object manipulation, in accordance with some example embodiments. Hereinafter, the robot 112 may also be referred to as a manipulator 112. The manipulator 112 may be an n degree-of-freedom (DOF) open-chain manipulator. The manipulator 112 comprises a base 10b, multiple joints, multiple links and an end-effector 10nc where each joint may typically move in one or more directions. The manipulator 112 may be used to perform one or more tasks such as manipulating one or more payloads such as an object 17. The specific task may be defined in terms of parameters including, e.g., an initial position and velocity of the object 17, a final position and velocity of the object 17, acceleration and velocity constraints on the object 17, time to accomplish the task, and the like. The manipulator 112 may be electronically coupled to a control system such as the trajectory controller 110 of FIG. 1A that provides control inputs / commands to execute the task. According to some embodiments, the base 10b may be mountable on a surface such as the floor or a movable platform. The other end of the base 10b may be mechanically coupled with a first-axis link 11b through a first-axis joint Ila. The first-axis link 11b is coupled with a second-axis joint 12a, which is connected to a second-axis link 12b. This coupling and connection patterns are repeated until reaching the endeffector 1nc, which is attached on a last-axis link 1nb. The last-axis link 1nb is coupled with a previous link 1(n-1)b through a last-axis joint Ina. According to some embodiments, one or more components of the manipulator 112 may be modeled in any suitable manner such as in terms of mathematical equations anda corresponding model of the components may be accessible to the control system of the manipulator 112. Each such model may describe interaction between various variables pertaining to the corresponding component such as control input variables, state variables (for example position, orientation, heading etc.).
[0111] In some embodiments, a joint of the manipulator 112 may be of any suitable type including but not limited to: revolute, prismatic, helical etc. The movements of the joints of the manipulator 112 may be controlled by one or more actuators coupled to the joints such that the manipulator 112 can be moved in accordance with one or more control inputs to effectuate manipulation of the payload 17 along any dimension.
[0112] FIG. 7 shows a block diagram of the semantic gap-based action re-planner 100 of FIG. 1A for controlling the robot 112, according to some embodiments of the disclosure. In some embodiments, the re-planner 100 may function as a controller for controlling one or more robots such as the robot 112 of FIG. 1A. Accordingly, the re-planner 100 may also be referred to as a controller 100. The re-planner 100 includes an input interface 700 configured to receive input data indicative of the task to be performed by the robot 112. The input data may be used to control the robot 112 from a start pose to a goal pose to perform the task. In this regard, the input interface 700 may be configured to accept a recording for performing the task. The recording may include various operations to be performed by the robot 112 in order to execute or carry out the task, and an output for the robot 112 that may be indicative of completion of the task. In some embodiments, the input interface 700 is configured to receive input data indicative of video and audio signals along with text transcriptions, i.e., a sequence of caption indicative of human demonstration of the task. For example, the input data corresponds to multi¬ modal information, such as audio, video, textual, natural language, or the like.In certain case, the input data may include sensor-based video information received or sensed by visual sensors, sensor-based audio information received or sensed by audio sensors and, or a natural language instruction received or sensed by language sensors. The input data may be raw measurements received from the sensors or any derivative of the measurements, representing the audio, video and / or textual information and signals corresponding to the recording.
[0113] In one embodiment, the robot 112 is a set of components, such as arms, feet, and end-tool, linked by joints. In an example, the joints may be revolutionary joints, sliding joints, or other types of joints. The collection of joints determines degrees of freedom for the corresponding component. In an example, the arms may have five to six joints allowing for five to six degrees of freedom. In an example, the end-tool may be a parallel-jaw gripper. For example, the parallel-jaw gripper has two parallel fingers whose distance can be adjusted relative to one another. Many other end- tools may be used instead, for example, an end-tool having a welding tip. The joints may be adjusted to achieve desired configurations for the components. A desired configuration may relate to a desired position in Euclidean space, or desired values in joint space. The joints may also be commanded or controlled by a controller 709 of the re-planner 100 in the temporal domain to achieve a desired (angular) velocity and / or an (angular) acceleration. The joints may have embedded sensors, which may report a corresponding state of the joint. The reported state may be, for example, a value of an angle, a value of current, a value of velocity, a value of torque, a value of acceleration, or any combination thereof. The reported collection of joint states is referred to as the state. In some embodiments, the robot 112 may include a motor or a plurality of motors configured to move the joints to change the motion of the arms, the end-tool and / or the feet according to a command produced by the controller 709.
[0114] The semantic gap-based action re-planner 100 may have a number of interfaces connecting the re-planner 100 with other systems and devices. For example, the re-planner 100 is connected, through a bus 701, to a server computer 710 to acquire the recordings via the input interface 700. Additionally, or alternatively, in some implementations, the re-planner 100 includes a human machine interface (HMI) 702 that connects a processor 705 to a keyboard 703 and a pointing device 704, wherein the pointing device 704 may include a mouse, trackball, touchpad, joystick, pointing stick, stylus, or touchscreen, among others. Additionally, the re-planner 100 may be connected to a controller 709. The controller 709 is configured to operate the motor(s) of the robot 112 to change the placement of the arms, the end-tool and / or the feet according to a sequence of actions for the robot 112. For example, the sequence of actions for the robot 112 is received by the controller 709 via the bus 701, from the processor 705. In an example, the bus 701 is a dedicated data cable. In another example, the bus 701 is an Ethernet cable. For example, the robot 112 may be commanded or controlled by the controller 709 to perform, for example, a cooking task, based on a recording received by the processor 705 via the input interface 700 and the sequence of actions 107 determined by the processor 705 by applying the LLM 712. For example, the sequence of actions to perform the cooking task may form part of a set of task descriptions or commands sent to the robot 112.
[0115] It may be noted that references to a robot, without the classifications “physical”, “real”, or “real-world”, may mean a physical entity or a physical robot, or a robot simulator which aims to faithfully simulate the behavior of the physical robot. A robot simulator is a program consisting of a collection of algorithms based on mathematical formulas to simulate a real-world robot’s kinematics and dynamics. In an embodiment, the robot simulatoralso simulates the controller 709. The robot simulator may generate data for 2D or 3D visualization of the robot 112.
[0116] The re-planner 100 includes the processor 705 configured to execute stored instructions, as well as a memory 706 that stores instructions that are executable by the processor 705.
[0117] The re-planner 100 may also include a storage device 707 adapted to store different modules storing executable instructions for the processor 705. The storage device 707 may also store a computer program 708 for producing training data indicative of recording, testing recordings, validation recordings, action sequences and / or action labels relating to tasks that the robot 112 may have to perform. The storage device 707 may be implemented using a hard drive, an optical drive, a thumb drive, an array of drives, or any combinations thereof. The processor 705 is configured to determine a control law for controlling the motor(s) of the robot 112 based on the sequence of skills to move the arms, the end-tool, and / or the feet according to the controls and execute the self-exploration program 708 that performs the task demonstrated in the recordings 132.
[0118] The re-planner 100 may be configured to control or command the robot 112 to perform a task, such as a cooking task from an initial state of the robot 112 to a target or end state of the robot 112 by following a sequence of actions produced by the LLM 712. The sequence of actions may include or may be broken down into various short-horizon steps or action labels, which may be considered as abstract representations for robot actions or dynamic movement primitives (DMPs) for the robot 112.
[0119] FIG. 8 illustrates a use case of the disclosure in which instructional video data and robot execution observations are integrated by the semantic gapbased controller 800 to generate and iteratively refine robot action sequences.
[0120] In an example, the robot 805 may be configured to perform the operation, such as assembling an entity or make a bowl of cereal. In this regard, the controller 100B may acquire a video recording, such as the instructional video 802 comprising human demonstration on how to assemble the entity or make the bowl of cereal from multimodal data 802 provided by a suitable source such as a database 803 or a video camera. In some embodiments, the semantic gap-based controller 800 may acquire the multimodal data 801 as an instructional video from the database 803 or a server computer. For example, based on the instructional video, a sequence of frames may be generated. As may be understood, the sequence of frames may be captured by the multimodal data 801 at a specific rate, and when played in sequence, may create the instructional video. Each frame carries various parameters and characteristics that influence the overall quality and appearance of the video.
[0121] In an example, the multimodal data 801 or the instructional video may include captions. In certain cases, machine-learning based platforms may be used for generating the captions for the instructional video.
[0122] In an example embodiment, the database 802 comprises a non-transitory storage medium that stores the task-demonstration data 801 in the form of one or more instructional video recordings. The multimodal data 801 (also referred to as task-demonstration data 801) is provided to the LLM-based controller 118. The LLM-based controller 118 comprises a pretrained multimodal transformer model configured to ingest and encode each modality of the instructional video data, including, without limitation, visual inputs in the form of sequential video frames captured at predefined frame rates, audio inputs in the form of waveform samples and textual inputs in the form of time- aligned speech-to-text transcripts. The LLM-based controller 118 employs dedicated encoders (such as a convolutional video encoder for visual feature extraction, an acoustic encoder for audio feature extraction, and a transformer-based text encoder) to generate modality-specific embedding vectors. These embedding vectors are fused via cross-modal attention layers to produce unified semantic feature representations that capture the intent and context of each demonstrated subtask, thereafter, an action decomposition module within the LLM-based controller 118 segments the unified semantic features into discrete subtasks and maps each subtask to one or more dynamic movement primitives (“DMPs”). Each DMP defines a goal-centric motion pattern such as reach, grasp, lift, slice, or place parameterized by target object pose, orientation, velocity, and force constraints derived from the demonstration data, the generated DMPs are assembled, in the order of occurrence, into the first sequence of robot actions 102, which serves as the initial high-level plan for robot execution.
[0123] For example, a video frame 803 of the task demonstration data 801 may depict a human demonstration of assembling the entity and making a bowl of cereal, respectively. To this end, such human demonstration may be a part of one or more digital frames. For example, based on the human demonstration, feature data may be extracted from the digital frames. For example, audio, video, and textual feature data may be encoded to understand interaction and relationships between the objects and the human, as well as other properties of the interactions and relationships. Based on the encoded features, an action sequence of DMPs may be produced that are implemented by the robot 805. For example, DMPs may be aligned to predefined set of actions, such as shorthorizon action labels, that may include a predefined number of verbs or actions and a predefined number of nouns or objects. Based on the DMPs of the predefined set of actions, the action sequence for implementing the operation of “assemble the entity” or “make a bowl of cereal” may be implemented. In this regard, a suitable controller such as the trajectory / robot controller may convert the actions into control commands for the actuators of the robot. Sucha controller may be a part of the semantic gap-based controller 800 or the robot 805 or separately located from both.
[0124] Referring to FIG. 8, the human demonstration of assembling the entity may include demonstration of action steps for assembling components of the entity using machines, tools etc. In an example, a human demonstrating the operation of assembling the entity may have an audio description “insert component A into a cavity in the component B and fasten it using a screw”. For example, based on the human demonstration of the operation, the produced action sequence may include actions, but is not limited to, ‘move XYZ distance to right’, ‘lower arm, ‘open gripper’, ‘pick component A’, ‘raise arm’, ‘move to ABC position’, ‘insert component A into cavity of component B’, ‘release component A’, ‘move to DEF position’, ‘lower arm’, ‘pick a fastener’, ‘raise arm’, move to ABC position’, insert fastener to form joint’, etc.
[0125] The robot 805 is controlled to perform DMPs to execute the operation of “assemble the entity”. For example, each of the DMPs of the first sequence of robot actions 102 may be performed by the robot 805 by controlling actuators of the robot 805 using control commands corresponding to the action sequence or the DMPs.
[0126] In some example embodiments, the human demonstration of making a bowl of cereal may include demonstration of an action of pouring milk into a bowl. In an example, a human demonstrating the operation of making the bowl of cereal may have an audio description “add cereal to the bowl and add milk to the bowl”. For example, based on the human demonstration of the operation, the produced action sequence may include actions, but is not limited to, “pick a bowl”, “place the bowl on a table in upright position”, “hold a cereal carton”, “tilt the cereal carton”, “move the cereal carton back and forth” “add cereal to the bowl until the bowl is one-third full”,“put down the cereal carton on the table”, “pick up a milk carton”, “tilt the milk carton over the bowl”, “pour milk from the milk carton in the bowl”, “put down the milk carton on the table”, “pick out a spoon”, and “stir the cereal and milk in the bowl”.
[0127] The robot 805 is controlled to perform DMPs to execute the operation of “making a bowl of cereal”. For example, each of the DMPs of the first sequence of robot actions 102 may be performed by the robot 805 by controlling actuators of the robot 805 using control commands corresponding to the action sequence or the DMPs.
[0128] In an example embodiment, the semantic gap-based controller 800 also receives the first sequence of robot actions 102 from the LLM-based controller 118. The semantic gap-based controller 800 invokes the action sequence decoder 108 to translate each high-level manipulation primitive in the first sequence such as grasp, lift, move-to, slice, or place into corresponding robotic actions, where each robotic action comprises one or more low-level motion primitives parameterized by joint trajectories, end-effector poses, force or velocity profiles, and timing constraints. The generated robotic actions are then conveyed to the control interface of the robot 805, where the trajectory controller of the robot 805 executes the actions under closed-loop sensor supervision to effect the intended manipulations in the real-world environment.
[0129] In an example embodiment, a data capture device 806 such as a camera-based sensor monitors the execution of the first sequence of robot actions by the robot and captures observation frames 804 in one or more modalities such as visual, depth, and optional force or tactile data. The data capture device 806 assembles these frames 804 (as measurements) into the robot observation data 807, which is returned to the semantic gap-based controller 800. The controller 800 applies the multimodal gap evaluator 105 ofFIG. 1A to detect one or more semantic discrepancies related to object-state, motion- feasibility, or logical-ordering between the task-demonstration data 801 and the robot observation data 807 and formulates a structured gap report 104 in the manner described previously in this disclosure.
[0130] In an example, the robot 805 may utilize sensors, such as RGB camera, voltage sensor, current sensor, etc. while carrying out the action sequence or the sequence of DMPs. The sensors may be used to detect the pose of the robot 805 or objects, such as milk carton, bowl, cereal carton, components of the entity, tools, or machines, etc. during the execution of the operation.
[0131] In an example embodiment, the plan-revision language model 106 of the controller 800 consumes the gap report 104 and the first sequence of robot actions 102 to generate a refined second sequence of robot actions 107 by inserting, deleting, or reordering dmps so as to resolve the identified discrepancies while preserving the original task intent. The refined sequence of robot actions is translated by the action sequence decoder 108 and the trajectory controller 110 into updated control commands 111 for subsequent execution cycles, thereby closing the iterative planning loop.
[0132] The above description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the above description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing one or more exemplary embodiments. Contemplated are various changes that may be made in the function and arrangement of elements without departing from the spirit and scope of the subject matter disclosed as set forth in the appended claims.
[0133] Specific details are given in the above description to provide a thorough understanding of the embodiments. However, understood by one of ordinary skill in the art can be that the embodiments may be practiced without these specific details. For example, systems, processes, and other elements in the subject matter disclosed may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known processes, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments. Further, like reference numbers and designations in the various drawings indicated like elements.
[0134] Also, individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process may be terminated when its operations are completed but may have additional steps not discussed or included in a figure. Furthermore, not all operations in any particularly described process may occur in all embodiments. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, the function’s termination can correspond to a return of the function to the calling function or the main function.
[0135] Furthermore, embodiments of the subject matter disclosed may be implemented, at least in part, either manually or automatically. Manual or automatic implementations may be executed, or at least assisted, through the use of machines, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the programcode or code segments to perform the necessary tasks may be stored in a machine readable medium. A processor(s) may perform the necessary tasks.
[0136] Various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and / or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
[0137] Embodiments of the present disclosure may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts concurrently, even though shown as sequential acts in illustrative embodiments. Although the present disclosure has been described with reference to certain preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the present disclosure. Therefore, it is the aspect of the append claims to cover all such variations and modifications as come within the true spirit and scope of the present disclosure.
Claims
[CLAIMS]
1. A method for controlling a robot, the method comprising:receiving task-demonstration data expressed in one or more modalities, the task-demonstration data representing a sequence of actions performed by a subject;obtaining a first sequence of robot actions corresponding to the task¬ demonstration data;obtaining observation data corresponding to execution of at least a portion of the first sequence of robot actions by the robot;comparing, using a multimodal gap evaluator model, the observation data with the task-demonstration data to detect one or more discrepancies, the discrepancies comprising at least one of:an object-state discrepancy between a depicted object in the observation data and a corresponding object in the task-demonstration data,a motion- feasibility discrepancy between an action represented in the task-demonstration data and an action executable by the robot, or a logical-ordering discrepancy between the ordering of actions in the first sequence and the ordering in the task-demonstration data; generating, based on the comparison, a gap report comprising a structured representation of the one or more discrepancies;generating a second sequence of robot actions based on the first sequence and the gap report, wherein the second sequence is modified to address at least one of the detected discrepancies; andcausing the robot to execute at least a portion of the second sequence of robot actions.
2. The method of claim 1, further comprising: generating, by a transformer-based multimodal encoder of a multimodal gap evaluator, embedding vectors from the observation data and from the task-demonstration data; and computing, by a comparison module of the multimodal gap evaluator, metrics of object-state correspondence, motion-feasibility correspondence, and logical-ordering correspondence between the embedding vectors.
3. The method of claim 1, wherein the gap report includes a corresponding affordance score for each identified discrepancy.
4. The method of claim 1, further comprising: generating, by a transformer-based large language model stored in memory, the second sequence of robot actions in response to the first sequence of robot actions and the gap report.
5. The method of claim 1, further comprising: inserting one or more corrective actions into the first sequence of robot actions to generate the second sequence, wherein each action of the second sequence corresponds to a parameterized dynamic movement primitive that is executable by the robot.
6. The method of claim 1, further comprising: executing, in an iterative feedback loop, at least a portion of the second sequence of robot actions using a trajectory controller; acquiring updated observation data produced by the execution; comparing the updated observation data with the task-demonstration data using the multimodal gap evaluator to generate a subsequent gap report; generating a revised sequence of robot actions based on the subsequent gap report; and repeating the foregoing operations until a success metric computed by an affordance scorer exceeds a predetermined threshold or a predefined maximum number of iterations has been reached.
7. The method of claim 1, further comprising: generating the first sequence of robot actions by performing an object-mapping operation that semantically matches each object referenced in the task-demonstration data to a corresponding object in a predefined robot-object set using similarity scores produced by a large language model, and by performing an action-mapping operation that converts each action in the task-demonstration data into at least one corresponding robot skill selected from a predefined robot-skill library.
8. The method of claim 6, further comprising: computing, by an affordance scorer, the success metric as a weighted combination of an object-affordance sub-score, a motion-affordance sub-score, and a logic-affordance sub-score; and updating, by the processors, weighting parameters stored in memory during successive iterations of the feedback loop, wherein the updates are responsive to changes in the success metric to increase a likelihood of completing the task.
9. The method of claim 2, further comprising: selecting, by a language- guided segmentation model within the multimodal gap evaluator, keyframes from the task-demonstration data and from the observation data, each selected keyframe representing an individual action step; and performing the comparison between the task-demonstration data and the observation data using only the selected key frames.
10. The method of claim 1, further comprising: including, in the observation data for each executed robot action, at least one post-execution image captured by a robot-mounted camera, a numerical similarity score produced by the object- and action-mapping process, a binary flag indicating execution success or failure, and contextual metadata describing the robot’s workspace; andincorporating, by the multimodal gap evaluator, the numerical similarity score and the binary execution-success flag into the subsequent gap report.
11. A system for controlling a robot, comprising:circuitry configured to:receive a first sequence of robot actions corresponding to taskdemonstration data, wherein the task demonstration data is expressed in one or more modalities, the task-demonstration data representing a sequence of actions performed by a subject;obtain observation data corresponding to execution of at least a portion of the first sequence of robot actions by the robot;compare, using a multimodal gap evaluator, the observation data with the task-demonstration data to identify a semantic gap comprising at least one of:an object-state discrepancy between a depicted object in the observation data and a corresponding object in the taskdemonstration data,a motion-feasibility discrepancy between an action represented in the task-demonstration data and an action executable by the robot, or,a logical-ordering discrepancy between the ordering of actions in the first sequence and the ordering in the taskdemonstration data; andgenerate, based on the semantic gap, a gap report that describes the discrepancy and a second sequence of robot actions that is modified to reduce the discrepancy; andcause the robot to execute at least a portion of the second sequence of robot actions.
12. The system of claim 11, wherein the multimodal gap evaluator comprises a transformer-based multimodal encoder configured to generate embedding vectors from the observation data and from the task-demonstration data, and a comparison module configured to compute metrics of object-state correspondence, motion-feasibility correspondence, and logical-ordering correspondence between the embedding vectors.
13. The system of claim 11, wherein the gap report further comprises a corresponding affordance score for each identified discrepancy.
14. The system of claim 11, wherein the memory further stores a transformer-based large language model configured, when provided with the first sequence of robot actions and the gap report, to generate the second sequence of robot actions.
15. The system of claim 11, wherein the circuitry is configured to generate the second sequence of robot actions by inserting one or more corrective actions into the first sequence of robot actions, wherein each action of the second sequence corresponds to a parameterized dynamic movement primitive that is executable by the robot.
16. The system of claim 11, wherein the circuitry is further configured to operate in an iterative feedback loop that commands a trajectory controller to execute at least a portion of the second sequence of robot actions, acquires updated observation data produced by the execution, compares the updated observation data with the task-demonstration data using the multimodal gap evaluator to generate a subsequent gap report, generates a revised sequence ofrobot actions based on the subsequent gap report, and repeats the foregoing operations until a success metric computed by an affordance scorer exceeds a predetermined threshold or a predefined maximum number of iterations has been reached.
17. The system of claim 11, wherein the circuitry is configured to generate the first sequence of robot actions by performing an object-mapping operation that semantically matches each object referenced in the task-demonstration data to a corresponding object in a predefined robot-object set using similarity scores produced by a large language model, and by performing an actionmapping operation that converts each action in the task-demonstration data into at least one corresponding robot skill selected from a predefined robot-skill library.
18. The system of claim 16, wherein the affordance scorer is configured to compute the success metric as a weighted combination of an object-affordance sub-score, a motion-affordance sub-score, and a logic-affordance sub-score, and wherein the memory stores adjustable weighting parameters that the circuitry updates during successive iterations of the feedback loop, the updates being responsive to changes in the success metric to increase a likelihood of completing the task.
19. The system of claim 12, wherein the multimodal gap evaluator includes a language-guided segmentation model configured to select keyframes from the task-demonstration data and from the observation data, each selected keyframe representing an individual action step, and wherein the comparison between the task-demonstration data and the observation data is performed using only the selected key frames.
20. The system of claim 11, wherein the observation data further include, for each executed robot action, at least one post-execution image captured by a robot-mounted camera, a numerical similarity score produced by the object-and action-mapping process, a binary flag indicating execution success or failure, and contextual metadata describing the robot’s workspace, and wherein the multimodal gap evaluator is configured to incorporate the numerical similarity score and the binary execution-success flag into the subsequent gap report.
21. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a robotic controller, cause the one or more processors to perform operations comprising:receiving task-demonstration data expressed in one or more modalities, the task-demonstration data representing a sequence of actions performed by a subject;obtaining a first sequence of robot actions that corresponds to the taskdemonstration data;obtaining observation data generated while a robot executes at least a portion of the first sequence of robot actions;identifying, by a multimodal gap evaluator, a semantic gap between the task-demonstration data and the observation data, the semantic gap including at least one discrepancy selected from:an object-state discrepancy between a depicted object in the observation data and a corresponding object in the task-demonstration data;a motion- feasibility discrepancy between an action represented in the task-demonstration data and an action executable by the robot; anda logical-ordering discrepancy between an ordering of actions in the first sequence of robot actions and a corresponding ordering represented in the task-demonstration data;generating, based on the semantic gap, a gap report that describes the at least one discrepancy;generating a second sequence of robot actions based on the first sequence of robot actions and the gap report; andcommanding a trajectory controller to cause the robot to execute at least a portion of the second sequence of robot actions.
