Beyond fixed thresholds: optimizing summaries of wearable device data via piecewise linearization of quantile functions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Park, Junyoung, Kok, Neo, Gaynanova, Irina
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909462809280512
author Park, Junyoung
Kok, Neo
Gaynanova, Irina
author_facet Park, Junyoung
Kok, Neo
Gaynanova, Irina
contents Wearable devices, such as actigraphy monitors and continuous glucose monitors (CGMs), capture high-frequency data, which are often summarized by the percentages of time spent within fixed thresholds. For example, actigraphy data are categorized into sedentary, light, and moderate-to-vigorous activity, while CGM data are divided into hypoglycemia, normoglycemia, and hyperglycemia based on a standard glucose range of $70\unicode{x2013}180$ mg/dL. Although scientific and clinical guidelines inform the choice of thresholds, it remains unclear whether this choice is optimal and whether the same thresholds should be applied across different populations. In this work, we define threshold optimality with loss functions that quantify discrepancies between the full empirical distributions of wearable device measurements and their discretizations based on specific thresholds. We introduce two loss functions: one that aims to accurately reconstruct the original distributions and another that preserves the pairwise sample distances. Using the Wasserstein distance as the base measure, we reformulate the loss minimization as optimal piecewise linearization of quantile functions. We solve this optimization via stepwise algorithms and differential evolution. We also formulate semi-supervised approaches where some thresholds are predefined based on scientific rationale. Applications to CGM data from two distinct populations$\unicode{x2014}$individuals with type 1 diabetes and those with normal glycemic control$\unicode{x2014}$demonstrate that data-driven thresholds vary by population and improve discriminative power over fixed thresholds.
format Preprint
id arxiv_https___arxiv_org_abs_2501_11777
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond fixed thresholds: optimizing summaries of wearable device data via piecewise linearization of quantile functions
Park, Junyoung
Kok, Neo
Gaynanova, Irina
Methodology
Wearable devices, such as actigraphy monitors and continuous glucose monitors (CGMs), capture high-frequency data, which are often summarized by the percentages of time spent within fixed thresholds. For example, actigraphy data are categorized into sedentary, light, and moderate-to-vigorous activity, while CGM data are divided into hypoglycemia, normoglycemia, and hyperglycemia based on a standard glucose range of $70\unicode{x2013}180$ mg/dL. Although scientific and clinical guidelines inform the choice of thresholds, it remains unclear whether this choice is optimal and whether the same thresholds should be applied across different populations. In this work, we define threshold optimality with loss functions that quantify discrepancies between the full empirical distributions of wearable device measurements and their discretizations based on specific thresholds. We introduce two loss functions: one that aims to accurately reconstruct the original distributions and another that preserves the pairwise sample distances. Using the Wasserstein distance as the base measure, we reformulate the loss minimization as optimal piecewise linearization of quantile functions. We solve this optimization via stepwise algorithms and differential evolution. We also formulate semi-supervised approaches where some thresholds are predefined based on scientific rationale. Applications to CGM data from two distinct populations$\unicode{x2014}$individuals with type 1 diabetes and those with normal glycemic control$\unicode{x2014}$demonstrate that data-driven thresholds vary by population and improve discriminative power over fixed thresholds.
title Beyond fixed thresholds: optimizing summaries of wearable device data via piecewise linearization of quantile functions
topic Methodology
url https://arxiv.org/abs/2501.11777