Method and system for making context-aware decisions for autonomous agents - Patents.com

A hybrid approach for autonomous vehicles using deep learning and rule-based methods improves decision-making by identifying vehicle contexts, enhancing safety and efficiency in navigating diverse environments.

JP7538892B2Active Publication Date: 2024-08-22GATIK AI INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2022574685
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-23
Filing Date
2020-12-09
Publication Date
2024-08-22
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

Current autonomous vehicle systems face challenges in decision-making due to the complexity of traditional approaches and the lack of explainability in machine learning-based methods, leading to safety concerns and inefficiencies in adapting to various environments.

Method used

A hybrid approach combining deep learning and rule-based processes for context-aware decision-making, utilizing a context selector and a map to identify vehicle contexts, enabling efficient navigation with minimal training data and human-like behavior.

Benefits of technology

The system provides explainable AI, reduces data requirements, and enhances safety by allowing vehicles to adapt to unexpected contexts, optimizing operations in various scenarios while maintaining low error margins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007538892000001
    Figure 0007538892000001
  • Figure 0007538892000014
    Figure 0007538892000014
  • Figure 0007538892000012
    Figure 0007538892000012
Patent Text Reader

Abstract

A system for context-aware decision-making for an autonomous agent includes a computing system having a context selector and a map. The method for context-aware decision-making for an autonomous agent includes some or all of the following steps: receiving a set of inputs, identifying a context associated with the autonomous agent based on the set of inputs, optionally labeling the map, selecting a learning module (a context-specific learning module) based on the context, defining an action space based on the learning module, selecting an action from the action space, and planning a path based on the action S260, and / or other suitable processes.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Application Serial No. 63 / 035,401, filed June 5, 2020, and U.S. Provisional Application Serial No. 63 / 055,756, filed July 23, 2020, each of which is incorporated by reference in its entirety.

[0002] Technical Field The present invention relates generally to the field of autonomous vehicles, and more particularly to novel and useful systems and methods for context-aware decision making of autonomous agents in the field of autonomous vehicles. [Background technology]

[0003]

[0003] In autonomous and semi-autonomous control of automobiles, conventional systems and methods for decision making can be categorized into two groups: classical approaches that rely on traditional programming principles, and machine learning-based approaches. However, each of these approaches has limitations. Furthermore, most of the current autonomous vehicle systems and methods attempt to operate in a variety of different environments, making traditional approaches very complex (and perhaps impossible) or machine learning-based approaches lacking explainability (thus raising safety concerns).

[0004]

[0004] Therefore, there is a need in the field of autonomous vehicles to create improved and useful systems and methods for decision making. [Brief description of the drawings]

[0005] [Figure 1] FIG. 1 shows an overview of an autonomous vehicle system for context selection. [Diagram 2]FIG. 2 shows an overview of the context selection method for an autonomous vehicle. [Diagram 3] FIG. 3 illustrates an embodiment of integrating a context selection system (context selector) into an autonomous vehicle architecture. [Figure 4] Figure 4 shows a range of context variations. [Diagram 5] FIG. 5 illustrates an example of a vehicle performing a creep maneuver within a particular context. [Figure 6] FIG. 6 outlines an example implementation of context switching for fixed routes compared to geofenced operational design domain (ODD) route options. [Figure 7] 7A-7D show examples of context selection along a route. [Figure 8] FIG. 8 shows an example of a schematic of the entire system of autonomous agents. [Figure 9] FIG. 9 shows a schematic example of context-aware decision-making and trajectory planning. [Figure 10] 10A-10B 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 11] FIG. 11 shows an example of the integration of a context selector in a route generation architecture. [Figure 12] FIG. 12 shows an example of a context selector in which a context is selected based on a map and the vehicle's position and / or orientation. [Figure 13] FIG. 13 illustrates an embodiment of a context identification module that identifies a context for a vehicle based on a set of inputs and one or more models and / or algorithms. [Figure 14] FIG. 14 shows an example of a map that sequentially shows a series of contexts for each of a series of example routes. [Figure 15]FIG. 15 shows an example map illustrating a series of example context region allocations. [Figure 16] FIG. 16 illustrates an example of a context selector and a series of trained deep decision networks. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0006]

[0021] The following description of preferred embodiments of the invention is not intended to limit the invention to those preferred embodiments, but is intended to enable any person skilled in the art to make and use the invention.

[0007] 1. Overview

[0022] 1, a system 100 for context-aware decision-making of an autonomous agent includes a computational system having a context selector and a map. 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), a vehicle control system, a sensor system, and / or any other suitable component or combination of components.

[0008]

[0023] As shown in Figure 2, a method 200 for context-aware decision-making for an autonomous agent includes receiving a set of inputs (S210) and identifying a context associated with the autonomous agent based on the set of inputs (S220). Additionally or alternatively, the method 200 may include some or all of the following steps: labeling a map (S205), selecting a learning module (context-specific learning module) based on the context (S230), defining an action space based on the learning module (S240), selecting an action from the action space (S250), planning a path based on the action (S260), and / or other suitable processes. The method 200 may be performed in the systems described above and / or any other suitable system.

[0009] 2. Advantages

[0024] Systems and methods for context-aware decision-making for autonomous agents can provide several advantages over current systems and methods.

[0010]

[0025] First, in a preferred embodiment, the system and / or method provides the benefits of a hybrid approach to decision making using deep learning and rule-based processes, enabling explainable artificial intelligence (AI).

[0011]

[0026] This offers the advantages of decomposing trained models into multiple micro-modules whose intended functionality is restricted to highly explainable tasks, building rule-based fallback and validation systems around the micro-modules to ensure safety, providing validation of the performance and underlying properties of each of these sub-modules, and / or any other suitable process, thereby enabling a safe and scalable solution for autonomy, in part or in whole.

[0012]

[0027] Second, in preferred embodiments, the system and / or method further provides the advantage of reducing the amount of data required to traverse, validate, and / or add new routes by implementing a small, limited route ODD that includes less context that may be overly defined and / or described, thereby eliminating and / or reducing many edge cases encountered by the vehicle. Similarly, the system and / or method can reduce the need for large amounts of data by significantly limiting the problem while maintaining all the benefits of a learning system (e.g., very low margin of error in decisions, realizing human-style driving, continuing the driving process, etc.). This allows optimal selection of a learning module (e.g., a deep learning model) and / or training of the learning module based on edge cases that require less or minimal data. For example, in some instances, an inverse reinforcement learning algorithm (which traditionally requires diverse and large amounts of data to train) can be leveraged to effectively replicate human driving. In specific examples, the data required to validate a route is significantly less (e.g., 50 times less, 100 times less, 1000 times less, etc.) than a geofence approach.

[0013]

