Self-supervised learning method and apparatus for processing medical imaging data
Abstract
The present application provides a self-supervised learning method performed by a computer device. The method includes: performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image, the first enhanced image and the second enhanced image being positive samples of each other; performing feature extractions on the first enhanced image and the second enhanced image by a feature extraction model to obtain a first image feature of the first enhanced image and a second image feature of the second enhanced image; determining a model loss of the feature extraction model based on the first image feature, the second image feature, and a negative sample image feature, the negative sample image feature being an image feature corresponding to other original medical images; and training the feature extraction model based on the model loss.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A self-supervised learning method for extracting image features, performed by a computer device, the method comprising: performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image, the first enhanced image and the second enhanced image being positive samples of each other; performing feature extractions on the first enhanced image and the second enhanced image by a feature extraction model to obtain a first image feature of the first enhanced image and a second image feature of the second enhanced image; determining a model loss of the feature extraction model based on the first image feature, the second image feature, and a negative sample image feature, the negative sample image feature being an image feature corresponding to other original medical images, wherein the model loss includes a distance loss and a clustering loss, and the determining includes: determining the distance loss based on (i) a feature distance between the first image feature and the second image feature and (ii) a feature distance between the first image feature and the negative sample image feature; and determining the clustering loss based on a clustering result that is obtained by (a) clustering first image features corresponding to each original medical image, of multiple original medical images, in a current training batch and (b) clustering second image features corresponding to each original medical image of the multiple original medical images in the current training batch; and training the feature extraction model based on the model loss that includes the distance loss and the clustering loss.
- Claim 2Depends on #1
The method according to claim 1, wherein the feature extraction model comprises a first feature extraction network, a second feature extraction network, and a multiple global descriptor (MGD) network; and performing the feature extractions on the first enhanced image and the second enhanced image by the feature extraction model comprises: performing a feature extraction on the first enhanced image and/or the second enhanced image by the first feature extraction network and/or the second feature extraction network, respectively, to obtain a first intermediate image feature and/or a second intermediate image feature; performing at least two types of pooling on the first intermediate image feature and/or the second intermediate image feature by the MGD network to obtain at least a pair of first global descriptors and/or at least a pair of second global descriptors; and cascading the at least the pair of first global descriptors and/or at least the pair of second global descriptors by the MGD network, and generating the first image feature and/or the second image feature based on the cascaded first global descriptors and/or the cascaded second global descriptors, respectively.
- Claim 3Depends on #2
The method according to claim 2, wherein training the feature extraction model based on the model loss comprises: training the first feature extraction network by a back propagation algorithm based on the model loss; and updating the second feature extraction network based on the trained first feature extraction network.
- Claim 4Depends on #1
The method according to claim 1, wherein performing the data enhancement on the original medical image to obtain the first enhanced image and the second enhanced image comprises: performing a color enhancement and a direction enhancement on the original medical image by a first enhancement parameter to obtain the first enhanced image; and performing a color enhancement and a direction enhancement on the original medical image by a second enhancement parameter to obtain the second enhanced image, the first enhancement parameter and the second enhancement parameter being different.
- Claim 5Depends on #1
The method according to claim 1, further comprising: after training the feature extraction model based on the model loss, updating the negative sample image feature based on the first image feature and the second image feature.
- Claim 6Depends on #1
The method according to claim 1, wherein: the feature extraction model is configured to perform a feature extraction on an image at a target magnification; and the method further comprises, before performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image: slicing a whole slide image (WSI) at the target magnification to obtain sliced images; and filtering the sliced images based on image information content to obtain the original medical image.
- Claim 7Independent Claim
A computer device, comprising a processor and a memory having stored therein at least one instruction, the at least one instruction, when executed by the processor, cause the computer device to implement operations including: performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image, the first enhanced image and the second enhanced image being positive samples of each other; performing feature extractions on the first enhanced image and the second enhanced image by a feature extraction model to obtain a first image feature of the first enhanced image and a second image feature of the second enhanced image; determining a model loss of the feature extraction model based on the first image feature, the second image feature, and a negative sample image feature, the negative sample image feature being an image feature corresponding to other original medical images, wherein the model loss includes a distance loss and a clustering loss, and the determining includes: determining the distance loss based on (i) a feature distance between the first image feature and the second image feature and (ii) a feature distance between the first image feature and the negative sample image feature; and determining the clustering loss based on a clustering result that is obtained by (a) clustering first image features corresponding to each original medical image, of multiple original medical images, in a current training batch and (b) clustering second image features corresponding to each original medical image of the multiple original medical images in the current training batch; and training the feature extraction model based on the model loss that includes the distance loss and the clustering loss.
- Claim 8Depends on #7
The computer device according to claim 7, wherein the feature extraction model comprises a first feature extraction network, a second feature extraction network, and a multiple global descriptor (MGD) network; and performing the feature extractions on the first enhanced image and the second enhanced image by the feature extraction model comprises: performing a feature extraction on the first enhanced image and/or the second enhanced image by the first feature extraction network and/or the second feature extraction network, respectively, to obtain a first intermediate image feature and/or a second intermediate image feature; performing at least two types of pooling on the first intermediate image feature and/or the second intermediate image feature by the MGD network to obtain at least a pair of first global descriptors and/or at least a pair of second global descriptors; and cascading the at least the pair of first global descriptors and/or at least the pair of second global descriptors by the MGD network, and generating the first image feature and/or the second image feature based on the cascaded first global descriptors and/or the cascaded second global descriptors, respectively.
- Claim 9Depends on #8
The computer device according to claim 8, wherein training the feature extraction model based on the model loss comprises: training the first feature extraction network by a back propagation algorithm based on the model loss; and updating the second feature extraction network based on the trained first feature extraction network.
- Claim 10Depends on #7
The computer device according to claim 7, wherein performing the data enhancement on the original medical image to obtain the first enhanced image and the second enhanced image comprises: performing a color enhancement and a direction enhancement on the original medical image by a first enhancement parameter to obtain the first enhanced image; and performing a color enhancement and a direction enhancement on the original medical image by a second enhancement parameter to obtain the second enhanced image, the first enhancement parameter and the second enhancement parameter being different.
- Claim 11Depends on #7
The computer device according to claim 7, wherein the operations further include: after training the feature extraction model based on the model loss, updating the negative sample image feature based on the first image feature and the second image feature.
- Claim 12Depends on #7
The computer device according to claim 7, wherein: the feature extraction model is configured to perform a feature extraction on an image at a target magnification; and the operations further include, before performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image: slicing a whole slide image (WSI) at the target magnification to obtain sliced images; and filtering the sliced images based on image information content to obtain the original medical image.
- Claim 13Independent Claim
A non-transitory computer-readable storage medium, storing at least one instruction, the at least one instruction, when executed by a processor of a computer device, cause the computer device to perform operations including: performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image, the first enhanced image and the second enhanced image being positive samples of each other; performing feature extractions on the first enhanced image and the second enhanced image by a feature extraction model to obtain a first image feature of the first enhanced imag and a second image feature of the second enhanced image; determining a model loss of the feature extraction model based on the first image feature, the second image feature, and a negative sample image feature, the negative sample image feature being an image feature corresponding to other original medical images, wherein the model loss includes a distance loss and a clustering loss, and the determining includes: determining the distance loss based on (i) a feature distance between the first image feature and the second image feature and (ii) a feature distance between the first image feature and the negative sample image feature; and determining the clustering loss based on a clustering result that is obtained by (a) clustering first image features corresponding to each original medical image, of multiple original medical images, in a current training batch and (b) clustering second image features corresponding to each original medical image of the multiple original medical images in the current training batch; and training the feature extraction model based on the model loss that includes the distance loss and the clustering loss.
- Claim 14Depends on #13
The non-transitory computer-readable storage medium according to claim 13, wherein the feature extraction model comprises a first feature extraction network, a second feature extraction network, and a multiple global descriptor (MGD) network; and performing the feature extractions on the first enhanced image and the second enhanced image by the feature extraction model comprises: performing a feature extraction on the first enhanced image and/or the second enhanced image by the first feature extraction network and/or the second feature extraction network, respectively, to obtain a first intermediate image feature and/or a second intermediate image feature; performing at least two types of pooling on the first intermediate image feature and/or the second intermediate image feature by the MGD network to obtain at least a pair of first global descriptors and/or at least a pair of second global descriptors; and cascading the at least the pair of first global descriptors and/or at least the pair of second global descriptors by the MGD network, and generating the first image feature and/or the second image feature based on the cascaded first global descriptors and/or the cascaded second global descriptors, respectively.
- Claim 15Depends on #14
The non-transitory computer-readable storage medium according to claim 14, wherein training the feature extraction model based on the model loss comprises: training the first feature extraction network by a back propagation algorithm based on the model loss; and updating the second feature extraction network based on the trained first feature extraction network.
- Claim 16Depends on #13
The non-transitory computer-readable storage medium according to claim 13, wherein performing the data enhancement on the original medical image to obtain the first enhanced image and the second enhanced image comprises: performing a color enhancement and a direction enhancement on the original medical image by a first enhancement parameter to obtain the first enhanced image; and performing a color enhancement and a direction enhancement on the original medical image by a second enhancement parameter to obtain the second enhanced image, the first enhancement parameter and the second enhancement parameter being different.
- Claim 17Depends on #13
The non-transitory computer-readable storage medium according to claim 13, wherein: the feature extraction model is configured to perform a feature extraction on an image at a target magnification; and the operations further include, before performing a data enhancement on an original medical image to obtain a first enhanced image and a second enhanced image: slicing a whole slide image (WSI) at the target magnification to obtain sliced images; and filtering the sliced images based on image information content to obtain the original medical image.
- Claim 18Depends on #1
The method according to claim 1, wherein determining the clustering loss further includes: clustering the first image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k first class cluster centroids, wherein k is an integer that is at least 2; clustering the second image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k second class cluster centroids; and determining the clustering loss based on (i) a distance between the first image features and the k second class cluster centroids and (ii) a distance between the second image features and the k first class cluster centroids.
- Claim 19Depends on #7
The computer device according to claim 7, wherein determining the clustering loss further includes: clustering the first image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k first class cluster centroids, wherein k is an integer that is at least 2; clustering the second image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k second class cluster centroids; and determining the clustering loss based on (i) a distance between the first image features and the k second class cluster centroids and (ii) a distance between the second image features and the k first class cluster centroids.
- Claim 20Depends on #13
The non-transitory computer-readable storage medium according to claim 13, wherein determining the clustering loss further includes: clustering the first image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k first class cluster centroids, wherein k is an integer that is at least 2; clustering the second image features corresponding to each original medical image of the multiple original medical images in the current training batch, to obtain k second class cluster centroids; and determining the clustering loss based on (i) a distance between the first image features and the k second class cluster centroids and (ii) a distance between the second image features and the k first class cluster centroids.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of PCT Patent Application No. PCT/CN2022/098805, entitled “ SUPERVISED LEARNING METHOD AND APPARATUS FOR IMAGE FEATURES, DEVICE, AND STORAGE MEDIUM ” filed on Jun. 15, 2022, which claims priority of Chinese Patent Application No. 202110831737.8 entitled “ SUPERVISED LEARNING METHOD AND APPARATUS FOR IMAGE FEATURES, DEVICE, AND STORAGE MEDIUM ” , filed on Jul. 22, 2021, the entire contents of which are incorporated herein by reference. FIELD OF THE TECHNOLOGY Embodiments of this application relate to the field of artificial intelligence, and particularly to a self-supervised learning method and apparatus for image features, a device, and a storage medium. BACKGROUND OF THE DISCLOSURE As an important branch of the field of artificial intelligence, computer vision (CV) technology is widely used in medical image processing scenes, such as medical image recognition (recognizing the categories of tissues and organs in medical images), medical image retrieval (retrieving detailed medical images from databases), and medical image segmentation (segmenting the tissue structures in medical images). As an important part of image processing, an image feature extraction directly affects the final image processing results. In the related art, a feature extraction is performed on a medical image by training a feature extraction model, and then a subsequent image processing flow is performed based on the extracted image feature. In one model training mode, when the supervised learning method is used for model training, the annotation information of sample medical images is usually used as the supervision for model training. However, since a large number of samples need to be used in the model training process, manual annotation of sample medical images takes a lot of time, resulting in a low model training efficiency. SUMMARY Embodiments of this application provide a self-supervised learning metho
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
Non-Patent Literature (10)
- English Translation of WO2021059388A1, Yamaguchi et al., Date Accessed Sep. 12, 2025, Available online at https://patents.google.com/patent/WO2021059388A1/en?oq=wo+2021059388 . (Year: 2021).
- Jean-Bastien Grill et al.,
- “
- Bootstrap Your Own Latent, A New Approach to Self-Supervised Learning
- ”
- , 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, Canada, Sep. 10, 2020, 14 pgs., Retrieved from the Internet: https://papers.nips.cc/paper/2020/file/f3ada80d5c4ee70142b17b8192b2958e-Paper.pdf.
- Tencent Technology, ISR, PCT/CN2022/098805, Aug. 1, 2022, 3 pgs.
- Tencent Technology, Extended European Search Report, EP Patent Application No. 22845039.1, Oct. 17, 2024, 13 pgs.
- HeeJae Jun et al.,
- “