Automatic system based on neural networks and deep learning for the segmentation of brain tumours in magnetic resonance images

A deep learning system using convolutional neural networks and a cross-attention model addresses the challenges of brain tumor segmentation in MRI images by reducing computational costs and achieving high accuracy, offering an efficient and precise automated solution for tumor segmentation.

WO2024224295A1PCT designated stage Publication Date: 2024-10-31INDIRA HEALTHTECH SAS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/IB2024/053964
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Current methods for segmenting brain tumors in MRI images are time-consuming, prone to human error, and suffer from variability in interpretation, necessitating an automated system that can accurately discriminate between normal and abnormal tissues with high efficiency and precision.

Method used

A deep learning-based system utilizing convolutional neural networks and a novel cross-attention model, integrated with separable convolutions and an asymmetric Dice loss function, to segment brain tumors in MRI images, reducing computational cost while achieving state-of-the-art performance in tumor segmentation.

Benefits of technology

The system effectively segments brain tumors with high accuracy, reducing the workload for radiologists and providing precise tumor demarcation, comparable to human performance, while maintaining low computational requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2024053964_31102024_PF_FP_ABST
    Figure IB2024053964_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to systems and methods for segmenting and detecting the presence of brain tumours based on deep learning algorithms in magnetic resonance imaging (MRI). The system is made up of an image forming device, an input / output interface, at least one processor, a database, and a memory comprising executable instructions to implement the method comprising: i. Receiving the magnetic resonance images of a patient's brain that show injuries, tumours or any type of abnormality; ii. Segmenting the areas that potentially have tumours by means of a learning algorithm; iii. Determining the projected final area of the obtained segmentation; iv. Displaying the obtained segmentation together with the original image to better show the professional the region of interest in the image to be studied.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Automatic system for segmenting brain tumors in magnetic resonance imaging based on neural networks and deep learning

[0002] TECHNOLOGY SECTOR

[0003] The present invention relates to the segmentation of brain tumors on magnetic resonance images (MRI) in the fluid-attenuated inversion recovery (FLAIR) acquisition sequence. The development refers to a segmentation algorithm based on deep learning (DL) methods, specifically convolutional neural networks (CNN) and the design of a new scalar dot product based on attention methods. In general, the method has potential applications in the field of bioengineering and related areas, since it covers physico-mathematical concepts and methods useful for solving problems in the life sciences, using analytical and synthetic engineering methodologies.

[0004] BACKGROUND OF THE INVENTION

[0005] Brain tumors are a group of cells that form abnormal tissues and grow uncontrollably, compromising the functioning of the nervous system (Buckner et al., 2007). Tumors are classified into a heterogeneous set of neoplasms ranging from differentiated lesions (e.g., meningiomas) to poorly differentiated invasive lesions, such as multiforme gliomas (Vernau and Dickinson, 2006). The latter, among brain tumors, has the highest mortality rate, is the most progressive, and accounts for almost 80% of malignant tumors (Chen et al., 2016). The aggressiveness of gliomas limits the 5-year survival rate to 21% in people over 40 years of age (American Society of Clinical Oncology, 2021). However, early and accurate detection of tumor tissue can significantly reduce these figures (Abd-Ellah et al., 2019).Furthermore, the location of the glioma, the shape and size of the tumor are vital information for determining survival and defining treatment plans, which may include surgery, chemotherapy, radiotherapy, or a combination of these (Tabatabai et al., 2010). Fortunately, constant technological evolution has allowed the development of exploratory tools such as magnetic resonance imaging (MRI), which is one of the main non-invasive methods (Tabatabai et al., 2010). Its use has expanded to include clinical analysis and the study of the progression of various pathologies, including brain neoplasms (Grover et al., 2015). Furthermore, its high spatial resolution and the absence of ionizing radiation make it the ideal tool for brain exploration (Grover et al., 2015). In particular, MRI magnetizes organic tissue through radiofrequency waves and a high-intensity magnetic field.In the process, the tissue returns to a low-energy state under relaxation periods specific to each tissue, which allow for the creation of an anatomical image. MRI is also the standard technique for monitoring neoplasia due to its high contrast between soft tissues (Bauer et al., 2013; DeAngelis, 2001; Lang et al., 2016), which allows affected regions to be seen as changes in intensity and irregular shapes.

[0006] In medical practice, segmentation can be performed manually, where the radiologist or other attending physician delineates or segments the affected tissue region (Starmans et al., 2020). However, the process is tedious, time-consuming, and subject to interpretation by the attending physician. It is also subject to other factors such as skills, experience, and even external factors, generating results that depend on high intra- and inter-rater variability (I§m et al., 2016). Therefore, having an automated tool is a primary necessity for tumor tissue segmentation. The implications would eliminate human error, make the process more efficient and faster, and even improve treatments due to accurate segmentation in treatment assessment (Reuter et al., 2014).Machine learning developments have played an important role in different areas of bioinformatics, and interest in them has increased with deep learning (DL) techniques (Ravi et al., 2017). Furthermore, the amount and availability of public data have made it possible to take full advantage of DL architectures. Consequently, it is easy to find DL networks focused on tasks such as classification, detection, prediction, and segmentation (Khan et al., 2020; Liu et al., 2017). For example, convolutional neural networks (CNNs) are widely used in medical image segmentation (Hambarde et al., 2020; L¡ et al., 2020; Pan et al., 2020; Wu et al., 2020; Yang et al., 2020). Pixels are classified into two or more element types (e.g., background and abnormal tissue).

