AI monitoring of mental state based on wearable device data

Deterioration episodes are easy to miss if you look at data once a month. We develop AI monitoring of mental state based on wearable device data: we collect signals, configure the model, and hand it over to operation turnkey. Specialist response is reduced from weeks to hours, and missed episodes are halved.
Frequently Asked Questions

Why AI monitoring of mental state breaks on data

Wearable devices produce an uneven and heterogeneous stream: a bracelet, ring, and watch record heart rate, heart rate variability, sleep, and activity at different frequencies and in different formats, while some data comes from a self-report diary where a person manually notes mood.

Time zones, sensor calibration, and recording start time differ for each model, so even a simple feature like "average heart rate during the night" must be assembled from several sources and brought to a single scale; otherwise, data from wearables does not align with each other.

Gaps in the signal are not an exception but the norm: the device is taken off at night, the battery dies, synchronization queues for a day, and the user forgets to mark an episode.

In a real dataset, up to a third of time windows are empty, while rare events—episodes of marked deterioration in state—occur in single-digit percentages of records.

With such imbalance, the model quickly learns spurious correlations: the difference between weekdays and weekends, an activity spike, vacation season—anything that correlates with the target variable but does not describe it.

Then comes what all this was calculated for: false positives. The algorithm raises alerts during a walk or after sleep deprivation, while missing a real episode—trust in the system falls faster than accuracy on the holdout set grows.

This is exactly where most AI mental state monitoring projects break: they do not make it to production operation. We break down how this is closed.

What changes after implementation: response latency and missed episodes

The benefit of continuous observation is measured not by the "smartness" of the model, but by four verifiable shifts that are visible in a monthly export.

Below is an acceptance checklist: each item is calculated from the signal log and specialist confirmations, not from subjective assessment.

Direction What we measure What is visible after implementation
Early episode detection share of confirmed alerts and cases found before a request deviation is caught at onset, not when the person asks for help
Response speed time from the first sustained deviation to contact with a specialist days shrink to hours
Manual reviews share of records reviewed manually continuous review is replaced by triage of targeted alerts
Specialist workload number of false positives per shift attention goes to complex cases, not noise

Individual measurements yield isolated points, and an episode between them is simply invisible.

Continuous monitoring builds a personal baseline from rhythm and activity, so a deviation from it is noticeable earlier than a complaint and is confirmed by dynamics, not by a single value.

A specialist receives an alert with ready context: when it started, how long it lasts, what happened before. Time goes to conversation and decision-making, not to searching—the number of cases handled per shift grows without an increase in workload.

We lock the items in acceptance: if the share of detected episodes does not grow and response time does not decrease, alert configuration needs refinement.

Continuous monitoring vs periodic surveys and self-reporting

Three collection methods answer different questions and do not replace each other. Passive recording from wearables (Apple Watch, Garmin, Wear OS) provides a continuous series: heart rate, heart rate variability, sleep duration and quality, physical activity, screen time.

Periodic questionnaires such as PHQ-9 and GAD-7 provide an infrequent but validated snapshot of subjective state. Self-report diary entries capture an episode in the moment—when the person decided to mark it.

These series are not directly reducible to one another. A passive signal shows that physiology has deviated from personal baseline, but does not name the cause: the same drop in heart rate variability occurs after an intense workout, illness, or sleep deprivation.

A questionnaire formulates state in words, but is collected once every one to two weeks, and retrospective assessment is systematically biased. The diary is precise in time, but depends on the habit of filling it out.

Data collection mode When it fits Method limitations
Passive recording from wearables Need a continuous background and deviations from personal baseline Does not explain the cause of deviation; depends on whether the person wears the device; motion and removal artifacts
Periodic questionnaires on validated scales Comparison with clinical thresholds, assessment of dynamics over weeks Infrequent snapshots, retrospective bias, habituation to questions
Trigger-based diary self-report Capturing an episode in the moment and its context Gaps and irregularity, dependence on motivation, incomparable wording

