APPARATUS AND METHOD FOR EXECUTING A TASKS - Patent application

A modular planning framework disentangles navigation tasks into goal reaching and collision avoidance, using stochastic optimization and deep learning to navigate dynamic environments efficiently and safely, addressing the challenge of multiple constraints without retraining.

JP7562729B2Active Publication Date: 2024-10-07KK TOSHIBA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023028306
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-08-12
Filing Date
2023-02-27
Publication Date
2024-10-07
Estimated Expiration
2043-02-27

AI Technical Summary

Technical Problem

Existing machine learning systems struggle to efficiently navigate dynamic environments with multiple constraints, such as avoiding both static and dynamic obstacles, without requiring extensive retraining or a priori maps.

Method used

A modular planning framework that disentangles tasks into goal reaching and dynamic collision avoidance, using stochastic optimization and deep learning to model constraints independently, allowing for real-time adaptation and combination of deep and analytical constraints without retraining.

Benefits of technology

Enables safe and efficient navigation through complex environments by accurately predicting obstacle trajectories and optimizing paths in real-time, improving convergence and generalization without the need for prior maps or extensive retraining.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562729000066
    Figure 0007562729000066
  • Figure 0007562729000067
    Figure 0007562729000067
  • Figure 0007562729000068
    Figure 0007562729000068
Patent Text Reader

Abstract

To provide a device for executing a sequence of actions executed for reaching a goal.SOLUTION: The device comprises: a sensor that acquires an observation value of the device; a controller that receives a control signal for moving the device; and a processor. The processor is configured to receive information about a goal, determine a sequence of actions for reaching the goal, and provide the control signal for a next action in the sequence of actions to the controller. The processor is configured to process the observation value received by the sensor so as to acquire information about at least one constraint and execute probability optimization for determining the sequence of actions, thereby determining the sequence of actions. The at least one constraint is represented as cost for the probability optimization. The probability optimization receives an initial estimation value of the next action.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] SUMMARY OF THE DISCLOSURE The embodiments described herein relate to task execution devices and methods, as well as methods and systems for training the same. [Background technology]

[0002] Many machine learning problems can be modeled as tasks, in which an agent attempts to satisfy a goal while considering various constraints. One example of such a task is navigation, where a vehicle attempts to reach a location (goal) while considering constraints provided by obstacles and also the vehicle's allowed movement actions. [Brief description of the drawings]

[0003] [Figure 1A] 1 is an illustration of an example environment in which an autonomous vehicle may navigate in accordance with an illustrative embodiment. [Figure 1B] 1 is an illustration of an autonomous vehicle in accordance with an illustrative embodiment. [Figure 1C] 1 is an illustration of an autonomous air vehicle in accordance with an illustrative embodiment. [Figure 1D] FIG. 1B is a schematic diagram of a control system applied to the autonomous vehicle of FIG. 1A and the autonomous air vehicle of FIG. 1B. [Diagram 2] 1 is a flowchart illustrating a method for performing a task according to one embodiment. [Diagram 3] 1 is a flowchart illustrating a method for performing a task according to one embodiment. [Figure 4] A representation of the input from a LiDAR sensor. [Diagram 5] FIG. 1 is a schematic diagram of a system for performing tasks according to one embodiment. [Figure 6] FIG. 2 is a schematic diagram showing the vehicle / robot dynamic model in more detail. [Figure 7] FIG. 1 illustrates how cost is modeled as a constraint in a stochastic optimization model. [Figure 8] An example of a robot navigating in a complex dynamic scene using a method according to one embodiment is shown in the top five figures, which are online reconstructions of the current environment and the corresponding bottom five figures are the ground truth maps. [Figure 9] 1 shows four environments navigated by a robot using a method according to one embodiment, where the solid lines indicate the motion of the robot and the dotted lines indicate the motion of dynamic obstacles. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0004] In a first embodiment, an apparatus is provided for executing a task, the task being a sequence of actions to be performed to reach a goal, the apparatus comprising: at least one sensor for obtaining observations of the device; a controller configured to receive control signals to move the device; A processor; Equipped with The processor, receiving information regarding a goal; determining a sequence of actions to reach the goal, the sequence of actions being subject to at least one constraint; providing a control signal to the controller for a next action in the sequence of actions; configured to: The processor is configured to determine a sequence of actions by processing observations received by the sensor to obtain information regarding at least one constraint and performing a stochastic optimization to determine a sequence of actions, where the at least one constraint is expressed as a cost in the stochastic optimization, and the stochastic optimization receives an initial estimate of a next action.

[0005] The disclosed system increases the functionality of a computer by enabling the computer to perform functions not previously performed by the computer. Specifically, the disclosed system provides rapid updates of an agent (such as a vehicle) to perform tasks in a dynamic environment even when data about the environment is multi-dimensional. This is provided by modeling the task as a stochastic optimization problem where constraints are modeled as costs. This allows each of the costs to be modeled independently and then combined in a stochastic model. The convergence of the stochastic model is improved by using estimates of the next action.

