GoSS-Rec: Group-Oriented Segment Sequence Recommendation
Abstract
1. Introduction
2. Related Works
Sports Recommender Systems
3. Proposed Approach
3.1. System Design and Architecture
- (1)
- Data Extraction. This component is responsible for gathering historical and live cycling data from the Strava API.
- (1.1)
- Activity Capture. Strava uses devices such as GPS-enabled cycling computers, smartphones, and smartwatches to track users’ rides, which generates activity records on the Strava platform.
- (1.2)
- Data Extraction. This component employs the Strava API v3 to access detailed activity records, segments, athlete profiles, and club memberships, ensuring comprehensive data retrieval.
- (2)
- Processing and Load. This phase utilizes advanced analytics to discern patterns and preferences from the collected data, which informs sequence predictions.
- (2.1)
- Cleaning and Restructuring. The raw data is cleaned to remove any anomalies and restructured into a suitable format that serves as input to the training models.
- (2.2)
- Grouping. Cyclists are grouped based on their Strava club membership, allowing the system to identify common preferences within each group.
- (2.3)
- Sequence. The sequences of past rides are analyzed to determine popular routes and segments frequently chosen by the group.
- (3)
- GoSS-Rec. The recommender system implements the GoSS-Rec algorithm, and dynamically generates route suggestions that resonate with the group’s historical and current activity data.
- (3.1)
- Group Sequences. The model uses the group’s past ride sequences to predict future preferences.
- (3.2)
- Segment Recommendation. Based on the analyzed sequences, the engine recommends specific route segments.
- (3.3)
- Route. Cyclists can view recommended routes on a map interface, including GPS-tracked routes.
3.2. Preliminaries and Problem Statement
- star_count: The count of stars or ratings given to this segment by users, which often indicates its popularity or quality.
- effort_count: The total number of efforts made on this segment by all athletes.
3.3. Group-Oriented Segment Sequence Algorithm
Algorithm 1 Group-oriented Segment Sequence Recommendation (GoSS-Rec) |
Require: : Historical route sequences of all users. Require: : Group of users to recommend. Require: : pre-train model sequence recommendation. 1: Define n, in base historical users. 2: Initialize sequence of segments for . 3: Initialize . 4: the end_index of the first segment. 5: generate sequence recommendation. 6: for i from 1 to do 7: Append segment to 8: Append segment Join segment to to 9: end for 10: Return as the recommended sequence of segments for group , and is cycling route path. |
3.4. Sequence Model Recommendation
- PopRec. It is the simplest baseline that ranks items according to their popularity judged by the number of interactions (i.e., number of associated actions, views, purchases, or interactions that the items have received).
- MDP (Markov Decision Processes). MDP-based RSs can adapt to changing user preferences and evolving item catalogs by continuously updating their policies based on user interactions [16].
- FPMC (Factorized Personalized Markov Chains). It is a hybrid RS that combines Matrix Factorization with first-order Markov. FPMC captures long-term preferences and dynamic transitions, respectively [17].
- Prod2vec. Recommendations are created by returning the k-nearest neighbors of the last items in the user profile, whose relevance is weighted using a simple exponential decay. That is, the last item in the user profile is the most relevant, and the first item is the least relevant [18].
- KNN (K-Nearest Neighbors). The method considers the last item of a given session and then returns, as recommendations, those items that most resemble it in terms of their co-occurrence in other sessions [18].
- SASREC (Self-Attentive Sequential Recommendation). It is a sequential next-item recommendation method based on the left-to-right transformer architecture. This strategy employs the multi-head self-attention mechanism to capture users’ sequential behaviors and interactions [19].
3.5. Evaluation Metrics
3.5.1. Sequence Metric
3.5.2. Novelty and Diversity
4. Experiments
4.1. Dataset
4.2. Activity Records
4.3. Segment Information
4.4. Clubs
4.5. Experimental Setup
- (a)
- Groups with 2 to 5 users, to test the performance of each recommendation method on small groups of users.
- (b)
- Groups with 6 to 23 users, to test the performance of each recommendation method on large groups of users.
- (c)
- All groups with an average of 10 segments per activity, representing the average number of segments per user activity in the dataset.
5. Results
- As shown in Figure 5, larger groups generally achieve higher NDCG@10 scores. This trend reflects the algorithm’s improved capacity to identify shared preferences as group size increases, while smaller groups introduce greater heterogeneity, which can challenge convergence in consensus-based recommendation.
- Across small, large, and all group categories, Prod2vec achieves the highest novelty scores (Figure 6). This indicates that Prod2vec effectively recommends segments that users have not previously encountered, enhancing exploratory behavior and reducing the popularity bias typical of many recommendation algorithms. Its embedding-based architecture captures fine-grained relationships between segments, which enables it to diversify recommendations beyond commonly visited paths. This is particularly valuable in sports scenarios, where maintaining engagement through discovery of new routes is critical to user satisfaction and long-term, available online: Strava Segments Prod2Vec (accessed on 9 July 2025).
- SASRec and KNN achieve top performance in NDCG@10, indicating their strength in optimizing short-term ranking accuracy. In detail, for small groups, KNN leads with NDCG@10 = 0.7816. For large groups, Prod2vec slightly outperforms SASRec (0.8375 vs. 0.7818), but SASRec maintains consistent high scores across all groups. For all groups, KNN still leads with 0.7805, followed by Prod2vec (0.7755) and SASRec (0.7246). This suggests that KNN and SASRec excel at placing relevant segments at the top of recommendation lists, making them suitable when immediate relevance and short-term engagement are primary goals. While they may not offer the diversity or novelty of Prod2vec, their ranking optimization benefits applications where accuracy and user alignment are more important than exploration.
- MDP outperforms others in diversity for small and all groups, indicating the impact of probabilistic sequence modeling in capturing behavior variety. The findings report that for small groups, MDP achieves the highest diversity score of 0.2123, for all groups, MDP again leads with diversity of 0.2082, finally, for large groups, FPMC slightly outperforms MDP (0.2304 vs. 0.1839). The use of first-order Markov decision processes in MDP allows it to recommend items that are less frequently co-occurring but contextually relevant, resulting in greater intra-list variation. This makes MDP particularly effective for small or moderately diverse groups where user preferences diverge, and where static embedding methods may overfit to dominant behaviors. While its ranking accuracy is moderate, the model’s capability to foster diversity supports broader engagement and satisfaction in group settings with variable dynamics.
5.1. Discussion
5.1.1. Novelty and Diversity in Groups
- Increased Heterogeneity of Preferences. The diversity of preferences and interests among group members enhances the recommendation system’s ability to introduce novel items that cater to different tastes. Consequently, the system is more likely to suggest routes or segments that some members might not have previously considered, increasing novelty. Exploring new segments offers multiple benefits, such as diversifying route choices, enhancing the user experience by tailoring recommendations to group dynamics and past activities, and encouraging exploration and discovery of new paths. This, in turn, keeps members engaged and motivated to participate actively.
- Rich Group Activities. A broader collective interaction history, covering a wide range of activities and routes, allows the recommendation algorithm to identify and suggest a more diverse set of segments. This contributes to greater variety in recommendations, enhancing the overall experience by promoting dynamic, less redundant and engaging route selection. A more extensive interaction history enables the system to capture nuanced patterns in group behavior, ensuring that suggestions remain relevant while also fostering exploration of new areas. These dynamics emphasize the importance of designing group-aware algorithms that not only maximize consensus but also support exploration and personalization at the group level.
5.1.2. Contributions of GoSS-Rec Algorithm on Sports Recommender Systems
6. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
OSFNs | Online Social Fitness Networks |
RSs | Recommender Systems |
GRS | Group Recommender Systems |
NDCG | Normalized Discounted Cumulative Gain |
References
- Rivers, D.J. Strava as a discursive field of practice: Technological affordances and mediated cycling motivations. Discourse Context Media 2020, 34, 100345. [Google Scholar] [CrossRef]
- Lupton, D.; Pink, S.; Heyes LaBond, C.; Sumartojo, S. Digital traces in context: Personal data contexts, data sense, and self-tracking cycling. Int. J. Commun. 2018, 12, 647–666. [Google Scholar]
- Carter, S.; Green, J.; Speed, E. Digital technologies and the biomedicalisation of everyday activities: The case of walking and cycling. Sociol. Compass 2018, 12, e12572. [Google Scholar] [CrossRef]
- Alcaraz-Herrera, H.; Cartlidge, J.; Toumpakari, Z.; Western, M.; Palomares, I. EvoRecSys: Evolutionary framework for health and well-being recommender systems. User Model. User Adapt. Interact. 2022, 32, 883–921. [Google Scholar] [CrossRef]
- Wu, M.; Kolen, J.; Aghdaie, N.; Zaman, K.A. Recommendation applications and systems at electronic arts. In Proceedings of the Eleventh ACM Conference on Recommender Systems, Como, Italy, 27–31 August 2017; p. 338. [Google Scholar]
- Smyth, B.; Lawlor, A.; Berndsen, J.; Feely, C. Recommendations for marathon runners: On the application of recommender systems and machine learning to support recreational marathon runners. User Model. User Adapt. Interact. 2022, 32, 787–838. [Google Scholar] [CrossRef] [PubMed]
- Ni, J.; Muhlstein, L.; McAuley, J. Modeling Heart Rate and Activity Data for Personalized Fitness Recommendation. In Proceedings of the The World Wide Web Conference (WWW ’19), San Francisco, CA, USA, 13–17 May 2019; pp. 1343–1353. [Google Scholar] [CrossRef]
- Ivanova, I.; Wald, M. Recommender Systems for Outdoor Adventure Tourism Sports: Hiking, Running and Climbing. Hum. Centric Intell. Syst. 2023, 3, 344–365. [Google Scholar] [CrossRef]
- Felfernig, A.; Wundara, M.; Tran, T.N.T.; Le, V.M.; Lubos, S.; Polat-Erdeniz, S. Sports recommender systems: Overview and research directions. J. Intell. Inf. Syst. 2024, 62, 1125–1164. [Google Scholar] [CrossRef]
- Pilloni, P.; Piras, L.; Boratto, L.; Carta, S.; Fenu, G.; Mulas, F. Recommendation in persuasive eHealth systems: An effective strategy to spot users’ losing motivation to exercise. In Proceedings of the CEUR Workshop Proceedings, Como, Italy, 27–31 August 2017; Volume 1953, pp. 6–9. [Google Scholar]
- Sanchez, F.; Alduan, M.; Alvarez, F.; Menéndez, J.M.; Baez, O. Recommender system for sport videos based on user audiovisual consumption. IEEE Trans. Multimed. 2012, 14, 1546–1557. [Google Scholar] [CrossRef]
- Roanes-Lozano, E.; Casella, E.A.; Sánchez, F.; Hernando, A. Diagnosis in tennis serving technique. Algorithms 2020, 13, 106. [Google Scholar] [CrossRef]
- Avesani, P.; Massa, P.; Tiella, R. A trust-enhanced recommender system application: Moleskiing. In Proceedings of the 2005 ACM Symposium on Applied Computing, Santa Fe, Mexico, 13–17 March 2005; pp. 1589–1593. [Google Scholar]
- McCarthy, K.; Salamó, M.; Coyle, L.; McGinty, L.; Smyth, B.; Nixon, P. Group recommender systems: A critiquing based approach. In Proceedings of the 11th International Conference on Intelligent User Interfaces, Sydney, Australia, 29 January–1 February 2006; pp. 267–269. [Google Scholar]
- Wirz, M.; Strohrmann, C.; Patscheider, R.; Hilti, F.; Gahr, B.; Hess, F.; Roggen, D.; Tröster, G. Real-time detection and recommendation of thermal spots by sensing collective behaviors in paragliding. In Proceedings of the 1st International Symposium on from Digital Footprints to Social and Community Intelligence, Beijing, China, 18 September 2011; pp. 7–12. [Google Scholar]
- Shani, G.; Heckerman, D.; Brafman, R.I.; Boutilier, C. An MDP-based recommender system. J. Mach. Learn. Res. 2005, 6, 1265–1295. [Google Scholar]
- Rendle, S.; Freudenthaler, C.; Schmidt-Thieme, L. Factorizing Personalized Markov Chains for Next-Basket Recommendation. In Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA, 26–30 April 2010; pp. 811–820. [Google Scholar] [CrossRef]
- Quadrana, M.; Jannach, D.; Cremonesi, P. Tutorial: Sequence-Aware Recommender Systems. In Proceedings of the Companion Proceedings of The 2019 World Wide Web Conference, San Francisco, CA, USA, 13–17 May 2019; Association for Computing Machinery: New York, NY, USA, 2019; p. 1316. [Google Scholar] [CrossRef]
- Kang, W.C.; McAuley, J. Self-attentive sequential recommendation. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17–20 November 2018; pp. 197–206. [Google Scholar]
- Gunawardana, A.; Shani, G.; Yogev, S. Evaluating Recommender Systems. In Recommender Systems Handbook; Ricci, F., Rokach, L., Shapira, B., Eds.; Springer: New York, NY, USA, 2022; pp. 547–601. [Google Scholar] [CrossRef]
- Sun, F.; Liu, J.; Wu, J.; Pei, C.; Lin, X.; Ou, W.; Jiang, P. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2019; pp. 1441–1450. [Google Scholar] [CrossRef]
- McAuley, J. Personalized Machine Learning; Cambridge University Press: Cambridge, UK, 2022. [Google Scholar] [CrossRef]
- Castells, P.; Hurley, N.; Vargas, S. Novelty and Diversity in Recommender Systems. In Recommender Systems Handbook; Ricci, F., Rokach, L., Shapira, B., Eds.; Springer: New York, NY, USA, 2022; pp. 603–646. [Google Scholar] [CrossRef]
- Zhou, T.; Kuscsik, Z.; Liu, J.G.; Medo, M.; Wakeling, J.R.; Zhang, Y.C. Solving the apparent diversity-accuracy dilemma of recommender systems. Proc. Natl. Acad. Sci. USA 2010, 107, 4511–4515. [Google Scholar] [CrossRef] [PubMed]
- Kaminskas, M.; Bridge, D. Diversity, Serendipity, Novelty, and Coverage: A Survey and Empirical Analysis of Beyond-Accuracy Objectives in Recommender Systems. ACM Trans. Interact. Intell. Syst. 2016, 7, 1–42. [Google Scholar] [CrossRef]
- Smyth, B.; McClave, P. Similarity vs. Diversity. In Case-Based Reasoning; Springer: Berlin/Heidelberg, Germany, 2001. [Google Scholar]
- Grbovic, M.; Radosavljevic, V.; Djuric, N.; Bhamidipati, N.; Savla, J.; Bhagwan, V.; Sharp, D. E-commerce in your inbox: Product recommendations at scale. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Sydney, NSW, Australia, 10–13 August 2015; pp. 1809–1818. [Google Scholar]
- Katarina, H.; Samuel, K. Statistical survey on the prevention of major industrial accidents (MIAs) in the EU Member States in 2000–2020. J. Saf. Sustain. 2025, 2, 72–80. [Google Scholar] [CrossRef]
- Morgan, G.; Grabowski, M.R. Human Machine Teaming in Mobile Miniaturized Aviation Logistics Systems in Safety-Critical Settings. J. Saf. Sustain. 2025, 2, 22–31. [Google Scholar] [CrossRef]
- Tagliabue, J.; Yu, B.; Bianchi, F. The Embeddings That Came in From the Cold: Improving Vectors for New and Rare Products with Content-Based Inference. In Proceedings of the 14th ACM Conference on Recommender Systems, Virtual Event, Brazil, 22–26 September 2020; Association for Computing Machinery: New York, NY, USA, 2020; pp. 577–578. [Google Scholar] [CrossRef]
Notation | Description |
---|---|
u | user |
group of users | |
s | segment |
t | time stamp |
n | number of segments in the route |
D | dataset of routes |
U | dataset of users |
S | dataset of segments |
P | sequence of segments in route |
list of recommended segments for the group (route) | |
final route recommendation | |
set of group routes |
Group | Metric | PopRec | MDP | FPMC | Prod2vec | KNN | SASREC |
---|---|---|---|---|---|---|---|
Small | NDCG@10 | 0.6324 | 0.6399 | 0.5838 | 0.7650 | 0.7816 | 0.6962 |
Groups | Novelty | 0.6598 | 1.3951 | 1.1516 | 2.8971 | 1.3048 | 0.7459 |
Diversity | 0.0976 | 0.2123 | 0.1960 | 0.1694 | 0.1785 | 0.1785 | |
Large | NDCG@10 | 0.7802 | 0.7626 | 0.7112 | 0.8375 | 0.7743 | 0.7818 |
Groups | Novelty | 0.6756 | 1.1405 | 0.9855 | 2.3056 | 1.1636 | 0.7014 |
Diversity | 0.0928 | 0.1839 | 0.2304 | 0.1491 | 0.1671 | 0.1671 | |
All | NDCG@10 | 0.6538 | 0.6576 | 0.6022 | 0.7755 | 0.7805 | 0.7246 |
Groups | Novelty | 0.6621 | 1.3582 | 1.1275 | 2.8115 | 1.2844 | 0.7394 |
Diversity | 0.0969 | 0.2082 | 0.2010 | 0.1664 | 0.1768 | 0.1768 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Aguirre, M.; Recalde, L.; Loza-Aguirre, E. GoSS-Rec: Group-Oriented Segment Sequence Recommendation. Information 2025, 16, 668. https://doi.org/10.3390/info16080668
Aguirre M, Recalde L, Loza-Aguirre E. GoSS-Rec: Group-Oriented Segment Sequence Recommendation. Information. 2025; 16(8):668. https://doi.org/10.3390/info16080668
Chicago/Turabian StyleAguirre, Marco, Lorena Recalde, and Edison Loza-Aguirre. 2025. "GoSS-Rec: Group-Oriented Segment Sequence Recommendation" Information 16, no. 8: 668. https://doi.org/10.3390/info16080668
APA StyleAguirre, M., Recalde, L., & Loza-Aguirre, E. (2025). GoSS-Rec: Group-Oriented Segment Sequence Recommendation. Information, 16(8), 668. https://doi.org/10.3390/info16080668