What Do AI Agents Actually Change? An Empirical Taxonomy of Mutation Patterns in Performance-Improving Pull Requests

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, quick

Summary

An empirical study analyzed 1,254 performance-relevant diff hunks from 216 pull requests (PRs) generated by five distinct AI coding agent systems. These PRs, representing fewer than 1% of 33,596 agent PRs in AIDev-pop, offer a rare look into agent behavior. Researchers classified these changes using a dual-LLM intersection pipeline against the 18-category Even-Mendoza et al. (2025) syntactic mutation taxonomy. The analysis revealed that name modification (37.0%), object creation (26.4%), and type change (22.7%) dominate agent-generated performance improvements, a profile significantly different from prior genetic improvement corpora. Each agent system exhibits a unique mutation vocabulary, and specific performance strategies activate distinct category subsets, suggesting agent identity and target strategy are valuable priors for search-based software engineering (SBSE) operator selection.

Key takeaway

For AI Engineers optimizing code with agents, understanding the specific mutation patterns agents employ is crucial. This research shows that agent identity and performance strategy predict the types of code changes you will see, such as name modification or object creation. You should leverage these insights to refine your search-based software engineering (SBSE) mutation operators, potentially improving the efficiency and effectiveness of automated performance optimization efforts.

Key insights

AI agents' performance-improving code changes exhibit distinct, predictable mutation patterns, informing search-based software engineering.

Principles

Method

A dual-LLM intersection pipeline classifies diff hunks against an 18-category syntactic mutation taxonomy.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.