[0006] In one embodiment, the input estimates are obtained from a reinforcement learning policy or module, which may use any suitable algorithm, and in one embodiment, a proximal policy optimisation algorithm (PPO) is used.

[0007] The above arrangement allows a processor to process observations related to constraints using multiple parallel processing branches, with each branch allocated to a different constraint, allowing the constraints to be modeled and trained independently of the main task.

[0008] The above can be used in many different types of tasks, e.g., robot navigation with constraints, picking arm operation with constraints, viewpoint planning for reconstruction in a real environment, etc. In one embodiment, the task comprises moving at least a part of the device to reach a goal, and the sequence of actions is a sequence of movements.

[0009] In one embodiment, the device is a vehicle or robot, the task is a navigation task, and the goal is a location. The location can be a location described by coordinates or the location of an object to be picked up, etc. The location can be a location to which the entire vehicle / robot should be moved or a location to which only a portion of the vehicle / robot should be moved, for example the portion of the vehicle / robot can be an arm of the robot.

[0010] In such a task, at least one of the constraints may comprise navigating to avoid dynamic obstacles. In one embodiment, this may be accomplished in that constraints related to avoiding dynamic obstacles may be processed to generate an occupancy map of dynamic obstacles. The occupancy map provides a probability distribution of the likelihood that a location is occupied at time t. In one embodiment, multiple occupancy maps are generated, e.g., at different times up to a time horizon H.

[0011] In one embodiment, the processor is configured to generate one or more occupancy maps of the dynamic obstacle using a neural network, where inputs to the neural network are a time series of previous observations of the dynamic obstacle.

[0012] The framework allows constraints to be processed in different processing branches, and therefore different constraints can be processed differently, for example at least one of the constraints may comprise navigating to avoid static obstacles.

[0013] In one embodiment, at least one of the constraints requires the device to travel a shortest distance to reach the goal.

[0014] When there are multiple constraints, the processor may be configured to apply a weight to each cost such that variable weights are applied to the costs derived from the constraints, allowing, for example, the costs of avoiding static obstacles to be weighted more heavily than the costs of avoiding dynamic obstacles.

[0015] In one embodiment, the input to the reinforcement learning module is a hidden state of a recurrent neural network "RNN" that is used to generate a prediction of at least one future observation. The input to the RNN may be a latent representation of the observation. The RNN may also receive as input the current action of the device, which may be determined from odometry measurements.

[0016] In a further embodiment, a further input to the RNN is the goal, however it is also possible that the goal is not provided to the RNN at this stage and predictions are made independently of the goal.

[0017] In one embodiment, the processor is configured to provide a probability distribution associated with a prediction of future observations from the RNN to a stochastic optimizer.

[0018] Providing an initial guess to the stochastic optimizer allows it to converge more quickly. The initial guess may be just the next action, or it may be the sequence of actions leading to the goal.

[0019] In one embodiment, the observations are LiDAR data.

[0020] The goals may be the final goal, or they may be waypoints that form "sub-goals" en route to the final goal.

[0021] In a further embodiment, there is provided an apparatus for performing navigation to a goal, the apparatus comprising: at least one sensor for obtaining observations of the device; a controller configured to receive control signals to move the device; A processor; Equipped with The processor, receiving information regarding a goal; determining a path to the goal subject to at least one constraint, the path being a sequence of actions; providing a control signal to the controller for a next action to move the device to the goal; configured to: The processor determines a path to the goal subject to at least one constraint by processing observations received by the sensor to determine information related to at least one constraint, determining an estimate of a next action, and performing stochastic optimization to determine a path, the at least one constraint being represented as a cost in the stochastic optimization, and the estimate of the next action being provided as an input.

[0022] In a further embodiment, an apparatus is provided for performing a task, the task comprising a goal and a number of constraints; This device is an input for receiving image data associated with an observation; A processor; an output for outputting a control signal; Equipped with The processor receiving information indicative of a goal of the device; receiving the image data and determining from the image data information regarding the constraints and a current progress of the device toward the goal; predicting the next action the device will take to progress towards the goal; configured to: Predicting the next action comprises performing an optimization using the constraints as costs during the optimization, where the optimization receives an input estimate of the next action.

[0023] The above provides a novel planning framework that can combine multiple constraints, both deep and analytical, and resolves them in continuous space using joint stochastic optimization on the fly without retraining the model. Also, embodiments provide a safe indoor navigation approach that can use LiDAR measurements and odometry to steer a robot through complex environments in the presence of dynamic obstacles.

[0024] The embodiments described herein use deep networks to encode range measurements, so ground poses of other obstacles are not needed. Also, since the environment is reconstructed, no a priori map of object locations is needed. The embodiments described above use deep recurrent networks to predict obstacle trajectories, allowing the techniques described herein to predict more accurate trajectories (or sequences of actions) over longer horizons. Also, warm starting the optimization process using a deep reinforcement learning solution as an initial guess helps the optimization process maximize future rewards.