[0007] Automatic brain tumor segmentation is not a recent problem. In fact, the first approaches arose from image processing techniques and the emergence of computer vision (Freuder, 1976). Similarly, segmentation is a problem that has been addressed in various disciplines, and new and more robust techniques emerge every day. Implementations range from basic image processing techniques to new artificial intelligence techniques (Chowdhary and Acharjya, 2020). The latter have even experienced exponential growth in recent years due to the versatility and high performance of techniques such as convolutional neural networks (CNNs). Among the most recent and innovative works is that of (Mascarenhas et al., 2020), which proposes a method for histogram equalization, intensity adjustment, binarization, and segmentation using brain region coordinates.On the other hand, in a more robust approach, (B. Chen et al., 2020) use a support vector machine and an extended Kalman filter, achieving accuracies close to 98%. These approaches are promising; however, most of the current research focuses on convolutional neural networks. Clear examples of this are (Jacobo and Mejia, 2020), (Shehab et al., 2020), (Naveena et al., 2020), (Jungo et al., 2020), (Banerjee and Mitra, 2020), (Zhou et al., 2021), (H. Chen et al., 2020), (Baur et al., 2020), and (Pei et al., 2020). Among convolutional neural networks (CNNs), ll-Net stands out, an architecture primarily used for semantic image segmentation tasks in medical image processing. The name ll-Net comes from its inverted U shape, which consists of two main parts: the contraction path and the expansion path.The contraction route is responsible for extracting features from the input image, while the expansion route is responsible for performing the upsampling task or expansion, where the resolution of the extracted features is increased to obtain an output of a size similar to the original image. (Jacobo and Mejia, 2020) use a fully convolutional multiband architecture with filters of different sizes. Likewise, (Shehab et al., 2020) use CNNs with the incorporation of blocks with a residual connection in an ll-Net type conformation (ResNets), achieving Dice scores close to 86% in the segmentation of the entire tumor. Likewise, (Naveena et al., 2020) achieve this same result (Dice of 86%) but implementing the network on multichannel resonance images.

[0008] For their part, (Jungo et al., 2020) observe a score of 88% in their quantitative analysis of uncertainty estimation methods, using ll-Net type networks trained with the cross-entropy loss function. In contrast, (Banerjee and Mitra, 2020) achieve 90.21%, performing volumetric segmentation from two-dimensional CNNs applied to axial, coronal, and sagittal slices. Furthermore, (Banerjee and Mitra, 2020) integrates a consensus fusion strategy with post-refinement based on conditional random fields in an encoder-decoder network. The model is trained using the Dice and weighted log loss functions. Along the same lines, (Zhou et al., 2021) approach the 3D problem from an efficient residual network. The development uses the 3D ShuffleNetV2 network as an encoder, reducing the computational cost.In addition, Zhou integrates a fusion loss function consisting of cross entropy and the Dice coefficient, achieving a score of 91.21%. In other more ingenious approaches, (H. Chen et al., 2020) start from the principle of structural symmetry of the two cerebral hemispheres to create a symmetrical network, searching for the asymmetries present in brain tumors. Chen incorporates the residual connection blocks, the focal loss function, and adds post-image refinement, obtaining a score of 85.2%.

[0009] In recent studies, it is possible to find approaches within unsupervised training or architectures that are not fully convolutional, (Baur et al., 2020) and (Pei et al., 2020). The first implements an encoder trained with healthy patients using a reconstruction function, capturing the physiology of healthy subjects using an unsupervised network. In contrast, (Pei et al., 2020) design a 3D encoder-decoder architecture with a full connection in the deepest layers of the architecture. Furthermore, they compare their results with the ResNet, ll-Net and UNet-VAE architectures and train their design using a two-factor loss function (Dice and semantic loss), achieving the highest scores with their network (values ​​close to 89%).

[0010] In approaches other than brain tumors (Chen et al., 2021), attention methods are used. These are techniques used in the field of DL to improve the ability of neural networks to process and understand complex and structured information. In this sense, Transformers are used as an attention mechanism to help the model focus on the most important parts of the image. The authors propose a segmentation network that uses Transformers as the backbone of its model. Specifically, the model features a Transformer at the network input, which encodes tokenized image patches from a CNN feature map as an input sequence to extract general contexts.The network is then integrated with a decoder that upsamples the encoded features, which are then combined with the high-resolution CNN feature maps to enable precise localization of the lesion or organs of interest. In this research, the results showed that the proposed network managed to outperform the state-of-the-art, achieving an average Dice value of 77.48%. Similarly, (Un et al., 2022) proposed a hierarchical swin transform in both the encoder and decoder of the ll-Net architecture. The network achieved a Dice segmentation score of 94%, but the network used approximately 287 million training parameters. Meanwhile, (Xie et al., 2021) designed a network for organ segmentation integrated with a CNN and a deformable transform. The architecture achieved a Dice score of 85% using approximately 41.9 million training parameters.It is worth mentioning that the two groups of authors mentioned above recognize the U-Net as the de facto standard, due to its great success (Chen et al., 2021; Xie et al., 2021).

[0011] Although the results are promising, most research focuses on conventional U-Net, based on filters or convolutional operators, which shapes thousands or millions of training parameters. This approach requires a large number of computational resources, state-of-the-art graphics cards or computers with RAM capacity sufficient to support the demands of the models. The limitation of computational resources has always been an inherent problem in artificial intelligence developments. Consequently, efforts are focused on reducing the computational load without losing the high efficiency of the models. For example, backpropagation has been one of the fundamental algorithms that has allowed reducing the computational cost since the gradient is preserved as the network layers progress backward (Munro et al., 2011; Schmidhuber, 2015; Werbos, 1974).On the other hand, techniques such as stochastic gradient descent have been implemented, which, although it produces a stochastic variation before reaching the optimal values, reduces RAM usage (Ketkar, 2017; Li et al., 2014).

[0012] According to the above, the developments employed in medicine to address brain tumor segmentation in functional magnetic resonance imaging still require cutting-edge methods to achieve precise segmentation values ​​comparable to human performance. In other words, there is a need to develop automated systems that can appropriately discriminate different tissues (e.g., abnormal) based on morphological and spatial characteristics. In particular, the system must be able to determine the invasive causality of abnormal tissue relative to the normal anatomical distribution, from differentiated lesions (e.g., meningiomas) to highly invasive and multiform lesions. To address these issues, some related inventions are presented below.

