Method for visualizing neurons in an AI model, non-transitory computer-readable storage medium, and system

By applying LRP and VBP to generate explainable representations of neurons, the opacity of neural networks in autonomous driving is addressed, improving interpretability and efficiency while reducing computational costs and enhancing accuracy.

JP7733944B2Active Publication Date: 2025-09-04AUTOBRAINS TECH LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024098841
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-11-08
Filing Date
2024-06-19
Publication Date
2025-09-04
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Neural network models in autonomous driving systems are opaque and difficult to interpret, leading to a lack of transparency, increased computational costs, and reduced model accuracy due to uncorrected biases and errors.

Method used

A method utilizing Layer-wise Relevance Propagation (LRP) and Visual Back-Propagation (VBP) to generate explainable AI-based representations of neurons, highlighting the regions of interest (ROI) in model inputs, enabling intuitive understanding and efficient resource allocation.

Benefits of technology

Enhances model interpretability, reduces computational costs, and improves accuracy by focusing resource allocation on task-relevant neurons, thereby increasing trust and reliability in autonomous driving systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007733944000001
    Figure 0007733944000001
  • Figure 0007733944000002
    Figure 0007733944000002
  • Figure 0007733944000003
    Figure 0007733944000003
Patent Text Reader

Abstract

To provide a method, system and storage medium for visualizing neurons in an AI model for autonomous driving.SOLUTION: A method includes obtaining, from a number of neurons of the AI model for a task, one or more neurons; determining, for each of the one or more neurons, a corresponding Region of Interest (ROI) of an input related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and producing an interpretable AI-based representation of the determined corresponding ROI of the input for at least a portion of the one or more neurons, by applying a first operation including Layer-wise Relevance Propagation (LRP).SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to the field of computer technology, and more particularly to a method for visualizing neurons of an AI model for autonomous driving, a non-transitory computer-readable storage medium, and a computer-implemented system. [Background technology]

[0002] As computing and vehicle technologies advance, automation features have become more powerful and widely available, enabling vehicles to control a wider variety of environments. For example, for automobiles, the Society of Automotive Engineers (SAE) established a standard (J3016) that identifies six levels of driving automation, ranging from "no automation" to "fully automated." The SAE standard defines Level 0 as "no automation," in which a human driver performs all dynamic driving tasks full-time, even if augmented by warning or intervention systems. Level 1 is defined as "driver-assisted," in which the operator performs all remaining dynamic driving tasks by controlling steering or acceleration / deceleration (but not both) for at least some driving modes. Level 2 is defined as "partial automation," in which the operator performs all remaining dynamic driving tasks by controlling steering and acceleration / deceleration for at least some driving modes. Level 3 is defined as "conditional automation," in which the automated driving system performs all dynamic driving tasks for at least some driving modes, expecting the human driver to respond appropriately to intervention requests. Level 4 is defined as "high automation," in which the automated driving system performs all dynamic driving tasks only for specific conditions, even if the human driver does not respond appropriately to a request to intervene. Specific conditions for Level 4 may be, for example, specific types of roads (e.g., highways) and / or specific geographic areas (e.g., properly mapped, geographically isolated metropolitan areas). Finally, Level 5 is defined as "full automation," in which the vehicle can operate without operator input under all conditions.

[0003] Artificial intelligence and machine learning have already made remarkable progress, especially in the field of neural network models. These models, including multilayer perceptrons (MLPs), convolutional neural networks (ConvNets), recurrent neural networks (RNNs), and transformers, have gained widespread recognition for their superior ability to handle complex tasks and achieve impressive performance across a variety of domains. However, due to their complex and layered architectures, understanding the underlying computations of these models is challenging. They typically consist of multiple interconnected layers with highly nonlinear activation functions. Furthermore, these models involve a large number of parameters, typically on the order of millions, requiring extensive training to determine the optimal values ​​of these parameters. While these complex architectures and parameters enable models to capture complex modes and relationships between input data, they also contribute to the opaque "black box" nature of these models. However, users often find it difficult to understand how the models achieve predictions, decisions, or actions. The combination of a large number of parameters and complex architectures makes the inner workings of these models difficult to explain and understand. The underlying computational and decision-making processes within these models often remain opaque, making it challenging to understand how the models achieve their predictions or classifications. This lack of transparency has attracted attention from a variety of fields, including legal, medical, and commercial applications, where interpretability and explainability are important considerations.

[0004] This lack of explainability not only inhibits human trust and the ability to explain model decisions, but also inhibits attempts to recognize potential biases and errors in predictions. Furthermore, the computational efficiency of models suffers due to the unconstrained allocation of limited computer resources (e.g., neurons and associated electrical energy) used to power their decision-making and implementation, completing assigned tasks, and learning from errors. Furthermore, model accuracy declines over time as errors and biases that cause significant inaccuracies in predictions go undetected and uncorrected.

[0005] Addressing these challenges is crucial for increasing the reliability and adoption of neural network models in real-world applications by improving computational efficiency and model accuracy. This is because model providers and even end users increasingly demand a clear understanding of the model's decision-making process while simultaneously reducing computational costs and energy consumption. Transparent and explainable neural network models can also facilitate the identification and mitigation of biases and discriminatory modes, thereby ensuring fairness and measurability in automated decision-making systems and improving model accuracy to prevent serious errors due to bias and prediction errors. Therefore, efforts have been made to convert neural network models into more transparent, or "white-box," models.

[0006] Various techniques have been proposed, including post-hoc model interpretability methods and the use of explainable AI frameworks. Post-hoc interpretability methods aim to provide interpretations of model predictions after they are generated, while explainable AI frameworks focus on designing models with interpretability built in from the beginning. However, post-hoc interpretability methods and explainable AI frameworks each have their own deficiencies. Post-hoc methods typically provide approximations of model actions, which may not accurately capture the underlying model's decision-making process. Some post-hoc methods rely on model-specific details and are therefore less suitable for various AI models and architectures. For very large and complex models, explainable AI frameworks may not scale well, thereby slowing the interpretability process in real-world scenarios. Therefore, addressing deficiencies in post-hoc interpretability methods and explainable AI frameworks, such as limited accuracy, model relevance, and / or scalability, has become a new challenge in the pursuit of improving the interpretability and explainability of neural network models.

[0007] As neural network models are increasingly incorporated into autonomous driving systems and become an integral part of them, it is important to develop algorithms and systems that increase the interpretability of these models to make autonomous driving systems more trustworthy and acceptable, and to help model developers or end users understand the decision-making process of the system's neural network. It is also important to develop algorithms and systems that reduce the computational costs and associated energy usage of limited resources while improving the accuracy of model inference for various AI models. Summary of the Invention

[0008] Embodiments of the present disclosure provide a method, a non-transitory computer-readable storage medium, and a system for visualizing neurons of an AI model, which may be general-purpose or specialized for a particular application scenario, such as decision making or, more specifically, autonomous driving. In some embodiments, the method includes obtaining one or more neurons from a plurality of neurons for a task of the AI ​​model; determining, for each of the one or more neurons, a corresponding ROI of inputs related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and applying a first operation including LRP to generate, for at least a portion of the one or more neurons, an explainable AI-based representation of the determined corresponding ROI of inputs.

[0009] In some embodiments, the explainable AI-based representation is a human-explainable representation or a machine-explainable representation.

[0010] In some embodiments, inputs are collected for the task by sensors, a recorded human driving database, and / or cloud storage.

[0011] Also, in some embodiments, the input is a processed image frame, and the corresponding ROI for each neuron of the one or more neurons includes a set of pixels in the processed image frame that correspond to the corresponding ROI.

[0012] Also, in some embodiments, the input is a sequence of processed image frames, and the corresponding ROI for each of the one or more neurons comprises a union of each pixel set of the sequence of processed image frames, each pixel set corresponding to a sub-ROI of each processed image frame of the sequence of processed image frames.

[0013] Additionally, in some embodiments, generating the explainable AI-based representation includes applying a second operation that includes VBP.

[0014] Additionally, in some embodiments, the VBP is applied sequentially after the LRP.

[0015] In some embodiments, the AI ​​model also includes a mixing block and a model backbone.

[0016] Also, in some embodiments, applying the first operation and the second operation includes applying LRP through a mixing block to obtain a weight mask to be used for the feature map of one or more neurons, weighting the feature map of one or more neurons using the weight mask to obtain a weighted feature map of one or more neurons, and applying VBP to back-transmit the weighted feature map of one or more neurons through a model backbone.

[0017] Also, in some embodiments, the input is a spectrogram of an audio segment.

[0018] An embodiment of the present disclosure provides a non-transitory computer-readable storage medium having stored thereon commands that, when executed by one or more processors, cause the one or more processors to: obtain one or more neurons from a plurality of neurons for a task of an AI model; determine, for each of the one or more neurons, a corresponding ROI of an input related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and apply a first operation including LRP to generate, for at least a portion of the one or more neurons, a human-explainable representation of the determined corresponding ROI of the input.

[0019] In some embodiments, the explainable AI-based representation is a human-explainable representation or a machine-explainable representation.

[0020] In some embodiments, inputs are collected for the task by sensors, a recorded human driving database, and / or cloud storage.

[0021] Also, in some embodiments, the input is a processed image frame, and the corresponding ROI for each neuron of the one or more neurons includes a set of pixels in the processed image frame that correspond to the corresponding ROI.

