System and method with visual concept framework for self-supervised semantic segmentation

By generating enhanced images and pseudo-segmentation data, and using global concept loss to integrate local segmentation and co-occurrence information, the problem of global semantic neglect in self-supervised semantic segmentation is solved, unsupervised pixel-level semantic representation and segmentation is achieved, and it is suitable for multiple applications. kind of application.

CN118742924APending Publication Date: 2024-10-01ROBERT BOSCH GMBH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202280092286.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-22
Filing Date
2022-12-15
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing self-supervised semantic segmentation methods ignore the global semantics of the entire data set when learning at the pixel level, resulting in the separation of target representations of the same concept in different images, making it difficult to achieve unsupervised pixel-level semantic segmentation.

Method used

By generating enhanced images and pseudo-segmentation data, we leverage a machine learning system to identify corresponding and non-corresponding segments in the dataset, calculate contrastive losses, optimize pixel embeddings to update model parameters, and leverage global concept losses to integrate local segmentation and co-occurrence information. Regularized self-supervised learning process.

Benefits of technology

It achieves learning of accurate pixel-level semantic representation under unsupervised conditions, improves the performance of semantic segmentation, and can effectively identify visual concepts in images. It is suitable for a wide range of applications such as autonomous driving and medical image analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742924A_ABST
    Figure CN118742924A_ABST
Patent Text Reader

Abstract

A computer-implemented system and method includes generating first pseudo-segment data from a first enhanced image and generating second pseudo-segment data from a second enhanced image. The first enhanced image and the second enhanced image and the other enhanced images are in the data set. The machine learning system is configured to generate pixel embedding based on the data set. The first pseudo-segment data and the second pseudo-segment data are used to identify a first set of segments to which a given pixel related to the first enhanced image and the second enhanced image belongs. A second set of segments is identified across the data set. The second set of segments does not include the given pixel. Local segmentation losses are calculated for a given pixel based on corresponding pixel embedding involving attracting a first set of segments while excluding a second set of segments. A global concept loss is calculated based on a similarity determination between the first set of segments and the concept vectors of the corresponding concepts. The corresponding concept classifies the first set of segments from other sets of segments across the dataset based on semantic meaning. Parameters of the machine learning system are updated based on a total loss accounting for at least the local segmentation loss and the global concept loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to machine learning systems, and more particularly to self-supervised semantic segmentation based on visual concepts. Background Art

[0002] Typically, semantic segmentation involves dividing an input image into semantically meaningful regions at the pixel level and assigning semantic labels (such as car, person, and dog) to each region. Recently, semantic segmentation models with deep convolutional neural networks (CNNs) have shown promising results on popular benchmarks. However, these methods heavily rely on pixel-wise annotations, which take a lot of time and money to obtain.

[0003] With recent advances in self-supervised learning, effective visual representations can be learned from images without additional supervision. However, many self-supervised representation learning frameworks (e.g., SimCLR and MOCO) mostly focus on the visual representation of the entire image and mainly require curated single-target images. Only some recent self-supervised methods (including SegSort, Hierarchical Grouping, and MaskContrast) learn visual representations at the pixel level for complex scenes. However, these methods mainly emphasize the local affine information of pixels at the individual image level, but ignore the global semantics in the entire dataset, and therefore tend to separate the representations of these targets from different images even when these targets belong to the same concept. Therefore, despite these advances in self-supervised learning for individual images, unsupervised semantic segmentation with pixel-level representations remains a challenging task and remains underexplored. Summary of the invention

[0004] The following is an overview of the specific embodiments described in detail below. The described aspects are presented only to provide the reader with a brief overview of these specific embodiments, and the description of these aspects is not intended to limit the scope of the present disclosure. In fact, the present disclosure may include various aspects that may not be explicitly described below.

[0005] According to at least one aspect, a computer-implemented method includes generating a first enhanced image from a source image. The first enhanced image is included in a data set together with other enhanced images based on other source images. The method includes generating first pseudo-segmentation data based on the first enhanced image. The method includes generating other pseudo-segmentation data based on the other enhanced images. The method includes generating pixel embeddings for the data set via a machine learning system. The pixel embeddings include corresponding pixel embeddings for a given pixel. The method includes identifying corresponding segments of a given pixel and non-corresponding segments of a given pixel within the first enhanced image via the first pseudo-segmentation data. The method includes identifying other segments for the other enhanced images via the other pseudo-segmentation data. The method includes identifying corresponding concepts associated with the corresponding segments. The method includes identifying additional segments associated with the corresponding concepts in the data set. The additional segments are subsets of the other segments. The method includes calculating a first contrast loss for a given pixel based on the corresponding pixel embeddings related to: (a) a first positive sample including the corresponding segment, and (b) a first negative sample including the non-corresponding segment and the other segment. The method includes calculating a second contrastive loss for a given pixel based on corresponding pixel embeddings related to: (a) a second positive sample including a co-occurring segment group, wherein the co-occurring segment group includes corresponding segments, non-corresponding segments, and additional segments, and (b) a second negative sample including the remaining segments of the data set after removing the co-occurring segment group. The method includes optimizing a total loss for the given pixel. The total loss takes into account the first contrastive loss and the second contrastive loss. The method includes updating parameters of the machine learning system based on the total loss.

[0006] According to at least one aspect, a computer-implemented method includes obtaining a source image. The method includes generating a first enhanced image and a second enhanced image from the source image. The method includes generating first image segmentation data from the first enhanced image. The method includes generating second image segmentation data from the second enhanced image. The method includes generating pixel embeddings for a data set via a machine learning system. The pixel embeddings include corresponding pixel embeddings for a given pixel. The method includes identifying a first set of segments to which a given pixel belongs in the first enhanced image and the second enhanced image via the first image segmentation data and the second image segmentation data. The method includes identifying a second set of segments across the data set. The second set of segments does not include the given pixel. The method includes calculating a local segmentation loss for the given pixel based on a corresponding pixel embedding involving attracting the first set of segments while repelling the second set of segments. The method includes calculating a global concept loss based on a similarity determination between concept vectors of the first set of segments and corresponding concepts. The corresponding concepts classify a set of global segments based on semantic meaning. The set of global segments includes a first set of segments and other sets of segments having the same semantic meaning across the data set. The method includes optimizing a total loss that takes into account the local segmentation loss and the global concept loss. The method includes updating parameters of the machine learning system based on the total loss.

