repairing decision making programs under uncertainty
play

Repairing Decision-Making Programs Under Uncertainty Samuel Drews - PowerPoint PPT Presentation

Repairing Decision-Making Programs Under Uncertainty Samuel Drews Aws Albarghouthi Loris DAntoni University of Wisconsin-Madison Example Fairness Condition decision- making program Example Fairness Condition sensitive feature (e.g.


  1. Repairing Decision-Making Programs Under Uncertainty Samuel Drews Aws Albarghouthi Loris D’Antoni University of Wisconsin-Madison

  2. Example Fairness Condition decision- making program

  3. Example Fairness Condition sensitive feature (e.g. minority)

  4. Example Fairness Condition probabilistic precondition

  5. FairSquare [OOPSLA 17] Unfairness proof Fairness proof

  6. FairSquare [OOPSLA 17] Unfairness proof Fairness proof

  7. Probabilistic program repair: definition 8 Input The postcondition does not hold

  8. Probabilistic program repair: definition 9 Input Output Program in repair model The postcondition does not hold The postcondition holds , Difference between and is minimal

  9. Challenge: What should the output of be on each input?

  10. 17 DIGITS: DIstribution-Guided InducTive Synthesis Sampling Samples Synthesizer from Candidate Candidate Repair accepted/rejected Probabilistic Verifier

  11. 18 DIGITS: DIstribution-Guided InducTive Synthesis Sample n inputs from precondition inp 1 inp 2 … inp n …

  12. 19 DIGITS: DIstribution-Guided InducTive Synthesis Sample n inputs from precondition inp 1 inp 2 … inp n … T T T … T T T T … F T T F … T T T F … F T F T T … .. .. .. … …

  13. 20 DIGITS: DIstribution-Guided InducTive Synthesis For each labeling, synthesize one Sample n inputs program consistent with it and from precondition check postcondition inp 1 inp 2 … inp n … T T T … T T T T … F T T F … T T T F … F T F T T … .. .. .. … …

  14. 21 DIGITS: DIstribution-Guided InducTive Synthesis For each labeling, synthesize one Sample n inputs program consistent with it and from precondition check postcondition inp 1 inp 2 … inp n … T T T … T T T T … F T T F … T T T F … F T F T T … .. .. .. … … …

  15. 22 DIGITS: DIstribution-Guided InducTive Synthesis For each labeling, synthesize one Sample n inputs program consistent with it and from precondition check postcondition inp 1 inp 2 … inp n … T T T … T T T T … F T T F … T T T F … F T F T T … .. .. .. … … …

  16. 23 DIGITS: DIstribution-Guided InducTive Synthesis For each labeling, synthesize one Sample n inputs program consistent with it and from precondition check postcondition inp 1 inp 2 … inp n … T T T … T Output that T T T … F has minimal T T F … T T T F … F T F T T … .. .. .. … … …

  17. 27 Does DIGITS work? 18 repair problems: decision trees, support vector machines 10 minute best-effort period All repaired!

  18. 28 Does DIGITS work?

  19. 29 Does DIGITS converge? Yes * * terms and conditions apply: repair model has finite VC-dimension postcondition has some extra continuity property (see paper)

  20. 30 VC dimension of a set of programs image: V. Kecman, 2001

  21. 31 VC dimension of a set of programs image: V. Kecman, 2001

  22. 32 Does DIGITS work? Assume: • there exists an optimal solution • repair model has finite VC-dimension

  23. 33 Does DIGITS work? Assume: • there exists an optimal solution • repair model has finite VC-dimension For every , if we run DIGITS on samples, then with probability we find a solution with .

  24. Trie Structure Sample one point at a time

  25. Trie Structure Sample one point at a time

  26. Trie Structure Sample one point at a time

  27. Trie Structure Sample one point at a time

  28. Trie Structure Sample one point at a time

  29. Trie Structure Sample one point at a time

  30. Trie Structure Sample one point at a time

  31. Trie Structure Sample one point at a time Prune the trie and generalize

  32. Trie Savings

  33. DIGITS Sampling Samples Synthesizer from Candidate Candidate Repair accepted/rejected Probabilistic Verifier

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend