Event localization based on multi-modal representations

By integrating audio and visual data into a multimodal representation method, and utilizing a multi-stage cross-attention mechanism and an open-max classifier, the problem of difficult action localization when visual data has little variation is solved, achieving more accurate and robust action recognition.

CN116235220BActive Publication Date: 2026-11-24QUALCOMM INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202180065353.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-08-18
Filing Date
2021-09-30
Publication Date
2026-11-24
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

In existing technologies, it is difficult to locate actions based solely on visual data, especially in frame sequences where visual data changes little. Furthermore, conventional systems struggle to accurately locate multiple actions in long video input streams.

Method used

A multimodal representation method is adopted, which fuses audio and visual data through convolutional neural networks, utilizes a multi-stage cross-attention mechanism and an open-max classifier to generate cascaded feature representations, and locates actions based on probability distribution.

Benefits of technology

It improves the accuracy and robustness of motion localization, especially in long video input streams, enabling better recognition of multiple actions and enhancing the ability to distinguish between background and foreground actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116235220B_ABST
    Figure CN116235220B_ABST
Patent Text Reader

Abstract

A method performed by an artificial neural network (ANN) includes determining a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence in a first stage of the ANN. The method further includes determining a second cross-correlation between first attention representations of each modality in a second stage of the ANN. The method also includes generating cascaded feature representations based on the second cross-correlation, the first attention representations of each modality, and the first representations of each modality. The method further includes determining a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representations. The method further includes locating actions in the input sequence based on the probability distribution.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application claims the benefit of U.S. Patent Application No. 17 / 405,879, filed August 18, 2021, entitled “MULTI-MODAL REPRESENTATION BASEDEVENT LOCALIZATION,” and U.S. Provisional Patent Application No. 63 / 085,764, filed September 30, 2020, entitled “LEVERAGING OF AUDIOINFORMATION FOR ACTION LOCALIZATION,” the disclosures of which are expressly incorporated herein by reference in their entirety.

[0003] background

[0004] field

[0005] Various aspects of this disclosure generally involve locating events based on representations associated with multiple modalities. Background Technology

[0006] Artificial neural networks can include groups of interconnected artificial neurons (e.g., neuron models). Artificial neural networks can be computing devices or represented as methods to be performed by computing devices. Convolutional neural networks (such as deep convolutional neural networks) are a type of feedforward artificial neural network. Convolutional neural networks can include individual neuron layers that can be configured in tiled receptive fields.

[0007] Convolutional neural networks are used in various technologies, such as autonomous driving, Internet of Things (IoT) devices, and motion localization. In conventional systems, actions (e.g., events) can be localized based on visual data. In some videos, the visual data may show little visual change over time. Therefore, localizing actions based solely on visual data can be challenging. It may be desirable to use representations from multiple modalities to improve motion localization.

[0008] Overview

[0009] In one aspect of this disclosure, a method performed by an artificial neural network (ANN) includes: in a first stage of the ANN, determining a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence. The method further includes: in a second stage of the ANN, determining a second cross-correlation between first attention representations of each of the plurality of modalities. The first attention representations of the first modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the first modalities. Furthermore, the first attention representations of the second modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the second modalities. The method further includes: generating cascaded feature representations based on the second cross-correlation, the first attention representations of each modality, and the first representations of each modality. The method further includes: determining a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representations. The method further includes: locating actions in the input sequence based on the probability distribution.

[0010] Another aspect of this disclosure relates to an ANN, comprising: means for determining a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence in a first stage of the ANN. The means further comprises: means for determining a second cross-correlation between first attention representations of each of the plurality of modalities in a second stage of the ANN. The first attention representations of the first modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the first modalities. Furthermore, the first attention representations of the second modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the second modalities. The means further comprises: means for generating cascaded feature representations based on the second cross-correlation, the first attention representations of each modality, and the first representations of each modality. The means further comprises: means for determining a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representations. The means further comprises: means for locating actions in the input sequence based on the probability distribution.

[0011] In another aspect of this disclosure, a non-transient computer-readable medium having non-transient program code recorded thereon is disclosed. The program code is executed by a processor and includes: program code for determining a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence in a first stage of the ANN. The program code further includes: program code for determining a second cross-correlation between first attention representations of each of the plurality of modalities in a second stage of the ANN. The first attention representations of the first modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the first modalities. Furthermore, the first attention representations of the second modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the second modalities. The program code also includes: program code for generating cascaded feature representations based on the second cross-correlation, the first attention representations of each modality, and the first representations of each modality. The program code further includes: program code for determining a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representations. The program code further includes: program code for locating actions in the input sequence based on the probability distribution.

[0012] Another aspect of this disclosure relates to an ANN including a processor, a memory coupled to the processor, and instructions stored in the memory, which, when executed by the processor, are operable to cause the apparatus to: in a first stage of the ANN, determine a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence. Execution of these instructions further causes the ANN to: in a second stage of the ANN, determine a second cross-correlation between first representations of interest of each of the plurality of modalities. The first representations of interest of the first modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the first modalities. Furthermore, the first representations of interest of the second modalities in the plurality of modalities may be based on the first cross-correlation and the first representations of the second modalities. Execution of these instructions also causes the ANN to: generate a cascaded feature representation associated with a final second stage based on the second cross-correlation associated with a final second stage in one or more second stages, the first representations of interest of each modality, and the first representations of each modality. Execution of these instructions further causes the ANN to: determine a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representation. The execution of these instructions further enables the ANN to locate actions in the input sequence based on the probability distribution.

[0013] The aspects generally include, as described substantially with reference to the accompanying drawings and description and explained as such, methods, apparatus, systems, computer program products, non-transient computer-readable media, user equipment, base stations, wireless communication devices, and processing systems.

[0014] The foregoing has broadly outlined the features and technical advantages of the examples according to this disclosure in an effort to facilitate a better understanding of the following detailed description. Additional features and advantages will be described. The disclosed concepts and specific examples can be readily used as the basis for modifying or designing other structures for implementing the same purposes as this disclosure. Such equivalent constructions do not depart from the scope of the appended claims. The characteristics of the disclosed concepts, in both their organization and manner of operation, and their associated advantages, will be better understood by considering the following description in conjunction with the accompanying drawings. Each drawing is provided for illustrative and descriptive purposes and not for defining limitations on the claims. Brief description of the attached diagram

[0016] The features, nature, and advantages of this disclosure will become more apparent when understood in conjunction with the accompanying drawings, in which the same reference numerals are always used to indicate the subject.

[0017] Figure 1 An example implementation of designing a neural network using a system-on-a-chip (SoC) (including a general-purpose processor) according to certain aspects of this disclosure is described.

[0018] Figure 2A , 2B 2C are illustrations explaining various aspects of the neural network according to this disclosure.

[0019] Figure 2D This is a diagram illustrating an exemplary deep convolutional network (DCN) according to various aspects of this disclosure.

[0020] Figure 3 This is a block diagram illustrating an exemplary deep convolutional network (DCN) according to various aspects of this disclosure.

[0021] Figure 4A This is a block diagram illustrating examples of cross-model architectures based on various aspects of this disclosure.

[0022] Figure 4B This is a block diagram illustrating an example of a cross-model architecture with a gated controller according to various aspects of this disclosure.

[0023] Figure 5 A flowchart illustrating the methods according to various aspects of this disclosure is provided.

[0024] Detailed description

[0025] The detailed description that follows, taken in conjunction with the accompanying drawings, is intended as a description of various configurations and is not intended to represent only the configurations in which the described concepts can be practiced. This detailed description includes specific details to provide a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts can be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form to avoid obscuring such concepts.