[0007] According to at least one aspect, a non-transitory computer-readable medium has computer-readable data, the computer-readable data including instructions stored on a non-transitory computer. The computer-readable data is executable by one or more processors to perform a method. The method includes obtaining a source image. The method includes generating a first enhanced image and a second enhanced image from the source image. The method includes generating first image segmentation data from the first enhanced image. The method includes generating second image segmentation data from the second enhanced image. The method includes generating pixel embeddings for a data set via a machine learning system. The pixel embeddings include corresponding pixel embeddings for a given pixel. The method includes identifying a first group of segments to which a given pixel belongs in the first enhanced image and the second enhanced image via the first image segmentation data and the second image segmentation data. The method includes identifying a second group of segments across the data set. The second group of segments does not include the given pixel. The method includes calculating a local segmentation loss for the given pixel based on a corresponding pixel embedding involving attracting the first group of segments while repelling the second group of segments. The method includes calculating a global concept loss based on a similarity determination between a concept vector of the first group of segments and a corresponding concept. The corresponding concept classifies a set of global segments based on semantic meaning. The set of global segments includes the first group of segments and other groups of segments having the same semantic meaning across the data set. The method includes optimizing a total loss that takes into account a local segmentation loss and a global concept loss. The method includes updating parameters of a machine learning system based on the total loss.

[0008] These and other features, aspects and advantages of the present invention are discussed in the following detailed description with reference to the accompanying drawings, wherein like symbols represent like or similar parts throughout the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a simplified diagram of an example of a system involving a visual concept framework for self-supervised semantic segmentation according to an example embodiment of the present disclosure.

[0010] Figure 2 is a simplified diagram of an example of an architecture of a visual conceptual framework according to an example embodiment of the present disclosure.

[0011] Figure 3 Examples of several sets of enhanced images and corresponding pseudo-segmented data according to example embodiments of the present disclosure are shown.

[0012] Figure 4 is a conceptual diagram providing visualization of the relationship between a given pixel and a local concept regarding an image segmentation positive sample and an image segmentation negative sample according to an example embodiment of the present disclosure.

[0013] Figure 5A conceptual diagram provides visualization of a lookup mechanism for global concepts that associates discrete representations of concepts with clusters of image segments based on vector quantization according to an example embodiment of the present disclosure.

[0014] Figure 6 is a conceptual diagram providing visualization of the relationship between given pixels and co-occurrence concepts regarding image segmentation positive samples and image segmentation negative samples according to an example embodiment of the present disclosure.

[0015] Figure 7 A non-limiting example of a trained machine learning system used for an autonomous driving application according to an example embodiment of the present disclosure is illustrated. DETAILED DESCRIPTION

[0016] From the foregoing description, it will be appreciated that the embodiments described herein have been shown and described by way of example, and their many advantages will be appreciated, and it will be apparent that various changes may be made in the form, construction, and arrangement of components without departing from the disclosed subject matter or sacrificing one or more of its advantages. In fact, the description of these embodiments is merely illustrative. These embodiments allow for various modifications and alternative forms, and the following claims are intended to encompass and include such changes and are not limited to the specific forms disclosed, but are intended to cover all modifications, equivalents, and alternatives that fall within the spirit and scope of the present disclosure.

[0017] Figure 1 1 is a simplified diagram of a non-limiting example of a system 100 configured to train, employ, and / or deploy at least one machine learning system 140 according to an example embodiment of the present disclosure. The system 100 includes at least a processing system 110 having at least one processing device. For example, the processing system 110 includes at least the following: an electronic processor, a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), any suitable processing technology, or any number and combination of the above. The processing system 110 is operable to provide functionality as described herein.

[0018] The system 100 includes a memory system 120 that is operatively connected to the processing system 110. In an example embodiment, the memory system 120 includes at least one non-transitory computer-readable storage medium that is configured to store various data and provide access to the various data to enable at least the processing system 110 to perform operations and functions as disclosed herein. In an example embodiment, the memory system 120 includes a single memory device or multiple memory devices. The memory system 120 may include electrical, electronic, magnetic, optical, semiconductor, electromagnetic, or any suitable storage technology that can operate with the system 100. For example, in an example embodiment, the memory system 120 may include a random access memory (RAM), a read-only memory (ROM), a flash memory, a disk drive, a memory card, an optical storage device, a magnetic storage device, a memory module, any suitable type of memory device, or any number and combination of the above. With respect to the processing system 110 and / or other components of the system 100, the memory system 120 is local, remote, or a combination thereof (e.g., partially local and partially remote). For example, the memory system 120 may include at least a cloud-based storage system (eg, a cloud-based database system) that is remote from the processing system 110 and / or other components of the system 100 .

[0019] The memory system 120 includes at least a visual concept framework 130, a machine learning system 140, training data 150, and other related data 160 stored thereon. The visual concept framework 130 includes computer-readable data with instructions, which, when executed by the processing system 110, are configured to provide and implement self-supervised semantic segmentation based on visual concepts to at least one machine learning system 140. The computer-readable data may include instructions, codes, routines, various related data, any software technology, or any number of the above items and combinations of the above items. In an example embodiment, the machine learning system 140 includes a CNN, any suitable encoding network, any suitable artificial neural network model, or any number of the above items and combinations of the above items. In addition, the training data 150 includes a sufficient amount of sensor data, data set data, source image data, enhanced data, pseudo-segmentation data, various loss data, various weight data, and various parameter data, as well as any related machine learning data that enables the system 100 to provide the visual concept framework 130 as described herein. Meanwhile, other related data 160 provides various data (eg, operating system, etc.) that enable system 100 to perform the functions discussed herein.

