yawnwell

Design rationale and evidence

How Yawnwell is built, and why. Every claim is graded, every threshold is stated, and the parts we have not tested are marked as untested.

StatusLiving document
Version0.1
Last updated25 November 2026
Clinical reviewReid Robison, MD
Kind of reviewRapid and targeted, not systematic

Grades used throughout: A meta-analysis or several randomized trials, B one randomized trial or consistent observational data, C pilot data or mechanistic reasoning, D our own judgment, not yet tested.

1About this paper

This is the open working record of how Yawnwell is designed: the evidence, the math, the assumptions and the decisions. It is written to be shared and challenged.

It is a living document. Each design decision gets an entry with its evidence, and the change log at the end records what moved and why. Claims are graded so readers can see how much weight each one carries.

Grade Meaning
A Meta-analysis or multiple randomized trials
B One randomized trial, or consistent observational data
C Pilot data, case series, or mechanistic reasoning
D Our own design judgment, not yet tested

A grade D decision is not a weak decision. It is one we are stating openly as untested, and the section on assumptions lists how we would test it.

2Summary of positions

There is a real, evidence-based case for using wearable data inside a CBT-I program. It is a narrower case than "wearables improve sleep", and the difference decides the design.

  1. The diary sets the treatment. The wearable does not. Consumer wearables detect sleep well and wake poorly, so they overstate sleep in exactly the people we treat. The sleep window is set and adjusted from the diary only.
  2. Wearables are used for what they measure well. That is timing and behavior: when you got into bed, when you got up, whether you held your window, whether you napped.
  3. Rewards attach to behavior, never to sleep. One pilot trial found a synced wearable improved engagement with a digital insomnia program. We build on that and reward only actions the person controls.
  4. No nightly sleep score. A randomized experiment showed that negative sleep feedback worsens how people with insomnia feel and function the next day, whatever their sleep was. Measured sleep is shown weekly, with interpretation.
  5. Wearable data adds two tailoring signals nothing else provides. A large gap between measured and reported sleep, and objectively short sleep, each predict a weaker response to standard CBT-I. Each triggers extra support.
  6. Tailoring changes dose, not content. Sleep restriction, stimulus control and cognitive restructuring carry the benefit in a 241-trial analysis and are always delivered. Sleep hygiene and relaxation are shortened when the data shows they are not the obstacle.
  7. Adapting mid-course works. In a randomized trial, adapting treatment for people predicted to fail cut their odds of failure to about a third. We include a week-4 checkpoint for that reason.
  8. Most of the novel parts are untested. No published trial has tested module-level tailoring from diary and wearable data. We mark those decisions grade D and list the studies that would test them.

To our knowledge no widely available program combines these. We have not done a full competitor review, so that claim should be checked before it is used publicly.

3Why multicomponent

Yawnwell delivers full multicomponent CBT-I because that is the only form of behavioral insomnia treatment with a strong guideline recommendation.

The AASM 2021 clinical practice guideline makes six recommendations. Only the first is strong.

Treatment AASM recommendation Strength
Multicomponent CBT-I Recommended Strong
Multicomponent brief therapies Suggested Conditional
Stimulus control alone Suggested Conditional
Sleep restriction alone Suggested Conditional
Relaxation alone Suggested Conditional
Sleep hygiene alone Suggested against Conditional

The accompanying systematic review defines the multicomponent package. It combines one or more cognitive therapy strategies with education about sleep regulation, stimulus control and sleep restriction. It often adds sleep hygiene education, relaxation and other counter-arousal methods. The strong recommendation rested on moderate-quality evidence from 49 studies.

3.1How this fits with tailoring

Multicomponent and personalized are compatible as long as tailoring changes dose and never removes a defining component. Every person receives cognitive work, sleep education, stimulus control and sleep restriction, which is the guideline's definition. The parts we shorten for some people (sleep hygiene, relaxation) are the ones the guideline lists as optional additions.

3.2A note on which components matter