[0026] Based on this teaching, those skilled in the art will appreciate that the scope of this disclosure is intended to cover any aspect of this disclosure, whether implemented independently of or in combination with any other aspect of this disclosure. For example, any number of the aspects described may be used to implement an apparatus or method of practice. Furthermore, the scope of this disclosure is intended to cover such apparatus or methods practiced using other structures, functionalities, or structures and functionalities that complement or differ from the aspects of the described disclosure. It should be understood that any aspect of this disclosure may be implemented by one or more elements of the claims.

[0027] The word “exemplary” is used to mean “serving as an example, instance, or explanation.” Any aspect described as “exemplary” need not be construed as superior to or better than other aspects.

[0028] While specific aspects are described, numerous variations and substitutions of these aspects fall within the scope of this disclosure. Although some benefits and advantages of preferred aspects are mentioned, the scope of this disclosure is not intended to be limited to a particular benefit, use, or objective. Rather, the aspects of this disclosure are intended to be broadly applicable to different technologies, system configurations, networks, and protocols, some of which are illustrated as examples in the accompanying drawings and the following description of preferred aspects. The detailed description and accompanying drawings are merely illustrative and not limiting of this disclosure, the scope of which is defined by the appended claims and their equivalents.

[0029] As mentioned above, in conventional systems, actions (e.g., events) can be located based on visual data. In some frame sequences, the visual data may show little visual change over time. Conversely, the audio sequence associated with the frame sequence may change from one frame to the next. For ease of explanation, a frame sequence can also be referred to as video. For example, a player might shout "hit the ball!" in one frame, and one or more other frames could include the sound of the ball being hit and other volleyball-related sounds. Therefore, locating actions based solely on visual data can be difficult. It might be desirable to use representations from multiple modalities to improve action localization.

[0030] Some conventional systems combine audio and visual data to locate actions in short video clips that include a single action. However, these conventional systems may not be able to locate multiple actions, or even actions within an extended sequence of frames. It might be desirable to correlate audio data with video data to locate actions in a long video input stream.

[0031] In some examples, audio data may be an example of one modality, while video data may be an example of another. Nevertheless, aspects of this disclosure are not limited to correlating audio data with video data. Aspects of this disclosure also envision correlating other types of modalities received from one or more sensor data streams, such as, but not limited to, LiDAR, radar, motion, or gyroscope. Aspects of this disclosure relate to cross-model architectures that progressively propagate multiple modalities and fuse multiple modalities. In some aspects, a multi-stage cross-attention mechanism fuses audio and visual features into a reconciled audiovisual feature. In one configuration, for each video frame, an Open-Max (Open Multimedia Acceleration) classifier predicts scores for the action and background classes. The Open-Max classifier may include parallel branches for action classification and foreground reliability estimation. In this configuration, the Open-Max classifier addresses background ambiguity. Furthermore, a pseudo-loss is specified for robust action localization under weak supervision. The pseudo-loss considers the temporal continuity of the predicted labels.

[0032] Figure 1 An example implementation of a system-on-a-chip (SOC) 100 is described, which may include a central processing unit (CPU) 102 or a multi-core CPU configured to perform motion localization using audio and video data according to certain aspects of this disclosure. Variables (e.g., neural signals and synaptic weights), system parameters associated with computing devices (e.g., weighted neural networks), latency, frequency slot information, and task information may be stored in memory blocks associated with a neural processing unit (NPU) 108, a memory block associated with the CPU 102, a memory block associated with a graphics processing unit (GPU) 104, a memory block associated with a digital signal processor (DSP) 106, a memory block 118, or may be distributed across multiple blocks. Instructions executed at the CPU 102 may be loaded from the program memory associated with the CPU 102 or may be loaded from memory block 118.

[0033] SOC 100 may also include additional processing blocks tailored to specific functions, such as GPU 104, DSP 106, connectivity block 110 (which may include fifth-generation (5G) connectivity, fourth-generation LTE (4G LTE) connectivity, Wi-Fi connectivity, USB connectivity, Bluetooth connectivity, etc.), and multimedia processor 112, for example, capable of detecting and recognizing gestures. In one implementation, the NPU is implemented within the CPU, DSP, and / or GPU. SOC 100 may also include sensor processor 114, image signal processor (ISP) 116, and / or navigation module 120 (which may include a global positioning system).

[0034] The SOC 100 may be based on the ARM instruction set. In one aspect of this disclosure, instructions loaded into the general-purpose processor 102 may include code for: determining a first cross-correlation between a first audio representation and a first video representation of a frame sequence; determining one or more second cross-correlations based on the first cross-correlation, the first audio representation, and the first video representation; generating a cascaded feature representation based on the one or more second cross-correlations, the first cross-correlation, the first audio representation, and the first video representation; determining a probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representation; and locating actions in the frame sequence based on the probability distribution.

[0035] Deep learning architectures perform object recognition tasks by learning to represent inputs at progressively higher levels of abstraction in each layer, thereby constructing useful feature representations of the input data. In this way, deep learning addresses a major bottleneck in traditional machine learning. Before deep learning, machine learning methods for object recognition problems often relied heavily on human-engineered features, perhaps combined with shallow classifiers. Shallow classifiers could be two-class linear classifiers, where a weighted sum of feature vector components is compared to a threshold to predict which class the input belongs to. Human-engineered features could be templates or kernels customized for a specific problem domain by engineers with domain expertise. In contrast, deep learning architectures can learn to represent features similar to those that human engineers might design, but this learning is achieved through training. Furthermore, deep networks can learn to represent and recognize novel types of features that humans might not have considered before.

[0036] Deep learning architectures can learn hierarchical levels of features. For example, if visual data is presented to the first layer, it can learn to recognize relatively simple features (such as edges) in the input stream. In another example, if auditory data is presented to the first layer, it can learn to recognize spectral power at specific frequencies. A second layer, taking the output of the first layer as input, can learn to recognize combinations of features, such as recognizing simple shapes in visual data or sound combinations in auditory data. For example, higher layers can learn to represent complex shapes in visual data or words in auditory data. Even higher layers can learn to recognize common visual objects or spoken phrases.

[0037] Deep learning architectures can perform particularly well when applied to problems with a naturally hierarchical structure. For example, the classification of motor vehicles can benefit from first learning to identify wheels, windshields, and other features. These features can then be combined in different ways at higher levels to identify cars, trucks, and airplanes.

[0038] Neural networks can be designed with a variety of connectivity patterns. In feedforward networks, information is passed from lower layers to higher layers, where each neuron in a given layer communicates to neurons in higher layers. Hierarchical representations can be constructed in successive layers of a feedforward network. Neural networks can also have backflow or feedback (also known as top-down) connections. In a backflow connection, the output from a neuron in a given layer can be communicated to another neuron in the same layer. Backflow architectures can help identify patterns across more than one block of input data sequentially delivered to the neural network. Connections from neurons in a given layer to neurons in lower layers are called feedback (or top-down) connections. Networks with many feedback connections can be helpful when the recognition of higher-level concepts can aid in discerning specific lower-level features of the input.

[0039] The connections between layers of a neural network can be fully connected or partially connected. Figure 2A An example of a fully connected neural network 202 is explained. In a fully connected neural network 202, a neuron in the first layer can pass its output to each neuron in the second layer, so that each neuron in the second layer receives input from each neuron in the first layer. Figure 2B An example of a locally connected neural network 204 has been explained. In the locally connected neural network 204, neurons in the first layer can connect to a finite number of neurons in the second layer. More generally, the locally connected layers of the locally connected neural network 204 can be configured such that each neuron in a layer will have the same or similar connectivity pattern, but its connection strength can have different values ​​(e.g., 210, 212, 214, and 216). The connectivity pattern of locally connected networks may produce spatially dissimilar receptive fields in higher layers because neurons in higher layers in a given region can receive inputs that are tuned to a restricted portion of the total input to the network through training.

[0040] An example of a locally connected neural network is a convolutional neural network. Figure 2C An example of a convolutional neural network 206 has been explained. Convolutional neural network 206 can be configured such that the connection strength associated with the input for each neuron in the second layer is shared (e.g., 208). Convolutional neural networks may be well-suited for problems where the spatial location of the input is meaningful.

