Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Aug 8;15(1):29030.
doi: 10.1038/s41598-025-14843-x.

Discovering activity transition patterns in social media check-in behavior via temporal activity motifs

Affiliations

Discovering activity transition patterns in social media check-in behavior via temporal activity motifs

Rui Zhao et al. Sci Rep. .

Abstract

Location-Based Social Network (LBSN) has produced a large quantity of user check-in data. A profound understanding of user behavior and intrinsic needs can be achieved by identifying patterns in activity type transitions, thereby enabling more intelligent location-based services. We proposed temporal activity motif and used this structure to identify frequent activity type transition patterns from check-in sequences, discovering the relationship and interaction between different activity types. 383 temporal activity motifs of 17 temporal topologies were extracted from the two-year Gowalla dataset of New York-Newark-Jersey City, NY-NJ-PA Metropolitan Statistical Area (MSA). These motifs are categorized into two groups: one is sequential motifs representing a complete activity process, while the other is non-sequential motifs representing the co-occurrence of two separate processes. They provide evidence of activity type recurrence, particularly in longer activity processes, highlights the cyclical nature of human mobility. Additionally, various activity types exhibit different influences on others and occupy different positions in activity processes. Furthermore, by leveraging non-sequential motifs, we specifically uncovered the co-occurrence patterns between two separate activity process. These findings bring new insights to optimize recommendation system and urban planning.

Keywords: Activity sequence; Activity type transition; Check-in data; Location-based social network; Temporal activity motif; Temporal motif.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Temporal activity motif and its two key features.
Fig. 2
Fig. 2
The schematic diagrams of 17 temporal topologies and the number of their occurrences in the dataset (i.e., the number of activity sequences containing them).
Fig. 3
Fig. 3
The activity type distributions in Line (a), Ring (b), and Triple_line (c) motifs. The distribution of activity type transitions is shown in the heat map, where rows represent types of node A and columns represent types of node B. The type distributions of each single node are shown in bar charts on the left side and top of the heat maps.
Fig. 4
Fig. 4
The activity type distributions in Chain (a, b), Triad (c, d), Star_pre (e, f), and Star_pos (g, h) motifs. The distributions of activity type transitions are shown in a series of grouped pie charts in (a, ce, g), where rows represent types of node B, columns represent types of node C, colors of the pie represent types of node A, and pie sizes represent numbers of occurrence of specific motifs in dataset. The type distributions of nodes A to C are shown in bar charts in (b, df, h).
Fig. 5
Fig. 5
The Cumulative Occurrence Ratio of motifs with different typical travel demands in three-node temporal topologies (Chain, Star_pre, Star_pos, and Triad).
Fig. 6
Fig. 6
Schematic diagrams of nine Triple_chain motifs.
Fig. 7
Fig. 7
The activity type distribution of transitions of two-edge non-sequential motifs. High values are labeled with lowercase letters, with ‘a’ representing the number of occurrences greater than 500, ‘b’ between 400 and 500, ‘c’ between 300 and 400, and ‘d’ between 200 and 300. Each row represents a type of transition A→B, and each column represents a type of transition C→D. Node B is the end of the previous process, and node C is the beginning of the subsequent process. They form the bridging mode in non-sequential motifs. Motifs within the same large grid share a bridging pattern, meaning the types of B and C are identical.
Fig. 8
Fig. 8
Methodological framework of the study.

Similar articles

  • Short-Term Memory Impairment.
    Cascella M, Al Khalili Y. Cascella M, et al. 2024 Jun 8. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. 2024 Jun 8. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. PMID: 31424720 Free Books & Documents.
  • Sexual Harassment and Prevention Training.
    Cedeno R, Bohlen J. Cedeno R, et al. 2024 Mar 29. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. 2024 Mar 29. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. PMID: 36508513 Free Books & Documents.
  • Eliciting adverse effects data from participants in clinical trials.
    Allen EN, Chandler CI, Mandimika N, Leisegang C, Barnes K. Allen EN, et al. Cochrane Database Syst Rev. 2018 Jan 16;1(1):MR000039. doi: 10.1002/14651858.MR000039.pub2. Cochrane Database Syst Rev. 2018. PMID: 29372930 Free PMC article.
  • Idiopathic (Genetic) Generalized Epilepsy.
    McWilliam M, Asuncion RMD, Al Khalili Y. McWilliam M, et al. 2024 Feb 12. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. 2024 Feb 12. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan–. PMID: 31536218 Free Books & Documents.
  • The Lived Experience of Autistic Adults in Employment: A Systematic Search and Synthesis.
    Thorpe D, McKinlay M, Richards J, Sang K, Stewart ME. Thorpe D, et al. Autism Adulthood. 2024 Dec 2;6(4):495-509. doi: 10.1089/aut.2022.0114. eCollection 2024 Dec. Autism Adulthood. 2024. PMID: 40018061 Review.

References

    1. Preoţiuc-Pietro, D. & Cohn, T. Mining user behaviours: a study of check-in patterns in location based social networks. in Proceedings of the 5th annual ACM web science conference, 306–315 (2013).
    1. Yang, D., Zhang, D., Zheng, V. W. & Yu, Z. Modeling user activity preference by leveraging user Spatial Temporal characteristics in LBSNs. IEEE Trans. Syst. Man. Cybernetics: Syst.45, 129–142 (2014).
    1. Cho, Y. S., Ver Steeg, G. & Galstyan, A. Where and why users check in. in Proceedings of the AAAI Conference on Artificial Intelligence (2014).
    1. Wu, L., Zhi, Y., Sui, Z. & Liu, Y. Intra-urban human mobility and activity transition: Evidence from social media check-in data. PloS One. 9, e97010 (2014). - PMC - PubMed
    1. Qiao, X. et al. Recommending nearby strangers instantly based on similar check-in behaviors. IEEE Trans. Autom. Sci. Eng.12, 1114–1124 (2014).

LinkOut - more resources