(joint work with chuan luo) - computer science at ubchoos/talks/coseal-17-slides.pdf ·...

39
Sparkle: A PbO-based Multi-agent Problem-solving Platform Holger H. Hoos LIACS Universiteit Leiden The Netherlands CS Department University of British Columbia Canada (joint work with Chuan Luo) COSEAL 2017 2017/09/12

Upload: others

Post on 09-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Sparkle:A PbO-based Multi-agent Problem-solving Platform

Holger H. Hoos

LIACSUniversiteit Leiden

The Netherlands

CS DepartmentUniversity of British ColumbiaCanada

(joint work with Chuan Luo)

COSEAL 2017

2017/09/12

Page 2: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Success!!

Page 3: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

[This slide was not used during the presentation; it was added to make it easier to follow the slide deck.]

Q: How do we know (as a community) that we’ve succeeded?

A: By having the very best (and prominent) folks

in the field endorse our methods.

In this case ...

Page 4: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

“Parameter optimization for generalbroad-spectrum use is a daunting task[...]

How could then any set of defaultsbe recommended, without an enor-mous expense of time and money?Fortunately, there’s a way out of thisdilemma, thanks to advances in thetheory of learning.”

Donald Knuth, The Art of Computer Programming,

Vol. 4, Fascicle 6, p. 125

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 2

Page 5: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

“The overall champion in 2007 was SATzilla,which was actually not a separate SAT solverbut rather a program that knew how tochoose intelligently between other solvers anany given instance. [...]

This ‘portfolio’ approach, which tunes itselfnicely to the characteristics of vastly differentsets of clauses, has continued to dominatethe international competitions ever since.

Of course portfolio solvers rely on the ex-istence of ‘real’ solvers, invented indepen-dently and bug-free, which shine with respectto particular classes of problems. And ofcourse the winner of the competition maynot be the best actual system for practicaluse.”

Donald Knuth, The Art of Computer Programming,Vol. 4, Fascicle 6, p. 132f.

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 3

Page 6: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

The state of the art in solving X ...

I ... is not defined by a single solver / solver configuration

I ... requires use of / interplay between... multiple heuristic mechanisms

I ... has been substantially advanced by meta-algorithmictechniques (configuration, selection, ...)

PbO (everyone should use it)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 4

Page 7: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

The state of the art in solving X ...

I ... is not defined by a single solver / solver configuration

I ... requires use of / interplay between... multiple heuristic mechanisms

I ... has been substantially advanced by meta-algorithmictechniques (configuration, selection, ...)

PbO (everyone should use it)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 4

Page 8: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

The state of the art in solving X ...

I ... is not defined by a single solver / solver configuration

I ... requires use of / interplay between... multiple heuristic mechanisms

I ... has been substantially advanced by meta-algorithmictechniques (configuration, selection, ...)

PbO (everyone should use it)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 4

Page 9: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

The state of the art in solving X ...

I ... is not defined by a single solver / solver configuration

I ... requires use of / interplay between... multiple heuristic mechanisms

I ... has been substantially advanced by meta-algorithmictechniques (configuration, selection, ...)

PbO

(everyone should use it)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 4

Page 10: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

The state of the art in solving X ...

I ... is not defined by a single solver / solver configuration

I ... requires use of / interplay between... multiple heuristic mechanisms

I ... has been substantially advanced by meta-algorithmictechniques (configuration, selection, ...)

PbO (everyone should use it)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 4

Page 11: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Competitions ...

I ... have helped advance the state of the art in many fields... (SAT, AI planning, CSP, ...)

I ... suffer from noise, low statistical significance... Fawcett, Vallati, HH, Gerevini (in preparation)

I ... are mostly focussed on single solvers,... broad-spectrum performance

I ... often don’t reflect state of the art

I ... typically don’t provide effective incentive to improve... state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 5

Page 12: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Competitions ...

I ... have helped advance the state of the art in many fields... (SAT, AI planning, CSP, ...)

I ... suffer from noise, low statistical significance... Fawcett, Vallati, HH, Gerevini (in preparation)

I ... are mostly focussed on single solvers,... broad-spectrum performance

I ... often don’t reflect state of the art

I ... typically don’t provide effective incentive to improve... state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 5

Page 13: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Competitions ...

I ... have helped advance the state of the art in many fields... (SAT, AI planning, CSP, ...)

I ... suffer from noise, low statistical significance... Fawcett, Vallati, HH, Gerevini (in preparation)

I ... are mostly focussed on single solvers,... broad-spectrum performance

I ... often don’t reflect state of the art

I ... typically don’t provide effective incentive to improve... state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 5

Page 14: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Competitions ...

I ... have helped advance the state of the art in many fields... (SAT, AI planning, CSP, ...)

I ... suffer from noise, low statistical significance... Fawcett, Vallati, HH, Gerevini (in preparation)

I ... are mostly focussed on single solvers,... broad-spectrum performance

I ... often don’t reflect state of the art

I ... typically don’t provide effective incentive to improve... state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 5

Page 15: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Competitions ...

I ... have helped advance the state of the art in many fields... (SAT, AI planning, CSP, ...)

I ... suffer from noise, low statistical significance... Fawcett, Vallati, HH, Gerevini (in preparation)

I ... are mostly focussed on single solvers,... broad-spectrum performance

I ... often don’t reflect state of the art

I ... typically don’t provide effective incentive to improve... state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 5

Page 16: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

A new kind of competition:

I solvers submitted to competition platform

I automatically configured

I state-of-the-art selector built based on all solvers

I solver contributions to overall performance assessedI marginal contribution

(Xu, Hutter, HH, Leyton-Brown 2012)

I Shapley value(Frechette, Kotthoff, Michalak, Rahwan, HH, Leyton-Brown 2016)

