Method and system for data-driven and modular decision-making and path generation for autonomous agents - Patents.com
A hybrid architecture in autonomous vehicles uses modular learning modules to address the complexity of decision-making, ensuring safety and human-like driving behaviors by integrating programmed rules with machine learning, thus enhancing decision-making and route planning efficiency.
Patent Information
- Application Number
- JP2022574687
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-07-23
- Filing Date
- 2020-12-17
- Publication Date
- 2024-08-22
- Estimated Expiration
- 2040-12-17
AI Technical Summary
Autonomous vehicles face challenges in making safe and effective decisions due to the complexity of environmental interactions, requiring scalable solutions that ensure safety and adherence to road rules while maintaining human-like driving behaviors.
A hybrid architecture combining programmed rules and machine learning approaches, utilizing modular learning modules tailored to specific contexts and actions, ensures safety and interpretability in decision-making and route generation.
The hybrid approach allows for safe, efficient, and reliable decision-making and route planning in autonomous vehicles, reducing the need for extensive training data and providing explainable outcomes.
Smart Images

Figure 0007538893000008 
Figure 0007538893000001 
Figure 0007538893000006
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Application No. 63 / 035,401, filed June 5, 2020, and U.S. Provisional Application No. 63 / 055,763, filed July 23, 2020, each of which is incorporated by reference in its entirety.
[0002] The present invention relates generally to the field of autonomous vehicles, and more particularly to novel and useful systems and methods for data-driven and modular decision-making and path generation in the field of autonomous vehicles. [Background technology]
[0003] Making safe and effective decisions in autonomous vehicles is a complex and challenging problem. Such decisions require an understanding of the current environment around the vehicle, an understanding of future changes to the environment, and an element of moving safely and continuously towards a predefined driving goal. This is a very difficult problem to achieve in autonomous vehicles because every decision must be continuously constrained by both the driving rules of the road and human driving habits, which is sometimes a difficult problem even for humans. Both the complexity of driving interactions and the sheer number of possible interactions make decision-making and path generation a very difficult problem for autonomous systems. Autonomous vehicles are required to solve this problem continuously, regardless of their complexity, and a feasible solution that ensures scalability is essential, along with the safety of all road users.
[0004] Traditional systems and methods address this problem in two ways: programmatic and learning. Programmed motion planners create a set of rules and constraints that are tuned and optimized by experts. Traditional decision tree architectures, such as the example, employ data-driven models and are only used for limited functions such as perception. Traditional programmatic approaches have many limitations, including but not limited to unnatural decisions and behaviors (such as the programmed path in Figure 5) and a large number of programming scenarios. Learning motion planners, on the other hand, require analysis of large amounts of human driving data and driving simulations. Examples include the entire end-to-end system or a single monolithic network that serves the entire driving policy module (e.g., a mid-to-mid system). Learning approaches also suffer from a number of limitations and shortcomings, including, but not limited to, lack of safety guarantees (e.g., as a result of dealing with the motion planning problem end-to-end, traditional learning algorithms cannot provide safety guarantees regarding the paths created by their networks), sample sparsity (e.g., the ability to capture all possible samples (driving scenarios) that a vehicle may encounter in the real world), and lack of interpretability and / or explainability.
[0005] Thus, there has been a need in the field of autonomous vehicles to create improved and useful systems and methods for decision making and path generation. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a schematic diagram of a modular decision-making and path-generation system. [Diagram 2] FIG. 2 is a schematic diagram of the modular decision-making and path generation methodology. [Diagram 3] 3A-3C are diagrams illustrating an example of a modular decision-making system, an example of a deep decision network (a first set of learning modules), and an example of a deep pathway network, respectively. [Figure 4] FIG. 4 illustrates one embodiment of a deep decision network (first set of learning modules). [Diagram 5] Figure 5 shows the natural and programmed pathways. [Figure 6] FIG. 6 illustrates one embodiment of a high-level architecture of the planning module of system 100. [Figure 7] FIG. 7 shows a schematic embodiment of the overall system of autonomous agents. [Figure 8] FIG. 8 illustrates a schematic example of a context-aware decision-making and path planning embodiment. [Figure 9] 9A-9B are schematic diagrams of an example use case of an autonomous vehicle in fixed route delivery and the fixed route traveled by the vehicle. [Figure 10] FIG. 10 is a diagram showing a series of context variations. [Figure 11] FIG. 11 is a schematic diagram illustrating one embodiment of a method 200 . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] The following description of preferred embodiments of the invention is not intended to limit the invention to these preferred embodiments, but is intended to enable those skilled in the art to make and use the invention.
[0008] 1. Overview 1, system 100 for data-driven and modular decision-making and path generation includes a computing system. Additionally or alternatively, the system may include and / or interface with some or all of an autonomous agent (equivalently referred to herein as an autonomous vehicle and / or an autovehicle), any number of modules of the autonomous agent (e.g., a perception module, a localization module, a planning module, etc.), a vehicle control system, a sensor system, and / or any other suitable component or combination of components.
[0009] Additionally or alternatively, system 100 may include and / or cooperate with some or all of the systems, components, embodiments, and / or examples described in U.S. Application No. 17 / 116,810, filed December 9, 2020, which is incorporated herein by reference in its entirety.
[0010] 2, method 200 for data-driven modular decision-making and path generation includes steps S205 of receiving a set of inputs, S210 of selecting a learning module (also referred to herein equivalently as a learned model, a trained model, and a machine learning model, a micromodule, and / or any other suitable terminology) from a set of learning modules, S220 of generating an output based on the learning module, S230 of repeating some or all of the above steps, and / or other suitable steps. Additionally or alternatively, method 200 may include training some or all of the learning modules, validating one or more outputs, and / or any other suitable process and / or combination of processes.
[0011] Additionally or alternatively, method 200 may include and / or cooperate with some or all of the methods, processes, embodiments, and / or examples described in U.S. Application No. 17 / 116,810, filed December 9, 2020, which is incorporated herein by reference in its entirety.
[0012] In a preferred embodiment of method 200 as shown in FIG. 11, the method for data-driven and modular decision making and path generation includes steps S205 of receiving a set of inputs, S212 of selecting a first learning module (equivalently referred to herein as a deep decision network) as part of S210, S222 of defining an action space and / or selecting an action as part of S220, S214 of selecting a second learning module (equivalently referred to herein as a deep path network) based on the action as part of S210, S224 of generating a path for the vehicle based on the second learning module as part of S220, and S260 of validating the path for the vehicle. Additionally or alternatively, method 200 may include steps S205 of receiving and / or identifying a context for the vehicle, S222 of determining a latent space representation, S230 of repeating some or all of the above steps, and / or some or all of other suitable steps. Additionally or alternatively, method 200 may include any other suitable steps.
[0013] Method 200 is preferably performed in system 100 as described above, but may additionally or alternatively be performed in any other suitable system for autonomous operation, semi-autonomous operation, and / or any other autonomous or partially autonomous system.
[0014] 2. Advantages Systems and methods for data-driven, modular decision-making and route generation may provide several advantages over current systems and methods.
[0015] In a first set of examples, the system and / or method provides the advantage of capturing the flexibility of machine learning (e.g., deep learning) approaches while ensuring safety and maintaining a level of interpretability and / or explainability. In specific examples, the system and method establish or implement a hybrid architecture, which refers to an architecture that includes both program and learning (e.g., process) parts, which can have numerous advantages over and / or minimize the limitations of any of the individual approaches. In specific examples of the system and / or method, this approach and its advantages are enabled by a limited ODD and fixed-root framework.
[0016] In a second example embodiment, additionally or alternatively to the above, the system and / or method provides the advantage of reducing the amount of data required to train each of a set of learning modules (e.g., the first and second learning modules). In a specific example, the constrained ODD and fixed route architecture allows the system and / or method to overfit the learning modules for the fixed route, resulting in some or all of the following: faster learning due to reduced model scale and complexity of some or all of the learning modules; exponential reduction in the data required to build a safe urban autonomy stack; validation of the learning modules leading to safety assurances; scalability of the system and / or method (e.g., for the addition of new routes); minimization and / or elimination of edge cases; and / or other suitable benefits or outcomes.
[0017] In a third set of examples, in addition to or in the alternative to those described above, the system and / or method advantageously utilizes vehicle context awareness when training the learning modules to hyper-tune the loss functions of the learning modules to these specific contexts, thereby improving accuracy and reliability for scenario-specific events. In a specific example, training each of the set of decision-making learning modules (first set of learning modules) includes hyper-tuning the loss function to a specific context associated with the learning module in a 1:1 mapping.
[0018] In a fourth set of embodiments additional or alternative to those described above, the system and / or method provides the advantage of maintaining explainability while generating naturalistic routes for an agent that accurately reflect human driving through programmatic selection of modular learning modules during the decision-making phase (first set of learning modules) and the route generation phase (second set of learning modules).
[0019] In a fifth set of embodiments additional or alternative to those described above, the systems and / or methods provide the advantage of enabling a data-driven approach to modular decision-making and route generation.
[0020] In a sixth set of embodiments in addition to or in the alternative to those described above, the system and / or method may provide benefits of improving the operation of one or more computing systems involved in decision-making and route generation, which may be possible through some or all of, for example, organizing the computing processes and / or systems into a modular architecture of smaller learning modules, reducing the information processed in route generation by localizing the vehicle's environment based on selected actions, hyper-tuning each of a first set of micro-learning modules to the vehicle's specific context, hyper-tuning each of a set of micro-secondary learning modules to the vehicle's specific actions, creating a centralized parallel computing model that enables high concurrency, low latency and high throughput of task execution, and / or creating other suitable frameworks.
[0021] Additionally or alternatively, the systems and methods may provide other benefits.
[0022] 3. System 1, system 100 for data-driven and modular decision-making and path generation includes a computing system. Additionally or alternatively, the system may include and / or interface with some or all of an autonomous agent (equivalently referred to herein as an autonomous vehicle and / or an autovehicle), any number of modules of the autonomous agent (e.g., a perception module, a localization module, a planning module, etc.), a vehicle control system, a sensor system, and / or any other suitable component or combination of components.
[0023] System 100 functions to provide modular decision-making and path generation for an autonomous agent and comprises a computing system, where the computing system may include and / or implement a set of learning modules (e.g., a first set of learning modules, a second set of learning modules, etc.), and optionally a path generator, a path validator, and / or any other suitable components and modules. Additionally or alternatively, the system may include and / or interface with some or all of a localization module, a prediction module, a perception module, an autonomous agent (equivalently referred to herein as an autonomous vehicle and / or an ego-vehicle), a vehicle control system, a sensor system, and / or any other suitable component or combination of components.
[0024] System 100 is preferably configured to implement and / or cooperate with a hybrid architecture of decision making and / or path generation (e.g., as shown in FIG. 6, FIG. 7, FIG. 8, FIG. 3A, etc.), which implements both classical rule-based and machine learning approaches. This is preferably enabled by a bounded and / or structured ODD (e.g., well-defined, designated, etc.) and fixed-route driving framework (e.g., geofence-free driving framework), which functions to enable the vehicle to drive with human-like driving behavior on a route that is validated with minimal training data while maintaining explainability of the vehicle's decision making. Additionally or alternatively, system 100 may be configured to implement and / or cooperate with any suitable architecture configured to generate any suitable output during any part of the autonomous vehicle's operation (e.g., during planning, during motion planning, during path planning, during perception, during localization, etc.), or the autonomous agent may be part or all of other driving frameworks (e.g., large-scale ODD, non-fixed route, geofence, etc.), and / or system 100 may be otherwise suitably configured.
[0025] In a preferred embodiment, for example, system 100 defines a modular hybrid architecture configured to implement both the programmed and learned processes of method 200. The system preferably functions to achieve safety assurance and explainability / interpretability from the programmed process while maintaining the naturalistic and adaptive principles of the learning process. In a preferred variation, system 100 achieves this using a hybrid architecture that decomposes the task of motion planning and combines a set of micro-learning algorithms (formed and / or integrated into a set of learning modules) bracketed by a set of programmed safety constraints, where each of the intended functions of the learning modules is restricted to a specific, explainable (and therefore verifiable) task (e.g., based on the vehicle's context and / or other environmental features). System 100 can optionally implement and / or interface (e.g., integrate) with a set of rule-based fallback and validation systems built around these learning modules to ensure the safety of the target and the resulting path. Such an architecture allows validation of the performance and underlying properties of each learning module, allowing for the construction of a safer and more effective system.
[0026] In particular examples (e.g., as shown in FIGS. 9A-9B), system 100 is implemented in an autonomous short-distance (e.g., 5-400 miles) B2B fixed-route application. In these examples, the autonomous agents preferably receive inventory from sortation centers, but may additionally or alternatively receive inventory from parcel hubs and / or warehouses. The agents then preferably distribute the inventory to and / or between some or all of the sortation centers, mini-distribution centers, distribution centers, retail stores, and local distribution centers. Additionally or alternatively, the agents may interact with residential (e.g., customer homes), and / or other suitable locations / facilities.
[0027] Additionally or alternatively, system 100 may be implemented in any other suitable manner.
[0028] 3.1 System-Components System 100 includes a computing system operable to enable modular decision-making (e.g., motion planning) and / or path generation for an autonomous agent. Additionally or alternatively, the computing system may operate to perform some or all of the following: planning a path for the vehicle in a planning module, validating a path for the vehicle, locating the vehicle and / or surrounding objects in a localization module, predicting paths for the vehicle and / or surrounding objects in a prediction module, storing information, and / or other suitable functions.
[0029] The computing system is preferably configured to implement centralized parallel computing that enables some or all of high concurrency of task execution, low latency, and high data throughput, and / or other suitable advantages. Additionally or alternatively, the computing system may be configured to perform any other operations and / or processes (e.g., decentralized computing, distributed computing, serial computing, etc.) and / or may impart any other suitable advantages.
[0030] Additionally or alternatively, the system and / or computing system may be configured and / or designed otherwise.
[0031] The computing system is preferably configured to be at least partially on-board (eg, integrated within) the autonomous agent.
[0032] In preferred embodiments, the autonomous agent includes an autonomous vehicle that is preferably a fully autonomous vehicle and / or capable of operating as a fully autonomous vehicle, but may additionally or alternatively be any semi-autonomous or fully autonomous vehicle, remotely operated vehicle, and / or other suitable vehicle. The autonomous vehicle is preferably a motor vehicle (e.g., a passenger car, an unmanned vehicle, a bus, a shuttle, a taxi, a ride-share vehicle, a truck, a semi-truck, etc.). Additionally or alternatively, the autonomous vehicle may include a personal watercraft (e.g., a boat, a water taxi, etc.), an aircraft (e.g., a plane, a helicopter, a drone, etc.), a land vehicle (e.g., a two-wheeler, a bicycle, a motorcycle, a scooter, etc.), and / or other suitable vehicle and / or transportation device, an autonomous machine, an autonomous device, an autonomous robot, and / or other suitable device.
[0033] The computing system may additionally or alternatively be configured remotely from the autonomous agent, such as a cloud computing system, etc. The remote computing system preferably communicates with the on-board computing system (e.g., to collect information from the on-board computing system, provide updated models to the on-board computing system, etc.), but may additionally or alternatively communicate with any other suitable components.
[0034] The computing system preferably includes an active subsystem and a redundant subsystem, but may additionally or alternatively include any other suitable subsystems.
[0035] The computing system preferably includes a computing system planning module, which preferably further includes some or all of a set of learning modules (e.g., deep learning models), a path generator, a path validator, and / or other suitable components. The set of learning modules preferably includes a set of deep decision networks (neural networks) that function to determine actions for an agent (based on the context), and a set of deep path networks (neural networks) that function to determine paths for the agent (based on the actions).
[0036] The computing system preferably further includes a processing system operable to process inputs received by the computing system. The processing system preferably includes a set of central processing units (CPUs) and a set of graphics processing units (GPUs), but may additionally or alternatively include any other component or combination of components (e.g., processors, microprocessors, system-on-chip (SoC) components, etc.).
[0037] The computing system may optionally further include some or all of a memory, a storage device, and / or any other suitable components.
[0038] The computing system is further preferably configured (e.g., executable, organized, etc.) to perform operations associated with a set of one or more learning modules (equivalently referred to herein as learning agents or learning models), each learning module including a set of one or more algorithms and / or models configured to generate a set of one or more outputs based on a set of one or more inputs.
[0039] A single computing system may be used to perform the computations for all of these modules, or separate computing systems may be used (e.g., a separate computing system for each learning module), and / or any combination of computing systems may be used.
[0040] A computing system may optionally include a middleware framework that extracts dependencies from modules and links them all together (eg, using a topological ordering process such as a directed acyclic graph).
[0041] In addition to the planning module, the computing system may include and / or interface with some or all of a localization module, a prediction module, a perception module, and / or other suitable modules for operation of an autonomous agent.
[0042] The computing system (e.g., an on-board computing system) preferably communicates (e.g., wireless communication, wired communication, coupling, physical coupling, electrical coupling, etc.) with the vehicle control system and functions to execute commands determined by the computing system.
[0043] The computing system may include and / or interface with a map that functions at least in part to enable identification of a context associated with the autonomous agent. The map is preferably a high-definition, hand-labeled map that defines the context of the autonomous agent based on its location and / or location within the map, as described below, but may additionally or alternatively include any other map (e.g., an automatically generated map) and / or combination of maps.
[0044] System 100 preferably includes and / or interfaces with a sensor system that functions to enable some or all of the following: localization of the autonomous agent (e.g., within a map), detection of objects (e.g., dynamic objects, static objects, etc.) in the autonomous agent's surroundings, and / or other suitable functionality.
[0045] The sensor system may include some or all of: cameras (e.g., 360-degree coverage cameras, ultra-high resolution cameras, etc.), light detection and ranging (LiDAR) sensors, radio detection and ranging (RADAR) sensors, motion sensors (e.g., accelerometers, gyroscopes, inertial measurement units (IMUs), speedometers, etc.), position sensors (e.g., global navigation satellite system (GNSS) sensors, inertial navigation system (INS) sensors, global positioning system (GPS) sensors, any combination, etc.), ultrasonic sensors, and / or any suitable sensors.
[0046] In one set of examples, the sensor system may include a 16-beam LIDAR (e.g., for high accuracy obstacle detection), a short-range RADAR (e.g., for blind spot detection, cross traffic alert, emergency braking, etc.), an ultrasonic sensor (e.g., for park assist, collision avoidance, etc.), a 360 degree coverage camera (e.g., for surround view such as pedestrian / bicycle / urban obstacle detection and avoidance), a 128-beam LIDAR (e.g., for high accuracy vehicle location), a long-range ultra-high resolution camera (e.g., for traffic sign and traffic light detection), a long-range RADAR (e.g., for long-range obstacle tracking and avoidance), a GNSS / INS (e.g., for ultra-precise positioning), and / or other suitable sensors.
[0047] In a first embodiment of the system 100, the system includes an agent planning module, an agent perception and / or localization module including a vehicle sensor system, and / or a computing system in conjunction therewith.
[0048] Additionally or alternatively, system 100 may include any other suitable component or combination of components.
[0049] 4. Method As shown in FIG. 2, a method 200 for data-driven modular decision-making and path generation includes step S205 of receiving a set of inputs, step S210 of selecting a learning module (also referred to herein as a learned model, a trained model, a machine learning model, a micromodule, and / or any other suitable terminology) from a set of learning modules, step S220 of generating an output based on the learning module, step S230 of repeating some or all of the above steps, and / or other suitable steps.
[0050] Additionally or alternatively, method 200 may include training some or all of the learning module, validating one or more outputs, and / or any other suitable process and / or combination of processes.
[0051] In a preferred embodiment of method 200 as shown in FIG. 11, the method for data-driven modular decision-making and path generation includes a step S205 of receiving a set of inputs, a step S212 of selecting a first learning module as part of S210, a step S222 of defining an action space and / or selecting an action as part of S220, a step S214 of selecting a second learning module based on the action as part of S210, a step S224 of generating a path for the vehicle based on the second learning module as part of S220, and a step S260 of validating the path of the vehicle.
[0052] Additionally or alternatively, method 200 may include some or all of steps S205 of receiving and / or identifying a context for the vehicle, S222 of determining a latent space representation, and / or other suitable steps.
[0053] Additionally or alternatively, method 200 may include any other suitable steps.
[0054] Method 200 is preferably operable to perform decision making and path generation for an autonomous agent, preferably based on the context of the vehicle. Additionally or alternatively, method 200 may perform only decision making, perform only path generation, perform any portion or process of vehicle planning (e.g., motion planning, path planning, maneuver planning, etc.), perform any other portion or process of autonomous vehicle operation (e.g., perception, localization, etc.), select an action for the vehicle from an action space, validate the path and / or any other outputs of the vehicle, and / or perform other suitable functions.
[0055] Method 200 further preferably functions to perform decision-making and route generation (and / or any other suitable processing) using a modular framework of learning modules (e.g., a first set of learning modules, a second set of learning modules, etc.), each of the learning modules configured to process inputs associated with particular (e.g., predefined, predetermined, etc.) information (e.g., a particular vehicle context for a first learning module, a particular vehicle action for a second learning module, etc.).
[0056] Method 200 further preferably functions to utilize programmed processes (e.g., selection of a first learning module based on context, selection of a second learning module based on action, path validation, etc.) in conjunction with learned processes implemented by the learning modules (e.g., machine learning models, deep learning models, neural networks, etc.), which function to maintain explainability and / or interpretability (e.g., with respect to an end-to-end system, with respect to a mid-to-mid system, etc.) of the outputs (actions, paths, etc.).
[0057] Additionally or alternatively, method 200 may function to perform some or all of these processes within any other suitable framework, independent of the vehicle context, in light of other information related to the autonomous agent (e.g., historical information, dynamic information, vehicle states, etc.), and / or method 200 may be performed in any suitable manner to perform any other suitable functionality.
[0058] Additionally or alternatively, the method 200 may perform any other suitable functions.
[0059] Method 200 is preferably performed throughout operation of the autonomous agent, such as during the agent's travel of a route (e.g., a fixed route, a dynamically determined route, etc.) (e.g., according to a map that assigns a set of contexts), but may additionally or alternatively be performed some or all of at predetermined intervals (e.g., at regular intervals), in response to a trigger, at a series of intervals (e.g., at random intervals), only once, and / or at any other suitable time.
[0060] Method 200 is preferably performed on system 100 described above, and more preferably on a computing system that is at least partially disposed on the autonomous agent, but may additionally or alternatively be performed on any suitable computing system and / or systems.
[0061] 4.1 Method - Step S205 of receiving a set of inputs The method 200 preferably includes a step S205 of receiving a set of inputs that function to receive information for selecting one or more learning modules (e.g., one of a first set of learning modules, one of a second set of learning modules, etc.).
[0062] Additionally or alternatively, S205 may function to receive information that serves as input to one or more learning modules (e.g., input to a first learning module, input to a second learning module, etc.), to receive information for performing other processes of the method (e.g., identifying one or more latent space representations, identifying one or more environmental representations, etc.), and / or to receive information for triggering one or more processes and operating the agent in other manners (e.g., during perception, localization, etc.), and / or to perform any other suitable function.
[0063] S205 is preferably performed continuously throughout method 200, at a predetermined frequency, at random intervals, before each sequence of processes in method 200, and / or at any other suitable time.
[0064] S205 may additionally or alternatively be performed in response to a trigger (e.g., based on a map, in response to a context being selected, based on sensor information, etc.), at a series of intervals (e.g., at random intervals), and / or at any other suitable time during method 200.
[0065] S205 is preferably executed in the system 100 described above, and more preferably in the on-board computing system and on-board sensor system of the autonomous agent, but may additionally or alternatively be executed in any other component of the system and / or any other suitable system.
[0066] The set of inputs preferably includes information received from a perception module of an autonomous agent, such as a sensor system, and / or information determined (e.g., calculated) based on sensors in the sensor system (e.g., via the perception module), but may additionally or alternatively be received from any suitable source (e.g., the Internet, an autonomous agent, historical information, a remote computing system, etc.).
[0067] The set of inputs may include some or all of the following: the current state of the agent (e.g., position, orientation, pitch, acceleration, deceleration, etc.), information related to a set of dynamic objects such as those approaching the agent (e.g., current position, size, path so far, predicted path, etc.), information related to a set of static objects such as those approaching the agent (e.g., traffic cones, mailboxes, etc.) (e.g., current state of the static objects, historical information related to the static objects, etc.), a map and / or information from the map (e.g., an HD map, a manually labeled map showing a set of assigned contexts, an automatically labeled map showing a set of assigned contexts, a map showing lane boundaries, lane connections, lane locations, lane connectivity, semantic information, etc.), path information needed to reach the destination (e.g., an ideal path to take, sequence of lanes to take, etc.), one or more uncertainty values and / or estimates (e.g., epistemological uncertainty, aleatory uncertainty, etc.), an autonomous agent state (also equivalently referred to herein as ego-vehicle state), and / or any other suitable input.
[0068] In one set of embodiments, for example, the set of inputs is a highly detailed labeled (e.g., manually labeled, automatically labeled, etc.) map that defines the autonomous agent's context at a given time based on its position and / or orientation (pose) within the map, but may additionally or alternatively include any other maps (e.g., automatically labeled maps, maps labeled by both manual and automated processes, etc.) and / or combinations of maps. In additional or alternative variations, the map information includes some or all of road infrastructure information and / or other static environmental information, route information, and / or other suitable information.
[0069] In particular embodiments, the map includes one or more contexts (and / or transition zones) that are selected (e.g., pre-determined / assigned) based on the autonomous agent's region / location (e.g., identified based on sensor information as described above).
[0070] The set of inputs preferably includes sensor information collected by a sensor system of the autonomous agent, e.g., a sensor system on board the autonomous agent, a sensor system remote from the autonomous agent, and / or a sensor system in communication with the autonomous agent, and / or some or all of the sensor subsystems of a computing system (e.g., an on-board computing system, a remote computing system, etc.). Additionally or alternatively, sensor information may be collected from any other suitable sensor and / or combination of sensors, S205 may be performed without collecting sensor inputs, and / or S205 may be performed in any other suitable manner.
[0071] The sensor information may include or be used to determine location information associated with the autonomous agent, including, for example, some or all of a position, an orientation (e.g., azimuth), a pose, a geographic location (e.g., using Global Positioning System (GPS) coordinates, using other coordinates, etc.), a location within a map, and / or other suitable location information. In a preferred embodiment, for example, S205 includes receiving pose information from a location determination module of a sensor subsystem, where the location determination module includes some or all of a GPS sensor, an IMU, a LIDAR sensor, a camera, and / or any other sensor (e.g., those described above). Additionally or alternatively, any other sensor information may be received from any suitable sensor.
[0072] The sensor information may additionally or alternatively include or be used to determine motion and / or other dynamic information associated with the autonomous agent, such as, but not limited to, some or all of velocity / speed, acceleration, and / or any other suitable information.
[0073] The sensor information may additionally or alternatively include or be used to identify (e.g., in a perception module) location and / or motion information associated with one or more dynamic objects in the autonomous agent's environment, such as some or all of the location information described above, location information associated with the autonomous agent, motion information of the dynamic object, predictive information (e.g., predicted path), historical information (e.g., historical path), and / or any other suitable information. The dynamic objects may include, but are not limited to, some or all of other vehicles (e.g., autonomous vehicles, non-autonomous vehicles, four-wheeled vehicles, two-wheeled vehicles such as bicycles, etc.), pedestrians (e.g., walking, running, rollerblading, skateboarding, etc.), animals, and / or other moving objects (e.g., a ball rolling down a road, a moving shopping cart, etc.). Additionally or alternatively, the sensor information may include the size of the dynamic object, an identification of the type of object, other suitable information, and / or the information collected in S205 may be free of dynamic object information.
[0074] The sensor information may additionally or alternatively include or be used to identify (e.g., by a perception module) location information and / or other information associated with one or more static objects (e.g., stationary pedestrians, roadway infrastructure, construction sites and / or construction equipment, barricades, traffic cones, parked vehicles, etc.) in the autonomous agent's environment, including some or all of the above information (e.g., object type identification, etc.). Additionally or alternatively, the sensor information may include any other information associated with one or more static objects, and / or the information collected in S205 may be collected in the absence of static object information.
[0075] The set of inputs may include a vehicle context that specifies the vehicle's environment, which may serve to characterize the driving context of the vehicle. The context is preferably defined based on a fixed route selected for the vehicle, based on a map (e.g., a high-definition, manually labeled map), such as the maps described above and / or any other suitable map. The context may additionally or alternatively be determined based on some or all of sensor information from a sensor system, such as the location of the agent, and / or any other suitable information.
[0076] In a preferred embodiment, for example, contexts are assigned to locations and / or regions within the map. Each location or region within the map may be assigned some or all of a single context, multiple contexts (e.g., indicating an intersection of multiple routes, where the single context is selected based on additional information such as some or all of the input received in S205), no context (e.g., indicating a location and / or region that is not in the autonomous agent's fixed route options), and / or any combination of contexts. The particular context assigned to a location and / or region is preferably identified based on the static environment within the location and / or region, including characteristics of roads within the region (e.g., number of lanes, highway or residential street, one-way or two-way, dirt / gravel or asphalt, curvature, shoulder or no shoulder, etc.), landmarks and / or features within the region (e.g., parking lots, roundabouts, etc.), zone types associated with the location and / or region (e.g., school zone, construction zone, hospital zone, residential zone, etc.), types of dynamic objects encountered at the location and / or region (e.g., pedestrians, bicycles, vehicles, animals, etc.), traffic parameters associated with the location and / or region (e.g., speed limits, types of traffic signs, height limits for semi-trucks, etc.), and / or other environmental information.
[0077] Additionally or alternatively, the assignment of contexts may take into account a set of fixed routes for the vehicle, where a map defines a sequence of contexts that the vehicle will encounter along the fixed route, the position of the vehicle within the map defines in which of these successive contexts the vehicle will be placed, and the vehicle switches contexts near (e.g., at) transitions between contexts.
[0078] In some embodiments, the map may include (e.g., assign, define, etc.) one or more transition zones, which are located between different contexts, e.g., to indicate a change in context (e.g., along a fixed route, along a dynamically determined route, etc.), thereby allowing a smooth context switch (e.g., by defining an action space). The assignment of the transition zones may then serve to define an action space and / or trigger any other process (e.g., selection of a new first learning module) in a manner that, e.g., smoothly transitions the vehicle from one context to the next (e.g., making certain actions unavailable, prescribing that the agent stays in its lane, not turning, etc.). The transition zones may overlap with one or more contexts, may not overlap with one or more contexts, and / or may be any combination of overlapping and non-overlapping. Additionally or alternatively, the transition zones may be the contexts themselves, and the method may be performed without labeled transition zones (e.g., by predicting the subsequent context) and / or may be performed in other ways.
[0079] Examples of contexts include, but are not limited to, some or all of a one-lane residential road (e.g., the road geometry does not allow the agent to change the context), a one-lane non-residential road, a multi-lane highway (e.g., the agent can learn that it is unlikely to encounter pedestrians), a single-lane road with a parking lot, a single-lane road with a yellow border on one side, a multi-lane highway, areas connecting to a road (e.g., parking lots, driveways, etc.), and / or other suitable contexts.
[0080] The vehicle context is preferably used in subsequent processes of the method, and more preferably in the selection of a first learning module (e.g., described below) that simplifies and / or specifies the actions available to the autonomous agent. Additionally or alternatively, the context can be used to select a scenario to be used in subsequent processes of the method, which serves to further specify the context based on some or all of the above information (e.g., speed limits, sensor information of objects around the vehicle, etc.). Examples of scenarios of the first context (e.g., two-way residential road) include, but are not limited to, some or all of right turn opportunities, adding a right turn lane, stop signs, traffic lights, yield signs, crosswalks, speed bumps, and / or other scenarios. Examples of scenarios of the second context (e.g., multi-lane highway) include some or all of lane changes, merging, overtaking slow vehicles, and / or other scenarios. In some examples, for example, the context triggers the selection of a model and / or algorithm (such as a highly tuned, context-aware custom inverse reinforcement learning (IRL) algorithm), which performs high-level scenario selection and invokes a scenario-specific learning module (e.g., a first learning module described below) to select an action for the vehicle. Additionally or alternatively, any other suitable algorithm or process for selecting a scenario may be implemented, an action may be selected without a scenario, the context may be used to select different parameters, and / or method 200 may be performed in a different manner.
[0081] Additionally or alternatively, method 200 may include determining a vehicle context and / or scenario (e.g., from map and sensor information, from sensor information only, from other information, etc.) and / or utilizing the vehicle context, scenario, and / or other information related to the vehicle's environment.
[0082] Additionally or alternatively, any other suitable input may be received at S205.
[0083] In a first set of embodiments, S205 includes receiving sensor information from a sensor system of the autonomous agent and a labeled map indicating a set of contexts assigned to the agent's route (e.g., a fixed route) and / or potential routes, where the agent's context is identified based on the map and the sensor information. Some or all of the series of inputs (e.g., sensor information) are preferably received continuously throughout method 200, but may additionally or alternatively be received at any other suitable times.
[0084] In a particular set of examples, the sensor information includes at least the agent's position and / or orientation (e.g., pose), information related to dynamic and / or static objects in the agent's environment (e.g., position, orientation, movement, etc.), and optionally any other information, and the agent's context is determined based on the agent's position and / or orientation within the map.
[0085] In a second set, additionally or alternatively to the first embodiment, S205 includes receiving sensor information from a sensor system of the autonomous agent and a context of the agent (e.g., a current context, an upcoming context, etc.) The set of inputs are preferably received continuously throughout method 200, but may additionally or alternatively be received at any other suitable times.
[0086] In a particular set of embodiments, a context is identified based on the map and the pose of the agent, and this context is used later in the method to select one of the first set of learning modules.
[0087] 4.2 Method - Step S210 of selecting a learning module from a set of learning modules Method 200 includes a step S210 of selecting a learning module from a set of learning modules, which functions to select a particular (e.g., most relevant, optimal, specially trained, etc.) learned model for determining a set of one or more outputs. S210 further preferably functions to utilize known (e.g., identified, selected, etc.) information related to the agent (e.g., selected context, selected action, etc.) to increase the accuracy and / or reliability of the learning module's output. Additionally or alternatively, the learning module may function to reduce and / or minimize the number of selectable outputs based on this information, thereby providing the above-mentioned advantages and / or reducing computation / processing time, and / or performing any other suitable function.
[0088] The selection of the learning modules is an informed selection of the learning modules, and more preferably a programmatic and / or rule-based selection of which of a set of multiple learning modules to implement based on known information of the vehicle (e.g., the context and / or scenario for selecting a first set of learning modules, the action for selecting a second set of learning modules, any other environmental features, sensor information, etc.). Additionally or alternatively, a learned process and / or any other type of learning module determination can be implemented.
[0089] The learning module preferably includes one or more learned models and / or algorithms, and more preferably includes learned models and / or algorithms that have been trained through one or more machine learning (e.g., deep learning) processes. In a preferred embodiment, the learning module is in the form of one or more neural networks (e.g., a deep learning network [DNN], a deep Q-learning network, a convolutional neural network [CNN]), but may additionally or alternatively include other suitable models, algorithms, decision trees, lookup tables, and / or other tools.
[0090] S210 is preferably executed in system 100 described above, and more preferably executed in an on-board computing system of the autonomous agent, but may additionally or alternatively be executed in any other component of system 100 and / or any other suitable system.
[0091] S210 may be executed one or more times throughout the method, e.g., continuously, at a predetermined frequency, at a series of intervals (e.g., random intervals, etc.), in response to a change (e.g., a predetermined change) in the set of inputs received in S205 (e.g., a change in context), in response to an output generated by a previous learning module (e.g., selecting one of a set of second learning modules in response to the actions and / or action space generated by the first learning module), in response to any other suitable trigger, and / or any other suitable time during method 200.
[0092] S210 is preferably executed (e.g., partially executed, fully executed, etc.) in response to input received in S205, but may additionally or alternatively be executed at any other time and / or in response to any other suitable trigger.
[0093] In a preferred set of embodiments, S210 is performed multiple times throughout the method (e.g., from context selection to path generation), as described below in S212 and S214, which serves to improve the explainability and / or interpretability of method 200 (e.g., compared to performing S210 only once). In embodiments where one of a first set of learning modules is used to determine a vehicle's actions and / or action space in light of the vehicle's context, and one of a second set of learning modules is used to generate an agent's path based on the actions and / or action space, each of these intermediate outputs maintains explainability and interpretability. Furthermore, by having these highly focused micro-modules, each module can be trained to a highly tuned loss function specific to the environment (e.g., context) and / or the agent's actions. Additionally or alternatively, providing multiple processes by which learning modules are selected can provide other suitable advantages.
[0094] In a set of alternative variations, S210 is performed only once during method 200 (e.g., only S212, only S214, in a single learning module from context to path generation, in a single learning module that effectively combines the learning modules of S212 and S214, etc.).
[0095] Additionally or alternatively, S210 may be executed any number of times during method 200 and to generate any suitable output.
[0096] 4.3 Method - Step S212 of Selecting a First Learning Module S210 preferably includes a step S212 of selecting a first learning module, which functions to select a learning module (e.g., trained with or based on a correspondingly highly tuned loss function) tailored to the agent's particular environment, and more preferably to the agent's context (and / or scenario). In a preferred embodiment, for example, S212 functions to select a particular trained model (e.g., a decision network) from a set of multiple trained models based on the vehicle's particular context (e.g., as described above). S212 can additionally or alternatively define an action space available to the agent, inform the agent's path as determined by the path planner, select a learning module based on other environmental information about the agent, select a learning module based on other information for the agent (e.g., historical information, object information, etc.), eliminate options available to the agent (e.g., eliminate available actions), and / or perform other suitable functions.
[0097] The step of selecting a first learning module is equivalently described in this specification as selecting one of a first set of learning modules and / or selecting one of a first set of learning modules.
[0098] S212 is preferably performed in response to (e.g., subsequently to, based on, etc.) S205 (the most recent instance of S205), but may additionally or alternatively be performed as part of and / or simultaneously with S214, without S214, multiple times throughout the method (e.g., in response to changes in context), and / or at any other time during method 200. Still additionally or alternatively, method 200 may be performed without S212.
[0099] In some examples, S212 executes in response to a trigger indicating that the vehicle's context (e.g., determined based on a position on a map) has changed and / or is about to change. The trigger may be determined based on some or all of: an expected and / or known time for the context change (e.g., based on a map and a fixed route, based on historical information, etc.), an expected and / or known distance to the new context (e.g., based on a map and a fixed route, based on historical information, etc.), the agent's location within a transition zone on the map, and / or other suitable information. Additionally or alternatively, S212 may execute based on other triggers, continuously and / or at a predetermined frequency, without a trigger, and / or in any other manner (e.g., as described above).
[0100] A single learning module from the first set of learning modules is preferably selected based on the context of the vehicle and / or a scenario identified based on the context. Additionally or alternatively, a particular learning module may be determined and / or selected based on other information received in S205 and / or any other suitable information. Additionally or alternatively, multiple learning modules may be selected from the first set of learning modules (e.g., processed serially, processed in parallel, etc.).
[0101] The learning modules are further preferably selected based on a mapping between the contexts and the learning modules. In a preferred embodiment, each context is associated with a single learning module of the first set of learning modules in a 1:1 mapping, each context is associated only with a single first learning module, and each first learning module is associated only with a single context. The mapping is preferably pre-determined (e.g., programmed, rule-based, etc.), but may additionally or alternatively be dynamically determined. Additionally or alternatively, a single context may be associated with multiple learning modules, where one is selected (e.g., further based on a set of inputs) and / or module outputs are aggregated, a module may be associated with multiple contexts, and / or any other association may be established between contexts and learning modules.
[0102] Additionally or alternatively, the learning modules may be selected based on other information (eg, to further refine the selection of learning modules).
[0103] The learning module is preferably in the form of and / or includes a machine learning model, and more preferably in the form of one or more neural networks and / or models (e.g., deep Q-networks, convolutional neural networks [CNN], inverse reinforcement learning [IRL] models, reinforcement learning [RL] models, imitation learning [IL] models, etc.) trained for a particular context, but may additionally or alternatively include other suitable models, algorithms, decision trees, lookup tables, and / or other tools.
[0104] In a preferred embodiment, each learning module is a deep learning network (DNN) (e.g., neural network), more preferably a deep Q-learning network trained using an inverse reinforcement learning technique and / or process, where the number of layers (e.g., hidden layers) of the neural network may vary for different contexts and / or actions (e.g., 3-8 layers, 3 layers or less, 8 layers or more, 2-10 layers, 1-15 layers, etc.). Additionally or alternatively, any other suitable network, algorithm, and / or model may be used in the learning module, such as, but not limited to, policy gradient methods, finite state machines [FSM], probabilistic methods (e.g., Partially Observable Markov Decision Process [POMDP]), imitation learning [IL], variations of RL or IRL, and / or any other suitable model and / or network and / or algorithm. Each of the learning modules is preferably the same type of neural network (e.g., different number of layers, different weights, etc.) and / or algorithms and / or models, but may instead be different (e.g., different architectures, different types of neural networks, etc.).
[0105] Each of the learning modules is preferably trained based on data occurring within the particular context type or types of contexts associated with the learning model, and optionally further trained based on data occurring within one or more fixed routes that pass through the context and / or include areas / paths identified as being that context. In some embodiments, for example, a single learning module is applied to a particular context type, and the single learning module is trained based on data from locations that satisfy that context. In other variations, a single learning module is applied to a particular context within a particular route, and the single learning module is trained based on data related to the particular context within a particular fixed route.
[0106] Additionally or alternatively, the learning module may be trained with any suitable data.
[0107] Each of the learning modules is further preferably trained with inverse reinforcement learning, which serves to determine a reward function and / or an optimal driving policy for each of the context-aware learning modules. The output of this training is further preferably a compact fully-connected network model representing the reward function and optimal policy of each learning module. Additionally or alternatively, the learning modules may be suitably trained and / or implemented in other manners (e.g., inverse reinforcement learning, etc.).
[0108] In a first embodiment, S212 includes selecting a context-aware learning module (equivalently referred to herein as a context-aware learning agent) based on the identified context of the agent. In a specific example, one context-aware learning module is assigned to each context. The context-aware learning module is preferably trained with an inverse reinforcement learning model, but may additionally or alternatively be trained in other ways (e.g., supervised learning, semi-supervised learning, unsupervised learning, etc.).
[0109] In a second example, S212 includes selecting from a plurality of context-aware learning models assigned to and / or available for a particular context, where the particular context-aware learning model is selected based on some or all of machine learning, decision trees, statistical methods, algorithms, and / or using other suitable tools.
[0110] Additionally or alternatively, any other suitable learning module may be selected, used and / or trained.
[0111] 4.4. Method - Step S220 of generating output based on learning module The method 200 includes a step S220 of generating an output based on the learning module, which functions to generate information for performing decision-making and / or path generation of the autonomous agent. Additionally or alternatively, the output may be used in any other process of the operation of the autonomous agent.
[0112] In a preferred embodiment, S220 includes a step S222 of defining an action space and / or selecting an action, and a step S224 of generating a path, but may additionally or alternatively include one of S222 and S224, and / or any other suitable output.
[0113] 4.4 Method - Step S222 of defining the action space and / or selecting an action Method 200 may preferably include a step S222 of defining an action space and / or selecting an action, which functions to define a set of actions (equivalently referred to herein as behaviors and / or maneuvers) available to the agent in light of the vehicle's context and / or environment. Additionally or alternatively, S222 may function to minimize the number of context-informed actions available to the agent, which functions to simplify the process required to select an action for the vehicle (e.g., reduce time, avoid irrational action selection, etc.). In some embodiments, for example, additional information and constraints from the context type may reduce the amount of data required to train different learning modules and tune the learning modules to specific contexts to increase accuracy and reliability. Method 200 may optionally additionally or alternatively include a step of selecting an action from an action space, which functions to determine the vehicle's next action (e.g., switch and / or transition to a different behavior from the current behavior, maintain the current behavior).
[0114] S222 is preferably performed in response to (e.g., after, based on, etc.) S212, but may additionally or alternatively be performed in response to S210, as part of and / or simultaneously with S212, in the absence of S212, in response to S205, multiple times throughout the method, and / or at any other time during method 200. Still additionally or alternatively, method 200 may be performed in the absence of S222 (e.g., in variations where a single learning module is used to determine a route based on context).
[0115] S222 preferably includes determining an action space of actions available to the vehicle based on the vehicle context and selecting an action from the action space, but may additionally or alternatively include determining one of these and / or any other suitable output.
[0116] S222 is preferably performed with the selected first learning module described above, where the action space and / or actions are generated as an output (e.g., intermediate output, final output, etc.) of the learning module. Additionally or alternatively, the learning module may generate other suitable outputs. In a preferred embodiment, the action space may be relatively small (e.g., compared to all available actions) due to the identification of the context and processing by the learning module selected for that context. In a preferred embodiment, each of the first learning modules includes a set of one or more neural networks and / or other models (e.g., trained with IRL algorithms and / or processes, trained with RL algorithms and / or processes, CNNs, RNNs, etc.), where some or all of the neural networks are used to determine the vehicle's actions.
[0117] S222 preferably receives a set of inputs, such as some or all of those described in S205, which are received as inputs to the first learning module, so that the learning module can select an optimal action. The set of inputs is preferably received from one or more sensors of the sensor system and / or determined based on the sensor system, but may additionally or alternatively be received from any suitable source. In a preferred embodiment, the first learning module receives as input information related to a set of dynamic objects detected around the agent (e.g., including the current position, size, path so far, and predicted future path of the objects). Additionally or alternatively, the first learning module may be designed to perform self-prediction of the motion of the dynamic objects, which may, for example, simplify the learning process (e.g., in terms of time and / or required data). The set of inputs further preferably includes information relating to a set of static objects (e.g., the current state of the static objects including their locations), a map (e.g., a high-resolution, manually labeled map identifying a set of context along the agent's fixed route), path information required to reach the agent's destination, the agent's state, static and dynamic object information (along with their future predicted paths), and / or any other suitable information.
[0118] The selected first learning module preferably receives as input a representation of the environment around the agent (e.g., as shown in FIG. 3B), which preferably includes information from the current time step as well as previous time steps, although it may additionally or alternatively receive any suitable time-related information.
[0119] Identifying the environment representation may optionally include identifying a latent space representation based on some or all of the set of inputs, which serves to refine a very high-order and complex amount of information into a smaller latent space representation before providing the environment representation as an input to the first learning module. The latent space representation is preferably identified based on static and dynamic object information input to a first neural network (e.g., CNN) of the first learning module to generate as output a more effective latent space representation that is order invariant to the object inputs. These inputs may then be combined with other inputs (e.g., HD map, path information, vehicle state, etc.) into a second neural network (e.g., CNN, a different neural network than the first neural network, the same neural network as the first neural network, etc.) that most effectively represents the entire input space as a latent space representation. Additionally or alternatively, the latent space representation may be identified in other ways and / or S222 may be performed without a latent space representation.
[0120] In a specific example (e.g., as shown in FIG. 3C ), the learning agent takes information including current positions, sizes, previous paths, and predicted paths into the future of a set of detected dynamic objects, a set of static objects and their current states, a map (e.g., a high-definition map, a high-definition hand-labeled map, etc.), path information required to reach the destination, the current ego-vehicle state, and / or any other suitable information. A first neural network (e.g., an order-independent representation recurrent neural network [RNN], CNN, etc.) is used to output a more effective intermediate latent space representation that is order-invariant to the object inputs. This data is combined with the map, path information, and vehicle state and fed into a latent space network that represents the entire input space as the most effective latent space representation. Additionally or alternatively, some or all of this information may be received without the latent space representation and / or for a different latent space representation, the latent space representation may include any number of neural networks and / or intermediate neural networks, the latent space representation may be determined without an intermediate network, any other information may be received, some or all of this information may be determined by the learning module (e.g., a predicted path of a dynamic object), and / or S222 may be performed in any other manner as appropriate.
[0121] Method 200 may optionally include training some or all of the first set of learning modules. The learning modules are preferably trained on a remote computing system of system 100, but may additionally or alternatively be trained at any suitable location. Each module is preferably trained on the assumption that it takes the complete environment representation as described above as input and takes the correct action for each planning cycle. This training process preferably includes two phases, the first phase serves to train a latent space representation network, which may be implemented using a single temporary deep network responsible for classifying all driving actions, regardless of the current context. To achieve this, this learning is performed on the complete dataset available in the dataset. In the second phase, the latent space representation learned in the first phase is used to train a deep network that operates on a specific context and action. This may be achieved by fixing the weights of the latent space network (e.g., stopping all training on the network) and fixing the weights determined based on a loss function (e.g., a superoptimal loss function for the context, a superoptimal loss function for the action, etc.), thereby temporarily excluding the deep network and creating a full set of networks that are used to make the final decision. Each deep network is preferably trained on a subset of the data in the context it is configured to classify.
[0122] Additionally or alternatively, the first learning module may be constructed and / or trained in other manners (e.g., with supervised learning, semi-supervised learning, unsupervised learning, etc.).
[0123] In a preferred set of embodiments, a first set of learning modules (equivalently referred to herein as deep decision networks (DDNs), learning agents, trained models, etc.) (e.g., such as those shown in Figures 3A, 3B, 4) uses the agent's current context plus a full representation of the agent's surroundings to select vehicle actions to take during the current planning cycle, such as, for example and without limitation, pulling up behind a vehicle, yielding to a vehicle, merging onto a road, and / or some or all of other suitable actions.
[0124] FIG. 10 illustrates a sequence of actions determined for two different contexts.
[0125] The actions may include, without limitation, any or all of the following: keeping in lane, changing lanes, turning (e.g., turning right, turning right, making a U-turn, etc.), merging, slowing down, following a vehicle in front of the agent, parking in a lot, stopping, nudging, passing a vehicle, and / or other suitable actions such as typical driving actions of a human-driven vehicle and / or an autonomous vehicle.
[0126] Each action is preferably associated with a set of parameters that are determined based on the agent's particular context and, optionally, any other appropriate inputs (sensor information, fixed route, etc.). The parameter values can be preset (e.g., values assigned for a particular context), dynamically determined (e.g., in a learning module, based on additional information such as an environmental representation), any combination, and / or some or all of the other determinations. This highlights the potential advantage of this architecture, whereby different parameter values can be associated with actions, and where the context specifies a particular value or range of values, such that actions learned for different contexts can be associated with parameter values that are optimal for that context. In contrast, traditional methods, where the method is fully programmed, for example, require generalizing parameters (e.g., creep distance) to overly conservative values or programming multiple values for different cases. Also, methods that only include learning-based approaches can result in oversimplification of actions across cases, leading to unpredictable agent behavior (e.g., robot behavior, final generation of infeasible paths, etc.).
[0127] In a preferred embodiment, the output layer of each learning module is a softmax layer, where the number of output nodes is the number of available actions. As a specific example, the softmax layer assigns a confidence to each action in the action space, and the action with the highest confidence is provided as the output of the learning module. Additionally or alternatively, the action space and / or the available actions may be determined in any other suitable manner.
[0128] In a concrete example, in the context of a multi-lane highway, the multi-lane highway learning module generates a corresponding action space such as maintain speed, change lane left, and change lane right, while in a different context such as a residential road, it generates actions like those in the highway context and additional actions such as stop, yield, slow down, turn left, turn right, etc.
[0129] In additional or alternative embodiments, an output layer (e.g., a linear output layer) can be used to generate embeddings (e.g., vectors, vectors of real numbers, etc.) for actions that can be matched (e.g., in a lookup table) to stored embeddings associated with particular actions. In particular, for example, the length and angle of the embedding vectors generated by the output layer can be used to match vectors associated with particular movements.
[0130] The step of selecting an action may be performed by the context-aware learning module, may be performed by another model and / or algorithm and / or process, may be determined by some or all of other information (e.g., some or all of a series of inputs from S212, based on a particular route, based on the next context in a map, etc.), and / or may be determined by some or all of another methodology.
[0131] In a preferred variation, the actions are generated as an output (eg, single output, multiple outputs, etc.) of a context-aware learning agent.
[0132] In additional or alternative embodiments, the action may be determined based on a state machine or other rule-based method for selecting an action based on the context.
[0133] In a first example, the context of the agent is identified from the map as a single-lane residential road (e.g., the agent cannot change the context due to the road geometry, as shown in FIG. 10). A set of actions determined for this context can be, for example, maintain speed, slow down, turn left, turn right, give way, etc. For slow down, the main parameter is the slow down distance, which means the distance the agent should slow down and proceed with great care (e.g., before deciding to merge). For example, humans slow down before a stop sign or merging onto a highway to carefully gauge the oncoming traffic and adjust the vehicle's speed to merge without a collision or to inconvenience road users. Depending on the specific context and optional actions, the value of this parameter is different. In a concrete example, the slow down distance for a parking lot context and a right turn and / or stop at stop sign action is 2 meters, while the slow down distance for a multi-lane highway context and a merge action is 17 meters.
[0134] In a second variant, the agent's context is determined to be a multi-lane highway where the agent can learn (e.g., in a learning module) that it is unlikely to see pedestrians. Actions in the action space include, for example, switch lane left, switch lane right, maintain speed, stop, etc.
[0135] Additionally or alternatively, S222 may include any other suitable process performed in any suitable manner.
[0136] 4.5 Method - Step S214 of selecting a second learning module S210 includes a step S214 of selecting a second learning module (equivalently referred to herein as a deep path network), which preferably functions to select a learning module based on an action, and preferably further functions to select an action-specific module for determining a path for the agent. The second learning module is preferably tuned (e.g., trained based on a corresponding highly tuned loss function) to a particular action (and / or actions in the action space) of the agent. In a preferred embodiment, for example, S214 functions to select a particular trained model (e.g., a decision network) from a set of multiple trained models based on a particular action (e.g., as described above) selected for the vehicle (based on the context). S214 can additionally or alternatively determine a path for the agent, select a learning module based on other environmental information about the agent, select a learning module based on other information for the agent (e.g., history information, object information, etc.), eliminate options available to the agent (e.g., eliminate available paths), and / or perform other suitable functions.
[0137] The step of selecting a second learning module is described herein equivalently as selecting one of a set of second learning modules and / or selecting one of a set of second learning modules.
[0138] S214 is preferably performed in response to (e.g., after, based on, etc.) S222 (e.g., the most recent instance of S222), where S222 is preferably performed in response to S212 and the second learning module is selected based on an action determined based on the agent's context. Additionally or alternatively, S214 may be performed as part of and / or in combination with S212, simultaneously with S212, without S212, multiple times throughout the method (e.g., in response to a change in context), and / or at any other point during method 200. Still additionally or alternatively, method 200 may be performed without S214.
[0139] In some examples, S214 is executed automatically in response to S212 being executed to determine an action and / or in response to a trigger indicating that the vehicle's context (e.g., as determined based on its location on a map) has changed and / or is about to change. Additionally or alternatively, S214 may be executed based on other triggers, continuously and / or at a predetermined frequency, without a trigger, and / or in any other manner (e.g., as described above).
[0140] Preferably, one learning module is selected from the second set of learning modules based on the action selected for the vehicle in S222. Additionally or alternatively, a particular learning module may be determined and / or selected based on the first learning module selected, based on the action determined in any other suitable manner, based on other information received in S205, and / or any other suitable information. Additionally or alternatively, multiple learning modules may be selected from the second set of learning modules (e.g., processed serially, processed in parallel, etc.).
[0141] The second learning modules are further preferably selected based on a mapping between the actions and the second learning modules. In a preferred embodiment, each action is associated with a single learning module of the set of second learning modules in a 1:1 mapping (in a lookup table and / or database), where each action is associated with only a single second learning module, and each of the second learning modules is associated with only a single action. The mapping is preferably pre-determined (e.g., programmed, rule-based, etc.), but may additionally or alternatively be dynamically determined. Additionally or alternatively, a single action may be associated with multiple second learning modules, where one of the set of second learning modules is selected (e.g., further based on a set of inputs) and / or module outputs are aggregated, a module may be associated with multiple contexts, and / or any other association may be established between the actions and the learning modules.
[0142] Additionally or alternatively, the second learning module can be selected based on other information (e.g., to further refine the selection of learning modules). For example, in some implementations, each (context, action) pair is associated with a single second learning module.
[0143] The second learning module (equivalently referred to herein as an action-aware learning agent, deep pathway network [DTN]) is preferably in the form of and / or includes a machine learning model, and more preferably in the form of one or more neural networks (e.g., deep Q-networks, convolutional neural networks [CNN], etc.) trained for specific actions, but may additionally or alternatively include other suitable models, algorithms, decision trees, look-up tables, and / or other tools. The deep pathway network (DTN) is preferably selected based on the action selected by the deep decision network (DDN), and preferably functions to generate a highly optimized safety pathway with action-driven safety constraints during the current planning cycle.
[0144] The set of second learning modules is preferably selected, optimized, and safely constrained based on a particular action (e.g., as described above). In a specific example, each of the set of second learning modules uses a localized view of the vehicle's surroundings (e.g., including information related only to nearby dynamic and static objects, information related only to nearby road features, etc.) to ultimately plan a safe, valid, and natural path for the vehicle to follow (e.g., as described in S224). This data-driven modular approach achieves a deterministic model that requires exponentially less data compared to traditional architectures.
[0145] In a preferred embodiment, each of the second learning modules is a deep neural network (DNN) (e.g., a neural network), more preferably a deep Q-learning network trained using inverse reinforcement learning, where the number of layers (e.g., hidden layers) of the neural network may vary depending on the action differences and / or any other information (e.g., 3-8 layers, 3 layers or less, 8 layers or more, 2-10 layers, 1-15 layers, etc.). Additionally or alternatively, any other suitable networks, algorithms, and / or models, such as some or all of those described above, may be used in the learning modules. Each of the set of second learning modules is preferably the same type of neural network (e.g., different number of layers) and / or algorithms and / or models, but may alternatively be different (e.g., different architectures, different types of neural networks, etc.). In a specific example, the second learning module has the same architecture as the set of first learning modules. In an alternative example, the first set and the second set of learning modules have different architectures.
[0146] Each of the second learning modules is preferably trained based on data occurring within a particular action type associated with the second learning model, and optionally further trained based on data occurring in some or all of the route traveled by the vehicle (e.g., a fixed route), the context of the vehicle, and / or other suitable information. In some embodiments, for example, a single second learning module applies to a particular action type, and the single second learning module is trained based on data in which the vehicle is performing the action. Additionally or alternatively, the single second learning module is trained based on data related to the context preselected in S212. Additionally or alternatively, the second learning module can be trained with any suitable data.
[0147] Each of the second learning modules is further preferably trained with inverse reinforcement learning, which serves to determine a reward function and / or an optimal driving policy for each of the context-aware learning modules. The output of this training is further preferably a compact fully connected network model representing the reward function and optimal policy of each learning module. Additionally or alternatively, the learning modules may be suitably trained and / or implemented in other ways (e.g., inverse reinforcement learning, supervised learning, semi-supervised learning, unsupervised learning, etc.).
[0148] In a first embodiment, S214 includes selecting a second learning module (equivalently referred to herein as an action recognition learning model) based on the determined action of the agent. In a specific embodiment, one action recognition learning module is assigned to each action. The action recognition learning module is preferably trained with an inverse reinforcement learning model, but may additionally or alternatively be trained in other ways.
[0149] In a second embodiment, S214 includes selecting a second learning module (equivalently referred to herein as an action-aware learning model) based on the determined action of the agent along with the context leading to the action. In a specific embodiment, one action-aware learning module is assigned to each (context-action) pair.
[0150] In a third example, S214 includes selecting from a plurality of action recognition learning models assigned / available to the particular action, where the particular action recognition learning model is selected based on some or all of machine learning, decision trees, statistical methods, algorithms, and / or using other suitable tools.
[0151] Additionally or alternatively, any other suitable learning module may be selected, used and / or trained.
[0152] 4.6 Method - Step S224 of generating vehicle path The method preferably includes a vehicle path generating step S224, which functions to generate a path for the agent to follow the selected action. Additionally or alternatively, S214 may function to generate a most optimal path for the agent (e.g., by eliminating paths from consideration based on actions), reduce the time and / or processing required to generate the path, and / or perform any other suitable function.
[0153] S224 is preferably performed in response to (e.g., subsequently, based on, etc.) S214, but may additionally or alternatively be performed in response to S210 and / or S212, as part of and / or simultaneously with S214, in the absence of S212 and / or S214, in response to S205, multiple times throughout the method, and / or at any other time during method 200. Still additionally or alternatively, method 200 may be performed without S224.
[0154] S224 is preferably performed in a second learning module selected as described above, and the path is generated as an output of the second learning module and / or determined based on the output of the second learning module, but may additionally or alternatively be performed in a first learning module, a combination of the first and second learning modules, multiple learning modules, any deep learning process, any program process, and / or any other suitable process.
[0155] S224 preferably includes determining (e.g., calculating) a set of agent-related safety tunnels and safety tunnel constraints that define a constrained driving space for the autonomous agent based on the selected action. The safety tunnels are preferably determined based on the selected action and function to constrain the set of all paths available to the agent by clarifying the environment of where future paths may be. In some embodiments, for example, they function to limit the environment to only those environments associated with the selected action and those environments where the vehicle may be in the future based on the selected action. The safety tunnels are further preferably calculated based on a set of inputs including the agent's location as well as map information such as road boundaries, stop sign locations, traffic light locations, etc., although any other suitable inputs may additionally or alternatively be taken into account. Additionally or alternatively, the safety tunnels may be calculated based on any other suitable information.
[0156] The safety tunnel is preferably an area defined relative to a fixed point, plane, and / or surface of the autonomous agent (e.g., front wheels, outermost surface of the front bumper, etc.) and / or an area associated with the autonomous agent (e.g., a virtual point and / or plane and / or surface relative to and moving with the autonomous agent), spanning some or all of a predetermined distance (e.g., 100 meters, 50 meters to 100 meters, less than 50 meters, 100 meters to 150 meters, 150 meters, 150 meters to 200 meters, more than 200 meters, etc.), a planning horizon, a stopping object at which the vehicle must stop (e.g., a yield sign, a stop sign, a traffic light, etc.), and / or any other suitable information. The parameters of the safety tunnel are preferably determined based on the action, including but not limited to a predetermined allocation, a dynamically determined allocation, an output of the first learning module, and / or any other suitable information. The safety tunnels are preferably calculated with each planning cycle (e.g., 30 times per second, 10 times per second, 50 times per second, 0-60 times per second, 60+ times per second, etc.), but may additionally or alternatively be calculated continuously, at a predetermined frequency, at a series of intervals (e.g., random intervals), in response to a trigger, and / or at any other suitable time. The safety tunnels serve to represent all possible locations the agent may occupy for the currently selected action. The safety tunnels are preferably constrained to the agent's current lane unless the action identifies a lane change action, but may additionally or alternatively be subject to other constraints.
[0157] In an example where an agent is stopped at a stop sign and the possible actions are to continue to yield to other traffic or to merge into a lane, if the action is to continue to yield to traffic, the safety tunnel extends only to the stop sign and no further, restricting the movement of the agent (equivalently referred to as the ego-vehicle in this document). When the action switches to merge into a lane, the safety tunnel is programmatically switched to encapsulate the entire space of the lane the agent plans to merge into.
[0158] In another example, another vehicle 100m behind the ego vehicle in an adjacent lane is not relevant if the current action is to continue straight in the current lane (e.g. outside a safety tunnel), but it becomes relevant if a lane change action is performed instead (e.g. inside a safety tunnel).
[0159] Additionally or alternatively, the safety tunnel may be designed and / or implemented in another manner, the method may be implemented without the safety tunnel, and / or the method may be implemented in another manner.
[0160] The safety tunnel can optionally be used to select which static and dynamic objects are in the safety tunnel, and only those objects are used for consideration and / or further processing (e.g., determining a local environment representation, determining a latent space representation, etc.). In some examples, for example, a localized dynamic and static object selector (e.g., in a computing system) selects relevant surrounding objects based on the action output from the first learning module, their associated safety tunnel, and any information about these objects such as their position, distance from the ego-vehicle, speed, and heading (e.g., to identify whether they will eventually enter the safety tunnel). Additionally or alternatively, relevant static and dynamic objects may be identified without the safety tunnel and / or independently of the safety tunnel (e.g., simply based on the selected action, based on a predefined set of action constraints, etc.), all static and dynamic objects may be considered, and / or S224 may be performed in other suitable manners.
[0161] In a first set of safety tunnel embodiments, the safety tunnels are used as constraints in path generation, and the safety tunnels sharpen the vehicle's environment by incorporating planning information such as future horizon planning lookahead (e.g., action-based localization, action-based constraints, etc.). In a specific example, the safety tunnels are used in part to generate a potential spatial representation that is used for final path generation.
[0162] S224 preferably includes receiving a set of inputs, such as some or all of those mentioned above, in S205, in S222, and / or as any other suitable input.
[0163] The set of inputs may include some or all of the inputs listed above, additional inputs, different inputs, and / or any suitable set or combination of inputs. In a preferred embodiment, the set of inputs received at S224 includes some or all of dynamic object information (e.g., in a safety tunnel) and their predicted paths, static object information (e.g., in a safety tunnel), one or more uncertainty estimates (e.g., calculated throughout the method, calculated for each first learning module, calculated for each second learning module, etc.), maps and / or inputs from maps, state and / or dynamic information associated with the agents, and / or any other suitable information.
[0164] The set of inputs is preferably used to determine a local environmental representation, which takes into account the information collected to identify the environmental representation (e.g., as described above), along with action-based constraints (e.g., based on parameters from the safety tunnel and / or safety tunnel constraints such as a more limited field of view), thereby generating a targeted, relevant, local environmental representation for the agent based on the selected action, which is equivalently referred to herein as the local environmental representation. This may, for example, serve to reduce the amount of information that needs to be considered and / or processed by the second learning module (e.g., for faster processing). Additionally or alternatively, the same environmental representation as described above, the local environmental representation may include other information and / or be subject to other constraints and / or the local environmental representation may be formed in other ways.
[0165] Identifying the local environment representation may optionally include identifying a latent spatial representation. The latent spatial representation is preferably identified by the same and / or similar process for identifying the latent spatial representation described above, but may additionally or alternatively include any other suitable latent spatial representation and / or process for identifying the latent spatial representation. Still additionally or alternatively, S214 may be performed without a latent spatial representation.
[0166] In a preferred set of embodiments, the safety tunnel constraints and local dynamic and static objects, the path information required to reach the destination, and the current agent state are passed to a latent space representation to reduce the overall size of the environment representation. This latent space representation is then used by a series of deep path networks, which are optimized and selected based on a single action to create the final path that is proposed for the agent to follow. Additionally or alternatively, these inputs can be received by the deep path networks without a latent space representation. In a specific example, by using a single deep path network for each action of the agent, each network can be hyper-tuned and optimized in terms of a loss function to correctly output the optimal path for each situation.
[0167] Method 200 may optionally include training some or all of the second set of learning modules. The learning modules are preferably trained on a remote computing system of system 100, but may additionally or alternatively be trained at any suitable location. The second set of learning modules may be trained separately / independently from the first set of learning modules, with a different set of inputs and outputs, or may additionally or alternatively be trained together (e.g., based on the same process, based on the same data, etc.). The second set of learning modules is preferably trained with a training process similar to that described above, but may additionally or alternatively be trained with any suitable process.
[0168] For example, in a first embodiment of training, each of the second learning modules, for example, uses actions from the training data to programmatically construct action-based constraints. These constraints are used to construct a local environment representation around the safety tunnel, which is used as the input of the network, where the DTN is trained from the training data for a path. Each of the second set of learning modules is preferably trained in the first and second training phases as described above, although preferably trained with a different set of inputs and outputs than the first set of learning modules. As a specific example, for example, weights in the loss function take into account the specific actions and those that need to be optimized for them, based on the defined safety tunnel. Additionally or alternatively, the second set of learning modules can be trained in other ways.
[0169] Additionally or alternatively, the second learning module may be configured and / or trained in other ways.
[0170] In a first set of embodiments, S224 includes determining a path for the agent in a second learning module selected from a set of multiple second learning modules in S214, where the second learning module receives as input a localized environment representation, which is identified based on action-specific constraints along with safety tunnels.
[0171] In a second set of embodiments, S224 includes determining an intermediate output from the second learning module, which is used to determine the path.
[0172] Additionally or alternatively, S224 may include any other suitable process and / or may be performed in other manners.
[0173] 4.7 Method - Step S260 of validating vehicle path Method 200 may optionally include a step S260 of validating the vehicle route, which serves to ensure that the route is safe and effective for the agent (eg, in reaching the destination).
[0174] S260 is preferably performed in response to (e.g., after, based on, etc.) S224, but may additionally or alternatively be performed in response to other suitable processes, as part of and / or simultaneously with S224, multiple times throughout the method, and / or at any other time during method 200. Still additionally or alternatively, method 200 may be performed without S260.
[0175] The route is preferably verified based on a set of programmed rules, which may include some or all of: checking for collisions that have occurred or may occur with static and / or dynamic objects (e.g., likelihood and / or confidence exceeding a predetermined threshold, likelihood and / or confidence exceeding 10%, likelihood and / or confidence between 5% and 100%, likelihood and / or confidence below 5%, likelihood and / or confidence between 10% and 30%, likelihood and / or confidence between 30% and 50%, likelihood and / or confidence between 50% and 70%, likelihood or confidence between 70% and 90%, likelihood between at least 90%, etc.), whether the route complies with the rules of the road (e.g., traffic laws, best practices, road infrastructure, etc.), and / or other appropriate rules. If the generated path is found to violate one or more rules (e.g., a single rule, all rules, etc.) and / or if uncertainty associated with the path (e.g., uncertainty associated with determining the path, uncertainty associated with the inputs used to determine the path, such as the probability that the input data is out of distribution, or both) exceeds a threshold, a backup program path (e.g., from a fallback operation planner) may be implemented and / or any other suitable backups may be implemented.
[0176] In a preferred embodiment, for example, the set of rules includes a first set of one or more rules that check for collisions with static or dynamic objects that have occurred and / or may occur on the generated route, and a second set of one or more rules that check whether the route complies with traffic regulations.
[0177] Additionally or alternatively, validating the route may optionally include verifying whether the agent stays within a secure tunnel used to determine the route. Additionally or alternatively, validating the route may include any other suitable rules.
[0178] Additionally or alternatively, S260 may include any other suitable processing, S260 may include one or more learned processes, method 200 may be performed without S260, and / or S260 may be performed in other suitable manners.
[0179] If the generated route does not satisfy one or more of these rules, method 200 preferably includes implementing a backup programmed route and / or otherwise implementing a fail-safe mechanism (e.g., triggering a fallback route planner, repeating S224, pulling the vehicle over to the side of the road, stopping the vehicle, etc.). Additionally or alternatively, method 200 may include triggering any other suitable process.
[0180] Method 200 may optionally include operating the vehicle according to the verified vehicle path. Additionally or alternatively, method 200 may include operating the vehicle according to the path generated in S214, determining a set of control commands based on the path and / or the verified path, operating the vehicle based on the set of control commands, and / or any other suitable processing.
[0181] 5. Variations In a first set of examples, the method 200 includes the steps of: receiving a set of inputs including some or all of agent state and / or dynamic information, static object information, dynamic object information (e.g., past path, predicted path, etc.), sensor information, and / or any other suitable information; receiving and / or identifying a context for the vehicle, the context being determined based on a position parameter (e.g., pose) of the agent and a map; selecting a first learning module with a mapping (e.g., 1:1 mapping) based on the context; and determining an action for the vehicle with the first learning module, the first learning module receiving as input an environment representation and applying the environment representation to the first learning module. The representation may include determining a vehicle path with the second learning module based on a set of inputs; selecting a second learning module in a mapping (e.g., 1:1 mapping) based on the action; determining a vehicle path with the second learning module, the second learning module receiving the local environment representation as an input; validating the vehicle path based on a set of rules and / or based on one or more sets of uncertainties associated with the path; defaulting to a fallback mechanism and / or fallback action planner if the vehicle path is not validated (e.g., based on the set of rules, based on the set of uncertainties); and operating the vehicle based on the validated path if the path is validated. Additionally or alternatively, method 200 may include determining one or more latent space representations, determining (e.g., defining) a safety tunnel, training some or all of the learning modules, and / or other processes performed in any suitable order.
[0182] In one set of illustrative examples, method 200 includes receiving a set of inputs, the set of inputs including a high-resolution labeled (e.g., manually labeled, automatically labeled, etc.) map that defines the context of the autonomous agent at any given time based on its position and / or orientation (e.g., pose) within the map, a set of detected dynamic objects and associated information (e.g., current location, size, previous path, and future predicted path), a set of all static objects and their current states, path information required to reach a destination, a current ego state, and / or any other suitable information; determining a latent space representation based on the set of inputs, and determining a complete environment representation based on the latent space representation; and selecting a first learning module based on the agent's context, the selected first learning module being determined based on a 1:1 mapping from the context to the first learning module, and determining a complete environment representation based on the first learning module. The method includes the steps of: selecting an action for an agent using a first learning module and a complete environment representation; defining a safety tunnel based on the selected action; determining a latent space representation using the set of inputs and the safety tunnel and determining a local environment representation based on the latent space representation; selecting a second learning module based on the action, where the selected second learning module is determined based on a 1:1 mapping between the action and the second learning module (e.g., in light of a context), where the second learning module includes a deep Q-learning network trained with an inverse reinforcement learning algorithm; generating a path for the autonomous agent using the second learning module and the local environment representation; validating the path with a set of rules; and if the path is validated, operating the vehicle based on the path. Additionally or alternatively, method 200 may include other processes and / or combinations of processes.
[0183] In a second set of examples, the method 200 includes receiving a set of inputs including some or all of agent state and / or dynamic information, static object information, dynamic object information (e.g., past path, predicted path, etc.), sensor information, and / or any other suitable information; receiving and / or identifying a vehicle context, the context being determined based on the agent's position parameters (e.g., pose) and a map; selecting a first learning module with a mapping (e.g., 1:1 mapping) based on the context; determining a vehicle path with the first learning module, the second learning module receiving an environment representation as input; validating the vehicle path based on a set of rules; defaulting to a fallback mechanism and / or fallback motion planner if the vehicle path is not validated (e.g., based on a set of rules, based on a set of uncertainties); and operating the vehicle based on the validated path if the path is validated. Additionally or alternatively, any number of learning modules can be implemented to generate a path.
[0184] In a third set of examples, the method 200 includes the steps of: receiving a set of inputs including some or all of agent state and / or dynamic information, static object information, dynamic object information (e.g., past path, predicted path, etc.), sensor information, and / or any other suitable information; receiving and / or identifying a context for the vehicle, the context being determined based on a position parameter (e.g., pose) and a map for the agent; selecting a first learning module with a trained model and / or algorithm and / or decision tree and / or mapping based on the context; and determining an action for the vehicle with the first learning module, the first learning module based on the inputs. receiving an environment representation as a local environment representation, where the environment representation is determined based on a set of inputs; selecting a second learning module with a learned model and / or algorithm and / or decision tree and / or mapping based on the action; determining a vehicle path with the second learning module, where the second learning module receives the local environment representation as an input; validating the vehicle path based on a set of rules; defaulting to a fallback mechanism and / or fallback action planner if the vehicle path is not validated (e.g., based on the set of rules, based on a set of uncertainties); and operating the vehicle based on the validated path if the path is validated. Additionally or alternatively, method 200 may include determining one or more latent space representations, determining safety tunnels, training some or all of the learning modules, and / or other processes in any suitable order.
[0185] Additionally or alternatively, method 200 may include any other suitable steps performed in any suitable order.
[0186] Although omitted for simplicity, preferred embodiments include all combinations and permutations of the various system components and various method processes, which may be performed in any suitable order, sequentially or simultaneously.
[0187] As those skilled in the art will recognize from the above detailed description and drawings and claims, modifications and variations can be made to the preferred embodiments of the invention without departing from the scope of the invention, which is defined in the following claims.
Claims
1. 1. A method for decision making and path generation for an autonomous agent, the method comprising: Identifying a context, which is a driving environment of the autonomous agent, based on a labeled map including a set of predetermined context assignments; a set of one or more computing subsystems, selecting a first trained model from a first set of trained models based on the context; determining an action for the autonomous agent based on the identified context using the first learned model; selecting a second trained model from a second set of trained models based on the action; determining a path for the autonomous agent based on the determined action using the second learned model; verifying whether the route is safe and effective for the autonomous agent; and operating the autonomous agent based on the path.
2. The method of claim 1 , wherein each of the sets of trained models is associated with a single context in the autonomous agent.
3. The method of claim 1, further comprising a step of determining a pose of the autonomous agent, and the context is further determined based on the pose.
4. The method of claim 3, wherein the set of predetermined context assignments is determined based on a fixed route assignment of the autonomous agent, and the route is determined at least in part based on the fixed route assignment.
5. 2. The method of claim 1 , wherein each of the first and second trained models is a deep Q-learning network trained with an inverse reinforcement learning algorithm.
6. 2. The method of claim 1 , wherein the second trained model is selected based on a mapping from the action to the second trained model.
7. The method of claim 6, wherein the second trained model is related only to the action.
8. The route is 2. The method of claim 1, wherein the verification is based on checking the path's satisfaction and a satisfaction of a set of programmed rules, where checking the satisfaction of the set of programmed rules includes checking at least one of: that the path does not collide with static objects; that the path does not collide with dynamic objects; that the path satisfies traffic laws; and that the path includes road infrastructure information.
9. The method of claim 1 , wherein a set of parameter values associated with the action is determined based on the context.
10. The method of claim 9 , wherein the set of parameter values includes at least one of a creep distance parameter and a stopping distance parameter.
11. 1. A method for decision making and path generation for an autonomous agent, the method comprising: identifying a context, the driving environment of the autonomous agent, based on a labeled map including a set of predefined context assignments, the labeled map including the set of predefined context assignments; receiving a set of inputs, the set of inputs comprising: a pose of the autonomous agent; and routing information relating to fixed route assignments of the autonomous agents; Static object information; dynamic object information; selecting a first trained model from a first set of trained models based on the set of inputs and the context; determining an action for the autonomous agent based on the identified context using the first learned model; selecting a second trained model from a second set of trained models based on an output of the first trained model; determining a path for the autonomous agent based on the determined action using the second learned model; verifying whether the route is safe and effective for the autonomous agent; and operating the autonomous agent based on the path.
12. The method of claim 11, wherein the first trained model is associated only with the context.
13. The method of claim 11, further comprising a step of determining a local environmental representation that is a targeted and relevant environmental representation for the autonomous agent based on the input, the local environmental representation being received by the second learned model.
14. The path is verified with a set of rules; the set of rules includes a first subset of rules and a second subset of rules; Checking a first subset of the rules, checking for a collision of the autonomous agent with one or more static objects based on the static object information and the path; checking that the autonomous agent does not collide with one or more dynamic objects based on the dynamic object information and the path; checking the second subset of rules, and checking that the route includes at least one of traffic laws and road infrastructure information.
15. and further comprising the step of defining a secure tunnel for the autonomous agent based on the action, the secure tunnel comprising: placing a virtual point moving with the autonomous agent at a predetermined fixed distance from the autonomous agent; and a distance to a stopping location at which the autonomous agent must stop.
16. The method of claim 15 , further comprising determining a local environment representation based on the set of inputs and a safety tunnel, the local environment representation serving as an input to the selected second learning model.
17. The method of claim 16 , wherein the step of determining the local environment representation includes excluding static and dynamic object information outside the safety tunnel.
18. The method of claim 17 , wherein the step of determining the local environment representation further comprises determining a latent spatial representation that represents an entire input space as a most effective spatial representation.
Citation Information
Patent Citations
Mobile body behavior prediction device
JP2018205940A
Autonomous operation capability configuration for vehicle
JP2019055768A
On-vehicle control device
JP2019131141A
Driving assistance method and system
WO2018078413A1
Electronic control device for vehicles
WO2018198823A1
