An Experimental Study on Applying Metamorphic Testing in Machine Learning Applications

  • Sebastião H. N. Santos USP
  • Beatriz Nogueira Carvalho da Silveira USP
  • Stevão A. Andrade USP
  • Márcio Delamaro USP
  • Simone R. S. Souza USP

Resumo


Machine learning techniques have been successfully employed in various areas and, in particular, for the development of healthcare applications, aiming to support in more effective and faster diagnostics (such as cancer diagnosis). However, machine learning models may present uncertainties and errors. Errors in the training process, classification, and evaluation can generate incorrect results and, consequently, to wrong clinical decisions, reducing the professionals' confidence in the use of such techniques. Similar to other application domains, the quality should be guaranteed to produce more reliable models capable of assisting health professionals in their daily activities. Metamorphic testing can be an interesting option to validate machine learning applications. Using this testing approach is possible to define relationships that define changes to be made in the application's input data to identify faults. This paper presents an experimental study to evaluate the effectiveness of metamorphic testing to validate machine learning applications. A Machine learning application to verify breast cancer diagnostic was developed, using an available dataset composed of 569 samples whose data were taken from breast cancer images, and used as the software under test, in which the metamorphic testing was applied. The results indicate that metamorphic testing can be an alternative to support the validation of machine learning applications.

Palavras-chave: Metamorphic Test, Machine Learning, Experimental Study
Publicado
19/10/2020
SANTOS, Sebastião H. N.; SILVEIRA, Beatriz Nogueira Carvalho da; ANDRADE, Stevão A.; DELAMARO, Márcio; SOUZA, Simone R. S.. An Experimental Study on Applying Metamorphic Testing in Machine Learning Applications. In: SIMPÓSIO BRASILEIRO DE TESTES DE SOFTWARE SISTEMÁTICO E AUTOMATIZADO (SAST), 5. , 2020, Natal/RN. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2020 . p. 98–106.