[0028] Third, in some embodiments (e.g., as shown in FIGS. 10A-10B), the systems and / or methods provide the advantage of enabling supply chain growth in short-haul logistics (e.g., B2B trucking) applications by enabling fixed-route autonomous delivery of goods between locations.

[0014]

[0029] Fourth, in preferred embodiments, the system and / or method further preferably has the advantage of enabling identification and recognition of context for the autonomous vehicle, which can provide for achieving smooth context switching (e.g., based on a predefined set of contexts specified for a particular fixed route, etc., with minimal evaluation and testing), training models based on specific contexts (thus reducing the training required for each model), selecting safe and appropriate actions / behaviors of the vehicle in light of the context, e.g., optimizing different cost functions or parameters in different contexts, and / or other benefits.

[0015]

[0030] Fifth, in some embodiments, the system and / or method provides advantages that overcome shortcomings of conventional systems and methods, including inability to adapt to unexpected contexts, overgeneralization that often leads to conservative behavior, parameters that are difficult to tune (e.g., difficult to manually tune), constraint monitoring and adaptation of hyperparameters based on environmental changes, inability to solve even small-scale ODD, and / or other shortcomings of conventional systems and methods.

[0016]

[0031] Additionally or alternatively, the systems and methods may provide other benefits.

[0017] 3. System 100

[0032] System 100 functions to enable context selection and context-aware decision-making for the vehicle and includes a computing system having a context selector and a map. Additionally or alternatively, the system may include and / or interface with some or all of an autonomous agent, a vehicle control system, a sensor system, and / or any other suitable component or combination of components.

[0018]

[0033] System 100 preferably implements a hybrid architecture of decision making (e.g., as shown in Figures 3, 8, 9, 11, etc.) configured to implement both classical rule-based and machine learning approaches and enabled by a small-scale ODD fixed-route driving framework, which works to enable the vehicle to navigate validated routes with human-like driving behavior with minimal training data while maintaining explainability of the vehicle's decisions.

[0019]

[0034] As shown in FIGS. 10-10B, in a first set of examples, system 100 is implemented in an autonomous short-distance (e.g., 5-400 miles) B2B fixed-route application. In these examples, 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.

[0020] 3.1 System-Components

[0035] The system 100 includes a computing system operable to select a context associated with the vehicle. Additionally or alternatively, the computing system may be operable to perform some or all of the following: route planning for the vehicle (e.g., generating a path) in a planning module, locating the vehicle and / or surrounding objects in a location module, predicting paths for the vehicle and / or surrounding objects in a prediction module, storing information, and / or other suitable functions.

[0021]

[0036] The computing system is preferably designed to provide a centralized parallel computing model that allows high concurrency, low latency, and high throughput of task execution. The adaptive communication capabilities of the framework enable high data throughput, and the resource-aware user-level scheduler allows the centralized computing model to run at the highest level.

[0022]

[0037] To enable this, the computing system is preferably designed, at least in part, in a modular fashion including a set of modular computing components, referred to herein as learning modules (or equivalently referred to herein as learning agents or learning models), each associated with a predefined input and output. Each computing component includes a specific algorithmic module built to process a set of data inputs and generate a set of outputs. The computing system may include a middleware framework that, if necessary, extracts dependencies from these components and links them all together (e.g., using a topological ordering process such as a directed acyclic graph). For example, at runtime, the framework takes the aforementioned predefined components and combines them with fused data from sensors to create lightweight user-level tasks. Each task is scheduled and executed as an optimized thread based on resource availability and task priority.

[0023]

[0038] Additionally or alternatively, the system and / or computing system may be configured and / or designed otherwise.

[0024]

[0039] The computing system includes an on-board computing system installed in (eg, integrated within) the autonomous agent.

[0025]

[0040] 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.

[0026]

[0041] The computing system may additionally or alternatively include a remote computing system off-board the autonomous agent, such as a cloud computing system, which 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.

[0027]

[0042] The computing system preferably includes an active subsystem and a redundant subsystem, but may additionally or alternatively include any other suitable subsystems.

[0028]

[0043] The computing system preferably includes a context selector operable to select a context associated with the vehicle. The context selector is further preferably part of a planning module of the computing system and may further include 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. Additionally or alternatively, the context selector is separate from the planning module, the planning module may include any other suitable components, and / or the computing system may be otherwise configured.

[0029]

[0044] 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.).

[0030]

[0045] The computing system may optionally further include some or all of a memory, a storage device, and / or any other suitable components.

[0031]

[0046] 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.

[0032]

[0047] 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.

[0033]

[0048] The computing system includes and / or interfaces with a map that functions to at least partially enable the 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 auto-labeled map, a map labeled by both manual and automated processes, etc.) and / or combination of maps.

[0034]

[0049] System 100 preferably includes and / or interfaces with a sensor system (equivalently referred to herein as a sensor subsystem) that functions to enable some or all of the following: locating the autonomous agent (e.g., within a map), detecting objects (e.g., dynamic objects, static objects, etc.) in the autonomous agent's surroundings, and / or other suitable functionality.

[0035]

[0050] 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.

[0036]

[0051] 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.

[0037]

[0052] In a preferred embodiment, for example, the sensor system is configured to enable identification of an agent's pose (and / or any other position and / or orientation parameters), which is used to select a context associated with that pose based on the labeled map (e.g., in a 1:1 manner, with multiple options for the context, etc.). In a specific example, the sensor system includes a localization subsystem that determines the pose, which may include any combination of GPS, IMU, LIDAR, cameras, and / or other sensors mounted on the vehicle, to estimate the current location at any point in time. The sensor system is further preferably capable of determining information (e.g., position, behavior, etc.) of objects and / or features in the agent's environment, such as, but not limited to, dynamic objects, static objects, road infrastructure, environmental conditions (e.g., rain, snow, lighting conditions, etc.), and / or other suitable information.

[0038]

[0053] Additionally or alternatively, the sensor system may include any other suitable sensors configured to collect any suitable sensor information.

[0039]

[0054] Additionally or alternatively, system 100 may include any other suitable component or combination of components.

[0040] 4. Method 200

[0055] 2, method 200 includes receiving a set of inputs S210 and identifying a context associated with the autonomous agent based on the set of inputs S220. Additionally or alternatively, method 200 may include some or all of labeling a map S205, selecting a learning module (a context-specific learning module) based on the context S230, defining an action space S240 based on the learning module, selecting an action from the action space S250, planning a path based on the action S260, and / or other suitable processes.

[0041]

[0056] The method preferably implements and / or interfaces with a system for implementing hybrid decision making as described above, but may additionally or alternatively implement and / or interface with any other suitable method for implementing decision making.

[0042]