It is often said that the behavioral components do the work and the cognitive ones add little. The 2024 component network meta-analysis does not support that. Cognitive restructuring had the largest association with remission (incremental odds ratio 1.68), ahead of sleep restriction (1.49). The two act on different outcomes: sleep restriction on sleep continuity, cognitive restructuring mainly on subjective sleep quality. Both stay in every person's program.

The guideline also notes that sleep restriction may be contraindicated in some groups, including people in high-risk occupations and people with seizure disorders. Our onboarding safety screen and gentler window exist for that reason.

4The CBT-I core we keep fixed

Tailoring changes dose, order and emphasis. It never removes the components with the strongest evidence, and it never changes the titration rule.

Component What the evidence says Grade Our rule
Sleep restriction Associated with remission in the 241-trial component network meta-analysis, incremental odds ratio 1.49 (Furukawa 2024) A Always delivered. Never skipped.
Stimulus control Listed among the beneficial components in the same analysis A Always delivered, in the same session as sleep restriction
Cognitive restructuring Incremental odds ratio 1.68, the largest of any component A Always delivered. Depth is tailored.
Third-wave components (mindfulness, acceptance) Incremental odds ratio 1.49 A Always delivered. Depth is tailored.
Relaxation Not among the beneficial components in that analysis A Kept as an optional tool, not a required session
Sleep hygiene education Minimal effect alone; did not appear essential in that analysis A Shortened to the items that apply to this person

One caution from the authors of that analysis: undetected interactions between components could undermine the conclusions. So we shorten the weaker components. We do not delete them.

4.1The titration rule

The sleep window follows the standard rule described in the Walker, Muench, Perlis and Vargas primer. The first window equals average diary sleep time, anchored to a fixed rise time. Each week it moves by 15 minutes according to diary sleep efficiency.

SE = (TST ÷ TIB) × 100 where TST = (final wake − lights out) − SOL − WASO
Weekly sleep efficiency Change to the window
Above 90% Add 15 minutes
85% to 90% Hold
Below 85% Remove 15 minutes, never below the floor

Our additions to the standard rule are grade D. The floor is 5 hours 30 minutes, or 6 hours 30 minutes for anyone with a safety flag. Weekly efficiency is total sleep divided by total time in bed across the week, not an average of nightly percentages. A report of unsafe daytime sleepiness overrides the rule and adds 30 minutes.

5What wearables measure well and badly

Consumer wearables are good at knowing you are asleep and poor at knowing you are awake in bed. For insomnia that is the wrong way round, because quiet wakefulness is the symptom.

Finding Source Grade
Across seven consumer devices against polysomnography, sensitivity for sleep was 0.93 or higher. Specificity for wake was 0.18 to 0.54. Chinoy 2021 B
Devices performed worse on nights with poorer or disrupted sleep. Chinoy 2021 B
The best consumer devices matched or beat research actigraphy for sleep and wake. Chinoy 2021; Grandner 2021 editorial B
Six newer wrist devices, including Apple Watch Series 8, Whoop 4.0 and Fitbit Charge 5, detected more than 90% of sleep epochs. Specificity was 29% to 52%. Schyvens 2025 B
Sleep stage estimates were inconsistent, with fair to moderate agreement (kappa 0.21 to 0.53). Chinoy 2021; Schyvens 2025 B

5.1Is this evidence out of date?

No, though the question is fair. Wake detection has improved since the 2021 paper, and the newest studies still show the same weakness. Current devices catch roughly half to two-thirds of wake at best, and they do worse in people with sleep disorders.

