Method, apparatus, and electronic device for training place recognition model

US12100192B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12100192-B2
Application numberUS-202117374810-A
CountryUS
Kind codeB2
Filing dateJul 13, 2021
Priority dateMay 10, 2019
Publication dateSep 24, 2024
Grant dateSep 24, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer device extracts local features of sample images based on a first part of a convolutional neural network (CNN) model. The sample images comprise a plurality of images taken at the same place. The device; aggregates the local features into feature vectors having a first dimensionality based on a second part of the CNN model. The device obtains compressed representation vectors of the feature vectors based on a third part of the CNN model. The compressed representation vectors have a second dimensionality less than the first dimensionality. The device trains the CNN model, and obtains a trained CNN mode satisfying a preset condition in accordance with the training.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for training neural networks, performed by a computer device, the method comprising: extracting local features of sample images based on a first part of a convolutional neural network (CNN) model, the sample images comprising a first image, a plurality of second images taken at the same place as the first image, and a plurality of third images taken at a different place from the first image; aggregating the local features into feature vectors having a first dimensionality based on a second part of the CNN model, the feature vectors including a first feature vector corresponding to the first image, second feature vectors corresponding to the second images, and third feature vectors corresponding to the third images; obtaining compressed representation vectors of the feature vectors based on a third part of the CNN model, the compressed representation vectors having a second dimensionality less than the first dimensionality; and training the CNN model, including adjusting model parameters of the first, second, and third parts of the CNN model based on the compressed representation vectors, the adjusting including: constructing a loss function of the CNN model based on first distances and second distances, the first distances being distances between the first feature vector and the second feature vectors, and the second distances being distances between the first feature vector and the third feature vectors; and back propagating the loss function through the CNN model to update the model parameters until the updated CNN model satisfies a preset convergence condition. 2. The method according to claim 1 , wherein training the CNN model comprises minimizing respective distances between at least a subset of the compressed representation vectors corresponding to the second plurality of images taken at the same place as the first image. 3. The method according to claim 1 , wherein obtaining the compressed representation vectors further comprises: projecting the feature vectors onto a unit orthogonal space based on the third part to obtain the compressed representation vectors. 4. The method according to claim 3 , wherein the third part is a fully connected layer in the CNN model that receives the feature vectors, the fully connected layer comprising a quantity of neurons, the quantity being equal to the second dimensionality, a weight matrix of each of the neurons being a unit vector and having the first dimensionality, the weight matrices of the neurons satisfying an orthogonal relationship. 5. The method according to claim 4 , wherein adjusting the model parameters of the first part, the second part, and the third part comprises: constructing a loss function of the CNN model based on an orthogonal constraint term of the weight matrices, the orthogonal constraint term being obtained based on the weight matrices of the neurons and a known unit vector. 6. The method according to claim 1 , wherein constructing the loss function comprises constructing the loss function as L = ∑ j ⁢ l ⁡ ( min i ⁢ ⁢ d 2 ⁡ ( q , p i q ) + m - d 2 ⁡ ( q , n j q ) ) wherein L is the loss function, l is a maximum boundary loss, q is the first feature vector, p i q is an ith one of the second feature vectors, n j q is a j th one of the third feature vectors, m is a boundary constant, d represents vector distance calculation, and min represents minimum value calculation. 7. The method according to claim 1 , wherein extracting the local features of sample images comprises: extracting the local features of the sample images by using a visual geometry group network (VGGNet) structure. 8. The method according to claim 1 , wherein aggregating the local features into feature vectors comprises: aggregating the local features into the feature vectors by using a vector of locally aggregated descriptors network (NetVLAD) structure. 9. A computer device, comprising: one or more processors; and memory storing one or more programs, that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: extracting local features of sample images based on a first part of a convolutional neural network (CNN) model, the sample images comprising a first image, a plurality of second images taken at the same place as the first image, and a plurality of third images taken at a different place from the first image; aggregating the local features into feature vectors having a first dimensionality based on a second part of the CNN model, the feature vectors including a first feature vector corresponding to the first image, second feature vectors corresponding to the second images, and third feature vectors corresponding to the third images; obtaining compressed representation vectors of the feature vectors based on a third part of the CNN model, the compressed representation vectors having a second dimensionality less than the first dimensionality; training the CNN model, including adjusting model parameters of the first, second, and third parts of the CNN model based on the compressed representation vectors, the adjusting including: constructing a loss function of the CNN model based on first distances and second distances, the first distances being distances between the first feature vector and the second feature vectors, and the second distances being distances between the first feature vector and the third feature vectors; and back propagating the loss function through the CNN model to update the model parameters until the updated CNN model satisfies a preset convergence condition. 10. The computer device according to claim 9 , wherein training the CNN model comprises m

Assignees

Inventors

Classifications

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Quantised networks; Sparse networks; Compressed networks · CPC title

  • Supervised learning · CPC title

  • using neural networks · CPC title

  • Organisation of the process, e.g. bagging or boosting · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12100192B2 cover?
A computer device extracts local features of sample images based on a first part of a convolutional neural network (CNN) model. The sample images comprise a plurality of images taken at the same place. The device; aggregates the local features into feature vectors having a first dimensionality based on a second part of the CNN model. The device obtains compressed representation vectors of the f…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06V10/454. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 24 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).