[0022] Also, in some embodiments, the input is a sequence of processed image frames, and the corresponding ROI for each of the one or more neurons comprises a union of each pixel set of the sequence of processed image frames, each pixel set corresponding to a sub-ROI of each processed image frame of the sequence of processed image frames.

[0023] Additionally, in some embodiments, generating the explainable AI-based representation includes applying a second operation that includes VBP.

[0024] Additionally, in some embodiments, the VBP is applied sequentially after the LRP.

[0025] In some embodiments, the AI ​​model also includes a mixing block and a model backbone.

[0026] Also, in some embodiments, applying the first operation and the second operation includes applying LRP through a mixing block to obtain a weight mask to be used for the feature map of one or more neurons, weighting the feature map of one or more neurons using the weight mask to obtain a weighted feature map of one or more neurons, and applying VBP to back-transmit the weighted feature map of one or more neurons through a model backbone.

[0027] Also, in some embodiments, the input is a spectrogram of an audio segment.

[0028] An embodiment of the present disclosure also provides a computer-implemented system including one or more processors and one or more memory devices that store commands that, when executed by the one or more processors, cause the one or more processors to: obtain one or more neurons from a plurality of neurons for a task of an AI model; determine, for each of the one or more neurons, a corresponding ROI of an input related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and apply a first operation including LRP to generate, for at least a portion of the one or more neurons, a human-explainable representation of the determined corresponding ROI of the input.

[0029] In some embodiments, generating the explainable AI-based representation includes applying a second operation that includes VBP.

[0030] All combinations of the above concepts and additional concepts described in more detail herein are to be construed as part of this disclosure, e.g., all combinations of claimed subject matter appearing at the end of this disclosure are to be construed as part of the subject matter disclosed herein. [Brief explanation of the drawings]

[0031] To more clearly illustrate embodiments of the present disclosure and related technologies, the following figures are briefly introduced in the following embodiments. Obviously, these figures are only some embodiments of the present disclosure, and those skilled in the art can obtain other figures by referring to these figures without any creative effort. Arrows in the figures indicate relationships, and by these relationships, the component where the arrow starts can be used to train / apply the component to which the arrow points. These figures, combined with the following detailed description, can be used to more fully understand embodiments of the present disclosure. [Figure 1A] FIG. 1 is a block diagram illustrating an example of an AI model according to some embodiments of the present disclosure. [Figure 1B] FIG. 1 is a block diagram illustrating an example of a trained AI model suitable for performing a method for visualizing a model, according to some embodiments of the present disclosure. [Figure 2] FIG. 1 is a block diagram illustrating an example of a proposed computer-implemented system according to some embodiments of the present disclosure. [Figure 3A] FIG. 2 illustrates an example of an ROI in an input image, according to some embodiments of the present disclosure. [Figure 3B] FIG. 2 illustrates an example set of sub-ROIs in an input image sequence, according to some embodiments of the present disclosure. [Figure 4] 1A and 1B are diagrams illustrating example spectrograms in three-dimensional (3D) and two-dimensional (2D) form for visualizing neurons in an AI model, according to some embodiments of the present disclosure. [Figure 5] 1 is a flowchart of an example of visualizing the operation of neurons in an AI model, according to some embodiments of the present disclosure. [Figure 6] 10 is a flowchart of another example of visualizing the operation of neurons in an AI model, according to some embodiments of the present disclosure. [Figure 7] 1 is a flowchart of an example of applying a visualization technique based on two saliency maps, according to some embodiments of the present disclosure. [Figure 8]FIG. 1 is a diagram of an example of generating a human-explainable representation according to some embodiments of the present disclosure. [Figure 9] FIG. 10 is a diagram of another example of generating a human-explainable representation according to some embodiments of the present disclosure. [Figure 10] FIG. 10 is a diagram of yet another example of generating a human-explainable representation according to some embodiments of the present disclosure. [Figure 11] FIG. 1 illustrates an exemplary hardware and software environment for an autonomous vehicle, according to some embodiments of the present disclosure. For simplicity and clarity of the drawings, components shown in the figures are not necessarily drawn to scale. For example, the size of some components may be larger than others for clarity. Also, where appropriate, additional graphical symbols may be repeated to indicate corresponding or similar components. DETAILED DESCRIPTION OF THE INVENTION

[0032] With reference to the drawings, the embodiments of the present disclosure are described in detail with respect to technical problems, structural characteristics, objectives to be achieved, and effects. Specifically, the terms in the embodiments of the present disclosure are used only to describe specific embodiments and do not limit the present disclosure. In the following detailed description, many specific details are set forth to fully understand the present invention. However, it should be understood that those skilled in the art can practice the present invention without these specific details. In other circumstances, to avoid confusion, known methods, processes, and components are not described in detail. The subject matter of the present invention is particularly pointed out and clearly protected in the final part of this specification. However, the organization, operation method, objectives, features, and advantages of the present invention can be best understood by reading the following detailed description in combination with the drawings. Because the illustrated embodiments of the present invention can be realized primarily using electronic components and circuits already known to those skilled in the art, more details than are deemed necessary to understand the basic concepts of the present invention and avoid confusing or distracting the teachings of the present invention will not be described. For example, the specification and / or drawings may involve a processor or processing circuit. The processor may also be a processing circuit. The processing circuitry may be implemented as a central processing unit (CPU) and / or one or more other integrated circuits, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a fully custom integrated circuit, or a combination of these integrated circuits.

[0033] The following specification and / or drawings may involve images or image frames. An image is an example of a media unit. Any reference to an image may apply to a media unit, as appropriate. A media unit may be an example of a sensing information unit (SIU). Any reference to a media unit may apply to any type of natural signal, as appropriate, for example, but not limited to, naturally generated signals, signals representing human activity, signals representing actions related to vehicular activity, geodetic signals, geophysical signals, text signals, digital signals, and time-series signals. Any reference to a media unit may apply to an SIU, as appropriate. An SIU may be of any type and may be sensed by any type of sensor, e.g., a vision camera. Acoustic sensors may sense infrared, radar imaging, ultrasonic, electro-optical, radiography, light detection and ranging (LIDAR), thermal sensors, passive sensors, active sensors, etc. Sensing may include generating samples (e.g., pixels, audio signals, etc.) representing the signal transmitted or otherwise arriving at the sensor. An SIU may include one or more images, one or more video clips, text information about one or more images, or text describing motion information, and the like.

[0034] Any combination of any modules or units listed in any of the accompanying drawings, any portion of the specification, and / or any claims may be provided. Any of the units and / or modules illustrated in this application may be implemented using hardware and / or code, commands, and / or instructions stored on a non-transitory computer-readable medium, and may be included within a vehicle, outside a vehicle, on a mobile device, on a server, etc. The vehicle may be any type of vehicle, such as a ground transportation vehicle, an air vehicle, or a water-based transportation tool. This vehicle may also be referred to as a private vehicle. It should be understood that automated driving includes at least partially automated (semi-automated) driving of a vehicle, including all L2 level types or higher as defined by the SAE standard.

[0035] As used herein, an AI model may be general-purpose or specialized for a specific application scenario, such as decision-making, classification, or prediction. In particular, an AI model may be customized for common tasks related to autonomous driving. These tasks can be categorized, for example, into perception, localization and mapping, planning and decision-making, and control. Perception tasks involve accurate detection and identification of objects and entities in the surrounding environment. This includes identifying and classifying pedestrians, vehicles, traffic signs, traffic lights, and other relevant objects. Localization tasks focus on determining the vehicle's precise location in the surrounding environment, which involves using sensors and data to estimate the vehicle's position relative to known reference points or a map. Mapping tasks, on the other hand, involve creating and updating a representation of the surrounding environment. Both localization and mapping enable an autonomous driving system to accurately determine the vehicle's location and efficiently navigate the vehicle. Planning tasks involve generating a sequence of actions, or a trajectory, based on the vehicle's current location and desired destination. Decision-making tasks involve analyzing the current driving situation and determining appropriate actions, such as changing lanes, accelerating, braking, or yielding. Planning and decision-making together enable an automated driving system to navigate a vehicle in a safer and more efficient manner. The control task typically involves executing the planned maneuvers and adjusting the vehicle's dynamics to follow the desired trajectory. This includes controlling the steering, acceleration, and braking systems to maintain proper control and stability of the vehicle. The control task ensures that the vehicle's physical responses are consistent with the planned maneuvers.

[0036] This disclosure proposes a method for visualizing neurons in an AI model. To do so, it is necessary to simplify the millions of neurons in the AI ​​model as a prerequisite to obtain an equivalent and compact representation of the entire set of neurons in the model. This facilitates intuitive understanding of the portion of the model input that each of the limited number of neurons focuses on to complete a specific task. The simplified representation of neurons enables intuitive understanding of the neural network's response to model inputs under a given task. The simplified and compact representation of neurons allows for a more focused analysis of the model's behavior and the neuron's contribution to the overall functionality of the AI ​​model.

