Method for classifying highly resolved multidimensional data

FR3147418A1Active Publication Date: 2024-10-04COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2023002884
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-04
Estimated Expiration
2043-03-27

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A computer-implemented method for classifying data using a machine learning model, comprising the steps of: Receiving (101) a set of multidimensional data measured by means of sensors; Determining (102, 103, 104) several different subsampled representations of the received data, each representation having a resolution lower than the received data in at least one dimension; Applying (105) a first machine learning engine to said subsampled representations so as to convert them into a reduced feature space; Applying at least one other machine learning engine to said features from among a segmentation engine (107) or a semantic detection engine (106), so as to segment the multidimensional data into several classes of objects and / or to detect the presence of a given object in the multidimensional data. Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method for classifying highly resolved multidimensional data

[0001] The invention relates to the field of automatic classification or segmentation of large multidimensional data. The field of the invention is also that of artificial intelligence methods based on one or more machine learning engines, for example artificial neural networks, to carry out automatic classification or segmentation of large multidimensional data.

[0002] Multidimensional data are, for example, multispectral or hyperspectral images having a high spatial resolution and a large number of wavelength channels. They may also concern three-dimensional images or three-dimensional models in the form of voxels. More generally, multidimensional data may comprise more than three dimensions, for example, they may be video sequences comprising two or three spatial dimensions and one temporal dimension.

[0003] When processing multidimensional data that has at least three or more dimensions, and each of the dimensions is highly resolved, the size of the data to be processed and stored quickly becomes very large. To carry out automatic classification or segmentation of such data, there is a problem of computing capacity and memory storage, more generally of hardware limitations of the computers used to implement this type of algorithm.

[0004] There is therefore a problem to be solved in finding solutions for processing highly resolved multidimensional data with computers having limited capacities and resources for carrying out classification and / or segmentation.

[0005] A known approach to apply automatic classification methods to large multidimensional data is to apply preprocessing to the data through principal component analysis to reduce the size of the data in at least one dimension. Machine learning methods such as neural networks, random forests or support vector machines are then applied to the compressed data.

[0006] For example, in the case of hyperspectral images comprising a large number of wavelength channels (typically several hundred), a principal component analysis can be applied to reduce the number of channels to approximately 3 to 5 channels.

[0007] Similarly, an equivalent treatment can be applied to reduce a dimension temporal, for a video sequence for example by selecting certain key frames in the temporal sequence in order to reduce the temporal resolution.

[0008] Such an approach works well for problems aiming to classify objects belonging to a small number of classes, typically two or three known classes. However, when it comes to separating objects of a known element from unknown objects, it is not possible to ensure that, among the unknown objects, some will not have the same spectral response as the known object in the few channels retained. Conversely, the probability that an unknown object has the same spectral response as a known object on a large number of channels is much lower. There is therefore an interest in retaining all the channels of the hyperspectral data to carry out the classification.

[0009] Furthermore, there is also an interest in carrying out the classification from a highly spatially resolved image, or even coupled with a depth map, which makes it possible to identify precise geometric characteristics to carry out efficient segmentation.

[0010] Similarly, there is an interest in maintaining a high temporal resolution for video sequences because the selection of key frames to reduce the temporal resolution is a difficult problem to solve.

[0011] The invention proposes a new classification method which makes it possible to process raw multidimensional data by integrating several sub-samples of this data, the parameters of which can be learned automatically or not. The invention thus makes it possible to limit the computational complexity of the processing while retaining a priori several sub-sampling options which make it possible to adapt as best as possible to each type of object to be classified or segmented in the initial data.

[0012] Unlike traditional approaches based on a reduction, a priori, of the dimensions of the data by means of principal component analysis, the invention makes it possible to improve classification performance for multiple objects by not eliminating, a priori, a significant part of the resolution of the initial data while limiting the computational complexity by using sub-sampled data.

[0013] The subject of the invention is a computer-implemented method for classifying data using a machine learning model, comprising the steps of: - Receive a set of multidimensional data measured by means of sensors, - Determine several different subsampled representations of the received data, each representation having a resolution lower than the data received on at least one dimension, - Apply a first machine learning engine to said sub-sampled representations so as to convert them into a reduced-size feature space, - Applying at least one other machine learning engine to said characteristics among a segmentation engine or a semantic detection engine, so as to segment the multidimensional data into several classes of objects and / or to detect the presence of a given object in the multidimensional data.

[0014] According to a particular aspect of the invention, the multidimensional data are of one of the following types taken alone or in combination with another type: multispectral or hyperspectral images, three-dimensional images, video sequences in two or three spatial dimensions, measurements of temperature, pressure, hygrometry.