The working scheme is a hybrid with explicit separation of roles: scales serve as calibration points and a basis for thresholds, the passive series provides background and catches deviations between measurements, and the diary clarifies context. Next, we break down how such a collection mode is assembled into a single loop.

How we implement: from data audit to handing the model over to operation

Implementation is divided into seven steps, and each closes only after a checkpoint: without an agreed result for a step, the next one does not begin. This removes the typical risk where a model is trained on historical data but never reaches the production environment.

  1. Data audit. We look at what wearables actually record: completeness of series, share of gaps and motion artifacts, quality of episode labeling. The output is a data suitability report and applicability boundaries.
  2. Feature schema. We determine which signals and in which windows describe state, and how daily and weekly profiles are calculated. The schema is documented in writing—training is reproducible from it.
  3. Assembly and training. We prepare a training sample and a separate validation sample. We compare several model families on one feature schema so the choice is justified, not the only one.
  4. Validation on a holdout period. We test on data that did not participate in training, including periods with regimen changes. We assess stability across people and over time, not just the average metric.
  5. Deployment. We deploy in the customer's production environment: data streams, fault tolerance, logging, and alerts about degradation of input signals.
  6. Team training. We hand over working procedures, not a presentation: how to retrain, how to roll back a model version, what to do when a device changes.
  7. Acceptance and handover. Together we run control scenarios, record acceptance metrics, documentation, and responsibility areas.

What the customer retains: models, configurations, and regulations

Handing over a trained model to the customer is not enough—without configuration, integration schemes, and regulations, it cannot be operated and evolved.

Therefore, we assemble the package so that the customer's team supports the system independently: changes processing parameters, connects new sources, and resolves incidents without us.

  • Processing configuration: signal aggregation windows, trigger thresholds, calibration of personal baseline over the first weeks of wear, rules for suppressing false deviations when data gaps occur.
  • Source integration scheme: which wearables and applications are connected, export formats, synchronization frequency, behavior on connection loss and redelivery.
  • Access policies for sensitive data: specialist roles, segregation by department, retention periods, de-identification when exporting to reporting, access log.
  • System documentation: description of features and the model, applicability boundaries, cases where the result is uncertain and requires manual review.
  • Maintenance procedure: drift monitoring, scheduled retraining, response to quality degradation, procedure for rollback to the previous version.
  • Acceptance procedure: run on the customer's historical data, comparison with reference labeling, recording metrics before and after implementation.

Handover is considered complete when the customer's specialists themselves change thresholds, connect a new source, and troubleshoot a failure using the documentation.

After that, a communication channel with our engineers remains—for model changes and expansion of the signal set.

Case: halved missed episodes in a pilot group

The pilot was launched on a group with shift schedules: wearables provided heart rate, heart rate variability, and sleep quality, while the model marked episodes that a curator reviewed manually.

Initially, threshold logic was in place—it missed every third significant episode because sharp deviations against accumulated fatigue looked like normal recovery.

What we changed

The logic was rewritten: the model evaluates not individual values but daily dynamics—shift in personal baseline, recovery speed after load, dispersion of nighttime metrics.

The trigger threshold became adaptive and adjusted to the norm of a specific person, while gray-zone signals went to the curator marked "low confidence" instead of triggering by default.

The observation period was eight weeks, compared with the previous two months on the same people. The share of missed episodes fell from 31% to 12%, and the false alert rate fell from 4.1 to 1.5 contacts per person per week: the curator stopped reviewing noise.

Response time decreased from a day and a half to several hours because the queue was built by model confidence, not by signal arrival time.

The device fleet did not need to be changed: the data source was Garmin and compatible bracelets. The model was retrained on curator labels: each closed episode refined the personal baseline, so quality grew during observation instead of reaching a plateau.

What if data is already collected in another environment?

Collection is already established—by a third-party service, a wearable manufacturer's platform, or a system from another department. There is enough data, but access is limited by the export format, and features are calculated by someone else's model. For our AI mental state monitoring, such datasets are only partially suitable.