[0013] Patent registration CN114494296A refers to a glioma segmentation method and system based on the fusion of ll-Net and Transformer (attention mechanism). The system consists of the following steps: preprocessing the image to be analyzed, inputting it into a brain glioma segmentation model based on ll-Net and Transformer, and obtaining the entire tumor area, the tumor enhancement area, and the tumor core area. The segmentation model is obtained through a training process that includes flattening the preprocessed image into a series of two-dimensional (2D) slice sequences and inputting the preprocessed image into a series of three stages; first a convolutional neural network, the Transformer and the ll-Net network, then using the stochastic gradient descent method to train the network structure based on the minimized loss function.The method also includes sub-steps for extracting feature pyramids, extracting detailed information, and cascading anisotropy to improve segmentation accuracy. The use of the ll-Net and Transformer architectures is due to the large differences that exist in medical images between glioma and the background, where the segmentation edge is generally not very well defined and prevents differentiating the three parts of the glioma, so the ll-Net is responsible for providing low-level visual signals and the Transformer the edge and global information. From a sequence-to-sequence prediction perspective, it can be established that it acts as a self-attention mechanism mediated by the Transformer, which combined with ll-Net provides an coding route for precise localization that is supported by low-level features.The authors claim that their fusion method results in higher accuracy compared to using ll-Net or Transformer independently.

[0014] On the other hand, CN114612656A describes the invention of a method and system related to magnetic resonance image (MRI) processing with an improved ResU-Net neural network. This invention seeks to solve two issues: First, the losses related to multi-scale features because ResU-Net does not extract features from images of various sizes and sacrifices details and second, during feature fusion, skip connections concatenate shallow and deep features in the decoder part; however, the former contain a lot of redundant information that affects the segmentation result. The inclusion of a residual convolution module that includes a self-attention mechanism is proposed, which improves the weight of useful information and the network performance.A feature pyramid module with a Transformer self-attention mechanism is also incorporated between the Resll-Net encoder and decoder, which improves tumor segmentation accuracy by handling different feature map sizes. Finally, the problem of the large amount of redundant information in low-level features is solved by including the Transformer self-attention module after each skip-connection layer.

[0015] A different approach to tumor segmentation than that contemplated in this patent is through three-dimensional processing. CN113888555A describes an invention in the technical field of medical image processing regarding a U-Net 3D multimodal brain tumor image segmentation system based on attention mechanisms. This invention addresses two limitations: small brain tumor image datasets and class imbalance.With respect to the traditional segmentation model, the invention includes the following improvements: The proposed network can directly process 3D MRI images; the global operation and the inclusion of the attention mechanism allow the network to pay more attention to the specific; the inclusion of the attention mechanism between short connections and decoding paths and the fusion of multimodal image information of patients increases the accuracy in tumor segmentation and Dice score; the proposed network can be trained end-to-end and directly with 3D image data, greatly favoring practicality.

[0016] The implementation of U-Net-based architectures for brain tumor segmentation using MRI images is also described in CN112200791A. The method uses a combination of preprocessing, segmentation, and postprocessing techniques for accurate and efficient detection. The neural network is trained on a large dataset of labeled medical images with information about the presence and location of tumors. Once trained, the neural network can be used to segment tumors in new medical images, which can help physicians diagnose and treat brain tumors more effectively. The idea is supported by a multiple classification model (SVM). The method uses a residual model as the basic module for building the deep learning network and uses three two-classification models for tumor segmentation in the images.The model identifies multiple tumor regions and lesions through three segmentation channels of two types and combines the segmentation results of each channel for an effective final .

[0017] CN111192245A presents an invention in the field of neural networks and cavity convolution for brain tumor segmentation in MRI images. This invention utilizes a U-Net network developed to address over- or under-segmentation problems. The U-Net network consists of a contraction path, an expansion path, and a network skip connection. The contraction path utilizes four downsampling layers, while the expansion path utilizes four adjacent sampling (upsampling) layers. The network skip connection introduces cavity convolutions of different scales and summation or aggregation functions to form a residual block of cavity convolutions with the original input. This method enables accurate and efficient detection of brain tumors in MRI images and may assist physicians in the diagnosis and treatment of brain cancer patients.In addition, the patent describes a technique for fusing multiple segmentation models to improve segmentation accuracy and a post-processing technique for eliminating false positives.

[0018] A brain tumor detection method based on attention mechanisms and multimodal fusion of magnetic resonance images (MRI) is described in CN114119515A . The invention improves three-dimensional brain tumor segmentation using a multimodal convolutional neural network Multi-U-Net by enriching the encoding section by adding an attention module behind it. Experimental results show that this method outperforms other brain tumor detection methods in terms of accuracy and runtime. The invention consists of using a Multi-Unet model with a hybrid dilated convolution (HDC) block to enlarge the receptive field and extract beyond the boundary contour. In addition, a multi-branch output convolution (MB-OutConv) block with 1x1 and 3x3 kernels is used to process the segmentation map and generate the original segmentation map for classification.Finally, an attention module defined with channel-based attention blocks is used to capture the pixel association between each channel of the original segmentation map.

[0019] In CN113487560A, the proposed method uses a deep neural network architecture, which includes an encoder, a decoder, and a spatial feature attention mechanism. The encoder and decoder are used to extract features from MRI images and to reconstruct the tumor segmentation map, respectively. The spatial feature attention mechanism is used to improve the segmentation accuracy by selectively emphasizing the most informative spatial features. The spatial feature attention mechanism consists of a spatial attention sub-module and a feature attention sub-module; the former includes a MaxPooling (dimensionality reduction) layer, an AvgPooling (dimensionality reduction) layer, a connection operation, a downsampling layer, an upsampling layer, and a Sigmoid layer.The feature attention submodule includes a MaxPooling layer, an AvgPooling layer, a connection operation, a Transformer layer, a 3D convolutional layer, and a Sigmoid layer.