[0015] In a particular embodiment, the method according to the invention further comprises a machine learning engine configured to learn the sub-sampling functions making it possible to transform the set of data received into several sub-sampled representations.

[0016] In a particular embodiment, the method according to the invention further comprises a classification step based on probabilistic modeling to generate a probability of belonging to a class.

[0017] In an alternative embodiment of the invention, the machine learning model is trained in a supervised manner and the method further comprises selecting, from among all the sub-sampled representations of the multidimensional data, a subset of the representations which contribute most to the classification task.

[0018] In an alternative embodiment of the invention, at least one of the machine learning engines is a convolutional neural network.

[0019] In an alternative embodiment of the invention, the machine learning model is trained using segmentation masks associated with multidimensional training data, the segmentation masks being capable of segmenting the data into different classes.

[0020] In an alternative embodiment of the invention, the segmentation engine is a convolutional neural network (202) configured to receive as input the characteristics produced as output from the first machine learning engine and to deliver as output a multidimensional segmentation mask of dimensions identical to the received data, capable of classifying different objects contained in the received data.

[0021] In an alternative embodiment of the invention, the detection engine is a convolutional neural network configured to receive as input the characteristics produced as output from the first machine learning engine and to deliver as output semantic information of the presence, in the received data, of an object belonging to a given class.

[0022] In an alternative embodiment of the invention, the multidimensional data comprises at least three different dimensions.

[0023] The invention also relates to a computer program comprising code instructions for implementing the method according to the invention when said program is executed on a computer and a computer-readable recording medium on which the computer program according to the invention is recorded.

[0024] Other characteristics and advantages of the present invention will appear better on reading the description which follows in relation to the following appended drawings.

[0025] [Fig.l] represents a flowchart detailing the steps of implementing a classification method according to an embodiment of the invention,

[0026] [Fig.2] represents a diagram of an example of an artificial neural network configured to implement the invention,

[0027] [Fig.3] represents a first example of classification of objects obtained by executing the invention,

[0028] [Fig.4] represents a second example of classification of objects obtained by carrying out the invention.

[0029] [Fig.l] illustrates, on a flowchart, the steps of implementing a method for classifying objects according to one embodiment of the invention.

[0030] The first step consists of the acquisition 101 of multidimensional data. These data preferably have at least three dimensions. They may be hyperspectral or multispectral images having two spatial dimensions and one dimension corresponding to a number of spectral wavelengths. They may also be three-dimensional data, for example 2D images accompanied by depth information. The multidimensional data may also be voxels characterizing a three-dimensional scene.

[0031] The imaging data can be supplemented by one or more additional dimensions corresponding to measurements from sensors such as temperature, pressure, and hygrometry measurements.

[0032] The data considered can also be video sequences, in which case a temporal dimension is added to the image data.

[0033] It may also be medical imaging data for which an additional dimension corresponds to a spatial dimension according to which several acquisitions by MRI imaging are carried out in order to produce several cross-sectional images. of a volume.

[0034] Generally speaking, any data obtained from sensors and comprising several dimensions (preferably at least three) can be used as input to the method according to the invention to the extent that there is a problem of detection, segmentation and / or classification of objects within this data.

[0035] A general objective of the method is to detect and / or categorize objects from the information captured by the measured data. For example, if the data is imaging data, the objects to be categorized are objects identified in the captured scene.

[0036] Another objective is to limit the size of the data to be processed by the classification algorithm while retaining the maximum amount of information present in the content of the data so as to allow classification of any type of object and not only specific predefined objects.

[0037] Multidimensional data has dimensions greater than several hundred elements. For example, it can be spectral images of size 512 by 512 pixels with 200 channels per pixel or 3D voxels of dimensions 1000 by 1000 by 1000 or video sequences of size 1920x1090x100 images.

[0038] For this, several sub-sampling steps 102, 103, 104 are applied to the acquired multidimensional data 101. Although three steps are shown in [Fig. 1], the invention is not limited to this number and may include a higher number of sub-sampling steps.

[0039] Each sub-sampling step 102,103,104 is intended to sub-sample at least one dimension of the data with a predefined sub-sampling factor.

[0040] An advantage of using multiple subsamplers applied to all dimensions independently is that this allows for maintaining a higher resolution for a portion of the dimensions at the output of each subsampling step. In this way, the semantic content of the data can be exploited at full resolution at least at the output of a subsampling step but the overall size of the subsampled data is reduced compared to the original data.

[0041] Considering as input hyperspectral images of dimensions N,P,Q, i.e. images of size N by P having Q wavelength channels, possible sub-sampling examples are {N / 8,P / 8,Q}, {N / 4,P / 4,Q / 2}, {N / 2,P / 2,Q / 4}, {N,P,Q / 8}.

