Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR DETECTING OBJECT IN IMAGE AND OBJECTION DETECTION SYSTEM
Document Type and Number:
WIPO Patent Application WO/2018/021576
Kind Code:
A1
Abstract:
A method detects an object in an image. The method extracts a first feature vector from a first region of an image using a first subnetwork and determines a second region of the image by processing the first feature vector with a second subnetwork. The method also extracts a second feature vector from the second region of the image using the first subnetwork and detects the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding region surrounding the object and a class of the object. The first subnetwork, the second subnetwork, and the third subnetwork form a neural network. Also, a size of the first region differs from a size of the second region.

Inventors:
LIU MING-YU (US)
TUZEL ONCEL (US)
FARAHMAND AMIR MASSOUD (US)
HARA KOTA (US)
Application Number:
PCT/JP2017/027582
Publication Date:
February 01, 2018
Filing Date:
July 21, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MITSUBISHI ELECTRIC CORP (JP)
International Classes:
G06V10/764
Other References:
VOLODYMYR MNIH ET AL: "Recurrent Models of Visual Attention", 24 June 2014 (2014-06-24), XP055313765, Retrieved from the Internet [retrieved on 20171024]
BELL SEAN ET AL: "Inside-Outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks", 2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), IEEE, 27 June 2016 (2016-06-27), pages 2874 - 2883, XP033021468, DOI: 10.1109/CVPR.2016.314
GIRSHICK ROSS: "Fast R-CNN", 2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), IEEE, 7 December 2015 (2015-12-07), pages 1440 - 1448, XP032866491, DOI: 10.1109/ICCV.2015.169
CAICEDO JUAN C ET AL: "Active Object Localization with Deep Reinforcement Learning", 2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), IEEE, 7 December 2015 (2015-12-07), pages 2488 - 2496, XP032866591, DOI: 10.1109/ICCV.2015.286
PIERRE SERMANET ET AL: "ATTENTION FOR FINE-GRAINED CATEGORIZATION", 11 April 2015 (2015-04-11), XP055368311, Retrieved from the Internet [retrieved on 20170428]
Attorney, Agent or Firm:
SOGA, Michiharu et al. (JP)
Download PDF:
Claims:
[CLAIMS]

[Claim 1]

A method for detecting an object in an image, comprising:

extracting a first feature vector from a first region of an image using a first subnetwork;

determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region;

extracting a second feature vector from the second region of the image using the first subnetwork; and

detecting the object using a third subnetwork based on the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network, wherein steps of the method are performed by a processor.

[Claim 2]

The method of claim 1 , wherein the second subnetwork is a deep recurrent neural network.

[Claim 3]

The method of claim 2, wherein the deep recurrent neural network is a stacked recurrent neural network.

[Claim 4]

The method of claim 3, wherein the stacked recurrent neural network is formed by two hidden layers.

[Claim 5]

The method of claim 1 , wherein the third subnetwork performs an element- wise max operation using the first feature vector and the second feature vector. [Claim 6]

The method of claim 1, further comprising:

rendering the detected object and the class of the object on a display device or transmitting the detected object and the class of the object over a network. [Claim 7]

The method of claim 1, further comprising:

processing the image using the first subnetwork to produce a set of feature maps of the image, wherein the first subnetwork is a deep convolution neural network (DCNN);

determining the first region using a proposal generator;

determining the first feature vector from the feature maps corresponding to the first region; and

determining the second feature vector from the feature maps corresponding to the second region and hidden representations computed during generating the first feature vector in the second subnetwork.

[Claim 8]

The method of claim 7, wherein the feature maps are computed from last convolutional layers of the DCNN.

[Claim 9]

The method of claim 1,

wherein the second subnetwork takes the first feature vector and outputs a target vector encoding a scale-invariant translation and a log-space height/width shift of the second region associated to the first region, and wherein the log-space height/width shift is expressed by wherein gx; gy; gw; gh) represents a center coordinate indicating a position x andy, width w and height h of the first region, and (px; py pw; ph) represents the first region.

[Claim 10]

The method of claim 9, wherein the second region is determined by using the first region and the target vector.

[Claim 11]

The method of claim 2, wherein a step of extracting the first feature vector or extracting the second feature vector comprises:

dividing the first region or the second region into a predefined grid of sub- windows;

