Abstract
Classification is one of the interesting areas of neural networks. Artificial neural networks (ANNs) are widely used to recognize patterns and classify data, and they work by learning from examples, in a way that imitates human intelligence. How well an ANN is trained depends on its architecture, for example the number of hidden layers, the number of nodes in each layer, the number of epochs and the activation function.
This paper studies the practical importance of these architecture choices and shows how ANNs can help to classify breast cancer. It also tests, with experiments, several important ideas about how neural networks behave, in order to make these concepts clearer.
Introduction
Breast cancer is a disease in which malignant cells form in the tissues of the breast. It starts when breast cells begin to grow out of control, and the resulting tumor can be seen on an X-ray. It occurs almost entirely in women, but men can get it too. Among women, it is the most commonly diagnosed cancer.
Diagnosing breast cancer takes time, during which the disease can spread and the chances of survival fall. A computerized system that helps to diagnose it faster is therefore very valuable. Many techniques have been proposed, and one of them is the artificial neural network, which has been widely used to classify breast cancer.
Related Work
Several screening techniques are used to detect breast cancer, including PET, CT scans, X-rays, ultrasound and mammograms. Mammography is the most reliable and popular of these, but it has serious limitations, because some cancers are missed during screening. This has led researchers to develop automated computer systems for diagnosis.
ANNs have been used to diagnose breast cancer for several years, and their accuracy is high compared with other non-computational methods. Other classifiers have also been applied to the task, such as support vector machines, self-organizing maps, probabilistic neural networks, general regression neural networks, radial basis networks and multi-layer perceptrons. In the work that this paper cites, the general regression neural network was the most accurate, at 98.8%.
Proposed Method
Two main kinds of neural network are described. In a feed-forward network, the information moves in only one direction, from the input layer through the hidden layers to the output layer (Figure 1). In a feedback network, the output goes back into the network, so that signals travel in both directions (Figure 2).
The networks were trained and tested on the Wisconsin breast cancer dataset. Each row describes one sample with nine measurements of a cell, such as clump thickness, bare nuclei and normal nucleoli, and a label that says whether the tumor is malignant or benign. Before training, the identifiers, the measurements and the labels were separated, and the few missing values were replaced by 5.
The experiments changed the main settings that define a network: the activation functions, the number of hidden layers, the learning functions, the mean square error and the number of epochs. Four ideas, called hypotheses, were then tested, and the results were used to check each one.
Results and Discussion
Hypothesis 1: carefully chosen training data works better than random data. The network was trained on half of the data, chosen so that 32.5% of the samples were benign and 17.5% malignant. This was confirmed. With the selected data, most settings reached about 97% to 99% accuracy, against about 73% to 75% with randomly chosen data. The best settings used one to three hidden layers with 5 to 20 nodes each, and the activation function that worked best in the hidden layers was tansig. In the output layer, tansig or purelin worked better than softmax, which gave poor results of about 34%.
Hypothesis 2: performance rises and falls as more hidden layers are added. This was not confirmed. The accuracy stayed above about 95% in almost all of the experiments, whether the network had one hidden layer or several. The authors conclude that adding more hidden layers does not change the performance, and that beyond a point it is of no use.
Hypothesis 3: fewer data dimensions improve performance. This was confirmed by the authors. Using fewer measurements per sample, which are shown for the benign and malignant samples in Figure 3, the accuracy reached about 97% to 99.6%, and some experiments were close to 100%. The authors judge this better than the experiments with all nine measurements.
Hypothesis 4: more hidden layers shorten the training time. This was not confirmed. The training time varied between about 10 and 35 seconds without any pattern, so the time does not depend on the number or size of the hidden layers.
The behavior of one trained network is shown in Figures 4, 5 and 6. The validation error stopped improving at epoch 33 of 39 (Figure 4), and the validation checks, which stop the training when the network stops improving, reached 6 at epoch 39 (Figure 5). The correlation between the network’s output and the true answer was about 0.95 for the training data and 0.94 for the validation and test data (Figure 6).
Conclusions
This paper shows ways to classify breast cancer more accurately with artificial neural networks. Four hypotheses were tested, and the setup for an efficient network was described. The authors report an overall accuracy of 99%. In future work, they plan to use AI to process mammography images, in order to tell malignant from benign tumors.