the shapley value and the temporal shapley value for
play

The Shapley Value and the Temporal Shapley Value for Algorithm - PowerPoint PPT Presentation

The Shapley Value and the Temporal Shapley Value for Algorithm Analysis Lars Kotthofg University of Wyoming larsko@uwyo.edu 1 05 July 2018 1 joint work with Alexandre Frchette, Tomasz Michalak, Talal Rahwan, Holger H. Hoos, Kevin


  1. The Shapley Value and the Temporal Shapley Value for Algorithm Analysis Lars Kotthofg University of Wyoming larsko@uwyo.edu 1 05 July 2018 1 joint work with Alexandre Fréchette, Tomasz Michalak, Talal Rahwan, Holger H. Hoos, Kevin Leyton-Brown

  2. Motivation 0.5 you still have made lots of money? How much worse would the blend be without each wine? Would 0.375 0.275 0.35 average? 0.4 0.1 cost fraction in blend 0.35 0.45 0.2 volume fraction in blend wine C wine B wine A the constituent wines 1 ▷ you’re blending a great new wine and make lots of money ▷ you want to distribute the money fairly to the producers of

  3. Motivation 0.5 you still have made lots of money? How much worse would the blend be without each wine? Would 0.375 0.275 0.35 average? 0.4 0.1 cost fraction in blend 0.35 0.45 0.2 volume fraction in blend wine C wine B wine A the constituent wines 1 ▷ you’re blending a great new wine and make lots of money ▷ you want to distribute the money fairly to the producers of

  4. Motivation 0.5 you still have made lots of money? How much worse would the blend be without each wine? Would 0.375 0.275 0.35 average? 0.4 0.1 cost fraction in blend 0.35 0.45 0.2 volume fraction in blend wine C wine B wine A the constituent wines 1 ▷ you’re blending a great new wine and make lots of money ▷ you want to distribute the money fairly to the producers of

  5. Motivation 0.5 you still have made lots of money? How much worse would the blend be without each wine? Would 0.375 0.275 0.35 average? 0.4 0.1 cost fraction in blend 0.35 0.45 0.2 volume fraction in blend wine C wine B wine A the constituent wines 1 ▷ you’re blending a great new wine and make lots of money ▷ you want to distribute the money fairly to the producers of

  6. Analyzing Algorithms – Setting unsorted list 2 ▷ sorting lists with quicksort algorithm ▷ difgerent methods for choosing pivot, which partitions the ▷ measure time to sort list ▷ score proportional to speed

  7. Contributions – Standalone Performance 3 dual pivot (2009) 798602199 dual pivot (2009) median 9 (1993) 798501630 median 9 (1993) median 9 random (1993) 798470169 median 9 random (1993) 798466233 mid (1978) mid (1978) 798461169 median 3 random (1978) median 3 random (1978) random (1961) 798360514 random (1961) median 3 (1978) 794178118 median 3 (1978) first (1961) 784476788 first (1961) insertion (1946) 671833 insertion (1946) Standalone Performance

  8. Contributions – Standalone Performance How well do they complement each other? 3 dual pivot (2009) 798602199 dual pivot (2009) median 9 (1993) 798501630 median 9 (1993) median 9 random (1993) 798470169 median 9 random (1993) 798466233 mid (1978) mid (1978) 798461169 median 3 random (1978) median 3 random (1978) random (1961) 798360514 random (1961) median 3 (1978) 794178118 median 3 (1978) first (1961) 784476788 first (1961) insertion (1946) 671833 insertion (1946) Standalone Performance

  9. Contributions – Marginal Performance How much does an algorithm contribute to the state of the art (defjned by a coalition of all other algorithms)? Xu, Hutter, Hoos, Leyton-Brown. “Evaluating Component Solver Contributions to Portfolio-Based Algorithm Selectors.” SAT 2012 4 φ i = v ( C i ∪ { i } ) − v ( C i )

  10. Contributions – Marginal Performance 5 dual pivot (2009) 798602199 median 9 (1993) 798501630 median 9 random (1993) 798470169 798466233 mid (1978) 798461169 median 3 random (1978) random (1961) 798360514 median 3 (1978) 794178118 first (1961) 784476788 13212030 random (1961) 671833 insertion (1946) 98900 dual pivot (2009) 20497 median 9 (1993) 15703 mid (1978) 6907 median 3 random (1978) 552 median 3 (1978) 541 median 9 random (1993) insertion (1946) 671833 137 first (1961) Standalone Performance Marginal Performance

  11. Contributions – Marginal Performance …most get almost nothing? 5 dual pivot (2009) 798602199 median 9 (1993) 798501630 median 9 random (1993) 798470169 798466233 mid (1978) 798461169 median 3 random (1978) random (1961) 798360514 median 3 (1978) 794178118 first (1961) 784476788 13212030 random (1961) 671833 insertion (1946) 98900 dual pivot (2009) 20497 median 9 (1993) 15703 mid (1978) 6907 median 3 random (1978) 552 median 3 (1978) 541 median 9 random (1993) insertion (1946) 671833 137 first (1961) Standalone Performance Marginal Performance

  12. Desirable Properties Dummy An algorithm that make no contribution in any case does not have any value. Symmetry Identical algorithms have the same value. Additivity The sum of values of an algorithm under two difgerent performance measures is the same as its value under a combined measure. 6 Effjciency The total value is distributed among algorithms.

  13. Shapley Value How much does an algorithm contribute to all possible coalitions Algorithm Portfolios.” In 30th AAAI Conference on Artifjcial Intelligence, 2016. Leyton-Brown, and Tomasz P. Michalak. “Using the Shapley Value to Analyze Fréchette, Alexandre, Lars Kotthofg, Talal Rahwan, Holger H. Hoos, Kevin Games, 1953. We can compute this in polynomial time. 7 of other algorithms? φ i = 1 ∑ v ( C π i ∪ { i } ) − v ( C π i ) | Π | π ∈ Π N Shapley. “A Value for n -person Games.” In Contributions to the Theory of

  14. Contributions – Shapley Value 8 dual pivot (2009) 798602199 median 9 (1993) 798501630 median 9 random (1993) 798470169 798466233 mid (1978) 798461169 median 3 random (1978) random (1961) 798360514 median 3 (1978) 794178118 first (1961) 784476788 100267058 100167412 13212030 random (1961) 100153715 671833 insertion (1946) 100153384 98900 dual pivot (2009) 100151097 20497 median 9 (1993) 100131186 15703 mid (1978) 99434662 6907 median 3 random (1978) 98059604 552 median 3 (1978) 541 median 9 random (1993) insertion (1946) 671833 84173 137 first (1961) Standalone Performance Shapley Value Marginal Performance

  15. Contributions – Shapley Value …but later algorithms were developed based on earlier ones. 8 dual pivot (2009) 798602199 median 9 (1993) 798501630 median 9 random (1993) 798470169 798466233 mid (1978) 798461169 median 3 random (1978) random (1961) 798360514 median 3 (1978) 794178118 first (1961) 784476788 100267058 100167412 13212030 random (1961) 100153715 671833 insertion (1946) 100153384 98900 dual pivot (2009) 100151097 20497 median 9 (1993) 100131186 15703 mid (1978) 99434662 6907 median 3 random (1978) 98059604 552 median 3 (1978) 541 median 9 random (1993) insertion (1946) 671833 84173 137 first (1961) Standalone Performance Shapley Value Marginal Performance

  16. Temporal Shapley Value How much does an algorithm contribute to all possible coalitions 2018. Intelligence (IJCAI) Special Track on the Evolution of the Contours of AI, Improvements over Time.” In 27th International Joint Conference on Artifjcial Holger H. Hoos, and Kevin Leyton-Brown. “Quantifying Algorithmic Kotthofg, Lars, Alexandre Fréchette, Tomasz P. Michalak, Talal Rahwan, compute this in polynomial time as well. 9 of other algorithms, taking temporal precedence into account? 1 φ ≻ ∑ v ≻ ( C π i ∪ { i } ) − v ≻ ( C π i = i ) | Π ≻ | π ∈ Π ≻ where ≻ is a relation that encodes temporal precedence. We can

  17. Contributions – Temporal Shapley Value 10 dual pivot (2009) 798602199 median 9 (1993) 798501630 median 9 random (1993) 798470169 798466233 mid (1978) 798461169 median 3 random (1978) random (1961) 798360514 median 3 (1978) 794178118 first (1961) 784476788 405450356 392238462 100267058 100167412 13212030 random (1961) 100153715 671833 insertion (1946) 100153384 671833 98900 dual pivot (2009) 100151097 98900 20497 median 9 (1993) 100131186 57198 15703 mid (1978) 99434662 50411 6907 median 3 random (1978) 98059604 22506 552 median 3 (1978) 10074 541 median 9 random (1993) insertion (1946) 671833 84173 2550 137 first (1961) Standalone Performance Shapley Value Temporal Shapley Value Marginal Performance

Recommend


More recommend