[0037] As used herein, the term ROI refers to a unique aspect of the model input encoded by a neuron in the compact representation of the neuron for a particular task for which the AI ​​model was specifically trained. For example, in lane-changing tasks related to autonomous driving, identifying road boundaries is crucial because collisions with road boundaries can cause serious accidents, such as overturning or damage to the vehicle during lane changes. Therefore, for lane-changing tasks, at least some neurons (also referred to as active neurons) in the compact representation of the neuron of the AI ​​model focus on portions of the model input that represent lane boundaries or contain information about lane boundaries. Each active neuron then encodes a corresponding portion of the model input based on the determined ROI to achieve the overall functionality of the AI ​​model (i.e., to perform a lane change for the vehicle). This requires that the vehicle avoid overlapping or colliding with any detected lane boundaries in the model input. Finally, a first operation is applied to generate a human-explainable representation that allows end users and / or model developers to gain an intuitive understanding of the underlying behavior of the AI ​​model. Such operations utilize LRP, a technique for highlighting the contribution of each neuron in encoding different aspects of the overall input to complete a task. By leveraging LRP, the method generates representations that are easily understandable and explainable to humans. In this way, the disclosed method provides a valuable way to visualize and understand the function of neurons within AI models customized for specific application scenarios (e.g., autonomous driving). Furthermore, focusing on the specific contribution of each neuron allows for the allocation of computational resources to the specific neurons or nodes that most contribute to completing a particular task, thereby improving computational efficiency.

[0038] That is, based on the generated representation, a user, a model developer, or the trained model itself can intuitively understand which specific portions of the model inputs each active node in the AI ​​model is responsible for or focused on for a given task, which nodes are not involved in processing the model inputs (and potentially not involved in model decision-making, such as model inference), which nodes are most interested in portions of the model inputs relevant to the model's decision-making (and which nodes are less important to these portions), etc. Therefore, based on the generated human-readable representation, a user, a model developer, or the trained model can modify and / or fine-tune the network structure of the trained AI model for a given task, for example, by activating or removing nodes that are less relevant to the model's decision-making, thereby saving computational resources and improving computational efficiency. Furthermore, using the human-readable representation generated by the methods and systems disclosed herein, a model developer or the trained model can inspect whether to modify the type, number, format, etc. of the model inputs to better facilitate the generation of accurate model decisions, thereby improving the accuracy of model inference of the model inputs for a given task and enhancing the safety and reliability of using such AI models in applications such as autonomous driving systems.

[0039] Additionally, as the human explainability of AI models increases, users and / or trainers can provide more accurate feedback to AI models as reference data. Such high-quality reference data reduces the total amount of data required for an AI model to achieve its operational model. This means that the AI ​​model needs to train parameters to achieve the operational model in less time and with fewer computational resources.

[0040] It should be noted that the disclosed method does not necessarily require the AI ​​model to be involved in the training process, thereby avoiding the need for increased computational resources. The flexibility of the disclosed method is a notable feature, as it does not depend on the specific complexity or implementation details of the AI ​​model. Therefore, it can be effectively applied to a wide range of AI models, regardless of their architecture, size, or complexity. Scalability ensures compatibility with various types of AI models (including neural networks, deep learning models, reinforcement learning models, or any other form of machine learning algorithm). Overall, the disclosed method provides a resource-efficient and scalable way to mitigate the need for additional computational resources and ensure compatibility across various types of AI models by avoiding dependency on specific model details, further adding value to practical applications and gaining insights from AI models.

[0041] Referring now to the drawings, like numerals in all accompanying drawings indicate like elements. Figure 1A is a block diagram illustrating an example AI model 100 according to some embodiments of the present disclosure. As shown in Figure 1A, the AI ​​model 100 may include a model backbone 102, a mixing block 103, a policy head 104, a latent layer 105, and a plurality of neurons 106.

[0042] The model backbone 102 constitutes a fundamental part of the AI ​​model 100 and is responsible for initial data processing. In some examples, the model backbone 102 may include various layers and modules designed to extract and transform information contained in the model input. It captures, extracts, and classifies necessary features and representations from large amounts of model input data 101 (e.g., road frontal images or videos, or lateral acceleration annotations). These necessary features and representations are necessary for subsequent analysis and decision-making within the AI ​​model. In some embodiments, the model backbone 102 may be a convolutional neural network (CNN) that learns different features (e.g., road tracks and curves).

[0043] The mixing block 103 can integrate and combine information from different parts (e.g., layers) of the model backbone 102. By facilitating information exchange and feature fusion between model inputs, it enhances the overall representation of the input data. The mixing block ensures effective sharing and utilization of relevant information, improving the overall performance and accuracy of the AI ​​model. In an embodiment, the mixing block 103 may be a multi-layer perceptron (MLP) that includes a channel-mixing MLP that enables communication between different channels and a token-mixing MLP that enables communication between different spatial locations. These layers are interleaved (i.e., combined) to realize the interaction of both types of inputs.

[0044] The policy head 104 is a component that represents the development policy and generates the final output or implements a decision based on the analysis of the processed input data. The policy head 104 further provides a higher level of understanding of the input data. In other words, the policy head dictates the actions to be taken based on the state of the deep learning model and the detected surrounding environment. In an embodiment, the policy head 104 may be a trainable AI model.

[0045] The latent layer 105 is a simplified or condensed representation of the model input data 101 that may include an outline of important features of the model input data 101 (e.g., features related to lane boundaries). In some embodiments, the latent layer 105 can be obtained by using different data representation and approximation techniques to discard duplicate or irrelevant data. This allows for the lossless transfer of less data and the transfer of compact models rather than the original data. In this way, computational efficiency can be improved because less data needs to be processed and transferred from one domain to another, and model accuracy can be maintained without loss.

[0046] The latent layer 105 can include multiple neurons 106, each dedicated or focused to capturing and processing a particular input feature or pattern for a given task. In some examples, the latent layer 105 serves as a compact representation of the entire set of neurons in the AI ​​model. That is, from a human interpretation perspective, the number of neurons in the latent layer 105 is limited and acceptable. Thus, the collective operation of these neurons 106 can contribute to the overall processing of input data in the AI ​​model 100 to complete a task.

[0047] During operation, the AI ​​model 100 receives and processes model inputs 101 to generate model outputs 107. An example of the model input 101 may be an image signal depicting an image of a front view of a road, as shown in thumbnail 101a in the figure. However, those skilled in the art will appreciate that other suitable forms of model input may also be present, such as audio signals, text annotations, or a combination of audio and image signals (e.g., video streams) and text annotations. In some embodiments, the model input 101 is raw data from one or more sensors of the same vehicle or different vehicles. For example, the model input 101 may be an image captured by a camera sensor containing red, green, and blue (RGB) values ​​of pixels. The model input 101 may be raw SIUs, processed SIUs, text information, information derived from SIUs, etc. In different embodiments, the model input 101 may be loaded from a local disk, from a remote storage location via a suitable “cloud” network, etc. The acquisition model input 101 may include receiving data, generating data, participating in processing of data, processing only a portion of the data, and / or receiving only another portion of the data. The processing of the model input 101 may include at least one of detection, noise reduction, improving the signal-to-noise ratio, defining a bounding box, etc. The model input 101 may be received from one or more sources, such as one or more sensors, one or more communication units, one or more memory units, one or more image processors, etc.

[0048] The model backbone 102 extracts features from the received model input 101, such as road curvature and lane markers contained in the image, and passes the extracted features to the mixing block 103, where these features are combined with other layers to reduce these features from high-dimensional model input data to low-dimensional latent vectors as a compressed latent layer 105. In this way, by forming the compressed latent layer 105, the data volume / complexity of the raw data 102 can be reduced. Such compression further improves computational efficiency by requiring less data to be processed and training, as described in more detail below.

[0049] The latent layer 105 of the model input 101 serves to learn data characteristics and simplify data representation. Each data feature is stored as a separate neuron 106. The policy head 104 receives the latent layer 105 and processes the information provided by the latent layer. This information may include the curvature of the road, lane markers, and the current position of additional vehicles relative to the road, the current speed and lateral acceleration of the vehicle, whether there are other vehicles nearby, etc., and outputs the model output 107 based on the processed information. In an embodiment, the model output 107 may include an output maneuver decision to turn the steering wheel 107a to increase lateral acceleration and keep the vehicle centered within the curved lane.

[0050] In some embodiments, the model backbone 102 and the mixing block 103 may be configured to map the model inputs 101 to latent layers 105, which may be stored in a database of semantic relations. In some embodiments, the model backbone 102 learns to reduce the dimensionality of the input data to encode latent representations of features, while the policy head 104 recreates the encoded latent representations into reconstructed outputs, such as the model outputs 107. For example, the model backbone 102 may be configured to generate the compressed latent layers 105 for the model inputs 101 using one-dimensional vectors representing one or more elements of the model inputs 101. In one embodiment, the compressed latent layers 105 may be represented as a vector V, where V = [E1, E2, E3, ... EN], where E1 refers to element 1, E2 refers to element 2, E3 refers to element 3, and EN refers to element N. Each element may be a one-dimensional or multidimensional matrix. Each element can represent a potentially useful feature around the vehicle, such as a lane boundary, a lane centerline, a nearby vehicle, a traffic sign, or the outline of a tree.

[0051] The model backbone 102 may be configured to encode meaningful information about various data attributes within its latent manifold, which can then be used to perform related tasks. In such an embodiment, the latent layer 105 contributes to reducing the dimensionality of the input data and removing irrelevant information. Reducing the dimensionality of the input data can therefore reduce computational costs by allocating fewer computer resources and requiring processing of the reduced complexity and volume of input data. It can also increase the accuracy of the model because irrelevant information that may distort the modeling is removed.

[0052] In some embodiments, given the latent layer 105, the policy head 104 may be configured to determine an action that the vehicle should follow from a set of predetermined tasks. The tasks determine the action that the autonomous vehicle should take based on the latent layer 105. Some examples of these tasks are lane keeping, overtaking, lane changing, intersection handling, traffic light handling, etc.

