How to Prepare Wearable Data for AI Models in Healthcare Apps

Written by:
Paul Burggraf
Data Normalisation for AI Chatbots and Healthcare Apps

AI models in healthcare are only as good as the data they run on. That said, it is important to admit that wearable data is abundant, but AI-ready wearable data is not.

The gap between the two is where most wearable-based AI projects run into trouble. A model that performs well in development often degrades in production because the data pipeline feeding it was never built to handle the inconsistencies, gaps, and semantic mismatches that characterize real-world wearable data at scale. Fixing the data layer after the model is built is expensive. Understanding what needs to happen before the model sees a single data point is the faster path.

Why Raw Wearable Data Is Not AI-Ready

Wearable devices generate continuous streams of physiological and behavioral data. The problem lies not in volume. The data from different devices, and sometimes from the same device across different firmware versions, is inconsistent in ways that directly undermine model performance.

The core issues are:

  • Format fragmentation: each manufacturer structures data differently. Timestamps may be in different time zones or formats. Metrics may be nested differently across API endpoints. Fields that represent the same measurement may have different names.
  • Semantic inconsistency: the same metric label can mean different things across devices. HRV is one of the most clinically relevant wearable signals and also one of the most inconsistently implemented. Apple Watch reports SDNN; Garmin and WHOOP report RMSSD. These are not interchangeable. A model trained on one device's HRV values will produce unreliable outputs when applied to another device's data unless the semantic difference is resolved upstream.
  • Resolution mismatches: one device may capture heart rate every second during activity; another once per minute. Sleep staging may be provided at one-minute resolution or as a nightly summary. Combining data at different resolutions without explicit handling introduces silent errors.
  • Missing data and gaps: non-wear periods, connectivity issues, and device battery failures create gaps in wearable data streams that are routine, not exceptional. A model that has not been built to handle gaps will either fail silently or produce outputs based on incomplete observations.

What AI Models Actually Need From Health Data

Machine learning models, whether gradient boosting classifiers, recurrent networks, or transformer architectures, share a common requirement: inputs must be consistent, structured, and meaningful.

For wearable health data, this means:

  • Consistent feature definitions so that the same feature means the same thing regardless of which device produced the underlying data
  • Sufficient temporal context so that the model can observe patterns over time rather than point-in-time readings that carry little predictive signal on their own
  • Clean training data where noise, outliers, and missing values have been handled explicitly rather than passed through to the model
  • Structured inputs formatted to match the model architecture, whether tabular features for gradient boosting or time-series sequences for recurrent models

Raw wearable data meets none of these requirements without preparation. The preparation pipeline is not a preprocessing step that happens before the real work begins. It is the foundation the model's performance is built on.

4 Main Steps of Processing Wearable Data  

Step 1: Normalize Across Devices

Normalization is the process of making the same metric mean the same thing regardless of which device produced it. In practice, this involves four layers.

  • Format standardization converts device-specific data structures into a consistent schema, resolving differences in field names, timestamp formats, and data organization.
  • Unit harmonization ensures values are expressed in the same units across platforms. Distance in kilometers versus miles, temperature in Celsius versus Fahrenheit, energy in kilocalories versus kilojoules - these need to be resolved before any cross-device analysis is meaningful.
  • Resolution alignment reconciles differences in sampling frequency. When combining data from sources with different resolutions, the lower-resolution source limits what can be derived from the merged dataset, and that limitation needs to be made explicit rather than hidden.
  • Semantic harmonization is the most difficult and most commonly underestimated layer. It requires identifying where the same metric label is used for different underlying constructs across devices, and either selecting a canonical definition or flagging the incompatibility. For HRV, this means choosing whether to harmonize to RMSSD or SDNN, understanding which devices report which measure, and applying any necessary transformations consistently.

Attempting to handle normalization per device in application code produces logic that is brittle, expensive to maintain, and difficult to audit. Normalization needs to happen at the infrastructure level, consistently and systematically, before data enters any downstream pipeline.

Step 2: Clean the Data and Handle Gaps

Even after normalization, wearable data contains noise and gaps that need to be addressed before model training or inference.

  • Non-wear detection is the identification of periods when a device was not being worn. A resting heart rate reading of 42 bpm during a period when the device was sitting on a desk is not a clinical signal. Including it in a training dataset teaches the model the wrong thing. Non-wear periods need to be identified and either removed or flagged before any further processing.
  • Outlier removal handles physiologically implausible readings that result from sensor artifacts, motion interference, or device errors. A heart rate spike of 240 bpm during sleep is an artifact, not an observation. Statistical thresholds and physiological plausibility checks need to be applied consistently across the data.
  • Gap handling is the most consequential and most nuanced part of data cleaning. Short gaps in a continuous data stream can sometimes be bridged through interpolation; longer gaps should be flagged as missing rather than filled. The choice of strategy depends on the gap length, the metric in question, and the model architecture. A gap-aware model architecture handles missing observations differently from one that expects complete inputs, and the data preparation pipeline needs to match the model's assumptions.