[0020] The system 100 is configured to include at least one sensor system 170. The sensor system 170 includes one or more sensors. For example, the sensor system 170 includes an image sensor, a camera, a radar sensor, a light detection and ranging (LIDAR) sensor, a thermal sensor, an ultrasonic sensor, an infrared sensor, a motion sensor, an audio sensor, an inertial measurement unit (IMU), any suitable sensor, or any number of the above items and combinations of the above items. The sensor system 170 is operable to communicate with one or more other components of the system 100 (e.g., the processing system 110 and the memory system 120). For example, the sensor system 170 can provide sensor data, which is then used by the processing system 110 to generate image data based on the sensor data. At this point, the processing system 110 is configured to obtain sensor data directly or indirectly from one or more sensors of the sensor system 170. The sensor system 170 is local, remote, or a combination thereof (e.g., partially local and partially remote). Upon receiving sensor data, processing system 110 is configured to process the sensor data (eg, image data) in terms of: visual concepts framework 130, machine learning system 140, training data 150, or any number and combination of the above.

[0021] In addition, the system 100 may include at least one other component. Figure 1 As shown in , the memory system 120 is also configured to store other related data 160, which is related to the operation of the system 100 related to one or more components (e.g., sensor system 170, I / O device 180 and other functional modules 190). In addition, the system 100 is configured to include one or more I / O devices 180 (e.g., display device, keyboard device, speaker device, etc.), which are related to the system 100. In addition, the system 100 includes other functional modules 190, such as any appropriate hardware, software, or combination thereof that assists or facilitates the operation of the system 100. For example, the other functional modules 190 include communication technology that enables components of the system 100 to communicate with each other, as described herein. At this point, the system 100 is operable to at least train, adopt and / or deploy the machine learning system 140 (and / or visual concept framework 130), as described herein.

[0022] Figure 2is a simplified diagram of an example of the architecture of the visual concept framework 130 according to an example embodiment. As an overview, the visual concept framework 130 is configured to provide a self-supervised pixel representation learning method for visual concept extraction by leveraging various properties of visual concepts at local and global levels. At this point, visual concepts can be informally defined as human-interpretable abstractions of image segmentations with semantic meaning (e.g., parts, objects, and visual scenes). Therefore, visual concepts can be used in the field of explainable artificial intelligence (AI) for model interpretation and verification. Because visual concepts are aggregations of image datasets and are human-interpretable, they are widely used to understand and verify how models perform on different concepts. The visual concept framework 130 is configured to leverage visual concepts to provide a unified framework to drive self-supervised priors at local and global levels using pseudo-segmented data.

[0023] The visual concept framework 130 is configured to identify and use at least three types of relationships between pixels and visual concepts to guide self-supervised learning. More specifically, the visual concept framework 130 is configured to utilize the relationship between pixels and local concepts (i.e., visually coherent regions in each image). In this regard, the visual concept framework 130 uses contrastive learning to force pixels identified as being in the same pseudo-segment to move closer in the embedding space, and push pixels identified as being from different pseudo-segments or different images to move away in the embedding space. In addition, the visual concept framework 130 utilizes a vector quantization (VQ) method to group local concepts with similar semantic meanings into global concepts. In this regard, the visual concept framework 130 includes a VQ dictionary that learns a discrete representation of a global concept by pushing each local concept from an image to its closest global concept vector. In addition, the visual concept framework 130 utilizes the co-occurrence of different global concepts, because related global concepts tend to appear in the same image (e.g., global concepts of faces and bodies appear in the same image, global concepts of riders and bicycles appear in the same image, etc.). When combined together, these visual concept-based relationships regularize the self-supervised learning process. The visual concept framework 130 includes at least an enhancer 200, an image segmenter 210, and a visual concept extractor 220. The visual concept framework 130 may include more than one of the following as long as the visual concept framework 130 is configured to provide similar functionality and / or operations as described herein. Figure 2 More or fewer components may be shown.

[0024] As previously mentioned, the visual concept framework 130 is configured to provide a self-supervised pixel representation learning method for visual concept extraction to at least one machine learning system 140. The machine learning system 140 includes a CNN, any suitable encoding network, any suitable artificial neural network model, or any number and combination of the above. For example, in Figure 2, the machine learning system 140 includes a twin network. The twin network includes a first CNN 140A and a second CNN 140B, which are identical and share the same weights and model parameters. In this example, the first CNN 140A is configured to receive image data (e.g., a first enhanced image) as input and generate a pixel embedding or feature representation of the image data as output. The second CNN 140B is configured to receive image data (e.g., a second enhanced image) as input and generate a pixel embedding or feature representation of the image data as output. More specifically, for each pixel p, the machine learning system 140 is configured to implement an embedding function φ to generate a feature representation or pixel embedding z in an embedding space of dimension D p , then the feature representation or pixel embedding z p is used to derive a semantic segmentation of the input image. In addition, the machine learning system 140 is configured to update its model parameters upon receiving loss data from the visual concept extractor 220.

[0025] The enhancer 200 provides data augmentation to improve the learning of visual representations. Specifically, the enhancer 200 is configured to generate at least two enhanced views for each image using multiple data augmentation operations (e.g., random cropping, random color jittering, etc.). The image used as a basis for generating the two enhanced images may be referred to as a source image. Figure 2 As shown in FIG. 1 , when generating an enhanced image, the enhancer 200 is configured to provide a first enhanced image (e.g., “enhanced image 1”) to the first CNN 140A and a second enhanced image (e.g., “enhanced image 2”) to the second CNN 140B. In addition, the enhancer 200 is configured to provide the first enhanced image and the second enhanced image to the image segmenter 210. Using this data enhancement, the visual concept framework 130 is able to force consistent pixel embedding between enhanced views.