Study Devices tested Who Wake detection
Chinoy 2021 Fitbit Alta HR, Garmin Fenix 5S and Vivosmart 3, and four others Healthy young adults, lab 18% to 54% of wake detected
Robbins 2024 Oura Ring Gen3, Fitbit Sense 2, Apple Watch Series 8 35 healthy adults aged 20 to 50, one lab night 69% (Oura), 68% (Fitbit), 52% (Apple). All detected 95% or more of sleep.
Schyvens 2025 Six wrist devices including Apple Watch Series 8, Whoop 4.0, Fitbit Charge 5 62 participants, lab 29% to 52%
Frija 2025 A Withings and a Fitbit device Patients with sleep complaints Both overstated total sleep. Withings understated time awake in the night by 25 minutes; Fitbit overstated it by 10.
Sleep clinic validation 2025 Huawei Watch GT2 Sleep clinic patients, recruited 2021 to 2023 48% specificity. Time awake in the night understated by 37 minutes, sleep efficiency overstated by 6 points. Accuracy was lower in patients with insomnia.

Three things follow.

  1. The trend is real and modest. The best 2024 devices detect about two-thirds of wake, up from about half for the best 2021 devices. One 2024 study is reported to be funded by a device maker, which we still need to confirm from the paper.
  2. The limit is structural. A wrist or finger device infers sleep from movement and heart rate. A person lying still and awake looks much like a person asleep on both signals. Better algorithms narrow the gap. They have not closed it.
  3. The clinical populations are the weak spot. The two 2025 studies in patients show sleep still overstated, and one found lower accuracy in insomnia specifically. Our users are those patients.

A 6-point overstatement of sleep efficiency is enough to move someone across the 85% or 90% titration line. That is why the diary sets the window whichever device a person wears.

We will revisit this section yearly. What would change the design is a device shown, in people with insomnia sleeping at home, to detect about 80% or more of wake against polysomnography. That threshold is our judgment.

5.2What follows from this

  1. A wearable will tend to overstate total sleep time and sleep efficiency in a person with insomnia. Lying still and awake is scored as sleep.
  2. The error is largest on the worst nights, which are the nights that matter most for setting the window.
  3. Sleep stage data (deep, REM, "sleep score") is not accurate enough to drive any treatment decision. We do not show it.
  4. Wearables are reliable for timing. Time into bed, time out of bed, and regularity of rise time need only the easy call (clearly active or clearly at rest).
  5. The validation studies above were done mostly in healthy sleepers in a lab. Accuracy in people with insomnia at home is less well established.

The diary stays the clinical record. Insomnia is diagnosed on self-report, CBT-I trials titrated on diaries, and the 85% and 90% thresholds were calibrated against diary values. Feeding wearable sleep efficiency into the same rule would apply thresholds to a number they were never set for.

6Wearables inside CBT-I: the evidence for and against

The evidence supports wearables as an engagement and feedback aid alongside CBT-I. It does not yet show that they improve CBT-I outcomes, and it shows a real route to harm if the feedback is unguided.

6.1Evidence for

Study Design Finding Grade
Aji 2022 Pilot randomized trial, n = 128. A 3-week digital behavioral program with a synced Fitbit, against the program alone. The wearable arm showed better engagement and better sleep parameters. Dropout was high overall (44% of those who started) and higher in the program-only arm. B
Spina 2023 (the NITE trial) Randomized trial, n = 113, 5 weeks. Wearable feedback with guidance on interpreting it, against sleep hygiene education. Guided feedback reduced insomnia severity and sleep disturbance. The authors call the effects modest. It did not change the gap between perceived and measured sleep. B
Kang 2017 Pilot randomized trial, n = 19. CBT-I app synced to a Fitbit, against CBT-I and the app alone. Feasible. Too small to show a difference. C
Luik 2018 Observational comparison within a large digital CBT-I program. Digital CBT-I was equally effective with or without a wearable estimating sleep, as summarized by later reviewers. B

6.2Evidence against, or for caution