[0020] A generalization around medical image segmentation of different body organs using U-Net is described in CN114092439A, this method uses a deep learning approach that uses a convolutional neural network and an instance segmentation technique to identify and segment each organ in the image. Additionally, the system uses an image registration technique to improve the segmentation accuracy. The system includes a computer processor, memory, and a user interface to allow input and output of image data. The proposed method and system have the potential to improve the accuracy and efficiency in segmenting multiple organs, which may aid in the diagnosis and treatment of medical diseases. In the invention, a training model is created using U-Net and the Transformer model for feature extraction and image segmentation.The Transformer model is used to learn the location information and feature attention weights, which are then fed back to the U-Net network for splicing and prediction. Finally, the U-Net-Transformer network model is used to obtain the image segmentation results.

[0021] While it is clear that the above patents use U-Net and Transformer architectures, the attention mechanism is used in its entirety without modification. The system covered by this patent uses a single ll-Net encoder-decoder neural network integrated with a novel cross-attention model to automatically identify tumor tissue and non-tumor regions in structural magnetic resonance images. All the inventions described above confirm the growing use and consolidation of systems composed of ll-Net and Transformer architectures in segmentation tasks, from the differentiation of normal and abnormal tissues to organs.

[0022] BRIEF DESCRIPTION OF THE INVENTION

[0023] The brain tumor segmentation method and system in MR images based on convolutional neural networks and DL attention methods allows for clear discrimination of neoplasms within the brain volume in axial sections. This system presents an analysis of brain tissue densities and morphological features, as a response to the estimation of invasive and / or abnormal factors. The approach promises to improve tumor segmentation, increasing the accuracy in demarcating affected regions, performing the process in reduced time and achieving performance comparable to human performance. Furthermore, the method is designed to reduce the workload of radiologists or healthcare professionals, while providing a valuable resource to the healthcare tool ecosystem.

[0024] Also, the invention involves the synergy between non-linear learning algorithms such as neural networks with deep learning approaches (attention methods), which work directly in achieving natural characteristics without external processes of augmentation of pathological features, with the difference of achieving a new integration between convolutional mechanisms (separable) and attention methods, presenting the characterization of tumor structures in a probability distribution with a high degree of precision. The present application contains a method for the segmentation of brain tumors by means of medical magnetic resonance images, displayed within a VNA viewer or brain MR.I viewing modality, comprising: i. Receiving brain magnetic resonance images of subjects that show lesions, tumors or any type of anomaly.

[0025] i. Segment the areas with potential brain tumors using a deep learning algorithm. iii. Determine the final projected area of ​​the obtained segmentation. iv. Visualize the obtained segmentation together with the original image, to highlight the region of interest within the image to be studied by the professional.

[0026] DESCRIPTION OF THE FIGURES

[0027] To further clarify the foregoing advantages and other features of the present invention, a particular description of the invention is presented with reference to the specific embodiments thereof illustrated in the accompanying figures. It is appreciated that these figures represent only typical embodiments of the invention and, therefore, are not considered to limit its scope.

[0028] 1) Figure 1 shows the general structure of the Transformer used as the base model for designing the segmentation model for brain tumors. a) General structure of the Transformer with its main elements. b) Multi-head attention block / module. c) Scalar product (scaled dot product) based on the self-attention model. d) Positional encoding generated for 25 inputs (words) and an embedding length of 512 features. e) Tokenization and embedding of the inputs. 2) Figure 2 shows the modified attention model with the cross dot product (inventive model).

[0029] 3) Figure 3 shows the general structure of the brain tumor segmentation model integrated into the U-Net structure.

[0030] 4) Figure 4 shows the general structure of the encoder used in each stage of the segmentation model.

[0031] 5) Figure 5 shows the bottleneck used in the connection between the encoder and decoder stages. The bottleneck is called the transition layer and is based on the cross-attention model.

[0032] 6) Figure 6 shows the general structure of the decoder used in each stage of the segmentation model.

[0033] 7) Figure 7 shows an example of upsampling implemented in the segmentation model.

[0034] 8) Figure 8 shows a general diagram of the brain tumor segmentation system in magnetic resonance images (100). i) The system starts from the image acquisition device (101) to form the brain anatomical volume in a structural magnetic resonance image.

[0035] i) A database (102) where the information that characterizes each subject is stored, such as their medical history, MR.I studies, among others. iii) The system has an input interface (103) such as a screen, a keyboard, a mouse, etc. iv) At least one processor (104) with a VNA viewer or brain MR.I reconstruction mode. v) A memory (105) coupled to at least one processor. vi) An output interface (106).

[0036] DETAILED DESCRIPTION OF THE INVENTION

[0037] The brain tumor segmentation system in MR images based on convolutional neural networks and DL attention methods is a proposal embedded within a VNA viewer that integrates the idea of ​​​​Transformers, which maintain the same intuitions of deep learning neural networks, in the base structure of the ll-Net. This allows a new approach to the attention model called "Cross Attention Model" managing to limit the loss of dimensions, and consequently of information, of the input images that usually occur in these processes for the respective segmentation and obtaining an optimal and innovative model for the health area.

[0038] I. INTRODUCTION AND DEFINITIONS

[0039] The present invention is an autonomous DL system for brain tumor segmentation on structural MRI images. The method is based on our Cross-Attention Model, which is inspired by the self-attention models included in Transformers.

[0040] The term "brain tumor" refers to the presence of uncontrolled growth of non-cancerous (benign) or cancerous (malignant) cells that may originate in the brain itself or as a result of metastasis (a spread due to another organ with cancerous tissue) that can develop at any age and, regardless of whether it is cancerous or not, is considered serious in all situations.

