Target motion tracking method based on brain-inspired memory network
Patent Information
- Application Number
- GB2022018183
- Authority / Receiving Office
- GB · GB
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-10-11
- Filing Date
- 2022-12-02
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2042-12-02
AI Technical Summary
Traditional visual target tracking algorithms face challenges in complex environments due to limited memory expression ability and failure to effectively update memory content, leading to tracking drift or failure during severe deformation and occlusion.
A target motion tracking method based on a brain-inspired memory network that uses a VGG16 backbone network for feature extraction and an attention-driven module to mine essential attribute features, reducing dependence on scene information and improving adaptability through online training and memory updating.
The method enhances the robustness and accuracy of target positioning by effectively exploring changes in appearance from time and space dimensions, ensuring stable memory updating and improving the tracking algorithm's adaptability to challenges like target deformation.
Smart Images

Figure 00000001_0000 
Figure 00000002_0000 
Figure 00000003_0000
Abstract
Description
The following terms are registered trade ma: an should be rea assuc w they occur in this document; Python, Intel and NVIDIA TARGET MOTION TRACKING METHOD BASED ON BRAIN-INSPIRED MEMORY NETWORK TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of target tracking, and in particular, to a target motion tracking method based on a brain-inspired memory network. BACKGROUND
[0002] Visual target tracking is a task to locate and estimate the scale of any object in the video sequence under the given target state of the initial frame. In addition, target tracking is widely used in computer vision tasks, such as automatic driving and video surveillance. Although some trackers have shown excellent tracking performance in recent years, visual target tracking is still an important research topic in computer vision due to severe deformation, illumination variation and occlusion.
[0003] In recent years, memory mechanism has attracted much attention in tracking task because of its ability to bring high robustness to the tracker by using the target information in the previous paper. Although these trackers try their best to obtain target information from the memory mechanism, tracking failures still occur in complex environments. This is mainly due to the lack of memory content mining and the limited memory expression ability. In addition, in the tracking process, the state of the target has been changing over time. Without effective and timely updating of the memory content, the tracker cannot accurately predict the target position. When severe deformation occurs and the background is cluttered, the simple memory storage mechanism only preserves the previous state of the target, and does not mine the essentially invariant attribute features of the target in memory. Therefore, it cannot effectively distinguish the target from the surrounding background information, leading to tracking drift or even tracking failure.
[0004] Therefore, it is necessary to provide a target tracking method that can mine the essential attribute memory of the target, reduce the tracker's dependence on scene information, and effectively highlight the brain-inspired long-term memory of the target. SUMMARY
[0005] In view of the shortcomings of the above background, the present disclosure provides a target motion tracking method based on a brain-inspired memory network to improve robustness of a tracking algorithm, so as to solve the problems that a traditional memory-related tracking algorithm cannot obtain essential memory of a target, and it is difficult to effectively improve adaptability of tracking to changes in appearance of the target.
[0006] The technical solution of the present disclosure is implemented as follows.
[0007] A target motion tracking method based on a brain-inspired memory network includes the following steps:
[0008] S1, according to an initial frame of image and initial real position information of a target, extracting feature information of the target using a visual geometry group (VGG16) backbone network, training a long-term memory network online, and storing a real state of the target in the brain-inspired long-term memory network;
[0009] S2, reading a next frame of image, and extracting current image features using the VGG16 backbone network;
[0010] S3, inputting feature information of a current frame into the brain-inspired long-term memory network, mining target information using an attention-driven module in combination with previous memory content, and predicting a target position;
[0011] S4, determining whether confidence of current tracking results is greater than a stability threshold, if yes, performing step S5; otherwise, returning to step S2 until target positions corresponding to all frames in a video are predicted; and
[0012] SS, capturing a target image from the tracking results, extracting feature information of the target using the VGG16 backbone network, writing an extracted feature of the target into a memory internal storage, and updating the brain-inspired long-term tracking network online using the feature information of the target in the memory internal storage.
[0013] Further, a process of mining target information using an attention-driven module in step S3 is as follows: cr=Sco@(St+ur)+uo[l— (se +ur)]
[0014]
[0015] where © represents dot multiplication, %# represents a channel spatial attention mechanism, represents memory knowledge output by a forgetting gate, %! represents memory content of the target in a current input, and ©’ is a memory state for storing long-term memory of previous target information.
[0016] Further, a process of mining target memory using the attention-driven module in step S3 is as follows:
[0017] S3.1, fusing the two parts of memory content to obtain a comprehensive memory, where fused memory information is expressed as:
[0018] F=situ.
[0019] S3.2, mining content of the target memory from a channel, where channel attention is expressed as: [0 M ,(F) = o(MLP(Avgpool(F)) + MLP(Maxpool(F)))
[0021] where F represents the fused memory information, Avgpool() represents global average pooling, Maxxpool() represents global maximum pooling, MLP represents a final channel attention feature map generated in a shared multi-layer perceptron network, and represents a Sigmoid function;
[0022] S3.3, obtaining memory information mined by the channel attention: F'=M(F)®F
[0023]
[0024] where "is the memory information enhanced by the channel attention, and MF) is the channel attention feature map;
[0025] S3.4, exploring the content of the target memory from a spatial dimension, where spatial attention is expressed as follows: 0026] M.(F") = 0(f 7 ([Avgpool (F"): Maxpool(F)))) M(F" fm
[0027] where J is convolution operation of size 7, and MA) is a spatial attention feature map; and i
[0028] S3.5, multiplying the spatial attention feature map MF") by the memory information enhanced by the channel attention "to complete exploration of the memory content by the attention-driven module and obtain a final output Plsi+ ). efor oar Ni TIN EN TH o(si+u)=M(FQF'
[0029]
[0030] Further, a loss function in an online training process in step S5 is as follows: doer exp(Y)) Z oni 2 BiL (di) 0
[0031] N TO
[0032] where exp(¥) is a value of a soft label and represents difficulty of a sample, Bi isa gradient coordination factor, N is a number of samples, and di is a difference between an output and the label.
[0033] Compared with the prior art, the present disclosure achieves the following beneficial effects:
[0034] The method uses the attention-driven module and the previous memory content to mine the feature information that can express the essential attribute of the target, explore changes in appearance of a target from time and space dimensions, reduce dependence of a tracker on scene information, improve reliability of a response graph, and achieve accurate target positioning. Moreover, accuracy of current tracking results is evaluated by a designed threshold, so as to ensure stability of memory updating and improve robustness of the model to the changes of the target, thus improving adaptability of a tracking algorithm to challenges such as target deformation. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, a brief introduction to the accompanying drawings required for the embodiments will be provided below.
[0036] FIG. 1 is a flow chart of a target motion tracking method based on a brain-inspired memory network of the present disclosure;
[0037] FIG. 2 is a schematic diagram of comparison between effects of the brain-inspired memory network of the present disclosure and a long short-term memory (LSTM) network, where a first row is an effect diagram of the LSTM network, and a second row is an effect diagram of the brain-inspired memory network;
[0038] FIG. 3 is a comparison diagram between the present disclosure and other algorithms on OTB-50 and OTB-100 data sets; and
[0039] FIG. 4 is a schematic diagram of tracking effects of the present disclosure and other algorithms. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only a part of, not all of, the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
[0041] As shown in FIG. 1, a target motion tracking method based on a brain-inspired memory network includes the following steps.
[0042] S1, According to an initial frame of image and initial real position information of a target, feature information of the target is extracted using a VGG16 backbone network. A long-term memory network is trained online. A real state of the target is stored in the brain-inspired long-term memory network.
[0043] S2, A next frame of image is read, and current image features are extracted using the VGG16 backbone network.
[0044] S3, Feature information of a current frame is input into the brain-inspired long-term memory network, target information is mined using an attention-driven module in combination with previous memory content, and a target position is predicted.
[0045] A process of mining target information using an attention-driven module is as follows: cr=Sto@(St+u)+uo[l— p(s +u)l 10046]
[0047] where © represents dot multiplication, # represents a channel spatial attention mechanism, represents memory knowledge output by a forgetting gate, %! represents memory content of the target in a current input, and ©’ is a memory state for storing long-term memory of previous target information.
[0048] A process of mining target memory using the attention-driven module is as follows.
[0049] S3.1, The two parts of memory content are fused to obtain a comprehensive memory. Fused memory information is expressed as:
[0050] F=s5+ Ur
[0051] S3.2, Content of the target memory is mined from a channel. Channel attention is expressed as: i M,(F) = 6(MLP(Avgpool(F)) + MLP(Maxpool(F)))
[0053] where F represents the fused memory information, Avgpool() represents global average pooling, Maoxpool() represents global maximum pooling, MLP represents a final channel attention feature map generated in a shared multi-layer perceptron network, and 0 represents a Sigmoid function.
[0054] S3.3, Memory information mined by the channel attention is obtained: F'=M(F)®F |00SS]
[0056] where I "is the memory information enhanced by the channel attention, and MF) is the channel attention feature map.
[0057] S3.4, The content of the target memory is explored from a spatial dimension. Spatial attention is expressed as follows: oss] M.(F)= (#77 ([Avgpool(F"); Maxpool (F")])) M(F" fm
[0059] where is convolution operation of size 7, and VE) is a spatial attention feature map. M(F"
[0060] S3.5, The spatial attention feature map ~~" / is multiplied by the memory information enhanced by the channel attention "to complete exploration of the memory content by the attention-driven module and obtain a final output Plsi+ ur). re uN ALN I Q(st+u)=M(FQF'
[0061]
[0062] S4, Whether confidence of current tracking results is greater than a stability threshold is determined. If yes, step S5 is performed. Otherwise, the method returns to step S2 until target positions corresponding to all frames in a video are predicted.
[0063] SS, A target image is captured from the tracking results. Feature information of the target is extracted using the VGG16 backbone network. An extracted feature of the target is written into a memory internal storage. The brain-inspired long-term tracking network is updated online using the feature information of the target in the memory internal storage.
[0064] A loss function in an online training process is as follows: I= exp(Vi) & 2p 2 BiL (dy)
[0065] N=
[0066] where exp(¥1) is a value of a soft label and represents difficulty of a sample, Bi isa gradient coordination factor which describes the distribution of samples under different gradient norms, N is a number of samples, and dis a difference between an output and the label. The weighted gradient coordination loss function can balance the proportion of different samples according to the gradient norm to reduce the overfitting of simple negative samples. Finally, the brain-inspired memory network can maintain the memory of the state of the target at different times through online training.
[0067] Experiments of the present disclosure are implemented using Python 3.6 on a computer with an Intel i7-9700K central processing unit (CPU) (3.60 GHZ), 16 GB random access memory (RAM), and NVIDIA Quadro RTX 4000.
[0068] As shown in FIG. 2, the present disclosure can obtain more essential memory content through the brain-inspired long-term memory network, highlight the expression of the target, and more effectively deal with the challenge of deformation. As shown in FIG. 3, a target tracking algorithm based on a brain-inspired memory network provided by an example of the present disclosure (ours) is compared with other advanced target tracking algorithms (CFNet, fDSST, SiamFC, SRDCF, and Staple) on OTB-50 and OTB-100 data sets, showing excellent performance in terms of accuracy. As shown in FIG. 4, tracking results of the target tracking algorithm based on the brain-inspired memory network provided by the example of the present disclosure and various excellent algorithms on some frames are displayed in four videos, Bird1, DragonBaby, Human3, and Skating]. In Bird1, there are interfering objects similar to the target and severe deformation of the target during flight. In DragonBaby, the target is blurred due its rapid movement. In the Human3 scene, there are challenges that the target is blocked by other passers-by and interfered by similar targets. In Skating], there are cluttered background, as well as similar interference with the target from other dancers, and deformation of the target caused by changes in lighting. This brings great challenges to the tracker, and even leads to tracking failure of some algorithms. It can be seen from FIG. 4 that the method provided by the present disclosure has achieved more excellent tracking effect.
[0069] The foregoing descriptions are merely specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any modification or replacement easily conceived by those skilled in the art within the technical scope of the present disclosure should fall within the protection scope of the present disclosure. Therefore, the protection scc of the present disclosure shall be subject to the protection scc of the claims.
Claims
WHAT IS CLAIMED IS:
1. A target motion tracking method based on a brain-inspired memory network, comprising the following steps: S1, according to an initial frame of image and initial real position information of a target, extracting feature information of the target using a visual geometry group (VGG16) backbone network, training a long-term memory network online, and storing a real state of the target in the brain-inspired long-term memory network; $2, reading a next frame of image, and extracting current image features using the VGG16 backbone network; S3, inputting feature information of a current frame into the brain-inspired long-term memory network, mining target information using an attention-driven module in combination with previous memory content, and predicting a target position; S4, determining whether confidence of current tracking results is greater than a stability threshold, if yes, performing step S5; otherwise, returning to step S2 until target positions corresponding to all frames in a video are predicted; and SS, capturing a target image from the tracking results, extracting feature information of the target using the VGGI16 backbone network, writing an extracted feature of the target into a memory internal storage, and updating the brain-inspired long-term tracking network online using the feature information of the target in the memory internal storage.
2. The target motion tracking method based on a brain-inspired memory network according to claim 1, wherein a process of mining target information using an attention-driven module in step S3 is as follows: cr=Sto@(St+ ur) +uro[l— (se +ur)] wherein © represents dot multiplication, ? represents a channel spatial attention mechanism, represents memory knowledge output by a forgetting gate, ¥! represents memory content of the target in a current input, and ©’ is a memory state for storing long-term memory of previous target information.
3. The target motion tracking method based on a brain-inspired memory network according to claim 1, wherein a process of mining target memory using the attention-driven module in step S3 is as follows: $3.1, fusing the two parts of memory content to obtain a comprehensive memory, wherein fused memory information is expressed as: F=s+u. $3.2, mining content of the target memory from a channel, wherein channel attention is expressed as: M (F)=oc(MLP(A4vgpool(F)) + MLP(Maxpool (F))) F renrecente the filced memory information Avgpool() wherein {* represents the fused memory information, “7 SF represents global average pooling, Mapool() represents global maximum pooling, MLP represents a final channel attention feature map generated in a shared multi-layer perceptron network, and CO represents a Sigmoid function; $3.3, obtaining memory information mined by the channel attention: F'=M(F)QF wherein Fis the memory information enhanced by the channel attention, and MAF) is the channel attention feature map; $3.4, exploring the content of the target memory from a spatial dimension, wherein spatial attention is expressed as follows: M (F")=o(f""([Avgpool(F"); Maxpool(F")])) x7 rr f Bi mvrwrevirn tiv Arn rarrsrat rors iv arses NY wend M(F") wherein + is convolution operation of size 7, and MATT is a spatial attention feature map; and M(F") $3.5, multiplying the spatial attention feature map “~~ %° / by the memory information enhanced by the channel attention F "to complete exploration of the memory content by the attention-driven module and obtain a final output Plsi+ ), nl: 3 an Noo NA FEENEY o(st+u)=M(F)Q F' 4. The target motion tracking method based on a brain-inspired memory network according to claim 1, wherein a loss function in an online training process in step S5 is as follows: z _ exp(¥) > — 2 BiL(di) CRPUTTY 1 nie ct ele RA Ve eerie ARG Fie aie BY wherein “Fis a value of a soft label and represents difficulty of a sample, ~' isa gradient coordination factor, N is a number of samples, and d; is a difference between an output and the label. CLAIMS 1. A target motion tracking method based on a memory network, comprising the following steps: S1, according to an initial frame of image and initial real position information of a target, extracting feature information of the target using a visual geometry group (VGG16) backbone network, training a long-term memory network online, and storing a real state of the target in the long-term memory network; S2, reading a next second frame of image, and extracting the feature information of the target of the second frame of image using the VGG16 backbone network; S3, inputting the feature information of the target of the second frame of image into the long-term memory network, mining target information using an attention-driven module in combination with previous memory content, and predicting a target position; S4, determining whether confidence of current tracking results is greater than a stability threshold, if yes, performing step S5; otherwise, returning to step S2 until target positions corresponding to all frames in a video are predicted; and S5, capturing a target image from the tracking results, extracting feature information of the target using the VGG16 backbone network, writing an extracted feature of the target into a memory internal storage, and updating the long-term tracking network online using the feature information of the target in the memory internal storage, wherein a process of mining target information using an attention-driven module in step S3 is as follows: cr=5810 @Q(St+ ur) + uso [1 = @(st + ur) wherein © represents dot multiplication, ¢ represents a channel spatial attention mechanism, 5° represents memory knowledge output by a forgetting gate, ur represents memory content of the target in a current input, and €' is a memory state for storing long-term memory of previous target information, and ‘wherein a process of mining target memory using the attention-driven module in step S3 is as follows: $3.1, fusing the two parts of memory content to obtain a comprehensive memory, wherein the fused memory information is expressed as: F=s:+u. §3.2, mining the memory content of the target from a channel, wherein channel attention is expressed as: CLAIMS M _(F)=oc(MLP(Avgpool(F))+MLP(Maxpool(F))) wherein F represents the fused memory information, Avgpool() represents global average pooling, Maxpool() represents global maximum pooling, MLP global average pooling, Maxpool() represents global maximum pooling, MLP represents a final channel attention feature map generated in a shared multi-layer perceptron network, and oc represents a Sigmoid function; $3.3, obtaining memory information mined by the channel attention: F'=M(F)®F ’ wherein Fis the memory information enhanced by the channel attention, and MF) is the channel attention feature map; S3.4, exploring the memory content of the target from a spatial dimension, wherein spatial attention is expressed as follows: M _(Fy=o(f™ ([Avgpool(F’); Maxpool(F’)])) xT 7: wherein f is convolution operation of size 7, and M(F) is a spatial attention feature map; and §3.5, multiplying the spatial attention feature map MAF’) by the memory information enhanced by the channel attention F' to complete exploration of the memory content by the attention-driven module and obtain a final output Psi + ur), fe La —= AMT ET P(si+u)=M(F)®F’ 2. The target motion tracking method based on a memory network according to claim 1, wherein a loss function in an online training process in step S35 is as follows: N L =I) oan N We i=1 wherein exp(¥) is a value of a soft label and represents difficulty of a sample, Bi isa gradient coordination factor, N is a number of samples, and d; is a difference between an output and the label.