[0041] One type of convolutional neural network is the deep convolutional network (DCN). Figure 2DA detailed example of a DCN 200 designed to recognize visual features from an image 226 input from an image capture device 230 (such as an in-vehicle camera) is explained. The DCN 200 of this example can be trained to identify traffic signs and the numbers provided on them. Of course, the DCN 200 can be trained for other tasks, such as identifying lane markings or traffic lights.

[0042] The DCN 200 can be trained using supervised learning. During training, images (such as image 226 of a speed limit sign) can be presented to the DCN 200, and a "forward pass" can then be computed to produce output 222. The DCN 200 may include feature extraction segments and classification segments. Upon receiving image 226, a convolutional layer 232 may apply a convolutional kernel (not shown) to image 226 to generate a first set of feature maps 218. As an example, the convolutional kernel of the convolutional layer 232 may be a 5x5 kernel that generates a 28x28 feature map. In this example, since four different feature maps are generated in the first set of feature maps 218, four different convolutional kernels are applied to image 226 at the convolutional layer 232. The convolutional kernel may also be referred to as a filter or convolutional filter.

[0043] The first set of feature maps 218 can be subsampled by a max-pooling layer (not shown) to generate a second set of feature maps 220. The max-pooling layer reduces the size of the first set of feature maps 218. That is, the size of the second set of feature maps 220 (e.g., 14x14) is smaller than the size of the first set of feature maps 218 (e.g., 28x28). The reduced size provides similar information to subsequent layers while reducing memory consumption. The second set of feature maps 220 can be further convolved via one or more subsequent convolutional layers (not shown) to generate one or more subsequent sets of feature maps (not shown).

[0044] exist Figure 2D In the example, the second set of feature maps 220 is convolved to generate a first feature vector 224. Furthermore, the first feature vector 224 is further convolved to generate a second feature vector 228. Each feature of the second feature vector 228 may include a number corresponding to a possible feature of the image 226 (such as "sign", "60", and "100"). A softmax function (not shown) converts the numbers in the second feature vector 228 into probabilities. Thus, the output 222 of the DCN 200 is the probability that the image 226 includes one or more features.

[0045] In this example, the probabilities of “sign” and “60” in output 222 are higher than the probabilities of other features in output 222 (such as “30”, “40”, “50”, “70”, “80”, “90”, and “100”). Before training, output 222 generated by DCN 200 is likely incorrect. Therefore, the error between output 222 and the target output can be calculated. The target output is the ground truth value of image 226 (e.g., “sign” and “60”). The weights of DCN 200 can then be adjusted so that the output 222 of DCN 200 is more closely aligned with the target output.

[0046] To adjust the weights, the learning algorithm can compute gradient vectors for the weights. This gradient indicates how much the error will increase or decrease as the weights are adjusted. At the top layers, this gradient directly corresponds to the values ​​of the weights connecting the activated neurons in the penultimate layer to the neurons in the output layer. In lower layers, the gradient depends on the values ​​of the weights and the error gradients computed from the higher layers. The weights can then be adjusted to reduce the error. This method of adjusting weights is called "backpropagation" because it involves a "back pass" in neural networks.

[0047] In practice, the error gradient of the weights may be calculated on a small number of examples, thus approximating the true error gradient. This approximation method is called stochastic gradient descent. Stochastic gradient descent can be repeated until the error rate achievable by the entire system stops decreasing or until the error rate reaches the target level. After learning, a new image (e.g., the speed limit sign in image 226) can be presented to the DCN, and forward propagation through the network produces output 222, which can be considered an inference or prediction of the DCN.

[0048] Deep Belief Networks (DBNs) are probabilistic models that include multiple layers of hidden nodes. DBNs can be used to extract hierarchical representations of training datasets. DBNs can be obtained by stacking multiple layers of Restricted Boltzmann Machines (RBMs). RBMs are a class of artificial neural networks that can learn probability distributions on an input set. Because RBMs can learn probability distributions without information about which class each input should be classified into, they are often used in unsupervised learning. Using a hybrid unsupervised and supervised paradigm, the bottom RBM of a DBN can be trained unsupervised and used as a feature extractor, while the top RBM can be trained supervised (on the joint distribution of inputs from previous layers and the target class) and used as a classifier.

[0049] Deep convolutional networks (DCNs) are networks of convolutional networks configured with additional pooling and normalization layers. DCNs have achieved state-of-the-art performance on many tasks. DCNs can be trained using supervised learning, where both the input and output targets are known for many paradigms and are used to modify the network's weights using gradient descent.

[0050] DCNs can be feedforward networks. Furthermore, as mentioned above, the connections from neurons in the first layer of a DCN to the neuron group in the next higher layer are shared across neurons in the first layer. The feedforward and shared connections of a DCN can be used for fast processing. The computational burden of a DCN can be much smaller than, for example, a similarly sized neural network that includes backflow or feedback connections.

[0051] The processing of each layer in a convolutional network can be considered as a spatially invariant template or a fundamental projection. If the input is first decomposed into multiple channels, such as the red, green, and blue channels of a color image, then a convolutional network trained on that input can be considered three-dimensional, having two spatial dimensions along the axis of the image and a third dimension capturing color information. The output of the convolutional connections can be considered as forming a feature map in subsequent layers, where each element receives input from a range of neurons in the previous layer (e.g., feature map 220) and from each of those multiple channels. The values ​​in the feature map can be further processed non-linearly (such as correction, max(0, x)). Values ​​from neighboring neurons can be further pooled (which corresponds to downsampling) and provide additional local invariance and dimensionality reduction. Normalization, corresponding to whitening, can also be applied through lateral inhibition between neurons in the feature map.

[0052] The performance of deep learning architectures can improve as more labeled data points become available or as computational power increases. Modern deep neural networks are routinely trained with thousands of times more computational resources than were available to a typical researcher just fifteen years ago. New architectures and training paradigms can further boost the performance of deep learning. Corrected linear units reduce the training problem known as vanishing gradients. New training techniques reduce overfitting and thus enable larger models to achieve better generalization. Encapsulation techniques abstract data from a given receptive field and further improve overall performance.

[0053] Figure 3 This is a block diagram illustrating a Deep Convolutional Network 350. A Deep Convolutional Network 350 can include multiple layers of different types based on connectivity and weight sharing. For example... Figure 3As shown, the deep convolutional network 350 includes convolutional blocks 354A and 354B. Each of the convolutional blocks 354A and 354B may be configured with a convolutional layer (CONV) 356, a normalization layer (LNorm) 358, and a max pooling layer (MAX POOL) 360.

[0054] Convolutional layer 356 may include one or more convolutional filters that can be applied to the input data to generate feature maps. Although only two convolutional blocks 354A and 354B are shown, this disclosure is not limited thereto, and any number of convolutional blocks 354A and 354B may be included in the deep convolutional network 350 according to design preferences. Normalization layer 358 may normalize the output of the convolutional filters. For example, normalization layer 358 may provide whitening or lateral suppression. Max pooling layer 360 may provide spatial downsampling aggregation to achieve local invariance and dimensionality reduction.

[0055] For example, the parallel filter set of the deep convolutional network can be loaded onto the CPU 102 or GPU 104 of the SOC 100 to achieve high performance and low power consumption. In an alternative embodiment, the parallel filter set can be loaded onto the DSP 106 or ISP 116 of the SOC 100. Additionally, the deep convolutional network 350 can access other processing blocks that may exist on the SOC 100, such as the sensor processor 114 and navigation module 120, respectively dedicated to sensors and navigation.