[0041] The term "MRI" refers to the process of creating cross-sectional images of the inside of the body by magnetic resonance imaging, which uses high-powered magnets to take cross-sections (views) from many angles, thus creating images of parts of the soft tissue of the body being studied.

[0042] The term "Deep Learning" refers to the artificial intelligence paradigm that uses neural networks as its active ingredient. Its main contribution is having a large set of these networks, with many deep layers, to maximize their complex behavior and achieve better performance.

[0043] The term "predictive biomarker" refers to a biological indicator that provides clues to a pathological event. When these indicators appear, it is also possible to use statistical or mathematical approximations to predict their behavior.

[0044] The term "Artificial Intelligence System" refers to an application or software that has an algorithm capable of imitating intelligent behavior for a specific task.

[0045] The term "Convolutional Neural Networks" refers to a type of artificial neural network composed of multiple layers of one- or multidimensional convolutional filters. At the end of each layer, a function is added to perform a nonlinear random mapping, preferably used for image classification and segmentation.

[0046] The term "ll-Net" refers to a neural network model composed of an encoder and decoder component used for semantic segmentation problems.

[0047] The term "attention model-method" in deep learning refers to a technique used in neural networks that allows a model to focus on the most relevant parts of an input when performing a task. This is achieved by assigning weights to each of the input elements, with those most important to the task at hand receiving greater weight.

[0048] The term "Vendor Neutral Archive (VNA)" refers to an application that stores medical images in a standard format with a standard interface. Therefore, images stored in VNA can be accessed through any workstation, regardless of the vendor.

[0049] The term "Pooling" in the artificial intelligence paradigm refers to the process of grouping pixels in an image.

[0050] The term "MaxPool", in the artificial intelligence paradigm, refers to obtaining the maximum values ​​from a given group of pixels.

[0051] The term "convolution" refers to a mathematical model capable of enhancing specific image features, using criteria such as edges, contours, curves, and contrasts, in a more in-depth manner than a standard convolution.

[0052] The term "Separable Convolution" refers to the mathematical model equivalent to convolution, but divided into two mathematical operations of lower computational cost.

[0053] The term "Feature Maps" in artificial intelligence is used to refer to a matrix that stores characteristics of an image, where those features are the group of edges, contours, curves and other attributes of an image.

[0054] The term "step shift" refers to the motion mapping of an image by jumping between pixels with units that can increment every 2, 4, 6, 8, or 1, 3, 5, and 7 pixels.

[0055] The term "R.IS-PACS type systems" refers to a system applied to medical imaging units that allows the patient's status to be known from the moment they enter the hospital unit, called R.IS, as well as another system that is responsible for storing images called PACS. II. METHOD FOR SEGMENTING BRAIN TUMORS

[0056] The brain tumor segmentation system is based on identifying tumor regions within the brain volume by classifying each pixel in the MRI image. In particular, neoplasms and lesions manifest as distinct tissues, which, in turn, are shown as changes in relaxation times, that is, with differences in intensity levels on the image. Similarly, neoplasms can appear anywhere in the volume, marking differences that do not correspond to the normal anatomical configuration. Consequently, the intensity and location of abnormal tissue can clearly reveal tumors on each axial slice in a 3D volume, which can be learned by an artificial neural network with a sufficient number of samples for training.

[0057] The invention is based on a novel, computationally low-cost model for brain tumor segmentation in structural MRI for the FLAIR acquisition sequence. The model is designed based on separable convolutional models, which divide the conventional operation into a depth-wise convolution and a point-wise convolution. Although these convolutions reduce the computational cost of the model, this affects the performance in brain tumor segmentation; therefore, we proposed a novel bottleneck connection between the stages of the U-Net network to extract abstract features from the model and achieve state-of-the-art segmentation while maintaining low computational cost.Our model was integrated with transition layers or layers based on the attention model, modified with the new concept we call Cross Dot Product, which avoids the loss of dimensionality by combining keys, queries, and values ​​in the multi-attention product. Additionally, for efficient model training, we also proposed a new loss function called the distance-penalized Asymmetric Dice Loss Function. Specifically, the architecture is based on self-attention models, which generate keys, queries, and values ​​from the input data (see Figure 1b). Moreover, the main difference is that it does not depend on previous states, since they are implicit in the positional encoding (see Figure 1d). Therefore, it is possible to use a single attention model or, alternatively, to use multiple attention models in parallel. The multiple model is known as multi-head attention.This generates the three matrices of keys, queries, and values ​​for each input embedding vector. For example, let xe be an embedding vector R. d d dimensions), then the queries, keys and values ​​of the expected image are described by the models expressed in equations (1), (2) and (3).

[0058] Q í = xW i q w¿ q and iR dxd '? (1) d q , d k yd v are the columns of the i-th header matrices, whose values ​​must be equal.

[0059] Matrices are the outputs of the linear blocks (see Figure 1b) and are used in the dot product of the attention model (see Figure 1e). The product is the main part of the model, consisting of the matrix product of the keys and queries. The result is scaled by dividing by d¿, subjected to the softmax activation function, and finally multiplied by the values, as shown in equation (4) and Figure 1e.

[0060] Although the model is quite efficient, equation (4) shows that the scalar product Qf K loses the dimensionality inherent to the product. Based on this premise, the proposed model is based on a cross-attention model, that is, the model is generated with the scalar product in the 3 possible combinations of the matrices (1), (2) and (3). In this sense, the proposed cross products are expressed by equations (5), (6) and (7).

[0061] In other words, the scalar product of Figure 1 is replaced by the model represented in Figure 2. The process is weighted and repeated for each header, generating the output of the first sublayer (see Figure Ib), described by equation (9).

[0062] MultiHead. = (Head1,Head2,Head k )W° (9)

[0063] Here, w° e Rd k hxd es | a ma tr¡z of the linear operation shown in Figure Ib and h is the number of headers in each of the N stacks.