Study Design Finding Grade
Gavriloff 2018 Randomized experiment, n = 63 with insomnia disorder. Sham positive or negative sleep feedback delivered on a watch at rise time. Negative feedback worsened the day: less alert cognition (d = 0.79) and more sleepiness and fatigue (d = 0.55), regardless of how the person had slept. B
Baron 2017 Case series, 3 patients. Named "orthosomnia": a perfectionistic pursuit of good tracker numbers. Patients spent longer in bed to improve their data, the opposite of sleep restriction. C
Zhu 2026 Meta-analysis, 16 randomized trials, n = 910, of wearable devices as stand-alone treatments. No significant effect on insomnia severity. Most included devices were stimulation or light devices, not trackers, so this says little about tracker feedback. The authors conclude wearables are adjuncts, not substitutes for CBT-I. A
Ahn 2022; Bathgate 2017 Cohort analyses, cited in Zhu 2026. A larger gap between perceived and measured sleep predicted poorer CBT-I response. Objective sleep under 6 hours predicted a blunted response. B

6.3Our reading

  1. Engagement is the best-supported benefit. The one trial that tested a tracker added to a digital behavioral program found better engagement. Dropout is the main failure of digital CBT-I, so this matters. It is one pilot trial and needs replication.
  2. Feedback needs interpretation. The NITE trial paired data with guidance on what the data means. Raw numbers without guidance are what Baron's patients had.
  3. A bad number can make a bad day. Gavriloff shows the morning score itself changes how people feel and function. An app that shows a low sleep score at 7 am is delivering a small dose of harm.
  4. Wearable data may identify who needs something different. Objective short sleep and a large perception gap both predict weaker response. That is a tailoring signal, and no consumer program we know of uses it. This is grade C: promising, unproven.

So the honest claim is narrower than "wearables improve CBT-I". It is that wearable data, used for the right jobs and kept away from the wrong ones, can plausibly improve adherence and personalize the program.

7Design decision: what wearable data is used for

Wearable data is used for timing, adherence, rewards and tailoring. It is never used to set the sleep window, and it is never shown as a nightly score.

Job Source we use Why Grade
Setting and titrating the sleep window Diary only The titration thresholds were calibrated on diary data. Wearables overstate sleep in insomnia. A for the rule, D for excluding wearables
Pre-filling the diary (into bed, out of bed) Wearable, confirmed by the person Timing is what wearables do well. It cuts the diary to a few taps, and the person stays the author of the record. D
Rise-time regularity Wearable, or diary if none Needs only a clear active-or-at-rest call. Rise time is the anchor for the body clock. C
Window adherence Wearable, or diary if none Objective, passive, and the behavior we most want to reinforce C
Daytime naps Wearable prompt, confirmed by the person People under-report naps. A prompt is a question, not a verdict. D
Rewards Behaviors above, never sleep amount or quality See the next section B
Perception gap (measured minus reported sleep) Wearable and diary together Predicts weaker response to CBT-I. Triggers a guided feedback module, as in the NITE trial. B for the signal, C for acting on it
Objective short sleep flag Wearable weekly average Predicts a blunted response. Triggers a gentler window floor and a suggestion to involve a clinician. B for the signal, D for the action
Sleep stages, sleep score, readiness score, HRV Not used, not shown Not accurate enough, and the likeliest trigger for orthosomnia B

7.1Rules for how wearable data is shown

  1. No morning score. Nothing about last night's measured sleep appears before the person has filled in their own diary.
  2. Weekly, not nightly. Measured sleep appears only in the weekly review, as a 7-night average beside the diary average.
  3. Always with interpretation. Every display of measured sleep carries a plain explanation of what the device can and cannot see.
  4. Good news is shown freely. Bad news is shown in context. When measured sleep is higher than reported, we say so. When it is lower, it appears in the weekly review with guidance, never as an alert.
  5. The program works fully without a wearable. No treatment step depends on one.
  6. A pause switch. Anyone who finds the data stressful can hide it in one tap.

8Engagement and rewards

Dropout is the main way digital CBT-I fails, and the evidence that game elements fix it is weaker than the industry assumes. We reward behaviors under the person's control and treat the reward design as a hypothesis to test.

