Automatic Test-Data Generation: An Immunological Approach Kostas Liaskos Marc Roper {Konstantinos.Liaskos, TAIC PART 2007.

Slides:



Advertisements
Similar presentations
Negative Selection Algorithms at GECCO /22/2005.
Advertisements

V-Detector: A Negative Selection Algorithm Zhou Ji, advised by Prof. Dasgupta Computer Science Research Day The University of Memphis March 25, 2005.
Artificial Immune Systems. CBA - Artificial Immune Systems Artificial Immune Systems: A Definition AIS are adaptive systems inspired by theoretical immunology.
CS6800 Advanced Theory of Computation
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
Prachi Saraph, Mark Last, and Abraham Kandel. Introduction Black-Box Testing Apply an Input Observe the corresponding output Compare Observed output with.
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
1 APPENDIX A: TSP SOLVER USING GENETIC ALGORITHM.
1 BY: Nazanin Asadi Zohre Molaei Isfahan University of Technology.
Adaptive Immunity 1.Vertebrates only 2.Specificity - recognition modules - BCR, Ab and TCR - gene rearrangement is the source of diversity - clonal selection.
Artificial Immune Systems Andrew Watkins. Why the Immune System? Recognition –Anomaly detection –Noise tolerance Robustness Feature extraction Diversity.
1 Segmentation with Global Optimal Contour Xizhou Feng 4/25/2003.
Software Testing and Quality Assurance
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
1 Software Testing and Quality Assurance Lecture 30 - Introduction to Software Testing.
Learning from Experience: Case Injected Genetic Algorithm Design of Combinational Logic Circuits Sushil J. Louis Genetic Algorithm Systems Lab(gaslab)
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
LPT for Data Aggregation in Wireless Sensor networks Marc Lee and Vincent W.S Wong Department of Electrical and Computer Engineering, University of British.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
16 November, 2005 Statistics in HEP, Manchester 1.
AUTOMATIC CONCOLIC TEST GENERATION WITH VIRTUAL PROTOTYPES FOR POST-SILICON VALIDATION Reviewer: Shin-Yann Ho Instructor: Jie-Hong Jiang.
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
By : Anas Assiri.  Introduction  fraud detection  Immune system  Artificial immune system (AIS)  AISFD  Clonal selection.
Genetic Programming.
Genetic Algorithms: A Tutorial
Development in hardware – Why? Option: array of custom processing nodes Step 1: analyze the application and extract the component tasks Step 2: design.
A Genetic Algorithms Approach to Feature Subset Selection Problem by Hasan Doğu TAŞKIRAN CS 550 – Machine Learning Workshop Department of Computer Engineering.
Cristian Urs and Ben Riveira. Introduction The article we chose focuses on improving the performance of Genetic Algorithms by: Use of predictive models.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
GATree: Genetically Evolved Decision Trees 전자전기컴퓨터공학과 데이터베이스 연구실 G 김태종.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Molecular Computing and Evolution In Vitro Evolution In Vitro Clustering Genetic Algorithms Artificial Immune Systems Biological Evolution and Molecular.
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
FINAL EXAM SCHEDULER (FES) Department of Computer Engineering Faculty of Engineering & Architecture Yeditepe University By Ersan ERSOY (Engineering Project)
1 Chapter 14 Genetic Algorithms. 2 Chapter 14 Contents (1) l Representation l The Algorithm l Fitness l Crossover l Mutation l Termination Criteria l.
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
Hyper-heuristics. 2 Outline Hyper-heuristics Hyper-heuristics for strip packing Hyper-heuristics for Stock forecasting Conclusion.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Edge Assembly Crossover
Toward Quantitative Simulation of Germinal Center Dynamics Toward Quantitative Simulation of Germinal Center Dynamics Biological and Modeling Insights.
Lecture 2: Antibody Diversity
A Genetic Algorithm-Based Approach to Content-Based Image Retrieval Bo-Yen Wang( 王博彥 )
Authors: Soamsiri Chantaraskul, Klaus Moessner Source: IET Commun., Vol.4, No.5, 2010, pp Presenter: Ya-Ping Hu Date: 2011/12/23 Implementation.
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
A Genetic Algorithm for Designing Materials: Gene A. Tagliarini Edward W. Page M. Rene Surgi.
1 Chapter 3 GAs: Why Do They Work?. 2 Schema Theorem SGA’s features: binary encoding proportional selection one-point crossover strong mutation Schema.
Organic Evolution and Problem Solving Je-Gun Joung.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Lecture 7 Immunology Cells of adaptive immunity
Presentation By SANJOG BHATTA Student ID : July 1’ 2009.
Surface Defect Inspection: an Artificial Immune Approach Dr. Hong Zheng and Dr. Saeid Nahavandi School of Engineering and Technology.
Global topology optimization of truss structures Dmitrij Šešok Rimantas Belevičius Department of Engineering Mechanics. Vilnius Gediminas Technical University.
Mustafa Gokce Baydogan, George Runger and Eugene Tuv INFORMS Annual Meeting 2011, Charlotte A Bag-of-Features Framework for Time Series Classification.
SOFTWARE TESTING AND QUALITY ASSURANCE. Software Testing.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Comparing Genetic Algorithm and Guided Local Search Methods
Aiman H. El-Maleh Sadiq M. Sait Syed Z. Shazli
Artificial Intelligence CIS 342
Immunocomputing and Artificial Immune Systems
Presentation transcript:

Automatic Test-Data Generation: An Immunological Approach Kostas Liaskos Marc Roper {Konstantinos.Liaskos, TAIC PART 2007

CIS, Software Systems Group2 Problem  Automated data-flow coverage of OO programs  Particularly challenging – Need to generate program as well as test data  Example of test case format CUT cut = new CUT(3); A a = new A(); a.meth2(4, 6); cut.meth(a, 9);

CIS, Software Systems Group3 Initial study  6 classes from the standard Java library were tested  Good levels of data-flow coverage, but always lower than branch/statement  2 categories of problematic test targets were identified Equivalent: d-u pairs that correspond to the same code structure Subsequent: the satisfaction of a test target is strongly related with another

CIS, Software Systems Group4 Proposed solution  Utilization of an Artificial Immune System (AIS) algorithm: learning and adaptation implemented by affinity maturation  combination of global & local search  may be beneficial to tackle subsequent test targets immunological memory using memory cells  good solutions are stored for future use  may be beneficial to tackle both types of problematic test targets

CIS, Software Systems Group5 Clonal selection algorithm  Key features: Mutation rate inversely proportionate to affinity Cloning rate proportionate to affinity Memory cells  AIS Algorithm vs. GA Similarities: Population-based algorithms Selection mechanism Mutation Differences: No crossover is used

CIS, Software Systems Group6 Human immune system low affinity no selection high affinity selected activation selection proliferation differentiation cell death

CIS, Software Systems Group7 Main challenge Built a generic framework  How do we mathematically represent immune cells and molecules?  How do we quantify their interactions or recognition?  How do we form the procedures of the variety of the observed functions in the human immune system?

CIS, Software Systems Group8 Proposed framework Representation:  B-cells & T-cells represented as the encoded test-cases  Receptors of the immune cells represented as encoded executed paths  Antigens represented as test targets Affinity computation:  Binary distance between a receptor and an antigen

CIS, Software Systems Group9 Preliminary experiment  Test object: triangle classification program  Aim: validate our framework & experiment with the parameters:  N (size of the Ab repertoire) = 20  m (size of the memory set) = 18  r (remaining Ab repertoire) = 2  d (set of d lowest affinity Ab’s that will be replaced by new individuals) = 1  Ngen (maximum number of generation) = 100  n (number of highest affinity individuals to be chosen) = 10  β (multiplying factor for the total number of clones) = 1  Full path coverage for these parameter values  The algorithm failed to cover the “equilateral” test- target in all cases with different settings

CIS, Software Systems Group10 Conclusions & Future Work  Our paper introduces a framework for the application of AIS algorithms to the problem of automatic test-data generation  A prototype has been implemented  The next step is to run an extended experiment using 6 Java classes  Compare the results with GAs  Our ultimate goal is to propose a hybrid AIS&GA algorithm