molecular computation
play

Molecular Computation An Algorithmic Approach Rati Gelashvili - PowerPoint PPT Presentation

Molecular Computation An Algorithmic Approach Rati Gelashvili Joint work with Dan Alistarh (ETH), David Eisenstat (Google), James Aspnes (Yale), Milan Vojnovic (MSR), Ron Rivest (MIT) Distributed Systems Ingredients:


  1. 
 Molecular Computation 
 An Algorithmic Approach Rati Gelashvili 
 Joint work with 
 Dan Alistarh (ETH), David Eisenstat (Google), 
 James Aspnes (Yale), Milan Vojnovic (MSR), Ron Rivest (MIT)

  2. Distributed Systems Ingredients:

  3. Distributed Systems Ingredients: • Nodes

  4. Distributed Systems Ingredients: • Nodes • Communication

  5. Distributed Systems Ingredients: • Nodes • Communication • Computation

  6. Computational Model 
 Population Protocols [AADFP’04]

  7. Computational Model 
 Population Protocols [AADFP’04] • Nodes are simple, identical agents • Each node is the same finite state automaton • For example: a molecule 


  8. Computational Model 
 Population Protocols [AADFP’04] • Nodes are simple, identical agents • Each node is the same finite state automaton • For example: a molecule 
 • Interactions are pairwise , and follow a fair scheduler • Usually considered uniform random • Nodes update their state following interactions 


  9. Computational Model 
 Population Protocols [AADFP’04] • Nodes are simple, identical agents • Each node is the same finite state automaton • For example: a molecule 
 • Interactions are pairwise , and follow a fair scheduler • Usually considered uniform random • Nodes update their state following interactions 
 • Computation is performed collectively • The system should converge to configurations 
 satisfying meaningful predicates • No “fixed” decision time

  10. Computational Model 
 Population Protocols [AADFP’04] • Nodes are simple, identical agents • Each node is the same finite state automaton • For example: a molecule 
 • Interactions are pairwise , and follow a fair scheduler • Usually considered uniform random • Nodes update their state following interactions 
 • Computation is performed collectively • The system should converge to configurations 
 satisfying meaningful predicates • No “fixed” decision time • A.k.a. Chemical Reaction Networks

  11. Complexity 1. Time • Round = a single pair interacts • Chosen uniformly at random • Parallel convergence time • #rounds to convergence / # nodes • Alternative continuous-time definition exists

  12. Complexity 1. Time • Round = a single pair interacts • Chosen uniformly at random • Parallel convergence time • #rounds to convergence / # nodes • Alternative continuous-time definition exists 2. Space • Number of distinct states per automaton • Alternatively, # memory bits to encode state

  13. More Precisely: Communication Courtesy of the Microsoft Research Biological Computation Group

  14. More Precisely: Communication Courtesy of the Microsoft Research Biological Computation Group

  15. More Precisely: Communication Courtesy of the Microsoft Research Biological Computation Group

  16. What can we compute? A B We can perform interactions of the type: C D

  17. What can we compute? A B We can perform interactions of the type: Example: the OR function C D • Initial states: 0 or 1 • Final state: • If there exists a 1, then all 1. • Otherwise, all 0 • Protocol:

  18. What can we compute? A B We can perform interactions of the type: Example: the OR function C D • Initial states: 0 or 1 • Final state: • If there exists a 1, then all 1. • Otherwise, all 0 • Protocol: 0 0 0 0

  19. What can we compute? A B We can perform interactions of the type: Example: the OR function C D • Initial states: 0 or 1 • Final state: • If there exists a 1, then all 1. • Otherwise, all 0 • Protocol: 0 0 1 1 0 0 1 1

  20. What can we compute? A B We can perform interactions of the type: Example: the OR function C D • Initial states: 0 or 1 • Final state: • If there exists a 1, then all 1. • Otherwise, all 0 • Protocol: 0 0 1 1 0 1 0 0 1 1 1 1

  21. What can we compute? A B We can perform interactions of the type: Example: the OR function C D • Initial states: 0 or 1 • Final state: • If there exists a 1, then all 1. • Otherwise, all 0 • Protocol: 0 0 1 1 1 0 0 1 0 0 1 1 1 1 1 1

  22. The Majority Function Majority (“Consensus”) • Initial states A, B • Output : • A if #A > #B initially. • B , otherwise.

  23. The Majority Function Majority (“Consensus”) • Initial states A, B • Output : • A if #A > #B initially. • B , otherwise. • Fundamental task • Complexity : [AAE08] & [DV12]; [PVV09] & [MNRS14] • Natural computation: 
 the cell cycle switch implements approximate majority [CC12] • Implementation in DNA: [CDS + 13, Nature Nanotechnology]

  24. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol:

  25. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B eA eB

  26. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B A eB A eA eB eA

  27. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B B A eA eB B A eA eB eB eA

  28. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B B A eA eB B A eA eB eB eA

  29. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B B A eA eB B A eA eB eB eA Discrepancy/margin: 
 ε = |#A - #B| / n Can be as small as ε = O(1 / n).

  30. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B B A eA eB B A eA eB eB eA Discrepancy/margin: 
 ε = |#A - #B| / n Can be as small as ε = O(1 / n). Theorem: Given n nodes and discrepancy ε , the running time of 4EM is O( (log n) / ε ).

  31. A B Solving Majority eA eB 4-State Exact Majority [PVV09] [MNRS14] • Protocol: A B B A eA eB B A eA eB eB eA Discrepancy/margin: 
 ε = |#A - #B| / n Can be as small as ε = O(1 / n). Theorem: Given n nodes and discrepancy ε , the running time of 4EM is O( (log n) / ε ). Can be ϴ ( n log n ) if ε = constant / n.

  32. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12]

  33. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol:

  34. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B C C

  35. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B B C B B C C

  36. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C

  37. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C • Execution:

  38. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C • Execution:

  39. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C • Execution:

  40. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C • Execution: Theorem: Given n nodes and discrepancy ε > log n/ √ n, 
 the running time of 3AM is O( polylog n ), 
 and the protocol is correct with high probability.

  41. A B Solving Majority Approximately C • 3-state Approximate Majority [AAE08] [DV12] • The protocol: A B A C B C B B C A A C • Execution: Theorem: Given n nodes and discrepancy ε > log n/ √ n, 
 the running time of 3AM is O( polylog n ), 
 and the protocol is correct with high probability. Error probability can be as high as constant for lower discrepancy.

  42. The Status Algorithm Reliability Speed Exact Slow 
 The Four-State Protocol (super-linear) The Three-State Protocol Flaky Fast 
 (Up to Constant Error) (poly-logarithmic)

  43. Average&Conquer Algorithm Reliability Speed Exact Slow 
 The Four-State Protocol (super-linear) The Three-State Protocol Flaky Fast 
 (Up to Constant Error) (poly-logarithmic) Average&Conquer [PODC 2015] Exact Fast 
 (poly-logarithmic)

  44. Average&Conquer Algorithm Reliability Speed Exact Slow 
 The Four-State Protocol (super-linear) The Three-State Protocol Flaky Fast 
 (Up to Constant Error) (poly-logarithmic) Average&Conquer [PODC 2015] Exact Fast 
 (Super-Constant State Space) 
 (poly-logarithmic)

  45. The Plan • Population Protocols • The Majority Problem • 4EM • 3AM • Average-and-Conquer (AVC) • Quantized AVC • Impossibility Results • Open Questions • Leader Election Problem

  46. Simplified AVC: Main Ideas • Each state corresponds to a value (“confidence level”) • Strong states (non-negative value): • Positive -> A • Negative -> B • Weak: value +/- 0 -m +m • All nodes start with absolute value m > 0 • +m if A • -m if B • Two interaction types: • Averaging : strong (non-zero) nodes average out their values • Conquer : strong (non-zero) nodes bring weak nodes to “their side” • Output: • If positive or +0 , then A • If negative or -0 , then B

Recommend


More recommend