SlideShare a Scribd company logo
Introduction to SBSE
(1/2)
Shin Yoo
CS492D, Autumn 2016, School of Computing, KAIST
Me
• Shin Yoo, joined KAIST CS in August
2015
• PhD at King’s College London, UK
• Assistant Professor at University
College London, UK
• COINSE (Computational Intelligence for
Software Engineering) Lab
• Research interest: SBSE, regression
testing, automated debugging,
evolutionary computation, information
theory, program analysis…
• Office hours: 10-12 Tuesdays, 2405, E3-1
• shin.yoo@kaist.ac.kr
Course Webpage
• Reading materials will be
either linked or provided on
the page
• http://coinse.kaist.ac.kr/
teaching/2016-cs492/
Questionnaire
• My attempt to know the class better :)
• Fill in what you can during the lecture, and return to
me when you leave!
Course Evaluation
• Competition Project (30%): individual project - solve
complex optimisation problems using algorithms learnt
during the class. There will be an online leaderboard
that shows who’s winning :)
• Quality of the solution
• Performance of the solution
• Quality of the implementation
• Prizes!
Course Evaluation
• Project (30%): put the knowledge you obtained
during the class to actual use.
• Proposal presentation: outline your idea, get
feedback.
• Final report: submit your implementation and
empirical evaluation.
Course Evaluation
• Final Exam (30%) : written exam during the final
week of the term.
• Class Participation (10%) : see Seminars.
Seminars
• Group effort (exact size will be announced once
the course registration is finalised).
• Read two papers in different SE categories,
summarise the findings, and deliver two 30 minute
talks.
• Each talk will be followed by a brief group
discussion.
Textbook & reading material
• No textbook (this is a bleeding edge)
• Lectures contain strongly recommend reading lists
• Supplementary books:
• Introduction to Evolutionary Computing, A. E. Eiben
& J. E. Smith, Springer
• A Field Guide to Genetic Programming, Ricardo Poli,
William B. Langdon, & Nicholas McPhee (freely
available online at http://www.gp-field-guide.org.uk)
What is SBSE?
(wait, before that…)
What is SE?
Software Crisis
• As long as there were no
machines, programming was
no problem at all; when we
had a few weak computers,
programming became a mild
problem, and now we have
gigantic computers,
programming has become an
equally gigantic problem.
— Edsger Dijkstra, The
Humble Programmer,
Communications of the ACM,
1972
NATO conference 1968
• …concluded that software engineering should use
the philosophies and paradigms of established
engineering disciplines, to solve the problem of
software crisis.
But what do “established engineering
principles” do to improve quality?
• Theory
• Simulation
• Optimisation
Let’s say we want to
build a steel bridge.
Theory
• When does a steel beam
break?
• Stress: force per unit area
• Tensile strength: the
maximum stress a material
can resist
Simulation
• Given the physical laws as the
foundation, it is possible to
build simulations.
Creating Models of Truss Structures with Optimization
Jeffrey Smith
Carnegie Mellon University
Jessica Hodgins
Carnegie Mellon University
Irving Oppenheim
Carnegie Mellon University
Andrew Witkin
Pixar Animation Studios
Abstract
We present a method for designing truss structures, a common
and complex category of buildings, using non-linear optimization.
Truss structures are ubiquitous in the industrialized world, appear-
ing as bridges, towers, roof supports and building exoskeletons, yet
are complex enough that modeling them by hand is time consuming
and tedious. We represent trusses as a set of rigid bars connected
by pin joints, which may change location during optimization. By
including the location of the joints as well as the strength of individ-
ual beams in our design variables, we can simultaneously optimize
the geometry and the mass of structures. We present the details of
our technique together with examples illustrating its use, including
comparisons with real structures.
CR Categories: I.3.5 [Computer Graphics]: Computational Ge-
ometry and Object Modeling—Physically based modeling; G.1.6
[Numerical Analysis]: Optimization—Nonlinear programming;
G.1.6 [Numerical Analysis]: Optimization—Constrained optimiza-
tion
Keywords: Physically based modeling, truss structures, con-
strained optimization, nonlinear optimization
1 Introduction
A recurring challenge in the field of computer graphics is the cre-
ation of realistic models of complex man-made structures. The
standard solution to this problem is to build these models by hand,
but this approach is time consuming and, where reference images
are not available, can be difficult to reconcile with a demand for
visual realism. Our paper presents a method, based on practices
in the field of structural engineering, to quickly create novel and
physically realistic truss structures such as bridges and towers, us-
ing simple optimization techniques and a minimum of user effort.
“Truss structures” is a broad category of man-made structures,
including bridges (Figure 1), water towers, cranes, roof support
trusses (Figure 10), building exoskeletons (Figure 2), and tempo-
rary construction frameworks. Trusses derive their utility and dis-
tinctive look from their simple construction: rod elements (beams)
{jeffrey|jkh}@cs.cmu.edu, ijo@andrew.cmu.edu, aw@pixar.com
Figure 1: A cantilever bridge generated by our software, compared
with the Homestead bridge in Pittsburgh, Pennsylvania.
which exert only axial forces, connected concentrically with welded
or bolted joints.
These utilitarian structures are ubiquitous in the industrialized
world and can be extremely complex and thus difficult to model.
For example, the Eiffel Tower, perhaps the most famous truss struc-
ture in the world, contains over 15,000 girders connected at over
30,000 points [Harriss 1975] and even simpler structures, such as
railroad bridges, routinely contain hundreds of members of varying
lengths. Consequently, modeling of these structures by hand can be
difficult and tedious, and an automated method of generating them
is desirable.
1.1 Background
Very little has been published in the graphics literature on the
problem of the automatic generation of man-made structures.
While significant and successful work has been done in recre-
Optimisation
• …and with simulation,
optimisation follows naturally.
• It is, simply, trial and error,
which is only possible
because we have the
simulation environment.
Bridge
Building
Theory Simulation Optimisation Product
Real
World
Abstract Computation Computation
Software
Engineering
Computation
Best
Practices
? ?
We are probably the only engineering principle, in which
the materials for product, simulation, and optimisation are the same.
Simulation is done via modelling.
Optimisation?
Theory of software engineering is (somewhat) lacking.
Search-Based Software
Engineering
• A large movement(?) that seeks to apply various
optimisation techniques to software engineering
problems (NOT search engines or code search)
• Still relatively young (by academic standards)
Why optimisation?
• Automate SE tasks (either fully, or at least until
human engineers can attend to the issue)
• Gain insights into complicated problem domain
that are either too large or too complicated for
humans to understand
• Unbiased decision support that is data-driven
Our Toolbox
• Classical (exact) optimisation would be desirable
but often cannot cope with the scale
• A heavy focus on stochastic optimisation:
evolutionary computation and other nature-inspired
algorithms
Our Stance
• We stand at the intersection of
computational intelligence and
software engineering.
• Pragmatic application has
stimulated theoretical results
in computational intelligence,
and vice versa.
• Course: about 40% on
optimisation techniques, 60%
on applications on SE
Up and Coming
• Meta-heuristic and computational
intelligence techniques are found
increasingly frequently in SE
papers.
• Two major conferences in software
engineering - ICSE and FSE - now
tend to have whole sessions
dedicated to SBSE.
• Evolutionary computation
conferences have tracks dedicated
to SE.
• Dedicated international conference
(SSBSE) and many other
workshops.
Publication growth up to 2012
Notice
• I cannot do the 6th and 11th
October lectures due to
conference commitment.
• Let’s arrange replacement
shortly.

More Related Content

Similar to SBSE-class1.pdf

English Article.pptx
English Article.pptxEnglish Article.pptx
English Article.pptx
FatemehZamani9
 
Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...
Josh Sheldon
 
Construction of Structurally and Stratigraphically Consistent Structural Mode...
Construction of Structurally and Stratigraphically Consistent Structural Mode...Construction of Structurally and Stratigraphically Consistent Structural Mode...
Construction of Structurally and Stratigraphically Consistent Structural Mode...
Laurent Souche
 
A Model Based Concurrent Engineering Framework using ISO-19450 Standard
A Model Based Concurrent Engineering Framework using ISO-19450 StandardA Model Based Concurrent Engineering Framework using ISO-19450 Standard
A Model Based Concurrent Engineering Framework using ISO-19450 Standard
Christopher Cerqueira
 
Engineering simulations and testing by atoast
Engineering simulations and testing by atoastEngineering simulations and testing by atoast
Engineering simulations and testing by atoast
ATOA Scientific Technologies
 
L1 cad and applications
L1 cad and applicationsL1 cad and applications
L1 cad and applicationsDat Hoang Tien
 
Architecture vs. Design vs. Agile: What’s the Answer?
Architecture vs. Design vs. Agile: What’s the Answer?Architecture vs. Design vs. Agile: What’s the Answer?
Architecture vs. Design vs. Agile: What’s the Answer?
TechWell
 
Contemporary Software Engineering Practices Together With Enterprise
Contemporary Software Engineering Practices Together With EnterpriseContemporary Software Engineering Practices Together With Enterprise
Contemporary Software Engineering Practices Together With EnterpriseKenan Sevindik
 
Model based engineering tutorial thomas consulting 4_sep13-1
Model based engineering tutorial thomas consulting 4_sep13-1Model based engineering tutorial thomas consulting 4_sep13-1
Model based engineering tutorial thomas consulting 4_sep13-1
seymourmedia
 
Taming Complexity: On Studying the Application of Model-Driven Engineering to...
Taming Complexity: On Studying the Application of Model-Driven Engineering to...Taming Complexity: On Studying the Application of Model-Driven Engineering to...
Taming Complexity: On Studying the Application of Model-Driven Engineering to...
Florian Rademacher
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering Course
Md. Shafiuzzaman Hira
 
Chapter1 introduction-to-design
Chapter1 introduction-to-designChapter1 introduction-to-design
Chapter1 introduction-to-designVin Voro
 
Lecture 1 computer vision introduction
Lecture 1 computer vision introductionLecture 1 computer vision introduction
Lecture 1 computer vision introduction
cairo university
 
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AIQualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Research
 
L0.ppt
L0.pptL0.ppt
L0.ppt
lilywatermen
 
SADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdfSADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdf
B.T.L.I.T
 
Tailoring Harmony/SE for Automotive V3
Tailoring Harmony/SE for Automotive V3Tailoring Harmony/SE for Automotive V3
Tailoring Harmony/SE for Automotive V3
Fraser Chadburn
 
Se research update
Se research updateSe research update
Se research update
Nacha Chondamrongkul
 
Applying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise ArchitectureApplying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise Architecture
Benjamin Scherrey
 
NISI Agile Software Architecture Slide Deck
NISI Agile Software Architecture Slide DeckNISI Agile Software Architecture Slide Deck
NISI Agile Software Architecture Slide Deck
Utrecht University
 

Similar to SBSE-class1.pdf (20)

English Article.pptx
English Article.pptxEnglish Article.pptx
English Article.pptx
 
Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...
 
Construction of Structurally and Stratigraphically Consistent Structural Mode...
Construction of Structurally and Stratigraphically Consistent Structural Mode...Construction of Structurally and Stratigraphically Consistent Structural Mode...
Construction of Structurally and Stratigraphically Consistent Structural Mode...
 
A Model Based Concurrent Engineering Framework using ISO-19450 Standard
A Model Based Concurrent Engineering Framework using ISO-19450 StandardA Model Based Concurrent Engineering Framework using ISO-19450 Standard
A Model Based Concurrent Engineering Framework using ISO-19450 Standard
 
Engineering simulations and testing by atoast
Engineering simulations and testing by atoastEngineering simulations and testing by atoast
Engineering simulations and testing by atoast
 
L1 cad and applications
L1 cad and applicationsL1 cad and applications
L1 cad and applications
 
Architecture vs. Design vs. Agile: What’s the Answer?
Architecture vs. Design vs. Agile: What’s the Answer?Architecture vs. Design vs. Agile: What’s the Answer?
Architecture vs. Design vs. Agile: What’s the Answer?
 
Contemporary Software Engineering Practices Together With Enterprise
Contemporary Software Engineering Practices Together With EnterpriseContemporary Software Engineering Practices Together With Enterprise
Contemporary Software Engineering Practices Together With Enterprise
 
Model based engineering tutorial thomas consulting 4_sep13-1
Model based engineering tutorial thomas consulting 4_sep13-1Model based engineering tutorial thomas consulting 4_sep13-1
Model based engineering tutorial thomas consulting 4_sep13-1
 
Taming Complexity: On Studying the Application of Model-Driven Engineering to...
Taming Complexity: On Studying the Application of Model-Driven Engineering to...Taming Complexity: On Studying the Application of Model-Driven Engineering to...
Taming Complexity: On Studying the Application of Model-Driven Engineering to...
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering Course
 
Chapter1 introduction-to-design
Chapter1 introduction-to-designChapter1 introduction-to-design
Chapter1 introduction-to-design
 
Lecture 1 computer vision introduction
Lecture 1 computer vision introductionLecture 1 computer vision introduction
Lecture 1 computer vision introduction
 
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AIQualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
Qualcomm Webinar: Solving Unsolvable Combinatorial Problems with AI
 
L0.ppt
L0.pptL0.ppt
L0.ppt
 
SADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdfSADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdf
 
Tailoring Harmony/SE for Automotive V3
Tailoring Harmony/SE for Automotive V3Tailoring Harmony/SE for Automotive V3
Tailoring Harmony/SE for Automotive V3
 
Se research update
Se research updateSe research update
Se research update
 
Applying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise ArchitectureApplying Agile Values to Enterprise Architecture
Applying Agile Values to Enterprise Architecture
 
NISI Agile Software Architecture Slide Deck
NISI Agile Software Architecture Slide DeckNISI Agile Software Architecture Slide Deck
NISI Agile Software Architecture Slide Deck
 

Recently uploaded

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

SBSE-class1.pdf

  • 1. Introduction to SBSE (1/2) Shin Yoo CS492D, Autumn 2016, School of Computing, KAIST
  • 2. Me • Shin Yoo, joined KAIST CS in August 2015 • PhD at King’s College London, UK • Assistant Professor at University College London, UK • COINSE (Computational Intelligence for Software Engineering) Lab • Research interest: SBSE, regression testing, automated debugging, evolutionary computation, information theory, program analysis… • Office hours: 10-12 Tuesdays, 2405, E3-1 • shin.yoo@kaist.ac.kr
  • 3. Course Webpage • Reading materials will be either linked or provided on the page • http://coinse.kaist.ac.kr/ teaching/2016-cs492/
  • 4. Questionnaire • My attempt to know the class better :) • Fill in what you can during the lecture, and return to me when you leave!
  • 5. Course Evaluation • Competition Project (30%): individual project - solve complex optimisation problems using algorithms learnt during the class. There will be an online leaderboard that shows who’s winning :) • Quality of the solution • Performance of the solution • Quality of the implementation • Prizes!
  • 6. Course Evaluation • Project (30%): put the knowledge you obtained during the class to actual use. • Proposal presentation: outline your idea, get feedback. • Final report: submit your implementation and empirical evaluation.
  • 7. Course Evaluation • Final Exam (30%) : written exam during the final week of the term. • Class Participation (10%) : see Seminars.
  • 8. Seminars • Group effort (exact size will be announced once the course registration is finalised). • Read two papers in different SE categories, summarise the findings, and deliver two 30 minute talks. • Each talk will be followed by a brief group discussion.
  • 9. Textbook & reading material • No textbook (this is a bleeding edge) • Lectures contain strongly recommend reading lists • Supplementary books: • Introduction to Evolutionary Computing, A. E. Eiben & J. E. Smith, Springer • A Field Guide to Genetic Programming, Ricardo Poli, William B. Langdon, & Nicholas McPhee (freely available online at http://www.gp-field-guide.org.uk)
  • 10. What is SBSE? (wait, before that…)
  • 12. Software Crisis • As long as there were no machines, programming was no problem at all; when we had a few weak computers, programming became a mild problem, and now we have gigantic computers, programming has become an equally gigantic problem. — Edsger Dijkstra, The Humble Programmer, Communications of the ACM, 1972
  • 13. NATO conference 1968 • …concluded that software engineering should use the philosophies and paradigms of established engineering disciplines, to solve the problem of software crisis.
  • 14. But what do “established engineering principles” do to improve quality? • Theory • Simulation • Optimisation
  • 15. Let’s say we want to build a steel bridge.
  • 16. Theory • When does a steel beam break? • Stress: force per unit area • Tensile strength: the maximum stress a material can resist
  • 17. Simulation • Given the physical laws as the foundation, it is possible to build simulations.
  • 18. Creating Models of Truss Structures with Optimization Jeffrey Smith Carnegie Mellon University Jessica Hodgins Carnegie Mellon University Irving Oppenheim Carnegie Mellon University Andrew Witkin Pixar Animation Studios Abstract We present a method for designing truss structures, a common and complex category of buildings, using non-linear optimization. Truss structures are ubiquitous in the industrialized world, appear- ing as bridges, towers, roof supports and building exoskeletons, yet are complex enough that modeling them by hand is time consuming and tedious. We represent trusses as a set of rigid bars connected by pin joints, which may change location during optimization. By including the location of the joints as well as the strength of individ- ual beams in our design variables, we can simultaneously optimize the geometry and the mass of structures. We present the details of our technique together with examples illustrating its use, including comparisons with real structures. CR Categories: I.3.5 [Computer Graphics]: Computational Ge- ometry and Object Modeling—Physically based modeling; G.1.6 [Numerical Analysis]: Optimization—Nonlinear programming; G.1.6 [Numerical Analysis]: Optimization—Constrained optimiza- tion Keywords: Physically based modeling, truss structures, con- strained optimization, nonlinear optimization 1 Introduction A recurring challenge in the field of computer graphics is the cre- ation of realistic models of complex man-made structures. The standard solution to this problem is to build these models by hand, but this approach is time consuming and, where reference images are not available, can be difficult to reconcile with a demand for visual realism. Our paper presents a method, based on practices in the field of structural engineering, to quickly create novel and physically realistic truss structures such as bridges and towers, us- ing simple optimization techniques and a minimum of user effort. “Truss structures” is a broad category of man-made structures, including bridges (Figure 1), water towers, cranes, roof support trusses (Figure 10), building exoskeletons (Figure 2), and tempo- rary construction frameworks. Trusses derive their utility and dis- tinctive look from their simple construction: rod elements (beams) {jeffrey|jkh}@cs.cmu.edu, ijo@andrew.cmu.edu, aw@pixar.com Figure 1: A cantilever bridge generated by our software, compared with the Homestead bridge in Pittsburgh, Pennsylvania. which exert only axial forces, connected concentrically with welded or bolted joints. These utilitarian structures are ubiquitous in the industrialized world and can be extremely complex and thus difficult to model. For example, the Eiffel Tower, perhaps the most famous truss struc- ture in the world, contains over 15,000 girders connected at over 30,000 points [Harriss 1975] and even simpler structures, such as railroad bridges, routinely contain hundreds of members of varying lengths. Consequently, modeling of these structures by hand can be difficult and tedious, and an automated method of generating them is desirable. 1.1 Background Very little has been published in the graphics literature on the problem of the automatic generation of man-made structures. While significant and successful work has been done in recre- Optimisation • …and with simulation, optimisation follows naturally. • It is, simply, trial and error, which is only possible because we have the simulation environment.
  • 19. Bridge Building Theory Simulation Optimisation Product Real World Abstract Computation Computation Software Engineering Computation Best Practices ? ? We are probably the only engineering principle, in which the materials for product, simulation, and optimisation are the same. Simulation is done via modelling. Optimisation? Theory of software engineering is (somewhat) lacking.
  • 20. Search-Based Software Engineering • A large movement(?) that seeks to apply various optimisation techniques to software engineering problems (NOT search engines or code search) • Still relatively young (by academic standards)
  • 21. Why optimisation? • Automate SE tasks (either fully, or at least until human engineers can attend to the issue) • Gain insights into complicated problem domain that are either too large or too complicated for humans to understand • Unbiased decision support that is data-driven
  • 22. Our Toolbox • Classical (exact) optimisation would be desirable but often cannot cope with the scale • A heavy focus on stochastic optimisation: evolutionary computation and other nature-inspired algorithms
  • 23. Our Stance • We stand at the intersection of computational intelligence and software engineering. • Pragmatic application has stimulated theoretical results in computational intelligence, and vice versa. • Course: about 40% on optimisation techniques, 60% on applications on SE
  • 24. Up and Coming • Meta-heuristic and computational intelligence techniques are found increasingly frequently in SE papers. • Two major conferences in software engineering - ICSE and FSE - now tend to have whole sessions dedicated to SBSE. • Evolutionary computation conferences have tracks dedicated to SE. • Dedicated international conference (SSBSE) and many other workshops. Publication growth up to 2012
  • 25. Notice • I cannot do the 6th and 11th October lectures due to conference commitment. • Let’s arrange replacement shortly.