We reuse raw time series: heart rate, heart rate variability, sleep duration and stages, physical activity, skin temperature.

If the export provides timestamped samples rather than only daily aggregates, they are transferred to your environment and features are recalculated by your own model.

When the output is only scores or daily summaries, physiology cannot be restored from them—the sensor layer will have to be built again.

Source compatibility is addressed by a normalization layer: different bracelet models provide their own sampling frequency and their own calibration. We bring everything to a unified time scale, filter wearing artifacts, and tag device type and firmware version. Without this, comparing a person with themselves after a month will produce false dynamics.

A gap in observation is more expensive than it seems: everyone's baseline is individual, and a gap of several days breaks comparison with history.

Therefore, migration happens without a pause—we stand up our collection in parallel, compare timestamps and discrepancies on control windows, and only after they match do we disable the old environment.

We retrieve historical data as an archive and tag which model calculated it: reporting is not broken, and new conclusions are already built on our side.

Technical concerns: accuracy, privacy, false positives

Concerns about such systems arise not around "does it work or not" but around measurability: how model quality is calculated, what happens to physiological data, who gets access, and how the system behaves when signal degrades—connection loss, bracelet removed at night, weak sensor contact.

How is model quality measured, rather than "accuracy in words"?

On a labeled dataset, we calculate two separate metrics: recall (the share of episodes actually found) and false positive rate.

We tune the trigger threshold to the task: in a clinical scenario, we shift it toward recall; in a corporate one, toward silence, so people are not bothered unnecessarily. We lock the metrics before release and continue monitoring them on the live stream.

What happens to sensitive data?

The raw signal remains in the customer's environment: features are calculated on the device side, and an aggregate goes out—trend, deviation from personal baseline, episode class. Access is role-based, and access to sensitive fields is written to a log.

How is user consent handled?

Consent is a separate step with a clear list: which metrics are read, who sees them and in what form, and for how long. Withdrawal works just as explicitly: data is deleted or de-identified according to a rule described in advance, not "sometime later."

What happens when signal degrades?

The system monitors input stream quality: share of gaps, noise, wear stability. If quality falls below the threshold, the interval is marked unreliable and the model stays silent instead of alerting—so false positives do not grow along with noise.

Let's discuss the task: what you already have and what result we are aiming for

To come back with a working estimate and a first-stage plan, rather than general considerations, we need a short snapshot of your task. Describe what already exists: which wearables are in the loop, which metrics are collected from them, and in what form data reaches you today. Below is what removes most uncertainties at the start.

  • Device fleet: models of watches, bracelets, or rings and the share of each—this determines the available set of metrics and their recording frequency.
  • Data composition: heart rate, heart rate variability, sleep quality and stages, activity level, user subjective notes.
  • Data format and path: file export, access to the manufacturer's cloud, or in-house collection; whether a historical archive exists and for what period.
  • Data requirements: whether de-identification is needed, where records may be stored, how user consents are handled.
  • What counts as a result: an alert to a specialist on deviation, a report to a person about their state, or an aggregate picture across a group.
  • Integration point: mobile application, corporate portal, specialist dashboard—where the result should arrive.
  • Constraints: implementation deadlines you are already committed to, and external requirements for the system.

With this set, we return with an estimate and work plan: what we do in the first stage, which data requirements we lock, and how long implementation takes. Describe the task—we will discuss it in substance.

AI Development Areas

Latest works

  • Development of a web application for FEEDME
    Development of a web application for FEEDME
    1393
  • Development of an online store for the company FURNORO
    Development of an online store for the company FURNORO
    1368
  • B2B Advance company logo design
    B2B Advance company logo design
    815
  • Development of a web application for Enviok
    Development of a web application for Enviok
    1139
  • AIDER company logo development
    AIDER company logo development
    1057
  • CRM development for Chasseurs
    CRM development for Chasseurs
    1152