With support from the NSF CyberCorps Scholarship for Service, Mary Nankya is working to make AI harder to manipulate and to open doors for others in STEM
What happens when a hospital's AI system is compromised? Or when a government agency’s AI tools are targeted by a cyberattack? Failures like these can have serious consequences, and as artificial intelligence becomes more widely used, questions about its security and reliability grow more urgent. UMass Dartmouth PhD student Mary Nankya is working to answer these questions, researching ways to identify vulnerabilities in AI systems and protect them from manipulation.
Nankya's journey began in Uganda, where she first studied computer science as an undergraduate. Determined to build a brighter future for her two young sons and help create a world where trustworthy technology improves people's lives, she moved to the U.S. to pursue graduate studies.
A former international student, Nankya earned her master's degree in 2024 and became a Director of Data and Evaluation, applying her data science skills to address homelessness in Boston. She is now a U.S. permanent resident, a status granted in recognition of her research contributions and professional accomplishments. But she wanted to move beyond applying existing tools and become one of the people developing future technologies. That ambition led her to the Engineering and Applied Science PhD program at UMass Dartmouth—with financial support from the National Science Foundation CyberCorps Scholarship for Service.
Securing AI systems
Nankya's research is focused on securing AI-equipped systems and large language models (LLMs) against cyberthreats. One such threat she's investigating is known as memory poisoning, a form of manipulation where attackers plant false or malicious data into an AI system, corrupting future outputs.
"When selecting AI tools, we think about their performance, but not necessarily how well they can withstand cyberattacks," Nankya said. "My research is focused on identifying the vulnerabilities of AI systems, building defenses, and assessing how resilient they are against attacks. I'm especially interested in areas like healthcare and government where the consequences of failure can be significant."
What it's like to be a PhD student at UMass Dartmouth
"Every day I am surrounded by smart, supportive people," Nankya said. "I like that everyone here is looking out for you and your success."
Alongside that support, she says, the university gives her room to pursue her research ambitions.
"UMass Dartmouth offers an environment where I can grow as a researcher and collaborate with people working to solve real-world challenges. I have the space and resources to run experiments; because of the facilities here, there are no limits on what I'm able to achieve. One year into my PhD program, I've already had opportunities to publish a conference paper and present research at the Institute of Electrical and Electronics Engineers (IEEE) Cyber Awareness symposium."
Nankya chose UMass Dartmouth for the opportunity to join Professor Lance Fiondella's group whose work in reliability, resilience, and dependable systems closely aligned with her interests in developing trustworthy AI-enabled systems. But UMD also offered another advantage: the CyberCorps Scholarship for Service (SFS). Funded by the National Science Foundation, the SFS is a full-ride scholarship available to cybersecurity students at participating institutions. Post-graduation, recipients commit to working in a cybersecurity position for the U.S. Government for a length of time equal to the duration of the scholarship. UMass Dartmouth is one of seven universities in New England to offer this program.
"Being selected as an SFS scholar is one of the most meaningful opportunities in my PhD journey so far," Nankya said. "Beyond the financial support, it connects my academic work to a national priority: developing the expertise needed to protect critical systems and infrastructure."
The difference she wants to make
The work Nankya will do through the SFS program is a national priority, and she sees it as part of something larger: a world where the technology people rely on is safer, and where it improves their lives. "Ultimately, I want to be remembered not just for the technologies I helped develop, but for the positive difference those technologies made in people’s lives."
But she hopes to make a difference in another way, too: through her example. "Women in tech still have small representation," she said. "In my career I hope to mentor and support other researchers who may not see themselves represented in technology and research spaces. Having worked in industry, I know how valuable it can be to have women in leadership roles to look up to. I want to set an example, not just for other women in STEM but also to show my sons what is possible.
"I see every milestone as both an achievement and a responsibility to do more."