I ...

I full credit for contributions to selector performancegoes to component solver authors

Sparkle (Luo & HH – planned for 2018)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 6

Page 17: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

A new kind of competition:

I solvers submitted to competition platform

I automatically configured

I state-of-the-art selector built based on all solvers

I solver contributions to overall performance assessedI marginal contribution

(Xu, Hutter, HH, Leyton-Brown 2012)

I Shapley value(Frechette, Kotthoff, Michalak, Rahwan, HH, Leyton-Brown 2016)

I ...

I full credit for contributions to selector performancegoes to component solver authors

Sparkle (Luo & HH – planned for 2018)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 6

Page 18: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

A new kind of competition:

I solvers submitted to competition platform

I automatically configured

I state-of-the-art selector built based on all solvers

I solver contributions to overall performance assessedI marginal contribution

(Xu, Hutter, HH, Leyton-Brown 2012)

I Shapley value(Frechette, Kotthoff, Michalak, Rahwan, HH, Leyton-Brown 2016)

I ...

I full credit for contributions to selector performancegoes to component solver authors

Sparkle (Luo & HH – planned for 2018)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 6

Page 19: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

A new kind of competition:

I solvers submitted to competition platform

I automatically configured

I state-of-the-art selector built based on all solvers

I solver contributions to overall performance assessedI marginal contribution

(Xu, Hutter, HH, Leyton-Brown 2012)

I Shapley value(Frechette, Kotthoff, Michalak, Rahwan, HH, Leyton-Brown 2016)

I ...

I full credit for contributions to selector performancegoes to component solver authors

Sparkle (Luo & HH – planned for 2018)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 6

Page 20: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

A new kind of competition:

I solvers submitted to competition platform

I automatically configured

I state-of-the-art selector built based on all solvers

I solver contributions to overall performance assessedI marginal contribution

(Xu, Hutter, HH, Leyton-Brown 2012)

I Shapley value(Frechette, Kotthoff, Michalak, Rahwan, HH, Leyton-Brown 2016)

I ...

I full credit for contributions to selector performancegoes to component solver authors

Sparkle (Luo & HH – planned for 2018)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 6

Page 21: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

[This slide was not used during the presentation; it was added to make it easier to follow the slide deck.]

Standard competition (as in Olympic games):

One participant (winner) gets all the attention.

(#2 and #3, though on the podium,

don’t get much glory compared to #1.)

Instead of giving one gold medal, using Sparkle,

we cut it up and give every participant a chunk

that corresponds to their contribution to

the state of the art in solving a problem.

Page 22: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

olympics.jpg

Page 23: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent
Page 24: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent
Page 25: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

[This slide was not used during the presentation; it was added to make it easier to follow the slide deck.]

Live demo of current prototype:

- add instances, solvers, feature extractor

- build selector

- assess solver contributions

to VBS and selector

Note: this happens highly efficiently on

our cluster in Leiden

Page 26: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Advantages over traditional competition:

I better reflects and makes accessible state of the art

I better realises performance potential of individual solvers

I makes it easier to gain recognition for specialised techniques

I provides incentive to improve true state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 8

Page 27: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Advantages over traditional competition:

I better reflects and makes accessible state of the art

I better realises performance potential of individual solvers

I makes it easier to gain recognition for specialised techniques

I provides incentive to improve true state of the art

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 8

Page 28: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Further uses of Sparkle:

I continuous solver evaluation (as community service)

I configurator / selector competitions

I experimentation platform for algorithm configuration,selection, programming by optimisation

I support deep optimisation:high-level design choices, ..., compiler options(Fawcett, Kotthoff, HH – coming soon;

(Perez Caceres et al. 2016; Fawcett, Kotthoff, HH 2016)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 9

Page 29: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Further uses of Sparkle:

I continuous solver evaluation (as community service)

I configurator / selector competitions

I experimentation platform for algorithm configuration,selection, programming by optimisation

I support deep optimisation:high-level design choices, ..., compiler options(Fawcett, Kotthoff, HH – coming soon;

(Perez Caceres et al. 2016; Fawcett, Kotthoff, HH 2016)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 9

Page 30: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Further uses of Sparkle:

I continuous solver evaluation (as community service)

I configurator / selector competitions

I experimentation platform for algorithm configuration,selection, programming by optimisation

I support deep optimisation:high-level design choices, ..., compiler options(Fawcett, Kotthoff, HH – coming soon;

(Perez Caceres et al. 2016; Fawcett, Kotthoff, HH 2016)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 9

Page 31: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Further uses of Sparkle:

I continuous solver evaluation (as community service)

I configurator / selector competitions

I experimentation platform for algorithm configuration,selection, programming by optimisation

I support deep optimisation:high-level design choices, ..., compiler options(Fawcett, Kotthoff, HH – coming soon;

(Perez Caceres et al. 2016; Fawcett, Kotthoff, HH 2016)

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 9

Page 32: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature

;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 33: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 34: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance

;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 35: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 36: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 37: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 38: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10

Page 39: (joint work with Chuan Luo) - Computer Science at UBChoos/Talks/coseal-17-slides.pdf · 2017-09-17 · Sparkle(Luo & HH { planned for 2018) Holger Hoos: Sparkle { A PbO-based multi-agent

Take-home message:

I algorithm configuration & selection are powerful, mature;define state of the art for many problems

I need to give easy access to state of the art performance;correctly incentivise improvements

Sparkle

Also of interest:

I PbO book (to appear in 2018)

I Empirical Algorithmics book (to appear in 2018)

I bettersci.wordpress.com

Holger Hoos: Sparkle – A PbO-based multi-agent problem-solving platform 10