[0042] For example, for a spectral image of dimensions 512x512x200, an example of possible sub-samplings consists of generating images of dimensions 512x512x25, 256x256x50, 128x128x100, 64x64, 200.

[0043] Thus, advantageously, each dimension can be assigned a sub-sampling factor equal to a power of 2.

[0044] In this example, the input data volume is reduced from 512x512x200 to 512x512x200x(l / 8 +1 / 16+1 / 32+1 / 64). In this example, the data volume to be processed is reduced but the automatic classification method by learning has access to the full spatial resolution and the full spectral resolution according to the outputs of the subsamplers.

[0045] The number of sub-sampling operations and the associated sub-sampling factors are predefined parameters of the invention.

[0046] In one embodiment of the invention, the sub-sampling functions are predefined, they correspond for example to usual geometric functions such as averages or median functions on a sliding window.

[0047] In another embodiment of the invention, the subsampling functions are performed by a convolutional neural network and are learned via training of this network.

[0048] At the output of steps 102, 103, 104, several sub-sampled versions of the acquired data are obtained.

[0049] Next, a processing step 105 is applied in order to convert the sub-sampled data into a space of relevant representations. For this, step 105 can be carried out by means of a convolutional neural network trained to extract relevant characteristics or “features” in English, in a reduced-dimensional space according to an intermediate representation.

[0050] The intermediate representation provided at the output of step 105 is then used via a semantic detection step 106 or segmentation step 107, each of these two steps being able to be executed alone or in addition to the other.

[0051] The segmentation step 107 can be carried out by means of a convolutional neural network which takes as input the characteristics of the data in the intermediate representation and provides as output multidimensional data of dimensions identical to the acquired data 101 and which represent a segmentation mask of the data in which certain objects belonging to classes are identified.

[0052] The semantic detection step 106 can also be carried out by means of a convolutional neural network which takes as input the characteristics of the data in the intermediate representation and provides as output a binary data in the form of a segmentation indicator which indicates whether an object of a given category is present in the acquired data. For example, this indicator is a vector each component of which indicates, by a binary value, whether an object belonging to a class is present in the acquired data.

[0053] [Fig.2] schematically represents an example of implementation of the method of [Fig.l] in the form of an artificial neural network.

[0054] In this example, the artificial neural network is composed of a first neural network 201 configured to execute the processing step 105, which takes as input the subsampled versions of the initial data and produces as output features in an intermediate space. In the example of [Fig.2], the neural network 201 receives four inputs corresponding to four subsampled versions of the data with different subsampling rates.

[0055] A second neural network 202 takes as input the outputs of the first network 201 and provides a full-resolution output, i.e. having the same resolution as the initial data on all dimensions and corresponding to a classification mask.

[0056] A third neural network 203 takes as input the outputs of the first network 201 and provides an output corresponding to an indicator of the presence of an object of one or more given classes in the input data.

[0057] Each of the networks 202,203 can be used alone or both networks can be used together.

[0058] In an alternative embodiment not shown in [Fig.2], the subsampling functions for obtaining the subsampled data at four different subsampling rates as input to the network 201 can be learned and executed by means of another artificial neural network which takes as input the fully resolved data acquired in step 101 and provides as output the subsampled data.

[0059] The training of the downsampling neural network can be done independently by configuring its cost function so as to minimize the information contained in the input data and lost by downsampling.

[0060] Alternatively, the entire neural network described in [Fig.2], including the subsampler network, can be fully learned in a supervised manner to perform the desired segmentation or classification task.

[0061] In one embodiment of the invention, when training the neural network of [Fig. 2], the inputs of the network 201 which contribute most to the outputs of the networks 202 or 203 are identified for a type of data corresponding to the training data and a type of objects to be classified in this data. If certain inputs do not contribute or contribute very little to the outputs, in an alternative embodiment, when using the neural network to perform the targeted classification task, these inputs are deleted so as to reduce the computational complexity.

[0062] Thus, an advantage of the invention is that it makes it possible to identify which sub-sampled data, and in particular according to which dimension, contribute best to the classification of a given object. Indeed, different semantic information can be contained in the different dimensions of the data.

[0063] For example, in some images, it can be observed that the semantic information will still be present when only one spatial dimension is subsampled.

[0064] In another example, certain objects may be better identified in certain spectral channels of spectral images.

[0065] Without departing from the scope of the invention, the neural networks described in [Fig.2] can be replaced by other artificial intelligence or machine learning engines such as support vector machines or random forest algorithms.

[0066] In an alternative embodiment, a particular classification algorithm can be implemented in the last layer of the networks 202 and 203 to carry out probabilistic modeling of the data and provide a probability of belonging to a class of objects.