[0064] The new network was integrated with new blocks based on the cross-attention model and low-cost convolutional operators (separable convolutions) to achieve brain tumor segmentation. Specifically, the overall structure of the network is shown in Figure 3.

[0065] The new network is inspired by the conventional U-Net architecture, but implements only four depth stages. Each encoder stage increases the number of feature maps and reduces their dimensions to half their initial dimensions. The first stage is a convolution with 32 3x3 filters and strides of two.

[0066] In this particular case, each two-dimensional convolution c between the matrices A and R nxn and B and R 3X3 It is denoted mathematically as expressed in equation (10). Where A and B are the fraction of the convolved image and the convolution operator (filter or kernel).

[0067] C = A * B (10) The matrices A and B are made up of the corresponding pixels which, in turn, are described by equation (11). The operation produces the output matrix c e fí (n-2) x (n-2) ( ve requation (12)), which loses dimensionality, a loss inherent to convolution in discrete space. It is worth mentioning that the (*) represents convolution and is not a conventional matrix product.

[0068] Furthermore, each element of the matrix c is given by equation (13).

[0069] Generally, convolution is a multi-channel operation corresponding to the multiple feature maps generated throughout the network. That is, for a set of N-channel feature maps, a filter K with the same number of channels must be present, such that the output of the convolutional layer can conform to the model described by equation (14).

[0070] Here, b is the bias associated with the filter K and <p es la función de activación del modelo.

[0071] Therefore, for a convolutional layer of k filters, a feature map (or channel) is generated for each filter as described in equation (15). j = 1, 2, 3, ..., / c

[0072] Equation (15) is the model of the convolutional layer of the network, and therefore the weights that constitute each filter and the biases bj are its training parameters. In the following three stages, the network uses similar encoder blocks. That is, the encoder blocks are structurally identical, but they only differ in the input and output dimensions of the set of feature maps it processes. The encoder blocks are structurally represented as shown in Figure 4.

[0073] The block is divided into two trajectories. The main trajectory consists of two separable convolutional layers, where the number of filters in each layer is twice the number of input feature maps.

[0074] Separable convolutions are similar to the conventional convolutions described above. However, they differ from the former in that the operation is divided into two convolutions: a depthwise convolution and a pointwise convolution. That is, for a convolution equivalent to the previous one (a set of N-channel feature maps and a 3x3 filter), the depthwise convolution described by equation (16) must be performed, where each filter has the same dimensions (i.e., D, e fí 3x3 ). EITHER í = * i = 1, 2, 3 N (16)

[0075] The operation is then used in the point convolution described by equation (17).

[0076] Here, the filter P has dimensions 1 x 1 and has the same number of channels as the input. Therefore, for a separable convolutional layer of k filters, the maps described by equation (18) are generated. j = 1, 2, 3, ..., / c Note that regardless of the number of filters selected, the depth convolution is the same for all k filters, therefore the number of training parameters is smaller in this operation.

[0077] Subsequently, the dimensions of the feature maps are reduced to half of the input size through max pooling in the encoder block (see Figure 4). The operation computes the maximum value across patches or windows along the feature maps. In general, for a set of feature maps A of dimensions R x c, the pooling expressed in equation (19) would be generated for a 2 x 2 patch or window operation.

[0078] Where, the M ÍI7 - are the maximums of the windows, as expressed in equation (20).

[0079] It is worth noting that the windows are applied along the rows and columns, therefore the number of channels is not affected.

[0080] The secondary trajectory (c s ) of the encoder block (see Figure 4), only has an lxl convolution, with strides of 2 and twice as many filters as the input number, adjusting the dimensions of this path to the output of the second, guaranteeing the dimensional conditions for the residual connection.

[0081] Residual connection is a simple but highly effective concept for facilitating the training of neural networks by mitigating the effect of gradient fading. Residual connection creates a parallel trajectory for a set of convolutional layers by applying the identity (%) - x mapping to the input layers and summing the result to the main trajectory, which is expressed mathematically as shown in equation (22).

[0082] R = MaxPooling(Á) + C s (22)

[0083] The process of the encoding blocks is repeated throughout the three stages, as illustrated in Figure 3. It should be noted that the output of each block is the input to the next block. Furthermore, the output of the last block is the input to the transition layer (see Figure 5), which leads to the decoding blocks (Figure 6). The decoding blocks are described after the transition layers.

[0084] As mentioned above, the transition layer receives the output from the last encoder block. The layer reorganizes the maps by taking patches from them, that is, for a set of feature maps with dimensions (batch, r, c, n) it is restructured to dimensions (batch, r, m, m). 2 n), where m 2 is the number of patches per map. The patches are then embedded into a lower-dimensional tensor using a linear operation and including positional encoding, as described in the original Transformer.

[0085] The embedding is normalized and subsequently used on the multi-head cross-attention block. The method allows for faster and more stable training of neural networks by normalizing, centering, and scaling the inputs to each layer. Normalization was initially designed to mitigate the problem of shifting internal covariates caused by the change in the internal distribution of each feature map and the random initialization of the weights, which limit the learning rate. This adverse effect can be reduced by adjusting the distribution towards a standard normal, i.e., a distribution with mean 0 and standard deviation 1. The process is mathematically expressed by equation (23). Here, xj presents the activation maps of the y-th mini-batch input. and Band crj are the mean and variance of the activation maps, and E is a constant added for numerical stability of the variance. Additionally, the normalization is adjusted to an optimal distribution. by learning the coefficients of a linear transformation, as expressed in equation (24). yj = Y - Xj + P (24)

[0086] The parameters yy are learned by the model, generating the new distribution and improving model performance (Goodfellow et al., 2016). The transformation also smooths the gradient flow and acts as a regularization layer (Ioffe and Szegedy, 2015).

