SlideShare a Scribd company logo
26 May 2013, RAISE Workshop
TAOism
Shin Yoo/Centre for Research on Evolution Search and Testing, UCL, UK
MyWorld
MyWorld
Software
Engineering
MyWorld
Meta-heuristic
Optimisation
Software
Engineering
MyWorld
SBSE
Meta-heuristic
Optimisation
Software
Engineering
MyWorld
SBSE
Meta-heuristic
Optimisation
Software
Engineering
SBSE = Representation + Objective Function + Optimisation
Test Data Generation Software Modularisation
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Software Modularisation
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
Software Modularisation
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
This is concrete: the problem
defines the objective function
directly and concretely.
Software Modularisation
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
This is concrete: the problem
defines the objective function
directly and concretely.
Software Modularisation
“I want my 892 classes
to be properly modularised”
(insert your ugliest classes here)
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
This is concrete: the problem
defines the objective function
directly and concretely.
Software Modularisation
“I want my 892 classes
to be properly modularised”
(insert your ugliest classes here)
Objective Function
?
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
This is concrete: the problem
defines the objective function
directly and concretely.
Software Modularisation
“I want my 892 classes
to be properly modularised”
(insert your ugliest classes here)
Objective Function
Min. coupling, Max. cohesion
Test Data Generation
“I want the value of x to make
the following predicate true”
if(x == 3) {...}
Objective Function
f(x) = |3 - x|
This is concrete: the problem
defines the objective function
directly and concretely.
Software Modularisation
“I want my 892 classes
to be properly modularised”
(insert your ugliest classes here)
Objective Function
This is surrogate: the objective
function is something we hope to
correlate with some abstract
property.
Min. coupling, Max. cohesion
How do we solve problems with
surrogate objectives better?
TAOism
TAOism
TAOism
TAOism
TAOism
TAOism
Turing-test As Objective function
TAO Hypothesis
✤ Surrogate objective functions are better learnt then defined.
A la Brooks...
✤ Having a predefined representation of the problem (objective
function) may not produce an intelligent solution
✤ It is better to use the real world (i.e. the real SE problem) as its own
representational model
✤ Learner should be given a complete freedom over from which to
learn the objective function
New Problem
Instances
Turing Test
Historical
Best Practice
All
Observables
Learnt
Objective
TAO Challenge
TAO Challenge
✤ Software engineers moan about realistic empirical evaluation
TAO Challenge
✤ Software engineers moan about realistic empirical evaluation
✤ We interact with open source community very statically
TAO Challenge
✤ Software engineers moan about realistic empirical evaluation
✤ We interact with open source community very statically
✤ Why don’t we just commit our AI/SBSE/$#@% generated feature/
bug patch/test case/*#$%@ directly to open source projects?
TAO Challenge
✤ Software engineers moan about realistic empirical evaluation
✤ We interact with open source community very statically
✤ Why don’t we just commit our AI/SBSE/$#@% generated feature/
bug patch/test case/*#$%@ directly to open source projects?
✤ Will they notice? Will they condemn us, or welcome us?
Summary
✤ Some SE objective functions are merely surrogates
✤ These are better learnt then defined; humans are the final judges
✤ If we are to use AI techniques to solve SE problems, our goal should
be Turing Test

More Related Content

PDF
Object model transfer in the general video game domain
PDF
Getting started with Machine Learning
PPTX
LinkedIn talk at Netflix ML Platform meetup Sep 2019
PPTX
An overview of machine learning
PPTX
Introduction to Machine Learning
PPTX
Benchmarking of a Novel POS Tagging Based Semantic Similarity Approach for Jo...
PPTX
End to-end semi-supervised object detection with soft teacher ver.1.0
Object model transfer in the general video game domain
Getting started with Machine Learning
LinkedIn talk at Netflix ML Platform meetup Sep 2019
An overview of machine learning
Introduction to Machine Learning
Benchmarking of a Novel POS Tagging Based Semantic Similarity Approach for Jo...
End to-end semi-supervised object detection with soft teacher ver.1.0

What's hot (19)

PPTX
Data Science: A Mindset for Productivity
PPTX
Recommendation system using collaborative deep learning
PDF
A Scalable, High-performance Algorithm for Hybrid Job Recommendations
PDF
Facebook Talk at Netflix ML Platform meetup Sep 2019
PPTX
Meta learned Confidence for Few-shot Learning
PPTX
AI: Learning in AI 2
PDF
Avito recsys-challenge-2016RecSys Challenge 2016: Job Recommendation Based on...
PPTX
Aaron Roth, Associate Professor, University of Pennsylvania, at MLconf NYC 2017
PDF
H2O World - Ensembles with Erin LeDell
PDF
Replication of Recommender Systems Research
PPTX
Housing price prediction
PPT
Summary.ppt
PPTX
Day 2 (Lecture 5): A Practitioner's Perspective on Building Machine Product i...
PPTX
Captcha
PPT
LearningAG.ppt
PDF
Temporal Learning and Sequence Modeling for a Job Recommender System
PPTX
2018 Global Azure Bootcamp Azure Machine Learning for neural networks
PPTX
AI: Learning in AI
PDF
Hacking Predictive Modeling - RoadSec 2018
Data Science: A Mindset for Productivity
Recommendation system using collaborative deep learning
A Scalable, High-performance Algorithm for Hybrid Job Recommendations
Facebook Talk at Netflix ML Platform meetup Sep 2019
Meta learned Confidence for Few-shot Learning
AI: Learning in AI 2
Avito recsys-challenge-2016RecSys Challenge 2016: Job Recommendation Based on...
Aaron Roth, Associate Professor, University of Pennsylvania, at MLconf NYC 2017
H2O World - Ensembles with Erin LeDell
Replication of Recommender Systems Research
Housing price prediction
Summary.ppt
Day 2 (Lecture 5): A Practitioner's Perspective on Building Machine Product i...
Captcha
LearningAG.ppt
Temporal Learning and Sequence Modeling for a Job Recommender System
2018 Global Azure Bootcamp Azure Machine Learning for neural networks
AI: Learning in AI
Hacking Predictive Modeling - RoadSec 2018
Ad

Viewers also liked (18)

PDF
Introduction To Judaism (Dr Zakir Naik)
PPT
Cebulka china slide 4
PPTX
World Religion
PPTX
A People’s History of Christianity June 28, 2015
PPTX
Charlie
PDF
World religion taoism islam sikhism shinto powerpoint ppt templates.
PPTX
6 Major World Religions
KEY
Daoism
PPTX
Environmental presidential decrees
KEY
Taoism slides rough draft
PPT
PPT
Taoism, Confucianism, Shinto lecture
PDF
Taoism
PPTX
Environmental Treaties, Laws and Policies
PPTX
Environmental Law and Regulations - I
PDF
Environmental Laws
PPT
Environmental laws
PPTX
Environmental laws
Introduction To Judaism (Dr Zakir Naik)
Cebulka china slide 4
World Religion
A People’s History of Christianity June 28, 2015
Charlie
World religion taoism islam sikhism shinto powerpoint ppt templates.
6 Major World Religions
Daoism
Environmental presidential decrees
Taoism slides rough draft
Taoism, Confucianism, Shinto lecture
Taoism
Environmental Treaties, Laws and Policies
Environmental Law and Regulations - I
Environmental Laws
Environmental laws
Environmental laws
Ad

Similar to TAO: Turing test As Objective function (20)

PPT
notes as .ppt
PDF
Introduction to Machine Learning with SciKit-Learn
DOCX
Feature extraction for classifying students based on theirac ademic performance
PDF
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
PDF
IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi...
PPTX
Net campus2015 antimomusone
PPTX
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PDF
The ABC of Implementing Supervised Machine Learning with Python.pptx
PPTX
Keynote at IWLS 2017
PPT
Machine Learning: Decision Trees Chapter 18.1-18.3
PDF
ml basics ARTIFICIAL INTELLIGENCE, MACHINE LEARNING, TYPES OF MACHINE LEARNIN...
PDF
Artificial intelligence cs607 handouts lecture 11 - 45
PDF
Yulia Honcharenko "Application of metric learning for logo recognition"
PPTX
Introduction
PPTX
Introduction
PPTX
Introduction
PPTX
Introduction to OOPS in Python bsics-.pptx
PDF
A Few Useful Things to Know about Machine Learning
PDF
The importance of model fairness and interpretability in AI systems
PDF
notes as .ppt
Introduction to Machine Learning with SciKit-Learn
Feature extraction for classifying students based on theirac ademic performance
Transfer Learning for Improving Model Predictions in Highly Configurable Soft...
IRJET- Unabridged Review of Supervised Machine Learning Regression and Classi...
Net campus2015 antimomusone
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
The ABC of Implementing Supervised Machine Learning with Python.pptx
Keynote at IWLS 2017
Machine Learning: Decision Trees Chapter 18.1-18.3
ml basics ARTIFICIAL INTELLIGENCE, MACHINE LEARNING, TYPES OF MACHINE LEARNIN...
Artificial intelligence cs607 handouts lecture 11 - 45
Yulia Honcharenko "Application of metric learning for logo recognition"
Introduction
Introduction
Introduction
Introduction to OOPS in Python bsics-.pptx
A Few Useful Things to Know about Machine Learning
The importance of model fairness and interpretability in AI systems

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Programs and apps: productivity, graphics, security and other tools
MIND Revenue Release Quarter 2 2025 Press Release
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Approach and Philosophy of On baking technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

TAO: Turing test As Objective function

  • 1. 26 May 2013, RAISE Workshop TAOism Shin Yoo/Centre for Research on Evolution Search and Testing, UCL, UK
  • 7. Test Data Generation Software Modularisation
  • 8. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Software Modularisation
  • 9. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| Software Modularisation
  • 10. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| This is concrete: the problem defines the objective function directly and concretely. Software Modularisation
  • 11. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| This is concrete: the problem defines the objective function directly and concretely. Software Modularisation “I want my 892 classes to be properly modularised” (insert your ugliest classes here)
  • 12. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| This is concrete: the problem defines the objective function directly and concretely. Software Modularisation “I want my 892 classes to be properly modularised” (insert your ugliest classes here) Objective Function ?
  • 13. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| This is concrete: the problem defines the objective function directly and concretely. Software Modularisation “I want my 892 classes to be properly modularised” (insert your ugliest classes here) Objective Function Min. coupling, Max. cohesion
  • 14. Test Data Generation “I want the value of x to make the following predicate true” if(x == 3) {...} Objective Function f(x) = |3 - x| This is concrete: the problem defines the objective function directly and concretely. Software Modularisation “I want my 892 classes to be properly modularised” (insert your ugliest classes here) Objective Function This is surrogate: the objective function is something we hope to correlate with some abstract property. Min. coupling, Max. cohesion
  • 15. How do we solve problems with surrogate objectives better?
  • 22. TAO Hypothesis ✤ Surrogate objective functions are better learnt then defined.
  • 23. A la Brooks... ✤ Having a predefined representation of the problem (objective function) may not produce an intelligent solution ✤ It is better to use the real world (i.e. the real SE problem) as its own representational model ✤ Learner should be given a complete freedom over from which to learn the objective function
  • 24. New Problem Instances Turing Test Historical Best Practice All Observables Learnt Objective
  • 26. TAO Challenge ✤ Software engineers moan about realistic empirical evaluation
  • 27. TAO Challenge ✤ Software engineers moan about realistic empirical evaluation ✤ We interact with open source community very statically
  • 28. TAO Challenge ✤ Software engineers moan about realistic empirical evaluation ✤ We interact with open source community very statically ✤ Why don’t we just commit our AI/SBSE/$#@% generated feature/ bug patch/test case/*#$%@ directly to open source projects?
  • 29. TAO Challenge ✤ Software engineers moan about realistic empirical evaluation ✤ We interact with open source community very statically ✤ Why don’t we just commit our AI/SBSE/$#@% generated feature/ bug patch/test case/*#$%@ directly to open source projects? ✤ Will they notice? Will they condemn us, or welcome us?
  • 30. Summary ✤ Some SE objective functions are merely surrogates ✤ These are better learnt then defined; humans are the final judges ✤ If we are to use AI techniques to solve SE problems, our goal should be Turing Test