Antonio Mastropaolo


I was born in Campobasso (Italy) on August, 2nd, 1996. I received (cum laude) Master's degree in Software System Security from the University of Molise (Italy) in July 2020, by defending a thesis named: "DeepGen: a multi-task learning model for software engineering related-tasks", advised by Prof. Rocco Oliveto and Prof. Denys Poshyvanyk. In October 2020 I started my Ph.D. in the SEART group @USI, working on the DEVINTA project advised by Prof. Gabriele Bavota

PhD Student

  • Birthday: 2 August 1996
  • City: Lugano, Switzerland
  • Age: 26
  • Degree: Master of Science

More about me!

I am a highly motivated, disciplined and insatiably curious person, eager to constantly learn new things and grow. I'm a strong believer in discipline as a "tool" to achive great results in each aspects of life. Moreover, I always embrace all that kind of activities that allow to improve not only my knowledge, but my mental and physical abilities as well.


Tech guy

Gym enthusiast

Inquiring mind

Longevity enthusiast


“Life without knowledge is death in disguise.” - Talib Kweli.

Object oriented programming 90%
Formal method 60%
Machine learning 85%
Deep learning 90%



Master of Science in Software security systems

2018 - 2020

Università degli studi del molise, IT

During my master's degree, I had the opportunity to grow my skills and enrich my knowledge by taking part in various research projects ranging from formal methods, machine learning, and deep learning. I successfully defended my master thesis in July 2020

Offensive Security -- OSWP


In January 2019, I completed the Offensive Security Wireless Professional course and earned my certification

Check it out here

Bachelor of Science in Computer Science

2015 - 2018

Università degli studi del molise, IT

During my bachelor's degree, I built a solid computer science foundation and, in my final year, I had the chance to work on a research project concerning the dynamic distribution of the search budget in search-based software testing. This project led me to an experimental thesis named: "An Adaptive allocation of search budget in search-based software testing", where Prof. Rocco Oliveto was my supervisor. I graduated(Cum Laude) in July 2018, by successfully defending my thesis

Professional Experience

Research Assistant

February 2020 - July 2020

Unimol, Pesche, IS

  • I was in charge of developing and implementing an over-approximation schema for the entire C99 programming language. I integrated such a schema into Lazy C-Seq (a tool that analyzes concurrent programs) by leveraging the code-to-code translation technique. I was supervised by Prof. Gennaro Parlato and Prof. Salvatore La Torre


My research interests include large pre-trained language models of code to foster code related-tasks, mainly focusing on code and comments


International Conferences

Using Deep Learning to Generate Complete Log Statements
ICSE 2022: 2279-2290.

Antonio Mastropaolo, Luca Pascarella, Gabriele Bavota

Using Pre-Trained Models to Boost Code Review Automation
ICSE 2022: 2291-2302.

Rosalia Tufano, Simone Masiero, Antonio Mastropaolo, Luca Pascarella, Denys Poshyvanyk, Gabriele Bavota

An Empirical Study on Code Comment Completion
ICSME 2021: 159-171.

Antonio Mastropaolo, Emad Aghajani, Luca Pascarella, Gabriele Bavota.

Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Tasks
ICSE 2021: 336-347.

Antonio Mastropaolo, Simone Scalabrino, Nathan Cooper, David Palacio, Denys Poshyvanyk, Rocco Oliveto, Gabriele Bavota.

International Journals

Using Transfer Learning for Code-Related Tasks
IEEE Transactions on Software Engineering.

Antonio Mastropaolo, Nathan Cooper, David Nader Palacio, Simone Scalabrino, Denys Poshyvanyk, Rocco Oliveto, Gabriele Bavota.

An Empirical Study on the Usage of Transformer Models for Code Completion
IEEE Transactions on Software Engineering.

Matteo Ciniselli, Nathan Cooper, Luca Pascarella, Antonio Mastropaolo, Emad Aghajani, Denys Poshyvanyk, Massimiliano Di Penta, Gabriele Bavota.

An Adaptive Search Budget Allocation Approach for Search-Based Test Case Generation
ACM Trans. Softw. Eng. Methodol: 36:1-36:26.

Simone Scalabrino, Antonio Mastropaolo, Gabriele Bavota, Rocco Oliveto.



Campus EST, Section D, Office D3.10 (Level 3), Via alla Santa 1, 6900 Viganello