Attribute-aware zero-shot machine vision system via joint sparse representation
By using joint sparse representation and nonlinear spatial mapping in a zero-shot machine vision system, the problem of sensitivity to linear relationship assumptions and regularization terms in the existing technology is solved, and the recognition of novel objects and the effective control of autonomous vehicles are achieved.
Patent Information
- Application Number
- CN201880052204.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-04-10
- Filing Date
- 2018-07-12
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2038-07-12
AI Technical Summary
Existing zero-shot machine vision systems assume a linear relationship between data features and semantic attributes, resulting in an oversimplification of the problem and sensitivity to each applied regularization term, making it difficult to identify novel objects among objects never seen during the training phase. .
A joint sparse representation is adopted to map visual features to semantic attributes, and classification and control of unseen input images are achieved through nonlinear spatial modeling and regularization parameters are used to regulate soft assignment probability vectors, especially for collision avoidance in vehicle maneuvering.
The recognition capability and performance of the zero-shot machine vision system are improved, and it can effectively identify objects without seeing them during the training phase, and is suitable for avoidance object classification and alarm generation for autonomous vehicles.
Smart Images

Figure CN111052144B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This is a continuation-in-part of U.S. application No. 15 / 949,896, entitled “Zero Shot Machine Vision System via Joint Sparse Representations,” filed in the United States on April 10, 2018, which is a non-provisional patent application of U.S. provisional application No. 62 / 502,461, entitled “Zero Shot Machine Vision System via Joint Sparse Representations,” filed in the United States on May 5, 2017, the entire contents of which are incorporated herein by reference.
[0003] This is also a non-provisional application of U.S. Provisional Application No. 62 / 557,721, entitled “Attribute Aware Zero Shot Machine Vision System Via Joint Sparse Representations,” filed in the United States on September 12, 2017, the entire contents of which are incorporated herein by reference. Technical Field
[0004] The present invention relates to systems for object recognition, and more particularly to systems for object recognition by means of joint sparse representation. Background Art
[0005] Zero-shot learning is able to perform a task despite not having received any training examples for the task. Zero-shot machine vision methods are described by Akata et al. (see reference No. 1 in the list of incorporated references) and Romera et al. (see reference No. 2). In reference No. 1, the authors proposed a model that embeds image features and semantic attributes in a common space (i.e., latent embedding), where the compatibility between them is measured by a bilinear function.
[0006] Romera et al. (see reference No. 2) proposed a general linear architecture that associates image features, attributes, and classes. The method described by Romera et al. uses principled choices of regularization terms, allowing the authors to drive a simple closed-form solution to the problem. Yang et al. (see reference No. 8) generalized the idea of federated dictionary learning by using their work on image super-resolution via federated sparse dictionary learning. Finally, Isele et al. (see reference No. 4) took the idea of federated dictionary learning and applied it to the transfer learning problem in the context of reinforcement learning.
[0007] The main drawbacks of methods disclosed in the prior art include: 1) oversimplification of the problem by assuming a linear relationship between data features and semantic attributes, and 2) sensitivity to ad hoc regularization terms that need to be tuned for each application.
[0008] Therefore, there is a continuing need for an improved zero-shot machine vision system that can recognize a novel object even if it has never seen any instances of the object during the training phase. Summary of the invention
[0009] The present invention relates to a system for object recognition, and more particularly to a system for object recognition by joint sparse representation. The system includes a memory having instructions and one or more processors, so that when the instructions are executed, the one or more processors perform multiple operations. Using a set of training images and semantic attributes of annotations, a model is trained, and the model uses a joint sparse representation of a dictionary of visual features and semantic attributes to map visual features from known images to the semantic attributes of the annotations. The trained model is used to map visual features of an unseen input image to the semantic attributes of the image. The unseen input image is classified as belonging to an image class, and a device is controlled based on the classification of the unseen input image, wherein the device is a vehicle component, and controlling the device causes vehicle manipulation.
[0010] In another aspect, the system generates a training image set comprising object images from a plurality of image classes, wherein each object image in the training image set has been annotated with a class label and a semantic attribute describing the object image.
[0011] On the other hand, to train the model, the visual feature space and the semantic attribute space are modeled as non-linear spaces that provide exactly the same sparse representation for the visual features and their corresponding semantic attributes.
[0012] In another aspect, the system finds a sparse representation for visual features extracted from the unseen input image and generates semantic attribute predictions parsed in the semantic attribute space of the model, wherein a soft assigned probability vector identifies the probability that the semantic attribute prediction belongs to a class of the unseen image.
[0013] In another aspect, a regularization parameter is used to adjust the entropy of the soft assignment probability vector.
[0014] In another aspect, the unseen input image is labeled using the class label of the closest semantic attribute in the semantic attribute space of the model, given the semantic attribute prediction.
[0015] In another aspect, the vehicle maneuver is a collision avoidance maneuver.
[0016] In another aspect, wherein the unseen input image is an image of an evasive object, and wherein an alert is generated when the evasive object is classified.
[0017] Finally, the present invention also includes a computer program product and a computer-implemented method. The computer program product includes computer-readable instructions stored on a non-transitory computer-readable medium, and the computer-readable instructions can be executed by a computer having one or more processors, so that when the instructions are executed, the one or more processors perform the operations listed herein. Alternatively, the computer-implemented method includes the action of causing a computer to execute such instructions and perform the resulting operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The objects, features and advantages of the present invention will become apparent from the following detailed description of various aspects of the present invention with reference to the accompanying drawings, in which:
[0019] Figure 1 is a block diagram depicting components of a system for object recognition according to some embodiments of the present disclosure;
[0020] Figure 2 is an illustrative diagram of a computer program product according to some embodiments of the present disclosure;
[0021] Figure 3 is an illustration of a training phase of a zero-shot machine vision system according to some embodiments of the present disclosure;
[0022] Figure 4 is an example diagram of finding a sparse representation of an image according to some embodiments of the present disclosure;
[0023] Figure 5 is an example graph of predicted probabilities that an identified attribute belongs to an unseen image class according to some embodiments of the present disclosure;
[0024] Figure 6 is an illustration of a graph depicting test classification accuracy for a data set according to some embodiments of the present disclosure; and
[0025] Figure 7 is an illustration of using a processor to control a device based on classification of unseen images according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0026] The present invention relates to systems for object recognition, and more particularly to systems for object recognition by joint sparse representation. The following description is presented to enable one of ordinary skill in the art to make and use the invention and incorporate it into the context of a specific application. It will be apparent to those skilled in the art that various modifications and multiple uses in different application aspects are possible, and the general principles defined herein can be applied to a wide range of aspects. Therefore, the present invention is not intended to be limited to the aspects presented, but rather covers the widest range consistent with the principles and novel features disclosed herein.
[0027] In the following detailed description, many specific details are set forth to provide a more thorough understanding of the present invention. However, it should be understood by those skilled in the art that the present invention can be practiced without being limited to these specific details. In other cases, known structures and devices are shown in block diagram form rather than in detail to avoid hindering the understanding of the present invention.
[0028] The reader is also invited to pay attention to all documents and files filed with this specification, which are open to the public for inspection together with this specification, and the contents of all these documents and files are incorporated herein by reference. All features disclosed in this specification (including any attached claims, abstracts and drawings) can be replaced by alternative features for the same, equivalent or similar purposes, unless otherwise expressly stated. Therefore, unless otherwise expressly stated, each feature disclosed is only an example of a series of equivalent or similar features.
[0029] Furthermore, any element in a claim that does not explicitly recite “means for performing a specified function” or “step for performing a specified function” should not be construed as a “means” or “step” clause as specified in 35 U.S.C. § 112, paragraph 6. In particular, the use of “the step of” or “the act of” in a claim herein should not trigger the provisions of 35 U.S.C. § 112, paragraph 6.
[0030] Before describing the present invention in detail, a list of cited references is first provided. Next, a description of each major aspect of the present invention is provided. Finally, specific details of each embodiment of the present invention are provided to enable an understanding of the specific aspects.
[0031] (1) List of incorporated references
[0032] The following references are cited and incorporated throughout this application. For clarity and convenience, these references are listed here as a central resource for the reader. The following references are incorporated herein by reference as if fully set forth herein. These references are cited in this application by reference to the following corresponding reference numbers:
[0033] 1.Akata,Zeynep,Florent Perronnin,Zaid Harchaoui,and Cordelia Schmid."Label-
[0034] embedding for attribute-based classification."In Proceedings of theIEEE
[0035] Conference on Computer Vision and Pattern Recognition,pp.819-826,2013.
[0036] 2.Romera-Paredes,Bernardino,and P.H.S.Torr."An embarrassingly simple
[0037] approach to zero-shot learning."In Proceedings of The 32ndInternational
[0038] Conference on Machine Learning,pp.2152-2161,2015.
[0039] 3.Simonyan,Karen,and Andrew Zisserman."Very deep convolutionalnetworks for large-scale image recognition."arXiv preprint arXiv:1409.1556,2014.
[0040] 4.Isele D,Rostami M,Eaton E.“Using task features for zero-shotknowledge
[0041] transfer in lifelong learning”.In Proc.of IJCAI 2016,pp.1620-1626.
[0042] 5.Mikolov,T.,Sutskever,I.,Chen,K.,Corrado,G.S.and Dean,J.,Distributed
[0043] representations of words and phrases and their compositionality.InAdvances in
[0044] Neural Information Processing Systems,pp.3111-3119,2013.
[0045] 6.Tibshirani,Ryan J."The lasso problem and uniqueness."ElectronicJournal of
[0046] Statistics,pp.1456-1490,2013.
[0047] 7.Huang,Yongwei,and Daniel P.Palomar."Randomized algorithms foroptimal
[0048] solutions of double-sided QCQP with applications in signalprocessing."IEEE
[0049] Transactions on Signal Processing 62,no.5,pp.1093-1108,2014.
[0050] 8.Yang,J.,Wright,J.,Huang,T.S.and Ma,Y.,Image super-resolution viasparse
[0051] representation.IEEE transactions on image processing,19(11),pp.2861-2873,2010.
[0052] 9.Grandvalet Y,Bengio Y.“Semi-supervised Learning by EntropyMinimization”.
[0053] In NIPS,Dec 1,Vol.17,pp.529-536,2004.
[0054] 10. Huang S, Tran DN, Tran TD. "Sparse signal recovery based on nonconvexentropy minimization". In Image Processing (ICIP), 2016 IEEE International Conference
[0055] on 2016Sep 25, pp.3867-3871, 2016.
[0056] 11.Beck A,Teboulle M. “A fast iterative shrinkage-thresholding algorithm for linear
[0057] inverse problems".SIAM journal on imaging sciences.Mar 4; 2(1), pp.183-202, 2009.
[0058] 12.Welinder P,Branson S.,Mita T,Wah C,Schroff F,Belongie S,Perona,P.
[0059] "Caltech-UCSD Birds 200".California Institute of Technology.CNS-TR-2010-001.2010.
[0060] (2) Main aspects
[0061] Various embodiments of the present invention include three "main" aspects. The first main aspect is a system for object recognition. The system is usually in the form of computer system operating software or in the form of a "hard-coded" instruction set. The system can be incorporated into a variety of devices that provide different functions. The second main aspect is a method that is usually in the form of software for operating using a data processing system (computer). The third main aspect is a computer program product. A computer program product usually represents computer-readable instructions stored on a non-transitory computer-readable medium such as an optical storage device (e.g., a compact disk (CD) or a digital versatile disk (DVD)) or a magnetic storage device (e.g., a floppy disk or magnetic tape). Other non-limiting examples of computer-readable media include: a hard disk, a read-only memory (ROM), and a flash memory. These aspects will be described in more detail below.
[0062] Figure 1 A block diagram illustrating an example of a system of the present invention (i.e., computer system 100) is provided in . The computer system 100 is configured to perform calculations, processes, operations, and / or functions associated with a program or algorithm. In one aspect, certain processes and steps discussed herein are implemented as a series of instructions (e.g., software programs) that reside in a computer-readable memory unit and are executed by one or more processors of the computer system 100. When executed, the instructions cause the computer system 100 to perform specific actions and exhibit specific behaviors, as described herein.
[0063] Computer system 100 may include an address / data bus 102 configured to transmit information. In addition, one or more data processing units (such as processor 104 (or multiple processors)) are connected to address / data bus 102. Processor 104 is configured to process information and instructions. In one aspect, processor 104 is a microprocessor. Alternatively, processor 104 can be a different type of processor, such as a parallel processor, an application specific integrated circuit (ASIC), a programmable logic array (PLA), a complex programmable logic device (CPLD) or a field programmable gate array (FPGA).
[0064] The computer system 100 is configured to utilize one or more data storage units. The computer system 100 may include a volatile memory unit 106 (e.g., random access memory (“RAM”), static RAM, dynamic RAM, etc.) coupled to the address / data bus 102, wherein the volatile memory unit 106 is configured to store information and instructions for the processor 104. The computer system 100 may also include a non-volatile memory unit 108 (e.g., read-only memory (“ROM”), programmable ROM (“PROM”), erasable programmable ROM (“EPROM”), electrically erasable programmable ROM (“EEPROM”), flash memory, etc.) coupled to the address / data bus 102, wherein the non-volatile memory unit 108 is configured to store static information and instructions for the processor 104. Alternatively, the computer system 100 may execute instructions retrieved from an online data storage unit such as in “cloud” computing. In one aspect, the computer system 100 may also include one or more interfaces, such as interface 110, coupled to the address / data bus 102. The one or more interfaces are configured to enable the computer system 100 to connect with other electronic devices and computer systems. The communication interface implemented by the one or more interfaces may include wired (e.g., serial cable, modem, network adapter, etc.) and / or wireless (e.g., wireless modem, wireless network adapter, etc.) communication technology.
[0065] In one aspect, the computer system 100 may include an input device 112 coupled to the address / data bus 102, wherein the input device 112 is configured to transmit information and command selections to the processor 100. According to one aspect, the input device 112 is an alphanumeric input device (such as a keyboard), which may include alphanumeric keys and / or function keys. Alternatively, the input device 112 may be an input device other than an alphanumeric input device. In one aspect, the computer system 100 may include a cursor control device 114 coupled to the address / data bus 102, wherein the cursor control device 114 is configured to transmit user input information and / or command selections to the processor 100. In one aspect, the cursor control device 114 is implemented using a device such as a mouse, a trackball, a trackpad, an optical tracking device, or a touch screen. Nevertheless, in one aspect, the cursor control device 114 is directed and / or enabled via input from the input device 112, for example, in response to the use of special keys and key sequence commands associated with the input device 112. In another aspect, cursor control device 114 is configured to be directed or guided via voice commands.
[0066] In one aspect, computer system 100 may also include one or more optional computer usable data storage devices, such as storage device 116, coupled to address / data bus 102. Storage device 116 is configured to store information and / or computer executable instructions. In one aspect, storage device 116 is a storage device such as a magnetic or optical drive (e.g., a hard disk drive ("HDD"), a floppy disk, a compact disk read only memory ("CD-ROM"), a digital versatile disk ("DVD")). According to one aspect, display device 118 is coupled to address / data bus 102, wherein display device 118 is configured to display video and / or graphics. In one aspect, display device 118 may include a cathode ray tube ("CRT"), a liquid crystal display ("LCD"), a field emission display ("FED"), a plasma display, or any other display device suitable for displaying video and / or graphic images and alphanumeric characters recognizable by a user.
[0067] The computer system 100 presented herein is an example computing environment according to one aspect. However, the non-limiting example of the computer system 100 is not strictly limited to being a computer system. For example, one aspect stipulates that the computer system 100 represents a class of data processing analysis that can be used according to various aspects described herein. In addition, other computing systems can also be implemented. In fact, the spirit and scope of the present technology are not limited to any single data processing environment. Therefore, in one aspect, one or more operations of various aspects of the present technology are controlled or implemented using computer executable instructions (e.g., program modules) executed by a computer. In one implementation, such program modules include routines, programs, objects, components and / or data structures configured to perform specific tasks or implement specific abstract data types. In addition, one aspect provides one or more aspects of the present technology implemented by utilizing one or more distributed computing environments, for example, in the computing environment, tasks are performed by remote processing devices linked by a communication network, or, for example, in the computing environment, various program modules are located in local and remote computer storage media including memory-storage devices.
[0068] Figure 2 An example diagram of a computer program product (i.e., storage device) embodying the present invention is shown in . The computer program product is shown as a floppy disk 200 or an optical disk 202 such as a CD or DVD. However, as previously mentioned, the computer program product generally represents computer-readable instructions stored on any compatible non-temporary computer-readable medium. The term "instruction" as used in connection with the present invention generally indicates a set of operations to be performed on a computer, and may represent a fragment of an entire program or a single, separable software module. Non-limiting examples of "instructions" include computer program code (source or target code) and "hard-coded" electronic devices (i.e., computer operations encoded into a computer chip). "Instructions" are stored on any non-temporary computer-readable medium, such as in a computer's memory or on a floppy disk, CD-ROM, and flash drive. In any case, these instructions are encoded on a non-temporary computer-readable medium.
[0069] (3) Specific details of each implementation method
[0070] Systems and methods are described for improving zero-shot machine vision systems that can recognize novel objects even if they have never seen any instances of the object during the training phase. The system includes an attribute-aware joint dictionary learning mechanism with a unique attribute-aware formulation for the zero-shot learning (ZSL) problem that significantly improves the zero-shot performance of the system compared to the prior art.
[0071] The system includes a training phase and a testing phase. In the training phase, the system takes as input a collection of training images containing objects from many classes of interest, where each object image has been annotated with a class label (e.g., "bear," "car," "house") and several semantic attributes (e.g., "can fly," "has wheels," "green"). Class labels are usually nouns or words that define or describe objects. Semantic attributes are textual definitions of objects (usually adjectives, phrases, or sentences) that contribute to the meaning of the object.
[0072] The system described in this paper uses a training image collection and annotated attributes to train a model that maps low-level image features (such as edges, corners, and gradients) to semantic attributes. The mapping is learned in a way that best captures the shared information between image features and attributes.
[0073] Then, in the testing phase, the system takes as input an image of an object that is not in the training set (i.e., no instances of the object were included in the training phase) and uses the learned model to map the test image features to semantic attributes so that the test image can be correctly classified given a semantic description of the test object, even though the test object was not present in the training image set. A system according to an embodiment of the present disclosure includes: 1) modeling the relationship between visual features and semantic attributes using a joint sparse representation of a dictionary of visual features and semantic attributes; and 2) entropy regularization of the joint dictionary, which significantly improves the fidelity of the learned representation and improves the performance of the prior art on publicly available datasets (i.e., an improvement over the prior art). From an operational perspective, the system described herein minimizes the need for labeled data in supervised learning through knowledge transfer by finding a mapping from visual data to the semantic attribute space.
[0074] The zero-shot learning (ZSL) paradigm aims to classify previously unseen classes of data. The need for ZSL stems primarily from the lack of annotated data and the continuous emergence of new visual categories (e.g., new products, new car models, etc.). As described above, the system described herein provides a ZSL machine vision system that incorporates attribute-aware joint sparse dictionary learning to model the relationship between the visual features of an object and its semantic attributes. The assumption behind the ZSL approach is that the training (i.e., seen) classes and the test (i.e., previously unseen) classes share common semantic attributes. Semantic attributes are typically provided as accessible auxiliary information (e.g., a textual description of the class) that uniquely describes the data class. In the training phase, the relationship between the seen data and its corresponding attributes is learned. Therefore, in the testing phase, the input data from the unseen class is parsed into its attributes, and the label is predicted based on these extracted attributes. Compared to the prior art, the invention described herein improves the zero-shot capability of the machine vision system by utilizing a mathematically rigorous model that encodes the relationship between the object and its semantic attributes. The attribute-aware joint sparse dictionary model significantly improves the recognition rate of machine vision systems for novel classes that are not part of the training set and improves the state-of-the-art performance of such systems.
[0075] The present invention aims to identify novel objects or scenes in camera images. Although not limited to this, the camera can be photoelectric, infrared (IR), short-wave IR or the like, so that the output is an intensity image with one or more color channels. In the ZSL problem, one wants to identify the relationship between image features and attributes. To this end, the attribute-aware joint dictionary learning method according to an embodiment of the present disclosure is naturally suitable. In short, the feature space and the attribute space are modeled as non-linear spaces, which are characterized as the union of low-dimensional (i.e., the dimension is significantly smaller than the dimension of the feature space) linear spaces. The two non-linear spaces are constrained to have homologous components, hence the name joint dictionary, and they are modeled to provide the same representation of image features and their corresponding attributes.
[0076] (3.1) Training phase
[0077] exist Figure 3 , depicts the training phase of a zero-shot machine vision system according to an embodiment of the present disclosure. Image features (element 300) are extracted from a deep convolutional neural network, while word2vec (see reference No. 4) is used to extract attributes (element 302) from the textual description of the class. The joint dictionary learning method (element 304) forces the sparse representation of the feature (element 306) and the sparse representation of its corresponding attribute (element 308) to be the same sparse representation.
[0078] In the training phase, there is a set of seen / known images (i.e., image space 310) and their corresponding set of semantic attributes (i.e., label space 312), as well as semantic attributes of previously unseen images. First, features (element 300) are extracted from images (element 310) using a pre-trained convolutional neural network (CNN) (see reference No. 3 for a description of CNN). In the prior art, CNN is very effective in extracting features from camera images. Let X = [x1, ..., x N ]∈R P×N represents a set of features extracted from images in a dataset (element 300). Here, N is the number of images, and each image has an associated P-dimensional feature vector. Let Z = [z1, ..., z N ]∈R Q×N represents a set of corresponding attributes of the image (element 302), and each element Z is a Q-dimensional attribute vector. The word "attribute" is used in its broadest sense, which includes word embeddings or any other semantic information of the image. In addition, let Z ′ =[z1 ′ ,...,z ′ M ]∈R Q×M are the attributes of previously unseen image classes, where M is the number of such classes.
[0079] The label of the i-th image is denoted by y i ∈R K , where a camera image may have multiple memberships in K classes. The mapping from attribute space to label space is usually considered linear, y i =Wz i , and is known. To further illustrate the problem, consider the common scenario in ZSL, where X includes images of horses and tigers, but X does not contain images of zebras. On the other hand, the semantic attributes contain information about all seen (Z) and unseen (Z′) images (including zebras). In this case, the semantic attribute can be a literal definition of the animal (e.g., “a zebra is a white horse-like animal with black tiger-like stripes”). It can be seen that by learning the relationship between image features and the attributes “horse-like” and “having stripes” from seen images, it should be possible to assign previously unseen zebra images to their corresponding attributes.
[0080] The system described in this paper learns two dictionaries with corresponding atoms X and [Z,Z′], which are i and z i Provides exactly the same sparse representation a iThe idea is that for the jth unseen image, the sparse representation b of the image j Should be close to z j ′ More precisely, we start from the classic dictionary learning problem of image features:
[0081]
[0082]
[0083] Among them, D x ∈R P×L is the image feature dictionary, A∈R L×N is the joint sparse representation of X and Z, L is the number of dictionary primitives, Yes D x The ith primitive of X. Given a sparse representation A of X * , hoping to find a dictionary D for Z z , which uses the same sparse representation A and reconstructs the attributes Z≈D z A * In addition, it is hoped that the learned dictionary provides a sparse representation of the attributes Z′ of unseen image classes. To achieve these goals, the following optimization problem is used to find D z :
[0084] (2)
[0086]
[0087] Among them, D z ∈R Q×L is an attribute dictionary, and B∈R L×M is a sparse representation of Z′. Figure 3 The idea behind the formulas for the above problem is illustrated. Formula (1) and Formula (2) are respectively in (D x ,A) and (D z ,B); however, they are convex in each individual parameter given the remaining parameters. Therefore, an iterative scheme is conceived to solve the dictionary (i.e., D x and D z ) and fix the other until convergence is achieved. Convergence to a local optimum is guaranteed. Each optimization is minimized by solving the Lasso problem (see reference No. 6 for a description of the Lasso problem) to find a sparse representation and then updating the dictionary via quadratically constrained quadratic programming (QCQP) (see reference No. 7). These steps are then repeated.
[0088] (3.2) Testing phase
[0089] In the test phase, we first use a sparse linear mixing coefficient α to extract features x∈R from previously unseen images. P Represented as a dictionary D x A linear combination of primitives, x≈D x α. Figure 4 A schematic diagram of the testing phase is shown for an input image (element 400), image features are first extracted (element 402), and the Lasso problem is solved to find a sparse representation of the image (element 404). Assuming that the sparse representation is shared between features and attributes, image attributes are estimated (element 406), and the closest attribute in the attribute space (element 408) is found.
[0090] To find the sparse representation, two different formulations are utilized, namely, the attribute-agnostic formulation and the attribute-aware formulation, as described below.
[0091] (3.2.1) Attribute-agnostic formula
[0092] In the attribute-agnostic formulation, for features x∈R extracted from previously unseen images P , find its sparse representation by solving the following Lasso problem:
[0093]
[0094] The reason this formula is called attribute agnostic is that the sparse coefficients are found without any information / constraints from the attribute space.
[0095] (3.2.2) Attribute perception formula
[0096] In the attribute-aware formulation, we hope to find a sparse representation α that not only approximates the input test feature x≈D x α, and provide attribute predictions that are well resolved in the attribute space Ideally, for some i of the properties of the test class (i.e., not seen before), To achieve this, the Student's t distribution is used as the measure With z i ′ The kernel of similarity between to z i ′ The soft allocation (by p i express),
[0097]
[0098] where ρ is the kernel parameter. Ideally, for some j∈{1,...,M}, p j=1; for i≠j, p i = 0. In other words, the ideal soft allocation p(α) = [p1(α), p2(α), …, p M (α)] will be one-sparse and have minimal entropy. Figure 5 Describes the idea of soft allocation, where the soft allocation p i Logo prediction The probability of belonging to class i for an unseen image. Predicted attributes (element 500) and z i ′ (For example, z1 ′ (element 502) or z2 ′ The closer (element 504)) is, the probability p that it belongs to the i-th class i The higher (z′) is, the higher the value of p(α) is. This motivates the attribute-aware formulation, which uses the entropy of p(α) to penalize the attribute-agnostic optimization in equation (3). The following is the attribute-aware formulation of the problem according to an embodiment of the present disclosure:
[0099]
[0100] Where γ is the regularization parameter for the entropy of the soft assignment probability vector p. Note that the above formula is non-convex. Entropy minimization has been successfully used in several works, including references No.9 and No.10, both as a sparse regularization and to enhance the confidence of the classifier. In reference No.10, the authors used a generalized gradient descent method similar to FISTA (see reference No.11) to optimize non-convex problems. In the method described in this paper, a similar scheme is used to optimize the objective function in equation (5). Due to the non-convexity of the objective function, a good initialization is required to achieve a reasonable solution. Therefore, α is initialized according to the solution of the attribute agnostic formula.
[0101] (3.2.3) Label prediction
[0102] After finding the sparse coefficient α, the predicted attribute of the input image is Finally, the image is labeled by using the label of the closest test attribute in the attribute space. If the system is provided with additional information indicating that the object is from an unseen class (for example, provided by an external module), the system labels the image using the following formula:
[0103]
[0104] If no additional information is provided, the following formula is used instead of the above formula:
[0105]
[0106] Finally, by mapping the found attributes to the label space y * =Wz * (element 412) to find labels for unseen images (element 400).
[0107] (3.3) Experimental study
[0108] The system according to the embodiment of the present disclosure was tested on the CUB200 dataset (see reference No. 12), which is a publicly available zero-shot dataset. The dataset contains 6,033 images of 200 different bird species. These images were processed using a pre-trained CNN (see reference No. 3), and the dataset was provided with manually annotated attributes (see reference No. 12). In the experimental study, 75% of the classes (150 classes) were used for training, while the remaining 25% (50 classes) were unseen, and the attribute-aware joint dictionary learning algorithm described in this article was applied to predict the labels of these 50 classes. Figure 6 The results of the method according to the present disclosure on this data set compared with the current prior art are shown. As shown, the system described herein is able to recognize 50 unseen images with an accuracy of 36%. Note that the random prediction accuracy in this experiment will be 2%.
[0109] The invention described in this article improves on the prior art. The closest similar approach was proposed by Yang et al. (see reference No. 8), who used a joint sparse dictionary learning method as a way to perform super-resolution of low-resolution images. However, in their method, a model is learned that maps low-resolution image patches to high-resolution image patches. Both domains are image domains and therefore have similar mathematical and statistical properties, making joint dictionary learning more straightforward. It is not obvious to a person of ordinary skill in the art how to apply the method of Yang et al. to the ZSL object recognition problem solved by the present invention. Isele et al. (see reference No. 4) used a joint dictionary to perform zero-shot knowledge transfer in a small-scale reinforcement learning problem, which is much simpler than the zero-shot problem in vision. The method proposed by Isele et al. (see reference No. 4) fails to solve the domain transfer problem from seen classes to unseen classes, while the attribute-aware formulation of the problem described in this article solves this problem. In addition, the method of Isele et al. (see reference No. 4) lacks support for high-dimensional feature spaces (e.g., 10 3 The generalizability of the image processing technology in the present invention is generalizable, which is a necessary requirement for the zero-shot problem in vision.
[0110] In addition, the system according to the embodiment of the present disclosure solves the need for robust machine vision systems on autonomous platforms (e.g., drones, unmanned aerial vehicles (UAVs)) and autonomous vehicles. The invention described herein provides the ability to effectively adapt to novel scenes (e.g., novel objects, weather conditions, etc.), and makes future transfer learning techniques possible. For example, when an avoidance object is detected, the system can generate an alarm so that the autonomous platform performs automatic operations, such as braking or turning operations, to avoid hitting the object. The alarm can be an auditory alarm (e.g., a beep, a tone) and / or a visual alarm (e.g., a light or message on the dashboard). For example, if the object is a stop sign, the system can cause the autonomous vehicle to apply a functional response, such as a braking operation, to stop the vehicle. Other appropriate responses may include one or more of the following: a steering operation, a throttle operation to increase or decrease speed, or a decision to keep the heading and speed unchanged. The response can be applicable to avoiding collisions, increasing driving speed, or improving efficiency.
[0111] Figure 7 is a flow chart illustrating the use of processor 700 to control device 702 using classification of unseen images. Non-limiting examples of devices 702 that may be controlled by processor 700 and classification of unseen images include vehicles or vehicle components, such as brakes, steering mechanisms, suspensions, or safety devices (e.g., airbags, seat belt tensioners, etc.). Additionally, the vehicle may be an unmanned vehicle (UAV), an autonomous ground vehicle, or a human-operated vehicle (controlled by a driver or remote operator). As will be appreciated by those skilled in the art, control of other device types is also possible.
[0112] Current existing machine vision systems require a large amount of training data covering a wide range of classes in all possible scenarios. In practice, it is impossible to obtain annotated data for all visual classes, so there is an urgent need for a learning system that can transfer what it has learned and adapt its learned knowledge to novel classes. The disclosed attribute-aware joint sparse visual feature and semantic attribute modeling system enables zero-shot machine vision to be performed with far fewer training examples than existing systems.
[0113] Finally, although the present invention has been described according to several embodiments, it should be readily recognized by those skilled in the art that the present invention may have other applications in other environments. It should be noted that there may be many embodiments and implementations. Moreover, the appended claims are by no means intended to limit the scope of the present invention to the above-mentioned specific embodiments. In addition, any "means for..." terminology is intended to trigger an interpretation of the device plus function of the elements and claims, and any element that does not specifically use the "means for..." terminology should not be interpreted as a device plus function element, even if the claim otherwise includes the term "means". Moreover, although specific method steps have been stated in a particular order, these method steps may occur in any desired order and fall within the scope of the present invention.
Claims
1. A system for object recognition, the system comprising: A non-transitory computer-readable medium encoded with executable instructions and one or more processors, such that when the executable instructions are executed, the one or more processors perform the following operations: Using the training image set and the semantic attributes of the annotations, training a model that maps the visual features to the semantic attributes of the annotations using a joint sparse representation of a joint dictionary of visual features and semantic attributes from known images; Use the trained model to map the visual features of an unseen input image to its semantic properties; classifying the unseen input image as belonging to an image class; as well as controlling a device based on the classification of the unseen input image, wherein the device is a vehicle component and controlling the device results in vehicle maneuver, and In order to train the model, the visual feature space and the semantic attribute space are modeled as a non-linear space, which provides exactly the same sparse representation for the visual features and their corresponding semantic attributes.
2. The system according to claim 1, wherein: The one or more processors further perform the following operations: generating a training image set including object images from a plurality of image classes, wherein each object image in the training image set has been annotated with a class label and a semantic attribute describing the object image.
3. The system according to claim 1, wherein: The one or more processors further perform the following operations: finding a sparse representation for visual features extracted from the unseen input image; as well as Semantic attribute predictions parsed in the semantic attribute space of the model are generated, wherein a soft assigned probability vector identifies a probability that the semantic attribute prediction belongs to a class of an unseen image.
4. The system according to claim 3, wherein: A regularization parameter is used to adjust the entropy of the soft assignment probability vector.
5. The system according to claim 3, wherein: The unseen input image is labeled using the class label of the closest semantic attribute in the semantic attribute space of the model given the semantic attribute prediction.
6. The system according to claim 1, wherein: The vehicle maneuver is a collision avoidance maneuver.
7. The system according to claim 1, wherein: The unseen input image is an image of an evasive object, and wherein an alert is generated when the evasive object is classified.
8. A computer-implemented method for object recognition, the method comprising the following actions: causing one or more processors to execute instructions encoded on a non-transitory computer readable medium such that, when executing the instructions, the one or more processors perform the following operations: Using the training image set and the semantic attributes of the annotations, training a model that maps the visual features to the semantic attributes of the annotations using a joint sparse representation of a joint dictionary of visual features and semantic attributes from known images; Use the trained model to map the visual features of an unseen input image to its semantic properties; classifying the unseen input image as belonging to an image class; as well as controlling a device based on the classification of the unseen input image, wherein the device is a vehicle component and controlling the device results in vehicle maneuvering, In order to train the model, the visual feature space and the semantic attribute space are modeled as a non-linear space, which provides exactly the same sparse representation for the visual features and their corresponding semantic attributes.
9. The method according to claim 8, wherein: The one or more processors further perform the following operations: generating a training image set including object images from a plurality of image classes, wherein each object image in the training image set has been annotated with a class label and a semantic attribute describing the object image.
10. The method according to claim 8, wherein: The one or more processors further perform the following operations: finding a sparse representation for visual features extracted from the unseen input image; as well as Semantic attribute predictions parsed in the semantic attribute space of the model are generated, wherein a soft assigned probability vector identifies a probability that the semantic attribute prediction belongs to a class of an unseen image.
11. The method according to claim 10, wherein: A regularization parameter is used to adjust the entropy of the soft assignment probability vector.
12. The method according to claim 10, wherein: Given the semantic attribute prediction, the unseen input image is labeled with the class label of the closest semantic attribute in the semantic attribute space of the model.
13. A computer program product for object recognition, the computer program product comprising: A non-transitory computer-readable medium encoded with executable instructions, such that when the instructions are executed by one or more processors, the one or more processors perform the following operations: Using the training image set and the semantic attributes of the annotations, training a model that maps the visual features to the semantic attributes of the annotations using a joint sparse representation of a joint dictionary of visual features and semantic attributes from known images; mapping visual features of an unseen input image to semantic attributes of the unseen input image using the trained model; classifying the unseen input image as belonging to an image class; as well as controlling a device based on the classification of the unseen input image, wherein the device is a vehicle component and controlling the device results in vehicle maneuvering, In order to train the model, the visual feature space and the semantic attribute space are modeled as a non-linear space, which provides exactly the same sparse representation for the visual features and their corresponding semantic attributes.
14. The computer program product of claim 13, further comprising instructions for causing the one or more processors to further perform the following operations: generating a training image set including object images from a plurality of image classes, wherein: Each object image in the training image set has been annotated with a class label and a semantic attribute describing the object image.
15. The computer program product of claim 13, further comprising instructions for causing the one or more processors to further: finding a sparse representation for visual features extracted from the unseen input image; and generating semantic attribute predictions parsed in the semantic attribute space of the model, wherein: The soft assignment probability vector identifies the probability that the semantic attribute is predicted to belong to a class of an unseen image.
16. The computer program product of claim 15, wherein: A regularization parameter is used to adjust the entropy of the soft assignment probability vector.
17. The computer program product of claim 15, wherein: Given the semantic attribute prediction, the unseen input image is labeled with the class label of the closest semantic attribute in the semantic attribute space of the model.
Citation Information
Patent Citations
Zero shot machine vision system via joint sparse representations
US20180322373A1
Streetscape semantic annotation method based on convolutional neural network and semantic transfer conjunctive model
CN105389584A
