Abstract
Human travel patterns are commonly studied as networks in which the points of departure and destination are encoded as nodes and the travel frequency between two points is recorded as a weighted edge. However, because travelers often visit multiple destinations, which constitute pathways, an analysis incorporating pathway statistics is expected to be more informative over an approach based solely on pairwise frequencies. Hence, in this study, we apply a higher-order network representation framework to identify characteristic travel patterns from foreign visitor pathways in Japan. We expect that the results herein are mainly useful for marketing research in the tourism industry.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The number of foreign travelers has rapidly increased during the last several years. Therefore, the economy in Japan should be considerably affected by their travel dynamics. For marketers in the tourism industry, for example, a global view of their travel patterns is expected to be an informative piece of information.
Human mobility data are distributed by several organizations, and an analysis of mobility patterns has been an important topic in this regard. During the past decade, in particular, datasets based on records of mobile devices (Hossmann et al. 2011; Isaacman et al. 2012; Ganti et al. 2013) and geo-located tags in social networks (Hawelka et al. 2014; Zagheni et al. 2014; Spyratos et al. 2019) have been actively studied. The target scale ranges from an intramural or urban scale to an international scale (e.g., migration). In this paper, we describe a network analysis of travel pathways by foreign travelers in Japan.
1.1 Dataset
The dataset analyzed is a set of travel records of foreign travelers in Japan that is distributed by the Ministry of Land, Infrastructure, and Transport, called the FF-data (Flow of Foreigners-Data) [7]. In this dataset, the traveler pathways, i.e., the locations the travelers visited in chronological order, are recorded based on survey responses of the travelers themselves. FF-data are separated into yearly datasets; currently, datasets from 2014 through 2017 are available. Although these datasets contain various attributes of foreign visitors, we focus on identifying the macroscopic features of the travel pathways. As an interesting characteristic of such travel pathways, because Japan is surrounded by water and because the FF-data contain only the records of foreign travelers, all pathways start and end at airports or seaports.
1.2 Travel data as a network and as a memory network
It is common to characterize travel data as a network (Barbosa et al. 2018). A naive way to characterize travel data as a network is to represent the locations of a departure and destination as nodes and a transition of a traveler between two nodes as a directed edge. The result is typically a multigraph (a graph with multiple edges between a pair of nodes) because numerous travelers travel between the same pairs of locations.
However, such a network representation has a crucial limitation as it can only encode pairwise information among the nodes. Although some travelers visit more than one destination during their visit, the pathways are broken down into independent transitions between each pair of locations and are encoded as edges. For example, although the pathway from Tokyo to Osaka, followed by Osaka to Kyoto, is quite popular, presumably for tourists, the transition from Osaka to Kyoto is recorded independent of the transition from Tokyo to Osaka.
We instead conducted an analysis using a higher-order network representation called a memory network (Rosvall et al. 2014; Edler et al. 2017; Lambiotte et al. 2019) that incorporates the information of multiple transitions of each traveler. We identify densely connected components (sets of nodes) in a memory network and denote them as modules. A structure that consists of densely connected components is termed an assortative structure, and a method to identify an assortative structure is termed community detection.Footnote 1 Figure 1 shows a brief overview of the classified elements of traveler pathways. Note that the pathways are basically classified into modules of different regions. For example, however, because Tokyo is a hub for many different destinations, transitions containing Tokyo belong to many different modules. This is therefore an overlapping module structure.
Herein, we provide a brief introduction to a memory network; a formal definition of the memory network can be found in Rosvall et al. (2014) and Edler et al. (2017) and in Appendix A. An mth-order Markov (memory) network consists of state nodes and the directed edges between them. A state node represents the destination as well as its recent \(m-1\) transitions. For example, in a second-order Markov network, when a traveler moves from Osaka to Kyoto, we have a state node that places Kyoto as the destination with the memory of Osaka as the previous location. If the traveler left Tokyo before arriving at Osaka, we also have a state node that has Osaka as the destination with the memory of Tokyo, and these two state nodes are connected by a directed edge. Because many travelers travel along similar pathways, a memory network is typically a multigraph. From the viewpoint of a memory network, a simple network representation is categorized as a first-order Markov network or a memoryless network. The actual locations are referred to as physical nodes in a memory network. The destination of a state node is regarded as a physical node to which a state node belongs. As a community detection algorithm for memory and memoryless networks, we employ the Infomap [12] that optimizes an objective function called the map equation (Rosvall and Bergstrom 2008, 2011) (see Appendix A for a brief introduction of the map equation).
To better understand the community detection on memory networks, let us consider some specific pathways in second-order Markov networks. We denote a state node corresponding to a transition from location i to location j as \(\overrightarrow{ij}\). If a traveler moves from i to j and he/she moves back to i again (i.e., a backtracking pathway) as shown in Fig. 2a (top), we have a directed edge from \(\overrightarrow{ij}\) to \(\overrightarrow{ji}\) (Fig. 2a (bottom)). In contrast, when we have asymmetric pathways, as shown in Fig. 2b (top), the state nodes of opposite directions are not connected (Fig. 2b (bottom)). Note, however, that even when the backtracking pathway is absent and pathways are asymmetric, \(\overrightarrow{ij}\) and \(\overrightarrow{ji}\) can be (indirectly) connected; the pathways and the corresponding network element shown in Fig. 2c is such an example. When the pathways in Fig. 2a, c are popular, \(\overrightarrow{ij}\) and \(\overrightarrow{ji}\) are likely to belong to the same module.
It should be noted that, although representing a dataset using a memoryless network can incur a significant loss of information, it is occasionally sufficient, depending on the dataset and purpose of the analysis. Furthermore, even when a record of multiple transitions is not explicitly encoded in a network, it may be possible to infer similarities among nodes in some sense from such a simple network. For example, when every pair of nodes is connected by a considerably large number of edges within a certain node set, we can trivially conclude that those nodes are similar to each other. Therefore, before moving on to an analysis of a second-order Markov network, we first investigate the basic statistics and a first-order Markov network of the FF-data to determine whether a higher-order network representation is necessary for an extraction of a module structure.
2 Network analysis of travel pathways
2.1 Basic statistics
Let us first look at the basic statistics of the FF-data. In Table 1, we summarized the numbers of destinations (including the airport and seaport first visited), travelers, unique pathways (i.e., itineraries), and unique edges (first and second order, respectively), as well as the median, lower and upper quartiles of the pathway lengths (number of steps of transitions), and weights. The distributions of the pathway lengths and weights are shown in Fig. 3. We define the weight of a pathway as the number of travelers who traveled along exactly the same pathway. (This should not be confused with the weight of a memory network, which is defined as the number of transitions occurring between two state nodes.) It is confirmed that both distributions are heavily tailed and a considerable number of travelers travel to more than two destinations. This observation implies that there is no evident cutoff length and weight of the pathways or a characteristic scale of the length and weight that we should consider. In other words, apparently, multiple pathway lengths significantly contribute on pathway structures. Therefore, the first-order Markov network may be inadequate for a correct understanding of travel pathways because it only takes into account the one-step transitions.
2.2 First-order Markov network
We then consider the community detection of the first-order Markov network. Here, we focus on the dataset of 2017. Figure 4 shows the partitioning of 47 prefectures, 33 airports, and 4 seaports in Japan. The corresponding adjacency matrix is shown at the bottom right; each element is a node pair, and the color depth indicates the weight of an edge. Note that the FF-data includes transitions within a prefecture, indicating self-loops in the first-order Markov network. The order of the node labels is sorted based on the modules identified using the Infomap and each module is specified by a blue box. It is confirmed that the Infomap identifies an assortative module structure on the first-order Markov network. The modules apparently correspond to the geographical regions in Japan: Hokkaido, Tohoku, Chyuetsu, Kanto, Chubu, Kansai, Chugoku, Shikoku, Northern Kyushu, and Southern Kyusyu with Okinawa regions.
Although the present results may sound reasonable, there is an important concern. Notice that all airports and seaports belong to the module of the region where the airport or seaport is located. This observation implies that the present result is simply dominated by the transition from-to airports and seaports. If this is the case, then the result may not reflect any informative travel patterns. This is further confirmed because the result of community detection is considerably varied by removing the airport and seaport nodes. Moreover, we have also confirmed that the module boundaries of the first-order Markov network can be reproduced with high accuracy by a simple label aggregation based on the module labels of the airport nodes. These results are shown in Appendix B. Based on this, we move to an analysis of the second-order Markov networks.
2.3 Second-order Markov network
Here, we classify the state nodes of the second-order Markov networks into modules using the Infomap, which can be directly applied to higher-order Markov networks. Figure 5 shows the adjacency matrix of a subgraph in the second-order Markov network corresponding to the dataset in 2017. The state nodes in the subgraph are extracted such that each state node belongs to one of the eight largest modules and has a total edge weight to other state nodes (i.e., degree) larger than 300. The matrix elements are sorted based on the module assignments.
Note that there are forbidden edges in the second-order Markov networks. For example, when an edge is present from state node \(\alpha\) to state node \(\beta\), an edge in the opposite direction is prohibited because such an edge does not constitute a pathway, e.g., for \(\alpha = \mathrm {Tokyo}\rightarrow \mathrm {Osaka}\) and \(\beta = \mathrm {Osaka}\rightarrow \mathrm {Kyoto}\), \(\beta\) to \(\alpha\) is not possible because a traveler cannot be at Kyoto and Tokyo at the same time. Analogously, the edges of both directions are prohibited when neither of them constitutes a pathway. The elements corresponding to the forbidden edges are indicated in gray in Fig. 5.
It is confirmed that the Infomap identifies an assortative structure on top of the constraint of the forbidden edges. Larger-sized modules exhibit assortative structures, even though the edges to different modules are not strictly prohibited. In contrast, the modules of a relatively smaller size are identified owing to a severe constraint of the forbidden edges.
Let us then explore the identified module structure in more detail. Figure 1 shows popular transitions that appear in the four largest modules. The arrows of the same color represent transitions within the same module. The color depth of an arrow distinguishes the prior (lighter color) and destination (deeper color) physical nodes. The thickness of each arrow reflects the weight of a transition measured based on the flow (PageRank) in the outcome of the Infomap.
We show the Sankey diagrams of the four largest modules in Fig. 6. The locations on the left-hand side of each diagram represent the physical nodes visited before arriving at the (physical) destination nodes; we refer to them as prior nodes. Conversely, the locations on the right-hand side of each diagram represent the destination nodes. It is confirmed that, for example, the transition from Kyoto to Tokyo appears in Module 1, while the transition from Tokyo to Kyoto appears in Module 2 (see Fig. 2 and the corresponding part in Sect. 1.2 for the implication). It is also confirmed that the prior nodes and the destination nodes are strongly asymmetric in Module 3. In contrast, the prior nodes and destination nodes in Modules 2 and 4 are relatively symmetric. These observations imply that the visits of locations in Module 3 are direction-sensitive, while those in Modules 2 and 4 are less direction-sensitive.
3 Stationarity of the modules
The readers may wonder if the identified modules in the second-order Markov network are “significant”. It should be noted here that in this study, we did not perform community detection as a task of statistical inference. That is, we only used the Infomap as a tool to propose several informative node sets that exhibit an assortative structure.
However, we still need to assess which of the identified modules are informative. For example, a number of small modules are identified as a result of the Infomap (although we only show large modules in this paper), and it is doubtful whether they are worth further consideration. These small modules might have appeared because of the algorithmic infeasibility of the optimization algorithm, or they might have emerged because of the random nature of the network. In fact, by comparing the randomness assumed in the map equation (Smiljanić et al. 2019), a statistical assessment of significance should be possible. However, we should also note that, because the memory network of the FF-data must be strongly affected by the geographic constraint and the use of airports, the plausibility of the statistical model is also a considerable issue.
Therefore, instead of assessing the statistical significance, we assess the significance of the identified modules based on the consistency (Kawamoto and Kabashima 2018). By using the Sankey diagram,Footnote 2 we assess whether the modules are stationary in the FF-data across different years. Because it is unlikely that the module structures largely differ in reality, if it happens, we should conclude that the modules are simply identified out of noises. Figure 7 indicates that, for larger modules among the ones focused upon in Sect. 2.3, nearly the same modules are indeed identified in all datasets. From these observations, we conclude that the large modules considered in Sect. 2.3 are informative.Footnote 3
4 Conclusion
Based on the observation that the FF-data apparently have structures that cannot be explained by a simple network representation, we revealed the module structure of the travel pathways of foreign visitors using the framework of the memory network and the map equation (and the Infomap as the specific algorithm).
The results herein offer a better understanding of the travel patterns of foreign visitors. When travel patterns are utilized for deciding government policies or marketing research in the tourism industry, it is important to recognize whether a travel to/from a particular location is considerably conditioned on the location visited previously/later. It would be difficult to identify such a feature by skimming through the raw FF-data. Moreover, for the pathways that are highly correlated, the results of memoryless network approaches are not very reliable. The present analysis based on the second-order Markov networks successfully revealed dependencies on the previously/later visited locations.
We expect that the results described herein will be even more useful by relating the identified modules with regional factors. For example, it is interesting to investigate how the modules are correlated to the amount of consumption by tourists and the degree of development of public transportation in each prefecture.
It is difficult to forecast whether the structures we found will exist in the future, particularly during an era in which the way people live and travel is drastically changing. In any case, however, we expect that our results will serve as a reference for future data analysis of traveling patterns.
Data availability
The results of community detection described in this paper are available at [18].
Notes
In this paper, a module is loosely defined in a narrow sense. As we briefly mention in Appendix A.2, the community detection algorithm that we use for memory networks is not directly designed to identify densely connected components. Thus, an outcome of community detection may indicate a more general module structure. Nevertheless, we define modules as densely connected components (as a structure that we focus on). Moreover, strictly speaking, we would need to specify what we mean by “densely connected” exactly. When the problem is treated as an inference problem (instead of an optimization problem), we would also need to assess whether the identified modules are statistically significant. However, we treat a module as an object that is not strictly defined. As we will also mention in Sect. 3, we only use community detection to propose a set of components that may be interpreted as modules in the sense of densely connected components. Therefore, although we refer to the identified components as modules for simplicity, it is more precise to describe them as candidates of modules. In other words, we do not define modules as an outcome of an algorithm.
Of course, there is a possibility that modules are stationary even when the algorithm only captures noise. This assessment is still very loose. However, the result here indicates that we cannot positively conclude that the identified modules are only due to noise.
Although the direction is already encoded between a pair of states, edges also have directions in the memory network.
Note that “minimum” here indicates the minimum among all possible encoding algorithms and should not be confused with the minimum among all possible module labeling. The map equation aims to identify the minimum of the average minimum description length.
We could remove the initial transitions instead of the final ones. In either case, the connectivity between two nodes will be affected if they are connected via airports and seaports.
Again, we used Alluvial Generator.
For the pin icons corresponding to the seaports in Fig. 10, we assigned the module label obtained by the Infomap.
References
Barbosa, H., Barthelemy, M., Ghoshal, G., James, C. R., Lenormand, M., Louail, T., et al. (2018). Human mobility: Models and applications. Physics Reports, 734, 1.
Edler, D., Bohlin, L., & Rosvall, M. (2017). Mapping higher-order network flows in memory and multilayer networks with infomap. Algorithms, 10(4), 112.
Ganti, R., Srivatsa, M., Ranganathan, A., Han, J. (2013). In Proceedings of the 2013 ACM international joint conference on pervasive and ubiquitous computing. Association for Computing Machinery, New York, NY, USA, UbiComp’ 13, p. 459.
Hawelka, B., Sitko, I., Beinat, E., Sobolevsky, S., Kazakopoulos, P., & Ratti, C. (2014). Geo-located twitter as proxy for global mobility patterns. Cartography and Geographic Information Science, 41(3), 260. (PMID: 27019645) .
Hossmann, T., Spyropoulos, T., Legendre, F. (2011). In 2011 IEEE Conference on computer communications workshops (INFOCOM WKSHPS), pp. 876–881
https://github.com/RyutaroHashimoto/community_detection_of_FF-data.
Isaacman, S., Becker, R., Cáceres, R., Martonosi, M., Rowland, J., Varshavsky, A., Willinger, W. (2012). In Proceedings of the 10th international conference on mobile systems, applications, and services. Association for Computing Machinery, New York, NY, USA ), MobiSys’ 12, p. 239.
Kawamoto, T., & Kabashima, Y. (2018). Comparative analysis on the selection of number of clusters in community detection. Physical Review E, 97, 022315.
Lambiotte, R., Rosvall, M., & Scholtes, I. (2019). From networks to optimal higher-order models of complex systems. Nature Physics, 15(4), 313.
Retrieved from August 15, 2020 https://www.mapequation.org/.
Retrieved from August 15, 2020 https://www.mlit.go.jp/sogoseisaku/soukou/sogoseisaku_soukou_fr_000022.html.
Rosvall, M., & Bergstrom, C. (2008). Maps of random walks on complex networks reveal community structure. Proceedings of the National Academy of Sciences, 105(4), 1118.
Rosvall, M., & Bergstrom, C. T. (2010). Mapping change in large networks. PLoS One, 5(1), e8694.
Rosvall, M., & Bergstrom, C. T. (2011). Multilevel compression of random walks on networks reveals hierarchical organization in large integrated systems. PLoS One, 6(4), e18209.
Rosvall, M., Esquivel, A. V., Lancichinetti, A., West, J. D., & Lambiotte, R. (2014). Memory in network flows and its effects on spreading dynamics and community detection. Nature Communications, 5, 4630.
Smiljanić, J., Edler, D., Rosvall, M. (2019). Mapping flows on sparse networks with missing links. arXiv preprint arXiv:1912.05377.
Spyratos, S., Vespe, M., Natale, F., Weber, I., Zagheni, E., & Rango, M. (2019). Quantifying international human mobility patterns using facebook network data. PLoS One, 14(10), 1.
Zagheni, E., Garimella, V. R. K., Weber, I., State, B. (2014). In Proceedings of the 23rd international conference on world wide web. Association for Computing Machinery, New York, NY, USA, WWW’ 14 Companion, p. 439.
Acknowledgements
This work was supported by the New Energy and Industrial Technology Development Organization (NEDO).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Memory networks and the map equation
In this section, we briefly review the formulations of the memory network (Rosvall et al. 2014; Edler et al. 2017) and the map equation (Rosvall and Bergstrom 2008, 2011) used to analyze the FF-data.
1.1 Memory networks
A memory network is a higher-order network representation that incorporates information of multi-step transitions, or pathways. Given a set of pathways as inputs, the memory networks are constructed as a directedFootnote 4 weighted network. Throughout this article, we assume that the pathways are formed as the result of non-Markovian (i.e., stochastic) dynamics, even if the actual pathways are not strictly constructed in a stochastic manner.
1.1.1 Definitions and notations
As mentioned in Sect. 1.2, the actual nodes (locations) are referred to as physical nodes in contrast to the state nodes, which are considered in the memory network. Following the convention in Refs. Rosvall et al. (2014) and Edler et al. (2017), we used Roman characters for physical nodes and Greek characters for state nodes. We denote a pathway, i.e., a history of visited physical nodes, as follows.
This indicates that a pathway labeled \(\mu\) is a record in which transitions have occurred in order of \(i \rightarrow j \rightarrow k \rightarrow \ell\). A physical node in a pathway is called a state. Example pathways on a few physical nodes are shown in Fig. 8.
State nodes. We call a subset of a pathway a path. The state node is a node that represents a path of a specified length. For example,
is the state node corresponding to the path that has k as the physical destination node in the pathway \(\mu\). The length of a path recorded in a state node depends on the order of non-Markovianity considered. In a memory network of mth-order Markov dynamics, a set of state nodes consists of paths with \(m-1\) step transitions.
Note that a state node is a unique object with respect to the series of states; that is, if multiple pathways have a common path \(\overrightarrow{ijk}\), it is uniquely denoted as \(\alpha _{k}\) irrespective of the pathway to which the path belongs. Note also that the path \(\alpha _{k}\) is indexed by \(\alpha\), and not k. The role of subscript k is to clarify the correspondence between the state node and the physical destination node; as the interpretation of \(\overrightarrow{ijk}\), the state node exists in physical node k with the memory of the previously visited nodes i and j.
Edges. A pair of state nodes are connected by a directed edge in a memory network when the last \(m-1\) states of one state node are equal to the first \(m-1\) states of the other state node in a single pathway; that is, a set of subsequent paths is connected. For example, in third-order Markov dynamics, shown in Fig. 8, state nodes \(\beta _{k}\) and \(\beta _{\ell }\) are connected by a directed edge, whereas the other paths are not.
1.2 The map equation
The map equation (Rosvall and Bergstrom 2008, 2011) is a popular community detection method that utilizes the minimum average description length of a random walker on a network. The map equation is a framework that takes the transition rates between nodes as input and aims to identify the optimum module structure.
Roughly speaking, the map equation uses a hierarchical encoding for the description of a random walker trajectory. Instead of simply using the node labels to record the movement of a random walker, the map equation uses hierarchical module labels. By optimally selecting the hierarchical module labels on nodes and transitions, we can obtain an efficient description of the trajectory of a random walker. The optimum module labels are interpreted as the result of community detection in the map equation. Importantly, we do not need to actually allow a random walker to run on a network or specify the coding algorithm to describe the walkers? trajectory. In the stationary limit, for a given module labeling, the minimum description lengthFootnote 5 per unit time can be calculated analytically using the transition rates between nodes and modules.
Although the map equation was originally formulated as a community detection method for memoryless dynamics on a network, using the memory network representation, the applicability of the map equation can be directly extended to the case of non-Markov dynamics.
Further analysis of the first-order Markov network
In this section, we investigate the plausibility of our hypothesis that the modules identified by the Infomap on the first-order Markov network are dominated by airports and seaports. To this end, we compare the community detection of the following networks with the original one:
-
The first-order Markov network in which we removed the airports and seaports in the dataset
-
The first-order Markov network in which we removed the final transition of each traveler (because all travelers finally move toward an airport or seaportFootnote 6)
The right part of the Sankey diagramFootnote 7 in Fig. 9 shows that the modules identified in the network without airport and seaport nodes are considerably distinct from those of the original first-order Markov network. The left part of the Sankey diagram shows that the module assignments are still distinct even if we remove the effect of transition to the airports and seaports at the end of the pathways. The result here is not a proof that the modules in the first-order Markov networks are not informative. However, it is evident that the modules are considerably affected by airports and seaports.
To further confirm our hypothesis, we show that the module boundaries of the first-order Markov network can be reproduced with high accuracy by the following simple label aggregation. For each node corresponding to an airport, we assign the module label obtained by the Infomap. Then, for other nodes corresponding to the cities and prefectures, we assign the same module label as that of the neighboring airport node with the largest edge weight (every city/prefecture node is connected to at least one airport node). Although the nodes corresponding to the seaports are neglected in this label aggregation, their contribution is negligible even if they are included.
Figure 10 shows the result of the aforementioned label aggregation. Indeed, except for three prefectures (Iwate, Nagano, and Tokushima), we obtained the same module assignments as those of the Infomap.Footnote 8 Note that this label aggregation itself is not a community detection algorithm, because we need to specify the module assignments of the airport nodes. The present analysis indicates, however, that the behavior of the community detection on the first-order Markov network can be well-described by our hypothesis.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Kawamoto, T., Hashimoto, R. Identifying macroscopic features in foreign visitor travel pathways. JER 72, 129–144 (2021). https://doi.org/10.1007/s42973-020-00058-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42973-020-00058-4