[0026] Figure 3 Several non-limiting examples of sets of enhanced images generated by the enhancer 200 are illustrated. For example, Figure 3 A first set of enhanced images is shown. The first set of enhanced images includes enhanced image 300A and enhanced image 300B, which provide different views or different versions of the source image in which the man is holding a cup. In addition, Figure 3 A second set of enhanced images is shown. The second set of enhanced images includes enhanced image 314A and enhanced image 314B, which provide different views or different versions of the source image in which the first lady and the second lady are sitting together on a chair. As another example, Figure 3A third set of enhanced images is shown. The third set of enhanced images includes enhanced image 336A and enhanced image 336B, which provide different views or different versions of the source image in which the ship is on the water and there is sky and land in the background. These sets of enhanced images illustrate non-limiting examples of outputs of enhancer 200 and inputs to machine learning system 140 and inputs to image segmenter 210. These sets of enhanced images can be included in a data set that contains at least a suitable number of enhanced images to train machine learning system 140.

[0027] Reference Figure 2 , since pixel-by-pixel labels are not available, the visual concept framework 130 includes an image segmenter 210. The image segmenter 210 is configured to receive at least a first enhanced image and a second enhanced image as input. The image segmenter 210 is configured to generate image segmentation data (e.g., "pseudo-segmentation data 1") based on the first enhanced image. The image segmenter 210 is also configured to generate image segmentation data (e.g., "pseudo-segmentation data 2") based on the second enhanced image. In this regard, without requiring pixel-by-pixel labels, the visual concept framework 130 is configured to provide self-supervised training based on pseudo-image segmentations of visually coherent regions. These pseudo-image segmentations of visually coherent regions can be derived from superpixels or contours. In this regard, for example, the image segmenter 210 may include an edge detection program that provides the same label to pixels within the segmentation boundary to indicate that each of those pixels belongs to the same segment. The image segmenter 210 provides image segmentation data to the visual concept extractor 220 so that a given pixel can be identified as belonging to a specific segment (e.g., a group of pixels or image objects) or a pseudo image segment of a given image (or a group of enhanced images based on the same source image).

[0028] Figure 3Each enhanced image and pseudo image segmentation are shown. In this regard, the pseudo image segmentation is illustrated as providing a visualization of the information conveyed by the pseudo image segmentation data. Using the pseudo segmentation data, the visual concept extractor 220 is configured to identify and extract segmentation or visually coherent regions of pixels, and pixel embeddings corresponding to those pixels. For example, in response to receiving corresponding pseudo segmentation data from the image segmenter 210, the visual concept extractor 220 is configured to identify the face segmentation 302A, the hair segmentation 304A, the body segmentation 306A, the hand segmentation 308A, the cup segmentation 310A, the beverage segmentation 312A and many other segments (e.g., background segmentation, table segmentation, etc.) in the enhanced image 300A. In addition, in response to receiving the corresponding pseudo-segmentation data from the image segmenter 210, the visual concept extractor 220 is also configured to identify the face segment 302B, the hair segment 304B, the body segment 306B, the hand segment 308B, the cup segment 310B, the drink segment 312B, and many other segments (e.g., background segment, table segment, etc.) in the augmented image 300B. In addition, with respect to the augmented image 314A, the visual concept extractor 220 is configured to identify the face segment 316A, the hair segment 318A, the body segment 320A, the hand segment 322A, the leg segment 324A, the face segment 326A, the hair segment 328A, the body segment 330A, the hand segment 332A, the leg segment 334A, and many other segments (e.g., chair segment, floor segment, lamp segment, brick wall segment, etc.) based on the corresponding pseudo-segmentation data. With respect to the augmented image 314B, the visual concept extractor 220 is configured to identify the face segment 316B, the hair segment 318B, the body segment 320B, the hand segment 322B, the leg segment 324B, the face segment 326B, the hair segment 328B, the body segment 330B, the hand segment 332B, the leg segment 334B, and many other segments (e.g., the chair segment, the floor segment, the lamp segment, the brick wall segment, etc.). In addition, as another example, with respect to the augmented image 336A, the visual concept extractor 220 is configured to extract the ship segment 338A, the ship segment 340A, the ship segment 342A, the water segment 344A, the sky segment 346A, the land segment 348A, and the land segment 350A based on the corresponding pseudo-segmentation data. The visual concept extractor 220 is further configured to extract a ship segment 340B, a water segment 344B, a sky segment 346B, a land segment 348B, and a land segment 350B based on the corresponding pseudo-segment data.

[0029] Reference Figure 2, the visual concept extractor 220 is configured to train the machine learning system 140, in particular the pixel embedding function, by utilizing the properties of the visual concepts learned from the pseudo-segmented data. More specifically, for example, the visual concept extractor 220 uses at least three types of relationships between pixels and concepts to guide self-supervised learning. These relationships include relationships between pixels and local concepts, relationships between local concepts and global concepts, and relationships related to the co-occurrence of different concepts. For example, in Figure 2 , the visual concept extractor 220 includes a local concept extractor 230, a global concept extractor 240, and a co-occurrence extractor 250 to identify, extract, use, and / or exploit at least these three relationships. The visual concept extractor 220 is configured to receive pixel embeddings from the machine learning system 140 and pseudo-segmentation data from the image segmenter 210 as input data. The visual concept extractor 220 is configured to process the input data, identify visual concepts based on the input data, exploit different relationships between visual concepts, and generate a total loss based on the visual concepts as output data for updating one or more model parameters of the machine learning system 140. As long as the visual concept extractor 220 is configured to provide similar functions and / or operations as described herein, the visual concept extractor 220 may include more Figure 2 More components or fewer components than shown.