[0087] The multi-head cross-attention block is formed by the proposed mathematical model, that is, by the model of equation (9), based on the scalar cross product. The output of the block is added to the normalization output in a residual connection. The result is normalized again, to give way to a feed-forward layer added to a residual connection. The feed-forward network sums the input values, multiplied by the weights w (training parameters) that are subsequently adjusted in the network training. The bias ó is added to the weighted sum and is introduced into the activation function. <p (función no lineal), simulando la activación o generando la salida de cada n-ésimo perceptron que conforman a la capa feed-forward (ver ecuación (25)).

[0088] Finally, the embedding process is reversed, generating new patches that are used to reconstruct the shapes of the original feature maps.

[0089] Subsequently, the encoder blocks perform a process inverse to that of the encoding blocks (see Figure 6 and Figure 3). Each block increases the size of the feature maps, adjusting them for concatenation with the respective stage. Again, the decoder block consists of two paths; the first has two serial convolutions, with the number of filters corresponding to each stage and a 3x3 filter size. Subsequently, the output is upsampled, which doubles the size of the maps. Specifically, the process consists of increasing the size of the activation maps by adding new rows and columns filled with values ​​determined by an interpolation method. In the simplest case, rows and columns are added to the activation maps interleaved with the original rows and columns (nearest interpolation).New rows and columns are filled with the nearest value, as illustrated in Figure 7.

[0090] The second path of the encoder block directly relies on upsampling and convolution of lx í, adjusting the dimensions of the path to make the residual connection with the first path (see Figure 6).

[0091] The process is repeated until reaching the last 3x3 convolutional layer with two convolutional filters. The two filters correspond to the probability outputs of the two elements of interest, that is, a map corresponding to the probability that each pixel is a tumor, and a map for pixels that are not tumors. Finally, the probability maps are evaluated through the distance-penalized asymmetric Dice loss function, which estimates the error between the predicted maps and the ground truth maps. The loss function includes an error factor 77 proportional to the distance of the region of interest, as expressed in equation (26).

[0092] Where, rj is the sum of all the minimum distances from the predicted pixels to any of the pixels in the region of interest (see equation (27)). It should be noted that for distances greater than 7, the value was limited to this number to reduce the computational burden of the distances in the algorithm. That is, the minimum distance is restricted by equation (28).

[0093] Where, the minimum distance of a predicted pixel to any of the pixels of interest would be given by the expression (29), where d(*,*) is the Euclidean distance between two points. d p (a) = min{d(a, b)} (29)

[0094] III. SYSTEM FOR SEGMENTING BRAIN TUMORS

[0095] In Figure 8, the system (100) for segmenting brain tumors (e.g., meningioma and glioma) in two-dimensional axial slice structural magnetic resonance images is shown. The system estimates the abnormal invaded region using the morphological and spatial characteristics interpreted by the deep learning algorithm based on the new cross-attention model. The system starts from the image acquisition device (101) to form the brain anatomical volume in a structural magnetic resonance image. In addition, the system has an input interface (103) such as a screen, a keyboard, a mouse, etc.; at least one processor (104) with a VNA viewer or brain MR.I reconstruction modality; a database (102) where the information that characterizes each subject is stored, such as their medical history, MR studies.I, among others; a memory (105) coupled to at least one processor, an output interface (106), where the memory has executable instructions to implement (in at least one processor) the method comprising: i. Receiving brain magnetic resonance images of subjects showing lesions, tumors or any type of anomaly;.

[0096] i. Segment potential tumor areas using a learning algorithm; h. Determine the final projected area of ​​the obtained segmentation; iv. Visualize the obtained segmentation together with the original image to better indicate to the professional the region of interest within the image to be studied.

[0097] To perform any of the functions described in this document, the processor (104) can execute one or more instructions, such as program modules where the deep learning algorithms that are applied in the development of the method of the invention are located, stored in one or more computer-readable storage media (for example, memory 105), which store instructions for execution by the processor (105). Where said invention is embedded in the viewer, allowing interaction with the databases that give access to the images to be analyzed, in addition to multiple tools within it that allow greatly complementing the segmentation obtained by the proposed invention.

[0098] Generally, program modules include the routines, algorithms, objects, components, data structures, etc. that perform particular tasks or implement particular data types of the present invention.

[0099] While the systems and methods of the present disclosure have been particularly shown and described with reference to exemplary embodiments thereof, those skilled in the art will understand that various changes in form and details may be made without departing from the scope of the present disclosure.

[0100] EXAMPLE

[0101] It begins with the acquisition of a structural magnetic resonance imaging (Flair) sequence, from subjects showing lesions, brain tumors or any type of anomaly, storing the images and their medical records in the database. The processor with the VNA viewer downloads the magnetic resonance images stored in the database to the screen and begins to execute the instructions stored in memory to implement (in the processor) the method comprising: i. Receiving the brain magnetic resonance images of subjects showing lesions, tumors or any type of anomaly;

[0102] i. Segment potential tumor areas using a learning algorithm; iii. Determine the final projected area of ​​the obtained segmentation; iv. Visualize the obtained segmentation together with the original image to better indicate to the professional the region of interest within the image to be studied.

[0103] The present invention has a wide application in bioengineering, in addition to imaging, since it performs projections of innovative physical-mathematical methods, where this development is synergistically articulated with magnetic resonance modalities, automatic segmentation of elements of interest, as well as support tools such as medical image viewers, in addition to the modification and updating of the subject prioritization processes that intervene in PACS type systems, which usually integrate these tools.

[0104] Additionally, in RIS-PACS type systems, they are technological tools that are most used in the export of this technology, because it allows participation during the workflow of the characterization and description of the pathological event that is usually performed in a RIS, at the same time, it will be able to articulate its outputs to a PACs system, which will allow manipulating the radiologists' work list, ensuring a list of priorities on an alert process thanks to a system output parameter previously established by the professional based on the resulting tumor.