[0067] A possible probabilistic modeling classification method is described in the scientific publication Li, C.-L. et al, “CutPaste: self supervised learning for anomaly detection and localization”, 2021 IEEE / CVF Conference on Computer Vision and Pattern Recognition.

[0068] The representation provided in [Fig.2] shows a neural network architecture that appears as a grid, with communications between neurons in the network at the same resolution and at different (lower or higher) resolutions. This can be seen in the representation of the network 201.

[0069] This architecture can be modified and parameterized after learning by adding residual short-circuit type connections or by removing certain parts of the connections which do not contribute to the task which one wishes to solve in order to save occupied memory and calculation time.

[0070] [Fig. 3] illustrates, in an example, a classification result obtained by means of the invention. The data considered for the example are 2D images. [Fig. 3] shows an image 301 of a table on which several objects are arranged, including batteries 303, a black plate 304 and a key 305.

[0071] The image 302 on the right represents the output of the neural network 202 which provides a segmentation mask of the same dimensions as the original image 301 and in which the object classes “battery”, “black plate” and “key” are identified and spatially located.

[0072] [Fig.4] illustrates another example of application of the invention which concerns the detection of defects in tissues. The two images 401,402 represent two different tissue images. Each of these images contains a defect which is identified on the corresponding segmentation masks 411,412.

[0073] The images 403,413,404,414 correspond to zooms on the area of ​​interest respectively of the original images 401,411,402,412.

[0074] Unlike state-of-the-art methods, the invention makes it possible, thanks to the use of different sub-sampled versions of the original multidimensional data, to preserve the semantic information of the data while limiting the computational complexity.

[0075] Generally, the invention can be implemented using hardware and / or software components. The software elements can be available as a computer program product on a computer-readable medium, which medium can be electronic, magnetic, optical or electromagnetic. The hardware elements can be available in whole or in part, in particular as dedicated integrated circuits (ASIC) and / or configurable integrated circuits (FPGA) and / or as neural circuits according to the invention or as a digital signal processor DSP and / or as a graphics processor GPU, and / or as a microcontroller and / or as a general processor for example.

[0076] The data produced as input to the method according to the invention can be acquired by an image sensor, a camera, a photographic device, a satellite imager or any other image capture device or more generally any sensor making it possible to measure physical data.

Claims

Claims

1. A computer-implemented method for classifying data using a machine learning model, comprising the steps of: - Receiving (101) a set of multidimensional data measured by means of sensors, - Determining (102,103,104) several different sub-sampled representations of the received data, each representation having a lower resolution than the received data on at least one dimension, - Applying (105) a first machine learning engine to said sub-sampled representations so as to convert them into a reduced-size feature space, - Applying at least one other machine learning engine to said features from a segmentation engine (107) or a semantic detection engine (106),in order to segment multidimensional data into several object classes and / or to detect the presence of a given object in the multidimensional data.,

2. Data classification method according to claim 1 in which the multidimensional data are of one of the following types taken alone or in combination with another type: multispectral or hyperspectral images, three-dimensional images, video sequences in two or three spatial dimensions, temperature, pressure, hygrometry measurements.

3. A method of classifying data according to any preceding claim further comprising a machine learning engine configured to learn subsampling functions for transforming the received data set into multiple subsampled representations.

4. A method of classifying data according to any one of the preceding claims further comprising a classification step based on probabilistic modeling to generate a probability of belonging to a class.

5. A method of classifying data according to any one of the claims- preceding indications wherein the machine learning model is trained in a supervised manner and the method further comprises selecting, from among all the subsampled representations of the multidimensional data, a subset of the representations which contribute most to the classification task.

6. A method of classifying data according to any one of the preceding claims wherein at least one of the machine learning engines is a convolutional neural network (201,202,203).

7. A method of classifying data according to any one of the preceding claims, wherein the machine learning model is trained using segmentation masks associated with multidimensional training data, the segmentation masks being capable of segmenting the data into different classes.

8. A method of classifying data according to any one of the preceding claims, wherein the segmentation engine is a convolutional neural network (202) configured to receive as input the characteristics produced as output from the first machine learning engine and to deliver as output a multidimensional segmentation mask of dimensions identical to the received data, capable of classifying different objects contained in the received data.

9. Method for classifying data according to any one of the preceding claims, in which the detection engine is a convolutional neural network (203) configured to receive as input the characteristics produced as output from the first machine learning engine and to deliver as output semantic information on the presence, in the received data, of an object belonging to a given class.

10. A method of classifying data according to any preceding claim wherein the multidimensional data comprises at least three different dimensions.

11. A computer program comprising code instructions for implementing the method according to any one of the preceding claims when said program is executed on a computer.

12. A computer-readable recording medium on which the computer program according to claim 11 is recorded.