[0030] The local concept extractor 230 is configured to train pixel embeddings to correspond to visually coherent regions (i.e., local concepts) in each image. The local concept extractor 230 exploits the idea that pixels in a visually coherent region should have similar representations in the embedding space. To this end, the local concept extractor 230 defines a local segmentation loss L s To learn pixel representations using contrastive representation learning. Given an augmented view of a batch of images ( Figure 3 ), the local concept extractor 230 is configured to derive the positive segmentation and negative segmentation of each pixel based on the pseudo segmentation data obtained from the image segmenter 210, respectively represented by S + and S - For a pixel p, the local concept extractor 230 is configured to specify: (i) the positive segmentation of the pixel includes the segmentation to which the pixel belongs in the two enhanced images, and (ii) the negative segmentation of the pixel includes the segmentation to which the pixel belongs in the dataset ( Figure 4 ) to which the pixel does not belong. Then, the local concept extractor 230 is configured to calculate the local segmentation loss L s . Local segmentation loss L s It is defined as the pixel-pair segment contrast loss, as expressed in Eq. 1.

[0031]

[0032] In Equation 1, K is the concentration constant and sim(z p ,z s ) is the feature representation z of pixel p p and the feature representation z of segment s s The cosine similarity between . Feature representation z s is defined as the average representation of the pixels within segment s, as expressed in Eq. 2.

[0033]

[0034] Figure 4 A visualization of the relationship between a given pixel and a local concept for both positive and negative image segmentation samples is provided. More specifically, Figure 4 In the example, the given image is the enhanced image 300B ( Figure 3 ), and a given pixel 400 is identified as belonging to a visually coherent region or face segment 302B of a “face”. The local concept extractor 230 is configured to designate positive samples with positive local segments 410, which include face segments 302A and face segments 302B of the first set of enhanced images. In addition, the local concept extractor 230 is configured to designate negative samples with negative local segments 420, which include all remaining segments of the data set after the positive local segments are removed from the data set. For example, as a non-limiting example, Figure 4 A subset of negative local segments 420 is shown, which includes hair segment 304A, hand segment 308A, drink segment 312A, face segment 316A, boat segment 340B, and boat segment 402, as well as other segments (not shown). In this case, another boat segment 402 is taken from another enhanced image that is not in the image. Figure 3 but are included in the same dataset. Figure 4 , these negative local segments do not contain the given pixel 400. The local concept extractor 230 is configured to attract the positive local segments 410 to the given pixel 400, while repelling the negative local segments 420 away from the given pixel 400.

[0035] Reference Figure 2 , the global concept extractor 240 is configured to group the local concepts extracted from the individual images into global concepts for the entire dataset (i.e., clusters of image segments with similar semantic meanings). The global concept extractor 240 is configured to introduce global concepts to recognize the following observations. Image segments with similar visual appearance may be located in different regions of the same image or even in different images, such as Figure 3Because the image segments of two different faces belong to different local concepts, those image segments are considered to be negative examples with respect to each other. Therefore, if only local concepts are considered, their feature representations will be pushed away from each other, which will ultimately harm the performance of semantic segmentation. In addition, the visual concept framework 130 is configured to identify local concepts related to individual images, but does not capture visual concepts across the entire dataset.

[0036] The global concept extractor 240 includes VQ for learning global visual concepts that extract clusters of image segments with similar semantic meanings from the dataset ( Figure 5 ). For segments belonging to the same global concept, the global concept extractor 240 implements a VQ loss L v To make their representations close to each other. Specifically, the global concept extractor 240 is configured to train a VQ dictionary. The VQ dictionary contains a set of discrete representations for concept centers, denoted as e0, e0, ... e K-1 , where K is the number of concepts and e i is the representation of the i-th concept. For each training iteration, the global concept extractor 240 is configured to assign each segment s to the global concept k with the closest representation, as expressed in Equation 3, where sim(z s ,e i ) is the cosine similarity between those representations.

[0037] k = argmax i sim(z s ,e i ) [Equation 3]

[0038] The global concept extractor 240 uses cosine similarity instead of Euclidean distance because these representations are learned on a hypersphere. The global concept extractor 240 then maximizes the cosine similarity between the feature representation of the segment and the corresponding concept, as expressed in Equation 4, where the first part of the function is used to update the VQ dictionary (i.e., cluster center) when the stop gradient operator sg is applied to the feature representation of the segment. Similarly, when the VQ dictionary is fixed, the second part is used to update the feature representation of the segment. In addition, the global concept extractor 240 is configured to control the learning rate of the feature representation of the segment using a commitment constant β. At this point, the VQ dictionary captures discrete representations with semantic meaning (e.g., faces, ships, etc.) for the entire data set. The global concept extractor 240 uses the VQ dictionary to learn the relationship between different global concepts (such as ships and water), which can be used to further improve pixel embedding.

