Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drdeford/path_lifted_walks
Faster mixing on paths
https://github.com/drdeford/path_lifted_walks
Last synced: about 1 month ago
JSON representation
Faster mixing on paths
- Host: GitHub
- URL: https://github.com/drdeford/path_lifted_walks
- Owner: drdeford
- Created: 2019-05-14T18:47:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T19:09:19.000Z (over 5 years ago)
- Last Synced: 2023-05-11T09:23:31.218Z (over 1 year ago)
- Language: Python
- Homepage: https://people.csail.mit.edu/ddeford/lifted_walks.html
- Size: 120 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lifted Walks on Paths
This repo contains the source code for my interactive exploring Example 1.1 presented in the paper
Lifting Markov Chains to Speed up Mixing
by Chen, Lovasz, and Pak. The interactive tool and some additional discussion of the theoretical details are here. The tool computes an arbitrary projection of the cycle onto the path, shows that the stationary distribution is correct and then samples both walks to compare their respective mixing times.
The first two figures show the 6-path and 10-cycle with the nodes colored to correspond to a random projection from the cycle to the path, with the property that each endpoint of the path is mapped to by a single node of the cycle and each other node of the path is mapped to by two nodes of the cycle.
![alt text](https://github.com/drdeford/path_lifted_walks/blob/master/Figures/p6.png "The 6-path. ")![alt text](https://github.com/drdeford/path_lifted_walks/blob/master/Figures/cycle_random.png "A random projection. ")
The projection mapping here means that if we are on a particular color on the cycle, then we get mapped down to the correspondingly colored node on the path:
![alt text](https://github.com/drdeford/path_lifted_walks/blob/master/Figures/project_schematic.png "The projection schematic. ")
We can form a new random walk on the nodes of the path by randomly choosing one node of the same color on the cycle, moving to a neighbor along the cycle, and then projecting back down to the path, as shown below.
![alt text](https://github.com/drdeford/path_lifted_walks/blob/master/Figures/walk_schematicc.png "The lifted walk. ")
This new walk has the same stationary distribution as the simple random walk on the path but mixes more rapidly, even though the intermediate graph has more nodes than the original!