On Spectral Invariance of Randomized Hessian and Covariance Matrix

Total Page:16

File Type:pdf, Size:1020Kb

On Spectral Invariance of Randomized Hessian and Covariance Matrix 12th International Conference on Parallel Problem Solving From Nature - PPSN XII Sebastian U. Stich On spectral invariance of Randomized Hessian [email protected] and Covariance Matrix Adaptation schemes Christian L. Müller [email protected] Motivation Contribution Conclusion 1 T monotonic dependence Let f(x) = 2x Hx quadratic to minimize. The simple We consider Covariance Matrix Adaptation schemes We observe a of the performance random search scheme in [1] draws search directions u (CMA-ES [3], Gaussian Adaptation (GaA) [4]) and Ran- of the studied variable metric schemes on the shape of from fixed distribution N (0,C) and generates improving domized Hessian (RH) schemes from Leventhal and the eigenvalue spectra. x = x+arg min f(x+tu)·u Lewis [5]. iterates by a line search: + t . The sigmoidal-shaped spectra of fSigm presents the hard- The progress depends on the spectra of H and can be We provide a new, numerically stable implementation for est learning problem for all tested variable metric schemes. estimated [2] as: RH and, in addition, combine the update with an adap- Randomized Hessian schemes are less dependent on the tive step size strategy. λ (HC)! spectra. f(x ) 1 − min f(x) + / Tr[HC] We design a class of quadratic functions with parametriz- The use of an evolution path is crucial for CMA schemes able spectra to study the influence of the spectra on the to get superior performance. eigenvalue spectra performance of variable metric schemes. Study the influence of the of Randomized Hessian update with adaptive step size has H variable the Hessian on the performance of We empirically study 5 variable metric schemes on this shown to be an effective variable metric scheme. metric schemes. function class and on Rosenbrock’s function. Algorithms Test functions Randomized Hessian Update [2, 5] 1 T • Quadratic functions f(x) = 2x Hx • curvature estimate in a random direction u ∼ Sn−1 • standard Rosenbrock function as non-convex test case • rank-1 update of Hessian estimate H Convergence dependent on spectra Simple design principles for the Hessian H: • 2-4 additional function evaluations • H ∈ Rn × Rn positive definite (pd) ∆ ← f(x+u)−2f(x)+f(x−u) − uT Hu 1 u 2 • T CMA-ES and GaA show strongest dependence on spectra • fixed condition number κ(H) = L 2 if J := H + ∆u · uu pd then T • RH schemes are less dependent on spectra n(L+1) 3 H+ ← H + ∆u · uu • fixed trace Tr[H] = 2 else • spectra λ(H) easy to parametrize 4 v ← smallestEigenVector(J) f(x+v)−2f(x)+f(x−v) T 5 ∆v ← 2 − v Jv T T Generic extension to known test functions (tablet, cigar). 6 H+ ← H + ∆v · vv + ∆u · uu 1e6 fSigm(15) many eigenvalues close to 1 or to L RH RP fLin linearly spaced eigenvalues RH (1+1) f most eigenvalues concentrated at the mean L/2 RH with line search (RH RP) 1e5 GaA Flat(6) CMA-ES fNes the same spectra as Nesterov’s worst case • alternate between Hessian estimate and search CMA-ESnp function for first order methods • search direction u ∼ N (0,H−1) fRosen smoothly changing Hessian • line search to guarantee sufficient decrease #FES for accuracy 1e-9 1e4 ∗ x := x + arg min f(x + tu) · u sigmoid - linear - flat L t∈R shape of the spectra ∗ ∗ x+ ∈ [(1 − µ)x + µx , x ] Figure: Relation between method performance and spectral distribution in n = 50 for L = 1e6. We recorded #FES needed to reach accuracy 1e-9 on all parametrized functions fSigm, fFlat and fLin; L/2 RH with adaptive step size control the median of 51 runs is indicated by a marker. Sigmoid Linear Nesterov • alternate between Hessian estimate and search Flat −1 • u ∼ N (0,H ) 1 search direction 1 n/2 n • adaptive step size control (RH (1+1)) eigenvalue index Figure: Shape of the spectra of the quadratic benchmark functions. success: x+ = x + σu σ+ = σ · 1.40 failure: x+ = x σ+ = σ · 0.88 Scaling in dimension Trajectories Gaussian Adaptation [4] quadratically n • covariance estimation based on maximum entropy • learning phase scales in the dimension • convergence in three phases: (i) tune-in, (ii) learning, principle, rank-1 update along search direction • RH schemes quadratic throughout testbed (iii) fast convergence • search direction u ∼ N (0,C) • GaA and CMA-ESnp on fSigm(15) sub-quadratic • convergence rate at the level of the target accuracy is • adaptive step size control • CMA-ES on fFlat(6) super-linear best for CMA-ES and RH (1+1) CMA-Evolution Strategy [3] RH (1+1) GaA 1e4 1e4 RH RP 1e5 1e5 1 1 1e-4 1e-4 • (1,4)-CMA-ES with mirrored sampling and function value function value 1e-8 1e-8 1e3 1e3 0 10 20 30 40 50 60 70 0 10 20 30 40 50 60 70 sequential selection, default parameter setting 2 2 #FES for accuracy 1e-9 #FES for accuracy 1e-9 #FES / n #FES / n 5 10 20 30 40 50 60 5 10 20 30 40 50 60 dimension dimension • rank-1 update based on covariance estimation and (a) fNes, n = 50, L = 10000 (b) fSigm(15), n = 50, L = 10000 fNes, L = 10000 fSigm(15), L = 10000 (a) (b) evolution path 1e4 RH RP RH (1+1) 1e4 1 CMA-ES CMA-ESnp (1+1)-ES • search direction u ∼ N (0,C) 1e5 1 RP 1e5 1e-4 1e-4 GaA function value function value CMA-ES 1e-8 1e-8 CMA-ESnp 0 10 20 30 40 50 60 0 50 100 150 200 1e3 1e3 #FES / n2 #FES / n2 #FES for accuracy 1e-9 #FES for accuracy 1e-9 5 10 20 30 40 50 60 5 10 20 30 40 50 60 CMA-ES without Evolution Path dimension dimension (c) fFlat(6), n = 50, L = 10000 (d) fRosen, n = 50 (c) fFlat(6), L = 10000 (d) fRosen • (1,4)-CMA-ES with mirrored sampling and Figure: Evolution of function value vs. #FES for different functions. Figure: #FES to reach the target accuracy vs. dimension n in log-log sequential selection, no evolution path (CMA-ESnp) We recorded #FES needed to reach accuracy 1e-9. The median scale. The median of 11 runs is depicted by a marker for all converged trajectory of 11 runs is depicted; mean and one standard deviation are • rank-1 update based on covariance estimation runs within the considered #FES budget. Thin lines indicate quadratic indicated by markers. scaling (top) or linear scaling (bottom) . Selected References Acknowledgments [1] Stich, S.U., Müller, C.L., Gärtner, B.: [3] Brockhoff, D., Auger, A., Hansen, N., Arnold, D., Hohm, T.: We thank Dr. Bernd Gärtner and Dr. Ivo F. Sbalzarini for useful discussions. Optimization of convex functions with Random Pursuit. Mirrored Sampling and Sequential Selection for Evolution Strategies. Supported by the project CG Learning (FET-Open grant number: 255827). http://arxiv.org/abs/1111.0194 (2011) In: PPSN XI. Volume 6238 of LNCS. Springer (2010) 11–21 [2] Stich, S.U., Gärtner, B., Müller, C.L.: [4] Müller, C.L., Sbalzarini, I.F.: Gaussian Adaptation as a unifying framework [5] Leventhal, D., Lewis, A.S.: Variable Metric Random Pursuit. for continuous black-box optimization and adaptive Monte Carlo sampling. Randomized Hessian estimation and directional search. in preparation for Math. Prog. (2012) In: Evolutionary Computation (2010) 1–8 Optimization 60(3) (2011) 329–345.
Recommended publications
  • Genetic Algorithm
    A More “Realistic” Genetic Algorithm -----CGA A thesis submitted to the Cardiff University For the degree of Master of Philosophy in Engineering By Hui Chen February 2013 1 Acknowledgements I am heartily thankful to my supervisors Professor John Miles and Dr Alan Kwan for giving me the opportunity to carry out this study and encouraging me a lot during these years. Then, I offer my regards and blessings to all of those who helped and supported me in any respect during the completion of the project; Dr Haijiang Li, my parents Jianying Yang and Xueping Chen and all my friends. Last but not least, I also wish to thank Dr Michael Packianather, Dr Shuqi Pan and all the staffs in the research office for their patience and support. Hui Chen 2013 2 Abstract Genetic Algorithms (GAs) are loosely based on the concept of the natural cycle of reproduction with selective pressures favouring the individuals which are best suited to their environment (i.e. fitness function). However, there are many features of natural reproduction which are not replicated in GAs, such as population members taking some time to reach puberty. This thesis describes a programme of research which set out to investigate what would be the impact on the performance of a GA of introducing additional features which more closely replicate real life processes. The motivation for the work was curiosity. The approach has been tested using various standard test functions. The results are interesting and show that when compared with a Canonical GA, introducing various features such as the need to reach puberty before reproduction can occur and risk of illness can enhance the effectiveness of GAs in terms of the overall effort needed to find a solution.
    [Show full text]
  • Randomized Derivative-Free Optimization Institute of Theoretical Computer Science Swiss Institute of Bioinformatics
    Sebastian U. Stich MADALGO & CTIC Summer School 2011 [email protected] Randomized Derivative-Free Optimization Institute of Theoretical Computer Science Swiss Institute of Bioinformatics Standard Approaches Evolution Strategies Explained The Right Metric Other Methods Pure Random Search [1a] • (1 + 1)-ES described already in 1968 [2a] Step-size adaptation of ES [2c] f H • sample points uniformly in space For quadratic: Hit and Run [7a] • basis of more complex methods like CMA-ES 1 • exponential running time y∗ ∗ ∗ ∗ • draw a random direction and on the segment • convergence of (1+1)-ES linear on quadratic functions [2b] f(x) = f(x ) + (x − x )H(x − x ) K • Pure adaptive random search (PAS) [1b]: 2 contained in the convex body uniformly the 2 ∗ next iterate sample sequence of points, all new points y • theoretical convergence results only known for very simple H = ∇ f(x ) z uniformly among those with better function functions • originally proposed as sampling method to y value → not possible to do ∗ generate uniform samples from convex x∗ Generic (µ + λ)-Evolution Strategy (ES) gradient direction −∇f(x) body [7b] P • PAS analogous to randomized version of method of centers −1 1: for k = 0 to N do Newton direction −H ∇f(x) • fast mixing times (in special settings, e.g. log-convave functions) proven by Lovász [7c] and Dyer [7d] 2: Xk ←(λ new points, based on Mk−1) DIRECT [1c] • introduced as optimization algorithm by Bertsimas [7a] 3: EvaluateFunction (Xk) • iteratively evaluate function at grid • if H ≈ In first order information is sufficient
    [Show full text]
  • Gaussian Adaptation Revisited – an Entropic View on Covariance Matrix Adaptation
    Zurich Open Repository and Archive University of Zurich Main Library Strickhofstrasse 39 CH-8057 Zurich www.zora.uzh.ch Year: 2010 Gaussian Adaptation Revisited – An Entropic View on Covariance Matrix Adaptation Müller, Christian L ; Sbalzarini, Ivo F Abstract: We revisit Gaussian Adaptation (GaA), a black-box optimizer for discrete and continuous prob- lems that has been developed in the late 1960’s. This largely neglected search heuristic shares several interesting features with the well-known Covariance Matrix Adaptation Evolution Strategy (CMA-ES) and with Simulated Annealing (SA). GaA samples single candidate solutions from a multivariate normal distribution and continuously adapts its first and second moments (mean and covariance) such asto maximize the entropy of the search distribution. Sample-point selection is controlled by a monotonically decreasing acceptance threshold, reminiscent of the cooling schedule in SA. We describe the theoret- ical foundations of GaA and analyze some key features of this algorithm. We empirically show that GaA converges log-linearly on the sphere function and analyze its behavior on selected non-convex test functions. DOI: https://doi.org/10.1007/978-3-642-12239-2_45 Posted at the Zurich Open Repository and Archive, University of Zurich ZORA URL: https://doi.org/10.5167/uzh-79216 Journal Article Originally published at: Müller, Christian L; Sbalzarini, Ivo F (2010). Gaussian Adaptation Revisited – An Entropic View on Covariance Matrix Adaptation. Lecture Notes in Computer Science, 6024:432-441. DOI: https://doi.org/10.1007/978-3-642-12239-2_45 Gaussian Adaptation revisited – an entropic view on Covariance Matrix Adaptation Christian L. M¨uller and Ivo F.
    [Show full text]
  • Recent Advances in Differential Evolution – an Updated Survey
    Swarm and Evolutionary Computation 27 (2016) 1–30 Contents lists available at ScienceDirect Swarm and Evolutionary Computation journal homepage: www.elsevier.com/locate/swevo Survey Paper Recent advances in differential evolution – An updated survey Swagatam Das a,n, Sankha Subhra Mullick a, P.N. Suganthan b,n a Electronics and Communication Sciences Unit, Indian Statistical Institute, Kolkata 700108, India b School of Electrical and Electronics Engineering, Nanyang Technological University, Singapore article info abstract Article history: Differential Evolution (DE) is arguably one of the most powerful and versatile evolutionary optimizers for Received 10 October 2015 the continuous parameter spaces in recent times. Almost 5 years have passed since the first compre- Received in revised form hensive survey article was published on DE by Das and Suganthan in 2011. Several developments have 13 January 2016 been reported on various aspects of the algorithm in these 5 years and the research on and with DE have Accepted 15 January 2016 now reached an impressive state. Considering the huge progress of research with DE and its applications Available online 1 February 2016 in diverse domains of science and technology, we find that it is a high time to provide a critical review of Keywords: the latest literatures published and also to point out some important future avenues of research. The Differential evolution purpose of this paper is to summarize and organize the information on these current developments on Continuous evolutionary optimization DE. Beginning with a comprehensive foundation of the basic DE family of algorithms, we proceed Numerical optimization through the recent proposals on parameter adaptation of DE, DE-based single-objective global optimi- Parameter adaptation Recombination zers, DE adopted for various optimization scenarios including constrained, large-scale, multi-objective, multi-modal and dynamic optimization, hybridization of DE with other optimizers, and also the multi- faceted literature on applications of DE.
    [Show full text]
  • Outline of Machine Learning
    Outline of machine learning The following outline is provided as an overview of and topical guide to machine learning: Machine learning – subfield of computer science[1] (more particularly soft computing) that evolved from the study of pattern recognition and computational learning theory in artificial intelligence.[1] In 1959, Arthur Samuel defined machine learning as a "Field of study that gives computers the ability to learn without being explicitly programmed".[2] Machine learning explores the study and construction of algorithms that can learn from and make predictions on data.[3] Such algorithms operate by building a model from an example training set of input observations in order to make data-driven predictions or decisions expressed as outputs, rather than following strictly static program instructions. Contents What type of thing is machine learning? Branches of machine learning Subfields of machine learning Cross-disciplinary fields involving machine learning Applications of machine learning Machine learning hardware Machine learning tools Machine learning frameworks Machine learning libraries Machine learning algorithms Machine learning methods Dimensionality reduction Ensemble learning Meta learning Reinforcement learning Supervised learning Unsupervised learning Semi-supervised learning Deep learning Other machine learning methods and problems Machine learning research History of machine learning Machine learning projects Machine learning organizations Machine learning conferences and workshops Machine learning publications
    [Show full text]
  • Parallel Inverse Modeling and Uncertainty Quantification for Computationally Demanding Groundwater-Flow Models Using Covariance Matrix Adaptation
    Parallel Inverse Modeling and Uncertainty Quantification for Computationally Demanding Groundwater-Flow Models Using Covariance Matrix Adaptation Ahmed S. Elshall1; Hai V. Pham2; Frank T.-C. Tsai, M.ASCE3; Le Yan4; and Ming Ye, A.M.ASCE5 Abstract: This study investigates the performance of the covariance matrix adaptation-evolution strategy (CMA-ES), a stochastic optimi- zation method, in solving groundwater inverse problems. The objectives of the study are to evaluate the computational efficiency of the parallel CMA-ES and to investigate the use of the empirically estimated covariance matrix in quantifying model prediction uncertainty due to parameter estimation uncertainty. First, the parallel scaling with increasing number of processors up to a certain limit is discussed for synthetic and real-world groundwater inverse problems. Second, through the use of the empirically estimated covariance matrix of param- eters from the CMA-ES, the study adopts the Monte Carlo simulation technique to quantify model prediction uncertainty. The study shows that the parallel CMA-ES is an efficient and powerful method for solving the groundwater inverse problem for computationally demanding groundwater flow models and for deriving covariances of estimated parameters for uncertainty analysis. DOI: 10.1061/(ASCE)HE.1943- 5584.0001126. © 2014 American Society of Civil Engineers. Author keywords: Groundwater; Inverse modeling; Stochastic optimization; Covariance matrix; Evolution strategy; Uncertainty quantification; Parallel computing. Introduction Karpouzos et al. 2001; Solomatine et al. 1999; Bastani et al. 2010) and particle swarm optimization (Scheerlinck et al. 2009; Jiang The use of optimization algorithms for solving the inverse problem et al. 2010; Krauße and Cullmann 2012) to avoid entrapment at in subsurface hydrology is a common practice.
    [Show full text]
  • Data Reduction of Digital Twin Simulation Experiments Using Different Optimisation Methods
    applied sciences Article Data Reduction of Digital Twin Simulation Experiments Using Different Optimisation Methods Pavel Raska * , Zdenek Ulrych and Miroslav Malaga Department of Industrial Engineering and Management, Faculty of Mechanical Engineering, University of West Bohemia, 301 00 Pilsen, Czech Republic; [email protected] (Z.U.); [email protected] (M.M.) * Correspondence: [email protected] Abstract: The paper presents possible approaches for reducing the volume of data generated by simulation optimisation performed with a digital twin created in accordance with the Industry 4.0 concept. The methodology is validated using an application developed for controlling the execution of parallel simulation experiments (using client–server architecture) with the digital twin. The paper describes various pseudo-gradient, stochastic, and metaheuristic methods used for finding the global optimum without performing a complete pruning of the search space. The remote simulation optimisers reduce the volume of generated data by hashing the data. The data are sent to a remote database of simulation experiments for the digital twin for use by other simulation optimisers. Keywords: digital twin; metaheuristics; Industry 4.0 Citation: Raska, P.; Ulrych, Z.; Malaga, M. Data Reduction of Digital Twin Simulation Experiments Using 1. Introduction Different Optimisation Methods. The increasing use of digital twins (DTs) is one of the most important trends in the Appl. Sci. 2021, 11, 7315. https:// Industry 4.0 concept and industrial engineering [1], and some authors directly refer to the doi.org/10.3390/app11167315 Industry 4.0 era as the era of DT [2]. The concept of Industry 4.0 extends the possibilities and use of DTs for, e.g., decision support and production planning [3], solving unexpected Academic Editors: Nicola Castellano, situations/problems or predicting such situations [4], as well as training and knowledge Henning Baars, Bruno Maria transfer of leadership, management, and executives [5,6].
    [Show full text]
  • Evolutionary Search Algorithm Based on Hypercube Optimization for High-Dimensional Functions
    International Journal of Computational and Experimental Science and ENgineering (IJCESEN) Vol. 6-No.1 (2020) pp. 42-62 http://dergipark.org.tr/en/pub/ijcesen Copyright © IJCESEN ISSN: 2149-9144 Research Article Evolutionary Search Algorithm Based on Hypercube Optimization For High-Dimensional Functions Mustafa TUNAY* Istanbul Gelisim University, Faculty of Engineering and Architecture, Computer Engineering, Istanbul-Turkey * Corresponding Author : [email protected] ORCID: 0000-0001-8843-621X Article Info: Abstract: This study paper is devoted to the design of a novel evolutionary search algorithm DOI: 10.22399/ijcesen.684653 to solve optimization of multivariate systems. Nowadays for many real world Received : 4 February 2020 optimization problems the designing of evolutionary search algorithm with high Accepted : 16 March 2020 optimization accuracy is a crucial optimization of multivariate systems. The proposed optimization search algorithm is a new intense stochastic search method Keywords that is based on a hypercube evolution driven. This algorithm is inspired from the behaviour of a pigeon that discovers new location of areas for seeds in natural Evolutionary algorithms world. The hypercube is used a statement that shows the area of life for the Optimization algorithms behaviour of a pigeon in real life. Benchmark function The performance of the proposed algorithm is tested on optimization functions as Timetabling problem some Benchmark function and test suite functions including; four unimodal functions and composition functions. The performance of the proposed algorithm are shown much better experimental results in EAs and is encouraging in terms of solution accuracy for global optimization. In addition, the proposed algorithm approach is applied to solve a timetabling problem as two exams in adjoining periods, conflict of exams, two or more exams in one day etc.
    [Show full text]
  • Implementation Aspects Regarding Closed-Loop Control Systems Using Evolutionary Algorithms
    inventions Article Implementation Aspects Regarding Closed-Loop Control Systems Using Evolutionary Algorithms Viorel Minzu 1,* , Saïd Riahi 1,2 and Eugen Rusu 3 1 Control and Electrical Engineering Department, “Dunarea de Jos” University, 800008 Galati, Romania; [email protected] 2 UR-LAPER, Faculty of Sciences of Tunis, University of Tunis El Manar, Tunis 1068, Tunisia 3 Mechanical Engineering Department, “Dunarea de Jos” University, 800008 Galati, Romania; [email protected] * Correspondence: [email protected] Abstract: When an optimal control problem requires an important computational effort, a metaheuris- tic algorithm (MA) can be a useful approach. An MA is conceived to solve a specific optimal control problem having a characteristic objective function. This algorithm solely yields only an optimal offline solution. The desideratum to have a closed-loop implementation can be fulfilled through a supplementary “tool”, the Receding Horizon Control (RHC) structure. This paper addresses a particular case and integrates Evolutionary Algorithms into the RHC structure. The main objective is to propose a general harmonization between the Controller of the closed loop and the Evolutionary Algorithm. Some details concerning the implementation of the closed loop and Controller are de- scribed. The impact of the RHC’s prediction technique upon the control sequences’ encoding is also analyzed. Two general structure Controllers are proposed, one of them conceived to cope with re- strictive time constraints. Practical ideas have been illustrated through a case study: the well-known optimal control of a fed-batch reactor for ethanol production. This time, our implementation achieves Citation: Minzu, V.; Riahi, S.; Rusu, a closed-loop solution. The results from the programs and simulation series validate the Controllers, E.
    [Show full text]
  • On Proving Linear Convergence of Comparison-Based Step-Size Adaptive Randomized Search on Scaling-Invariant Functions Via Stabil
    On Proving Linear Convergence of Comparison-based Step-size Adaptive Randomized Search on Scaling-Invariant Functions via Stability of Markov Chains Anne Auger, Nikolaus Hansen To cite this version: Anne Auger, Nikolaus Hansen. On Proving Linear Convergence of Comparison-based Step-size Adap- tive Randomized Search on Scaling-Invariant Functions via Stability of Markov Chains. 2013. hal- 00877160v3 HAL Id: hal-00877160 https://hal.inria.fr/hal-00877160v3 Preprint submitted on 1 Nov 2013 (v3), last revised 2 Jun 2016 (v7) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. ON PROVING LINEAR CONVERGENCE OF COMPARISON-BASED STEP-SIZE ADAPTIVE RANDOMIZED SEARCH ON SCALING-INVARIANT FUNCTIONS VIA STABILITY OF MARKOV CHAINS ANNE AUGER AND NIKOLAUS HANSEN Abstract. In the context of numerical optimization, this paper develops a methodology to ana- lyze the linear convergence of comparison-based step-size adaptive randomized search (CB-SARS), a class of probabilistic derivative-free optimization algorithms where the function is solely used through comparisons of candidate solutions. Various algorithms are included in the class of CB-SARS algo- rithms. On the one hand, a few methods introduced already in the 60’s: the step-size adaptive random search by Schumer and Steiglitz, the compound random search by Devroye and simplified versions of Matyas’ random optimization algorithm or Kjellstrom and Taxen Gaussian adaptation.
    [Show full text]
  • Using Mutation Analysis to Evolve Subdomains for Random Testing
    Using Mutation Analysis to Evolve Subdomains for Random Testing Matthew Patrick∗, Rob Alexander∗, Manuel Oriol∗y and John A. Clark∗ ∗University of York yIndustrial Software Systems Heslington, York ABB Corporate Research United Kingdom Baden-Dattwil,¨ Switzerland fmtp, rda, manuel, [email protected] [email protected] Abstract—Random testing is inexpensive, but it can also The rest of this paper is organised as follows. Section be inefficient. We apply mutation analysis to evolve efficient II explores our background motivation, Section III explains subdomains for the input parameters of eight benchmark pro- the general principles, Section IV describes our experiments grams that are frequently used in testing research. The evolved subdomains can be used for program analysis and regression and Section V presents their results. Section VI discusses testing. Test suites generated from the optimised subdomains the related work, Section VII summarises our conclusions outperform those generated from random subdomains with 10, and Section VII introduces suggestions for future work. 100 and 1000 test cases for uniform, Gaussian and exponential sampling. Our subdomains kill a large proportion of mutants II. BACKGROUND for most of the programs we tested with just 10 test cases. A. Metaheuristic Optimisation Keywords-mutation testing; input distribution; test case gen- Optimisation techniques use fitness functions to guide eration; search based; evolution strategy; their search [6]. If the fitness landscape is smooth, deter- ministic algorithms (e.g. the simplex method [7]) can find I. INTRODUCTION exact solutions. Heuristics (e.g. greedy approximation [8]) Random testing is a simple and inexpensive way to may be used to find approximate solutions.
    [Show full text]
  • Characterization and Uncertainty Analysis of Siliciclastic Aquifer-Fault
    Louisiana State University LSU Digital Commons LSU Doctoral Dissertations Graduate School 2013 Characterization and uncertainty analysis of siliciclastic aquifer-fault system Ahmed Saad Elshall Louisiana State University and Agricultural and Mechanical College, [email protected] Follow this and additional works at: https://digitalcommons.lsu.edu/gradschool_dissertations Part of the Civil and Environmental Engineering Commons Recommended Citation Elshall, Ahmed Saad, "Characterization and uncertainty analysis of siliciclastic aquifer-fault system" (2013). LSU Doctoral Dissertations. 3008. https://digitalcommons.lsu.edu/gradschool_dissertations/3008 This Dissertation is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion in LSU Doctoral Dissertations by an authorized graduate school editor of LSU Digital Commons. For more information, please [email protected]. CHARACTERIZATION AND UNCERTAINTY ANALYSIS OF SILICICLASTIC AQUIFER-FAULT SYSTEM A Dissertation Submitted to the Graduate Faculty of the Louisiana State University and Agricultural and Mechanical College in partial fulfillment of the requirements for the degree of Doctor of Philosophy in The Department of Civil and Environmental Engineering by Ahmed Saad Elshall B.S. The American University in Cairo, 2003 M.S. University of Tübingen, 2009 December 2013 Acknowledgements Dr. Frank Tsai provided the generalized parameterization method (see Section 3.1) and the hierarchical BMA Bayesian model averaging method (see Section 3.3). In addition, Dr. Frank Tsai carried out all the geophysical data interpretation (see Section 4.1.1) and prepared the GIS maps (see Figure 1, Figure 3 and Figure 33). The PhD students at the Civil and Environment Engineering Department Mr. Nima Chitsazan, Mr.
    [Show full text]