algorithms for matching and clustering
play

Algorithms for Matching and Clustering Using only Ordinal - PowerPoint PPT Presentation

Blind, Greedy, and Random: Algorithms for Matching and Clustering Using only Ordinal Information Elliot Anshelevich (together with Shreyas Sekar) Rensselaer Polytechnic Institute (RPI), Troy, NY Maximum Utility Matching Edges have


  1. Blind, Greedy, and Random: Algorithms for Matching and Clustering Using only Ordinal Information Elliot Anshelevich (together with Shreyas Sekar) Rensselaer Polytechnic Institute (RPI), Troy, NY

  2. Maximum Utility Matching • Edges have weight, want to form matching with maximum weight • For example, weight can represent compatibility, utility from matching this pair A B 100 90 90 75 C D 50

  3. Maximum Utility Matching • Edges have weight, want to form matching with maximum weight • For example, weight can represent compatibility, utility from matching this pair Goal: maximize social welfare = total utility A B 100 90 90 75 C D 50

  4. Maximum Utility Matching • Edges have weight, want to form matching with maximum weight • For example, weight can represent compatibility, utility from matching this pair What if we only know ordinal preference information? Truth What we know B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  5. Ordinal Approximations What if we only know ordinal preference information? Goal: Compute max-utility matching using only ordinal information. B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  6. Ordinal Approximations What if we only know ordinal preference information? Goal: Compute max-utility matching using only ordinal information. B > C > D A > D > C A B 100 ? A B 3 ? 3 ? 2 ? C D C 1 ? D A > B > D B > C > A

  7. Ordinal Approximations What if we only know ordinal preference information? Goal: Compute max-utility matching using only ordinal information. Approximate max-utility matching using only ordinal information. B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  8. Ordinal Approximations What if we only know ordinal preference information? Goal: Compute max-utility matching using only ordinal information. Approximate max-utility matching using only ordinal information. Truth What we know B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  9. Greedy Algorithm • Pick edge (X,Y) of maximum weight. • Remove X and Y, and repeat. Classic algorithm; produces 2-approximation. Truth What we know B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  10. Greedy Algorithm • Pick edge (X,Y) such that X is Y ’s first choice, and Y is X ’s first choice. • Remove X and Y, and repeat. Classic algorithm; produces 2-approximation no matter what the true weights are! Truth What we know B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  11. Ordinal Approximation for Metric Can we do better? Will look at metric weights, i.e., weights that obey triangle inequality. A B y x z Will provide a z ≤ x + y • 1.6-ordinal approximation C (nothing better than 1.25 is possible) • Framework for ordinal approximations: useful for clustering problems, traveling salesman, etc.

  12. Maximum Weight Metric Matching • Diverse Team Formation o Want partners with complementary skills o Matching is teams of two

  13. Maximum Weight Metric Matching • Diverse Team Formation o Want partners with complementary skills o Matching is teams of two • Homophily A B y x z z ≥ 1/3 (x + y) C

  14. Ordinal Approximation for Metric Can we do better? Will look at metric weights, i.e., weights that obey triangle inequality. A B y x z Will provide a z ≤ x + y • 1.6-ordinal approximation C (nothing better than 1.25 is possible) • Framework for ordinal approximations: useful for clustering problems, traveling salesman, etc.

  15. Blind, Greedy, and Random: Algorithms for Matching and Clustering Using only Ordinal Information B > C > D A > D > C A B 100 ? A B 90 ? 90 ? 75 ? C D C 50 ? D A > B > D B > C > A

  16. Blind, Greedy, and Random: Algorithms for Matching and Clustering Using only Ordinal Information Random: Pick a random matching For metric weights: produces 2-approximation to maximum-weight matching! • Can we take better of two algorithms? Don’t even know what “better” is! • Can we mix over two solutions? Yes, but can do even better.

  17. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes

  18. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes

  19. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes

  20. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes Claim: Top half of edges in Greedy Matching are already 2-approx to Max-Weight Matching.

  21. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes Claim: Top half of edges in Greedy Matching are already 2-approx to Max-Weight Matching. Claim: Running Greedy until 2/3 of nodes are matched is a 2-approx.

  22. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes • Solution 1: Form random matching on rest of nodes

  23. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes • Solution 1: Form random matching on rest of nodes • Solution 2: Form random bipartite matching to rest of nodes

  24. 1.6-approximation to Max Weight Matching • Run Greedy until match 2/3 of the nodes • Solution 1: Form random matching on rest of nodes • Solution 2: Form random bipartite matching to rest of nodes • Take each solution with probability 1/2

  25. Lower Bound Example A B 1+ ε 1 1 1 1 B > C > D A > D > C ? A B C D 0 ? ? A B 2 C ? D 1 1 A > B > D B > A > C 1 1 OPT/E[any alg] is C D 1- ε no better than 1.25

  26. Ordinal Approximations Using this as a Black Box Full Ordinal Information Approximation Maximum Weight 1 1.6 Matching Max k-sum clustering 2 2 Densest k-subgraph 2 4 Max Metric Traveling 1.14 1.88 Salesman (TSP)

  27. Ordinal Approximations Using this as a Black Box Full Ordinal Black Box Reduction Information Approximation Maximum Weight  1 1.6 Matching 2  Max k-sum clustering 2 2 2(  for k-matching) Densest k-subgraph 2 4 Max Metric Traveling 4  /3 1.14 1.88 Salesman (TSP)

  28. Ordinal Approximations Using this as a Black Box Full Ordinal Black Box Reduction Information Approximation Maximum Weight 1 1.6 1.6 Matching Max k-sum clustering 2 3.2 2 Densest k-subgraph 2 4 4 Max Metric Traveling 1.14 2.14 1.88 Salesman (TSP)

  29. Truthful Matching • Running Greedy to form perfect matching is truthful • Running Greedy to form k-matching is not truthful B > C > D A > D > C A B C D A > B > D B > A > C

  30. Truthful Matching • Running Greedy to form perfect matching is truthful • Running Greedy to form k-matching is not truthful B > C > D A > D > C A B C D A > B > D B > A > C D > A > B C > B > A

  31. Truthful Matching • Running Greedy to form perfect matching is truthful • Running Greedy to form k-matching is not truthful B > C > D A > D > C A B C D A > B > D B > A > C D > A > B C > B > A

  32. Truthful Matching • Running Greedy to form perfect matching is truthful • Running Greedy to form k-matching is not truthful B > C > D A > D > C A B C D A > B > D B > A > C • Instead can use Random Serial Dictatorship: 2-approximation

  33. Truthful Matching • Running Greedy to form perfect matching is truthful • Running Greedy to form k-matching is not truthful B > C > D A > D > C A B Take top preference of random node Remove these nodes from graph Repeat C D A > B > D B > A > C • Instead can use Random Serial Dictatorship: 2-approximation

  34. Ordinal Approximations Using this as a Black Box Full Truthful Improved (non Information Ordinal Approximation black-box) Maximum Weight 1 1.76 1.6 Matching Max k-sum clustering 2 2 2 Densest k-subgraph 2 6 4 Max Metric Traveling 1.14 2 1.88 Salesman (TSP)

  35. Other Ordinal Problems • Ordinal problems in social choice B • Facility location A C B > A > C • Min-cost matching, Minimum Spanning Trees • Non-metric shortest path vs longest tour

Recommend


More recommend