Modelling daily activity patterns from mobile phone location data via deep representation learning
Organizations: SpaceTimeLab, Department of Civil, Environmental and Geomatic Engineering, University College London, London, United Kingdom · State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan, China · 3DIMPact, Department of Civil, Environmental and Geomatic Engineering, University College London, London, United Kingdom · Department of Geography, University College London, London, United Kingdom ·
Abstract
Passively collected mobile phone location data provide large-scale, longitudinal observations of human mobility but do not directly reveal activity purposes. The functional characteristics of visited locations offer useful contextual information, yet their relationship with activity purpose remains uncertain, particularly in mixed-use urban environments. We conceptualise activity pattern mining as an integrated process of representation, clustering, and interpretation, and propose the Activity Chain Encoder (ACE) for the representation stage. ACE is a self-supervised model that combines pre-trained urban embeddings with visit timing and duration and uses a Transformer to model the sequential organisation of stays. It is trained using masked activity modelling and identity-guided contrastive learning without requiring deterministic activity purpose labels. Learned daily representations are aggregated into user-level profiles, clustered, and interpreted through temporal-functional patterns and Census-derived demographic context. Applied to mobile phone app location data from London and compared with three representative methods, ACE supports the identification of six differentiated weekday activity-pattern groups characterised by distinct daily rhythms, urban functional contexts, and demographic associations. These complementary forms of evidence further support the development of empirically grounded activity-pattern personas, establishing a holistic route for deriving behaviourally meaningful population patterns from unlabelled mobile phone location data. The source code for the entire analytical pipeline developed in this study is publicly available at https://github.com/xlwang233/ACE.
Figures & tables
| Total number of users | 112,112 |
| Total number of stays | 3,495,967 |
| Total number of daily activity chains | 785,476 |
| Mean/median number of daily activity chains per user | 7.0/7 |
| Mean/median length of daily activity chains | 4.5/4 |
| Urban function | Probing prompt |
| Residential and Housing (RH) | A private home, house, flat, or residential neighbourhood where people sleep and live. |
| Commercial and Business (CB) | A corporate office, workplace, or business district for daytime professional employees. |
| Industrial and Manufacturing (IM) | An industrial estate, factory, warehouse, or manufacturing plant with heavy machinery. |
| Education and Schools (ES) | An academic classroom, school, or university campus during active daytime teaching hours. |
| Grocery and Convenience (GC) | A supermarket, grocery store, or local convenience shop for buying daily food and household items. |
| Medical and Healthcare (MH) | A hospital or healthcare centre providing medical treatment, ambulance, and emergency services. |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Code | Category definition |
|---|---|
| Age group | |
| 1 | Aged 15 years and under |
| 2 | Aged 16 to 24 years |
| 3 | Aged 25 to 34 years |
| 4 | Aged 35 to 49 years |
| Topic | Highest-weighted POI classes |
|---|---|
| 1 | Bus Stops (0.090); Hair and Beauty Services (0.064); Convenience Stores and Independent Supermarkets (0.054); Electrical Features (0.049); Fast Food and Takeaway Outlets (0.046); Restaurants (0.040); Cash Machines (0.029); Paypoint Locations (0.027); Cafes, Snack Bars and Tea Rooms (0.025); Letter Boxes (0.023) |
| 2 | Bus Stops (0.053); Cash Machines (0.046); Clothing (0.039); Restaurants (0.033); Fast Food and Takeaway Outlets (0.027); Accountants and Auditors (0.026); Computer Systems Services (0.023); Jewellery and Fashion Accessories (0.022); Employment Agencies (0.019); Travel Agencies (0.017) |
| 3 | Electrical Features (0.090); Bus Stops (0.059); Vehicle Repair, Testing and Servicing (0.058); DIY and Home Improvement (0.046); Cash Machines (0.029); Convenience Stores and Independent Supermarkets (0.028); Vehicle Cleaning Services (0.025); Petrol and Fuel Stations (0.024); Unspecified Works or Factories (0.022); Cafes, Snack Bars and Tea Rooms (0.020) |
| 4 | Employment Agencies (0.043); Financial Advice Services (0.042); Computer Systems Services (0.038); Solicitors, Advocates and Notaries Public (0.037); Unspecified and Other Attractions (0.034); Business Related Consultants (0.033); Pubs, Bars and Inns (0.025); Restaurants (0.025); Cafes, Snack Bars and Tea Rooms (0.025); Insurers and Support Activities (0.021) |
| 5 | Cafes, Snack Bars and Tea Rooms (0.068); Restaurants (0.058); Fast Food and Takeaway Outlets (0.043); Cash Machines (0.041); Bus Stops (0.039); Hair and Beauty Services (0.039); Pubs, Bars and Inns (0.037); Wi-Fi Hotspots (0.029); Convenience Stores and Independent Supermarkets (0.026); Property Sales (0.026) |
Geospatial Representation Learning
Geospatial representation learning builds reusable embeddings of places, imagery, maps, mobility, and Earth data for spatial prediction and reasoning.
See all 133 papers