<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Processing and Analyzing Images based on a Neural Network</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bohdan Zhurakovskyi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vadym Poltorak</string-name>
          <email>andr.vadym.2012@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Serhii Toliupa</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleksandr Pliushch</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Artem Platonenko</string-name>
          <email>a.platonenko@kubg.edu.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Borys Grinchenko Kyiv Metropolitan University</institution>
          ,
          <addr-line>18/2 Bulvarno-Kudriavska str., Kyiv, 04053</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Technical University of Ukraine “Igor Sikorsky Kyiv Polytechnic Institute</institution>
          ,”
          <addr-line>37 Peremogy ave., Kyiv, 03056</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Taras Shevchenko National University of Kyiv</institution>
          ,
          <addr-line>60 Volodymyrska str., Kyiv, 01601</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>125</fpage>
      <lpage>136</lpage>
      <abstract>
        <p>Medical image processing technologies allow for automating and improving diagnostic and analysis processes, providing doctors with more accurate and faster results. The use of artificial intelligence, deep learning, and computer vision allows for the creation of efficient and automated systems that can detect pathologies, classify images, and provide valuable decision support to doctors. The description and preliminary processing of the data set, which is a key stage for the preparation of system input data, has been performed. Models for training are also developed, including the selection and tuning of neural network architectures. The introduction of a new method for training a neural network turned out to be very successful. This approach significantly improved the training quality of the model, helping to increase the accuracy and ability of image classification. The application of this method significantly improved the efficiency and reliability of the X-ray image recognition system. The research results indicate that the new learning method, based on the combination of Adam and SGD methods, raised the accuracy of image recognition to the level of 95-97% while increasing the training time by only 1-2%. The developed system can be considered as an initial version that paves the way for further improvement. It was determined that the main driving factor for improving the system is the developed neural network training method.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Image recognition</kwd>
        <kwd>neural network</kwd>
        <kwd>machine learning</kwd>
        <kwd>system</kwd>
        <kwd>classification</kwd>
        <kwd>model</kwd>
        <kwd>model training</kwd>
        <kwd>dataset</kwd>
        <kwd>accuracy</kwd>
        <kwd>training</kwd>
        <kwd>efficiency</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The topic of creating an information system for
processing and analyzing medical images using
artificial intelligence and developing a system
for processing medical images in real time are
extremely relevant and important in the field of
medicine [1]. Here are some aspects of the
relevance of these topics:
• Improvement of diagnostic accuracy.</p>
      <p>Using artificial intelligence to analyze
medical images can help doctors detect
symptoms and pathologies that may be
difficult to detect using traditional
methods. This can lead to more accurate
and earlier diagnoses.
• Reducing the burden on medical
personnel. Medical imaging systems can
automate the analysis process, helping
doctors focus on important tasks and
reducing the burden on medical staff.
• Quick access to information. The
development of systems for processing
medical images in real-time will allow
doctors to have instant access to the
results of the analysis, which is especially
useful in urgent situations, such as
injuries or serious diseases [2].
• Reducing the risk of errors. Artificial
intelligence can help weed out false
positives and increase the reliability of The purpose and objectives of the research.
diagnoses [3]. The main goal of the development is to create
• Expanding access to medical care. Such a system for processing and analyzing medical
systems can help reduce inequalities in images aimed at improving X-ray diagnostics
access to health care, as they can be used of chest organs. This system is designed to
in different health facilities, including increase the accuracy and efficiency of
remote areas [4]. detection of pathologies and diseases, as well
• Discovery of new research opportunities. as to optimize the time and resources of the
Processing and analysis of medical medical staff.
images can help in the development of
new research and approaches to the 2. Statement of Research Problem
treatment of various diseases.</p>
      <p>In this regard, the development of systems Modern technologies allow automation of the
for processing and analyzing medical images processing and analysis of medical images,
using artificial intelligence and systems for which contributes to the efficiency and
processing medical images in real-time has accuracy of diagnosis. This is especially
great potential for improving the quality of important in the conditions of increasing
medical care and saving patients’ lives. volume of medical data.</p>
      <p>In the process of developing the system, the The use of innovative technologies in the
peculiarities of the medical field and specific processing and analysis of medical images
requirements related to the processing and opens up new opportunities for accurate
analysis of medical images should be taken into diagnosis, treatment, and monitoring of
account. This includes taking into account a patients. Such studies contribute to the
high standard of confidentiality and data development of automated systems that help
security, as medical information is particularly specialists in the fast and reliable
sensitive. It is also important to take into interpretation of medical images.
account the variety of types of medical images, In particular, the development and
which requires the development of flexible improvement of algorithms for the recognition
algorithms capable of working with different of pathologies on X-ray images, detection of
formats and modalities. signs of diseases on computer tomography, and</p>
      <p>
        In addition, it is important to consider the analysis of other medical images help to
