NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Mark Harman

Mark Harman

University College London · Meta (United States)
12 previous affiliations
59Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Mark Harman focuses on software engineering, automated testing, and the intersection of software validation with machine learning. His trajectory spans foundational work in mutation testing and search-based software engineering to the rigorous evaluation of modern AI systems. Most recently, his research addresses algorithmic fairness, bias mitigation, and the robustness of large language models in code generation.

Research Trajectory

The trajectory begins with foundational software engineering research, including participation in the study of The plastic surgery hypothesis in 2014, which explored the nature of software changes, patches, and how existing code snippets can be repurposed to fix bugs.

As machine learning systems became more prevalent, the focus expanded to adapting traditional software testing methodologies for AI. With collaborators, he explored the area of Oracle-Free Error Detection via Relational Invariants through Automatic testing and improvement of machine translation (2020). This work introduced frameworks to detect and repair inconsistencies in translation systems without requiring human-provided ground truth, significantly improving both translation quality and consistency through black-box and grey-box methods.

This intersection of software engineering and AI was formalized further in Machine Learning Testing: Survey, Landscapes and Horizons (2022), a comprehensive mapping of the field that categorizes research efforts across properties, components, workflows, and applications. This survey contributes to the broader research direction of Automated Test Oracle Generation. In parallel, he investigated novel validation techniques for machine learning models. Model Validation Using Mutated Training Labels: An Exploratory Study (2022) proposed evaluating models by introducing label mutations directly into training data, offering a more stable alternative to traditional out-of-sample validation and achieving high accuracy in model selection. This aligns closely with his contributions to the research direction of Generalization Assessment via Label Mutation. The commitment to rigorous testing methodologies also continued in traditional software domains with Keeping Mutation Test Suites Consistent and Relevant with Long-Standing Mutants (2023), which addressed the maintenance and relevance of mutation testing suites over time.

Concurrently, a major research theme emerged around the fairness and ethical deployment of machine learning classifiers. He led extensive reviews of the landscape, beginning with Bias Mitigation for Machine Learning Classifiers: A Comprehensive Survey (2022). This was followed by a large-scale evaluation in A Comprehensive Empirical Study of Bias Mitigation Methods for Machine Learning Classifiers (2023), which demonstrated that bias mitigation often incurs a performance cost and requires careful, context-specific selection across different tasks. Building on these empirical insights, his work transitioned toward automated repair mechanisms. In Search-based Automatic Repair for Fairness and Accuracy in Decision-making Software (2024), he introduced search-based methods designed to simultaneously improve both fairness and accuracy, challenging the traditional assumption that bias mitigation must inherently trade accuracy for fairness. Further deepening this inquiry, Fairness Improvement with Multiple Protected Attributes: How Far Are We? (2024) highlighted the complexities of optimizing for single attributes at the expense of others, advancing the research direction of Mitigating Bias at the Intersection of Multiple Identities.

Most recently, the trajectory has integrated mutation testing and robustness evaluation with the rise of automated code generation and large language models (LLMs). Mutation analysis for evaluating code translation (2024) proposed using mutation analysis to assess source-to-source code translators, moving beyond purely syntactic similarity metrics like BLEU scores to measure the actual semantic trustworthiness of automated translators. This focus on LLM-driven software engineering extends into 2025. He participated in LLMs Love Python: A Study of LLMs' Bias for Programming Languages and Libraries, which investigated the inherent preferences and potential technical debt introduced by LLMs during code generation. Finally, Robustness evaluation of code generation systems via concretizing instructions (2025) addressed the fragility of text-to-code systems, developing techniques to evaluate how slight variations in natural language instructions impact the semantics of the generated code.

Current Directions

The most recent papers in the evidence address the reliability, fairness, and robustness of modern AI systems, particularly large language models applied to software engineering tasks. Recent work investigates the robustness of code generation systems, exploring how minor perturbations in natural language instructions can drastically alter generated code semantics. This includes developing new evaluation frameworks that move beyond syntactic similarity to assess the true semantic trustworthiness of automated code translators using mutation analysis.

Additionally, current research examines the inherent biases of LLMs in selecting programming languages and libraries, highlighting the implications for software security and technical debt when developers rely on automated code generation. Alongside code generation, ongoing work in algorithmic fairness focuses on the complex dynamics of mitigating bias across multiple protected attributes simultaneously. This involves utilizing search-based software engineering techniques to automatically repair decision-making software, aiming to optimize fairness metrics without sacrificing overall system accuracy.

Profile updated

See something wrong? Report a mistake