determining maximal values of the features in each sub-window; and processing sequentially the maximal values by the recurrent neural network. [Claim 12]

The method of claim 1 , wherein a size of the second region is greater than a size of the first region.

[Claim 13]

The method of claim 1, wherein the deep neural network is trained using a reinforcement learning algorithm.

[Claim 14]

The method of claim 13, wherein a reinforcement reward rt is obtained by equations,

rt = P(c*) IoU(5c*, for / = T

and rt = 0 for t≠ T,

wherein P(c*) is a predicted probability of a true class c*, IoU is an intersection over union between a predicted bounding box Bc* for c* and a corresponding ground-truth bounding box B*c* corresponding to the predicted bounding box Bc*, t is a time step of computation, and T is a predetermined number of time steps.

[Claim 15]

The method of claim 14,

wherein a number of an episode is added by one when the reinforcement reward is determined by the third subnetwork, and wherein the number of episodes is set to be eight or less than eight.

[Claim 16]

The method of claim 3, wherein the stacked recurrent neural network includes an Element-wise MAX operation.

[Claim 17]

The method of claim 14, wherein the reinforcement reward is determined based on a continuous reward operation.

[Claim 18]

The method of claim 1, wherein the first subnetwork is trained by a reinforcement learning algorithm.

[Claim 19]

The method of claim 18, wherein the reinforcement learning algorithm excludes to train back-ground samples in the image.

[Claim 20]

The method of claim 9, wherein the target vector is a four-dimension vector. [Claim 21]

The method of claim 2, wherein the stacked recurrent neural network is formed by more than two hidden layers.

[Claim 22]

A non-transitory computer readable recoding medium storing thereon a program causing a computer to execute an object detection process, the object detection process comprising:

extracting a first feature vector from a first region of an image using a first subnetwork;

determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region;

extracting a second feature vector from the second region of the image using the first subnetwork; and

detecting the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network.

[Claim 23]

An objection detection system comprising:

a human machine interface;

a storage device including neural networks;

a memory;

a network interface controller connectable with a network being outside the system;

an imaging interface connectable with an imaging device; and

a processor configured to connect to the human machine interface, the storage device, the memory, the network interface controller and the imaging interface,

wherein the processor executes instructions for detecting an object in an image using the neural networks stored in the storage device, wherein the neural networks perform steps of:

extracting a first feature vector from a first region of the image using a first subnetwork;

determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region;

extracting a second feature vector from the second region of the image using the first subnetwork; and

detecting the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network.

Description:
[DESCRIPTION]

[Title of Invention]

METHOD FOR DETECTING OBJECT IN IMAGE AND OBJECTION DETECTION SYSTEM

[Technical Field]

[0001]

This invention relates to neural networks, and more specifically to object detection systems and methods using a neural network.

[Background Art]

[0002]

Object detection is one of the most fundamental problems in computer vision. The goal of an object detection is to detect and localize the instances of pre-defined object classes in the form of bounding boxes, e.g., with confidence values for given input images. An object detection problem can be converted to an object

classification problem by a scanning window technique. However, the scanning window technique is inefficient because classification steps are performed for all potential image regions of various locations, scales, and aspect ratios.

[0003]

The region-based convolution neural network (R-CNN) is used to perform a two-stage approach, in which a set of object proposals is generated as regions of interest (ROI) using a proposal generator and the existence of an object and the classes in the ROI are determined using a deep neural network. However, the detection accuracy of the R-CNN is insufficient for some case. Accordingly, another approach is required to further improve the object detection performance. [Summary of Invention]

[0004]

Some embodiments are based on recognition and appreciation of the fact that a method for detecting an object in an image includes extracting a first feature vector from a first region of an image using a first subnetwork; determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region; extracting a second feature vector from the second region of the image using the first subnetwork; and detecting the object using a third subnetwork based on the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network, wherein steps of the method are performed by a processor.

[0005]

Accordingly, one embodiment discloses a non-transitory computer readable recoding medium storing thereon a program causing a computer to execute an object detection process, wherein the object detection process includes

extracting a first feature vector from a first region of an image using a first subnetwork; determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region; extracting a second feature vector from the second region of the image using the first subnetwork; and detecting the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network.

[0006]

Another embodiment discloses an objection detection system that includes a human machine interface; a storage device including neural networks; a memory; a network interface controller connectable with a network being outside the system; an imaging interface connectable with an imaging device; and a processor configured to connect to the human machine interface, the storage device, the memory, the network interface controller and the imaging interface, wherein the processor executes instructions for detecting an object in an image using the neural networks stored in the storage device, wherein the neural networks perform steps of: extracting a first feature vector from a first region of the image using a first subnetwork; determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region; extracting a second feature vector from the second region of the image using the first subnetwork; and detecting the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network.

[Brief Description of the Drawings]

[0007]

[Fig. l]

FIG. 1 is a block diagram of an object detection system for detecting an object in an image according to some embodiments of the invention.

[Fig. 2]

FIG. 2 is a block diagram of a neural network used in a computer- implemented object detection method for detecting the object in the image according to some embodiments.

[Fig. 3A]

FIG. 3A is a block diagram illustrating processes of extracting feature vectors and determining regions in the image using subnetworks according to some embodiments. [Fig. 3B]

FIG. 3B is a flowchart showing the processes of extracting the feature vectors and determining the regions in the image using the subnetworks according to some embodiments.

[Fig. 3C]

FIG. 3C is a block diagram of a subnetwork formed by a deep convolution neural network (DCNN) according to some embodiments.

[Fig. 4A]

FIG. 4 A is an example of placing glimpse boxes on target objects in images according to some embodiments.

[Fig. 4B]

FIG. 4B is an example of placing glimpse boxes on target objects in images according to some embodiments.

[Fig. 5]

FIG. 5 shows sub- windows of first or second region divided into 3x3 grids. [Fig. 6]

FIG. 6 is a block diagram of a subnetwork formed by a stacked R N according to some embodiments.

[Fig. 7]

FIG. 7 is a block diagram of network modules used in a computer- implemented object detection method for detecting the object in the image according to some embodiments.

[Fig. 8]

FIG. 8 is a block diagram of a subnetwork formed by a stacked RNN according to some embodiments.

[Fig. 9]

FIG. 9 is a comparison result that indicates an effect of a number of episodes generated from one sample in a mini-batch according to some embodiments.

[Fig. 10]

FIG. 10 is an example of performance results obtained by four different architecture setups according to some embodiments.

[Fig. 11]

FIG. 11 is a comparison result of performances demonstrated by the continuous reward operation and the discrete reward operation according to some embodiments.

[Fig. 12]

FIG. 12 is a comparison of performance results obtained by a case of excluding back-ground samples from the REINFORCE algorithm and a case of including back-ground samples from the REINFORCE algorithm.

[Fig. 13]

FIG. 13 is a table of performances obtained by using glimpses having a four- dimension vector leads and glimpses having a two-dimension vector.

[Description of Embodiments]

[0008]

Various embodiments of the present invention are described hereafter with reference to the figures. It would be noted that the figures are not drawn to scale elements of similar structures or functions are represented by like reference numerals throughout the figures. It should be also noted that the figures are only intended to facilitate the description of specific embodiments of the invention. They are not intended as an exhaustive description of the invention or as a limitation on the scope of the invention. In addition, an aspect described in conjunction with a particular embodiment of the invention is not necessarily limited to that embodiment and can be practiced in any other embodiments of the invention. [0009]

Some embodiments are based on recognition that an objection detection system that includes a human machine interface; a storage device including neural networks; a memory; a network interface controller connectable with a network being outside the system; an imaging interface connectable with an imaging device; and a processor configured to connect to the human machine interface, the storage device, the memory, the network interface controller and the imaging interface, wherein the processor executes instructions for detecting an object in an image using the neural networks stored in the storage device, wherein the neural networks perform steps of: extracting a first feature vector from a first region of the image using a first subnetwork; determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region; extracting a second feature vector from the second region of the image using the first subnetwork; and detecting the object using a third subnetwork on a basis of the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network.

[0010]

FIG. 1 shows a block diagram of an object detection system 500 according to some embodiments of the invention. The object detection system 500 includes a human machine interface (HMI) 510 connectable with a keyboard 511 and a pointing device/medium 512, a processor 520, a storage device 530, a memory 540, a network interface controller 550 (NIC) connectable with a network 590 including local area networks and internet network, a display interface 560, an imaging interface 570 connectable with an imaging device 575, a printer interface 580 connectable with a printing device 585. The object detection system 500 can receive electric text/imaging documents 595 via the network 590 connected to the NIC 550. The storage device 530 includes original images 531, a filter system module 532, and a neural network 400. The pointing device/medium 512 may include modules that read programs stored on a computer readable recording medium.

[0011]

For detecting an object in an image, instructions may be transmitted to the object detection system 500 using the keyboard 511, the pointing device/medium 512 or via the network 590 connected to other computers (not shown in the figure). The object detection system 500 receives the instructions using the HMI 510 and executes the instructions for detecting an object in an image using the processor 520 using the neural network 400 stored in the storage device 530. The filter system module 532 is operable to perform image processing to obtain

predetermined formatted image from given images relevant to the instructions. The images processed by the filter system module 532 can be used by the neural network 400 for detecting objects. An object detection process using the neural network 400 is described below. In the following description, a glimpse region is referred as a glimpse box, a bounding box, a glimpse bounding box or a bounding box region, which is placed on a target in an image to detect the feature of the target object in the image.

[0012]

Some embodiments are based on recognition that a method for detecting an object in an image include extracting a first feature vector from a first region of an image using a first subnetwork; determining a second region of the image by processing the first feature vector with a second subnetwork, wherein a size of the first region differs from a size of the second region; extracting a second feature vector from the second region of the image using the first subnetwork; and detecting the object using a third subnetwork based on the first feature vector and the second feature vector to produce a bounding box surrounding the object and a class of the object, wherein the first subnetwork, the second subnetwork, and the third subnetwork form a neural network, wherein steps of the method are performed by a processor.

[0013]

FIG. 2 shows a block diagram of a neural network 400 used in a computer- implemented object detection method for detecting the object in the image according to some embodiments. The neural network 400 includes a first subnetwork 100, a second subnetwork 200 and a third subnetwork 300. The neural network 400 is designed to detect a target object in an image by extracting features from the target object in the image. The neural network 400 adaptively and sequentially places glimpse boxes on the target object of the image to extract the features of the target object, in which the glimpse boxes are designed to have square shapes or rectangular with different sizes and different aspect ratios in this embodiment. However, the shape of a glimpse box may be other predetermined shapes, such as triangle, hexagonal, circle, ellipse or any polygons according to the algorithm used in the neural network 400. The neural network 400, which applies the sequence of placing glimpse boxes on the target object, may be referred to as an attention-based object detection (AOD) network. The neural network 400 allows the object detection system 500 to make determination of classification of the target object in the image by providing the features extracted from the glimpse boxes corresponding the target object in the image. In this case, the first

subnetwork 100 may be a deep convolutional neural network (DCNN) 100 to obtain better features of target objects in the image.

[0014]

In an object detection process, when an image 11 is provided, the whole area of the image 11 is processed by the deep convolutional neural network (DCNN) 100 to compute and preserve a set of feature maps 150. Concurrently, a proposal generator 10 provides a proposal bounding box as a first glimpse box 15 to place on a target object of the image 11. The first glimpse box 15 has parameters including positions x, y, width w and h of the proposal bounding box in the image 11. The DCNN 100 also extracts a feature of the first glimpse box 15 from a region in the feature maps 150, in which the region in the feature maps 150 corresponds to the proposal bounding box (the first glimpse box 15) of the image 11.

[0015]

The second subnetwork 200 includes region of interest ( OI) pooling modules 210 and 220, and a recurrent neural network (RNN) 205. The ROI pooling module 210 is applied to the first feature of the first glimpse box 15 to generate a first feature vector 230 by use of the RNN 205. The first feature vector 230 is transmitted to an Element- wise MAX 310 of the third subnetwork 300. The second subnetwork 200 also generates a target vector 250 that is used to encode a scale-invariant translation and a log-space height/width shift regarding a second glimpse box 20 relative to the first glimpse box 15 (the anchor bounding box). The second glimpse 20 is obtained by using the proposed bounding box 15 and the target vector 250. Successively, the DCNN 100 extracts a second feature based on the second glimpse 20 of the image 11. The second feature of the second glimpse box 20 is then applied to the ROI pooling module 220 of the second subnetwork 200 to generate a second feature vector 240. The second subnetwork 200 transmits the second feature vector 240 to the Element- wise MAX 310 of the third

subnetwork 300 and the Element- wise MAX 310 preserves the second feature vector 240 for use of the object detection process. The third subnetwork 300 processes the second feature vector 230 and the third feature vector 240 and generates an object bounding box 320 and an object class probability 330 as outputs. Based on the outputs, the object detection system 500 makes a final decision on an object class and an object location of the target object in the image 1 1.

[0016]

In some embodiments, the proposal generator 10 may be arranged in the neural network 400 according to the design of the neural network architecture.

[0017]

FIG. 3A and FIG. 3B show a block diagram and a flowchart for illustrating the processes of extracting the feature vectors and determining the regions in the image used in the subnetworks according to some embodiments of the invention.

[0018]

In a block SO in FIG. 3 A, an initial process of extracting a first feature vector using the first subnetwork 100 is shown. Upon the instructions given to the object detection system 500, the image 11 is provided into a working memory of the processor 520. The working memory can be an internal memory of the processer 520, the memory 540 or the storage 530 connected to the processor 520. The processor 520 may be more than one processing unit to increase the processing speed of object detections according to the system design. The DCNN 100 is applied to the whole area of the image 11 to obtain a set of feature maps 150, and subsequently, the proposal generator 10 provides a proposal bounding box as a first glimpse region 15. The first glimpse region 15 may be referred to as a first glimpse box 15. The first subnetwork 100 (DCNN 100) extracts a first feature of the first glimpse region 15 from a corresponding region of the feature maps 150 and transmits the first feature to the second subnetwork 200. In this case, the

corresponding region of the feature maps 150 is associated to the first glimpse region 15 of the image 1 1.

[0019] Steps S 1 and S2 in FIG. 3 A and FIG. 3B show processes of extracting a first feature vector from the first region using the first and second subnetworks 100 and 200. In step SI of FIG. 3 A and FIG. 3B, after receiving the first feature of the first glimpse region 15 from the feature maps 150, the second subnetwork 200 generates and outputs a first feature vector. Concurrently, the second subnetwork 200 generates a target vector associated to a second glimpse region 20. In this case, the second subnetwork 200 determines the second glimpse region 20 by processing the target vector. The sizes of the first and second glimpse regions 15 and 20 are different from each other. The sequential order of steps SI and S2 may be exchanged because the second subnetwork 200 can generate the first feature vector and the target vector without limiting the processing order as long as the first feature of the first glimpse region 15 has been acquired by the second subnetwork 200 in step SO.

[0020]

In step S3 in FIG. 3A and FIG. 3B, a second feature vector is extracted from the second region using the first and second subnetwork 100. After receiving a second feature of the second glimpse region 20, the second subnetwork 200 transmits the second feature of the second glimpse region 20 to the third

subnetwork 300. It should be noted that the first feature vector has been received by the third subnetwork 300 in step SI.

[0021]

In step S4, the third subnetwork 300 detects an object in the image 11 based on the first and second feature vectors.

[0022]

FIG. 3C shows an example of the DCNN 100 including convolutional layers. In the DCNN 100, a set of feature maps 150 is computed at the last convolutional layer. The DCNN 100 computes so that a feature of the feature maps is associated to the first region of the image 11.

[0023]

Further, in some embodiments, the DCNN 100 may be a pre-trained network such as the AlexNet or the VGGNet to obtain an equivalent effect for detecting objects in images.

[0024]

FIG. 4A and FIG. 4B show examples of placing glimpse boxes on target objects in images. In those examples, the object detecting process is performed by four steps of placing boxes on a target image of an image until a final detection box is placed on the target image.

[0025]

FIG. 4A includes two images 4A-1 and 4A-2 at upper side and bottom side. The images 4A-1 and 4A-2 show an identical dog image as a target object. The image 4A-1 indicates an object proposal box 4A, a first glimpse box 4A and a second glimpse box 4A on the dog image.

[0026]

In the first step of detecting process of the target object, the object proposal box 4A is generated as an anchor bounding box by the proposal generator 10 and placed on the image 4A-1 to surround the dog image, in which the object proposal box 4A is indicated by a bright box.

[0027]

In the second step, the second subnetwork 200 generates the first glimpse box 4 A and a first feature vector after receiving a feature of the object proposal box 4A extracted from the feature maps 150 by the first subnetwork 100. The first glimpse box 4A, indicated by dashed lines in the image 4A-1, is then placed on the image 4A-1 to surround the object proposal box 4 A, and the first feature vector is transmitted to the third subnetwork 300. In this case, the size and shape of the first glimpse box 4 A is configured to be different from those of the object proposal box

4A.

[0028]

In the third step, the first subnetwork 100 extracts a feature of the first glimpse box 4 A using the feature maps 150 and transmits the feature of the first glimpse box 4A to the second subnetwork 200. The second subnetwork 200 generates the second glimpse box 4A and a second feature vector based on the feature of the first glimpse box 4A and transmits the second feature vector to the third subnetwork 300. The second subnetwork 200 also places the second glimpse box 4A on the image 4A-l to surround the object proposal box 4A. In this case, the area of the second glimpse box 4A is configured to be narrower than that of the first glimpse box 4 A as indicated in the image 4A-1.

[0029]

In the fourth step, a feature of the second glimpse box 4A is extracted from the feature maps 150 by the first subnetwork 100 and transmitted to the second subnetwork 200. Successively, the second subnetwork 200 generates and transmits a third feature vector to the third subnetwork 300.

[0030]

In the final step, the third subnetwork 300 outputs an object class probability and an object bounding box based on the first, second and third feature vectors. The third subnetwork 300 determines that the target object is a dog places based on the object class probability and places the final detection box 4 A on the image 4A- 2 to surround the target surrounding the dog image as indicated in the image 4A-2.

[0031]

FIG. 4B includes two images 4B-1 and 4B-2 at upper side and bottom side. The images 4B-1 and 4B-2 show bird images as target objects. The image 4B-1 indicates object proposal boxes 4B, first glimpse boxes 4B and second glimpse boxes 4B on the bird images. The object detecting process is performed by four steps of placing boxes on the target image until the final detection boxes are placed on the target images. As the object detecting process performed in FIG. 4B are identical to those described with respect to FIG. 4A, the detail descriptions are omitted. The image 4B-2 shows final detection boxes are placed on the bird images. It should be noted that the plural targets are correctly detected even part of one of the target objects is missing in this case.

[0032]

Glimpse Box Generation

In some embodiments, a glimpse region is referred to as a glimpse box. A glimpse box G computed in time step t by the second subnetwork 200 is expressed by G t e R 4 . For t=0, the first glimpse box G 0 is provided as a proposal bounding box by the proposal generator 10. The proposal bounding box is used as an anchor bounding box. For t >0, subsequent glimpse boxes G t are dynamically determined by the first subnetwork 100 and the second subnetwork 200 by aggregating information of features of prior glimpse boxes acquired in prior process steps.

[0033]

For obtaining a glimpse box G t , the scale-invariant and height/width

normalized shift parameterization is employed with the anchor bounding box. The scale-invariant translation and the log-space height/width shift parameterization provides a target vector (δ χ , 3 y , 5 W , δ ¾ ) that indicates amounts of shift from the anchor bounding box. The target vector is expressed as follows.

(^ ^ ^ ^ ^ (^ . ^^ og ^log ^) ( 1 )

Pw ph pw pi,. J where (g x , g y , g w , g h ) represents the center coordinate x and y, width w and height h of a glimpse box, and (p x , p y , p w , p h ) represents the proposal bounding box. [0034]

In the first time, the target vector (δ^, δ^, 5 W , δ Λ ) is obtained from the proposal bounding box according to equation (1). In the following, a new glimpse box is obtained as (p x + p w δ χ , p y + p h h y , p w exp(d w ), p h Qxp(8 h )).

[0035]

For each glimpse box G h a predetermined dimensional feature vector is extracted by applying the ROI pooling module 210 to the feature of the first glimpse box 15. The ROI pooling module 210 receives the feature of the first glimpse box 15 as an ROI. The ROI pooling module 210 divides the feature of the first glimpse box 15 into a predetermined grid of sub- windows and then max-pools feature values of the feature of the first glimpse box 15 in each sub- window. The feature values pooled fed into a recurrent neural network (RNN) 205 having layers fc6 and fc7.

[0036]

FIG. 5 shows an example of 3x3 grid of sub- windows 901. In this case, the feature of the first glimpse box 15 is divided into 3x3 grids of the sub- windows according to a predetermined architecture of the recurrent neural network.

[0037]

In some embodiments, the RNN 200 may be a stacked recurrent neural network (stacked RNN). FIG. 6 shows the stacked RNN 200 to which the feature values are fed from the ROI pooling modules 210 and 220. The stacked RNN 200 includes two layers of fc6 and fc7, in which the given feature values processed along directions of the arrows as indicated in FIG. 5.

[0038]

In some embodiments, the stacked RNN 200 may include three steps.

FIG. 7 shows an example of the stacked RNN 200 having three steps. In this case, a first glimpse box is generated by the proposal generator 10, and a second glimpse box and a third glimpse box are generated through the ROI pooling modules 210 and 220, respectively. As each step of generating glimpse boxes and glimpse vectors is identical to that described in the case of FIG. 2, detailed descriptions are omitted.

[0039]

In this case, the subnetwork 300 determines an object class probability and an object boundary box based on the first, second and third feature vectors.

FIG. 8 shows an example of the stacked RNN 200 including three steps according to some embodiments. The arrows indicate data processing flows in the stacked RNN 200.

[0040]

The number of layers fc6 and fc7 may be increased more than three according to the architecture design of a stacked RNN.

[0041]

In some embodiments, the DCNN 10 may be trained using a reinforcement learning algorithm as another architecture of network to generate glimpses in order to improve the detection performance.

[0042]

Reinforcement Learning and Network Training

In a process of a reinforcement learning algorithm, a reinforcement learning agent (RL agent) continually interacts with an environment by observing a state χεχ of the environment, and then the RL agent chooses an action a≡ A according to its policy and a probabilistic mapping from the state to actions.

[0043]

Depending on the current state and the action being chosen, the state of the RL agent in the environment changes to X' ~ The RL agent also

receives a real- valued reward signal r ~ R(-\x,a) that is stored as a reword. This interaction continues for predetermined finite number of steps T. An outcome resulted from the interaction in each of steps T is referred to as an episode ξ.

[0044]

The RL agent is configured to maximize the sum of rewards received in all episodes, r t- m this case > R(Q represents a return of ξ. The goal of the reinforcement learning is to find a policy π so that an expected return } π) = E n [R( )] is maximized, in which the policy π is not learned based on the reword received in each of time steps T. In the reinforcement learning process, a policy gradient algorithm, which is called the REINFORCE algorithm, is employed. In this case, π is parameterized by Θ. The policy gradient algorithm, in its simplest form, changes policy parameters in the direction of gradient of J(n d ) by the gradient ascent update, θ \+\ <— θ χ + α$υ{π θ for some choice of step size (Xj > 0.

[0045]

By using the Gaussian distribution as π θ , approximate gradients are computed by

generating multiple episodes under the current policy:

[0046]

The algorithm discussed above is a gradient ascent algorithm and introduced to the standard back propagation neural network training. In this embodiment, the neural network 400 is trained by back propagating both gradient from

reinforcement learning and gradients from supervised training.

[0047]

FIG. 2 shows a block diagram of the second subnetwork 200 formed by a stacked recurrent neural network (RNN). The second subnetwork 200 includes a stacked recurrent neural network (RNN) 205 and the ROI pooling modules 210 and 220. Recurrent connections are indicated as fc6 and fc7 in the figure.

[0048]

The training data of the RNN 205 is constructed by a similar way to that of the region-based convolution neural network algorithm (R-CNN algorithm). Each proposal bounding box generated by the proposal generator 10 is assigned a class label c* among one background class and K foreground object classes according to the overlaps with the ground truth object bounding boxes. The background class can be any object that does not belong to the foreground classes.

[0049]

Each proposal bounding box is given a bounding box target vector that encodes the scale-invariant translation and log-space height/width shift relative to the object. The bounding box target vector is not defined for the ground truth object bounding boxes, and thus they are not used for training the RNN 205.

[0050]

The third subnetwork 300 provides the final outputs that are softmax classification scores and bounding boxes for all predefined foreground classes.

[0051]

During training of the second subnetwork 200, ground-truth annotations are provided for all predefined foreground classes, and the Standard Back Propagation Through Time (BPTT) algorithm is used for training. In this case, the BPTT is not applied to train a glimpse generation layer (G-layer) in FIG. 2. Instead, the glimpse generation layer may be trained in the process of the policy gradient algorithm described above.

[0052]

In some embodiments, the state χεχ of the environment is an input given to a glimpse module (G-layer) in FIG. 2. The glimpse module 250 indicates a new glimpse region G t at time step t. During training, multiple episodes are performed from the proposal bounding boxes in steps T. Each of all episodes starts from the identical proposal bounding box provided by the proposal generator 10.

[0053]

Gaussian noise is added to the current glimpse region G computed by the glimpse generation layer. In each episode, the third subnetwork 300 outputs class probabilities and object bounding boxes in the last time step. From each of the outputs, the neural network 400 computes a total reinforcement reward

=∑t=i r h where each reward r t for an episode ξ is expressed as follows:

where P(c*) is the predicted probability of the true class c* and IoU is the intersection over union between a predicted bounding box for c* and a

corresponding ground-truth bounding box corresponding to the predicted bounding box. Intuitively, if the glimpse bounding box after adding a Gaussian noise leads a higher class probability and a larger IoU, then a higher return is assigned to the corresponding episode. The REINFORCE algorithm updates the model such that the generated glimpses lead to higher returns.

[0054]

In the following descriptions, a mean average precisions (mAP) is used as a parameter for evaluating a performance of object detections.

[0055]

Some embodiments are based on recognition that a number of episodes used in training for obtaining reasonable object detection performance is eight or less than eight.

[0056] FIG. 9 shows the effect of a number of episodes generated from one sample in a mini-batch according to some embodiments. As can be seen in FIG. 9, although a greater number of episodes tends to lead better performance, a case of eight episodes provides a reasonable performance result. Since the computation time and cost of computation increase with the number of episodes, the number of episodes may be chosen according to a predetermined design of neural networks.

[0057]

Some embodiments are based on recognition that an architecture of a stacked RNN with an Element- wise MAX operation provides a better object detection performance compared to those of an RNN with an Element-wise MAX operation module, a stacked RNN without an Element-wise MAX operation module and an RNN without an Element-wise MAX operation module.

[0058]

FIG. 10 shows performance results obtained by four different architecture setups according to some embodiments. As is seen, the stacked RNN with the Element- wise max provides better detection performance than other three architectures: an RNN with an Element-wise MAX operation module, a stacked RNN without an element- wise MAX operation module and an RNN without an Element-wise MAX operation module.

[0059]

FIG. 1 1 shows demonstrate results indicating that the continuous reward operation is superior to the discrete reward operation according to some

embodiments. Some embodiments are based on recognition that a continuous reward operation leads better performance than a discrete reward operation.

[0060]

In each episode, the reinforcement reward r t is obtained. There are two reward operations to determine a value of the reinforcement reward. One is called the discrete reward operation, in which a reward is set to be r t =1 if the highest scoring class is a ground-truth label and otherwise the reward is set to be r t = 0. In this case, there is no medium value between 0 and 1.

[0061]

On the other hand, another reward operation is called the continuous reward operation, in which the reward ranges from 0 to 1. In this case, the reward is set according to equation (3) if the highest scoring class is the ground-truth label and an IoU obtained between a predicted bounding box and the ground-truth bounding box is greater than or equal to a predetermined IoU threshold value, and otherwise the reward is set to be r, = 0.

[0062]

Some embodiments are based on recognition that excluding background samples yields a better performance.

[0063]

FIG. 12 shows that a comparison between cases of including back-ground samples in the REINFORCE algorithm and excluding back-ground samples from the REINFORCE algorithm. As can be seen in FIG. 12, the case of excluding background samples yields a better performance. In this case, IOU in equation (3) is set to be unity (IOU=l) for the background samples because there is no ground- truth bounding boxes for the background samples.

[0064]

FIG. 13 shows results indicating that the target vector having a four- dimension vector leads better performances than the glimpse having a two- dimension vector according to some embodiments.

[0065]

Some embodiments are based on recognition that a target vector having a four-dimension vector including x-shifting, y-shifting, x-scaling and y-scaling provides better performance than a glimpse having a two-dimension vector including x-shifting and y-shifting.

[0066]

The above-described embodiments of the present invention can be

implemented in any of numerous ways. For example, the embodiments may be implemented using hardware, software or a combination thereof. When

implemented in software, the software code can be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers. Such processors may be implemented as integrated circuits, with one or more processors in an integrated circuit component. Though, a processor may be implemented using circuitry in any suitable format.

[0067]

Also, the embodiments of the invention may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be

constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.

[0068]

Use of ordinal terms such as "first," "second," in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.