Software workflows · Research feature

Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmap

A research roadmap outlines how foundation models interact with search-based software engineering techniques across key domains.

Adapted from research by Hassan Sartaj, Shaukat Ali, Paolo Arcaini and colleagues.

arXiv preprint revision · 2026-09-24 · Attribution & reuse
In this article
Editorial illustration of linked workflow.

Editor’s introduction

The study examines the current landscape of search-based software engineering (SBSE) in relation to AI foundation models, focusing on three areas: using FMs to enhance SBSE, applying SBSE to improve FMs, and integrating the two approaches. It identifies synergies and potential research directions, particularly in emerging domains like autonomous driving, robotics, and quantum computing. These factors remain underexplored, and the research emphasizes the need for standardized methods to ensure fair comparison between traditional and AI-augmented SBSE methods. The findings are framed as a forward-looking roadmap rather than a definitive assessment of effectiveness or impact.

Introduction

Search-Based Software Engineering (SBSE), formally introduced as a field by in 2001, has gained prominence over the past quarter century, although the use of search algorithms to address software engineering (SE) problems dates back to earlier work, such as test data generation by in 1976. Over the years, it has rapidly evolved to address emerging and complex SE problems. It has been successfully applied throughout the SE lifecycle, including requirements engineering, software design, software development, software testing, deployment, and maintenance.

SBSE applies artificial intelligence (AI) techniques, including evolutionary computation and metaheuristic search, to effectively solve SE problems. This involves reformulating SE problems as metaheuristic search problems by creating solution representation, defining fitness functions, and selecting search operators. The problem formulated in this way is then solved by applying search and optimization techniques to identify optimal solutions. These techniques include single-objective, multi-objective, and many-objective search algorithms, each designed for different problem types and levels of complexity.

Recently, foundation models (FMs)—a term introduced by —have brought a major transformation, attracting widespread interest across research communities, academia, and industry. Although the term “foundation models” broadly refers to large-scale pre-trained models, it is most commonly associated with large transformer-based architectures, such as GPT, BERT, and CLIP. These models are trained on vast amounts of data and are capable of performing a wide range of analytical tasks. For specific application domains, these models can be adapted using techniques such as fine-tuning and prompt engineering. Depending on their modalities, architecture, and application domains, FMs can be categorized as follows: Large Language Models (LLMs) like GPT for textual content; Vision Language Models (VLMs) like ResNet for image and video data; Speech and Audio Models (SAMs) like WaveNet for tasks related to speech recognition, synthesis, and audio analysis; and Multimodal Models (MMs) like CLIP that integrate multiple types of data, such as text and images, to enable content generation and comprehension across different modalities. Their ability to generalize knowledge across multiple domains and adapt to diverse applications has enabled new AI-driven innovations, making them a focal point of exploration. As a result, researchers are actively exploring their potential, academic institutions are integrating them into curricula, and industries are leveraging them to enhance automation, decision-making, and user experiences.

Advantages and Limitations of SBSE

There are many problems in science and engineering that can be modeled as search or optimization problems. Traditional problems include, for example, the Traveling Salesperson Problem and the Knapsack Problem. But they appear in all domains, from bioengineering to economics. SE is just one of many kinds of fields that has tasks that can be modeled as search/optimization problems. There are decades of success stories about the application of search/optimization algorithms. Their success in addressing SE problems is, therefore, not unexpected.

But, how much hardware is available? This depends on the real-world scenarios in which these techniques are applied. In the case of SE problems, a common example is developers and testers using their work laptops for SBSE tasks. As of 2025, a typical laptop can have several CPU cores (e.g., not uncommon to have between 4 and 8 CPU cores). For example, this very text is written on a Mac with an M4 chip having a 16-core CPU. Considering the cost of hardware (e.g., laptops and servers) and electricity, compared to the salary cost of professional software engineers, the use of extra hardware dedicated to SBSE tasks can be warranted. This is the case if the use of SBSE brings a positive return on investment by saving (the expensive) time of software engineers (SB-S2).

Without disrupting existing software development processes, extra hardware that could be used for SBSE tasks might already be available. For example, considering a common practice like the use of Continuous Integration (CI) servers, extending such servers to run SBSE tasks is possible (e.g., as done in ). Different SE tasks, like test generation, bug fixing, and so on, could automatically be run in CI after developers make code changes (SB-S3).

Benefits and Downsides of FMs

FMs represent a groundbreaking advancement in AI due to their ability to process multimodal data. These models encompass diverse architectures, such as LLMs for natural language processing and VLMs or MMs for handling image, audio, and video data. A key strength of FMs is that they are trained using enormous and heterogeneous datasets, due to which they possess extensive cross-domain knowledge and the ability to identify complex patterns across different types of inputs (FM-S1). FMs also feature task versatility due to their transformer-based architectures and self-supervised learning techniques. These capabilities enable them to understand context and provide outputs with reasoning that closely resembles human thinking, making them highly effective for complex decision-making and problem-solving tasks (FM-S2).