[0053] The model output 107 may represent actions to be performed in the context of a particular application scenario (e.g., autonomous driving), such as the operation of an accelerator pedal, a brake pedal, or a steering wheel, which is represented by thumbnail 107a in the figure. While the components shown in Figure 1 are shown to constitute an AI model, it can be readily understood that an AI model customized for a particular application scenario (e.g., decision-making, autonomous driving, etc.) may also be generalized to include similar components as shown in Figure 1A.

[0054] FIG. 1B is a block diagram illustrating an example of a trained AI model suitable for performing a method for visualizing a model according to some embodiments of the present disclosure. The main difference between FIG. 1B and FIG. 1A is that, as shown in FIG. 1B, the AI ​​model 100 has already completed the training process, so all parameters of the AI ​​model have been determined. Therefore, in FIG. 1B, connections between components are intentionally omitted, while FIG. 1A illustrates the data stream during the model training process. As shown in FIG. 1B, arrows may indicate operations, which will be described in more detail below. In the embodiment, the operation performed is LRP.

[0055] LRP is a technique used in the fields of artificial intelligence and deep learning to understand the contribution and relevance of input features to model output. LRP enables neural network models to be interpreted and analyzed by transmitting relevance scores back through each layer of the network. In particular, LRP assigns relevance scores or weights to the model's output neurons (i.e., neural activations) and then manipulates these scores by transmitting them back through layers or model components, which in this disclosure may optionally be neuron 106 in latent layer 105. This back-transmission process aims to highlight the importance of different input features and their classifications that neurons, such as neuron 106, use in creating the model's decision-making process. Applying LRP can generate human-explainable representations of the input data that highlight the regions most relevant to the model's decision from the neuron's perspective (i.e., visualize the input pixels that truly contribute to the model's decision). Thus, limited computer resources can be further allocated to inputs deemed most important to the model's decision-making for more intensive processing based on LRP application, thereby confirming and further improving computational efficiency. LRP has a wide range of applications, including image classification, natural language processing, and other fields that utilize AI models.

[0056] As shown in FIG. 1B, the human-explainable representation 109 may be a graphical user interface (GUI) representation obtained by applying an LRP operation to the model input 101 of FIG. 1. An example of such a representation is shown by thumbnail 109a in FIG. 1B, which shows a mapping between an active neuron (or a group of active neurons) selected from among the active neurons of the AI ​​model 100 and the relevant portions of the model input for performing a predetermined task. Another example is thumbnail 109b, in which the predetermined task used for this thumbnail may be speech-related, such as voice control during autonomous driving. The salient portions outlined in thumbnail 109b in the model input (e.g., a 2D representation of a speech spectrogram) can be associated with the corresponding active neuron, thereby reflecting the content encoded by the latent layer to complete the speech-related driving task. An example of the human-explainable representation 109 is described in detail below.

[0057] 2 is a block diagram illustrating an example of a proposed computer-implemented system according to some embodiments of the present disclosure. As shown, the proposed computer-implemented system may include a processor 200. The processor 200 may be a general-purpose processor or a special-purpose processor, such as an ASIC (application-specific integrated circuit), an FPGA (field-programmable gate array), an SOC (system-on-chip), a CPLD (complex programmable logic device), etc.

[0058] As shown, the processor 200 may include an acquisition module 216 , a determination module 217 , an LRP 218 , a VBP 219 , a representation generation module 220 , and a visualization engine 221 .

[0059] The acquisition module 216 may be configured to receive model information 223 of the AI ​​model from the network 222 that deploys the AI ​​model and acquire knowledge of the entire neuron ensemble of the AI ​​model from the received model information 223. The acquisition module 216 may then be configured to acquire, for a given task, a compact representation to be used as the entire neuron ensemble from a plurality of neurons in the entire neuron ensemble of the AI ​​model, acquiring one or more neurons, denoted as neuron information 224. In some embodiments, the acquisition module 216 may selectively acquire different sets of one or more neurons from the entire neuron ensemble of the AI ​​model depending on different upcoming tasks. These acquired neurons form a compact representation that focuses on relevant aspects of the input required for the given task.

[0060] The processor 200 may also include a determination module 217. The determination module 217 may be configured to determine, for each of the one or more acquired neurons represented by the neuron information 224, a corresponding ROI of input related to a predetermined task based on the received neuron information 224. As shown in the figure, the determination module 217 may include an LRP unit 218 configured to apply an LRP operation to the model input. As a non-limiting example, the model input may be a processed signal 215. The processed signal 215 may be output from a signal processor 214, which may be separate from the processor 200 shown in FIG. 2. The signal processor 214 may be, for example, a digital signal processor (DSP). In some examples, the processed signal 215 is output from the signal processor 214 in response to a received raw unprocessed signal 213. The raw unprocessed signal 213 may be obtained from one or more sensors 210, a recorded human driving database 212, or a network 222.

[0061] Optionally, the decision module 217 can also include a visual saliency map (VBP) 219. VBP is a technique commonly used in the fields of computer vision and deep learning to gain insight into the image regions that most significantly contributed to a model's predictions. VBP operates by transmitting gradients from the output layer (which may alternatively be the latent layer 105 in FIGS. 1A and 1B) back to the input layer, thereby attributing a relevance score to each pixel or region along the way. These relevance scores indicate the importance of this particular pixel or region in contributing to the model's decision-making. By mapping these relevance scores to the input image, VBP facilitates the generation of a visually interpretable hot map or saliency map, making it a powerful tool for visualizing and interpreting neural network models and verifying whether the model's output predictions match the true values ​​obtained. In other words, by highlighting important image regions, VBP provides intuitive insight into the decision-making process, thereby contributing to the transparency and explainability of models used in vision-related tasks. In this way, the model accuracy of neural network models can be confirmed and improved. In addition, limited computer resources can be allocated to the specific pixels or regions that contribute most to the model's decision-making, while resources that are ineffectively allocated to unnecessary input processing are eliminated, thereby improving computational efficiency.

[0062] In summary, the determination module 217 in the processor 200 enables the identification and determination of task-relevant ROIs in the processed signal 215 for one or more relevant (i.e., active) neurons of the latent layer based on the received neuron information 224, while increasing the accuracy of the model and improving computational efficiency.

[0063] The processor 200 may also include a representation generation module 220. In some examples, the representation generation module 220 may include a visualization engine 221 responsible for generating a visualization output 226. This visualization output 226 may be a human-interpretable representation of the corresponding ROIs (e.g., processed signal 215) determined for at least some of the model inputs of one or more acquired neurons. As a non-limiting example, the visualization output 226 may be displayed in a GUI 230 shown in FIG. 2. An example output in the GUI may be represented by a thumbnail 231, which is described below with reference to FIGS. 8-10.

[0064] FIG. 3A is a diagram illustrating an example of an ROI in an input image, according to some embodiments of the present disclosure. As shown, the processed signal 215 in FIG. 2 may be indicated by reference numeral 330. This processed signal 215 may be an image signal and may have undergone image processing, such as grayscaling or cropping. The processed signal 330 may include an ROI 332 including a rectangular region of pixels, represented by reference numeral 334, whose horizontal range extends from x0 to x1 and whose vertical range extends from y0 to y1. In an embodiment, the identifier of the ROI in the processed signal 330 may be binary, indicating whether the processed signal falls within the ROI or whether the signal falls outside the ROI.

[0065] FIG. 3B illustrates an example of a set of sub-ROIs within an input image sequence, according to some embodiments of the present disclosure. The task performed by the AI ​​model requires multiple inputs, not just a single input. For example, in the case of an overtaking task, the AI ​​model requires a sequence of image frames to accurately assess the movement of other vehicles and / or moving objects surrounding the ego-vehicle. Accordingly, FIG. 3B is intended to illustrate such an application scenario. In FIG. 3B, an example is shown in which an image frame sequence 331 is provided to the AI ​​model to analyze the surrounding environment during the overtaking process. The sequence of image frames may include, for example, three consecutive processed images 3301-3303, which are captured and processed in chronological order. Each of the processed images 3301-3303 may include a corresponding sub-ROI. As a non-limiting example, the sub-ROI within the processed image 3301 includes a rectangular region of pixels, represented by reference numeral 3321, whose horizontal extent extends from x0 to x1 and whose vertical extent extends from y0 to y1. The sub-ROI in processed image 3302 includes a rectangular region of pixels represented by reference numeral 3322, with a horizontal range extending from x2 to x3 (where x2 is greater than x0 and x3 is greater than x1) and a vertical range extending from y0 to y1. The sub-ROI in processed image 3303 includes a rectangular region of pixels represented by reference numeral 3323, with a horizontal range extending from x2 to x3 and a vertical range extending from y2 to y3 (where y2 is greater than y0 and y3 is greater than y1).

[0066] Thus, the ROI of the processed image frame sequence 331 may be represented by reference numeral 3340, with its pixels extending horizontally from x0 to x3 and vertically from y0 to y3. It should be understood that the number of image frames included in the image frame sequence 331 may be any suitable number, and the disclosure is not limited in this respect. It should also be understood that the ROIs (regions of interest) and sub-ROIs (sub-regions of interest) shown in Figures 3A and 3B are depicted for illustrative purposes only. In most cases, the ROIs and sub-ROIs may have irregular shapes. Thus, the disclosure does not limit the shapes of the ROIs and / or sub-ROIs.

[0067] FIG. 4 illustrates examples of spectrograms, represented in three-dimensional (3D) and two-dimensional (2D) forms, according to some embodiments of the present disclosure. A spectrogram is a graphical representation of the frequency content of a signal as it changes over time. Spectrograms are used in signal processing, such as audio and speech analysis. As shown at the bottom of FIG. 4, an exemplary 2D spectrogram 434 plots the spectrum of an acoustic signal (e.g., an audio signal obtained from one or more microphones placed in a vehicle cabin) on the y-axis and time on the x-axis. The intensity (or color) of each point in the 2D spectrogram 434 represents the strength or amplitude of the frequency components of the acoustic signal at a particular time. This provides a visual representation of how the frequency content of a signal changes over time, thereby enabling the analysis and identification of various audio features, such as harmonics, resonant peaks, and transient events.

[0068] Additionally, a 3D spectrogram extends the concept of a 2D spectrogram by adding an additional third dimension (i.e., the intensity or amplitude of frequency components plotted in three dimensions and the intensity or amplitude of frequency components represented by the intensity or color of their corresponding parts in 2D). The third dimension of a 3D spectrogram can be visualized as a surface or contour plot, where the height or color of the surface / contour represents the amplitude of frequency components at a particular time and frequency. In FIG. 4, an exemplary 3D spectrogram 430 corresponding to 2D spectrogram 434 is shown at the top of FIG. 4 and designated by reference numeral 430.

[0069] FIG. 4 provides visual representations of spectrograms capturing specific fragments of an exemplary acoustic signal in both 2D and 3D formats. As shown, a distinct peak-shaped region circled and labeled ROI 422 in 3D spectrogram 430 corresponds to a region labeled ROI 432 in 2D spectrogram 434. While the content within the corresponding ROI 432 in 3D spectrogram 430 or 2D spectrogram 434 may be related to speech generated by a human (e.g., a vehicle driver), other portions of 3D spectrogram 430 or 2D spectrogram 434 may include other components, such as mechanical noise during vehicle operation, road environment noise, and noise caused by other passengers in the vehicle cabin. In practical applications, particularly in scenarios involving voice control functions for autonomous driving, ROI 432 represents a salient portion of the input acoustic data for an AI model customized for such application scenario. That is, the ROI 432 representing the salient portion is of particular interest to the active neurons in the latent layer of the model, as it plays an important role in identifying and executing voice commands relevant to the autonomous driving task.

[0070] In an embodiment, an ROI may be over-created to include multiple features important to task salience, and a 2D spectrogram 434 or 3D spectrogram 430 may be constructed within the identified ROI 432, further mapping the "interest level" or input relevance of each pixel to a potential neuron on a continuous scale, where the color in the 2D spectrogram 434 or the height in the 3D spectrogram 430 indicates the interest level or salience of the potential neuron.

[0071] 1B , the illustrated example embodiment of human-readable representation 109 (i.e., thumbnail 109b) corresponds to 2D spectrogram representation 434 shown in FIG. 4. As shown in FIG. 4 , when 2D spectrogram representation 434 is used as the human-readable representation, the outline of ROI 432 can indicate the time-frequency components of an audio signal (e.g., collected by a microphone or microphone array in a vehicle cabin) that are concentrated on / interested by the active node and encoded by the active node for model determination. By viewing a human-readable representation such as 2D spectrogram representation 434, a user, model developer, or the model itself can identify whether the vocal component of the collected audio signal is sufficiently prominent (e.g., whether it occupies a sufficient area in the spectrogram) to adjust the settings of the audio signal detection device (e.g., microphone) and enable the model to extract useful information payload, thereby improving the accuracy of model inference. Alternatively, if active nodes are concentrated in portions of the model input that fall significantly outside the ROI, the user, model developer, or model can save unnecessary computational resources and improve computational efficiency for model inference by deactivating or removing these nodes from the network structure of the AI ​​model.

[0072] 5-6, which illustrate methods 500 and 600 corresponding to the methods and models used to visualize neurons in an AI model, as described above. Note that the order of methods 500 and 600 is illustrative and does not indicate the order in which the steps of methods 500 and 600 should be performed.

[0073] 5, method 500 begins by obtaining one or more neurons from a plurality of neurons for a task of an AI model at 502. Next, for each neuron of the one or more neurons, a corresponding ROI of inputs related to the task is determined at 504, where the corresponding ROI is encoded by the one or more neurons for the task. Thereafter, at 506, a first operation including LRP is applied to generate a human-interpretable representation of the determined corresponding ROI of inputs for at least a portion of the one or more neurons.

[0074] In some implementations of method 500, the ROI can be determined by a visualization technique based on a saliency map (e.g., LRP). Preferably, the ROI can be determined by a combination of visualization techniques based on a saliency map (e.g., a combination of LRP and VBP), such as [illegible]. In some embodiments, to facilitate human explanation and post-hoc explainability of the AI ​​model, the relationship between the human-explainable representation and the determined ROI can be visualized, for example, by mapping between the determined ROI of one or more neurons and their associated correlated neurons obtained via a GUI. As a non-limiting example, for a given task (e.g., a lane change task), for example, in the latent layer (i.e., the compact form of the entire neuron ensemble) of the AI ​​model, there may be two active neurons related to this task, one used to encode the leftmost lane boundary and the other used to encode the rightmost lane boundary, as shown in Figure 8 of the accompanying drawings. Here, neurons 8201 and 8202 encode two lane boundaries 808, respectively. Thus, a human-explainable representation can be displayed via a GUI as, for example, (i) a mapping between two active neurons and the two lane boundaries they focus on, or (ii) a mapping between one neuron and the corresponding lane boundary it focuses on.

[0075] As mentioned above, the number of neurons in an AI model's entire neuron ensemble may be enormous, exceeding human explanation. Therefore, to simplify a black-box AI model, it is necessary to obtain a compact form of the entire neuron ensemble. The compact form is one or more neurons retrieved, which can be related to a typical driving task. For example, each of the retrieved one or more neurons can encode a portion of the model input relevant to a given task. Therefore, the logic underlying generating a human-explainable representation of multiple neurons involves two aspects: first, to present a compact form of the entire neuron ensemble of an AI model, rather than the model's hundreds, thousands, or millions of neurons; and second, to present a mapping between a selected number of the retrieved one or more neurons and the content that the selected neurons focus / interest in in the input, allowing end users and / or model developers to understand the role each neuron plays (in a compact form, e.g., within the latent layer of the AI ​​model's representation) in encoding the model input and in influencing the model's decision-making. Representing the neurons in a compact form improves computational efficiency because less processing is required. Additionally, focusing on the inputs that contributed most to the allocation of neurons to process them can confirm and improve the accuracy of the model.

[0076] In some examples, the method 600 illustrates another possible embodiment for visualizing the operation of neurons in an AI model. For example, the method 600 begins by obtaining, at 602, one or more neurons from a plurality of neurons for a task of the AI ​​model. Next, at 604, for each neuron of the one or more neurons, a corresponding ROI of inputs related to the task is determined, where the corresponding ROI is encoded by the one or more neurons for the task. Thereafter, at 606, a first operation including LRP and a second operation including VBP are applied to generate a human-interpretable representation of the determined corresponding ROI of inputs for at least a portion of the one or more neurons.

[0077] In some embodiments, as shown in FIG. 7, a method 700 may include applying the first and second operations, as shown in block 606 of FIG. 6. For example, method 700 may begin by applying LRP through a mixing block of an AI model to obtain a weight mask for a feature map of one or more neurons at 702. Then, at 704, the obtained weight mask is used to weight the feature map of one or more neurons to obtain a weighted feature map of the one or more neurons. Then, VBP is applied to back-transmit the weighted feature map of the one or more neurons through the model backbone. Combining LRP with the mixing block and VBP back-transmission further enhances the insight gained from visualizing the neurons that most contributed to a prediction and the regions of interest in the input image that most contributed to a prediction, respectively. A mapping from the entire image data processing to a predicted progression path can be performed together, from which biases and errors can be recognized. Thus, model accuracy can be verified and improved, errors in predictions can be more easily identified and corrected, and computational efficiency can be improved by accurately allocating limited computer resources to process the regions of interest and neurons that have the greatest impact on predictions from a neural network model.

[0078] 8-10 illustrate different examples of operating an autonomous driving system for different tasks. Figures 8-10 show example representations of raw data 802, 902, and 1002, example representations of model inputs 804, 904, and 1004, and example human-explainable representations 805, 807, 905, and 1005, 1007, respectively.

[0079] As shown in FIGS. 8-10 , raw data 802, 902, and 1002 may be captured by a camera disposed in a vehicle. The camera may be configured to capture real-time images from a front-view perspective of the vehicle cabin. In some embodiments, model inputs 804, 904, and 1004 may be compact representations of input images (i.e., raw data 802, 902, and 1002) that capture useful features via a dedicated processor (e.g., signal processor 214 shown in FIG. 1 ). As shown in FIGS. 8-10 , raw data 802, 902, and 1002 may be RGB images and can carry rich information. For example, the raw data may include not only images of the road but also images of the scene around the road (e.g., other vehicles, trees, traffic signs, sky, etc.). In comparison, in some embodiments, model inputs 804, 904, and 1004 retain only useful features and are converted to grayscale images to facilitate storage and processing of the AI ​​model. For example, as shown in FIGS. 8-10 , model inputs 804, 904, and 1004 may be converted from colored raw data 802, 902, and 1002 into grayscale images including tree outlines 806, 906, 1006, lane boundary lines 808, 908, 1008, lane centerlines 810, 910, 1010 (e.g., first lane centerlines 810a, 910a, 1010a and second lane centerlines 810b, 910b, 1010b), traffic sign outlines 812, 912, 1012, traffic sign text 814, 914, 1014, and other vehicles 816, 916, 1016.

[0080] In FIG. 8 , an exemplary driving task processed by an AI model embedded or integrated into a vehicle may be a lane-change task. Here, two exemplary human-explainable representations 805 and 807 are provided for illustrative purposes only. Each of the human-explainable representations 805 and 807 includes a schematic representation of a latent layer of the AI ​​model. As described above, for purposes of simplifying black-box models, the latent layer is a compact form of the entire neuron set of the AI ​​model, and may be equivalent to the entire neuron set of the AI ​​model. As shown in representation 805, two neurons 8201 and 8202 in the exemplary latent layer are activated under the lane-change task. A rectangular region 818 corresponding to the model input 806 or raw data 802 is positioned within representation 805 to highlight the corresponding ROIs (i.e., left lane boundary and right lane boundary 808) of the model input determined for the two active neurons. In some embodiments, a user or developer can select a portion of the neurons in the example latent layer in the GUI of the human-explainable representation to get an intuitive impression or understanding of what each active neuron in the model input is focusing on / encoding for a given task. For example, in representation 807, only the right lane boundary 808 is highlighted within the rectangular region 819 associated with performing the lane change task, to which the selected neuron 8201 is focusing.

[0081] 9 and 10, in FIG. 9, the exemplary driving task may be a lane-centering task, for which the lane center line 908 is enhanced into an ROI in a rectangular region 918, which indicates the portion of the model input for the lane-centering task that the active neurons 903 are attending to / encoding. In FIG. 10, the exemplary driving task may be a perception task, under which the vehicle is required to identify its surrounding environment to obtain useful contextual information. As shown in representation 1005, two neurons 1021 and 1022 in the exemplary latent layer are activated under the perception task. The rectangular region 1018, which corresponds to the model input 1006 or raw data 1002, is positioned within representation 1005 to highlight the corresponding ROIs of the model input determined for the two active neurons (i.e., traffic sign outline 1012 and traffic sign text 1014). Alternatively, in representation 1007, only the traffic sign outline 1012 is highlighted within the rectangular region 1019 that is relevant to the performance of the perceptual task to which the selected neuron 1021 is focused.

[0082] As shown in FIGS. 8-10 , by viewing such exemplary human-readable representations (e.g., 805, 807, 905, 1005, 1007), a user, model developer, or the model itself can determine whether image portions relevant to decision-making for a given task are sufficiently salient to the model inputs (e.g., whether these image portions are processed by active nodes, whether there are enough corresponding pixels, whether they are fully encoded by active nodes, etc.), and adjust the number (e.g., single image frame vs. series of image frames), type (e.g., driver's field of view or wide-angle field of view), or format (e.g., high-definition images, color images, grayscale images, heat maps, etc.) of model inputs to better assist the model in extracting useful information payloads, thereby improving the accuracy of model inference. Alternatively, if active nodes are concentrated in portions of the model input that are significantly outside the ROI, the user, model developer, or model can save unnecessary computational resources and improve computational efficiency for model inference by deactivating or removing these nodes from the model's network structure.

[0083] It should be understood that the examples described with reference to FIGS. 8-10 are for illustrative purposes only and should not be construed as limiting the scope of the present disclosure.

[0084] In some embodiments, the functions / features described above may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more commands or codes on a non-transitory computer-readable or processor-readable storage medium. Blocks of methods or algorithms disclosed herein may be implemented in processor-executable software modules, which may reside on a non-transitory computer-readable or processor-readable storage medium. A non-transitory computer-readable or processor-readable storage medium may be any storage medium accessible by a computer or processor. By way of example and not limitation, such a non-transitory computer-readable or processor-readable storage medium may include RAM, ROM, EEPROM, flash memory, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, or any other medium used to store desired program code in the form of commands or data structures and accessible by a computer. As used herein, disks and optical disks include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks, and Blu-ray disks, where disks typically reproduce data magnetically while disks reproduce data optically with laser light. Combinations of the above are also included within the scope of non-transitory computer-readable media and processor-readable media. Furthermore, the operations of a method or algorithm may reside as one or any combination or set of code and / or commands in a non-transitory processor-readable storage medium and / or computer-readable storage medium, which may be incorporated into a computer program product.

[0085] FIG. 11 illustrates an exemplary hardware and software environment for an autonomous vehicle 1100 in which various techniques disclosed herein can be implemented. For example, the vehicle 1100 is shown traveling on a road 1101 and includes a powertrain 1102 including a prime mover 1106, which can be powered by an energy source 1104 and provide power to a drivetrain 1108, and a vehicle operation system 1110 including directional control 1112, powertrain control 1114, and brake control 1116. The vehicle 1100 can be implemented as any number of different types of vehicles, including vehicles capable of transporting people and / or cargo, traveling over land, over sea, in the air, underground, undersea, and / or in space. It should be understood that the components 1102-1116 described above can vary widely based on the type of vehicle in which they are used.

[0086] For simplicity, the examples described below focus on wheeled land vehicles such as cars, vans, trucks, buses, motorcycles, all-terrain vehicles (ATVs), etc. In such examples, the energy source 1104 may include, for example, a fuel system (e.g., providing gasoline, diesel, hydrogen, etc.), a battery system, solar panels, or other renewable energy, and / or a fuel cell system. The prime mover 1106 may include one or more motors and / or internal combustion engines, etc. The drivetrain 1108 may include wheels and / or tires, a driveline and / or any other mechanical driving components suitable for converting the power output of the prime mover 1106 into vehicle motion, as well as one or more brakes configured to controllably stop or slow the vehicle 1100, and direction or steering components suitable for controlling the trajectory of the vehicle 1100 (e.g., a rack and pinion steering linkage, which allows one or more wheels of the vehicle 1100 to pivot about a substantially vertical axis to change the angle of the wheel's plane of rotation relative to the vehicle's longitudinal axis). In some embodiments, a combination of power system and energy source may be used (e.g., in the case of an electric / gas hybrid vehicle), and in other embodiments, multiple motors (e.g., dedicated to a single wheel or axle) may be used as prime mover 1106. In the case of a hydrogen fuel cell embodiment, prime mover 1106 may include one or more motors, and energy source 1104 may include a fuel cell system powered by hydrogen fuel.

[0087] Directional control 1112 may include one or more actuators or sensors for controlling and receiving feedback from directional or steering components to enable vehicle 1100 to follow a desired trajectory. Powertrain control 1114 may be configured to control the speed and / or direction of vehicle 1100 by controlling the output of drivetrain 1102 (e.g., controlling the output power of prime mover 1106, controlling driveline gears in drivetrain 1108, etc.). Brake control 1116 may be configured to control one or more brakes, e.g., disc brakes or drum brakes coupled to the vehicle's wheels, to slow or stop vehicle 1100.

[0088] Other vehicle types (including, but not limited to, all-terrain or tracked vehicles and construction equipment) may use different power systems, drivetrains, energy sources, directional control, power system control, and brake control. Also, in some embodiments, some components may be combined; for example, vehicle directional control may be handled primarily by modifying the power output of one or more prime movers. Accordingly, the embodiments disclosed herein are not limited to the specific application of the techniques described herein in autonomous, wheeled, or land vehicles.

[0089] In the illustrated embodiment, full or semi-automated control of the vehicle 1100 is realized in a main vehicle control system 1118. This main vehicle control system 1118 may include one or more processors 1122 configured to execute program code commands 1126 stored in memory 1124, and one or more memories 1124. The processor 1122 may include, for example, graphic processing unit(s) (GPU(s)) and / or central processing unit(s) (CPU(s)). The processor 1122 may also include an application specific integrated circuit (ASIC), other chipset, logic circuit, and / or data processing device. The memory 1124 may be used, for example, to load and store data and / or commands for the control system 1118. The memory 1124 may include any combination of suitable volatile memory (e.g., read-only memory (ROM), dynamic random access memory (DRAM), random access memory (RAM), non-volatile memory (e.g., flash memory, memory card, storage media), and / or other storage devices. When an embodiment is implemented in software, the techniques described herein may be implemented with modules, processes, functions, entities, etc. that perform the functions described herein. Modules may be stored in memory and executed by a processor. Memory may be implemented within or external to the processor and may be communicatively coupled to the processor via various means known in the art.

[0090] The sensors 1130 may include various sensors suitable for collecting information from the vehicle's surrounding environment to control the operation of the vehicle 1100. For example, the sensors 1130 may include one or more detection and ranging sensors (e.g., a RADAR sensor 1134, a LIDAR sensor 1136, or both), a satellite navigation (SATNAV) sensor 1132, such as one compatible with any of various satellite navigation systems (e.g., Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Galileo, a compass), etc. The radio detection and ranging (RADAR) 1134, the light detection and ranging (LIDAR) sensor 1136, and the digital camera 1138 (which may include various types of image capture devices capable of capturing still and / or video images) are used to sense stationary and moving objects within the vehicle's immediate area. The camera 1138 may be a monochrome camera or a stereo camera and may record still and / or video images. The satellite sensors 1132 are used to determine the vehicle's position on Earth using satellite signals. The sensors 1130 may optionally include an inertial measurement unit (IMU) 1140. The IMU 1140 may include multiple gyroscopes and accelerometers capable of detecting linear and rotational motion in three directions of the vehicle 1100. One or more other types of sensors (e.g., wheel rotation sensors / encoders 1142) are used to monitor the rotation of one or more wheels of the vehicle 1100.

[0091] In various embodiments, the removable hardware pod is transparent to the vehicle and can be attached to a variety of non-autonomous vehicles, including cars, buses, vans, trucks, mopeds, tractor-trailers, sport vehicles, etc. While autonomous vehicles typically include a complete sensor suite, in many embodiments the removable hardware pod may include a dedicated sensor suite. This dedicated sensor suite typically has fewer sensors than a fully autonomous vehicle sensor suite and may include an IMU, a 3D positioning sensor, one or more cameras, a LIDAR unit, etc. Additionally or alternatively, the hardware pod may collect data from the non-autonomous vehicle itself, such as by integrating with the vehicle's CAN bus to collect various vehicle data including vehicle speed data, braking data, steering control data, etc. In some embodiments, the removable hardware pod may include computing facilities that aggregate data collected by the removable pod sensor suite with vehicle data collected from the CAN bus and upload the collected data to a computing system for further processing (e.g., uploading the data to the cloud). In many embodiments, the computing equipment in the removable pod can apply a timestamp to each instance of the data before uploading the data for further processing. Additionally, or alternatively, one or more sensors in the removable hardware pod can apply a timestamp when the data is collected (e.g., a laser radar unit can provide its own timestamp). Similarly, the computing equipment in the autonomous vehicle can apply a timestamp to data collected by the autonomous vehicle's sensor suite and upload the time-stamped autonomous vehicle data to a computer system for additional processing.

[0092] The outputs of the sensors 1130 may be provided to a set of primary control subsystems 1120, including, for example, a positioning subsystem, a perception subsystem, a planning subsystem, and a control subsystem. The positioning subsystem is primarily responsible for accurately determining the position and orientation (sometimes referred to as “attitude” or “attitude estimation”) of the vehicle 1100 within its surrounding environment, typically within some reference frame. In some embodiments, the attitude is stored in memory 1124 as positioning data. In some embodiments, a surface model is generated from a high-resolution map and stored in memory 1124 as surface model data. In some embodiments, detection and ranging sensors store their sensor data in memory 1124 (e.g., radar data point clouds are stored as radar data). In some embodiments, calibration data is stored in memory 1124. The perception subsystem is primarily responsible for detecting, tracking, and / or identifying objects within the environment surrounding the vehicle 1100. According to some embodiments, machine learning models such as those described above are used to plan the vehicle's trajectory. The control subsystem 1120 is primarily responsible for generating appropriate control signals to control various controls within the vehicle control system 1118 to achieve the planned trajectory of the vehicle 1100. Similarly, machine learning models are used to generate one or more signals to control the autonomous vehicle 1100 to achieve the planned trajectory.

[0093] It should be understood that the collection of components for vehicle control system 1118 shown in FIG. 11 is merely an example. In some embodiments, individual sensors may be omitted. Additionally or alternatively, in some embodiments, multiple sensors of the same type shown in FIG. 11 are used for redundancy and / or coverage of different areas around the vehicle. Also, in addition to the types described above, there may be additional sensors of other types to provide actual sensor data related to the operation and environment of the wheeled land vehicle. Similarly, in other embodiments, different types of control subsystems and / or combinations of control subsystems may be used. Furthermore, while primary control subsystem 1120 is shown as separate from processor 1122 and memory 1124, it will be understood that in some embodiments, some or all of the functionality of primary control subsystem 1120 may be implemented using program code commands 1126 resident in one or more memories 1124 and executed by one or more processors 1122, and in some cases, primary control subsystem 1120 may be implemented using the same processor and / or memory. The subsystems may be implemented, at least in part, using various special purpose circuit logic, various processors, various field programmable gate arrays (FPGAs), various application specific integrated circuits (ASICs), various real time controllers, etc. As discussed above, multiple subsystems may utilize circuits, processors, sensors, and / or other components. Additionally, the various components within vehicle control system 1118 may be networked in various ways.

[0094] For example, vehicle 1100 may include one or more network interfaces, such as network interface 1154 adapted to communicate with one or more network interfaces 1150 (e.g., a LAN, a WAN, a wireless network, and / or the Internet, etc.), enabling communication of information with other vehicles, computers, and / or electronic devices, including a central service such as a cloud service, from which vehicle 1100 receives environmental and other data for automated control.

[0095] For additional storage, vehicle 1100 may also include one or more mass storage devices, such as a floppy disk or other removable disk drive, a hard disk drive, a direct access storage device (DASD), an optical drive (e.g., a CD drive, a DVD drive, etc.), a solid-state storage drive (SSD), network-attached storage, a storage area network, and / or a tape drive. Vehicle 1100 may also include a user interface 1152 to receive inputs from and generate outputs for a user or operator. This user interface 1152 may be, for example, one or more displays, a touchscreen, a voice and / or gesture interface, buttons and other tactile controls, etc. Alternatively, user input may be received from, for example, a remote operator, via another computer or electronic device, for example, via an application or web interface on a mobile device.

[0096] Disclosed herein are systems and methods for object detection and detection confidence. The disclosed methods may be suitable for autonomous driving, but may also be used in other applications, such as robotics, video analytics, weather forecasting, and medical imaging. This disclosure may describe an exemplary autonomous vehicle 1100. While this disclosure primarily provides examples using autonomous vehicles, other types of devices, such as robots, camera systems, weather forecasting devices, and medical imaging devices, may be used to implement the various methods described herein. These methods may also be used to control an autonomous vehicle or for other purposes, such as, but not limited to, video surveillance, video or image editing, video or image research or retrieval, object tracking, weather forecasting (e.g., using radar data), and / or medical imaging (e.g., using ultrasound or magnetic resonance imaging (MRI) data).

[0097] Those skilled in the art will understand that each of the units, algorithms, and steps described and disclosed in the embodiments of the present disclosure can be implemented using electronic hardware or a combination of computer software and electronic hardware. Whether a function is implemented in hardware or software depends on the application requirements and the design requirements of the technical solution. Those skilled in the art can implement functions for each specific application using different methods. Such implementations do not exceed the scope of the present disclosure. Those skilled in the art will understand that the operating processes of the above systems, devices, and units are basically the same, and therefore can refer to the operating processes of the systems, devices, and units in the above embodiments. For ease of explanation and simplicity, these operating processes will not be described in detail.

[0098] When embodied as a product for use and sale, software functional units may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions proposed in the present disclosure may be substantially or partially implemented in the form of a software product. Alternatively, some technical solutions useful in the prior art may be realized in the form of a software product. The software product in a computer is stored in a storage medium containing a plurality of commands for a computing device, such as a personal computer, a server, or a network device, to execute all or part of the steps disclosed in the embodiments of the present disclosure. The storage medium may include a USB disk, a mobile hard disk, a ROM, a RAM, a floppy disk, or any other type of medium capable of storing program code. While the present disclosure has been described in connection with what is considered to be the most practical and preferred embodiment, it should be understood that the present disclosure is not limited to the disclosed embodiment and is intended to encompass various configurations made without departing from the broadest interpretation of the appended claims.

[0099] However, other modifications, variations, and substitutions are possible. Accordingly, the specification and figures are to be regarded as illustrative, not restrictive. In the claims, graphic symbols in parentheses are not to be construed as limiting the claims. The word "comprehensive" does not exclude the presence of other components or steps than those recited in a claim. Additionally, the terms "a" and "one" as used herein define one or more. Furthermore, the introductory phrases "at least one" and "one or more" used in a claim should not be construed as limiting another claim element introduced by the indefinite article "a" or "an" to an invention containing only one of the introduced claim element. This is true even if the same claim contains both the introductory phrase "one or more" or "at least one" and the indefinite article "a" or "one." This also applies to the use of definite articles. Unless otherwise stated, terms such as "first" and "second" are used to arbitrarily distinguish between elements described by these terms and are not meant to indicate a temporal or other priority of these elements. The fact that certain features are recited in different claims does not mean that a combination of these features cannot be used to advantage. While certain features of the invention have been illustrated and described herein, those skilled in the art will recognize many modifications, substitutions, changes, and equivalents. It is therefore to be understood that the appended claims cover all such modifications and variations that fall within the true spirit of the invention.

[0100] It should be understood that various features of the embodiments of the present disclosure, which are, for clarity, described in the context of individual embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the embodiments of the present disclosure, which are, for brevity, described in the context of a single embodiment, may also be provided alone or in any suitable subcombination. Persons skilled in the art should understand that the embodiments of the present disclosure are not limited by what has been particularly shown and described above. Rather, the scope of the embodiments of the present disclosure is defined by the appended claims and their equivalents.

[0101] The foregoing description of the disclosed embodiments is provided to enable others to make or use the disclosed subject matter. Various modifications to these embodiments will be readily apparent, and the general principles defined herein may be applied to other embodiments without departing from the spirit or scope thereof. Therefore, the foregoing description is not intended to be limited to the embodiments set forth herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. Accordingly, the scope of the claims is not intended to be limited to the embodiments set forth herein, but is to be accorded the fullest scope consistent with the claim language, and references to elements in the singular do not mean "one and only one," unless expressly stated otherwise, but rather "one or more." Unless otherwise specified, the term "some" refers to one or more. All structural and functional equivalents (whether known or later known) of the elements of the various embodiments set forth in the foregoing description are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, the subject matter disclosed herein is not intended to be publicly adverted, regardless of whether such disclosure is expressly recited in the claims. Unless the element is expressly recited using the phrase "apparatus for," no claim element should be construed as an apparatus functional. It is understood that the specific order or hierarchy of blocks in the disclosed processes is an example of an exemplary method. Based on design preferences, it is understood that the specific order or hierarchy of blocks in the processes may be rearranged while remaining within the foregoing scope. The accompanying method claims present the elements of the individual blocks in a sample order and are not meant to be limited to the specific order or hierarchy presented.

[0102] The various examples shown and described are provided merely as examples to illustrate various features of the claims. However, features shown and described with respect to any given example are not necessarily limited to the associated example and may be used in conjunction with or in combination with other examples shown and described. Furthermore, the scope of the claims is not intended to be defined by any examples. The above method descriptions and process flow diagrams are provided only as illustrative examples and are not intended to require or imply that the blocks of the various examples must be performed in the order presented. As will be understood, the order of blocks in the above examples may be performed in any order. Terms such as "then," "then," and "next" are not intended to limit the order of the blocks; these terms are merely used to guide the reader through the method description. Furthermore, any reference to claim elements in the singular, for example, using the articles "a," "an," or "the," should not be construed as limiting the element to the singular. The various illustrative logic blocks, modules, circuits, and algorithm blocks described with respect to the examples disclosed herein may be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and blocks have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. Those skilled in the art may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure. Hardware for implementing the various illustrative logic, logic blocks, modules, and circuits described in connection with the examples disclosed herein may be implemented or performed using a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein.A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Alternatively, some blocks or methods may be performed by circuitry that is specific to a given function. [Example]

[0103] A method for visualizing neurons of an AI model for autonomous driving includes obtaining one or more neurons from a plurality of neurons for a task of the AI ​​model; determining, for each neuron of the one or more neurons, a corresponding ROI of inputs related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and applying a first operation including LRP to generate, for at least a portion of the one or more neurons, a human-explainable representation of the determined corresponding ROI of inputs. [Example]

[0104] In the method of Example 1, the inputs are collected for the task by sensors, a recorded human driving database, and / or cloud storage. [Example]

[0105] In the method according to Example 1 or 2, the input is a processed image frame, and the corresponding ROI for each neuron of the one or more neurons includes a set of pixels in the processed image frame corresponding to the corresponding ROI. [Example]

[0106] In the method according to any one of Examples 1 to 3, the input is a sequence of processed image frames, and the corresponding ROI for each neuron of the one or more neurons comprises a union of each pixel set of the sequence of processed image frames, each pixel set corresponding to a sub-ROI of each processed image frame of the sequence of processed image frames. [Example]

[0107] In the method according to any one of Examples 1 to 4, generating the human-explainable representation includes applying a second operation including VBP to identify, from the determined corresponding ROIs, a specific ROI that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and model accuracy. [Example]

[0108] In the method according to any one of Examples 1 to 5, the VBP is applied sequentially after the LRP, and the LRP is used to identify the one or more neurons from the plurality of neurons that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and model accuracy. [Example]

[0109] The method according to any one of Examples 1 to 6, wherein the AI ​​model includes a mixing block and a model backbone. [Example]

[0110] In the method according to any one of Examples 1 to 7, applying the first operation and the second operation includes applying the LRP through the mixing block to obtain a weight mask used for a feature map of the one or more neurons; weighting the feature map of the one or more neurons using the weight mask to obtain a weighted feature map of the one or more neurons; and applying the VBP to backtransmit the weighted feature map of the one or more neurons through the model backbone. [Example]

[0111] A method according to any one of Examples 1 to 8, wherein the input is a spectrogram of an audio segment. [Example]

[0112] A non-transitory computer-readable storage medium having stored thereon commands that, when executed by one or more processors, cause the one or more processors to: obtain one or more neurons from a plurality of neurons for a task of an AI model; determine, for each of the one or more neurons, a corresponding ROI of input related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and apply a first operation including LRP to generate, for at least a portion of the one or more neurons, a human-explainable representation of the determined corresponding ROI of the input. [Example]

[0113] In the non-transitory computer-readable storage medium of Example 10, the input is collected for the task by sensors, and / or a recorded human driving database, and / or cloud storage. [Example]

[0114] In the non-transitory computer-readable storage medium of Example 10 or 11, the input is a processed image frame, and the corresponding ROI for each neuron of the one or more neurons includes a set of pixels corresponding to the corresponding ROI of the processed image frame. [Example]

[0115] In a non-transitory computer-readable storage medium described in any one of Examples 10 to 12, the input is a sequence of processed image frames, and the corresponding ROI for each neuron of the one or more neurons includes a union of each pixel set of the sequence of processed image frames, each pixel set corresponding to a sub-ROI of each processed image frame of the sequence of processed image frames. [Example]

[0116] In the non-transitory computer-readable storage medium described in any one of Examples 10 to 13, generating the human-explainable representation includes applying a second operation including VBP to identify, from the determined corresponding ROIs, a specific ROI that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and enhancing model accuracy. [Example]

[0117] The non-transitory computer-readable storage medium of any one of Examples 10 to 14 is provided with the VBP sequentially applied after the LRP, and the LRP is used to identify the one or more neurons from the plurality of neurons that most contributed to the predictions made by the AI ​​model to complete the task, thereby improving computational efficiency and enhancing model accuracy. [Example]

[0118] In the non-transitory computer-readable storage medium of any one of Examples 10 to 15, the AI ​​model includes a mixing block and a model backbone. [Example]

[0119] In the non-transitory computer-readable storage medium of any one of Examples 10 to 16, applying the first operation and the second operation includes applying the LRP through the mixing block to obtain a weight mask used for a feature map of the one or more neurons; weighting the feature map of the one or more neurons using the weight mask to obtain a weighted feature map of the one or more neurons; and applying the VBP to backtransmit the weighted feature map of the one or more neurons through the model backbone. [Example]

[0120] 18. The non-transitory computer-readable storage medium of any one of Examples 10 to 17, wherein the input is a spectrogram of an audio segment. [Example]

[0121] A computer-implemented system includes one or more processors and one or more memory devices that store commands that, when executed by the one or more processors, cause the one or more processors to: obtain one or more neurons from a plurality of neurons for a task of an AI model; determine, for each of the one or more neurons, a corresponding ROI of inputs related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and apply a first operation including LRP to generate, for at least a portion of the one or more neurons, a human-explainable representation of the determined corresponding ROI of inputs. [Example]

[0122] In the system described in Example 19, generating the human-explainable representation includes applying a second operation including VBP to identify, from the determined corresponding ROIs, the specific ROI that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and increasing the accuracy of the model.

Claims

1. 1. A method for visualizing neurons of an AI (Artificial Intelligence) model for autonomous driving, the method comprising: obtaining one or more neurons from a plurality of neurons for a task of the AI ​​model; determining, for each neuron of the one or more neurons, a corresponding Region of Interest (ROI) of inputs related to the task, where the corresponding ROI is encoded by the one or more neurons for the task; and applying a first operation including Layer-wise Relevance Propagation (LRP) to generate, for at least a portion of the one or more neurons, an explainable AI-based representation of the determined corresponding ROI of the input.

2. 10. The method of claim 1, wherein the explainable AI-based representation is a human-interpretable explainable representation or a machine-interpretable explainable representation.

3. 2. The method of claim 1 , wherein the input is processed image frames collected for the task by a sensor, a recorded human driving database, and / or cloud storage, and the corresponding ROI for each neuron of the one or more neurons includes a set of pixels in the processed image frames that correspond to the corresponding ROI.

4. 2. The method of claim 1, wherein the input is a sequence of processed image frames, and the corresponding ROI for each neuron of the one or more neurons comprises a union of each pixel set of the sequence of processed image frames, each pixel set corresponding to a sub-ROI of a respective processed image frame of the sequence of processed image frames.

5. The method of claim 1, characterized in that generating the explainable AI-based representation includes applying a second operation including Visual Back-Propagation (VBP) to identify, from the determined corresponding ROIs, a specific ROI that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and model accuracy.

6. 6. The method of claim 5, wherein the VBP is applied sequentially after the LRP, and the LRP is used to identify the one or more neurons from the plurality of neurons that most contributed to the prediction made by the AI ​​model to complete the task, thereby improving computational efficiency and model accuracy.

7. 7. The method of claim 6, wherein the AI ​​model includes a mixing block and a model backbone, wherein applying the first operation includes applying the LRP through the mixing block to obtain a weight mask to be used for a feature map of the one or more neurons and weighting the feature map of the one or more neurons using the weight mask to obtain a weighted feature map of the one or more neurons, and wherein applying the second operation includes applying the VBP to backtransmit the weighted feature map of the one or more neurons through the model backbone.

8. 2. The method of claim 1, wherein the input is a spectrogram of an audio segment.

9. 9. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1 to 8.

10. 9. A computer-implemented system comprising one or more processors and one or more memory devices that store commands that, when executed by the one or more processors, cause the one or more processors to perform the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for operating neural network and data classification system

    JP2021124979A