[0025] The above embodiment allows disentangling the task into two (or more) subtasks: goal attainment (main task) and dynamic collision avoidance (constraints), so that the approach generalizes better since it is not "end-to-end". Also, a modular online planning approach is presented that can jointly optimize the subtasks on the fly without retraining or modifying the deep reinforcement policy.

[0026] In one embodiment, the navigation task is disentangled into two subtasks: (i) goal reaching and (ii) dynamic collision avoidance. A recurrent neural network (RNN) is trained to learn a dynamic model of the robot and obstacles from the data. Considering each task as a constraint, a method is presented for multi-constraint planning in deep learning based dynamic systems. The method jointly solves analytical or learning-based necessary constraints by computing the optimal action that minimizes the average expected cost over the planning horizon. To solve the far horizon task, in one embodiment, a waypoint-based planning strategy is used. Furthermore, a partial occupancy map may be maintained, which is reconstructed online while navigating. From this, collision-free waypoints may be selected and served as goals.

[0027] The embodiments described herein approach the constraint model in a modular manner so that the robot configuration (and other constraints) can be changed on the fly without retraining.

[0028] Moreover, the optimization can handle both deep networks and analytical kinodynamic models, and the solution is validated through all constraints to ensure that the solution is feasible and safe.

[0029] The multi-task planning formulation of the problem described above has several advantages. First, it is possible to add additional constraints on the fly, e.g., robot dynamics, smoothness, etc. Second, the framework can handle analytical constraints as well as deep network-based dynamic constraints, e.g., the evolution of a robot's trajectory depends on its dynamics, which is an analytical constraint. In contrast, the trajectories of dynamic obstacles are better predicted by deep neural networks and are difficult to represent in closed form.

[0030] Agent systems and methods control entities, which may be real (e.g., physical) or simulated, based on observations of their context, e.g., based on observations of the entity's environment and / or the entity's state. Such agents may control the entities to perform a set of actions to perform a specified task. Navigating in a cluttered and realistic indoor environment is one task. In particular, the agent attempts to control the entity to navigate to a goal object while avoiding collisions in the presence of both static and dynamic (i.e., moving) obstacles. The ability to navigate while avoiding collisions is important in facilitating robots to perform tasks in autonomous roads and aircraft, delivering heavy boxes to destinations on busy streets, clearing restaurant tables, and delivering syringes to hospital operating rooms, all scenarios where dynamic obstacles, such as humans and vehicles, are likely to be moving.

[0031] To aid in the understanding of the embodiments described herein, a specific example is first presented. It should be understood that this specific example is provided to aid in the understanding of these embodiments, and should not be considered as limiting the scope of the following claims or the specification.

[0032] FIG. 1A is a floor plan illustration of an exemplary environment 10 that can be navigated using an agent in accordance with an exemplary embodiment.

[0033] The exemplary environment 10 includes an autonomous vehicle 11 and a target object 12, such as a ball or a vase, to which the autonomous vehicle is navigating from its current location. As illustrated, there are obstacles between the autonomous vehicle 11 and the target object 12. To avoid damage to the autonomous vehicle 11 and the obstacles, and to avoid being stuck at the obstacles, the autonomous vehicle 11 avoids colliding with the obstacles when navigating to the target object 12.

[0034] The exemplary environment 10 may be a cluttered indoor environment, such as an office or home, and may include tables, chairs, shelves, bookcases, storage, boxes, electronic devices, and obstacles such as power cables.

[0035] FIG. 1B is an illustration of an autonomous vehicle 1, such as a self-guided vehicle, according to an exemplary embodiment.

[0036] Autonomous vehicle 1 includes a body 2, wheels 3, and a sensor 4. Autonomous vehicle 1 may include additional elements beyond those shown, such as, for example, a vacuum suction element that allows the autonomous vehicle to be used as an automatic vacuum cleaner, and / or forks and / or a carrier that allows the autonomous vehicle to collect and / or deliver objects.

[0037] The body 2 includes one or more motors that can be used to rotate the wheels 3 and a steering system, e.g., rack and pinion, so that at least some of the wheels 3 can be turned to move in a desired direction. The body 2 also includes a control system, e.g., one or more computing devices that can be used to execute the movements. For example, the control system can rotate the wheels by the motors to move the autonomous vehicle forward (and, if supported, rotate the wheels in the opposite direction to move the autonomous vehicle backward) and the steering system can rotate the wheels to turn the autonomous vehicle. The control system can determine the movements to be executed by itself, e.g., using the method described in connection with FIG. 1D, or can receive instructions indicating the actions to be executed from an external computer system using network hardware, e.g., a wireless transceiver. The body 2 also includes a power source (e.g., a battery and / or solar panel) or a connection to a power source (e.g., a power connection) so that the one or more motors, the steering system, and the control system can be supplied with energy.