One of the most notable benefits of FMs is their adaptability and generalization in various domains (FM-S3). Unlike traditional models that require extensive retraining for new tasks, FMs can adapt and generalize to domain-specific tasks with minimal fine-tuning. This adaptability has driven their adoption in numerous fields, including SE, autonomous systems, and robotics. A recent advancement is vision–language–action (VLA) models, which extend the multimodal capabilities of FMs by not only interpreting complex inputs but also generating executable actions (FM-S4). This makes VLAs particularly valuable in dynamic and interactive environments, such as autonomous vehicles or robotics, where they enable advanced control and embodied intelligence.

Despite their significant benefits, FMs also come with certain downsides. A primary concern is that these models often struggle in handling dynamic systems (FM-W1), as they lack the real-time adaptability needed to respond to evolving requirements or changes in feedback loops. For example, in applications such as autonomous systems, FMs lack the ability to dynamically incorporate new information. Furthermore, their inherent limitations, such as hallucination, non-determinism, uncertainty, and output variability, raise serious reliability concerns (FM-W2), especially in safety-critical domains such as robotics and healthcare, where factually incorrect outputs may cause safety risks.

Challenges of Empirical Evaluations

When using FMs or combining FMs with SBSE techniques, the same requirements still hold: experiments must be fair. However, how to ensure that the same amount of resources is employed in the case of FMs? If you use a commercial FM, typically, you will be making an API call over the internet by sending a prompt as a payload, which introduces risks such as FM-W5 and FM-W6. This payload would then trigger computations on a remote server, usually running on high-end GPUs. Then the response would be sent back. Such round-trip communication toward a remote server takes a non-zero amount of time. Furthermore, what are the specs of those high-end GPUs? How much electricity did they consume to answer the prompt? How do those values compare with the specs of a consumer-grade laptop where you can run SBSE techniques?

However, the use of a local FM solves another critical issue: replicability. A remote, commercial FM could change at any time (FM-W4), like any other service provided on the internet. Given an experiment involving such a remote FM, it might not be possible to replicate such a study if the FM has changed meanwhile. Lack of replicability is a major issue in scientific research. A result that cannot be replicated has limited scientific value. On the other hand, if the FM is an open-source one that can be run locally, experiments can be attempted to replicate, as long as similar hardware is employed. This does not mean that commercial FMs should not be used in scientific research, especially if they are the ones that give the best results. Still, for sound results, experiments should be run as well with a local FM, which can then be used as a point of reference in replicated studies and comparisons.

Note that the concept of “replicability” is different from the concept of “non-determinism”. If you prompt an FM twice, you might get different results even if the prompt is exactly the same. But this is exactly the same issue as for SBSE techniques, which most of the time are based on randomized algorithms. In those cases, experiments need to be repeated several times (e.g., 10 or 30 times), and the appropriate statistical tests should be used to analyze the results.

Robotics

Autonomous robots employ adaptation mechanisms such as the MAPE-K loop and AI-based data analysis techniques to autonomously monitor, analyze, and adapt to unpredictable dynamic environments and unforeseen events while interacting with humans and surrounding objects. These robots can be categorized into various types depending on the application domain, such as industrial robots for automated manufacturing, service robots for office and home assistance, and healthcare robots for medical assistance. Similar to ADS, these robots also process multimodal sensor and actuator data, leading to similar opportunities for integrating SBSE with FMs.

A recent shift in robotics has seen the development of robotic foundation models, including fine-tuned LLMs and VLMs for robot-specific tasks and vision action language (VLA) models designed for robots. These embodied robotic foundation models enable robots to operate in task-specific ways within closed environments while collaborating closely with humans. However, such interactions introduce several uncertain situations, including unpredictable human behavior, environmental changes, and task variability, raising significant reliability concerns. In this context, SBST presents promising opportunities for testing the robustness and reliability of robotic foundation models by employing FMs’ capabilities, such as FM-S2, FM-S3, and FM-S4. A potential direction is to use FMs, such as VLMs and VLAs, to assist SBST in generating and simulating unpredictable human behavior, such as sudden gestures or commands, to evaluate the robot’s ability to adapt and respond safely. Due to the black-box nature of robotic foundation models, diagnosing faults in these models is challenging. Therefore, another direction is to integrate FMs with SBST to detect and localize faults in robotic behaviors by analyzing multimodal data, such as correlating error logs with specific robot tasks or actions to identify inconsistencies. Furthermore, given the computational and time constraints associated with running extensive tests on robotic foundation models, a promising area of research lies in developing search-based test selection and prioritization techniques enhanced by multimodal FMs to focus on the most critical and impactful test cases.

The identified research opportunities provide a promising pathway toward improving the robustness, reliability, and safety of autonomous robotic systems operating in dynamic environments. Several of these opportunities can be explored using existing SBSE techniques together with current robotic foundation models, particularly for simulation-based testing, fault localization, and test prioritization. Broader deployment in real-world robotic systems, however, will require further advances in embodied foundation models, multimodal reasoning, sim-to-real transfer, and validation on diverse physical platforms. Given the rapid evolution of robotic foundation models, including VLMs and VLAs, and their growing adoption in safety-critical applications, these directions are expected to remain a key focus of robotics research in the coming years.