[0057] Method 200 functions to identify a context associated with an autonomous agent, thereby enabling context-aware decision-making for the autonomous agent. Additionally or alternatively, method 200 may function to enable selection of an action to be performed by the autonomous agent, generation of a path to be traveled by the autonomous agent, and / or performance of any other suitable function.

[0043]

[0058] The method 200 is preferably performed in the system 100 described above, but may additionally or alternatively be performed in any suitable system.

[0044]

[0059] Method 200 is preferably performed based on a map while the autonomous agent is traversing a route (e.g., continuously checking for context changes), but may additionally or alternatively be performed some or all of the following: at a predetermined frequency (e.g., a fixed frequency), in response to a trigger, at a series of intervals (e.g., random intervals), only once, and / or at any other suitable time.

[0045]

[0060] 4.1 Method - Labeling the map step S205

[0060] Method 200 optionally includes a map labeling step S205, which functions to specify the vehicle context at any location of the autonomous agent along a route (e.g., a predetermined route). Additionally or alternatively, the map labeling step may function to specify the location of one or more static objects along the agent's route, the location and / or other information of lane boundaries and / or other road features (e.g., information about the current lane, lane boundaries, lane, etc.), the location of the start point and destination of the vehicle, a set of parameters related to the vehicle's location (speed limit, target vehicle speed, dimensions, etc.), and / or other suitable information.

[0046]

[0061] The map is preferably a high-definition map, but may additionally or alternatively be or include any other suitable map. The map is further preferably manually labeled with some or all of the above information, for example, as enabled by the small-scale ODD and fixed-route approach of the preferred embodiment of the present system and method. This serves to generate a highly accurate, safe, and reliable map to transition between vehicle contexts. For example, in an example of a conventional system and method implementing geofence ODD (e.g., as shown in FIG. 6), the number of possible routes available to the vehicle is large, which may result in more switching between contexts (increasing the chance of selecting the wrong context), more storage and switching of a large number of fully trained models (e.g., causing computational bottlenecks), and / or other effects.

[0047]

[0062] A context is preferably assigned (e.g., hard-coded into the map, soft-coded into the map, etc.) for one or more particular regions of the map such that a particular context associated with the agent (e.g., the context of where the agent is located, the context of where the agent is trying to be located, the context of where the agent started from, etc.) can be identified in S220 (e.g., using one or more inputs received in S210, such as pose information of the autonomous agent).

[0048]

