# "Sampling"' as a Baseline Optimizer for Search-based Software Engineering

arXiv: https://arxiv.org/abs/1608.07617 · HTML: https://mlsanity.com/paper/1608.07617/

## Key facts

- Cited by 8 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 Aug 2016.

## Built on by (most cited first, 8 of 8)

- [Revealing Domain-Spatiality Patterns for Configuration Tuning: Domain Knowledge Meets Fitness Landscapes](https://mlsanity.com/paper/2603.19897/) (2026)
- [Learning from Very Little Data: On the Value of Landscape Analysis for Predicting Software Project Health](https://mlsanity.com/paper/2301.06577/) (2023)
- [Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Model](https://mlsanity.com/paper/2608.13867/) (2026)
- [Don't Lie to Me: Avoiding Malicious Explanations with STEALTH](https://mlsanity.com/paper/2301.10407/) (2023)
- [Evaluating Useful Surrogate Models for Configuration Tuning Beyond Accuracy: A Fitness Landscape Analysis Perspective](https://mlsanity.com/paper/2509.21945/) (2025)
- [When to Use Which? Benchmarking Optimisers for Configurable Systems under Varying Budgets](https://mlsanity.com/paper/2607.16476/) (2026)
- [Fairer Software Made Easier (using "Keys")](https://mlsanity.com/paper/2107.05088/) (2021)
- [A Tale of Two Cities: Data and Configuration Variances in Robust Deep Learning](https://mlsanity.com/paper/2211.10012/) (2022)

## Abstract (arXiv)

Increasingly, Software Engineering (SE) researchers use search-based optimization techniques to solve SE problems with multiple conflicting objectives. These techniques often apply CPU-intensive evolutionary algorithms to explore generations of mutations to a population of candidate solutions. An alternative approach, proposed in this paper, is to start with a very large population and sample down to just the better solutions. We call this method "SWAY", short for "the sampling way". Sway is very simple to implement and, in studies with various software engineering models, this sampling approach was found to be competitive with corresponding state-of-the-art evolutionary algorithms while requiring far less computation cost. Considering the simplicity and effectiveness of Sway, we, therefore, propose this approach as a baseline method for search-based software engineering models, especially for models that are very slow to execute.