[0038] The wheels 3 may include four wheels, including wheels 3a, 3b and two wheels (not shown) arranged opposite thereto, e.g., on the opposite side (not shown) of the body 2 from the wheels 3a, 3b. Each two of the four wheels, e.g., wheel 3a and the opposite wheel and wheel 3b and the opposite wheel, may be connected by an axle extending through the body 2. At least one of the axles may be connected to a motor, such that each two wheels connected to the axle may be rotated by the motor. At least one of the axles may be connected to a steering system, such that each two wheels may be turned using the steering system.

[0039] The sensor 4 is capable of capturing image data. In one embodiment, the sensor is a LiDAR (light detecting and ranging) sensor. The sensor 4 is coupled to a control system in the body 2. The sensor 4 is configured to capture image data and send the image data to the control system, for example in response to a request received from the control system. The control system may process the image data itself to determine one or more movements to be performed based on the image data, or may transmit the image data to an external computer system using network hardware such as a wireless transceiver, thereby enabling the external computer system to determine one or more movements to be performed based on the image data.

[0040] FIG. 1C is an illustration of an autonomous air vehicle 5, such as an unmanned air vehicle or drone, in accordance with an exemplary embodiment.

[0041] Autonomous air vehicle 5 includes a body 6, a propeller 7, and a sensor 8. Autonomous air vehicle 5 may include additional elements other than those shown, such as payload holding or attachment elements that enable the autonomous air vehicle to be used to collect and / or deliver objects.

[0042] The body 6 includes a respective motor for each of the propellers 7 that can be used to rotate the respective propeller. The body 6 also includes a control system, e.g., one or more computing devices, that can be used to execute movements. For example, the control system can cause the motors to rotate the propellers and control the speed at which the motors rotate the propellers, thereby enabling the autonomous air vehicle to ascend and descend, move forward and / or backward, and turn. The control system can determine the movements to be executed by itself, e.g., using the method described in connection with FIG. 1D, or can receive instructions indicating the actions to be executed from an external computer system using network hardware, e.g., a wireless transceiver. The determined and / or received movements may be at a higher level of abstraction than the autonomous air vehicle is capable of executing, and the control system can translate these more abstract movements into the movements the air vehicle is capable of executing. For example, the more abstract movements can be a forward movement, a left turn, and a right turn, and the control system can translate these into differences in the speed at which the motors rotate the propellers 7. Body 6 also includes a power source (eg, a battery and / or a solar panel) or a connection to a power source (eg, a power connection) so that energy can be provided to one or more motors and the control system.

[0043] Propeller 7 may include four propellers 7a, 7b, 7c, and 7d. As described, each of propellers 7a-7d may be rotated by a respective motor located on body 6, and one or more of propellers 7a-7d may be rotated at a different speed than another one or more of propellers 7a-7d such that autonomous air vehicle 5 turns left or right or moves forward.

[0044] The sensor 8 is capable of capturing image data. In one embodiment, the sensor is a LiDAR (light detecting and ranging) sensor. The sensor is coupled to a control system in the body 6. The sensor is configured to capture image data and send the image data to the control system, for example, in response to a request received from the control system. The control system may process the image data itself to determine one or more movements to be performed based on the image data, or may transmit the image data to an external computer system using network hardware such as a wireless transceiver, thereby enabling the external computer system to determine one or more movements to be performed based on the image data.

[0045] Fig. 1D is a schematic diagram of the internal components of a vehicle. The vehicle includes a computer system 110 having a processor 112 and a memory 114. The computer system 110 receives inputs from a LiDAR sensor 141 and a robot odometry sensor 142. The functionality of the computer system is described with reference to Figs. 2-7. Once the next action is determined, commands are sent to a controller 130 which controls a steering device 140.

[0046] FIG. 2 is a flow chart showing a method for controlling an agent to perform a task. In step S101, data on a goal is received by a processor. To put the method in context, the method is described in relation to the navigation task of FIG. 1A, where the device is a vehicle and the goal is a location to be reached by the robot. However, other options are possible, for example, the device may be a robot arm and the goal is to reach the arm to an object. In practice, the methods and systems described herein can be applied to any model predictive control (MPC) process, such as (i) reaching and grabbing an object (e.g. an object on a shelf) while taking into account the constraints of the workspace, (ii) manipulation: cutting / welding into a pattern, (iii) fruit picking for an agricultural robot, or (iv) visual inspection of the workspace by a drone. The goal may be a final goal or a subgoal that defines a process towards the goal.

[0047] At S103, image data is received. The image data may be any type of data relating to information about the vehicle's physical surroundings from which a map of obstacles may be generated. In one embodiment, the image data is output from one or more LiDAR sensors.