specifics of interaction with medical personnel, improve the speed and accuracy of diagnosis.
providing a convenient and efficient user Given the rapid pace of technology
interface for interacting with the system. The development and the constant replenishment
possibility of integrating the system with of medical databases, research in this direction
existing medical information systems to ensure is important for ensuring effective and modern
interaction and data exchange should also be medical practice.
taken into account [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The development of systems for image
      </p>
      <p>
        In addition, this study may have practical processing helps to improve the accuracy of
value for developers, simplifying their work diagnosis of various diseases. The ability to
and opening new opportunities for the automatically detect pathologies and
implementation of advanced technologies in abnormalities in images allows for early
medical practice [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The developed algorithms detection and effective treatment.
and methods of medical image processing can The medical image analysis system can
become the basis for the creation of intelligent serve as an effective tool for monitoring the
decision support systems in the medical field, progress of diseases, their dynamics, and their
contributing to the automation and response to treatment, which is important in
improvement of diagnostic and treatment conducting medical statistics and optimizing
processes. This approach not only expands the treatment strategies. Pneumonia and
COVIDcapabilities of developers in the field of medical 19 require a significant amount of medical
informatics but also promotes the imaging, such as X-rays and CT scans of the
implementation of modern technologies to lungs. An automated system for their
achieve maximum accuracy and speed in the processing and analysis can greatly facilitate
analysis of medical images.
the work of medical personnel. In the case of
large epidemics such as COVID-19, a medical
image processing system can be used to
quickly detect and track the spread of diseases
in the population [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <sec id="sec-1-1">
        <title>2.1. Formation of System Requirements</title>
        <sec id="sec-1-1-1">
          <title>Having analyzed the main popular approaches</title>
          <p>
            and already available similar solutions for the
classification of objects in images, it was decided
to develop the technical requirements for the
system that is planned to be developed [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ].
          </p>
          <p>The development of a system for processing
and analyzing medical images and classifying
objects on them is a complex task and requires
the definition of technical requirements for the
successful implementation of the project. Here
are some general technical requirements that
may be important for this process:
1. Processing and storage of medical
images. The system must be able to
download and store medical images, in
particular DICOM images, which are
widely used in medicine.
2. Segmentation and definition of regions of
interest. The system should be able to
automatically identify and highlight
Regions of Interest (ROIs) on medical
images for further processing and
analysis.
3. Using deep learning. It is recommended
to use deep learning, in particular
Convolutional Neural Networks (CNN),
to recognize and classify objects in
images.
4. Ability to track and analyze changes in
real-time. The system should support the
analysis of changes in medical images in
real-time, in particular for patient
monitoring.
5. Support for various types of medical
images. The system should be universal
and support various types of medical
images, such as X-rays, CT, MRI, etc.
6. Data protection and confidentiality.</p>
          <p>Ensuring a high level of security and
confidentiality of medical data, including
data storage and transfer requirements.
7. Possibility of integration with other
systems. The system must be able to
integrate with other medical systems,
hospital information systems, and data
management systems.
8. Training and retraining of models. The
ability to train and retrain models to
improve the accuracy of medical image
classification and analysis.
9. User interface. Development of a
convenient user interface for doctors and
medical professionals to navigate,
visualize, and analyze results.
10. Documentation and Support. Provision
of documentation, instructions, and
technical support for system users.
11. Compliance with regulatory
requirements. Consideration of
regulatory requirements and standards
in the medical field when developing and
operating the system.
12. Evaluation of results and metrics.</p>
          <p>Establishing metrics to evaluate system
accuracy and performance, such as
sensitivity, specificity, accuracy, and
others.
13. These requirements can be adapted
according to the specific needs of further
development of the system.</p>
        </sec>
      </sec>
      <sec id="sec-1-2">
        <title>2.2. Design of the Developed System.</title>
      </sec>
      <sec id="sec-1-3">
        <title>Dataset Description and</title>
      </sec>
      <sec id="sec-1-4">
        <title>Preprocessing</title>
        <sec id="sec-1-4-1">
          <title>In recent years, the use of artificial intelligence and machine learning in medical diagnostics has shown great promise, particularly in the recognition of lung diseases.</title>
          <p>
            Scientists and researchers use a variety of
chest X-ray image datasets to study and train
algorithms for the recognition of opacities,
pneumonia, and COVID-19. Among these
datasets, several popular ones can be singled
out, which have become key tools in the study
and development of algorithms for the
automatic detection and classification of lung
diseases [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ].
          </p>
          <p>
            Below is a list of several important datasets
used in this area:
1. The COVID-19 Image Data Collection is a
dataset of X-ray images to study the impact
of COVID-19 on the lungs. It was created by
collecting medical images from websites
and publications and currently contains
123 frontal radiographs [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ].
2. Chest X-ray images (pneumonia) are a
          </p>
          <p>
            dataset of X-ray images for the study of
pneumonia. The dataset is organized into used to classify new chest X-rays as showing
3 folders (train, test, val) and contains signs of pneumonia or not. This can be done in
subfolders for each image category real-time, making it a potentially valuable tool
(Pneumonia/Normal). There are 5863 x- for healthcare providers in the diagnosis and
ray images (JPEG) and 2 categories management of patients with pneumonia. In
(pneumonia/normal) [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ]. addition, deep learning models can be used to
3. The RSNA Pneumonia Detection help radiologists interpret chest X-rays,
Challenge is a data set within the RSNA X- reducing the risk of misdiagnosis and
ray Pneumonia Detection Challenge. improving patient outcomes.
30,000 frontal chest radiographs from The purpose of the model is to classify X-ray
112,000 publicly available images from images of the chest into normal and pneumonic
the National Institutes of Health. classes. The original chest X-rays are used as a
Portable Network Graphics images were basis for data addition procedures. Pre-trained
converted to Digital Imaging and models are used in combination with
Communications in Medicine, and augmented images to classify pneumonia.
patient gender, patient age, and The “Sequential_1” model (Fig. 1) uses a
prognosis (anteroposterior or basic and simple approach to solving number
posteroanterior) were added to the classification problems. This model is built on
Digital Imaging and Communications in convolution layers, and fully connected layers,
Medicine tag [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ]. and includes maximum pooling and extraction
4. NIH Chest X-rays is a dataset of chest X- in the middle layers. This architectural
rays, including pneumonia images. NIH approach allows you to effectively cope with
Chest X-ray Dataset—This NIH Chest X- the classification of numerical data [17], and its
ray Study dataset consists of 112,120 high level of efficiency confirms its success in
disease-labeled X-ray images from solving the relevant problem.
30,805 unique patients. To create these The “Sequential_2” model is a deep
labels, the authors used natural language convolutional neural network that includes
processing to retrieve textual disease maximum pooling and fully connected layers at
classifications from the corresponding the end. This model configuration with a fixed
radiology reports. Labels are expected to number of elements and layers has shown the
be &gt;90% accurate and suitable for best results in various studies using different
weakly supervised learning [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ]. data sets (Fig. 2) [18].
5. CheXpert is a dataset containing
annotated images of chest X-rays for the
diagnosis of various diseases, including
pneumonia. The CheXpert dataset
contains 224,316 chest radiographs
from 65,240 patients with both frontal
and lateral views available [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ].
          </p>
        </sec>
      </sec>
      <sec id="sec-1-5">
        <title>2.3. Creating Models for Learning</title>
        <p>
          Deep learning algorithms can be trained on large
datasets of chest X-rays to recognize patterns and
features that indicate pneumonia. This involves
the use of CNNs, a type of deep learning
architecture that is particularly well-suited to
image recognition tasks [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. By analyzing the
texture, shape, and intensity of pixels in chest
Xray images, CNNs can learn to identify areas of the
image that correspond to areas of infection or
inflammation in the lungs [16].
        </p>
        <p>Once trained, deep learning models can be</p>
        <p>The second dataset taken is ChestX-ray14,
which contains 112,120 chest X-rays of 30,085
individuals. Of these 112,120 images, 1,431
images had signs of pneumonia. To obtain a
balanced data set, 1431 normal X-ray images
(marked as “No Results”) were selected from
the data set. Thus, the final collected data set
contains 1431 pneumonia images and 1431
normal X-ray images. 80% of the data is used
Figure 2: Results of using the model for training, generating 2290 images (1145
Sequential_2 pneumonia images and normal images each),
A third modeling approach involved the use of 5% of the data is used for validation,
transfer learning using VGG-16 with some generating 142 images (215 pneumonia
modifications in the last three levels (Fig. 3). images and normal images each), and the last</p>
        <p>Here, the Chest Pneumonia X-ray dataset is 15% of the data is used for testing, yielding 430
used to collect Pneumonia X-ray images that (71 images of pneumonia and normal images).
take into account images from various open The count plot of the first data set is used to
sources and are reviewed regularly. Here, two display pneumonia counts and normal images.
datasets are used to train models for To represent all images, Fig. 3 shows that the
pneumonia diagnosis. The first dataset X-axis of the training set contains the values 0
consists of 5856 chest X-ray images, of which (corresponding to 1224 normal images) and 1
4273 are pneumonia images and 1583 are (representing 3418 pneumonia images), while
normal chest X-ray images [19]. the X-axis of the test set contains the values 0
(representing 278 normal images) and 1
(representing 641 pneumonia images), and the
Y-axis of the training set displays the count
graph of both pneumonia and normal images
(Fig. 4).
A total of 80% of the data is used for training,
generating 4642 images (3418 pneumonia
images and 1224 normal images), 15% of the
data is used for testing, generating 919 images
(641 pneumonia cases and 278 normal
images), and the last 5% of the data is used for
validation ( 214 cases of pneumonia and 81
images without pneumonia).</p>
        <sec id="sec-1-5-1">
          <title>CNN models require a large number of data</title>
          <p>sources for optimal training to demonstrate
improved performance on larger datasets.
Since only a small dataset is used, this is used
to artificially expand the dataset. It also helps to
avoid overfitting. A data augmentation
approach has often been used and increases the
number of images by applying a series of
changes while preserving the class labels [20].
Data augmentation is applied to the pneumonia
class training images to increase image
diversity, which also acts as a dataset regulator.</p>
          <p>The training and validation loss plot can
provide information about how the model
learns and how well it generalizes its
knowledge to the validation data. Loss
determines how many errors the model makes
in forecasting.</p>
          <p>Training Loss—training loss reflects how
accurately the model predicts the training data
during each epoch. Typically, the loss should
decrease during training, indicating that the
model is learning to identify patterns in the data.</p>
          <p>Validation Loss—Validation loss
determines how well the model generalizes its
skills to data it has not seen during training. A
decrease in validation loss indicates that the
model effectively recognizes patterns and
avoids overfitting. The graph has the form
where the epochs (training iterations) are
displayed on the X-axis, and the loss value
(from 0 to the highest loss value) on the Y-axis
is shown in Fig. 5.</p>
          <p>A good scenario is that both curves (training
and validation loss) will show a decline,
indicating the effectiveness of training and
generalization. It is important to ensure that
the validation loss does not increase, a sign of
possible overtraining.
The model training schedule in machine
learning can include two important metrics:
training accuracy and validation accuracy. Both
metrics reflect how well the model has learned
to recognize patterns in the data during
training and how well it generalizes those skills
to new data.</p>
          <p>Accuracy on the training set (Training
Accuracy)—this metric determines the
accuracy of the model on the data it used during
training. If the model has learned well, the
accuracy of the training set will be high.
However, it is important to ensure that the
model does not overtrain (overfitting) specific
examples in the training data and can
effectively recognize new data.</p>
        </sec>
        <sec id="sec-1-5-2">
          <title>Accuracy on the validation set (Validation</title>
          <p>Accuracy)—this metric determines the
accuracy of the model on data that it has not
seen during training. It is an indicator of how
well the model generalizes its knowledge to
new, previously unseen data. If the accuracy of
the validation set also increases during
training, this may be an indication that the
model is effectively learning and detecting
common patterns, rather than simply
“remembering” the training data.</p>
          <p>The graph has the form where epochs
(training iterations) are displayed on the X
axis, and accuracy (from 0 to 1 or percent) on
the Y axis in Fig. 6. Plots for training and
validation accuracy can help determine model
performance and identify potential problems
such as overtraining or undertraining.
A histogram of people’s ages on X-ray images
(Fig. 7), presented together with the number of
training images, gives a visual impression of
the age distribution in the dataset.</p>
          <p>The x-axis of the histogram shows the age
ranges, and the y-axis shows the number of
images corresponding to each range. This
graphical representation can indicate the age
at which X-ray examinations are more
common or the age distribution of patients in
the sample to train the model.</p>
          <p>Such analysis can be useful for
understanding whether there is a diversity of
age groups in the training dataset and whether
particular age groups should be given special
attention when training the model.</p>
        </sec>
        <sec id="sec-1-5-3">
          <title>A histogram of gender on X-ray images can be</title>
          <p>generated to visualize the distribution of male
and female patients in the training dataset. Two
bars are marked on the x-axis, representing the
number of images for each gender.
The information provided in Fig. 9 is
metadata for a specific X-ray image and
contains some key attributes [21, 22]:
1. patientid (patient identifier)—a
unique patient identifier that can be
used to track and analyze medical
information.
2. offset—this value may indicate
certain parameters or
displacements associated with the</p>
          <p>X-ray examination.
3. sex—indicates the gender of the</p>
          <p>patient.
4. age—shows the age of the patient at</p>
          <p>the time of the X-ray.
5. finding—describes the result of the
examination. In this case,
“COVID19” indicates the detection of the
2019 coronavirus disease.
6. survival—shows whether the</p>
          <p>patient survived (“Y”—yes).
7. view—indicates how the X-ray
examination was carried out. In this
case, “AP Supine” is an
anteriorposterior (anteroposterior) view in
the supine position.
8. modality—shows what type of
examination was used. In this case,
“X-ray” is X-ray radiation.
9. date—indicates the date of the
X</p>
          <p>ray examination.
10. location—shows the place where</p>
          <p>
            the survey was conducted.
11. url (URL)—a link to a source or
additional information. In this case,
a URL is provided where additional
information can be obtained.
12. clinical notes—indicates clinical or
medical information about the
patient’s condition.
13. other notes—other additional notes
or instructions that may be useful
for understanding the context or
other details of the examination.
The generated pie chart provides information
on the number of images on which different
pathogens and conditions are detected (Fig.
10). Each sector of the diagram corresponds to
a specific pathology, and its size indicates the
percentage or number of images where this
pathology was detected [23].
Implementation of a new method of neural The maximum VGG19 has 16 convolutional
network training layers. +3 fully connected layers. In addition, the
The following algorithms were analyzed: VGG network is not accompanied by a pooling
1. Nesterov Accelerated Gradient layer behind each convolutional layer or a total of
2. Adagrad 5 pooling layers distributed under different
3. Adam convolutional levels.
4. Adamax Each convolution layer (Fig. 11) in AlexNet
5. RMSProp contains only one convolution, and the size of
6. Adadelta the convolution kernel is 7×7. In VGGNet, each
7. SGD. convolution layer contains 2 to 4 convolution
The comparison of algorithms made it operations. The convolution kernel size is 3×3,
possible to stop the use of the Adam algorithm. the convolution step size is 1, the pooling
Adam (Adaptive Moment Estimation) is a kernel is 2×2, and the step size is 2. The most
popular optimization algorithm, especially in obvious improvement of VGGNet is to reduce
deep learning, for several reasons: the size of the convolution kernel and increase
1. Learning rate adaptability: Adam uses the number of convolution layers [
            <xref ref-type="bibr" rid="ref16">27</xref>
            ].
adaptive learning rates for each Using multiple convolution layers with
parameter, allowing it to efficiently adapt smaller convolution kernels instead of a larger
to the geometry of the loss function convolution layer with convolution kernels can
landscape. reduce parameters on the one hand, and the
2. Integration with moments: Adam author believes that this is equivalent to a
combines the concept of moments (from more nonlinear mapping that increases the
Nesterov Accelerated Gradient) with the ability of the Fit expression [
            <xref ref-type="bibr" rid="ref17">28</xref>
            ].
idea of an adaptive penalty on the norm of
gradients (from RMSProp). This makes it
possible to effectively solve the problem of
directed and non-directed gradients [24].
3. Performance in multidimensional spaces:
          </p>
          <p>Adam often shows good performance in
multidimensional parameter spaces,
which is usually characteristic of deep
neural networks [25]. Figure 11: Each layer of convolution
4. Defaults: A big advantage of Adam is that it
has reasonable defaults that usually work To obtain a 224×224 input image, each scaled
well in many cases without the need for image is randomly cropped during each SGD
extensive tuning. iteration. To improve the dataset, the cropped
Choosing a modified optimization strategy image is also randomly flipped horizontally
that involves branching at the damping point of and the RGB color shifted.
the approach to the extremum is an important A 1×1 convolution kernel is introduced into
decision. This approach can have several the VGGNet convolution structure. Without
advantages, such as improving convergence, affecting the input and output dimensions, a
adapting to the landscape of the loss function, and nonlinear transformation is introduced to
avoiding local minima more efficiently [26]. increase the expressive power of the network</p>
          <p>
            The VGG input is set to a 224×244 RGB and reduce the number of calculations [
            <xref ref-type="bibr" rid="ref16">27</xref>
            ].
image. The average RGB value is calculated for
all images in the training set image, and then 2.4. Testing and Conducting
the image is fed as input to the VGG Experiments
convolutional network. A 3×3 or 1×1 filter is
used, and the convolution step is fixed. There This experiment investigated and compared
are 3 fully connected VGG layers, which can the performance of different models based on
vary from VGG11 to VGG19 according to the test sets obtained from well-known sources
total number of convolutional layers+fully such as PyramidNet, ResNet-32, DenseNet, and
connected layers. The minimal VGG11 has 8 SENet. To achieve this goal, 2200 test images
convolutional layers and 3 fully connected layers.
were used, which were analyzed for their
classification ability on various models [
            <xref ref-type="bibr" rid="ref18">29</xref>
            ].
          </p>
          <p>Each model has been carefully tuned and
evaluated to determine which model performs
best in object detection on test sets. This
experiment provided an opportunity not only
to evaluate the effectiveness of each model but
also to compare their characteristics to
determine the optimal option for further
research and applications.</p>
          <p>The experiment included several stages:
1. Selection of test sets. Definition of 2200
test sets which were obtained from
different sources such as ResNet-32,</p>
          <p>DenseNet, PyramidNet, and SENet.
2. Data preparation. Processing and
preparation of the received test sets for use
in the experiment, including
standardization and other necessary
operations.
3. Application of models. Using different
models such as ResNet-32, DenseNet,
PyramidNet, and SENet to classify objects
on test sets.
4. Collection of results. Evaluate the
performance of each model based on its
ability to classify objects on the test sets.
5. Analysis of the results. Comparing the
performance of different models to
determine which one exhibits the best
accuracy or other important
characteristics.</p>
          <p>The conducted study showed that the Adam
optimization algorithm, as a rule, turns out to
be more effective in terms of learning speed
compared to the Stochastic Gradient Descent
(SGD) method. This is because Adam uses
adaptive learning rates for each parameter
separately, which allows you to approach the
optimum from different angles and reduces the
probability of getting stuck in local minima.</p>
          <p>
            This approach can lead to faster convergence of
the model during training [
            <xref ref-type="bibr" rid="ref19">30</xref>
            ].
          </p>
          <p>
            In the initial training stages, Adam [
            <xref ref-type="bibr" rid="ref20">31</xref>
            ] may
be faster because it uses adaptive learning
rates and can more closely approximate the
optimal parameter values. However, with
further training, when the loss function
approaches local minima, SGD can become
more efficient [
            <xref ref-type="bibr" rid="ref21">32</xref>
            ].
          </p>
          <p>
            For example, consider a situation where the
loss function has many local minima. In this
case, Adam may exhibit high speed during the
initial training phase but may become less
efficient when the loss function approaches one
of the local minima. On the other hand, SGD,
having less computational complexity, may
seem simpler and more efficient at later stages
of learning, where it is important to avoid
getting stuck in local minima [
            <xref ref-type="bibr" rid="ref22">33</xref>
            ].
          </p>
          <p>Therefore, the effectiveness of the SGD and
Adam methods may vary depending on specific
data, model characteristics, and learning
parameters. It is recommended to conduct a
series of experiments with different
optimization methods for a specific task to
determine which one works faster and more
efficiently under specific conditions.</p>
        </sec>
        <sec id="sec-1-5-4">
          <title>Optimization methods such as SGD (Stochastic</title>
          <p>Gradient Descent) and Adam have their
advantages and disadvantages, which are
important to consider when choosing a specific
task.</p>
          <p>SGD requires less memory because it uses
only one random subset for each weight
update. SGD may be less sensitive to large
amounts of noise in the data because it uses
random subsampling. Convergence can be
slower, especially in deep neural networks,
because SGD can get stuck in local extrema.</p>
          <p>Adam adaptively adjusts the learning rate
for each parameter, making it efficient in
multidimensional spaces. It usually turns out to
be effective in practice for different tasks and
datasets. Adam uses more memory to store
additional information, such as exponentially
smoothed gradients and their squares.</p>
          <p>The average of test results on test images is
presented in Table 1.</p>
          <p>The combination of SGD and Adam methods
leads to the highest accuracy of the model on
the test set, but at the same time increases the
training time slightly compared to using SGD or
Adam alone.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>3. Conclusion</title>
      <sec id="sec-2-1">
        <title>The application of medical image processing</title>
        <p>contributes to improving the accuracy of
diagnoses, early detection of diseases, and
improving the ability of systems to monitor the
dynamics of pathologies over time.</p>
        <p>The analysis revealed that there is a large
and diverse set of methods in the field of
pattern recognition in medicine. Such tasks
often require the use of non-trivial
methodologies, and the development of
original models and algorithms. Among the
main challenges are the analysis of complex
and hybrid images, as well as the improvement
of pattern recognition systems.</p>
        <p>The analysis of the subject area and existing
solutions indicates that image recognition in
radiological studies is an actual and promising
field of research. Chest X-ray images data set
was analyzed.</p>
        <p>This dataset includes chest radiographs that
can be used to recognize pathologies and detect
abnormalities in the images. A detailed review
of this dataset allowed us to consider its
features and opportunities to improve the
performance of our recognition system. Given
the diversity of data in this set, we were able to
tune our model parameters to more accurately
and reliably detect various pathologies in X-ray
images.</p>
        <p>The description and preliminary processing
of the data set, which is a key stage for the
preparation of system input data, has been
performed. Models for training are also
developed, including the selection and tuning
of neural network architectures.</p>
        <p>The introduction of a new method for
training a neural network turned out to be very
successful. This approach significantly
improved the training quality of the model,
helping to increase the accuracy and ability of
image classification. The application of this
method significantly improved the efficiency
and reliability of the X-ray image recognition
system. The research results indicate that the
new learning method, based on the
combination of Adam and SGD methods, raised
the accuracy of image recognition to the level
of 95–97% while increasing the training time
by only 1–2%.</p>
        <p>The developed system can be considered as
an initial version that paves the way for further
improvement. It was determined that the main
driving factor for improving the system is the
developed neural network training method.
This method is based on the efficient use of
Adam and GD methods depending on different
input parameters.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>K.</given-names>
            <surname>Khorolska</surname>
          </string-name>
          , et al.,
          <article-title>Application of a Convolutional Neural Network with a Module of Elementary Graphic Primitive Classifiers in the Problems of Recognition of Drawing Documentation and Transformation of 2D to 3D Models</article-title>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Theor</surname>
          </string-name>
          . Appl. Inf. Technol.
          <volume>100</volume>
          (
          <issue>24</issue>
          ) (
          <year>2022</year>
          )
          <fpage>7426</fpage>
          -
          <lpage>7437</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>V.</given-names>
            <surname>Buriachok</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sokolov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Skladannyi</surname>
          </string-name>
          ,
          <article-title>Security Rating Metrics for Distributed Wireless Systems</article-title>
          ,
          <source>in: Workshop of the 8th International Conference on “Mathematics. Information Technologies. Education:” Modern Machine Learning Technologies and Data Science</source>
          , vol.
          <volume>2386</volume>
          (
          <year>2019</year>
          )
          <fpage>222</fpage>
          -
          <lpage>233</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          Theor. Appl. Inf. Technol.
          <volume>100</volume>
          (
          <issue>24</issue>
          ) (
          <year>2022</year>
          )
          <fpage>7390</fpage>
          -
          <lpage>7404</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>F.</given-names>
            <surname>Kipchuk</surname>
          </string-name>
          , et al.,
          <source>Assessing Approaches of IT Infrastructure Audit, in: IEEE 8th International Conference on Problems of Infocommunications, Science and Technology</source>
          (
          <year>2021</year>
          ). doi: eai/definition/convolutional-neural10.
          <volume>1109</volume>
          /picst54195.
          <year>2021</year>
          .
          <volume>9772181</volume>
          . network
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>O.</given-names>
            <surname>Shevchenko</surname>
          </string-name>
          , et al.,
          <source>Methods of the [</source>
          <volume>16</volume>
          ]
          <string-name>
            <given-names>Convolutional</given-names>
            <surname>Neural</surname>
          </string-name>
          <article-title>Network (CNN) Objects Identification and Recognition (</article-title>
          <year>2023</year>
          ).
          <article-title>URL: https: Research in the Networks with the IoT //developer</article-title>
          .nvidia.com/discover/conv Concept Support, in: Cybersecurity olutional
          <article-title>- neural-network Providing in Information and</article-title>
          [17]
          <string-name>
            <given-names>F.</given-names>
            <surname>Nataliia</surname>
          </string-name>
          , et al.,
          <source>Software System for Telecommunication Systems Vol. 2923 Processing and Visualization of Big Data</source>
          (
          <year>2021</year>
          )
          <fpage>277</fpage>
          -
          <lpage>282</lpage>
          . Arrays,
          <source>Adv. Comput. Sci f Eng</source>
          .
          <year>Educ</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Z. B.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Buriachok</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sokolov</surname>
          </string-name>
          , (
          <year>2022</year>
          )
          <fpage>324</fpage>
          -
          <lpage>336</lpage>
          . Deduplication Method for Ukrainian Last [18]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhurakovskyi</surname>
          </string-name>
          , et al.,
          <article-title>Modifications of Names, Medicinal Names, and Toponyms the Correlation Method of Face Based on Metaphone Phonetic Detection in Biometric Identification Algorithm, Advances in Computer Systems, in: Cybersecurity Providing in Science for Engineering and Education Information</article-title>
          and
          <string-name>
            <surname>Telecommunication</surname>
            <given-names>III</given-names>
          </string-name>
          , vol.
          <volume>1247</volume>
          (
          <year>2020</year>
          )
          <fpage>518</fpage>
          -
          <lpage>533</lpage>
          . Vol.
          <volume>3288</volume>
          (
          <year>2022</year>
          )
          <fpage>55</fpage>
          -
          <lpage>63</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          -55506-1_
          <fpage>47</fpage>
          . [19]
          <string-name>
            <given-names>S.</given-names>
            <surname>Bandyopadhyay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Dutta</surname>
          </string-name>
          , Associating
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>I.</given-names>
            <surname>Tsochantaridis</surname>
          </string-name>
          , et al.,
          <article-title>Large Margin Unemployment with PanicAttack Using Methods for Structured</article-title>
          and
          <string-name>
            <surname>Stacked-RNN Model During</surname>
            <given-names>COVID</given-names>
          </string-name>
          -19
          <string-name>
            <surname>Interdependent Output</surname>
            <given-names>Variables</given-names>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          (
          <year>2020</year>
          ).
          <source>doi: 10.20944/preprints202006. Mach. Learning Res</source>
          .
          <volume>20</volume>
          (
          <issue>9</issue>
          ) (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>41</lpage>
          .
          <fpage>0242</fpage>
          .
          <year>v1</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>L.</given-names>
            <surname>Deng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Yu</surname>
          </string-name>
          , Deep Learning: Methods [20]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhurakovskyi</surname>
          </string-name>
          , et al.,
          <source>Calculation of and Applications. Foundations and Quality Indicators of the Future Trends® in Signal Processing</source>
          <volume>14</volume>
          (
          <issue>1-2</issue>
          )
          <string-name>
            <given-names>Multiservice</given-names>
            <surname>Network</surname>
          </string-name>
          , Future
          <string-name>
            <surname>Intent</surname>
          </string-name>
          (
          <year>2021</year>
          )
          <fpage>300</fpage>
          -
          <lpage>370</lpage>
          . Based Networking (
          <year>2022</year>
          )
          <fpage>197</fpage>
          -
          <lpage>209</lpage>
          . doi:
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <source>[9] Real-World Applications of 10</source>
          .1007/978-3-
          <fpage>030</fpage>
          -92435-5_
          <fpage>11</fpage>
          .
          <string-name>
            <surname>Convolutional Neural Networks</surname>
          </string-name>
          (
          <year>2021</year>
          ). [21]
          <string-name>
            <given-names>J.</given-names>
            <surname>Amin</surname>
          </string-name>
          , et al.,
          <article-title>Big Data Analysis for Brain URL</article-title>
          : https://vitalflux.com/real-world- Tumor Detection:
          <article-title>Deep Convolutional applications-of-convolutional-</article-title>
          <string-name>
            <surname>neural- Neural Networks</surname>
          </string-name>
          ,
          <source>Future Gener. networks/ Comput.Syst</source>
          .
          <volume>87</volume>
          (
          <year>2018</year>
          )
          <fpage>290</fpage>
          -
          <lpage>297</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <article-title>Detection and Analysis of COVID-</article-title>
          19 in [22]
          <string-name>
            <given-names>S.</given-names>
            <surname>Obushnyi</surname>
          </string-name>
          , et al.,
          <article-title>Autonomy of Medical Images Using Deep Learning Economic Agents in Peer-to-</article-title>
          <string-name>
            <surname>Peer Techniques</surname>
          </string-name>
          (
          <year>2023</year>
          ).
          <article-title>URL: Systems</article-title>
          , in:Cybersecurity Providing in https://www.nature.
          <source>com/articles/s415 Information and Telecommunication 98-021-99015-3 Systems</source>
          Vol.
          <volume>3288</volume>
          (
          <year>2022</year>
          )
          <fpage>125</fpage>
          -
          <lpage>133</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Chest</surname>
            <given-names>X-Ray</given-names>
          </string-name>
          <string-name>
            <surname>Images</surname>
            (Pneumonia) [23]
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Druzhynin</surname>
          </string-name>
          , et al.,
          <source>Features of (</source>
          <year>2023</year>
          ). URL: https://www.kaggle.
          <article-title>Processing Signals from Stationary com/datasets/paultimothymooney/che Radiation Sources in Multi-Position st-xray- pneumonia Radio Monitoring Systems</article-title>
          , CEUR
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>RSNA</given-names>
            <surname>Pneumonia Detection Challenge Workshop</surname>
          </string-name>
          Proceedings Vol.
          <volume>2746</volume>
          (
          <issue>2020</issue>
          )
          <article-title>Dataset Description (</article-title>
          <year>2018</year>
          ). URL:
          <fpage>46</fpage>
          -
          <lpage>65</lpage>
          . https://www.rsna.org/rsnai/ai-image- [24]
          <string-name>
            <given-names>D.</given-names>
            <surname>Kingma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ba</surname>
          </string-name>
          ,
          <article-title>Adam: A Method for challenge/rsna-pneumonia-detection-</article-title>
          <string-name>
            <surname>Stochastic Optimization</surname>
          </string-name>
          , International challenge-2018
          <source>Conference on Learning Representations</source>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>NIH Chest X-rays</surname>
          </string-name>
          (
          <year>2018</year>
          ).
          <source>URL:</source>
          (
          <year>2015</year>
          ). https://www.kaggle.com/datasets/nih- [25]
          <string-name>
            <given-names>A.</given-names>
            <surname>Graves</surname>
          </string-name>
          ,
          <article-title>Generating Sequences with chest-xrays/data Recurrent Neural Networks</article-title>
          , arXiv,
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>CheXpert</surname>
          </string-name>
          (
          <year>2018</year>
          ).
          <article-title>URL: https: preprint (</article-title>
          <year>2013</year>
          ). //paperswithcode.com/dataset/chexpe [26]
          <string-name>
            <given-names>A.</given-names>
            <surname>Graves</surname>
          </string-name>
          , Alex,
          <string-name>
            <given-names>A.-R.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          , rt G.
          <article-title>Hinton, Speech Recognition with Deep</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <article-title>What is a convolutional neural network Recurrent Neural Networks</article-title>
          .
          <source>IEEE (CNN)?</source>
          (
          <year>2019</year>
          ). URL: https: International Conference on Acoustics, //www.techtarget.com/searchenterpris Speech and Signal
          <string-name>
            <surname>Processing</surname>
          </string-name>
          (
          <year>2013</year>
          )
          <fpage>6645</fpage>
          -
          <lpage>6649</lpage>
          . doi:
          <volume>10</volume>
          .1109/ICASSP.
          <year>2013</year>
          .
          <volume>6638947</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>VGG</given-names>
            <surname>Net Architecture</surname>
          </string-name>
          (
          <year>2023</year>
          ). URL: https://medium.com/@sajals1146/vgg
          <article-title>-net-architecture-880df59c37ea</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>B.</given-names>
            <surname>Bejnordi</surname>
          </string-name>
          , et al.,
          <article-title>Diagnostic Assessment of Deep Learning Algorithms For Detection of Lymph Node Metastases in Women with Breast Cancer</article-title>
          , JAMA
          <volume>318</volume>
          (
          <issue>22</issue>
          ) (
          <year>2017</year>
          )
          <fpage>2199</fpage>
          -
          <lpage>2210</lpage>
          . doi:
          <volume>10</volume>
          .1001/jama.
          <year>2017</year>
          .
          <volume>14585</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Moshenchenko</surname>
          </string-name>
          , et al.,
          <source>Optimization Algorithms of Smart City Wireless Sensor Network Control, in: Cybersecurity Providing in Information and Telecommunication Systems</source>
          II Vol.
          <volume>3188</volume>
          (
          <year>2021</year>
          )
          <fpage>32</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>B.</given-names>
            <surname>Zhurakovskyi</surname>
          </string-name>
          , et al.,
          <source>Secured Remote Update Protocol in IoT Data Exchange System, in: Cybersecurity Providing in Information and Telecommunication Systems</source>
          Vol.
          <volume>3421</volume>
          (
          <year>2023</year>
          ),
          <fpage>67</fpage>
          -
          <lpage>76</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [31]
          <string-name>
            <surname>Adamax</surname>
          </string-name>
          (
          <year>2018</year>
          ). URL: https://keras.io/ api/optimizers/adamax/
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [32]
          <string-name>
            <surname>Stochastic</surname>
            <given-names>Gradient Descent (SGD</given-names>
          </string-name>
          ) (
          <year>2023</year>
          ). URL: https://scikitlearn.org/stable/modules/sgd.html
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>L.</given-names>
            <surname>Ziyin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ueda</surname>
          </string-name>
          ,
          <article-title>Law of Balance and Stationary Distribution of Stochastic Gradient Descent</article-title>
          , arXiv (
          <year>2023</year>
          ).
          <source>doi: 10.48550/arXiv.2308.06671</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>