WWWestley Weimer

Westley Weimer

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Westley Weimer has a total of 20 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Automatically Exploring Tradeoffs Between Software Output Fidelity and Energy Costs

    by Jonathan Dorn, Jeremy Lacomis, Westley Weimer, Stephanie Forrest

    Data centers account for a significant fraction of global energy consumption and represent a growing business cost. Most current approaches to reducing energy use in data centers treat it as a hardware, compiler, or scheduling problem. This article focuses instead on the software level, showing how to reduce the energy used by programs when they execute. By combining insights from search-based software engineering, mutational robustness, profile-guided optimization, and approximate computing, the Producing Green Applications Using Genetic Exploration (PowerGAUGE) algorithm finds variants of individual programs that use less energy than the original. We apply hardware, software, and statistical techniques to manage the complexity of accurately assigning physical energy measurements to particular processes. In addition, our approach allows, but does not require, relaxing output quality requirements to achieve greater non-functional improvements. PowerGAUGE optimizations are validated using physical performance measurements. Experimental results on PARSEC benchmarks and two larger programs show average energy reductions of 14% when requiring the preservation of original output quality and 41% when allowing for human-acceptable levels of error.


  • Open Access

    Specialising Software for Different Downstream Applications Using Genetic Improvement and Code Transplantation

    by Justyna Petke, Mark Harman, William B. Langdon, Westley Weimer

    Genetic improvement uses computational search to improve existing software while retaining its partial functionality. Genetic improvement has previously been concerned with improving a system with respect to all possible usage scenarios. In this paper, we show how genetic improvement can also be used to achieve specialisation to a specific set of usage scenarios. We use genetic improvement to evolve faster versions of a C++ program, a Boolean satisfiability solver called MiniSAT, specialising it for three applications. Our specialised solvers achieve between 4% and 36% execution time improvement, which is commensurate with efficiency gains achievable using human expert optimisation for the general solver. We also use genetic improvement to evolve faster versions of an image processing tool called ImageMagick, utilising code from GraphicsMagick, another image processing tool which was forked from it. We specialise the format conversion functionality to black & white images and colour images only. Our specialised versions achieve up to 3% execution time improvement.


  • Software mutational robustness

    by Eric Schulte, Zachary P. Fry, Ethan Fast, Westley Weimer, Stephanie Forrest


  • Open Access

    Software Mutational Robustness

    by Eric Schulte, Zachary P. Fry, Ethan Fast, Westley Weimer, Stephanie Forrest

    Neutral landscapes and mutational robustness are believed to be important enablers of evolvability in biology. We apply these concepts to software, defining mutational robustness to be the fraction of random mutations that leave a program's behavior unchanged. Test cases are used to measure program behavior and mutation operators are taken from genetic programming. Although software is often viewed as brittle, with small changes leading to catastrophic changes in behavior, our results show surprising robustness in the face of random software mutations. The paper describes empirical studies of the mutational robustness of 22 programs, including 14 production software projects, the Siemens benchmarks, and 4 specially constructed programs. We find that over 30% of random mutations are neutral with respect to their test suite. The results hold across all classes of programs, for mutations at both the source code and assembly instruction levels, across various programming languages, and are only weakly related to test suite coverage. We conclude that mutational robustness is an inherent property of software, and that neutral variants (i.e., those that pass the test suite) often fulfill the program's original purpose or specification. Based on these results, we conjecture that neutral mutations can be leveraged as a mechanism for generating software diversity. We demonstrate this idea by generating a population of neutral program variants and showing that the variants automatically repair unknown bugs with high probability. Neutral landscapes also provide a partial explanation for recent results that use evolutionary computation to automatically repair software bugs.

  • Top Cited Papers

    Current challenges in automatic software repair

    by Claire Le Goues, Stephanie Forrest, Westley Weimer


  • Helix: A Self-Regenerative Architecture for the Incorruptible Enterprise

    by John C. Knight, Jack W. Davidson, David Evans, Westley Weimer, Anh Nguyen-Tuong, Hao Chen, Karl N. Levitt, Jeff Rowe, Zhendong Su, Felix Wu

    The focus of the Helix project was to dramatically improve the status quo for architecting secure and resilient information systems by developing a coherent body of scientific and engineering knowledge to design and evaluate new algorithms and concepts for self-regenerative systems. The hallmarks of such systems is that they are automated and proactive; they can adapt and reconfigure themselves to present attackers with an ever-shifting attack surface; and they can self-heal when confronted with both known and unknown attacks.

  • Generic and Automated Runtime Program Repair

    by Westley Weimer, Stephanie Forrest

    This document is the final technical report for Award FA8750-11-2-0039, Generic and Automated Runtime Program Repair. The work carried out under this and other awards aimed to reduce costs associated with software maintenance by improving GenProg, a technique for the automated repair of program defects. This report discusses technical improvements to GenProg and its evaluation on over 100 defects in over 5 million lines of code involving over 10,000 test cases. In addition, this report details algorithms developed to automatically infer important program specifications: nonlinear invariants between program variables, invariants involving arrays, and invariants describing the use of programming interfaces. Finally, this report elaborates on techniques for scaling Gen- Prog to resource-constrained environments, such as embedded systems. Executable binaries and assembly-language programs for the x86 and ARM architectures are specifically targeted. Advances allow program repairs to be carried out using 15% of the memory and 5% of the disk space of pre-award work, and concrete examples of repairs using Nokia N900 smartphones are described. Overall the work partially supported by this award combines empirical and theoretical advances to significantly extend the reach of automated program repair.