[0039] L v=(1-sim(sg(z s ), e k )+β(1-sim(z s ,sg(e k ))) [Equation 4]

[0040] Figure 5 is a conceptual diagram illustrating a visualization of a search mechanism for determining a global concept according to an example embodiment. More specifically, Figure 5 5 shows a visualization of a VQ lexicon 500 comprising discrete feature representations of concept centers, denoted as e0, e0, ... e K-1 The global concept extractor 240 uses the VQ method to group local concepts with similar feature representations (or similar semantic meanings) into global concepts. The discrete feature representations (or concept vectors) of the global concepts form the VQ dictionary 500, which captures the semantic meaning of the segment clusters over the entire dataset. For example, in Figure 5 , concept vector 510 represents the global concept of “face”, which includes various “face” segments extracted across the entire data set (e.g., face segment 302A, face segment 302B, face segment 326A, face segment 316A, etc.). As another example, concept vector 520 represents the global concept of “hand”, which includes various “hand” segments extracted across the entire data set (e.g., hand segment 308A, hand segment 322A, hand segment 332A, etc.). Additionally, as yet another example, concept vector 530 represents the global concept of “ship”, which includes various “ship” segments extracted across the entire data set (e.g., ship segment 340B, ship segment 402, ship segment 342A, etc.).

[0041] Reference Figure 2 , the co-occurrence extractor 250 is configured to use the co-occurrence of different global concepts to further improve the pixel embedding. The motivation is that global concepts with related semantic meanings tend to co-occur in the same image, such as human face, human hair, and human body. However, when there is no co-occurrence constraint, the feature representations of related concepts (e.g., different human body parts) will be pushed away from each other because they belong to different global concepts.

[0042] The co-occurrence extractor 250 introduces a co-occurrence loss L cto attract representations of pixels and segments whose global concepts often co-occur in the same image. Unlike other works involving weakly supervised segmentation using image labeling to obtain co-occurrences, the visual concept extractor 220 is configured to leverage the VQ dictionary without additional supervision. More specifically, given a pixel p, the co-occurrence extractor 250 is configured to define its positive and negative segments based on the co-occurrences of global concepts derived from the VQ dictionary. Specifically, the co-occurrence extractor 250 is configured to determine which global concept the pixel belongs to by looking up the segment containing the pixel in the VQ dictionary. The co-occurrence extractor 250 then defines: (i) the positive segment C+ of the pixel is the segment that co-occurs with the concept of the pixel in the same image, and (ii) the negative segment C - is the remaining segmentation across the dataset after removing the positive segmentation C+ of this pixel from the dataset. For a given pixel p, the pixel embedding is then trained based on the contrastive loss, which is expressed as the co-occurrence loss L in Equation 5. c Regarding how each loss function defines its positive and negative segments, for the co-occurrence loss L c The equation for the local segment loss L is different from s The equation.

[0043]

[0044] Figure 6 is a conceptual diagram according to an example embodiment, which provides a visualization of the relationship between given pixels and co-occurrence concepts for positive samples of image segmentation and negative samples of image segmentation. More specifically, in Figure 6 In the example, the given image is the enhanced image 300B ( Figure 3 ), and the given pixel 400 is identified as belonging to the face segment 302B. In this case, the co-occurrence extractor 250 is configured to determine that the given pixel 400 belongs to the face segment 302B in terms of the local concept of the enhanced image 300B. When looking up the face segment 302B in the VQ dictionary 500, the co-occurrence extractor 250 determines that the face segment 302B belongs to the concept vector 510 and the global concept of "face", such as Figure 5. In this case, the co-occurrence extractor 250 is configured to specify that the positive sample includes all face segments that belong to the concept vector 510 and therefore belong to the global concept of "face". In addition, the co-occurrence extractor 250 is configured to identify all other segments in the enhanced image 300B (and also the enhanced image 300A) that co-occur with the face segment 302B via the pseudo-segmentation data of the enhanced image, and extract corresponding global concepts for those other segments via the VQ dictionary 500. The co-occurrence extractor 250 is also configured to include all co-occurring segments of each of those co-occurring global concepts as part of the positive sample. For example, since the global concepts "hand", "body" and "hair" co-occur with the global concept "face" (associated with a given pixel 400) in the enhanced image 300B (and the enhanced image 300A) to which the given pixel 400 belongs, then the positive sample includes all segments associated with those global concepts, as shown in Figure 5 and Figure 6 The co-occurrence extractor 250 is configured to attract such positive samples related to the corresponding pixel embedding of a given pixel 400.

[0045] At the same time, the co-occurrence extractor 250 is configured to specify negative samples in terms of the corresponding pixel embedding of the given pixel 400. Negative samples include feature representations of pixels and segments whose global concepts derived from the VQ dictionary 500 do not co-occur with the global concept of the given segment of the given pixel. For example, the global concept "ship" does not co-occur with the first set of enhanced images (i.e., enhanced image 300A and enhanced image 300B) to which the given pixel 400 belongs. Therefore, the co-occurrence extractor 250 is configured to specify all segments of the global concept "ship" as part of the negative samples. The co-occurrence extractor 250 is configured to exclude negative samples that include the global concept of "ship" related to the corresponding pixel embedding of the given pixel 400 (and therefore all ship segments across the data set). As described above, these features are conducive to improving pixel representation by defining the co-occurrence of visual concepts at a global level.

[0046] Reference Figure 2 , the visual concept extractor 220 utilizes various relationships between pixels and visual concepts to regularize the self-supervised learning process. In this regard, the visual concept extractor 220 calculates a total loss L, as expressed in Equation 6, which takes into account these different relationships. More specifically, the visual concept extractor 220 uses the total loss to train the feature representation z of pixel p p The total loss L is the sum of the three loss terms mentioned above (e.g., L s , L v and L c ), as expressed in Equation 6, where λ s , v and λ cis the corresponding weight for each loss term.

[0047] L(p)=λ s L s (p)+λ v L v (p)+λ c L c (p) [Equation 6]

[0048] As described in the present disclosure, embodiments provide many advantages and benefits. For example, embodiments include a novel unsupervised semantic segmentation framework based on self-supervised representation learning at the pixel level. In this regard, since the visual concept framework 130 includes self-supervised representation learning, embodiments are advantageously able to provide learned pixel embeddings without requiring manual annotation. Additionally, as another advantage, embodiments use pseudo image segmentations generated by weak priors (e.g., contour detectors or superpixels) without requiring additional information such as hierarchical groups or saliency masks.

[0049] In addition, embodiments are configured to learn visual concepts for image segmentation and use the relationships between pixels and these visual concepts to improve pixel representations. These embodiments use at least three types of relationships between pixels and visual concepts to regularize self-supervised representation learning and thereby improve the learned pixel embeddings. The learned pixel embeddings can then be used for semantic segmentation through k-means clustering or fine-tuning. In addition, by identifying and understanding elements of an image at the pixel level, semantic segmentation can be applied to a wide range of applications such as autonomous driving, augmented reality, medical image analysis, retail applications, security applications, manufacturing applications, robotic navigation, and other suitable technologies.

[0050] Figure 7 A non-limiting example of an autonomous driving application is provided that uses a trained machine learning system 140 for semantic segmentation to facilitate control of a vehicle 700. Figure 7, the vehicle 700 includes at least a sensor system 710, a control system 720, and an actuator system 730. For ease of discussion, the control system 720 may include many components of the system 100 or many components similar to those of the system 100. In this example, the control system 720 also employs a computer vision application that is stored in at least one non-transitory computer-readable medium, and the computer vision application uses the trained machine learning system 140 to identify targets in an image at a pixel level. The image may be generated by one or more sensors of the sensor system 710 of the vehicle 700. The sensor system 710 may be similar to the sensor system 170. Additionally or alternatively, the image may be generated by one or more processors of the control system 720 when sensor data is received from the sensor system 710. In this example, the control system 720 is configured to generate control data in response to determining that the target in the image is, for example, a pedestrian and corresponding position data of the pedestrian generated via the computer vision application. In this non-limiting example, the actuator system 730 is configured to at least actuate the braking system to stop the vehicle 700 when the actuator control data is received. In this regard, the actuator system 730 may include a braking system, a propulsion system, an engine, a transmission system, a steering system, or any number and combination of actuators of the vehicle 700. The actuator system 730 is configured to control the vehicle 700 such that the vehicle 700 follows road rules and avoids collisions based at least on the semantic segmentation data. In this regard, Figure 7 Only non-limiting examples of autonomous driving applications using the trained machine learning system 140 for semantic segmentation are provided. As previously mentioned, the trained machine learning system 140 can also be used for other tasks related to computer vision, as well as various other technologies and fields.

[0051] In addition, embodiments are advantageous in that they can be used to extract visual concepts from a dataset and provide a global semantic understanding of the dataset. These embodiments are configured to generate a set of global visual concepts that are semantically meaningful to humans. Because there are a limited number of discrete visual vocabularies, they are easier to explore and interpret than high-dimensional embeddings. In addition, the accuracy and generalizability of the learned pixel embeddings have been demonstrated on challenging tasks such as semantic segmentation and instance mask tracking. In general, these results show that these embodiments provide consistent and substantial improvements over recent unsupervised semantic segmentation methods, and also demonstrate that visual concepts can reveal insights into image datasets.

[0052] That is, the above description is intended to be illustrative, not restrictive, and is provided in the context of a specific application and its requirements. It will be appreciated by those skilled in the art from the foregoing description that the present invention can be implemented in various forms, and that various embodiments can be implemented individually or in combination. Therefore, although embodiments of the present invention have been described in conjunction with specific examples of the present invention, the general principles defined herein can be applied to other embodiments and applications without departing from the spirit and scope of the described embodiments, and the true scope of the embodiments and / or methods of the present invention is not limited to the embodiments shown and described, because after studying the drawings, the specification and the appended claims, various modifications will become apparent to those skilled in the art. Additionally or alternatively, components and functions can be separated or combined in a manner different from the various described embodiments, and can be described using different terms. These and other changes, modifications, additions and improvements may fall within the scope of the present disclosure defined in the subsequent claims.

Claims

1. A computer-implemented method for training a machine learning system, the method comprising: generating a first enhanced image from a source image, the first enhanced image being included in a dataset along with other enhanced images based on other source images; generating first pseudo segmentation data based on the first enhanced image; generating other pseudo-segmentation data based on the other enhanced images; generating, via the machine learning system, a pixel embedding for the dataset, the pixel embedding comprising a corresponding pixel embedding for a given pixel; identifying, within the first enhanced image via the first pseudo-segmentation data, a corresponding segment for the given pixel and a non-corresponding segment for the given pixel; identifying other segments for the other enhanced images via the other pseudo-segment data; identifying a corresponding concept associated with the corresponding segment; identifying additional segments in the data set that are associated with the corresponding concept, the additional segments being a subset of the other segments; calculating a first contrastive loss for the given pixel based on the corresponding pixel embedding associated with: (a) a first positive sample including the corresponding segment, and (b) a first negative sample including the non-corresponding segment and the other segments; calculating a second contrastive loss for the given pixel based on the corresponding pixel embedding associated with: (a) a second positive sample comprising a co-occurring segment group, the co-occurring segment group comprising the corresponding segment, the non-corresponding segment, and the additional segment, and (b) a second negative sample comprising remaining segments of the data set after removing the co-occurring segment group; optimizing a total loss for the given pixel, the total loss taking into account the first contrast loss and the second contrast loss; as well as Parameters of the machine learning system are updated based on the total loss.

2. The computer-implemented method of claim 1 , further comprising: determining a corresponding segment embedding for the corresponding segment; as well as calculating a global concept loss based on a similarity determination between the corresponding segment embedding and the concept vector of the corresponding concept, Wherein the total loss for the given pixel takes into account the global concept loss.

3. The computer-implemented method of claim 2, wherein the total loss is a weighted combination of the first contrastive loss, the global concept loss, and the second contrastive loss.

4. The computer-implemented method of claim 2, wherein: identifying the concept vector of the corresponding concept by looking up the corresponding segment embedding through a vector quantization dictionary, and The vector quantization dictionary associates the concept vector of the corresponding segment embedding with the corresponding segment embedding and additional segment embeddings of the additional segments.

5. The computer-implemented method of claim 1 , wherein the machine learning system comprises an embedded neural network model having a convolutional neural network layer.

6. The computer-implemented method of claim 1 , further comprising: generating a second enhanced image from the source image, the second enhanced image being included in the dataset; generating second pseudo segmentation data based on the second enhanced image; as well as identifying, via the second pseudo-segmentation data, a supplementary corresponding segment and a supplementary non-corresponding segment for the given pixel within the second enhanced image, in, The first positive sample also includes the complementary corresponding piece segment, The first negative sample also includes the supplementary non-corresponding segment, and The co-occurrence segment group also includes the supplementary corresponding segments and the supplementary non-corresponding segments.

7. The computer-implemented method of claim 6, wherein: The machine learning system includes a Siamese network having a first embedded neural network and a second embedded neural network; The first embedding neural network is configured to generate a first pixel embedding in response to receiving the first augmented image; The second embedding neural network is configured to generate a second pixel embedding in response to receiving the second augmented image; as well as The pixel embedding includes the first pixel embedding and the second pixel embedding.

8. A computer-implemented method for self-supervised semantic segmentation, the method comprising: Get the source image; generating a first enhanced image and a second enhanced image from the source image, the first enhanced image and the second enhanced image being in a dataset including other enhanced images; generating first image segmentation data from the first enhanced image; generating second image segmentation data from the first enhanced image; generating, via a machine learning system, a pixel embedding for the dataset, the pixel embedding comprising a corresponding pixel embedding for a given pixel; identifying, in the first enhanced image and the second enhanced image via the first image segmentation data and the second image segmentation data, a first group of segments to which the given pixel belongs; identifying a second set of segments across the data set, the second set of segments not including the given pixel; calculating a local segmentation loss for the given pixel based on the corresponding pixel embedding, the corresponding pixel embedding involving attracting the first set of segments while repelling the second set of segments; calculating a global concept loss based on similarity determination between the first set of segments and concept vectors of corresponding concepts, the corresponding concepts classifying a set of global segments based on semantic meaning, the set of global segments including the first set of segments and other sets of segments having the same semantic meaning across the data set; Optimizing a total loss taking into account the local segmentation loss and the global concept loss; and Parameters of the machine learning system are updated based on the total loss.

9. The computer-implemented method of claim 8, further comprising: identifying accompanying concepts that co-occur with the corresponding concept in the first enhanced image and the second enhanced image; as well as calculating a co-occurrence loss for the given pixel based on attracting the third set of segments while repelling the fourth set of segments, in, generating the third set of segments from the third set of segments, the third set of segments comprising the set of global segments associated with the corresponding concept and other sets of global segments associated with the accompanying concept, and The fourth group of segments are associated with other concepts that do not co-occur with the corresponding concept.

10. The computer-implemented method of claim 9, wherein the total loss also takes into account the co-occurrence loss, such that the total loss is a weighted combination of the local segmentation loss, the global concept loss, and the co-occurrence loss.

11. The computer-implemented method of claim 8, further comprising: The concept vector that is closest to the corresponding concept of the first set of segments is identified via a vector quantization dictionary.

12. The computer-implemented method of claim 8, wherein: the first enhanced image comprising a first view of the source image having at least one image modification; the second enhanced image comprising a second view of the source image having at least one image modification; as well as The first view is different from the second view.

13. The computer-implemented method of claim 8, wherein the machine learning system comprises an embedded neural network having at least one or more convolutional neural network layers.

14. The computer-implemented method of claim 8, wherein: The machine learning system includes a Siamese network having a first embedded neural network and a second embedded neural network; The first embedding neural network is configured to generate a first pixel embedding in response to receiving the first augmented image; The second embedding neural network is configured to generate a second pixel embedding in response to receiving the second augmented image; as well as The pixel embedding includes the first pixel embedding and the second pixel embedding.

15. A non-transitory computer readable medium having computer readable data, the computer readable data comprising instructions stored on the non-transitory computer readable medium, the computer readable data executable by one or more processors to perform a method comprising: Get the source image; generating a first enhanced image and a second enhanced image from the source image, the first enhanced image and the second enhanced image being in a dataset including other enhanced images; generating first image segmentation data from the first enhanced image; generating second image segmentation data from the first enhanced image; generating, via a machine learning system, a pixel embedding for the dataset, the pixel embedding comprising a corresponding pixel embedding for a given pixel; identifying, in the first enhanced image and the second enhanced image via the first image segmentation data and the second image segmentation data, a first group of segments to which the given pixel belongs; identifying a second set of segments across the data set, the second set of segments not including the given pixel; computing a local segmentation loss for the given pixel based on the corresponding pixel embedding, the pixel embedding involving attracting the first set of segments while repelling the second set of segments; calculating a global concept loss based on similarity determination between the first set of segments and concept vectors of corresponding concepts, the corresponding concepts classifying a set of global segments based on semantic meaning, the set of global segments including the first set of segments and other sets of segments having the same semantic meaning across the data set; Optimizing a total loss taking into account the local segmentation loss and the global concept loss; and Parameters of the machine learning system are updated based on the total loss.

16. The non-transitory computer readable medium of claim 15, further comprising: identifying accompanying concepts that co-occur with the corresponding concept in the first enhanced image and the second enhanced image; as well as calculating a co-occurrence loss for the given pixel based on attracting the third set of segments while repelling the fourth set of segments, in, The third set of segments includes the set of global segments associated with the corresponding concept and other sets of global segments associated with the companion concept, and The fourth group of segments are associated with other concepts that do not co-occur with the corresponding concept.

17. The non-transitory computer-readable medium of claim 16, wherein the total loss also takes into account the co-occurrence loss, such that the total loss is a weighted combination of the local segmentation loss, the global concept loss, and the co-occurrence loss.

18. The non-transitory computer readable medium of claim 15, further comprising: The concept vector that is closest to the corresponding concept of the first set of segments is identified via a vector quantization dictionary.

19. The non-transitory computer-readable medium of claim 15, wherein the machine learning system comprises a convolutional neural network model.

20. The non-transitory computer readable medium of claim 15, wherein: The machine learning system includes a Siamese network having a first embedded neural network and a second embedded neural network; The first embedding neural network is configured to generate a first pixel embedding in response to receiving the first augmented image; The second embedding neural network is configured to generate a second pixel embedding in response to receiving the second augmented image; as well as The pixel embedding includes the first pixel embedding and the second pixel embedding.

Citation Information

Patent Citations

  • Image description method based on adaptive local concept embedding

    CN111737511A

  • Unsupervised concept-to-sentence-based generative adversarial network image description algorithm

    CN113220891A