[0056] The deep convolutional network 350 may also include one or more fully connected layers 362 (FC1 and FC2). The deep convolutional network 350 may further include logistic regression (LR) layers 364. Weights (not shown) to be updated are located between each layer 356, 358, 360, 362, and 364 of the deep convolutional network 350. The output of each layer (e.g., 356, 358, 360, 362, and 364) can be used as input to a subsequent layer in the deep convolutional network 350 (e.g., 356, 358, 360, 362, and 364) to learn a hierarchical feature representation from the input data 352 (e.g., image, audio, video, sensor data, and / or other input data) supplied from the first convolutional block 354A. The output of the deep convolutional network 350 is a classification score 366 for the input data 352. The classification score 366 may be a set of probabilities, where each probability is the probability that the input data includes features from a feature set.

[0057] As discussed above, in some situations, locating (e.g., identifying) actions based solely on visual data can be difficult. For example, a motion localization system may not accurately determine the action associated with a person speaking into a microphone based solely on visual data. In this example, the action could be singing, lecturing, performing stand-up comedy, or another type of action. Thus, in such examples, without audio data, the motion localization system may not accurately determine the action associated with a person speaking into a microphone. As another example, a motion localization system may not accurately determine the action associated with a group of people standing together with their arms raised in the air based solely on visual data. In this example, the action could be protesting, cheering, or another type of action. Thus, in such examples, without audio data, the motion localization system may not accurately determine the action associated with this group of people. Additionally or alternatively, in some examples, audio data can identify the start and end of an activity (such as a shot in billiards). Identifying the start and end of an activity can further improve motion localization accuracy.

[0058] In some aspects, cross-model architectures can be implemented for action localization models. Cross-model architectures can localize action sequences based on features from multiple modalities. Although multiple modalities can provide more information than a single modality, modality-specific information can be reduced when multiple modalities are fused. Therefore, some aspects of this disclosure implement multi-stage cross-attention mechanisms, in which features of each modality are learned separately under constraints from other modalities. In such aspects, inter-modal information is encoded for the features learned for each modality while preserving intra-modal characteristics.

[0059] Figure 4A This is a block diagram illustrating an example of a cross-model architecture 400 according to various aspects of this disclosure. In such aspects, the cross-model architecture 400 progressively propagates and merges the two modalities. As... Figure 4A As shown, the cross-model architecture 400 includes a multi-stage cross-attention component 402 that fuses features from two different inputs, such as visual input 420 and audio input 422. The cross-model architecture 400 also includes an open-max classifier component 404 that predicts scores for the action and background classes. In some examples, a pseudo-loss can be specified for the cross-model architecture 400 during training. Training can be weakly supervised to improve the robustness of action localization. The pseudo-loss can take into account the temporal continuity of the predicted localization.

[0060] like Figure 4A As shown, each input 420 and 422 can be generated based on non-overlapping segments uniformly sampled from the video. Each segment can be a sample of a frame. As an example, audio input feature 422 can be represented as... ,in Representing a frame l Dimensional audio features ,and L This represents the total number of non-overlapping frames uniformly sampled from the video. Similarly, visual input feature 420 can be represented as... ,in Representing a frame l Dimensional visual features Video level tags can be represented ,in C This represents the number of action classes, while 0 indicates the background class. In some ways, the cross-model architecture 400 can handle each frame. l Classified as C +1 class, thereby locating frame sequences based on audio input feature 422 and visual input feature 420. L The actions within.

[0061] like Figure 4A As shown, the features of each input 420 and 422 can be received at modality-dependent fully connected (fc) layers 426 and 428 to encode the features of the corresponding inputs 420 and 422. The encoded features can be referred to as latent representations 430 and 432. As an example, audio input feature 422 can be encoded as audio latent representation 430, and visual input feature 420 can be encoded as visual latent representation 432. Audio latent representation 430 can be represented as... Furthermore, the visual latent representation 432 can be represented as ,in and exist middle, Represents a dimensionless vector space, and Represents real numbers. For example... Figure 4A As shown, the cross-correlation matrix can be determined at the cross-correlation component 434 based on the audio latent representation 430 and the visual latent representation 432 to measure intermodal correlation. To reduce the gap in heterogeneity between the two modalities, a learnable weight matrix can be used when determining the cross-correlation matrix. In some aspects, the cross-correlation component 434 can determine the cross-correlation matrix as follows: (1) in Represents the cross-correlation matrix. T This represents the transpose operator, while W This represents the weight matrix. In some examples, the weight matrix can be learnable parameters. In Equation 1, and In some implementations, the visual latent representation 432 and audio latent representation 430 associated with each frame can be normalized before calculating the cross-correlation matrix, such as...l 2. Normalization.

[0062] In some respects, the correlation between audio and video features associated with a frame can be determined based on the correlation coefficients associated with that frame in the cross-correlation matrix. For example, a high correlation coefficient can indicate a high correlation between audio and video features associated with that frame. Specifically, the first... l Columns can indicate the relationship with frames. l Related visual latent representations 432 and L The correlation coefficients of audio features in each frame of a given frame. Based on the correlation coefficients (e.g., correlation), the cross-correlation matrix can be used as a basis. ) and the transpose of the cross-correlation matrix ( The cross-attention weights are generated by using the column-wise soft-max of the cross-correlation component 434. Then, for each modality, the cross-correlation component 434 can be reweighted with the corresponding cross-attention weights. L Features associated with each frame are used to obtain attention-weighted features. In some examples, attention-weighted features increase the uniqueness of features given other modalities. In some implementations, the cross-correlation component 434 can determine the attention-weighted features as follows: , and (3) (4) in A u and A v These represent the audio cross-attention weights and the visual cross-attention weights, respectively. and These represent attention-weighted audio features and attention-weighted visual features, respectively. Specifically, A u It is a cross-correlation matrix ( The column-wise soft maximum of ) and A v yes The column-wise soft maximum. Figure 4A In the example, at each stage of the multi-stage cross-attention component, the cross-correlation component 434 outputs attention-weighted audio features 436a or 436b and attention-weighted visual features 438a or 438b. The attention-weighted audio feature 436a output from the cross-correlation component 434 in the first stage can be represented as... Furthermore, the attention-weighted audio features 436b output from the cross-correlation component 434 in the second stage can be represented as follows: Furthermore, the attention-weighted visual features 438a output from the cross-correlation component 434 in the first stage can be represented as follows: The attention-weighted visual features 438b output from the cross-correlation component 434 in the first stage can be represented as: .

[0063] In addition, such as Figure 4A As shown, each of the attention-weighted audio features and attention-weighted visual features can be summed with the corresponding latent features. As an example, at each stage... t Visual latent representation 432 ( X v ) can be compared with attention-weighted visual features ( Summing to generate attention-grabbing visual features ( (shown as visual features 436a and 436b), and audio implicit representation 430 ( X u ) can be compared with attention-weighted audio features ( Summing to generate attention audio features ( (Examples are shown as audio features 438a and 438b). In this disclosure, the features of interest (such as audio features of interest) can be examples of attention-weighted features. Specifically, audio features of interest and visual features of interest can be determined as follows: (5) (6) As shown in Equations 5 and 6, in each stage t ( t = 1,…, t e ), focusing on visual features ( ) and focus on audio features ( Based on previous focus characteristics and the current stage t The tangent function of the sum of the associated attention-weighted features ( In some examples, as described above, the initial focus is on audio feature 438a (). ) equals audio implicit representation 430 ( X u ), and initial visual feature 436a ( ) equals visual latent representation 432 ( X v In equations 5 and 6, This represents the hyperbolic tangent activation function. In some implementations, multiple cross-attention stages (such as...) can be specified. Figure 4AThe first and second stages are used to improve cross-correlation and improve motion localization accuracy. However, multiple cross-attention stages can suppress one or more modality-dependent characteristics. Therefore, in some implementations, skip-connections 450 can be used to maintain the original modality-dependent characteristics. Thus, although not shown in Equations 5 and 6, in each stage... t Focus on visual features ( ) and focus on audio features ( ) can be based on visual latent representation 432 ( X v ) and audio implicit representation 430 ( X u This disclosure is not limited to the aspects described above. Figure 4A The two stages shown are illustrated. A number of other stages have been conceived.

[0064] like Figure 4A As shown, the outputs of the final stage (shown as audio feature 438b and visual feature 436b) can be cascaded at cascade component 440 to generate audiovisual feature 442. In some aspects, the audiovisual features generated at cascade component 440 can be represented as: (7) in t e This indicates the final stage of a multi-stage process. Figure 4A In the example, t e It equals 2.

[0065] In most cases, video clips can be divided into foreground and background actions. Some actions (such as foreground actions) can be closed sets, where the domain of the action class is shared in both training and testing data. In contrast, background actions are open sets. Therefore, it can be difficult to train a background class using all possible examples of unknown objects or scenarios. As an example, an action localization system can be trained to identify jumping actions. Jumping actions can be the same in both training and testing data. However, jumping actions can be performed in a seemingly infinite number of locations, each of which can represent a different background. In this example, it can be difficult to train a background class using all possible examples of locations where jumping actions can be performed. Therefore, in this example, the deployed action localization model may encounter background instances that were not seen during the training phase. Such background instances may include one or more unseen background actions. Therefore, to improve action localization, it may be desirable to distinguish background actions from foreground actions. In one configuration, the occurrence of the background class can be inferred (or estimated) from the prediction of the closed action class.

[0066] According to some aspects of this disclosure, in order to address the problem discussed that is associated with an open set background, an open-max classifier 404 can be used across the model architecture 400. For example... Figure 4A As shown in the example, the open-max classifier 404 may include parallel fully connected layers 452 and 454 for action classification and foreground reliability estimation. Figure 4A In the example, focus is placed on audiovisual feature 442 ( ,in l = 1,…, L The output of the cascaded component 440 can be sent to the open-max classifier 404. In this example, the audio-visual features 442 can be output to the open-max classifier 404 on a frame-by-frame basis. In one configuration, the action classification fully connected layer 452 of the open-max classifier 404 receives a given frame based on the output of the final cascaded component 440. l The focus is on the audio-visual features 442. In this configuration, the action classification fully connected layer 452 generates frame-by-frame activation vectors based on the received audio-visual features 442. The frame-by-frame activation vectors can be converted into probability scores 456 based on a soft maximum function. The frame-by-frame activation vectors are... C An action class can be represented as... And the probability fraction 456 can be expressed as Furthermore, the background class fully connected layer 454 of the open-max classifier 404 receives a given frame based on the output of the final cascaded component 440. l The focus is on audiovisual features 442. In this configuration, a background-class fully connected layer 454 can be applied to a given frame. l And then apply the S-curve function to each frame. l Determine foreground reliability. Foreground reliability is a frame... l The probability of belonging to any action class. Low reliability indicator in a given frame. l No action occurred. Therefore, the background class probability 458 can be the complement of the foreground reliability. In some examples, the background class probability 458 is determined as: ,in μ l This indicates the reliability of the foreground. The open-max classifier can output... C +1 action class (including background and...) C The probability distribution on 460 (actions) p l )for: (8) In some examples, frames within an action or background segment can convey similar semantics. Therefore, temporally adjacent frames can have similar open-max probability distributions because the action or foreground does not change abruptly over time. In some aspects, different temporal continuity losses can be specified to mitigate abrupt changes in action or foreground over time. That is, foreground continuity can be specified to maintain two properties of adjacent frames. The first property can provide class-agnostic similar foreground reliability, while the second property can provide a consistent open-max probability for the target foreground class. In such aspects, class-agnostic (… ag Foreground continuity can be enforced as: (9) in G ( i () is a Gaussian window with a width of B+1, so that in the first... l Temporal smoothing is applied to the foreground reliability around the frame. In Equation 9, the variable... μ This indicates the reliability of the foreground action. Furthermore, in Equation 9, the first... l Frame continuity From the central value ( μ l-i ) and also at the center value ( μ l-i ) left and right sides B The reliability of the foreground is defined by a moving average between / 2 values. A smoothing effect on the data stream can be obtained based on this moving average. This smoothing effect can mitigate sudden changes in the continuity of the foreground. G ( i This can also be referred to as Gaussian weighting. Furthermore, it can be achieved by adjusting the video-level realistic action class (...). Applying temporal Gaussian smoothing to the open-max probability of ) yields class-specific ( sp Foreground continuity is used to obtain consistent open-max probabilities. (10) In Equation 10, p l Let C represent the probability distribution over the C classes. Equation 10 also determines the moving average in a similar manner based on the center frame and the frames to its left and right. In some respects, the foreground continuity loss can be defined as: (11) Foreground continuity loss imposes temporal continuity on the foreground, thus also helping to separate the background from the action class.

[0067] In some cases, the two modalities may be incompatible for fusion in one or more frames. For example, the audio modality associated with a set of frames might be background noise unrelated to the visual modality associated with that set. Therefore, in this example, fusing the modalities of the frame set might reduce the accuracy of motion localization. In some examples, a single frame may provide optimal multimodal features, while other frames may not be necessary. According to some aspects of this disclosure, a gating controller (e.g., a leaky gate) is specified to adaptively determine when and how to fuse the two modalities.

[0068] Figure 4B This is a block diagram illustrating an example of a cross-model architecture 480 with a gated controller according to various aspects of this disclosure. Figure 4B In the example, various elements 420, 422, 434, 436a, and 438a are related to... Figure 4A The elements described are the same. For the sake of brevity, details regarding... Figure 4B The descriptions of elements 420, 422, 434, 436a, and 438a. Furthermore, for the sake of brevity, Figure 4B The middle part is omitted Figure 4A Some components in. Figure 4B In the example, it can be done at each stage t The end of the string specifies jump connection gates 482a, 482b, 484a, and 484b. To reduce computational cost, each jump connection gate 482a, 482b, 484a, and 484b can be designed as a fully connected layer. Gating effects can be obtained by activating the output of the fully connected layer associated with each jump connection gate 482a, 482b, 484a, and 484b. Each leakage gate 486 can be opened by setting the output of the corresponding jump connection gate 482a, 482b, 484a, and 484b to approximately 1, and each leakage gate 486 can be closed by setting the output of the corresponding jump connection gate 482a, 482b, 484a, and 484b to approximately 0. Closed gates ( Figure 4B (Not shown) could be an example of a leakage path. In this example, a feature that enters a closed door might leak out with less intensity. A leaking feature could be an example of a leaking feature.

[0069] exist Figure 4B In the example, for the first-stage visual modality, the first jump connection gate 482a receives attention-weighted visual features from the first-stage cross-correlation component 434. This process generates a gating matrix. The gating matrix can be represented as... ,in LThis indicates the frame number, and the number 2 represents the binary value of the gate. In some examples, a binary output can be specified for each frame. In one configuration, each row of the gating matrix generated by the first jump connection gate 482a can be expanded to... d v × L A matrix of size. As discussed above, d v Represents dimensional visual features. Expanded matrix. and The output of the leakage gate 486 associated with the first jump connection gate 482a can be controlled so that the gating characteristics of the first stage are: (12) In Equation 12, This indicates element-wise multiplication. Furthermore, in Equation 12, for the extended matrix... and Any of these, with a value approximately 0, closes the feature input to the leakage gate 486 associated with the first jump connection gate 482a. As discussed, the feature input to the closed gate may leak out with a small strength. Furthermore, for the extended matrix... and Either of these, with a value approximately 1, opens the feature of the leak gate 486 associated with the first jump connection gate 482a. In one example, the extended matrix... and These can have values ​​of 1 and 0, respectively, thus causing attention-weighted visual features to be turned off. And open the visual implicit representation 432 ( X v In another example, the extended matrix. and They can have values ​​of 0 and 1 respectively, thus causing attention-weighted visual features to be turned on ( And disable visual implicit representation 432 ( X v In some examples, and It can be based on the gate matrix ( The corresponding rows of the gated matrix. As an example, the first and second rows of the gated matrix can be retrieved, where each row represents a 1×L vector. In this example, each vector can be expanded to obtain... d v × L A matrix of size . That is, each vector can be copied equal to . d v The number of times the value is determined. Based on the described process, two different matrices (such as...) and This can be associated with the corresponding vector. The process for controlling the leak gate 486 associated with the second jump connection gate 484a related to the audio features is similar to the process discussed above for controlling the leak gate 486 associated with the first jump connection gate 482a.

[0070] like Figure 4B As shown, the third jump connection gate 482b of the second stage can receive attention-weighted visual features from the cross-correlation component 434 of the second stage. This process generates a gating matrix. For the second stage, the gating matrix can be represented as... In this example, the gating matrix can be extended to... d v × L A matrix of size. An extended matrix. , and The output of the leakage gate 486 associated with the third jump connection gate 482b can be controlled so that the gating characteristics of the first stage are: (13) In Equation 13, with the extended matrix , and Each of the associated values ​​either turns the input to the leakage gate 486 associated with the third jump connection gate 482b on or off. The process for controlling the leakage gate 486 associated with the fourth jump connection gate 484b, which is associated with the audio feature, is similar to the process discussed above for controlling the leakage gate 486 associated with the third jump connection gate 482b.

[0071] In addition to jump connection gates 482a, 482b, 484a, and 484b, the cross-model architecture 480 with a gating controller may include stage gates 490 and 488. As an example, the first stage gate 490 may receive attention-weighted visual features from the final stage (…). ,in t e = 2) As input. The first stage gate 490 determines the stage gating matrix, which can be expressed as The stage gating matrix can be extended to... d v × L A matrix of size. An extended matrix. and The output of the leakage gate 486 associated with the first-stage gate 490 can be controlled, allowing the final output of visual positioning to be determined based on the gating performed at the leakage gate 486 associated with the first-stage gate 490. Specifically, the final output is: (14) The process for controlling the leakage gate 486 associated with the second-stage gate 488 is similar to the process for controlling the leakage gate 486 associated with the first-stage gate 490 discussed above. In some aspects of this disclosure, cascading stage gating features ( Z att,v and Z att,u To obtain multimodal features, it can be represented as: (15) Figure 5 A flowchart of method 500 according to one aspect of this disclosure is provided. Method 500 can be executed by an artificial neural network (ANN), such as in... Figure 4A and 4B The cross-model architectures 400 and 480 are described in [the document / reference]. For example... Figure 5 As shown in block 502, in the first stage of the ANN, the ANN determines a first cross-correlation between first representations of each of a plurality of modalities associated with the input sequence. In some examples, the first representation is a latent representation based on features of each modality extracted from the input sequence. Furthermore, the first modality may be a visual modality, the second modality may be an audio modality, and the input sequence may be a sequence of frames of video. The video may be captured by a camera or another sensor associated with the ANN. For example, the camera may be integrated with a vehicle implementing the ANN. Aspects of this disclosure also envision correlating other types of modalities received from one or more sensor data streams, such as, but not limited to, lidar, radar, motion, or gyroscopes.

[0072] In box 504, in the second stage of the ANN, the ANN determines a second cross-correlation between the first attention representations of each modality in the plurality of modalities. In some examples, the first attention representation of the first modality in the plurality of modalities may be based on the first cross-correlation and the first representation of the first modality. Furthermore, the first attention representation of the second modality in the plurality of modalities may be based on the first cross-correlation and the first representation of the second modality. In box 506, the ANN generates cascaded feature representations based on the second cross-correlation, the first attention representation of each modality, and the first representation of each modality. The final second stage can be an example of the final stage of a multi-stage cross-attention model, such as reference... Figure 4A The second stage of the multi-stage cross-attention component 402 is described. In box 508, the ANN determines the probability distribution between the background action set and the foreground action set from the cascaded feature representation. The probability distribution can be determined based on Equation 8. In box 510, the ANN locates actions in the input sequence based on this probability distribution.

[0073] Examples of implementations are described in the following numbered clauses.

[0074] 1. A method performed by an artificial neural network (ANN), comprising: In the first phase of this ANN, the first cross-correlation between the first representations of each of the multiple modes associated with the input sequence is determined; In the second phase of the ANN, a second cross-correlation between the first concern representations of each of the multiple modalities is determined. The first concern representation of the first mode in the multiple modalities is based on the first cross-correlation and the first representation of the first mode, and The first concern representation of the second mode in the multiple modalities is based on the first cross-correlation and the first representation of the second mode; Cascaded feature representations are generated based on the second cross-correlation, the first attention representation of each modality, and the first representation of each modality; Determine the probability distribution between the background action set and the foreground action set from this cascaded feature representation; and The action in the input sequence is located based on this probability distribution.

[0075] 2. The method of Clause 1, wherein the first representation is a latent representation based on features of each modality extracted from the input sequence.

[0076] 3. The method as described in any of Clauses 1-2, further comprising: The first interest representation of the first modality is generated based on the sum of the first cross-correlation and the first representation of the first modality; and The first interest representation of the second modality is generated based on the sum of the first cross-correlation and the first representation of the second modality.

[0077] 4. The method of Clause 3 further includes: determining the second cross-correlation based on the product of the first concern representation of each modality and the weight variable.

[0078] 5. The method of any one of clauses 1-4 further includes: generating a second concern representation for each modality based on at least one second cross-correlation and the sum of the first concern representations for each modality.

[0079] 6. The method of Clause 5 further includes: generating the cascaded feature representation based on the second concern representation of each modality.

[0080] 7. The method of any one of clauses 1-6, wherein determining the probability distribution includes: Determine the prediction reliability of each foreground action in the foreground action set; and The prediction reliability of each background action in the set of background actions is determined by using the foreground action as a function at each input.

[0081] 8. The method as described in any of Clauses 1-7, wherein: The first modality is the visual modality; The second modality is the audio modality; and The input sequence is a frame sequence.

[0082] 9. The method of any one of clauses 1-8, further comprising: gating each of the plurality of hop connections, wherein: Each stage of this multi-stage cross-attention model is associated with a pair of skip connections among the multiple skip connections; and Each of the two skip connections is associated with one of the multiple modes.

[0083] 10. The method of Clause 9 further includes: gating each skip connection based on the output of a gating layer associated with the corresponding stage of the skip connection in the multi-stage cross-attention model.

[0084] 11. The method of Item 9, wherein each skip connection outputs a stage-gated feature of a plurality of stage-gated features, each stage-gated feature being associated with one of the plurality of modes.

[0085] 12. The method of Clause 9 further includes: gating each stage connection in a plurality of stage connections, wherein: Each of the multiple stage connections receives input from a set of skip connections, each skip connection in the set of skip connections being associated with a different stage of the multi-stage cross-attention model, and each skip connection in the set of skip connections being one of the multiple skip connections.

[0086] 13. The method as described in Clause 12, wherein: Gating is performed on each stage connection in the multiple stage connections based on the final attention representation of one of the multiple modalities; and The final attention representation for each of the multiple modalities is determined in the final stage of the multi-stage cross-attention model.

[0087] 14. The method of any one of clauses 13-14, wherein: the ANN includes a plurality of second stages; each of the plurality of second stages determines a second cross-correlation between first attention representations of each modality, a first attention representation of the first modality in the plurality of modalities, and a first attention representation of the second modality in the plurality of modalities; and the cascaded feature representation is associated with the final second stage based on the second cross-correlation associated with the final second stage in the plurality of second stages.

[0088] The various operations of the methods described above can be performed by any suitable means capable of performing the corresponding functions. These means may include various hardware and / or software components and / or modules, including but not limited to circuits, application-specific integrated circuits (ASICs), or processors. Generally, in the cases where operations are illustrated in the accompanying drawings, those operations may have corresponding paired means with similar numbers plus functional components.

[0089] As used, the term "determine" encompasses a wide variety of actions. For example, "determine" can include calculation, computation, processing, derivation, research, searching (e.g., looking in a table, database, or other data structure), ascertaining, and the like. Additionally, "determine" can include receiving (e.g., receiving information), accessing (e.g., accessing data in memory), and similar actions. Furthermore, "determine" can include parsing, selecting, choosing, establishing, and similar actions.

[0090] As used, the phrase “at least one of” refers to any combination of these items, including a single member. As an example, “at least one of a, b, or c” is intended to cover: a, b, c, ab, ac, bc, and abc.

[0091] The various illustrative logic blocks, modules, and circuits described in this disclosure can be implemented or executed using a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the described functions. The general-purpose processor may be a microprocessor, but in alternatives, the processor may be any commercially available processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors cooperating with a DSP core, or any other such configuration.

[0092] The steps of the methods or algorithms described in this disclosure can be implemented directly in hardware, in a software module executed by a processor, or in a combination of both. The software module can reside in any form of storage medium known in the art. Some examples of usable storage media include random access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, removable disks, CD-ROMs, and so on. The software module may include a single instruction or many instructions, and may be distributed across several different code segments, across different programs, and across multiple storage media. The storage medium may be coupled to the processor so that the processor can read and write information from / to the storage medium. In an alternative, the storage medium may be integrated into the processor.

[0093] The disclosed methods include one or more steps or actions for achieving the described methods. These method steps and / or actions may be interchanged without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and / or use of specific steps and / or actions may be modified without departing from the scope of the claims.

[0094] The functionality described herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in hardware, example hardware configurations may include a processing system within a device. The processing system can be implemented using a bus architecture. Depending on the specific application and overall design constraints of the processing system, the bus may include any number of interconnect buses and bridges. The bus can link together various circuits, including processors, machine-readable media, and bus interfaces. The bus interface can be used, in particular, to connect network adapters and the like to the processing system via the bus. The network adapter can be used to implement signal processing functions. In some respects, user interfaces (e.g., keypads, displays, mice, joysticks, etc.) may also be connected to the bus. The bus can also link various other circuits, such as timing sources, peripherals, regulators, power management circuits, and similar circuits, which are well known in the art and will not be described further.

[0095] A processor is responsible for managing the bus and general processing, including executing software stored on a machine-readable medium. A processor may be implemented using one or more general-purpose and / or special-purpose processors. Examples include microprocessors, microcontrollers, DSP processors, and other circuit systems capable of executing software. Software should be interpreted broadly as instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. As examples, a machine-readable medium may include random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, disks, optical disks, hard drives, or any other suitable storage medium, or any combination thereof. The machine-readable medium may be implemented in a computer program product. This computer program product may include packaging materials.

[0096] In hardware implementations, machine-readable media can be a separate part of the processing system from the processor. However, as those skilled in the art will readily appreciate, machine-readable media or any part thereof can be external to the processing system. As examples, machine-readable media may include transmission lines, carrier waves modulated by data, and / or computer components separate from the device, all accessible to the processor via a bus interface. Alternatively or additionally, machine-readable media or any part thereof may be integrated into the processor, such as caches and / or general-purpose register files. While the various components discussed may be described as having a specific location, such as local components, they can also be configured in various ways, such as certain components being configured as part of a distributed computing system.

[0097] The processing system can be configured as a general-purpose processing system having one or more microprocessors providing processor functionality, and external memory providing at least a portion of machine-readable medium, all linked to other supporting circuitry via an external bus architecture. Alternatively, the processing system may include one or more neuromorphic processors for implementing the described neuron and nervous system models. As another alternative, the processing system can be implemented using an application-specific integrated circuit (ASIC) with a processor, bus interface, user interface, supporting circuitry, and at least a portion of machine-readable medium integrated on a single chip, or using one or more field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic, discrete hardware components, or any other suitable circuitry, or any combination of circuitry capable of performing the various functionalities described throughout this disclosure. Depending on the specific application and the overall design constraints imposed on the system, those skilled in the art will recognize how best to implement the functionality described with respect to the processing system.

[0098] Machine-readable media may include several software modules. These software modules include instructions that, when executed by a processor, cause the processing system to perform various functions. These software modules may include transfer modules and receive modules. Each software module may reside in a single storage device or be distributed across multiple storage devices. As an example, when a trigger event occurs, a software module may be loaded from a hard drive into RAM. During the execution of a software module, the processor may load some instructions into a cache to improve access speed. One or more cache lines may subsequently be loaded into a general-purpose register file for processor execution. In the context of the functionality of the software modules described below, it will be understood that such functionality is implemented by the processor when the processor executes the instructions from the software module. Furthermore, it should be understood that aspects of this disclosure result in improvements to the functionality of a processor, computer, machine, or other system implementing such aspects.

[0099] If implemented in software, the functions can be stored or transmitted as one or more instructions or codes on or through a computer-readable medium. Computer-readable media includes both computer storage media and communication media, encompassing any medium that facilitates the transfer of a computer program from one location to another. Storage media can be any available medium accessible to a computer. By way of example and not limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible to a computer. Additionally, any connection is also legitimately referred to as computer-readable media. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technology (such as infrared (IR), radio, and microwave), then that coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technology (such as infrared, radio, and microwave) is included in the definition of medium. The disks and discs used include compact discs (CDs), laser discs, optical discs, digital multi-purpose discs (DVDs), floppy disks, and Blu-ray® discs, where disks often magnetically reproduce data, while discs optically reproduce data using lasers. Therefore, in some aspects, computer-readable media may include non-transient computer-readable media (e.g., tangible media). In other aspects, computer-readable media may include transient computer-readable media (e.g., signals). Combinations of the above should also be included within the scope of computer-readable media.

[0100] Therefore, some aspects may include a computer program product for performing the given operations. For example, such a computer program product may include a computer-readable medium on which instructions are stored (and / or encoded) that can be executed by one or more processors to perform the described operations. In some aspects, the computer program product may include packaging material.

[0101] Furthermore, it should be understood that modules and / or other suitable means for performing the described methods and techniques may be downloaded and / or otherwise obtained by the user terminal and / or base station where applicable. For example, such devices can be coupled to a server to facilitate the transfer of means for performing the described methods. Alternatively, the various methods described can be provided via storage devices (e.g., RAM, ROM, physical storage media such as CDs or floppy disks) so that the device can obtain the various methods once the storage device is coupled to or provided to the user terminal and / or base station. In addition, any other suitable techniques for providing these methods and techniques to the device may be utilized.

[0102] It will be understood that the claims are not limited to the precise configurations and components described above. Various modifications, substitutions, and variations can be made to the layout, operation, and details of the methods and apparatus described above without departing from the scope of the claims.

Claims

1. A method for artificial neural networks (ANNs), comprising: In the first stage of the ANN, a first cross-correlation is determined between the first representations of each of a plurality of modalities associated with the input sequence, wherein the input sequence is a frame sequence; In the second phase of the ANN, a second cross-correlation between the first concern representations of each of the plurality of modalities is determined. The first concern representation of the first mode in the plurality of modalities is based on the first cross-correlation and the first representation of the first mode, and The first concern representation of the second mode among the plurality of modes is based on the first cross-correlation and the first representation of the second mode; A cascaded feature representation is generated based on the second cross-correlation, the first attention representation of each modality, and the first representation of each modality; Determine the probability distribution between the background action set and the foreground action set from the cascaded feature representation; and The action in the input sequence is located based on the probability distribution.

2. The method of claim 1, wherein: The ANN includes multiple second phases; Each of the plurality of second stages determines the second cross-correlation between the first attention representations of each modality, the first attention representation of the first modality in the plurality of modalities, and the first attention representation of the second modality in the plurality of modalities; and The cascaded feature representation is associated with the final second stage based on the second cross-correlation associated with the final second stage among the plurality of second stages.

3. The method of claim 1, wherein the first representation is a latent representation based on features of each modality extracted from the input sequence.

4. The method of claim 1, further comprising: The first interest representation of the first modality is generated based on the sum of the first cross-correlation and the first representation of the first modality; as well as The first interest representation of the second modality is generated based on the sum of the first cross-correlation and the first representation of the second modality.

5. The method of claim 4, further comprising: The second cross-correlation is determined based on the product of the first attention representation for each modality and the weight variable.

6. The method of claim 1, further comprising: The second concern representation for each modality is generated based on at least one second cross-correlation and the sum of the first concern representation for each modality.

7. The method of claim 6, further comprising: The cascaded feature representation is generated based on the second attention representation for each modality.

8. The method of claim 1, wherein determining the probability distribution comprises: Determine the prediction reliability of each foreground action in the foreground action set; as well as The prediction reliability of each background action in the set of background actions is determined as a function of the foreground action at each input.

9. The method of claim 1, wherein: The first modality is the visual modality; and The second mode is the audio mode.

10. The method of claim 1, further comprising: Gating is performed on each of the multiple hop connections, where: Each stage of the multi-stage cross-attention model is associated with a pair of skip connections among the plurality of skip connections; and Each of the pair of hop connections is associated with one of the plurality of modes.

11. The method of claim 10, further comprising: Each skip connection is gated based on the output of the gating layer associated with the corresponding stage of the skip connection in the multi-stage cross-attention model.

12. The method of claim 10, wherein each hop connection outputs a stage-gated feature from a plurality of stage-gated features, each stage-gated feature being associated with one of the plurality of modes.

13. The method of claim 10, further comprising: Gating is performed on each stage connection in a multi-stage connection, where: Each of the multiple stage connections receives input from a set of skip connections, each skip connection in the set of skip connections being associated with a different stage of the multi-stage cross-attention model, and each skip connection in the set of skip connections being one of the multiple skip connections.

14. The method of claim 13, wherein: Gating is performed on each of the multiple stage connections based on the final concern representation of one of the multiple modalities; and The final attention representation for each of the multiple modalities is determined in the final stage of the multi-stage cross-attention model.

15. An apparatus for an artificial neural network (ANN), comprising: processor; Memory coupled to the processor; as well as Instructions stored in the memory, which, when executed by the processor, can operate to cause the device to: In the first stage of the ANN, a first cross-correlation is determined between the first representations of each of a plurality of modalities associated with the input sequence, wherein the input sequence is a frame sequence; In the second phase of the ANN, a second cross-correlation between the first concern representations of each of the plurality of modalities is determined. The first concern representation of the first mode in the plurality of modalities is based on the first cross-correlation and the first representation of the first mode, and The first concern representation of the second mode among the plurality of modes is based on the first cross-correlation and the first representation of the second mode; A cascaded feature representation is generated based on the second cross-correlation, the first attention representation of each modality, and the first representation of each modality; Determine the probability distribution between the background action set and the foreground action set from the cascaded feature representation; and The action in the input sequence is located based on the probability distribution.

16. The apparatus of claim 15, wherein: The ANN includes multiple second phases; Each of the plurality of second stages determines the second cross-correlation between the first attention representations of each modality, the first attention representation of the first modality in the plurality of modalities, and the first attention representation of the second modality in the plurality of modalities; and The cascaded feature representation is associated with the final second stage based on the second cross-correlation associated with the final second stage among the plurality of second stages.

17. The apparatus of claim 15, wherein the first representation is a latent representation based on features of each modality extracted from the input sequence.

18. The apparatus of claim 15, wherein execution of the instructions further causes the apparatus to: The first interest representation of the first modality is generated based on the sum of the first cross-correlation and the first representation of the first modality; and The first interest representation of the second modality is generated based on the sum of the first cross-correlation and the first representation of the second modality.

19. The apparatus of claim 18, wherein execution of the instructions further causes the apparatus to: determine the second cross-correlation based on the product of the first concern representation and the weight variable for each modality.

20. The apparatus of claim 15, wherein execution of the instructions further causes the apparatus to: generate a second concern representation for each modality based on at least one second cross-correlation and the sum of the first concern representations for each modality.

21. The apparatus of claim 20, wherein execution of the instructions further causes the apparatus to generate the cascaded feature representation based on the second interest representation for each modality.

22. The apparatus of claim 15, wherein execution of the instructions for determining the probability distribution further causes the apparatus to: Determine the prediction reliability of each foreground action in the set of foreground actions; and The prediction reliability of each background action in the set of background actions is determined as a function of the foreground action at each input.

23. The apparatus of claim 15, wherein: The first modality is the visual modality; and The second mode is the audio mode.

24. The apparatus of claim 15, wherein execution of the instructions further causes the apparatus to gate each of the plurality of hop connections, wherein: Each stage of the multi-stage cross-attention model is associated with a pair of skip connections among the plurality of skip connections; and Each of the pair of hop connections is associated with one of the plurality of modes.

25. The apparatus of claim 24, wherein execution of the instructions further causes the apparatus to: gate each skip connection based on the output of a gating layer associated with the corresponding stage of the skip connection in the multi-stage cross-attention model.

26. The apparatus of claim 24, wherein each jump connection outputs a stage-gated feature of a plurality of stage-gated features, each stage-gated feature being associated with one of the plurality of modes.

27. The apparatus of claim 24, wherein execution of the instructions further causes the apparatus to gate each of the plurality of stage connections, wherein: Each of the multiple stage connections receives input from a set of skip connections, each skip connection in the set of skip connections being associated with a different stage of the multi-stage cross-attention model, and each skip connection in the set of skip connections being one of the multiple skip connections.

28. The apparatus of claim 27, wherein: Gating is performed on each of the multiple stage connections based on the final concern representation of one of the multiple modalities; and The final attention representation for each of the multiple modalities is determined in the final stage of the multi-stage cross-attention model.

29. A non-transient computer-readable medium having program code for an artificial neural network (ANN) recorded thereon, the program code being executed by a processor and comprising: Program code for determining, in the first stage of the ANN, a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence, wherein the input sequence is a frame sequence; Program code used in the second phase of the ANN to determine the second cross-correlation between the first concern representations of each of the plurality of modalities. The first concern representation of the first mode in the plurality of modalities is based on the first cross-correlation and the first representation of the first mode, and The first concern representation of the second mode among the plurality of modes is based on the first cross-correlation and the first representation of the second mode; Program code for generating cascaded feature representations based on the second cross-correlation, the first interest representation of each modality, and the first representation of each modality; Program code for determining the probability distribution between the background action set and the foreground action set from the cascaded feature representation; as well as Program code used to locate actions in the input sequence based on the probability distribution.

30. An artificial neural network (ANN), comprising: A means for determining, in the first stage of the ANN, a first cross-correlation between first representations of each of a plurality of modalities associated with an input sequence, wherein the input sequence is a frame sequence; A means for determining a second cross-correlation between the first concern representations of each of the plurality of modalities in the second phase of the ANN. The first concern representation of the first mode in the plurality of modalities is based on the first cross-correlation and the first representation of the first mode, and The first concern representation of the second mode among the plurality of modes is based on the first cross-correlation and the first representation of the second mode; An apparatus for generating a cascaded feature representation based on the second cross-correlation, the first interest representation of each modality, and the first representation of each modality; A means for determining the probability distribution between a set of background actions and a set of foreground actions from the cascaded feature representation; as well as A device for locating actions in the input sequence based on the probability distribution.

Citation Information

Patent Citations

  • Group behavior recognition method based on multi-stream architecture and long-short-term memory network

    CN110516540A

  • Training method of video information processing model and video information processing method and device

    CN111324769A