shaw
Story/03 The Researcher

I study how
people change.

Behaviour over time, and how far a model should trust itself.

My final year project sits where machine learning meets cognitive psychology. It is the first step of LifeOS, a longer programme I started in early 2026 on personal digital twins. I am open to conversations with labs, supervisors and anyone working on longitudinal behaviour.

shawsuraj.com/researcher · working draft · Oct 2026

Final Year Project · BSc (Hons) Computer Science · University of Westminster · 2026 to 2027 · work in progress

Forecasting the Direction of Everyday Routine from Passive Sensing, with Calibrated Confidence

Suraj ShawiD

University of Westminster, London

Abstract

Phones and wearables record how people sleep, move and use their devices, week after week. Most work on this data asks what state someone is in right now. This project asks where their routine is heading. Given a few weeks of a person's passive sensing data from the public GLOBEM dataset, the model matches their partial trajectory against people with similar histories and forecasts the direction of change over the following weeks. A k nearest neighbours baseline comes first, with a sequence model as a stretch goal. Because a forecast about a person is only useful if its confidence is honest, the second contribution is calibration: every forecast is evaluated on cohorts the model has never seen, using expected calibration error, Brier score and reliability diagrams, with Platt and isotonic recalibration.

Keywords: longitudinal behaviour modelling, passive sensing, trajectory forecasting, probability calibration, human digital twins

1. Introduction

GLOBEM made multi year passive sensing data public and showed how hard it is for behaviour models to generalise across people and years [1]. Work built on it mostly detects a current wellbeing label. Surveys of human digital twins note that modelling how a person changes over time is still largely conceptual [2]. This project takes one small, testable piece of that idea: forecasting the direction of routine change.

observed weeksforecast
Figure 1. A person's observed routine (solid) is matched to similar trajectories (grey). The forecast continues it with a range, not a single line.

2. Approach

Weekly features for sleep, physical activity and phone use are built from GLOBEM. For a partial trajectory, the nearest neighbours in the training cohort vote on the direction each feature moves next. This keeps the baseline interpretable: you can see which people the forecast was built from.

3. Evaluation

Models are trained on one cohort and tested on others, including later years. Accuracy alone is not enough. A model that says it is 80% sure should be right about 80% of the time, so calibration is measured directly and corrected where it drifts [4].

predicted confidence observed accuracy
Figure 2. Reliability diagram. The dashed diagonal is perfect calibration.

4. Scope

The horizon is kept short and honest, because GLOBEM covers roughly ten weeks per person per year. This is a calibrated forecaster, not a full digital twin, and it makes no clinical claims.

5. Status

Proposal in November 2026, interim demonstration in February 2027, final report in April 2027.

References

  1. Xu, X. et al. (2022) GLOBEM Dataset: Multi-Year Datasets for Longitudinal Human Behavior Modeling Generalization. NeurIPS Datasets and Benchmarks.
  2. Lin et al. (2024) Human digital twin: a survey. Journal of Cloud Computing.
  3. Simulating Life Paths with Digital Twins: AI-Generated Future Selves Influence Decision-Making and Expand Human Choice (2025). arXiv:2512.05397.
  4. Guo, C. et al. (2017) On Calibration of Modern Neural Networks. ICML.

The bigger programme · since Feb 2026 · working name

LifeOS

Can selected parts of how a person thinks, behaves and changes be modelled honestly, and updated as they change? It was sparked partly by work on AI generated future selves [3]. The final year project above is the first narrow, testable piece of it.

  1. Cognitive psychologyHow people attend, remember, learn and decide
  2. BehaviourHabits, routines and the gap between intention and action
  3. Data and machine learningMeasuring patterns, testing hypotheses, modelling uncertainty
  4. Personal digital twinA model of selected parts of one person, updated with new evidence
  5. Real useReflection, decision support, trying out future choices

Where it is

  1. FoundationsReading cognitive psychology and behaviour theory first.
  2. One narrow questionForecasting routine change with calibrated confidence. The final year project.
  3. Data modelConsent, privacy, and a clear line between what was observed and what was inferred.
  4. Narrow prototypeOne part of one person, updated from new evidence.
  5. EvaluationHeld out data, calibration, simple baselines first.
  6. ExpandOnly when the evidence says it is worth it.
Understand the psychology before modelling the behaviour. Understand the behaviour before claiming to predict it. Validate the model before relying on it.

Applied research

Measuring chaos fairly.

World Chaos Map is a measurement problem as much as a product. Its v3 score counts what the news reports, not how loudly it is reported.

  • The same news gives the same score, wherever it happens.
  • Each country is compared with its own recent history, so sudden crises surface on their own.
  • Events are placed where they happen, across news in over 100 languages.