[0048] The image data collected in S103 is then processed in parallel branches. In the first branch, the image data is processed to determine information about constraints on the process in step S105. The constraints are then provided as costs in the optimization model S107. In the optimization model, a course of action towards the goal with the lowest cost is determined. In this simplified chart, only a single branch is shown to determine the cost. However, in practice, there may be many parallel branches. Also, the additional costs provided to the optimization model S107 may not be derived from the image data acquired in step S103. In a navigation task, the constraints may be obstacles (static and / or dynamic), route limitations such as the length of the route, limitations provided by the vehicle, etc.

[0049] In the optimization model S107, a multi-dimensional cost landscape is generated and the lowest cost path is found. This can be done using known optimization techniques. To help the optimization model efficiently converge to a good solution, an initial estimate of the next action is provided to the optimization model in step S109. The next action is output from the optimization model in S111.

[0050] Figure 3 is a flow chart of an implementation of the flow chart of Figure 2 for a vehicle or robot performing a 2D navigation task in the presence of static and dynamic obstacles. The chart of Figure 3 is an improvement over the flow chart of Figure 2, so like reference numbers are used to denote like features to avoid unnecessary repetition.

[0051] In one embodiment, the problem of point-goal navigation in 2D is solved by finding the current position of the vehicle (or robot).

number

number

number

number

[0052] This problem can be formulated as a model predictive control (MPC) as follows:

number

[0053] In one embodiment, the problem is modeled as a multi-task planning approach. In a particular embodiment, stochastic optimization is used in the latent space to solve all the subtasks in a joint framework. The MPC formulation of equation (1) can be rewritten as an unconstrained optimization problem as follows:

number

number

number

number

[0054] α, β, γ are weights that can be set as needed. In some embodiments, α, β, γ are all set to 1. However, different values ​​can be set if the importance of one or more of the costs needs to be increased and / or decreased. M t O (p t ) is the position p t is the dynamic occupancy map that represents the probability of occupancy by a dynamic obstacle at time instance t, and M t s (p t ) is the position p t is the static occupancy map, which represents the probability of being occupied by a static obstacle at time instance t.

[0055] In one embodiment, the next position of the robot can be predicted by a nonlinear function φ (which may be implemented by a neural network, such as a recurrent neural network), or by the true dynamics of the robot if f is known. Similarly, a nonlinear function ψ (which may be implemented by a neural network) can be used to derive a collision probability map M for dynamic obstacles from LiDAR measurements. t Owhile the static occupancy map M t s can be reconstructed or predicted from LiDAR measurements.

[0056] In this embodiment, the partially reconstructed static occupancy map (M t s ) representation is generated by classical grid mapping. In one embodiment, the static map is computed using simultaneous localization and mapping (SLAM).

number

[0057] A signed distance field (SDF) representation of the world over the partial occupancy reconstruction is also used, which is updated every few steps since computing the SDF is computationally expensive. A global planner (e.g., a fast marching method) is then used to generate waypoints from the partial SDF every few steps. Additionally, the static collision cost C t s Also, the occupancy map (M t s ) at position p t It can be computed by querying the probability that ∈ is greater than a threshold ∈. In summary, the occupancy map is converted to a signed distance field (SDF), then a global planner such as the fast marching method (FMM) is run on the SDF to select waypoints on the FMM path a set number of steps away, e.g., 15 steps away.

[0058] Once the future states and corresponding costs are predicted by the RNN, in one embodiment, a gradient free sampling-based stochastic optimization framework is used to optimize the costs from Equation 2.

[0059] How this is derived is explained with reference to Fig. 3. In step S101, data on the goal is provided. In this embodiment, the data on the goal is provided by a 2D location that the vehicle should reach. However, other options are possible, for example in the case of a vacuum cleaner intermediate goals (waypoints) along the route to cover a specified area can be given. Another example is also an autonomous inspection when a certain point of interest needs to be covered.

[0060] Image data is then received in step S103. As mentioned above, the image data may be data from a LiDAR sensor. Figure 4 shows a typical "image" from a LiDAR sensor, which is a polar image with the sensor itself located at the center of the image, and reflections of the light signals sent by the LiDAR sensor indicate the presence of obstacles. For processing, the LiDAR image data may be converted into a matrix of occupancy probabilities or as a 1D vector of distances. The matrix may have a size of 64x64, and the 1D vector may have a size of 1080 units, so the input to the neural network is large. The obstacles may be dynamic obstacles that move in a predictable or unpredictable manner, or the obstacles may be static obstacles.

[0061] In step S105, information about the constraints is obtained. Although a single branch is shown for simplicity, in practice there may be multiple branches, each modeling a different type of constraint, allowing the constraints to be modeled as costs in the optimization step.

[0062] Modeling dynamic obstacles as constraints is now described. The trajectories of dynamic obstacles are learned by LiDAR measurements. This is more clearly shown in FIG. 5. The lower branch 201 of FIG. 5 shows a collection of Euclidean grid map representations 203 of LiDAR measurements obtained over a time period H with incremental time steps t to obtain separate representations from time tH to t. In one embodiment, the time step t is a timestamp for simulations and a frame rate for real experiments, e.g., a frame rate of 5 Hz may be used. These representations 203 are then stacked and used to predict a dynamic occupancy map 205 from which the cost of the constraints provided by the dynamic obstacles is determined. The dynamic occupancy map represents the probability that a location is occupied by a dynamic object.

