Hello, everyone! After a long time, this is my recent blog post related to artificial intelligence for medicine. In January, I completed the capstone research project which is the Low-Grade Glioma Segmentation. If you want to check this project, go to the link.

So, I used three different deep learning architectures in this project:

  • U-Net
  • Feature Pyramid Network (FPN)
  • ResUNet

In this blog post, I’ll explain each of these deep learning architectures in detail and why I used them in my project.

U-Net


U-net is a specific type of fully convolutional network (FCN) that is designed for biomedical image segmentation. It is composed of an encoder and a decoder which are trained to learn features from the input image and then use these features to predict a segmentation mask. It has been widely used in brain tumor segmentation masks.

The U-Net architecture is composed of an encoder and a decoder network, which are connected by a set of “skip connections”.

The encoder network is made up of a series of convolutional and max pooling layers that progressively reduce the spatial resolution of the input image while increasing the number of feature maps.  This allows the network to extract increasingly complex and abstract features from the image.

The decoder network is made up of a series of upsampling layers and convolutional layers that restore the spatial resolution of the feature maps while decreasing the number of feature maps. The output of the decoder network is a segmentation mask that corresponds to the input image.

The “skip connections” concatenate feature maps from corresponding layers in the encoder and decoder networks, allowing the network to make use of both high- and low-level information from the input image.

The diagram of U-Net architecture would typically show the input image at the top, and the output segmentation mask at the bottom.

  • The encoder network would be shown on the left side of the diagram, with the layers arranged vertically and labeled with the number of feature maps and the size of the kernel for the convolutional layers.
  • The decoder network would be shown on the right side of the diagram, with the layers arranged vertically and labeled with the number of feature maps and the size of the kernel for the convolutional layers.
  • The “skip connections” would be shown as arrows connecting corresponding layers in the encoder and decoder networks.

Feature Pyramid Network (FPN) Architecture


It is a type of deep neural network architecture that is designed for object detection and semantic segmentation tasks. FPNs are built on top of a CNN, and they are used to extract features at multiple scales. They work by creating a pyramid of feature maps, where each level of the pyramid corresponds to a different scale.

It is built on top of a backbone CNN, such as ResNet or ResNeXt, and consists of several layers:

  • The bottom-up pathway starts with the output feature maps of the last convolutional layer of the backbone CNN. These feature maps are then passed through a series of convolutional layers, known as the “lateral layers,” that reduce the spatial resolution but increase the number of feature maps.
  • The top-down pathway starts with the output of the lateral layers. It uses a series of transposed convolutional layers, known as the “upsampling layers,” to increase the spatial resolution of the feature maps.
  • The final layers of the FPN combine the feature maps from the bottom-up pathway and the top-down pathway to form the final feature pyramid.
  • Finally, The final feature pyramid is passed to head layers for classification and bounding box regression tasks.

The FPN architecture aims to combine the advantages of both high-level semantic information and low-level spatial information to improve object detection performance.

ResUNet


UNet is a popular image segmentation architecture that is composed of an encoder and a decoder. ResNeXt50 is a deep CNN architecture introduced in 2016 and has been shown to achieve state-of-the-art performance on various computer vision tasks, such as object detection and image classification. The encoder is typically a pre-trained deep convolutional neural network (CNN) such as ResNeXt50, that is used to extract features from the input image. The decoder then takes these features and uses them to generate a segmentation mask.

ResNeXt-50 is also a variation of the ResNet (Residual Network) architecture. ResNet aims to make deep network training easier by using “residual connections”.

ResNeXt-50 is a 50-layer deep neural network. Most of these layers consist of units called “residual blocks”. Each residual block creates a “residual connection” between a few layers. These connections make it easier for signals to reach the deepest layers of the network, making training easier.

Additionally, ResNeXt-50 uses a technique called “grouped convolution”. This technique divides the layers of the network into smaller groups and uses separate filters for each group. This increases the diversity of features in the network and allows for better feature learning.

ResNeXt-50 typically includes the following layers:

  • Convolutional layers: These layers are used to process image data. These layers convert the input image into feature maps of a certain size.
  • Batch normalization layers: These layers are used for data normalization. These layers normalize the data using statistics from the network’s training and speed up training.
  • Residual block layers: These layers are used to make training easier through the use of “residual connections”. These layers facilitate signals reaching the deepest layers of the network. Each residual block creates a “residual connection” between a few layers.
  • Global average pooling layer: This layer is used to generalize the features and results of the network. This layer is used at the end of the network and takes the average values for each feature map.
  • Fully connected layers: These layers are used to produce the results of the network. These layers are used at the end of the network and output class labels or other predictions.

The layers of the ResNeXt-50 network are used to process image data and are used to obtain feature maps, normalize data, make training easier through residual connections, generalize features, and produce results.

A UNet with a ResNeXt50 backbone is an implementation of the UNet architecture, where the encoder part of the network is a ResNeXt50 model. By using a pre-trained ResNeXt50 model as the encoder, the UNet model is able to leverage the rich feature representations learned by the ResNeXt50 model, which allows it to better segment objects in the input image.

Result


The ResUNet model is more successful than other models. Here are some possible reasons why ResUNet might perform better than UNet and FPN for low-grade glioma segmentation:

  • ResUNet combines the strengths of both UNet and ResNet, by incorporating residual connections into the UNet architecture. This allows ResUNet to better preserve information during the upsampling process, which is critical for fine-grained tasks such as brain segmentation.
  • ResUNet uses skip connections that help to alleviate the vanishing gradient problem, which can be especially challenging in deep architectures. The residual connections also help to stabilize the training process and improve convergence.
  • ResUNet uses a relatively shallow decoder architecture compared to UNet, which can reduce the risk of overfitting and make the model more scalable to larger and more complex datasets.
  • ResUNet has a high number of filters at the bottom layers and gradually decreases the number of filters towards the top layers, which allows the model to learn multiscale representations of the data. This is particularly important for brain segmentation, where different regions may have different structures and patterns.

In conclusion, the choice of a deep neural network for medical image segmentation tasks is a crucial factor in achieving accurate results. In my low-grade glioma segmentation project, I compared the performance of three popular networks, UNet, FPN, and ResUNet. The results showed that the ResUNet model outperformed the other two networks and produced the most precise segmentation results. This highlights the importance of selecting the right network architecture, as well as fine-tuning the model to suit the specific requirements of the task at hand. I hope that this comparison will be useful for other researchers in choosing the best network for their projects and that it will contribute to the advancement of medical image analysis.


Eda AYDIN sitesinden daha fazla şey keşfedin

Son gönderilerin e-postanıza gönderilmesi için abone olun.

Leave a Reply