Finding Source Grade
Pooled completion rate for fully automated digital CBT-I was about 56% across 19 studies, ranging from 17% to 86%. Hwang 2025 A
In that analysis, completion rate did not moderate outcomes. Hwang 2025 A
A systematic review found few and inconsistent links between adherence measures and CBT-I outcomes, with some signal for module completion in digital programs. CBT-I adherence review 2022 A
People find sleep restriction the hardest part to stick to, especially keeping to the window. CBT-I app engagement review 2021 B
A wearable synced to a digital behavioral program improved engagement and reduced dropout in one pilot trial. Aji 2022 B
Reviews of gamified mental health apps report mixed results. One meta-regression found game elements did not significantly change adherence. Gamification review 2025 B

8.1What we reward

A reward for sleeping well is a penalty for sleeping badly, and sleep is not under voluntary control. Rewarding it would add performance pressure, which is the mechanism CBT-I is trying to remove. So every reward attaches to an action.

Rewarded behavior How it is detected What the person sees
Logging the night Diary entry A star lit in this week's constellation
Getting up within 30 minutes of rise time Wearable, or diary The star glows
Not going to bed before the window opens Wearable, or diary A "held the window" mark on the week
Getting out of bed during a long wake Diary; wearable where it detects leaving bed Named and praised in the weekly review
No daytime naps Wearable prompt confirmed, or diary Counted in the weekly review
Finishing a session or a weekly review App The moon advances a phase

8.2What we do not do

8.3An honest note on "dopamine"

The working idea is that prompt, specific recognition of a hard behavior makes the next repetition more likely. That is ordinary reinforcement and is well established in behavior therapy generally. Whether our particular stars and moons raise completion of CBT-I is untested.

9Tailoring: personalized, and still CBT-I

Every person gets every core component. What changes is how much time each one takes, what gets revisited, and when extra help is triggered. The best evidence for this approach is a randomized trial in which adapting treatment for people predicted to fail cut their odds of failure to about a third.

9.1Evidence

Finding Source Grade
251 patients in internet CBT-I were classified at week 4 of 9 as at risk of failure or not. At-risk patients randomized to adapted treatment improved more than at-risk patients on standard treatment (odds ratio for failure 0.33). Forsell 2019 B
The classifier in that trial had balanced accuracy of 67%, which the authors propose as a minimum benchmark for clinical usefulness. Forsell 2022 B
Component effects differ: cognitive restructuring, third-wave components, sleep restriction and stimulus control carry the benefit. Sleep hygiene education and relaxation do not appear essential. Furukawa 2024 A
Objective short sleep and a large perception gap each predict a weaker response to standard CBT-I. Bathgate 2017; Ahn 2022 B

What is missing from the literature is a trial of module-level tailoring driven by diary and wearable data. Our rules below are therefore grade D. They are built from grade A and B ingredients, and they are stated precisely so they can be tested and revised.

9.2Three kinds of tailoring

  1. Dose. Each non-core module has a full version and a brief version.
  2. Refresh. When the data shows a specific slip, the matching two-minute refresher appears on the Today screen.
  3. Step-up. At the midpoint, people who are not responding get an adapted path, following the logic of the Forsell trial.

9.3Signals and their definitions

All signals use the most recent 7 logged nights unless stated. Each needs at least 5 nights to count.

Signal Definition Source
Sleep-onset problem Mean time to fall asleep above 30 minutes Diary
Sleep-maintenance problem Mean time awake in the night above 30 minutes Diary
Early-waking problem Final wake more than 30 minutes before rise time on 3 or more nights Diary
Irregular rise time Standard deviation of out-of-bed time above 45 minutes Wearable, or diary
Window drift In bed more than 15 minutes before the window opens on 2 or more nights Wearable, or diary
Long time in bed awake A reported wake above 30 minutes with no time out of bed Diary; wearable where available
Napping Any confirmed daytime sleep on 2 or more days Wearable prompt, or diary
High sleep worry Check-in worry item rated "a lot" or above Check-in
Late caffeine or alcohol Self-reported in session 3 Session answers
Perception gap Measured sleep exceeds reported sleep by 60 minutes or more on average Wearable and diary
Objective short sleep Measured sleep averages under 6 hours Wearable
Non-response At week 4, check-in score has improved by less than 20% and sleep efficiency is under 80% Check-in, diary
G = mean over n nights of (TSTwearable − TSTdiary), with n ≥ 5