[0063] In one embodiment, this is accomplished by training a spatio-temporal convolutional neural network that stacks Euclidean grid map representations 203 of previous LiDAR measurements (i.e., from tH to t) to predict a dynamic occupancy map 205 over the time interval from tH to t+H, which is

number

[0064] From this, the dynamic collision cost

number

number

[0065] In one embodiment, a further branch 201 is provided to model the costs due to static obstacles, where LiDAR input 203 (described in the dynamic branch) is used to generate an occupancy map that is maintained by a SLAM system (not shown).

number

number

[0066] Here, in addition to receiving image data, which in this embodiment is LiDAR data, odometry measurements 209 are taken at S113. The odometry measurements 209 indicate changes in vehicle position from the vehicle's sensors, such as accelerometers.

[0067] The odometry measurements, the goal, and image data are used to predict an estimate of the sequence of moves the vehicle needs to make to reach the goal. This estimate is then used as an input to a probabilistic model. The image data and odometry data provide the state of the vehicle. In one embodiment, the sequence (plan over the horizon) is used to predict ...

number

number

[0068] In one embodiment, a state-space model comprising a convolutional variational autoencoder (VAE) and a recurrent neural network (RNN) 211 as shown in FIG. 5 is used to encode the vehicle dynamic model.

[0069] The inputs to the state space model are: First, a latent representation from LiDAR measurements is provided. 1.Z t =VAE(X t ) This is then concatenated into the RNN along with the previous action and the relative goal.

number

number

[0070] The arrangement and operation will be described in detail with reference to Fig. 6. Here, the VAE is represented as an encoder 251 and a decoder 253. The purpose of the VAE is to extract image data from the LiDAR sensor.

number

number

[0071] latent expression

number

number

number

number

number

number

number

number

number

[0072] A latent representation of the observation at time t

number

number

number

number

number

number

number

number

number

[0073] In one embodiment, the output of the RL module 215 / 257 is a prediction of the next action of the vehicle.

number

number

[0074] In one embodiment, the initial solution provided by the RL policy

number

number

number

number

[0075] Further, a decoder 253 is used to generate the predicted observations

number

number

[0076] the above

number

number

number

number

number

[0077] These samples are propagated through all state-space models of the constraints to produce the next state

number

number

[0078] The N samples are then sorted in descending order of reward (reward = -cost) and the K-elite samples corresponding to the smallest C are selected. Following the CEM optimization process, a normal distribution is refitted with variance and mean for each of the K-elite samples. The process is repeated until the average expected cost does not decrease by a threshold. Finally, the best action is selected and this is offered to the vehicle in a receding horizon manner. In the receding horizon planning approach, a plan is created over a fixed horizon H, but the next action is

number

[0079] In one example, there is one distribution per time step (H distributions in total), from which N samples are selected from the distributions at each time step. Since each action is represented in 2 dimensions, this gives an NxHx2 matrix for the H time steps.

[0080] These N samples per time step are then passed to all the constraints. In this embodiment, there are two constraints and one cost to reach the goal, resulting in an NxHx3 matrix of costs.

[0081] Next, the average cost per sample per time step is determined, resulting in an NxH matrix.

[0082] Then, for each time step, the k elite samples with the smallest cost are selected. This gives a kxHx2 matrix (since each action is 2D). A normal distribution is then fitted to these k samples. This results in H normal distributions, each with a 2D mean and a 2D (diagonal) variance.

[0083] N samples are again selected from these H distributions giving an NxHx2 matrix and the process is repeated until convergence. In one embodiment, the process is completed after 8-10 iterations to avoid delays in the process.

[0084] In one embodiment, the vehicle continuously gets the previous sensor measurements from a buffer / memory and writes the action commands to the vehicle / robot's buffer / memory. This implementation is useful for having the planner update at a different rate compared to the sensors, since all the sensors refresh at different rates.

[0085] In the above, in the case of simulation, the position

number

number

number

number

number

number

number

[0086] FIG. 7 shows an overview of the above optimization.

[0087] In one embodiment, an algorithm using the following pseudocode may be used. [Table 1]

[0088] This is illustrated in the diagram of FIG.

[0089] We now turn to Figure 5 to describe the training of the system: Since the costs are combined in the stochastic optimizer 217, the neural networks that determine the costs can be trained separately from each other.

[0090] In one embodiment, the neural network ψ used to generate the dynamic occupancy map is trained separately from the rest of the system. In one embodiment, the neural network ψ is trained in a supervised fashion using a truth map with obstacles, e.g., 0-15 obstacles.