[0063] Contexts are preferably assigned to locations and / or regions within the map, and 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 inputs received in S210), no context (e.g., indicating locations and / or regions 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.

[0049]

[0064] In a first set of embodiments, the map is a high-resolution map with hard-coded context. In a specific embodiment, the map is a geolocation file that contains semantic annotations of the context of various points and / or areas.

[0050]

[0065] Additionally or alternatively, the time of day that the route is being used and / or one or more dynamic (e.g., temporal) characteristics may be taken into account, including some or all of traffic patterns (e.g., at the time that the fixed route is scheduled and / or most likely to be taken), weather conditions, lighting conditions, time-specific zone information (e.g., the times that school zone restrictions are in place), and / or other suitable information.

[0051]

[0066] In some embodiments, preferably dynamic objects (e.g., surrounding vehicles, pedestrians, animals, moving objects, etc.) and / or non-persistent objects or environments (e.g., construction sites) are considered in the sensor system (rather than the map), where a fallback motion planner may be triggered if the context is not recognizable and / or is otherwise influenced based on the dynamic objects (computed in the uncertainty estimate). Additionally or alternatively, the map may be dynamically and / or iteratively created to consider some or all of the features and / or objects.

[0052]

[0067] Additionally or alternatively, the assignment of a context may be determined based on route information (e.g., fixed route information), such as a set of fixed routes prescribed for the autonomous agent to take. The route information may include some or all of a starting location of the route, a destination of the route, a directionality of the autonomous agent along the route, and / or any other information. For example, in an embodiment involving a fixed route, the context assigned to the map is preferably selected based on the progression of the vehicle along the route and the contexts sequentially encountered by the vehicle along the way. In a specific example, for example, an intersection at which the agent intends to proceed straight along a first fixed route may be assigned a different context than the same intersection at which the agent intends to turn right along a second fixed route.

[0053]

[0068] Additionally or alternatively, some or all of the context may be identified independent of the root and / or fixed root.

[0054]

[0069] Additionally or alternatively, in examples where a context is identified by one or more programmed and / or machine learning processes (e.g., as described in S220) based on a set of inputs (e.g., as described in S210), the one or more contexts identified in S220 may be determined based on a map without assigned and / or predefined context. In some examples, for example, the context is identified by a context identifier module (e.g., as part of a planning module of an agent, as part of a computing system, etc.) as shown in FIG. 13, where the context identifier module may receive inputs such as road infrastructure information (e.g., location, size, associated parameters, etc.) and / or static environmental features from a map, which may include, but are not limited to, some or all of road signs, lanes, buildings, railroad tracks, bus routes, and / or other infrastructure information, individually and / or collectively.

[0055]

[0070] The map may optionally include (e.g., assign, define, etc.) one or more transition zones, which are located between different contexts, e.g., to indicate changes in context (e.g., along a fixed route, along a dynamically determined route, etc.), thereby allowing for smooth context switching (e.g., by defining an action space). The assignment of transition zones then serves to define an action space, e.g., in a manner that smoothly transitions the vehicle from one context to the next (e.g., making certain actions unavailable, prescribing that the agent stay 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 in other ways.

[0056]

[0071] In a first embodiment, S205 includes manually labeling the high-definition map to define a set of contexts, and more preferably a series of contexts, for at least one set of fixed routes available to the autonomous agent. S205 further preferably includes manually labeling a series of static objects and / or road features associated with these routes. In a specific example, a single context is assigned to each region in the map (e.g., for all routes, for a particular route, etc.). Additionally or alternatively, multiple contexts can be assigned to each region in the map (e.g., for overlapping routes, as a selection source, etc.).

[0057]

[0072] In a second example, S205 includes labeling the map without a defined context, where the context is identified later in method 200 (e.g., using one or more machine learning models). In a specific example, the map is labeled with road features and / or landmarks, which are later used to identify the context (e.g., with sensor information).

[0058]

[0073] Additionally or alternatively, S205 may be performed in another suitable manner, or method 200 may be performed without S205.

[0059] 4.2 Method - Step S210 of Receiving a Set of Inputs

[0074] Method 200 includes a step S210 of receiving a set of inputs, which functions to receive information for identifying a context for the autonomous agent. Additionally or alternatively, S210 can function to receive information for performing any suitable process of the method (e.g., determining an action and / or behavior, determining a path for the agent, etc.). Additionally or alternatively, S210 can include identifying (e.g., calculating) some or all of the set of inputs, combining the inputs (e.g., in one or more sensor fusion processes), processing and / or pre-processing the set of inputs, and / or other suitable processes.

[0060]

[0075] S210 is preferably performed continuously, at a predetermined frequency, at random intervals, before each sequence of processes of method 200, and / or at any other suitable time throughout method 200. S210 may additionally or alternatively be performed in response to a trigger (e.g., based on a map, based on sensor information, etc.), at random intervals, and / or at any other suitable time during method 200.

[0061]

[0076] The set of inputs received at S210 preferably includes sensor information collected by some or all of the sensor subsystems of the autonomous agent, such as sensor systems on board the autonomous agent, sensor systems remote from the autonomous agent, and / or sensor systems in communication with the autonomous agent, and / or 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 sensors and / or combinations of sensors, S210 may be performed without collecting sensor inputs, and / or S210 may be performed in any other suitable manner.

[0062]

[0077] The sensor information preferably includes some or all of location information associated with the autonomous agent, such as 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, S210 includes receiving pose information from a location module of a sensor subsystem, the location module including 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.

[0063]

[0078] The sensor information may additionally or alternatively include motion information 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.

[0064]

[0079] The sensor information further preferably includes location and / or motion information associated with one or more dynamic objects in the environment of the autonomous agent, 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 at S210 may be devoid of dynamic object information.

[0065]

[0080] The sensor information may optionally include location information and / or other information related to one or more static objects in the autonomous agent's environment (e.g., stationary pedestrians, roadway infrastructure, construction sites and / or construction equipment, barricades, traffic cones, parked vehicles, etc.), including some or all of the above information, etc. (e.g., object type identification, etc.). Additionally or alternatively, the sensor information may include any other information related to the one or more static objects and / or the information collected at S210 may be collected in the absence of static object information.

[0066]

[0081] The set of inputs received at S210 further preferably includes a map and / or any information identified from the map (e.g., determined based on, derived from, included in, etc.), such as some or all of the information described above at S205. In some embodiments, this includes one or more contexts (and / or transition zones) selected (e.g., pre-determined / assigned) based on the autonomous agent's region / location (e.g., identified based on sensor information as described above). 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.

[0067]

[0082] The information associated with the map may be optionally determined based on other information received in S210, such as some or all of the sensor information received from one or more sensor systems. For example, location information associated with the autonomous agent (e.g., current pose, current location, current geographic location, etc.) may be used to locate the agent within the map (e.g., locate it within a hand-labeled map), which is used to determine map information associated with the autonomous agent. In a first set of examples, this information is a particular context selected (e.g., assigned) based on the autonomous agent's location (e.g., the region that includes the location, the size of the road on which the agent is located, the location of a particular intersection on which the agent is located, etc.). In a second set of examples, the location of the autonomous agent relative to the map includes information associated with road infrastructure (e.g., road signs, lanes, buildings, etc.), which is preferably used in conjunction with other inputs (static environment features, static object information, autonomous agent vehicle states, dynamic environment features, etc.) to determine a context for the autonomous agent (e.g., utilizing one or more learning-based models, utilizing pattern recognition and / or classification models, etc.).

[0068]

[0083] Additionally or alternatively, the map information may include any other information (e.g., a set of possible contexts, a set of parameters and / or weights for algorithms and / or models, etc.) and / or may be received in any other manner, such as, for example, independently of the other information received at S210, simultaneously with the other information received at S210, before the other information received at S210, after the other information received at S210, multiple times at S210, and / or at any other suitable time.

[0069]

[0084] The set of inputs may optionally include route information assigned to the agent (e.g., a fixed route selected for the agent, a dynamic route the agent is traveling, the agent's predicted route, etc.) and / or associated route information (e.g., a route identifier for a fixed route, the agent's progress through a route, etc.), which may function, for example, to select information from one or more maps and / or to select a particular map (e.g., a route-specific map). Map information selected based on a route may include, without limitation, some or all of a current context, a future context (e.g., the next context for a fixed route), transition zones, and / or other suitable information from the map. In embodiments where a context is selected based on a map, the route information may be used to select an appropriate context for a particular route in areas where multiple routes overlap (e.g., an intersection through which multiple routes pass). The route information (e.g., a previous context for the route, historical information, a fixed route identifier, a destination, a starting point, a directionality of the route, etc.) may be used, for example, to select an appropriate context from multiple context options. Additionally or alternatively, the route information may be used in other processes of method 200 (e.g., when defining an action space based on the context, when selecting an action from the action space, when determining a path for an agent, etc.), other suitable information may be determined based on the route information, a set of inputs may be collected independent of and / or in the absence of the route information, and / or S210 may be performed in any other suitable manner.

[0070]

[0085] The set of inputs S210 may additionally or alternatively include other suitable information, such as, without limitation, a state of the autonomous agent (e.g., an operational state, a driving state, etc.), a path of the agent, a series of control commands for the agent, historical information related to the agent and / or the agent's environment, predictive information related to the agent and / or the environment (e.g., a predicted path of a dynamic object), and / or other suitable information and / or inputs.

[0071]

[0086] In a first set of embodiments (e.g., as shown in FIG. 12), S210 includes receiving a map specifying a set of contexts assigned to the agent, optionally a route for the agent (such as a fixed route), and sensor information from a set of sensors on board the autonomous agent, the sensor information including at least a pose of the autonomous agent, and the pose and optionally the route are used to select a context for the agent based on the map. Additionally or alternatively, S210 may include receiving any other suitable input.

[0072]

[0087] In one set of illustrative examples, S210 includes receiving a high-resolution, manually labeled map specifying the selected route for the vehicle, the context of each portion of the route (and optionally other routes), and sensor information including at least position information associated with the vehicle, and optionally some or all of motion information, object information (e.g., dynamic object information, static object information, etc.), and / or any other suitable information.

[0073]

[0088] In a second set of embodiments, S210 includes receiving a map including information related to road infrastructure, such as road infrastructure along one or more routes of the agent (e.g., a fixed route of the agent), and optionally some or all of other map information (e.g., speed limit information, traffic laws, etc.), a state of the agent (e.g., pose, speed, acceleration, etc., as determined by a sensor subsystem, equivalently referred to herein as ego-state), static environment features and / or information, dynamic environment features and / or information, sensor information, and / or any other suitable information, where the context is determined by one or more models and / or algorithms (e.g., a convolutional neural network [CNN], a recurrent neural network [RNN], a support vector machine [SVM], etc.).

[0074]

[0089] In one set of illustrative examples, a context identifier module including one or more deep learning models receives as input the map and optionally agent route information, agent state, static environmental features, and dynamic environmental features, which are used by the context identifier module to identify the agent's context.

[0075]

[0090] In a third set of embodiments, S210 includes receiving a set of multiple possible contexts for the agent based on the map, and a context of the set of multiple contexts is identified based on other inputs received in S210.

[0076]

[0091] Additionally or alternatively, S210 may include any other suitable process.

[0077] 4.3 Method - Step S220 of identifying a context associated with an autonomous agent based on a set of inputs

[0092] Method 200 includes a step S220 of identifying a context associated with the autonomous agent, which functions to identify the context in which the autonomous agent is operating, and may further function to select a learning module based on the context (e.g., according to a 1:1 mapping), define and / or limit the set of behaviors or actions available to the agent, specify certain parameters (e.g., creep distance) associated with the behaviors and / or actions, reduce and / or minimize the amount of data required to train the learning module, and / or perform other suitable functions.

[0078]

[0093] S220 is preferably performed in response to (e.g., after, based on, etc.) S210, but may additionally or alternatively be performed as part of and / or simultaneously with S210, in place of S210, in the absence of S210, multiple times throughout the method, and / or at any other point during method 200. Still additionally or alternatively, method 200 may be performed without S220.

[0079]

[0094] Context refers to the high-level operating environment of an agent, which can inform and constrain the vehicle's decisions at any time and / or time range. The context may include and / or define and / or be identified based on some or all of the following: the type of neighborhood in which the vehicle is located (e.g., residential, non-residential, highway, school, commercial, parking lot, etc.), lane characteristics and / or other infrastructure features of the road on which the vehicle is traveling (e.g., number of lanes, one-way roads, two-way roads, intersections, two-way stops and / or intersections, three-way stops and / or intersections, four-way stops and / or intersections, lanes in roundabouts, etc.), proximity to one or more static objects and / or environmental features (e.g., a particular building, a body of water, a railroad track, a parking lot, a shoulder, an area where an agent may pull over / park on the shoulder, etc.), location-related parameters (e.g., speed limit, speed limit above a predetermined threshold, speed limit below a predetermined threshold, etc.), road signs (e.g., yellow lanes, white lanes, dotted lanes, solid lanes, etc.), and / or other suitable information.

[0080]

[0095] Examples of contexts include, but are not limited to, any or all of: a two-lane two-way residential road (e.g., as shown in FIG. 4, the road geometry does not allow the agent to change the context), a two-lane two-way non-residential road, a multi-lane highway (e.g., the agent can learn that it is unlikely to encounter pedestrians), a one-way single lane road, a two-lane one-way road, a one-way road with "n" lanes (e.g., 1, 2, 3, 4, 5, 6, 6 or more, etc.), a two-way road with "n" lanes (e.g., 1, 2, 3, 4, 5, 6, 6 or more, etc.), a single lane road with a parking lot, a single lane road with a yellow border on one side, a multi-lane highway (e.g., where speed exceeds a predetermined threshold), a highway on-ramp; a highway off-ramp; an area connecting to a road (e.g., a parking lot, a driveway, etc.); and / or any other suitable context.

[0081]

[0096] S220 is preferably performed based on the set of inputs received in S210, but may additionally or alternatively be performed based on any other suitable information.

[0082]

[0097] S220 is preferably performed by reading a map (e.g., as described above) to identify contexts assigned to points and / or areas corresponding to the agent's location (e.g., pose) and / or the agent's route. As described above, each point and / or area may be associated with at most one context (in a 1:1 mapping), at most one context per route (e.g., the agent's fixed route assignment is used to select the appropriate context), associated with multiple contexts (e.g., ranked, prioritized, selected based on other inputs received in S210), and / or otherwise associated. In specific examples, the context assignments are hard-coded into the map. Alternatively, the context assignments may be soft-coded and / or otherwise assigned.

[0083]

[0098] Additionally or alternatively, S220 may be performed using any number of algorithms, models (such as machine learning models, deep learning models, supervised learning models, unsupervised learning models, semi-supervised learning models, statistical models, pattern recognition models, etc.), finite state machines (FSMs), processes (e.g., traditional program processes), decision trees, and / or equations.

[0084]

[0099] In some examples, one or more machine learning models, such as, but not limited to, one or more neural networks (e.g., CNN, RNN, etc.), SVMs, and / or any other suitable models, are implemented to identify the agent's context (e.g., as the context identifier module of FIG. 13 ) based on some or all of the input at S210.

[0085]

[0100] Identifying the context may optionally include switching between contexts, which preferably includes determining a transition between a current context and a future context. The transition may be in the form of some or all of a transition zone defined in a map (as described above), a context change, a transition action / motion (e.g., lane change, merge, exiting a highway, etc.); a route transition (e.g., the path the vehicle follows to change from lane 1 to lane 2, etc.), and / or other vehicle behavior. The transition is preferably identified (e.g., defined) based on the map (e.g., as shown as a transition zone, as shown through separate adjacent contexts in the map, as shown through separate successive contexts in a fixed route, etc.), but may additionally or alternatively be dynamically identified, identified with a route planner, identified based on sensor information, and / or otherwise.

[0086]

[0101] S220 may optionally include selecting a scenario based on the context, which functions 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 for the first context (e.g., a two-way residential road) include, but are not limited to, some or all of a right turn opportunity, adding a right turn lane, a stop sign, a traffic light, a yield sign, a crosswalk, a speed bump, and / or other scenarios. Examples of scenarios for the second context (e.g., a multi-lane highway) include some or all of a lane change, a merge, overtaking a slow vehicle, and / or other scenarios. In some implementations, for example, the context triggers the selection of a model and / or algorithm (e.g., a highly tuned, context-aware custom inverse reinforcement learning (IRL) algorithm), which performs high-level scenario selection and invokes a scenario-specific learning module (as 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, a context may be used to select different parameters, and / or S220 may be performed in a different manner.

[0087]

[0102] In a first set of embodiments, S220 includes selecting a context based on some or all of the vehicle's position and / or orientation (e.g., pose), the labeled map, and optionally other information received in S210, where the context informs how the remaining processes of the method are performed. Optionally, the context then triggers the selection of a particular scenario (e.g., based on a context-specific IRL algorithm).

[0088]

[0103] In a set of illustrative examples (e.g., as shown in FIG. 14), the labeled map shows a contiguous series of contexts for each of a set of routes (e.g., C1-C2-C3 for route 1, C1'-C2'-C3'-C4'-C5' for route 2, etc.), and when routes overlap at certain sections and / or points (e.g., intersections), the route assignment (e.g., route 1 vs. route 2) and / or the agent's directionality (e.g., west vs. east) can be used to select the appropriate context. The map can optionally further include transition zones (e.g., having a non-zero size or a size of zero indicating an immediate transition) between adjacent regions of different contexts and / or any other information.

[0089]

[0104] In an additional or alternative set of implementations (e.g., as shown in FIG. 15), the labeled map assigns a context to each of a series of regions of the labeled map, with the agent's location within the region (and optionally the route assignment and / or directionality of the agent) determining the agent's context. The map can optionally further include transition zones between adjacent regions of different contexts (e.g., having a non-zero size, or a size of zero indicating an immediate transition, etc.) and / or any other information.

[0090]

[0105] In a second set of embodiments, S220 includes identifying a context associated with the agent with a context identifier module, the context identifier module including one or more trained models (e.g., machine learning models, deep learning models, etc.) that receive as input some or all of the information received in S210.

[0091]

[0106] Additionally or alternatively, S220 may include any other suitable process and / or may be performed in any other suitable manner.

[0092] 4.4 Method - Selecting learning modules based on context and / or scenario S230

[0107] Method 200 may include selecting a learning module based on a context and / or scenario S230, which functions to enable an action (equivalently referred to as a behavior) to be determined for the agent given the particular context (and optionally the scenario) of the vehicle. S230 may additionally or alternatively function to define an action space available to the agent, to inform a path planner of the agent's determined path, to eliminate one or more actions from consideration by the agent (e.g., to minimize the number of actions available to the agent), and / or to perform other suitable functions.

[0093]

[0108] S230 is preferably performed in response to (e.g., subsequently, based on, etc.) S220, but may additionally or alternatively be performed as part of and / or simultaneously with S220, in place of S220, without S220, in response to S210, multiple times throughout the method, and / or at any other point during method 200. Still additionally or alternatively, method 200 may be performed without S230.

[0094]

[0109] S230 preferably includes selecting a learning module (equivalently referred to herein as a context-aware learning agent or deep decision network) that includes a set of machine learning (e.g., deep learning) models and / or algorithms, where the learning module is trained based on data relevant to that particular context. This serves to partition a large amount of data from all possible contexts into a manageable set that covers all or nearly all contexts the agent may encounter in that context.

[0095]

[0110] Each context is preferably mapped 1:1 to a learning module. Additionally or alternatively, a context may be associated with multiple learning modules (e.g., when results from multiple modules are aggregated, a single learning module is selected, etc.), a learning module may be associated with multiple contexts, and / or the contexts and learning modules may be mapped in other ways.

[0096]

[0111] S230 may optionally include receiving a set of inputs, which may include some or all of the set of inputs described above, different and / or additional sets of inputs, and / or any other suitable inputs. In one set of examples, for example, S230 may include receiving some or all of the inputs described above, a context and / or scenario for the agent, a set of vehicle and / or other dynamic objects surrounding the vehicle, a predicted path of the dynamic objects (e.g., where in a lane, in which lane, etc.), static objects surrounding the agent, an uncertainty value (e.g., of the predicted path), routing information associated with the agent, and / or other suitable inputs.

[0097]

[0112] In some examples (e.g., as shown in FIG. 16 ), an environmental representation of the agent is received along with the context at a deep decision network selected based on the context. In this example shown in FIG. 16 , the environmental representation (referred to as a complete environmental representation) includes a latent space representation of a set of inputs (e.g., as described in S210, or in addition to or as an alternative to those described in S210, etc.), where the set of inputs includes some or all of the agent's state (equivalently referred to herein as an ego-vehicle state), one or more maps, routing information (e.g., a selected fixed route, parameters associated with the selected fixed route, etc.), dynamic object information / features, static object information / features, and / or other suitable information. One or more models (e.g., machine learning models, deep learning models, RNNs, etc.) and / or processes and / or algorithms may be used to process some or all of these inputs (e.g., to determine a latent space representation, to determine another output, to simplify the inputs to the deep decision network, etc.). In a specific example (e.g., as shown in FIG. 16), for example, a first neural network (e.g., one or more RNNs, one or more CNNs, a combination of RNNs and CNNs, order independent representations of FIG. 16, etc.) is used to process features of objects (dynamic, static, both, etc.) in the agent's environment, which can function, for example, to generate intermediate representations (e.g., abstractions) of the features of the objects. In a specific example, the first neural network is a CNN including a set of one or more convolutional layers and / or pooling layers. Additionally or alternatively, any other suitable model can be used.This representation can optionally be combined (e.g., added to the vectors and / or matrices) with outputs from other models, such as a second neural network (e.g., RNN, CNN, ego RNN of FIG. 16, etc.) that processes other environmental information / inputs (e.g., route information, maps, agent / ego pose, etc.) and / or ego vehicle state. Some or all of this information can then be fed into a latent space network (RNN, CNN, etc.) that is used to determine an environmental representation based on the outputs of these other networks, and optionally map information, routing information, and / or other suitable inputs. The latent space network is preferably in the form of and / or includes one or more autoencoders (having one or more encoders, codes, and decoders), but may additionally or alternatively include some or all of other unsupervised learning models, supervised learning models, semi-supervised learning models, and / or other suitable neural networks and / or models. In a specific example, the latent space network is a fully-connected feed-forward neural network. The output of the latent space representation, which is preferably a low-level feature vector (but could additionally or alternatively be any other output), is then preferably used as input to a learning module.

[0098]

[0113] Additionally or alternatively, any other suitable models and / or algorithms may be implemented, the inputs and / or outputs may differ from these models and / or algorithms, and / or any suitable model architecture may be implemented.

[0099]

[0114] The learning module is preferably in the form of a machine learning model, and more preferably in the form of one or more neural networks and / or models (e.g., a Convolutional Neural Network [CNN], an Inverse Reinforcement Learning [IRL] model, a Reinforcement Learning [RL] model, an Imitation Learning [IL] model, etc.) trained for a particular context, but may additionally or alternatively include other suitable models, algorithms, decision trees, lookup tables, and / or other tools.

[0100]

[0115] In a preferred embodiment, each of the learning modules is a neural network, and more preferably a deep Q-learning network (e.g., an IRL algorithm / network), 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, other suitable networks, algorithms, and / or models may be utilized in the learning model, including, but not limited to, some or all of policy gradient methods, finite state machines [FSM], probabilistic methods (e.g., partially observable Markov decision processes [POMDP]), imitation learning [IL], variations of RL or IRL, and / or other suitable models and / or networks and / or algorithms. Each of the learning modules is preferably the same type of neural network (e.g., differing numbers of layers) and / or algorithms and / or models, but may alternatively be different.

[0101]

[0116] Each of the learning modules is preferably trained based on data occurring within a 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 through the 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 various versions of 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 the particular fixed route. Additionally or alternatively, the learning modules may be trained with any suitable data.

[0102]

[0117] 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 agents. 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.

[0103]

[0118] In a first embodiment, S230 includes selecting a context-aware learning agent (equivalently referred to herein as a context-aware learning module) based on the agent's identified context, with a single context-aware learning agent assigned to each context. The context-aware learning agents are preferably trained with inverse reinforcement learning techniques, but may additionally or alternatively be trained in other ways.

[0104]

[0119] In a second example, S230 includes selecting from among a plurality of context-aware learning agents assigned to and / or available for a particular context, where the particular context-aware learning agent is selected based on some or all of machine learning, decision trees, statistical methods, algorithms, and / or using other suitable tools.

[0105]

[0120] Additionally or alternatively, any other suitable learning module may be selected, used and / or trained.

[0106] 4.5 Method - Step S240 of defining an action space based on a learning module and step S250 of selecting an action from the action space

[0121] Method 200 may include a step S240 of defining an action space based on the learning module, which serves to define a set of actions (equivalently referred to herein as behaviors) available to the agent in light of the vehicle's context and / or environment. Additionally or alternatively, S240 may serve to minimize the number of context-informed actions available to the agent, which serves to simplify the process required to select an action for the vehicle (e.g., reducing time, avoiding irrational action selection, etc.). Method 200 may optionally additionally or alternatively include a step S250 of selecting an action from the action space, which serves to determine the vehicle's next action (e.g., switching and / or transitioning to a different behavior from the current behavior, maintaining the current behavior).

[0107]

[0122] S240 and / or S250 are preferably performed in response to (e.g., after, based on, etc.) S230, but may additionally or alternatively be performed as part of and / or simultaneously with S230, in place of S230, in the absence of S230, in response to S220 and / or S210, multiple times throughout the method, and / or at other times during method 200. Still additionally or alternatively, method 200 can be performed without S240 and / or S250.

[0108]

[0123] The action space and / or actions are preferably generated as an output of a learning module (e.g., intermediate output, final output, etc.). Additionally or alternatively, the learning module may generate other suitable outputs. In a preferred embodiment, the identification of the context and processing based on this context (e.g., a particular learning module) allows the action space to be relatively small (e.g., compared to all available actions).

[0109]

[0124] 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.

[0110]

[0125] 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 (such as sensor information). This highlights the advantage of this architecture, whereby different parameter values ​​can be associated with actions, with the context specifying the particular values, thereby allowing learned actions for different contexts to be different, yet predictable. In contrast, for example, traditional methods where the method is fully programmed require generalizing parameters (such as creep distance) to overly conservative values ​​or programming multiple values ​​for different cases. Also, methods that only include learning-based approaches may oversimplify actions across cases, resulting in unpredictable agent behavior (e.g., robotic behavior, generation of infeasible paths, etc.).

[0111]

[0126] In a preferred embodiment of the method, additional information and constraints from the context type allow us to train different learning approaches and reduce the amount of data required to tune the agent to the specific context and increase accuracy and reliability.

[0112]

[0127] In a preferred embodiment, the output layer of each deep decision network is a softmax layer, where the number of output nodes is the number of available actions. Additionally or alternatively, the action space and / or available actions may be determined in any other suitable manner.

[0113]

[0128] In a concrete example, in the context of a multi-lane highway, a corresponding action space such as maintain speed, change lane left, and change lane right is generated, while in a different context such as a residential road, actions as in the highway context and additional actions such as stop, yield, slow down, turn left, turn right, etc. are generated.

[0114]

[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 the actions, which can be matched (e.g., in a lookup table) with stored embeddings associated with particular actions. In particular embodiments, for example, the length and / or angle of the embedding vectors generated by the output layer can be used to match vectors associated with particular actions.

[0115]

[0130] The step of selecting an action S250 may be performed by a context-aware learning agent, may be performed by another model and / or algorithm and / or process, may be determined based on other information (e.g., some or all of the series of inputs from S210, based on a particular route, based on the next context in a map, etc.), and / or may be determined in another manner.

[0116]

[0131] In a preferred variation, the actions are generated as an output (eg, single output, multiple outputs, etc.) of a context-aware learning agent.

[0117]

[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.

[0118]

[0133] In a first example, the context of the agent is identified from the map as a single-lane residential road (e.g., as shown in FIG. 4, where the road geometry does not allow the agent to change the context). A set of actions determined for this context can be, for example, maintain speed, slow down, turn left, turn right, give way, etc. In the case of slowing down (e.g., as shown in FIG. 5), 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 (e.g., as shown in FIG. 5), the slow down distance for a parking lot context and a right turn and / or stop action at a stop sign is 2 meters, while the slow down distance for a multi-lane highway context and a merge action is 17 meters.

[0119]

[0134] In a second example, the agent's context is specified as 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.

[0120] 4.6 Method - Step S260 of planning a trajectory based on actions

[0135] The method 200 may include a step S260 of planning a path based on the action, which functions to enable the agent to perform the selected action (eg, as described above).

[0121]

[0136] The path preferably specifies a sequence of positions and associated velocities that the agent must take to execute the selected action. The path is preferably generated based on one of a set of path learning modules (e.g., which may be different from the learning modules described above, or which may be separate from the learning modules described above but include the same and / or similar architecture, etc.), but may additionally or alternatively be generated programmatically or learned by other suitable tools.

[0122]

[0137] S260 may optionally additionally or alternatively include some or all of: validation of the route, implementation of a fallback mechanism, vehicle operation according to the route, control command determination for vehicle operation based on the route, and / or any other suitable output.

[0123] 5. Variations

[0138] In a first example embodiment of method 200, the method includes receiving S210 a set of inputs, the set of inputs including at least a map (e.g., a high-definition manually labeled map, an automated labeled map, a map labeled in both a manual and automated manner, etc.), a vehicle position (e.g., a pose), and optionally a planned route for the vehicle, determining a context defined by the map based on the agent's position, selecting a learning module including a neural network based on the context, defining an action space including a set of actions available to the agent using the learning module, and selecting an action from the action space (e.g., using the learning module). Additionally or alternatively, method 200 may include any other suitable process (e.g., determining a path based on the action).

[0124]

[0139] In a specific example, method 200 includes receiving a set of inputs, where the set of inputs includes a set of contexts and, more preferably, a manually labeled high definition map defining a set of contexts for at least a fixed route for the autonomous agent, the set of inputs further including sensor information from a set of sensors onboard the autonomous agent, the sensor information including at least a pose of the autonomous agent, a context being selected for the agent based on the map using the pose and optionally the route, and optionally including other suitable inputs; selecting a context based on the vehicle's position and / or orientation (e.g., pose), the labeled map, and optionally some or all of other information received, where the context informs how the remaining processes of the method are performed; selecting a context-aware learning agent based on the context, where a single context-aware learning agent is assigned to each context and trained (e.g., with an inverse reinforcement learning model); defining an action space and selecting an action based on a learning module; and determining a path for the vehicle based on the action space and / or the action.

[0125]

[0140] In a particular implementation shown in Figures 7A-7D, the set of inputs includes receiving a route as shown in Figure 7A and identifying a first context as shown in Figure 7B based on the route and the map, where from the beginning of the trip, the vehicle is placed in a one-lane traffic, parking lot type context where a lot of pedestrians are expected. This foot traffic is usually confined to sidewalks, but in this context, pedestrian crossing events are very likely to occur. To handle this context, the learning agent is optimized to be more aware of pedestrians and their behavior, and the reward function is adjusted to achieve this. Possible actions for this agent are to maintain a given speed (e.g., a speed limited by preceding dynamic objects in the agent's path and the current road's speed limit), to yield to a set of dynamic objects (e.g., which may have priority over the agent), to remain stopped at the current location, and to provide a stop where the ego vehicle should stop. The second context encountered by the vehicle along this path, shown in Figure 7C, is that of a single-lane residential road. This context is very large and includes handling of single-lane traffic light and stop sign intersections, crosswalks and right turns. The decisions required to handle this context are very similar to those for the first context, with the main difference being what the algorithm is training on, and that the reward function is tuned for two different sets of actions. As shown in Figure 7D, the last context the agent encounters is a multi-lane residential context, which contains everything the single-lane context needs to handle, but with multiple lanes. Because of this, it needs to know how to switch lanes and how to turn at a multi-lane intersection. To handle this, in addition to the actions of the second context, it includes two other actions in its action space: switch to the left lane (if it is safe to do so) and switch to the right lane (if it is safe to do so).

[0126]

[0141] In a second example embodiment of method 200, the method includes receiving S210 a set of inputs, the set of inputs including at least a map (e.g., a high-definition manually labeled map, an automated labeled map, a manual and manually labeled map), a vehicle position (e.g., a pose), and optionally a planned route for the vehicle, determining a context for the agent using a context identifier module based on the inputs, selecting a learning module including a neural network based on the context, defining an action space including a set of actions available to the agent using the learning module, and selecting an action from the action space (e.g., using the learning module). Additionally or alternatively, method 200 may include any other suitable process (e.g., determining a path based on the action).

[0127]

[0142] Additionally or alternatively, method 200 may include any other suitable processes and / or may be performed in any suitable manner.

[0128]

[0143] 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.

[0129]

[0144] 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 context-aware decision-making for an autonomous agent, comprising: receiving a set of inputs from a sensor subsystem of the autonomous agent, the set of inputs including at least a pose of the autonomous agent; identifying a context comprising information about a driving environment of the vehicle based on the set of inputs and a map, the map defining a predetermined set of contexts for a fixed route of the autonomous agent; selecting a context-aware learning model from a set of context-aware learning models based on the context, each context-aware learning model in the set of context-aware learning models being trained with different data associated with a respective context; defining an action space for the autonomous agent using the context-aware learning model, the action space comprising a set of possible actions for the autonomous agent in the context; selecting an action from the action space; sending the actions to a motion planner of the autonomous agent, the motion planner determining a path for the autonomous agent based on the actions; operating the autonomous agent according to the path; receiving a second set of inputs from the sensor subsystem; detecting that the autonomous agent is transitioning to a second context of a predetermined set of contexts based on the second set of inputs and the map; The method according to claim 1, further comprising:

2. The method of claim 1 , wherein the set of contexts comprises an ordered set of contexts associated with the fixed root.

3. The method of claim 1 , further comprising determining a scenario based on the context, wherein the context-aware learning model is further determined based on the scenario.

4. The method of claim 1 , wherein the path is along the fixed route.

5. The method of claim 1 , wherein each of the context-aware learning models is trained based on data collected within the context.

6. The method of claim 5 , wherein the data further comprises data collected while traveling the fixed route.

7. The method of claim 5 , wherein each of the context-aware learning models is trained with an inverse reinforcement learning algorithm.

8. 2. The method of claim 1 , wherein the context and the selected context-aware learning model are associated in a 1:1 mapping, in which each context of a plurality of contexts is associated with a single context-aware learning model of the set of context-aware learning models.

9. The method of claim 1 , wherein the action space is associated with a set of parameters, and a set of values ​​for the set of parameters is determined based on the context.

10. The method of claim 9 , wherein the set of values ​​includes a creep distance.

11. The method of claim 1 , wherein the map comprises a manually labeled high definition map.

12. The method of claim 1 , wherein the context is further identified based on the fixed route, the fixed route intersecting with a second fixed route within a region associated with the context.

13. The context-aware learning model receives as input Information related to the set of dynamic objects detected; The method of claim 1 , further comprising receiving information relating to a set of static objects.

14. 1. A system for context-aware decision-making for autonomous agents, comprising: A sensor system mounted on the autonomous agent, the sensor system comprising: a sensor system, a localization subsystem configured to receive a set of inputs, the set of inputs including localization parameters of the autonomous agent; a map defining a predetermined set of contexts for a fixed route of the autonomous agent; a set of context-aware learning models, each context-aware learning model in the set of context-aware learning models being trained with different data associated with a respective context; A computing system in communication with the sensor system, the computing system comprising: receiving a set of inputs from the sensor system; comparing one or more of the sets of inputs to the map; Selecting a context based on the comparison; selecting a context-aware learning model from the set of context-aware learning models based on the context; determining an agent action based on the context-aware learning model; and transmitting the actions to a motion planner of the autonomous agent, where the motion planner determines a path for the autonomous agent based on the actions.

15. The system of claim 14, wherein the set of context-aware learning models includes a context-aware learning model for each of the predetermined set of contexts.

16. 16. The system of claim 15, wherein each of the context-aware learning models is mapped to a context of the predetermined set of contexts in a 1:1 manner, wherein each context of a plurality of contexts is associated with a single context-aware learning model of the set of context-aware learning models in the 1:1 mapping.

17. The system of claim 14 , wherein each of the context-aware learning models is trained based on data collected within the context.

18. The system of claim 17 , wherein the data further comprises data collected within the fixed route.

19. The system of claim 17 , wherein each of the context-aware learning models is trained with an inverse reinforcement learning algorithm.

20. 15. The system of claim 14, wherein the map is a manually labeled high definition map.

Citation Information

Patent Citations

  • A method for predicting the type of road conditions for a vehicle.

    JP2012531340A

  • Operation control device

    JP2015089801A

  • Mobile body behavior prediction device

    JP2018205940A

  • Multi-modal movement plan framework for automatic driving vehicle

    JP2020017271A

  • Method and apparatus for automatical rule learning for autonomous driving

    US20190317496A1