The 30-minute thresholds follow the conventional research criteria for insomnia. The 45-minute, 60-minute and 20% thresholds are our starting assumptions and are flagged for calibration.

9.4Tailoring rules

If Then
No late caffeine or alcohol, regular rise time, no naps Sleep hygiene session becomes the brief version
Late caffeine or alcohol reported Full sleep hygiene session, with a personal caffeine cutoff time
Low sleep worry Cognitive session keeps its core exercise, and the extended belief work is optional
High sleep worry Full cognitive session, plus a second thought-flip exercise
Sleep-onset problem dominant Emphasis on staying up until sleepy, wind-down, and the "try staying awake" exercise
Sleep-maintenance or early-waking problem dominant Emphasis on the 20-minute rule, the night-time plan, and the 3 am screen
Window drift on 2 or more nights Refresher: "staying up until your window"
Irregular rise time Refresher: "your anchor"
Napping Refresher: "protecting your sleep drive"
Long time in bed awake Refresher: the 20-minute rule
Perception gap of 60 minutes or more Adds a guided module on why sleep can feel shorter than it is
Objective short sleep Window floor raised to 6 hours 30 minutes, slower titration, and a suggestion to share results with a clinician
Non-response at week 4 Adapted path: review of adherence barriers, a simplified plan, and an offer of human support where the service has it

9.5Guardrails

10Assumptions, open questions and how we would test them

The wearable and tailoring features rest on six assumptions we have not tested. Each one has a study that would settle it.

Assumption Why we believe it What would test it
Wearable-verified behavior rewards raise completion One pilot trial (Aji 2022); general reinforcement principles Randomize users with a wearable to rewards on or off. Outcome: sessions completed and nights logged at week 6.
Hiding the nightly score prevents harm Sham-feedback experiment (Gavriloff 2018); orthosomnia case series Randomize to weekly-only against nightly display. Outcomes: worry, daytime function, dropout.
Module-level tailoring is as effective as the full program in less time Component meta-analysis (Furukawa 2024) Non-inferiority trial: tailored against fixed program.
The 60-minute perception-gap threshold picks out people who benefit from the extra module NITE trial; Ahn 2022 Record the gap for everyone. Compare outcomes above and below the threshold, then tune it.
Raising the floor for objective short sleepers is safe and still effective Bathgate 2017 shows blunted response, not what to do about it Observational first: compare response and adverse reports in this group against the rest.
Our week-4 non-response rule identifies people who would otherwise fail Forsell 2019 used a richer algorithm with 67% balanced accuracy Run the rule silently for the first cohort. Measure its accuracy against week-8 outcome before acting on it.

10.1Open questions

10.2Limits of this review

This is a rapid, targeted review, not a systematic one. Sources were found by search. Two were read in full (the CBT-I primer and Zhu 2026) and the rest as abstracts. Luik 2018, Kang 2017, Ahn 2022 and Bathgate 2017 are cited as summarized by later papers, and should be read in full before any external publication. Thresholds marked as assumptions come from clinical convention and judgment.

11Change log

Date Change Why
25 Nov 2026 Published on the Yawnwell site under the Yawnwell name. Content unchanged from the working document. Brand chosen; site built
25 Nov 2026 Added "Is this evidence out of date?" with 2024 and 2025 device validation studies. Concern that 2021 device data no longer reflects current wearables
25 Nov 2026 Prototype now implements the diary-based tailoring rules. Wearable-based signals are not built. Decision to build tailoring from diary data first
25 Nov 2026 Added "Why multicomponent", with the AASM 2021 guideline verified against the published text. Question raised about the multicomponent claim
25 Nov 2026 First version. Decision to add wearable integration and data-driven tailoring

12References

Opened for this version:

Cited through other papers, to be read in full: