| Literature DB >> 33265675 |
Xin Wang1,2, Yi Zhang1, Kai Lu1,2, Xiaoping Wang1,2, Kai Liu1,2.
Abstract
The isomorphism problem involves judging whether two graphs are topologically the same and producing structure-preserving isomorphism mapping. It is widely used in various areas. Diverse algorithms have been proposed to solve this problem in polynomial time, with the help of quantum walks. Some of these algorithms, however, fail to find the isomorphism mapping. Moreover, most algorithms have very limited performance on regular graphs which are generally difficult to deal with due to their symmetry. We propose IsoMarking to discover an isomorphism mapping effectively, based on the quantum walk which is sensitive to topological structures. Firstly, IsoMarking marks vertices so that it can reduce the harmful influence of symmetry. Secondly, IsoMarking can ascertain whether the current candidate bijection is consistent with existing bijections and eventually obtains qualified mapping. Thirdly, our experiments on 1585 pairs of graphs demonstrate that our algorithm performs significantly better on both ordinary graphs and regular graphs.Entities:
Keywords: continuous-time quantum walk; data mining; graph isomorphism; graph mining; isomorphism mapping
Year: 2018 PMID: 33265675 PMCID: PMC7513114 DOI: 10.3390/e20080586
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.524
Figure 1Two pentagrams.
Continuous-time quantum walk (CTQW) on the left pentagram.
| Node | |||
|---|---|---|---|
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
CTQW on the right pentagram.
| Node | |||
|---|---|---|---|
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
|
| 0.3251 − 0.0740 | 0.3747 − 0.1674 | 0.3284 + 0.2593 |
Figure 2Each step of the Intuitive Method running on pentagrams. (a) The algorithm chose a and i. The generated graphs were the same, and thus was established. (b) The algorithm chose b and l. The generated graphs were the same, and thus was established.
Figure 3Each step of IsoMarking running on pentagrams. (a) The algorithm chose a and i. The generated graphs are the same, and thus, was established. (b) The algorithm chose b and l. With a and i marked, the new graphs were non-isomorphic and therefore, the bijection failed. (c) The algorithm chose b and h, and thus established . (d) The algorithm chose d and k, and then established . Note that the marked graphs are no more symmetric after the third step.
Information about the ordinary graph groups.
| Group Name | # of Graph Pairs |
| Average |
|---|---|---|---|
| Group 1 | 100 | 17 | 10.2353 |
| Group 2 | 100 | 34 | 4.5294 |
| Group 3 | 100 | 18 | 3 |
| Group 4 | 100 | 18 | 4.1111 |
| Group 5 | 100 | 20 | 3.8 |
| Group 6 | 100 | 10 | 3 |
Figure 4Accuracy results on ordinary graphs.
Information about the regular graph groups.
| Group Name | # of Graph Pairs |
|
|
|---|---|---|---|
| Group 7 | 100 | 30 | 3 |
| Group 8 | 149 | 16 | 3 |
| Group 9 | 100 | 14 | 4 |
| Group 10 | 200 | 14 | 3 |
| Group 11 | 100 | 11 | 6 |
| Group 12 | 100 | 11 | 4 |
| Group 13 | 85 | 12 | 3 |
| Group 14 | 60 | 10 | 5 |
| Group 15 | 32 | 20 | 3 |
| Group 16 | 59 | 10 | 4 |
Accuracy results for regular graphs.
| Group Name | Intuitive Method | IsoMarking | Qiang3 | Emms |
|---|---|---|---|---|
| Group 7 | 0.64 | 0.92 | 0.64 | 0 |
| Group 8 | 0.3758 | 0.8993 | 0.6846 | 0 |
| Group 9 | 0.28 | 0.68 | 0.56 | 0 |
| Group 10 | 0.28 | 0.87 | 0.585 | 0 |
| Group 11 | 0.44 | 0.86 | 0.83 | 0 |
| Group 12 | 0.4 | 0.9 | 0.83 | 0.02 |
| Group 13 | 0.1529 | 0.8353 | 0.5765 | 0.0118 |
| Group 14 | 0.15 | 0.85 | 0.6167 | 0 |
| Group 15 | 0 | 0.75 | 0 | 0.5 |
| Group 16 | 0.2203 | 0.7458 | 0.6102 | 0 |
Results of the peak memory cost.
| Group Name | Intuitive Method | IsoMarking | Qiang3 | Emms |
|---|---|---|---|---|
| Group 1 | 3.8203 MB | 3.6328 MB | 2.8750 MB | 3.9648 MB |
| Group 2 | 6.3867 MB | 4.6367 MB | 5.5000 MB | 39.9141 MB |
| Group 3 | 5.5078 MB | 4.6875 MB | 6.8242 MB | 7.2969 MB |
| Group 4 | 4.9492 MB | 5.8750 MB | 2.7578 MB | 9.6641 MB |
| Group 5 | 4.5000 MB | 3.0664 MB | 4.4453 MB | 4.4531 MB |
| Group 6 | 3.5000 MB | 3.8203 MB | 5.2500 MB | 3.6328 MB |
| Group 7 | 5.6367 MB | 6.1367 MB | 5.8125 MB | 21.1484 MB |
| Group 8 | 6.3750 MB | 1.5000 MB | 1.7930 MB | 3.2461 MB |
| Group 9 | 4.0000 MB | 7.0000 MB | 5.5625 MB | 4.6328 MB |
| Group 10 | 3.0664 MB | 3.3203 MB | 3.5000 MB | 2.9258 MB |
| Group 11 | 0.5938 MB | 0.6875 MB | 0.7500 MB | 1.0625 MB |
| Group 12 | 4.1992 MB | 3.5000 MB | 4.3125 MB | 6.8281 MB |
| Group 13 | 0.1250 MB | 0.1484 MB | 0.1523 MB | 0.3164 MB |
| Group 14 | 1.8750 MB | 3.7539 MB | 4.5000 MB | 0.5039 MB |
| Group 15 | 3.3750 MB | 3.3125 MB | 3.2500 MB | 6.8867 MB |
| Group 16 | 3.2500 MB | 2.0000 MB | 3.6250 MB | 0.5000 MB |
Results of the average running time.
| Group Name | Intuitive Method | IsoMarking | Qiang3 | Emms |
|---|---|---|---|---|
| Group 1 | 3.2654 s | 3.2171 s | 0.0108 s | 0.0969 s |
| Group 2 | 44.8457 s | 54.0828 s | 0.8583 s | 4.5173 s |
| Group 3 | 3.7842 s | 5.1633 s | 0.0141 s | 0.1277 s |
| Group 4 | 3.6923 s | 5.9058 s | 0.0141 s | 0.1221 s |
| Group 5 | 5.3259 s | 7.8721 s | 0.0162 s | 0.2217 s |
| Group 6 | 0.5962 s | 0.9774 s | 0.0062 s | 0.0106 s |
| Group 7 | 22.5406 s | 30.4999 s | 0.3093 s | 1.9541 s |
| Group 8 | 3.1396 s | 3.7451 s | 0.1894 s | 0.1843 s |
| Group 9 | 2.0971 s | 2.5978 s | 0.2170 s | 0.0489 s |
| Group 10 | 2.0007 s | 2.5475 s | 0.2040 s | 0.0501 s |
| Group 11 | 0.9494 s | 1.2719 s | 0.0892 s | 0.0278 s |
| Group 12 | 1.0031 s | 1.2552 s | 0.1000 s | 0.0232 s |
| Group 13 | 1.3539 s | 1.5960 s | 0.1858 s | 0.0260 s |
| Group 14 | 1.0457 s | 0.9848 s | 0.1669 s | 0.0181 s |
| Group 15 | 6.7206 s | 7.7323 s | 0.5846 s | 0.2707 s |
| Group 16 | 1.1468 s | 1.1151 s | 0.1750 s | 0.0204 s |