Embodiments generally relate to computing systems. More particularly, embodiments relate to performance-enhanced deep learning technology utilizing convolutional neural networks for image sequence/video analysis.
Deep learning networks such as, for example, convolutional neural networks (CNNs), have become an important candidate technology to be considered for use in image sequence/video analysis tasks, including graphics-related tasks such as video rendering, video action recognition, video ray tracing, etc. Unlike two-dimensional (2D) CNNs which perform convolutional and pooling operations only in the spatial space, three-dimensional (3D) CNNs are constructed with 3D convolution and 3D pooling operations performed in the spatial-temporal space. Use of 3D CNNs, however, presents difficult challenges in application. For example, on the one hand, the increase of input data dimensionality exhibits significantly more complicated feature distribution variations. On the other hand, the model size of 3D CNNs has a cubic growth potential compared to 2D CNNs. These factors result in huge memory and compute demands (from both data and model standpoints) on 3D CNN architectures, making the utilization of 3D CNNs much more difficult compared to 2D CNN-based tasks, effectively preventing the use of generalized 3D CNN architectures for high performance image sequence/video analysis.
The various advantages of the embodiments will become apparent to one skilled in the art by reading the following specification and appended claims, and by referencing the following drawings, in which:
A performance-enhanced computing system as described herein improves performance of CNNs, and in particular 3D CNNs, for image sequence/video analysis. The technology helps improve the overall performance of deep learning computing systems from the perspective of feature representation calibration and association through a sample-adaptive feature calibration and association agent (SA-FCAA). The SA-FCAA technology described herein can be applied to any deep CNN—particularly 3D CNNs—to provide a significant performance boost to image sequence/video analysis tasks in at least two ways. First, the SA-FCAA technology described herein is sample-specific and calibrates a given 3D feature map using statistics conditioned not only on a current input example but also on statistics from feature maps of adjacent convolutional layers and adjacent feature slices along an extra dimension—which can often be a temporal dimension. Second, the SA-FCAA technology associates the calibrated 3D feature map along two orthogonal dimensions via a shared lightweight meta-gating relay unit. By employing these dynamic learning and cross-layer relay capabilities—including association of calibrated features along a network depth and a feature dimension, the technology augments the joint spatiotemporal feature learning capability of 3D CNNs, resulting in significant improvement in inference accuracy and training speed of 3D CNNs.
The neural network 110 receives as input an image sequence 140. The image sequence 140 can include, e.g., a video comprised of a sequence of images associated with a period of time. The neural network 110 produces an output feature map 150. The output feature map 150 represents the results of processing the input image sequence 140 via the neural network 110, results which can include classification, detection and/or segmentation of objects, features, etc. from the input image sequence 140.
As shown in
Each network depth calibration layer (FCAA-D) typically follows a convolution layer and, similarly, each feature dimension calibration layer (FCAA-T) typically follows another convolution layer. Additionally, the network depth calibration layers are arranged in a cross-block network depth relay structure such that a network depth calibration layer in one block receives a hidden state signal and a cell state signal from a network depth calibration layer in a preceding block. Thus, for example, the network depth calibration layer in block (k+1) receives a hidden state signal hk and a cell state signal ck from a network depth calibration layer in block (k), the network depth calibration layer in block (k) receives a hidden state signal hk−1 and a cell state signal ck−1 from a network depth calibration layer in block (k−1), etc., extending back to the initial block with a network depth calibration layer in the neural network (for such initial block, there would be no preceding block with a network depth calibration layer).
While three blocks are illustrated in
The network depth calibration layer 222 for block (k) receives a hidden state signal hk−1 and a cell state signal ck−1 from a network depth calibration layer in a preceding block (k−1), and passes a hidden state signal hk and a cell state signal ck to a network depth calibration layer in a succeeding block (k+1). The block 220 can also include one or more optional activation layers, such as the activation layer 223, which follows the network depth calibration layer 222, and/or the activation layer 226, which follows the feature dimension calibration layer 225. Each of the activation layer(s) 223 and/or 226 can include an activation function useful for CNNs, such as, e.g., a rectified linear unit (ReLU) function, a SoftMax function, etc. The block 220 can also include other additional, optional layers such as, e.g., additional convolution, normalization and/or activation layers (collectively labeled 227 in
The network depth calibration structure 300 further includes a plurality of network depth calibration layers (FCAA-D) arranged in a cross-block network depth relay structure 310, including a network depth calibration layer 312 (for block k−1), a network depth calibration layer 314 (for block k), and a network depth calibration layer 316 (for block k+1). Each network depth calibration layer is coupled to and following a respective convolution layer of the plurality of convolution layers, such that each network depth calibration layer receives an input from the respective convolution layer and provides an output to a succeeding layer. Each network depth calibration layer (that is, each network depth calibration layer after an initial network depth calibration layer in the neural network) is also coupled to a network depth calibration layer in a respective preceding block via a hidden state signal and a cell state signal received from the network depth calibration layer of the respective preceding block. Thus, as shown in the example of
For example, the network depth calibration layer 312 (for block k−1) receives as input the feature map xk−1 from the convolution layer 302. The network depth calibration layer 312 also receives a hidden state signal and a cell state signal from a network depth calibration layer in a preceding block (not shown in
Similarly, the network depth calibration layer 314 (for block k) receives as input the feature map xk from the convolution layer 304, and also receives a hidden state signal hk−1 and a cell state signal ck−1 from the network depth calibration layer 312 in the preceding block (k−1), and produces an output feature map yk. As illustrated for the example of
The network depth calibration structure 300 can include one or more optional activation layer(s), such as activation layer(s) 303, 305, and/or 307. Each of the activation layer(s) 303, 305, and/or 307 can include an activation function useful for CNNs, such as, e.g., a rectified linear unit (ReLU) function, a SoftMax function, etc.
The activation layer(s) 303, 305, and/or 307 can receive, as input, the output of the respective neighboring network depth calibration layer 312, 314 and/or 316. For example, as illustrated in
In some embodiments, the activation functions of the activation layer(s) 303, 305 and/or 307 can be incorporated into the respective neighboring network depth calibration layer 312, 314 and/or 316. In some embodiments, each of the activation layer(s) 303, 305 and/or 307 can be arranged between a respective convolution layer and the following network depth calibration layer. The network depth calibration structure 300 can include one or more additional/optional neural network layers, such as convolution layers (not shown in
Some or all components and features of the network depth calibration structure 300 can be implemented using one or more of a central processing unit (CPU), a graphics processing unit (GPU), an artificial intelligence (AI) accelerator, a field programmable gate array (FPGA) accelerator, an application specific integrated circuit (ASIC), and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the network depth calibration structure 300 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as random access memory (RAM), read only memory (ROM), programmable ROM (PROM), firmware, flash memory, etc., in configurable logic such as, for example, programmable logic arrays (PLAs), FPGAs, complex programmable logic devices (CPLDs), in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, complementary metal oxide semiconductor (CMOS) or transistor-transistor logic (TTL) technology, or any combination thereof.
where N, C, T, H, W indicate batch size, number of channels, temporal length, height and width, respectively, for the tensor xk.
The network depth calibration layer 350 can include a first global average pooling (GAP) function 352, a first meta-gating relay (MGR) unit 354, a first standardization (STD) function 356, and a first linear transformation (LNT) function 358. The GAP function 352 is a function known for use in CNNs. The GAP function 352 operates on the feature map xk (e.g., the feature map xk generated by the convolution layer 304 for block (k) in
which represents a spatial-temporal aggregation of the input feature map xk. For an input feature map having dimensionality (N×C×T×H×W), the GAP function 352 produces a resulting output of dimensionality (N×C×1).
The output of the GAP function 352,
The updated hidden state signal hk and the updated cell state signal ck feed into the LNT function 358, and also feed into a network depth calibration layer of a succeeding block (k+1). Further details regarding the first MGR unit 354 are provided herein with reference to
The STD function 356 operates on the input feature map xk by computing a standardized feature as follows:
where μ and σ are mean and standard deviation computed within non-overlapping subsets of the input feature map, and ϵ is a small constant to preserve numerical stability. The output of the STD function 356, {circumflex over (x)}k, is a standardized feature expected to be in a distribution with zero mean and unit variance. The standardized feature, {circumflex over (x)}k, feeds into the LNT function 358.
The LNT function 358 operates on the standardized feature, {circumflex over (x)}k, to calibrate and associate the feature representation capacity of the feature map. The LNT function 358 uses the hidden state signal hk and the cell state signal ck (which, as described herein, are generated by the first MGR unit 354) as scale and shift parameters to compute an output yk as follows:
where yk is the output of the network depth calibration layer for block (k), hk and ck are the hidden state signal and cell state signal, respectively, generated by the first MGR unit 354, and {circumflex over (x)}k is the standardized feature generated by the STD function 356. In this way, the calibrated 3D feature yk receives the feature distribution dynamics of the previous layer and relays its calibration statistics to the next layer via the shared network depth relay structure.
Some or all components and features of the network depth calibration layer 350 can be implemented using one or more of a CPU, a GPU, an AI accelerator, an FPGA accelerator, an ASIC, and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the network depth calibration layer 350 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as RAM, read only memory ROM, PROM, firmware, flash memory, etc., in configurable logic such as, for example, PLAs, FPGAs, CPLDs, in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, CMOS or TTL technology, or any combination thereof.
where ϕ(⋅) is a bottleneck unit for processing the spatial-temporal aggregation
where ck is the updated cell state signal, hk is the updated hidden state signal, ck−1 is the cell state signal from the preceding network depth calibration layer of block (k−1), σ(⋅) is the sigmoid function, and ⊙ is the Hadamard product operator.
Some or all components and features of the MGR unit 360 and/or the MGR unit 380 can be implemented using one or more of a CPU, a GPU, an AI accelerator, an FPGA accelerator, an ASIC, and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the MGR unit 360 and/or the MGR unit 380 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as RAM, read only memory ROM, PROM, firmware, flash memory, etc., in configurable logic such as, for example, PLAs, FPGAs, CPLDs, in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, CMOS or TTL technology, or any combination thereof.
The feature map xn as output from the convolution layer 402 can be split into a set of T slices 404 {xn,1, xn,2, . . . xn,t . . . , xn,T} along the temporal dimension, such that each slice xn,t represents a feature slice corresponding to one or more frames (e.g., an input frame or frames for a tth slice). In some embodiments, the feature slices 404 {xn,1, xn,2, . . . xn,t−1, xn,t, xn,t+1, . . . , xn,T} can represent a feature map split along a feature dimension other than the temporal dimension.
The feature dimension calibration structure 400 includes a plurality of feature dimension calibration slices (e.g., FCAA-T (slice t)) arranged in a feature dimension relay structure 410. The feature dimension relay structure 410 includes a feature dimension calibration slice 412 (for slice t−1), a feature dimension calibration slice 414 (for slice t), and a feature dimension calibration slice 416 (for slice t+1), etc. Each feature dimension calibration slice receives an input from the respective feature slice (e.g., xn,t,) and produces an output slice (e.g., yn,t). The output is a set of T slices 406 {yn,1, yn,2, . . . yn,t−1, yn,t, yn,t+1, . . . , yn,T}.
Each feature dimension calibration slice (that is, each feature dimension calibration slice other than the initial slice t=1) is also coupled to a feature dimension calibration slice in a respective preceding slice via a hidden state signal and a cell state signal received from the feature dimension calibration slice of the respective preceding slice. Thus, as shown in the example of
For example, the feature dimension calibration slice 412 (for slice t−1) receives input from slice xn,t−1 and also receives a hidden state signal and a cell state signal from a feature calibration slice in a preceding slice (not shown in
Similarly, the feature dimension calibration slice 414 (for slice t) receives input from slice xn,t and also receives a hidden state signal ht−1 and a cell state signal ct−1 from the feature dimension calibration slice 412 (for slice t−1), and produces an output slice yn,t. For the next slice, the feature dimension calibration slice 416 (for slice t+1) receives input from slice xn,t+1 and also receives a hidden state signal ht and a cell state signal ct from the feature dimension calibration slice 414 (for slice t), and produces an output slice yn,t+1. The output slices 406 {yn,1, yn,2, . . . yn,t−1, yn,t, yn,t+1, . . . , yn,T} can be combined into a feature map yn and, as illustrated for the example of
The feature dimension calibration structure 400 can include one or more optional activation layer(s), such as activation layer 408. Each activation layer 408 can include an activation function useful for CNNs, such as, e.g., a rectified linear unit (ReLU) function, a SoftMax function, etc. In some embodiments, the activation functions of the activation layer 408 can be incorporated into the feature dimension calibration slices 412, 414 and/or 416. The feature dimension calibration structure 400 can include one or more additional/optional neural network layers, such as convolution layers (not shown in
Some or all components and features of the feature dimension calibration structure 400 can be implemented using one or more of a central processing unit (CPU), a graphics processing unit (GPU), an artificial intelligence (AI) accelerator, a field programmable gate array (FPGA) accelerator, an application specific integrated circuit (ASIC), and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the feature dimension calibration structure 400 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as random access memory (RAM), read only memory (ROM), programmable ROM (PROM), firmware, flash memory, etc., in configurable logic such as, for example, programmable logic arrays (PLAs), FPGAs, complex programmable logic devices (CPLDs), in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, complementary metal oxide semiconductor (CMOS) or transistor-transistor logic (TTL) technology, or any combination thereof.
The feature dimension calibration slice 450 can include a second GAP function 452, a second MGR unit 454, a second STD function 456, and a second LNT function 458. The GAP function 452 is a function known for use in CNNs, and is of the same form as the GAP function 352 (
which represents a spatial aggregation of the input feature slice xn,t. For an input feature map having dimensionality (N×C×T×H×W), the GAP function 452 produces a resulting output of dimensionality (N×C×1).
The output of the GAP function 452,
The updated hidden state signal ht and the updated cell state signal ct feed into the LNT function 458, and also feed into a feature dimension calibration slice of a succeeding slice (t+1). Further details regarding the second MGR unit 454 are provided herein with reference to
The STD function 456 is of the same form as the STD function 356 (
where μ and σ are mean and standard deviation computed within non-overlapping subsets of the input feature map, and ϵ is a small constant to preserve numerical stability. The output of the STD function 456,
The LNT function 458 is of the same form as the LNT function 358 (
where yn,t is the output of the feature dimension calibration slice for slice (t), ht and ct are the hidden state signal and cell state signal, respectively, generated by the second MGR unit 454, and {circumflex over (x)}n,t is the standardized feature generated by the STD function 456. In this way, the calibrated 3D feature yn,t receives the feature distribution dynamics of the previous time slice (e.g., timestamp) and relays its calibration statistics to the next time slice (e.g., timestamp) via the shared feature dimension relay structure.
Some or all components and features of the feature dimension calibration slice 450 can be implemented using one or more of a CPU, a GPU, an AI accelerator, an FPGA accelerator, an ASIC, and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the feature dimension calibration slice 450 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as RAM, read only memory ROM, PROM, firmware, flash memory, etc., in configurable logic such as, for example, PLAs, FPGAs, CPLDs, in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, CMOS or TTL technology, or any combination thereof.
where ϕ(⋅) is a bottleneck unit for processing the spatial aggregation
where ct is the updated cell state signal, ht is the updated hidden state signal, ct−1 is the cell state signal from the preceding slice (t−1), σ(⋅) is the sigmoid function, and ⊙ is the Hadamard product operator.
Some or all components and features of the MGR unit 460 and/or the MGR unit 480 can be implemented using one or more of a CPU, a GPU, an AI accelerator, an FPGA accelerator, an ASIC, and/or via a processor with software, or in a combination of a processor with software and an FPGA or ASIC. More particularly, components and features of the MGR unit 460 and/or the MGR unit 480 can be implemented in one or more modules as a set of logic instructions stored in a non-transitory machine- or computer-readable storage medium such as RAM, read only memory ROM, PROM, firmware, flash memory, etc., in configurable logic such as, for example, PLAs, FPGAs, CPLDs, in fixed-functionality logic hardware using circuit technology such as, for example, ASIC, CMOS or TTL technology, or any combination thereof.
The neural network structures and/or the network depth calibration layer(s) and the feature dimension calibration layer(s) described herein (e.g.,
Illustrated processing block 502 provides for generating a plurality of convolution layers in a neural network. Illustrated processing block 504 provides for arranging in the neural network a network depth relay structure comprising a plurality of network depth calibration layers, where each network depth calibration layer is coupled to an output of a respective one of the plurality of convolution layers. Illustrated processing block 506 provides for arranging in the neural network a feature dimension relay structure comprising a plurality of feature dimension calibration slices, where the feature dimension relay structure is coupled to an output of another layer of the plurality of convolution layers.
At illustrated processing block 522, each network depth calibration layer includes a first meta-gating relay (MGR) unit, where at illustrated processing block 524 each network depth calibration layer is coupled to a preceding network depth calibration layer via a first hidden state signal and a first cell state signal, each of the first hidden state signal and the first cell state signal generated by a respective first MGR unit of the preceding network depth calibration layer. Illustrated processing block 524 can generally be substituted for at least a portion of illustrated processing block 504.
At illustrated processing block 526, each feature dimension calibration slice includes a second meta-gating relay (MGR) unit, where at illustrated processing block 528 each feature dimension calibration slice is coupled to a preceding feature dimension calibration slice via a second hidden state signal and a second cell state signal, each of the second hidden state signal and the second cell state signal generated by a respective second MGR unit of the preceding feature dimension calibration unit. Illustrated processing block 528 can generally be substituted for at least a portion of illustrated processing block 506.
At illustrated processing block 530, each of the first MGR unit and the second MGR unit includes a modified long-short term memory (LSTM) cell. In some embodiments, the modified LSTM cell can include a gating mechanism employing a bottleneck unit.
At illustrated processing block 532, each network depth calibration layer calibration unit further includes a first global average pooling (GAP) function, a first standardization (STD) function and a first linear transformation (LNT) function. The first GAP function is operative on a feature map, the first STD function is operative on the feature map, and the first LNT function is operative on an output of the first STD function, where the first LNT function is based on the first hidden state signal generated by the first MGR unit and on the first cell state signal generated by the first MGR unit.
At illustrated processing block 534, each feature dimension calibration unit further includes a second GAP function, a second STD function and a second LNT function. The second GAP function is operative on a feature slice, the second STD function is operative on the feature slice, and the second LNT function is operative on an output of the second STD function, where the second LNT function is based on the second hidden state signal generated by the second MGR unit and on the second cell state signal generated by the second MGR unit.
Thus, the disclosed technology provides for a combination of the network depth relay structure and the feature dimension relay structure that serves to associate the 3D feature distribution dependencies both along the temporal dimension and along network depth (e.g., between neighboring layers or blocks). By employing the neural network technology as described herein with reference to
The bright areas of each activation map as shown in
The system 10 can also include an input/output (I/O) subsystem 16. The I/O subsystem 16 can communicate with for example, one or more input/output (I/O) devices 17, a network controller 24 (e.g., wired and/or wireless NIC), and storage 22. The storage 22 can be comprised of any appropriate non-transitory machine- or computer-readable memory type (e.g., flash memory, DRAM, SRAM (static random access memory), solid state drive (SSD), hard disk drive (HDD), optical disk, etc.). The storage 22 can include mass storage. In some embodiments, the host processor 12 and/or the I/O subsystem 16 can communicate with the storage 22 (all or portions thereof) via a network controller 24. In some embodiments, the system 10 can also include a graphics processor 26 (e.g., a graphics processing unit/GPU) and an AI accelerator 27. In an embodiment, the system 10 can also include a vision processing unit (VPU), not shown.
The host processor 12 and the I/O subsystem 16 can be implemented together on a semiconductor die as a system on chip (SoC) 11, shown encased in a solid line. The SoC 11 can therefore operate as a computing apparatus for image sequence/video analysis. In some embodiments, the SoC 11 can also include one or more of the system memory 20, the network controller 24, and/or the graphics processor 26 (shown encased in dotted lines). In some embodiments, the SoC 11 can also include other components of the system 10.
The host processor 12 and/or the I/O subsystem 16 can execute program instructions 28 retrieved from the system memory 20 and/or the storage 22 to perform one or more aspects of process 500 and/or process 520 as described herein with reference to
Computer program code to carry out the processes described above can be written in any combination of one or more programming languages, including an object-oriented programming language such as JAVA, JAVASCRIPT, PYTHON, SMALLTALK, C++ or the like and/or conventional procedural programming languages, such as the “C” programming language or similar programming languages, and implemented as program instructions 28. Additionally, program instructions 28 can include assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, state-setting data, configuration data for integrated circuitry, state information that personalizes electronic circuitry and/or other structural components that are native to hardware (e.g., host processor, central processing unit/CPU, microcontroller, microprocessor, etc.).
I/O devices 17 can include one or more of input devices, such as a touch-screen, keyboard, mouse, cursor-control device, touch-screen, microphone, digital camera, video recorder, camcorder, biometric scanners and/or sensors; input devices can be used to enter information and interact with system 10 and/or with other devices. The I/O devices 17 can also include one or more of output devices, such as a display (e.g., touch screen, liquid crystal display/LCD, light emitting diode/LED display, plasma panels, etc.), speakers and/or other visual or audio output devices. The input and/or output devices can be used, e.g., to provide a user interface.
The semiconductor apparatus 30 can be constructed using any appropriate semiconductor manufacturing processes or techniques. For example, the logic 34 can include transistor channel regions that are positioned (e.g., embedded) within the substrate(s) 32. Thus, the interface between the logic 34 and the substrate(s) 32 may not be an abrupt junction. The logic 34 can also be considered to include an epitaxial layer that is grown on an initial wafer of the substrate(s) 34.
The processor core 40 is shown including execution logic 50 having a set of execution units 55-1 through 55-N. Some embodiments can include a number of execution units dedicated to specific functions or sets of functions. Other embodiments can include only one execution unit or one execution unit that can perform a particular function. The illustrated execution logic 50 performs the operations specified by code instructions.
After completion of execution of the operations specified by the code instructions, back end logic 58 retires the instructions of code 42. In one embodiment, the processor core 40 allows out of order execution but requires in order retirement of instructions. Retirement logic 59 can take a variety of forms as known to those of skill in the art (e.g., re-order buffers or the like). In this manner, the processor core 40 is transformed during execution of the code 42, at least in terms of the output generated by the decoder, the hardware registers and tables utilized by the register renaming logic 46, and any registers (not shown) modified by the execution logic 50.
Although not illustrated in
The system 60 is illustrated as a point-to-point interconnect system, wherein the first processing element 70 and the second processing element 80 are coupled via a point-to-point interconnect 71. It should be understood that any or all of the interconnects illustrated in
As shown in
Each processing element 70, 80 can include at least one shared cache 99a, 99b. The shared cache 99a, 99b can store data (e.g., instructions) that are utilized by one or more components of the processor, such as the cores 74a, 74b and 84a, 84b, respectively. For example, the shared cache 99a, 99b can locally cache data stored in a memory 62, 63 for faster access by components of the processor. In one or more embodiments, the shared cache 99a, 99b can include one or more mid-level caches, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, a last level cache (LLC), and/or combinations thereof.
While shown with only two processing elements 70, 80, it is to be understood that the scope of the embodiments is not so limited. In other embodiments, one or more additional processing elements can be present in a given processor. Alternatively, one or more of the processing elements 70, 80 can be an element other than a processor, such as an accelerator or a field programmable gate array. For example, additional processing element(s) can include additional processors(s) that are the same as a first processor 70, additional processor(s) that are heterogeneous or asymmetric to processor a first processor 70, accelerators (such as, e.g., graphics accelerators or digital signal processing (DSP) units), field programmable gate arrays, or any other processing element. There can be a variety of differences between the processing elements 70, 80 in terms of a spectrum of metrics of merit including architectural, micro architectural, thermal, power consumption characteristics, and the like. These differences can effectively manifest themselves as asymmetry and heterogeneity amongst the processing elements 70, 80. For at least one embodiment, the various processing elements 70, 80 can reside in the same die package.
The first processing element 70 can further include memory controller logic (MC) 72 and point-to-point (P-P) interfaces 76 and 78. Similarly, the second processing element 80 can include a MC 82 and P-P interfaces 86 and 88. As shown in
The first processing element 70 and the second processing element 80 can be coupled to an I/O subsystem 90 via P-P interconnects 76 and 86, respectively. As shown in
In turn, the I/O subsystem 90 can be coupled to a first bus 65 via an interface 96. In one embodiment, the first bus 65 can be a Peripheral Component Interconnect (PCI) bus, or a bus such as a PCI Express bus or another third generation I/O interconnect bus, although the scope of the embodiments are not so limited.
As shown in
Note that other embodiments are contemplated. For example, instead of the point-to-point architecture of
Embodiments of each of the above systems, devices, components and/or methods, including the system 100, the neural network 110, the neural network structure 200, the network depth calibration structure 300, the network depth relay structure 310, the network depth calibration layer 350, the MGR unit 360, the MGR unit 380, the feature dimension calibration structure 400, the feature dimension relay structure 410, the feature dimension calibration slice 450, the MGR unit 460, the MGR unit 480, the process 500, and/or the process 520, and/or any other system components, can be implemented in hardware, software, or any suitable combination thereof. For example, hardware implementations can include configurable logic such as, for example, PLAs, FPGAs, CPLDs, or fixed-functionality logic hardware using circuit technology such as, for example, ASIC, CMOS or TTL technology, or any combination thereof.
Alternatively, or additionally, all or portions of the foregoing systems and/or components and/or methods can be implemented in one or more modules as a set of logic instructions stored in a machine- or computer-readable storage medium such as RAM, ROM, PROM, firmware, flash memory, etc., to be executed by a processor or computing device. For example, computer program code to carry out the operations of the components can be written in any combination of one or more operating system (OS) applicable/appropriate programming languages, including an object-oriented programming language such as PYTHON, PERL, JAVA, SMALLTALK, C++, C #or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
Example 1 includes a computing system, comprising a processor, and a memory coupled to the processor, the memory storing a neural network, the neural network comprising a plurality of convolution layers, a network depth relay structure comprising a plurality of network depth calibration layers, wherein each network depth calibration layer is coupled to an output of a respective one of the plurality of convolution layers, and a feature dimension relay structure comprising a plurality of feature dimension calibration slices, wherein the feature dimension relay structure is coupled to an output of another layer of the plurality of convolution layers.
Example 2 includes the computing system of Example 1, wherein each network depth calibration layer comprises a first meta-gating relay (MGR) unit, and wherein each network depth calibration layer is coupled to a preceding network depth calibration layer via a first hidden state signal and a first cell state signal, each of the first hidden state signal and the first cell state signal generated by a respective first MGR unit of the preceding network depth calibration layer.
Example 3 includes the computing system of Example 2, wherein each feature dimension calibration slice comprises a second meta-gating relay (MGR) unit, and wherein each feature dimension calibration slice is coupled to a preceding feature dimension calibration slice via a second hidden state signal and a second cell state signal, each of the second hidden state signal and the second cell state signal generated by a respective second MGR unit of the preceding feature dimension calibration unit.
Example 4 includes the computing system of Example 3, wherein each of the first MGR unit and the second MGR unit comprises a modified long-short term memory (LSTM) cell.
Example 5 includes the computing system of Example 4, wherein each network depth calibration layer further comprises a first global average pooling (GAP) function operative on a feature map, a first standardization (STD) function operative on the feature map, and a first linear transformation (LNT) function operative on an output of the first STD function, the first LNT function based on the first hidden state signal generated by the first MGR unit and on the first cell state signal generated by the first MGR unit, and wherein each feature dimension calibration slice further comprises a second GAP function operative on a feature slice, a second STD function operative on the feature slice, and a second LNT function operative on an output of the second STD function, the second LNT function based on the second hidden state signal generated by the second MGR unit and on the second cell state signal generated by the second MGR unit.
Example 6 includes the computing system of any one of Examples 1-5, wherein the feature dimension relay structure associates calibrated features along a temporal dimension.
Example 7 includes a semiconductor apparatus comprising one or more substrates, and logic coupled to the one or more substrates, wherein the logic is implemented at least partly in one or more of configurable logic or fixed-functionality hardware logic, the logic coupled to the one or more substrates comprising a neural network, the neural network comprising a plurality of convolution layers, a network depth relay structure comprising a plurality of network depth calibration layers, wherein each network depth calibration layer is coupled to an output of a respective one of the plurality of convolution layers, and a feature dimension relay structure comprising a plurality of feature dimension calibration slices, wherein the feature dimension relay structure is coupled to an output of another layer of the plurality of convolution layers.
Example 8 includes the apparatus of Example 7, wherein each network depth calibration layer comprises a first meta-gating relay (MGR) unit, and wherein each network depth calibration layer is coupled to a preceding network depth calibration layer via a first hidden state signal and a first cell state signal, each of the first hidden state signal and the first cell state signal generated by a respective first MGR unit of the preceding network depth calibration layer.
Example 9 includes the apparatus of Example 8, wherein each feature dimension calibration slice comprises a second meta-gating relay (MGR) unit, and wherein each feature dimension calibration slice is coupled to a preceding feature dimension calibration slice via a second hidden state signal and a second cell state signal, each of the second hidden state signal and the second cell state signal generated by a respective second MGR unit of the preceding feature dimension calibration unit.
Example 10 includes the apparatus of Example 9, wherein each of the first MGR unit and the second MGR unit comprises a modified long-short term memory (LSTM) cell.
Example 11 includes the apparatus of Example 10, wherein each network depth calibration layer further comprises a first global average pooling (GAP) function operative on a feature map, a first standardization (STD) function operative on the feature map, and a first linear transformation (LNT) function operative on an output of the first STD function, the first LNT function based on the first hidden state signal generated by the first MGR unit and on the first cell state signal generated by the first MGR unit, and wherein each feature dimension calibration slice further comprises a second GAP function operative on a feature slice, a second STD function operative on the feature slice, and a second LNT function operative on an output of the second STD function, the second LNT function based on the second hidden state signal generated by the second MGR unit and on the second cell state signal generated by the second MGR unit.
Example 12 includes the apparatus of any one of Examples 7-11, wherein the feature dimension relay structure associates calibrated features along a temporal dimension.
Example 13 includes the apparatus of Example 7, wherein the logic coupled to the one or more substrates includes transistor channel regions that are positioned within the one or more substrates.
Example 14 includes at least one computer readable storage medium comprising a set of instructions which, when executed by a computing system, cause the computing system to generate a plurality of convolution layers in a neural network, arrange in the neural network a network depth relay structure comprising a plurality of network depth calibration layers, wherein each network depth calibration layer is coupled to an output of a respective one of the plurality of convolution layers, and arrange in the neural network a feature dimension relay structure comprising a plurality of feature dimension calibration slices, wherein the feature dimension relay structure is coupled to an output of another layer of the plurality of convolution layers.
Example 15 includes the at least one computer readable storage medium of Example 14, wherein each network depth calibration layer comprises a first meta-gating relay (MGR) unit, and wherein each network depth calibration layer is coupled to a preceding network depth calibration layer via a first hidden state signal and a first cell state signal, each of the first hidden state signal and the first cell state signal generated by a respective first MGR unit of the preceding network depth calibration layer.
Example 16 includes the at least one computer readable storage medium of Example 15, wherein each feature dimension calibration slice comprises a second meta-gating relay (MGR) unit, and wherein each feature dimension calibration slice is coupled to a preceding feature dimension calibration slice via a second hidden state signal and a second cell state signal, each of the second hidden state signal and the second cell state signal generated by a respective second MGR unit of the preceding feature dimension calibration unit.
Example 17 includes the at least one computer readable storage medium of Example 16, wherein each of the first MGR unit and the second MGR unit comprises a modified long-short term memory (LSTM) cell.
Example 18 includes the at least one computer readable storage medium of Example 17, wherein each network depth calibration layer further comprises a first global average pooling (GAP) function operative on a feature map, a first standardization (STD) function operative on the feature map, and a first linear transformation (LNT) function operative on an output of the first STD function, the first LNT function based on the first hidden state signal generated by the first MGR unit and on the first cell state signal generated by the first MGR unit, and wherein each feature dimension calibration slice further comprises a second GAP function operative on a feature slice, a second STD function operative on the feature slice, and a second LNT function operative on an output of the second STD function, the second LNT function based on the second hidden state signal generated by the second MGR unit and on the second cell state signal generated by the second MGR unit.
Example 19 includes the at least one computer readable storage medium of any one of Examples 14-18, wherein the feature dimension relay structure associates calibrated features along a temporal dimension.
Example 20 includes a method comprising generating a plurality of convolution layers in a neural network, arranging in the neural network a network depth relay structure comprising a plurality of network depth calibration layers, wherein each network depth calibration layer is coupled to an output of a respective one of the plurality of convolution layers, and arranging in the neural network a feature dimension relay structure comprising a plurality of feature dimension calibration slices, wherein the feature dimension relay structure is coupled to an output of another layer of the plurality of convolution layers.
Example 21 includes the method of Example 20, wherein each network depth calibration layer comprises a first meta-gating relay (MGR) unit, and wherein each network depth calibration layer is coupled to a preceding network depth calibration layer via a first hidden state signal and a first cell state signal, each of the first hidden state signal and the first cell state signal generated by a respective first MGR unit of the preceding network depth calibration layer.
Example 22 includes the method of Example 21, wherein each feature dimension calibration slice comprises a second meta-gating relay (MGR) unit, and wherein each feature dimension calibration slice is coupled to a preceding feature dimension calibration slice via a second hidden state signal and a second cell state signal, each of the second hidden state signal and the second cell state signal generated by a respective second MGR unit of the preceding feature dimension calibration unit.
Example 23 includes the method of Example 22, wherein each of the first MGR unit and the second MGR unit comprises a modified long-short term memory (LSTM) cell.
Example 24 includes the method of Example 23, wherein each network depth calibration layer further comprises a first global average pooling (GAP) function operative on a feature map, a first standardization (STD) function operative on the feature map, and a first linear transformation (LNT) function operative on an output of the first STD function, the first LNT function based on the first hidden state signal generated by the first MGR unit and on the first cell state signal generated by the first MGR unit, and wherein each feature dimension calibration slice further comprises a second GAP function operative on a feature slice, a second STD function operative on the feature slice, and a second LNT function operative on an output of the second STD function, the second LNT function based on the second hidden state signal generated by the second MGR unit and on the second cell state signal generated by the second MGR unit.
Example 25 includes the method of any one of Examples 20-24, wherein the feature dimension relay structure associates calibrated features along a temporal dimension.
Example 26 includes an apparatus comprising means for performing the method of any one of claims 20-24.
Thus, technology described herein improves the performance of computing systems used in image sequence/video analysis tasks, both as to significant speed-up in training and in improvement in accuracy. The technology described herein may be applicable in any number of computing scenarios, including, e.g., deployment of deep video models on edge/cloud devices and in high-performance distributed/parallel computing systems.
Embodiments are applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chipset components, PLAs, memory chips, network chips, systems on chip (SoCs), SSD/NAND controller ASICs, and the like. In addition, in some of the drawings, signal conductor lines are represented with lines. Some may be different, to indicate more constituent signal paths, have a number label, to indicate a number of constituent signal paths, and/or have arrows at one or more ends, to indicate primary information flow direction. This, however, should not be construed in a limiting manner. Rather, such added detail may be used in connection with one or more exemplary embodiments to facilitate easier understanding of a circuit. Any represented signal lines, whether or not having additional information, may actually comprise one or more signals that may travel in multiple directions and may be implemented with any suitable type of signal scheme, e.g., digital or analog lines implemented with differential pairs, optical fiber lines, and/or single-ended lines.
Example sizes/models/values/ranges may have been given, although embodiments are not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the figures, for simplicity of illustration and discussion, and so as not to obscure certain aspects of the embodiments. Further, arrangements may be shown in block diagram form in order to avoid obscuring embodiments, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the platform within which the embodiment is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments, it should be apparent to one skilled in the art that embodiments can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.
The term “coupled” may be used herein to refer to any type of relationship, direct or indirect, between the components in question, and may apply to electrical, mechanical, fluid, optical, electromagnetic, electromechanical or other connections, including logical connections via intermediate components (e.g., device A may be coupled to device C via device B). In addition, the terms “first”, “second”, etc. may be used herein only to facilitate discussion, and carry no particular temporal or chronological significance unless otherwise indicated.
As used in this application and in the claims, a list of items joined by the term “one or more of” may mean any combination of the listed terms. For example, the phrases “one or more of A, B or C” may mean A, B, C; A and B; A and C; B and C; or A, B and C.
Those skilled in the art will appreciate from the foregoing description that the broad techniques of the embodiments can be implemented in a variety of forms. Therefore, while the embodiments have been described in connection with particular examples thereof, the true scope of the embodiments should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/123421 | 10/13/2021 | WO |