[0091] In one embodiment, both the VAE and the RNN (LSTM) that form φ are trained jointly. For example, training data can be obtained by randomly moving an agent and collecting data.

[0092] In one embodiment, the RL modules are trained separately.

[0093] This allows the neural networks used to model the constraints to be trained separately from each other, so that constraints can be added and / or removed without the need to retrain other constraints or the robot dynamic model.

[0094] In one embodiment, the following structure may be used: For the VAE for the robot dynamic model (φ), an architecture similar to Navrep may be used. In this example, the VAE comprises a 4-layer convolutional neural network (CNN) encoder, followed by 2 dense layers and a 4-layer CNN decoding block. The latent features z are of size 32 and the RNN (LSTM) hidden features are of size 64. The value network of the RL policy consists of the 2-layer dense network.

[0095] For the dynamic obstacle branch, a U-Net style architecture [O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical image computing and computer-assisted intervention, pp. 234-241, Springer, 2015.] can be used.

[0096] The LiDAR measurements are converted into a grid map of size (140x140) and 4 grid maps from (t=t-4:t=t) are stacked in the form of a (140x140x4) tensor, which is input to U-Net. The U-Net output is composed of a (140x140x8) tensor, which represents 8 grid maps with probability distributions of dynamic obstacles from (t-4:t+4).

[0097] In a particular example, the dynamic model is trained using 1000 trajectories, each of length 200, extracted by controlling the robot using the ORCA policy for a variable number of static and dynamic obstacles ranging from 10 to 15. Furthermore, in one embodiment, leg movements were used to render the dynamic agent as moving legs in the generated LiDAR data, and a time step of 0.2 s was used to update the agent's position.

[0098] In one embodiment, a pre-trained model provided by Dugas et al. [D. Dugas, J. Nieto, R. Siegwart, and JJ Chung, “Navrep: Unsupervised representations for reinforcement learning of robot navigation in dynamic human environments,” in 2021 IEEE International Conference on Robotics and Automation (ICRA), pp. 7829-7835, IEEE, 2021.] is used for the robot dynamics and the RL policy. The RL policy can be an RL policy with policy gradient methods. In a further embodiment, the RL policy is a PPO policy (see, for example, Proximal Policy Optimisation Algorithms J. Shulman et al arXiv:1707.06347).

[0099] We model the state space of dynamic obstacles with a learning rate of 1e-4 We trained it for 200 epochs using the popular Adam optimizer in . Random cropping and random rotation were also used as data augmentation to train U-Net. For CEM optimization, we used horizon length H = 4, initial variance 0.8, number of samples = 256, and number of K elite samples = 32. We optimized it for 6 iterations. These CEM hyperparameters were empirically selected based on the Navrep training simulation environment. [Table 2] Table I

[0100] While this technique can be applied to any multi-constrained reasoning problem, the specific example provided here is dynamic obstacle avoidance, where an agent is required to reach a point goal by moving in an obstacle-free space (navigation task) while avoiding moving obstacles (dynamic obstacle task).

[0101] The method was evaluated in an environment with five moving obstacles and five objects in a small space with more than 100 trajectories on average. The evaluation results are shown in Table I. Figure 8 shows example trajectories of the method, where the robot needs to cooperate with other agents due to small space constraints. Figure 8 shows examples of the robot navigating in a complex dynamic scene from the validation set in the Navrep simulated environment. The top five examples are online reconstructions of the current environment, where the robot 301 navigates to the goal 303 while avoiding dynamic obstacles detected by the dynamic obstacle prediction network 305 (dotted lines are shown around the dynamic obstacles). The bottom five figures are the truth maps.

[0102] The system was also evaluated without retraining or fine-tuning on Navrep's publicly available simulation benchmark, where the model was tested on 18 unseen scenarios (9 scenarios each for two maps, "asl" and "unity"), 50 times per scenario. The scenario definition and selection were fixed before the tests were performed to avoid bias.

[0103] The results are shown in Table II. [Table 3] Table II: Quantitative results of the navrep benchmark for 18 predefined scenarios.

[0104] Excellent results are shown, demonstrating the strength of the system described above in being able to optimize policies online with or without a map.

[0105] Some examples of these scenes are shown in Fig. 9. In Fig. 9, the solid lines show the motion of the robot and the dotted lines show the motion of the dynamic obstacles. The dynamic obstacles have variations in their behavior and some obstacles even remain stationary. This poses a challenge to a DRL policy trained only from LiDAR measurements, as the policy expects these obstacles to move. The embodiments described herein use a different approach to address this problem.

[0106] The above was evaluated using an Intel-xeon-E5 processor with 128GB RAM and an Nvidia-Titan-x GPU. After evaluation, it was found that for 256 samples and 32 k-elite samples with horizon length 4 and 6 optimization steps, the policy evaluation time is 0.02 seconds for the Navrep planner, while the non-parallel single-core implementation of the layout configuration in Figure 5 takes 0.2 seconds. The advantage of using CEM in stochastic optimization is that the process of sampling can be made highly parallel. The parallel implementation of the above was observed to take about 0.08 seconds. Hence, the above can be implemented in a real robotic system.