[0105] Furthermore, medical image viewers are an excellent development option that can be used to increase the accuracy rate in the search for incidental findings in brain cancers, as well as facilitating their study.

[0106] Finally, in tumor research, it is possible to obtain the corresponding segmentation of the possible abnormal tissue, while superimposing it on the original image in order to better locate in which region it is located and consequently help determine the potential risk zone in which said tissue may be found, possibly compromised areas in the organ to be treated and the prognosis of aggressiveness of the structure to be studied, allowing the professional to provide more information about the life expectancy of the final patient.

[0107] SUMMARY

[0108] The present invention relates to systems and methods for segmenting and detecting the presence of brain tumors based on deep learning algorithms in magnetic resonance imaging (MRI). The system comprises an imaging device, an input / output interface, at least one processor, a database, and a memory comprising executable instructions for implementing the method comprising: i. Receiving brain MRI images of subjects showing lesions, tumors, or any type of abnormality;

[0109] i. Segment potential tumor areas using a learning algorithm; iii. Determine the final projected area of ​​the obtained segmentation; iv. Visualize the obtained segmentation together with the original image to better indicate to the professional the region of interest within the image to be studied.

[0110]

[0111] Figure 2.

[0112]

[0113]

[0114] Figure 7.

[0115]

[0116] Figure 8.

Claims

REI VI NDI CACI ON ES 1. A brain tumor segmentation system (100) utilizing a unique UNet encoder-decoder artificial neural network integrated with the cross-attention model for automatic identification (segmentation) of tumor tissue and non-tumor regions in structural magnetic resonance images. The system comprises: An imaging device (101) for imaging a target; A database (102) where the information that identifies each subject is stored; An input interface ( 103) ; At least one processor (104) programmed for brain tumor segmentation comprising the use of a single encoder-decoder artificial neural network integrated with the cross-attention model; A memory (105) coupled to at least one processor; An output interface (106); Wherein the segmentation of brain tumors comprises receiving structural magnetic resonance images of subjects that show signs of brain neoplasms or any type of abnormality; dividing the brain volume into axial slices for the individual processing of each slice; encoding the axial slices to the latent space of the UNet to implicitly identify the pixels associated with gliomas or neoplasms through the crossed attention model; reconstructing the proportions of the original image from the latent space, to generate only the segmentation masks indicative of gliomas or brain neoplasms; superimposing the segmentation mask on the original image showing a rapid visual corroboration of the result.

2. A system (100) for brain tumor segmentation comprising the use of a unique UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 1, characterized in that the imaging device It includes a resonator, magnetic resonance imaging machine, radiology equipment, etc.

3. A system (100) for brain tumor segmentation comprising the use of a unique UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 1, characterized in that at least one processor comprises a viewer with a file not linked to any vendor or reconstruction modality of a structural magnetic resonance.

4. A method for brain tumor segmentation comprising using a unique UNet encoder-decoder artificial neural network integrated with the cross-attention model comprising: i. Receiving the structural magnetic resonance images of subjects showing lesions, brain tumors or any type of abnormality; i. Determine the area of ​​the tumor structure from the MRI images of the region of interest in the axial slices; iii. Segment the pixel representation using a UNet encoder-decoder artificial neural network integrated with the cross-attention model; iv. Determine the final projected volumetry from the axial slices; v. Visualize the axial slices by overlaying the segmentation masks to highlight the tumor tissue; 5. A method for brain tumor segmentation comprising the use of a single UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 4, characterized in that the images are structural magnetic resonances under the T1, T2, T1 W and FLAI R acquisition protocols.

6. A method for brain tumor segmentation comprising the use of a unique UNet encoder-decoder artificial neural network integrated with the cross-attention model according to the Claim 4, characterized in that the determination of the tumor regions in the structural magnetic resonance images is carried out by means of axial sections, which guarantee the segmentation of the tumor volume.

7. A method for brain tumor segmentation comprising the use of a UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 4, characterized by discriminating the pixels of the axial slices into two differential classes (segmentation). The method takes the input axial slices and encodes them into maps of lower spatial resolution, but with a greater number of learning features in 4 depth stages on the encoding path of the model. The feature maps of the encoding stage are connected to the decoding stage through a transition layer where the pixels associated with tumor and healthy tissue are implicitly classified through the cross-attention model.In the transition layers, the activation maps are transformed into latent space where the implicit classification of latent variables is performed, allowing the segmentation masks to be progressively built in the decoding path.

8. A new transition layer for brain tumor segmentation comprising the use of a UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 7, characterized by transforming feature maps into a latent space that allows implicitly classifying variables associated with tumor and healthy tissue. The transition layer takes the feature maps and transforms them into 4 patches of 256 feature maps. Each patch is embedded in a latent space projected onto 64 variables, to which the positional coding of the location of said patches is added. Each coding goes through a normalization layer, a multi-head attention block, a parallel residual connection, passing through a second normalization layer, a linear layer and ending with a parallel residual connection for the second trajectory.Multi-head attention blocks use linear blocks (feed forward) to create the keys. ), queries (Q¿) and values ​​(7 ¿ ) of the attention model which are used in all possible combinations with the scalar product (scaled dotproduct) to obtain the output of each attention head i as the average of said products. The combination of the scalar products and their average is expressed mathematically as shown in equations ( 1 ) , (2) , (3) and (4) . Head t = mean{ V Head , K Head , Q Hea d ( 4 ) 9. A method for brain tumor segmentation comprising the use of a single UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 4, characterized in that it determines the tumor volume as the sum of the regions classified as tumor tissue in each axial slice.

10. A method for brain tumor segmentation comprising the use of a single UNet encoder-decoder artificial neural network integrated with the cross-attention model according to claim 4, characterized in that it allows visual corroboration of the segmented regions from the superposition of the masks with each of the axial slices.

Citation Information

Patent Citations

  • Sct image generation using cyclegan with deformable layers

    US20220318956A1