Step 3: Engineer the Right Features

Raw wearable readings are rarely the right model inputs. The predictive signal in wearable health data lives in patterns over time, not in individual readings.

Feature engineering for wearable data typically involves:

  • Baseline establishment: computing individual baselines over a sufficient observation window before deviations become meaningful. A resting heart rate of 62 bpm is uninformative without knowing whether that person's baseline is 58 or 72.
  • Trend detection: capturing directional changes over days, weeks, and months. A resting heart rate increasing by 8 bpm over three weeks is a more predictive signal than any single reading.
  • Variability measures: quantifying how stable or unstable a given signal is over time. High night-to-night variability in sleep efficiency often carries as much information as average sleep efficiency.
  • Cross-metric patterns: combinations of signals that are more predictive than any individual metric. Declining HRV alongside rising resting heart rate and worsening sleep efficiency is a different signal from any one of those changes alone.

The features that matter will depend on the specific prediction target, but the process of moving from raw readings to structured, time-aware features is common to almost all wearable-based AI applications.

Step 4: Structure Data for Model Input

The final preparation step is formatting the engineered features to match the model architecture.

  • Tabular models such as gradient boosting classifiers expect each observation as a row of features. For wearable data, this typically means aggregating time-series signals into summary features over a defined window: mean, standard deviation, trend slope, and cross-metric correlation values computed over the past seven, fourteen, or thirty days.
  • Sequence models such as recurrent neural networks or transformers consume ordered time-series directly. This requires consistent temporal alignment across observations, explicit handling of missing values within sequences, and decisions about sequence length and step size that need to be matched to the patterns the model is expected to learn.
  • Hybrid architectures combine both approaches, using deep learning components for raw sequence data and gradient boosting for the final prediction. In these cases, the data pipeline needs to produce both tabular aggregates and aligned sequences from the same underlying normalized data.

Matching data structure to model architecture is not an afterthought. It is a design decision that affects what the model can learn and how well it generalizes to new devices, new populations, and new data distributions.

Compliance Considerations for AI Training Data

When wearable health data is used to train AI models, it does not step outside the regulatory framework that governs the underlying data. GDPR Article 9 applies to health data used for model training as much as it does to health data used in user-facing applications.

This has several practical implications. The consent under which data was collected must cover the processing purpose - data gathered for a wellness application cannot be used to train a clinical risk model without a separate legal basis. Purpose limitation applies throughout the data lifecycle, including the training pipeline. Data minimization requirements mean that model training should use the minimum data necessary to achieve the stated purpose, not all available data by default.

For organizations training models on wearable health data, these requirements need to be addressed at the data architecture level, not retrofitted after the model is built.

How Thryve Delivers AI-Ready Wearable Data

At Thryve, we build the infrastructure that makes wearable data usable for AI applications in healthcare without requiring each organization to solve the normalization, cleaning, and compliance challenges independently.

Our Wearable API connects to 500+ wearables and health data sources, and returns normalized, structured data through a single integration. With the Thryve platform, you get:

  • Normalized biometric data across all connected devices, with consistent metric definitions for HRV, sleep, activity, heart rate, and more, regardless of which device generated the data
  • GDPR, HIPAA, and ISO-compliant infrastructure with consent management, EU data residency, and data subject rights supported out of the box
  • Health risk assessment capabilities that translate normalized wearable data into structured health insights, ready to feed directly into feature engineering and model training workflows
  • Reliable, scalable data delivery via webhooks and API, designed for the continuous data requirements of production AI applications

If you are building AI-powered healthcare applications and need a data foundation that is normalized, compliant, and built for scale, book a demo with Thryve.

Paul Burggraf

Co-founder and Chief Science Officer at Thryve

Paul Burggraf, co-founder and Chief Science Officer at Thryve, is the brain behind all health analytics at Thryve and drives our research partnerships with the German government and leading healthcare institutions. As an economical engineer turned strategy consultant, prior to Thryve, he built the foundational forecasting models for multi-billion investments of big utilities using complex system dynamics. Besides applying model analytics and analytical research to health sensors, he’s a guest lecturer at the Zurich University of Applied Sciences in the Life Science Master „Modelling of Complex Systems“

About the Author