[0107] The above embodiments provide a novel planning framework that can combine multiple constraints, both deep and analytical, and resolve constraints in continuous space using joint stochastic optimization on the fly without retraining the model. The embodiments provide a safe indoor navigation approach that can steer a robot through complex environments in the presence of dynamic obstacles using LiDAR measurements and odometry.

[0108] Although specific embodiments have been described, these embodiments are presented by way of example only and are not intended to limit the scope of the invention. Rather, the novel devices and methods described herein may be embodied in other various forms, and various omissions, substitutions, and changes may be made in the form of the devices, methods, and products described herein without departing from the spirit of the invention. The appended claims and their equivalents are intended to cover any form or modification that falls within the spirit and scope of the invention.

Claims

1. An apparatus for executing a task, the task being a sequence of actions to be performed to reach a goal; at least one sensor for obtaining observations of the device; a controller configured to receive control signals to move the device; A processor; Equipped with The processor, receiving information regarding the goal; determining a sequence of actions to reach the goal, the sequence of actions being subject to at least one constraint; providing a control signal to the controller for a next action in the sequence of actions; [0023] The apparatus, wherein the processor is configured to determine the sequence of actions by processing observations received by the at least one sensor to obtain information regarding the at least one constraint and performing stochastic optimization to determine the sequence of actions, wherein the at least one constraint is expressed as a cost in the stochastic optimization, and the stochastic optimization obtains an initial estimate of the next action using a probability distribution associated with a prediction of future observations as an initial value for predicting the next action.

2. The apparatus of claim 1 , wherein the initial estimate is obtained from a reinforcement learning policy.

3. The apparatus of claim 1 , wherein the processor is configured to process observations relating to the constraints using multiple parallel processing branches, each branch being allocated to a different constraint.

4. The device of claim 1 , wherein the task comprises moving at least a portion of a device to reach a goal, and the sequence of actions is a sequence of movements.

5. The apparatus of claim 4 , wherein the apparatus is a vehicle, the task is a navigation task, and the goal is a location.

6. The apparatus of claim 5 , wherein the at least one constraint comprises navigating to avoid dynamic obstacles.

7. The apparatus of claim 6 , wherein the processor is configured to process constraints related to avoidance of dynamic obstacles by generating an occupancy map of the dynamic obstacles.

8. The apparatus of claim 7 , wherein the processor is configured to generate an occupancy map of the moving obstacle using a neural network, and an input to the neural network is a time series of previous observations of the moving obstacle.

9. The apparatus of claim 5 , wherein the at least one constraint comprises navigating to avoid static obstacles.

10. The apparatus of claim 5 , wherein the at least one constraint requires the apparatus to travel a minimum distance to reach the goal.

11. The apparatus of claim 1 , wherein there are a plurality of constraints, and the processor is configured to apply a weight to each cost such that a variable weight is applied to costs derived from the constraints.

12. 3. The apparatus of claim 2, wherein an input to the reinforcement learning policy is a hidden state of a recurrent neural network (RNN), the RNN being used to generate a prediction of at least one future observation.

13. The apparatus of claim 12 , wherein an input to the RNN is a latent representation of the observation.

14. The apparatus of claim 13 , wherein a further input to the RNN is the goal.

15. The apparatus of claim 13 , wherein the processor is configured to provide probabilities associated with predictions of future observations from the RNN to a stochastic optimizer.

16. The apparatus of claim 1 , wherein the processor is configured to input the estimated sequence of actions for reaching the goal as input estimates to a stochastic optimizer.

17. The apparatus of claim 1 , wherein the observations are LiDAR data.

18. The apparatus of claim 2 , wherein the reinforcement learning policy is a proximal policy optimisation algorithm (PPO).

19. 1. A method for executing a task, the task being a sequence of actions to be performed to reach a goal, the method comprising: receiving information regarding the goal at a processor; determining a sequence of actions to reach the goal, the sequence of actions being subject to at least one constraint; providing a control signal to a controller for a next action in the sequence of actions; Equipped with The sequence of actions is determined by processing observations received by a sensor to obtain information about the at least one constraint and performing stochastic optimization to determine the sequence of actions, wherein the at least one constraint is expressed as a cost in the stochastic optimization, and the stochastic optimization obtains an initial estimate of the next action using a probability distribution associated with a prediction of future observations as an initial value for predicting the next action.

20. 20. A non-transitory computer readable medium comprising instructions that, when executed by a computer, cause the computer to perform the method of claim 19.

Citation Information

Patent Citations

  • Unsupervised learning of metric representations from slow features

    JP2019207678A

  • Task execution agent system and method

    JP2022046402A

  • Apparatus, methods and articles to facilitate motion planning in environments having dynamic obstacles

    WO2020247207A1