Internet of Things

Internet of Things (IoT) applications consist of heterogeneous devices, often geographically distributed, along with third-party services, all interconnected through cloud-based architectures. System-level testing of such applications with physical devices in the loop is often infeasible, making digital twins a preferred alternative for simulating these devices during testing. However, search-based testing of live IoT applications, especially after each upgrade during CI/CD practices, introduces several significant challenges. First, running a large number of test cases after every release during CI/CD can lead to service blocking from the servers of third-party devices and service providers, potentially disrupting critical services. Second, fault localization becomes particularly challenging due to the interconnected nature of IoT systems. It is difficult to determine whether a specific failure originates from the application under test, connected devices, or third-party services. Third, bug reproduction is also challenging, especially for failures that occur irregularly or depend on specific runtime conditions that are difficult to replicate in testing environments. Fourth, identifying regressions, where previously resolved bugs reappear, or new issues arise due to updates, is another major challenge, particularly in dynamic and evolving IoT ecosystems where changes in one component can have cascading effects across the system. To address these challenges, more research is needed to explore the potential of integrating FMs with SBST for IoT applications. FMs, with their advanced analytical capabilities and contextual understanding (FM-S1 and FM-S2), can enable testers to perform online system testing in a largely automated, systematized, and intelligent manner. For example, FMs can analyze complex interdependencies between IoT devices and third-party services to improve fault localization by identifying the root cause of failures with greater accuracy. In addition, FMs (using capability FM-S1) can enhance search-based test selection and prioritization during CI/CD by analyzing mixed-mode data from IoT devices, their digital twins, and interconnected third-party services. For bug reproduction and regression identification, developing FM-based interactive tools to assist testers in recreating failure scenarios and identifying root causes presents a promising avenue for research. Furthermore, given the maturity and extensive study of search-based techniques, integrating them with recent advancements in applying LLMs for testing purposes offers another exciting direction for future exploration.

The aforementioned research opportunities highlight how the integration of FMs and SBST can address fundamental challenges in testing complex IoT ecosystems, particularly those arising from device heterogeneity, dynamic interactions, and continuous evolution. In terms of feasibility, several opportunities can be explored by extending existing search-based testing frameworks with current LLMs and multimodal FMs, particularly together with digital twins and CI/CD pipelines, whereas broader deployment will require further advances in distributed reasoning, real-time analysis, and validation across heterogeneous IoT infrastructures. As IoT systems become increasingly interconnected and embedded in critical applications, these research directions are expected to contribute to more autonomous and effective testing approaches for future IoT ecosystems.

SBSE and FMs in Practice

There can be many different hypotheses to explain this phenomenon. Not only can this be related to the actual effectiveness of the techniques at solving the problem at hand (e.g., one technique is significantly better than the other), but it can also be related to usability concerns. There is a difference between downloading and installing an SBSE tool, and then reading its documentation to be able to use it, compared to just typing a basic prompt in an LLM chatbox to generate test cases. Furthermore, awareness and marketing play a major role in the adoption of any technology. The general population can learn of the existence of LLMs just by reading the news. But, harder to find out about Pynguin (for example) on your preferred news channel.

On the one hand, when combining FMs and SBSE, there is an opportunity for SBSE to improve and strengthen the already existing impact of FMs on practice. On the other hand, FMs might help SBSE techniques on some specific tasks in being applicable outside the confined limits of academic research. Possible examples are search-based automated requirements analysis and software design. So far, the use of SBSE to address these problems has remained confined to academic research, with apparently limited practical utility in software engineering practice. For highly abstract, conceptual challenges like software requirements analysis and design, automated search and optimization methods might prove ineffective. However, when combined with FM approaches, there might be opportunities for integrated synergies that could lead to designing more effective techniques than just using FMs alone. As with any complex research challenge, evaluating its feasibility and effectiveness will require future empirical studies that measure not only academic impact but also practical impact in terms of time saved, improved productivity, or adoption rates in real projects, making these approaches both more visible and more useful for practitioners.

In summary, the integration of SBSE and FMs has the potential to bridge the gap between automated software engineering research and industrial practice by combining the broad adoption of FMs with the optimization capabilities of SBSE. Such integration could lead to practical solutions that improve developer productivity, automate complex software engineering tasks, and extend the applicability of SBSE beyond specialized research environments. Achieving this impact, however, requires addressing practical feasibility challenges, including developing user-friendly tools, integrating these approaches into existing software development workflows, and demonstrating their effectiveness through industry-driven evaluations. As FMs continue to rapidly transform software engineering practice, establishing synergies between FMs and SBSE represents an important near-term opportunity to ensure that SBSE research remains relevant and enable the development of more effective and practical software engineering solutions.