Nedimo:基于证据的人工智能生成睡眠故事多语言流程

arXiv cs.AI 论文

摘要

Nedimo 提出了一套以证据为依据的多语言流程,用于生成低唤醒度的 AI 睡眠故事,将确定性规划与大语言模型生成分离,并采用注意力逐步减弱、验证防护机制和文本转语音(TTS)响度归一化,同时将该系统定位为放松工具,不宣称具有临床疗效。

arXiv:2610.40970v1 Announce Type: new Abstract: Generative audio systems can produce large libraries of personalized bedtime content, but ordinary media objectives (retention, completion, and novelty) are poorly aligned with the goal of supporting a transition toward sleep. Direct evidence for narrated bedtime audio in adults is mixed, and a recent active-controlled trial did not support such audio as a standalone treatment for sleep disturbance. We translate this uncertain evidence into conservative engineering requirements and present a multilingual pipeline for generating and narrating low-arousal sleep stories. The implemented prototype separates deterministic planning from large language model generation, represents content and delivery parameters explicitly, shapes each script through a four-phase attention taper, validates structural and lexical constraints, performs a bounded error-aware retry, and quarantines unresolved outputs. Provider-agnostic text-to-speech synthesis is followed by paragraph-aware joining, two-pass loudness normalization, and a publication gate that re-measures the saved, encoded file against fixed loudness, loudness-range, and true-peak limits. The product data model records stop position, replay, early abandonment, and completion while treating these events as ambiguous behavioral proxies rather than clinical outcomes. We contribute an evidence-to-requirement mapping, a traceable guardrail architecture with explicit acceptance thresholds, technical evaluation criteria, and a prospective protocol for testing sleep-onset effects. No clinical efficacy is claimed; the system is positioned as a relaxation and attentional-support tool whose benefit and possible reliance must be evaluated empirically.
查看原文
查看缓存全文

缓存时间: 2026/11/03 09:29

# An Evidence-Grounded MultilingualPipeline for AI-Generated Sleep Stories
Source: [https://arxiv.org/html/2610.40970](https://arxiv.org/html/2610.40970)
## Nedimo: An Evidence\-Grounded Multilingual Pipeline for AI\-Generated Sleep Stories

Georgios Makridis and Stefanos KampourisAffiliation:Department of Digital Systems University of Piraeus Piraeus, Greece Web application and project website:[nedimo\.com](https://nedimo.com/) Mobile apps:[Google Play](https://play.google.com/store/apps/details?id=com.nedimo),[App Store](https://apps.apple.com/app/id6803620912)

###### Abstract

Generative audio systems can produce large libraries of personalized bedtime content, but ordinary media objectives—retention, completion, and novelty—are poorly aligned with the goal of supporting a transition toward sleep\. Direct evidence for narrated bedtime audio in adults is mixed, and a recent active\-controlled trial did not support such audio as a standalone treatment for sleep disturbance\. We translate this uncertain evidence into conservative engineering requirements and present a multilingual pipeline for generating and narrating low\-arousal sleep stories\. The implemented prototype separates deterministic planning from large language model generation, represents content and delivery parameters explicitly, shapes each script through a four\-phase attention taper, validates structural and lexical constraints, performs a bounded error\-aware retry, and quarantines unresolved outputs\. Provider\-agnostic text\-to\-speech synthesis is followed by paragraph\-aware joining, two\-pass loudness normalization, and a publication gate that re\-measures the saved, encoded file against fixed loudness, loudness\-range, and true\-peak limits\. The product data model records stop position, replay, early abandonment, and completion while treating these events as ambiguous behavioral proxies rather than clinical outcomes\. We contribute an evidence\-to\-requirement mapping, a traceable guardrail architecture with explicit acceptance thresholds, technical evaluation criteria, and a prospective protocol for testing sleep\-onset effects\. No clinical efficacy is claimed; the system is positioned as a relaxation and attentional\-support tool whose benefit and possible reliance must be evaluated empirically\.

###### Index Terms:

generative AI, sleep stories, constrained text generation, text\-to\-speech, digital health, safety guardrails, sleep onset\.

## IIntroduction

Audio stories are increasingly offered as pre\-sleep content, yet their design objective differs from that of conventional spoken media\. For an entertainment service, finishing a story and requesting another episode are desirable outcomes\. For a sleep\-onset aid, continuous engagement to the end may instead indicate that the listener remained awake\. Optimizing ordinary completion metrics can therefore work against the intended use\.

The empirical basis also requires restraint\. An early audiobook comparator did not improve sleep quality over control\[[1](https://arxiv.org/html/2610.40970#bib.bib1)\]; small app and intensive\-care studies reported partial or context\-specific signals\[[2](https://arxiv.org/html/2610.40970#bib.bib2),[3](https://arxiv.org/html/2610.40970#bib.bib3),[4](https://arxiv.org/html/2610.40970#bib.bib4)\]; and a 2026 randomized trial of 495 working adults found that bedtime stories did not outperform an active digital control on its primary sleep\-disturbance outcome\[[5](https://arxiv.org/html/2610.40970#bib.bib5)\]\. At the same time, in a self\-selected online survey of 1,136 Swedish adults, respondents with sleep\-onset insomnia symptoms more often reported using bedtime audiobooks to reduce worry, and daily listeners more often reported returning to the same book\[[6](https://arxiv.org/html/2610.40970#bib.bib6)\]\. These results motivate a system that is usable and testable without claiming that narration is a treatment for insomnia\.

This paper describes the design and implementation of such a system in the[Nedimo web application and project website](https://nedimo.com/)\[[7](https://arxiv.org/html/2610.40970#bib.bib7)\]and its Android and iOS apps\[[8](https://arxiv.org/html/2610.40970#bib.bib8),[9](https://arxiv.org/html/2610.40970#bib.bib9)\]\. The work addresses three questions: how sleep\-related evidence can be translated into controllable generation parameters; how those constraints can be enforced across text generation, synthesis, and delivery; and how the system can be evaluated without equating media engagement with sleep\.

The principal contributions are:

- •an evidence\-to\-requirement mapping for adult sleep\-story generation;
- •a deterministic, multilingual orchestration pipeline with a parameterized narrative contract and four\-phase attention taper;
- •layered structural, lexical, and acoustic guardrails with stated acceptance thresholds, bounded retry, and quarantine; and
- •a three\-level evaluation framework separating technical conformance, product telemetry, and clinical sleep outcomes\.

## IIEvidence Base and Design Requirements

### II\-ANarration, attention, and adult sleep

The most plausible role of a story is attentional redirection: it can occupy enough cognitive capacity to interrupt rumination while avoiding the uncertainty and emotional activation of ordinary narrative\. Harvey and Payne found that people with insomnia who elaborated an interesting, engaging, pleasant, and relaxing image reported shorter sleep\-onset latency and less uncomfortable pre\-sleep thought than participants assigned general distraction or no instruction\[[10](https://arxiv.org/html/2610.40970#bib.bib10)\]\. This finding argues against a completely flat story\. It instead suggests an attentional middle: concrete and gently absorbing, but without consequential goals\.

Direct bedtime\-audio evidence remains heterogeneous \(Table[I](https://arxiv.org/html/2610.40970#S2.T1)\)\. Harmat et al\. compared relaxing music, an audiobook, and control in 94 students; music improved subjective sleep quality, whereas the audiobook did not\[[1](https://arxiv.org/html/2610.40970#bib.bib1)\]\. A 40\-person crossover study found actigraphy\-estimated sleep\-efficiency and pre\-sleep heart\-rate\-variability changes across sleepcasts, music, and mindfulness, but only mindfulness improved subjective PSQI scores\[[2](https://arxiv.org/html/2610.40970#bib.bib2)\]\. A 300\-person pilot supported the feasibility of app\-delivered stories and music but lacked the stronger active\-control evidence needed for efficacy claims\[[3](https://arxiv.org/html/2610.40970#bib.bib3)\]\. Mermer and Arslan reported favorable perceived sleep and physiological measures after a 30\-minute audiobook\-plus\-music session in 56 intensive\-care patients, a setting that limits generalization\[[4](https://arxiv.org/html/2610.40970#bib.bib4)\]\. Most decisively, the larger USleep trial found only a very small, nonsignificant primary effect for bedtime stories relative to digital control \(g=0\.12g=0\.12, 95% CI\[−0\.13,0\.37\]\[\-0\.13,0\.37\]\)\[[5](https://arxiv.org/html/2610.40970#bib.bib5)\]\.

### II\-BSound and delivery

Adjacent music evidence is more developed than story evidence\. A Cochrane review found improvement in subjective sleep quality, while effects on objective measures were less certain\[[11](https://arxiv.org/html/2610.40970#bib.bib11)\]\. Sleep\-associated music is generally softer and slower than music overall, but exhibits substantial individual and subgroup variation\[[12](https://arxiv.org/html/2610.40970#bib.bib12)\]\. Reviews of white and pink noise are heterogeneous, so an ambient layer should remain optional rather than be presented as universally effective\[[13](https://arxiv.org/html/2610.40970#bib.bib13)\]\. WHO environmental guidance recommends very low continuous bedroom noise; this is a boundary for avoiding disturbance, not a validated audiobook playback dose\[[14](https://arxiv.org/html/2610.40970#bib.bib14)\]\. Likewise, no fixed carrier, tuning, binaural, or “brainwave” frequency has been established as an effective property of narrated sleep audio\.

Delivery may matter independently of story content\. In an adjacent experiment, 35 participants heard a soothing narrated voice, a robotic voice, or silence after a standardized stress\-induction task; salivary cortisol fell faster in the soothing\-voice group, whereas electrodermal recovery did not differ between groups\[[15](https://arxiv.org/html/2610.40970#bib.bib15)\]\. This is a stress\-recovery finding, not a sleep outcome, and we treat it only as a rationale for testing calm, stable prosody\. Screen\-off playback is preferable because evening exposure to light\-emitting readers can delay sleep and circadian timing\[[16](https://arxiv.org/html/2610.40970#bib.bib16)\]\. These findings motivate stable prosody, low dynamic variation, a timer, a gradual fade, and disabled autoplay; they do not establish a universal narrator pitch or speech rate\.

### II\-CConstrained generation and speech synthesis

Large language models have been used to generate personalized, age\-appropriate fairy tales for children, together with prompts for accompanying illustrations\[[17](https://arxiv.org/html/2610.40970#bib.bib18)\]\. Sleep narration for adults adds constraints that such storytelling systems do not target: low arousal, a controlled attentional taper, and a duration budget\. Prompting alone does not guarantee schema\-valid output\. Structured\-output benchmarks show that even capable language models can violate nontrivial schemas, supporting the use of an external parser and validator\[[18](https://arxiv.org/html/2610.40970#bib.bib17)\]\. Precise length following is also unreliable in zero\-shot generation; target adjustment, filtering, and automated revision improve compliance\[[19](https://arxiv.org/html/2610.40970#bib.bib20)\]\. For synthesis, SSML provides a provider\-independent representation for pronunciation, pauses, rate, pitch, and volume, although provider behavior remains implementation specific\[[20](https://arxiv.org/html/2610.40970#bib.bib21)\]\. Modern neural TTS systems also expose one\-to\-many variation in duration, pitch, and rhythm\[[21](https://arxiv.org/html/2610.40970#bib.bib22)\]; consequently, textual correctness alone cannot guarantee acoustic conformance\. The final waveform must be measured\. We use loudness, loudness\-range, and true\-peak descriptors consistent with EBU R 128 terminology, without assuming that its broadcast target is itself an appropriate bedtime level\[[22](https://arxiv.org/html/2610.40970#bib.bib23)\]\.

### II\-DEvidence\-to\-requirement translation

Tables[I](https://arxiv.org/html/2610.40970#S2.T1)and[II](https://arxiv.org/html/2610.40970#S2.T2)summarize how the literature is operationalized\. These are conservative design hypotheses, not proven therapeutic ingredients\.

TABLE I:Direct and Closely Related Adult Bedtime\-Audio EvidenceTABLE II:Evidence\-to\-Requirement Mapping

## IIISystem Architecture

The production system executes a nightly sequence from deterministic slot planning to publication and feedback \(Fig\.[1](https://arxiv.org/html/2610.40970#S3.F1)\)\. Generation is deliberately one stage in a larger controlled process\.

Fig\. 1:End\-to\-end production pipeline\. Solid arrows show the publication path; dashed arrows show correction, quarantine, and aggregate feedback paths\.### III\-ADeterministic planning

For each run date and language, the planner resolves a slot record before any model call\. The record includes target duration, engagement arm, story domain, movement mode, point of view, familiarity mode, setting, sensory palette, weather and time\-of\-day profile, repetition strategy, and voice configuration\. Repeating the same date–language run is idempotent\. Variation is therefore scheduled over controlled pools rather than obtained by repeatedly asking a model to be “creative\.” This prevents accidental local theme collapse and makes each artifact traceable to a resolved input\.

The engagement arm is also assigned by the planner\. Fixed allocation across low\-, medium\-, and higher\-engagement variants permits later comparative experiments while preventing production traffic from drifting toward whichever content maximizes completion\.

### III\-BPrompt contract and duration budget

The prompt is composed from stable system rules, the sleep\-story skill, the resolved slot, an output schema, and optional retry diagnostics\. It requests machine\-parseable front matter, a title, one continuous narration body, and a short synthesis\-notes block\. The body must not expose its phase labels, duration budget, or validation state\.

For languageℓ\\ell, duration planning can be expressed as

Wℓ⋆=T​rs,ℓs¯ℓ,Wℓ∈\[0\.93​Wℓ⋆,1\.07​Wℓ⋆\],W\_\{\\ell\}^\{\\star\}=T\\frac\{r\_\{s,\\ell\}\}\{\\bar\{s\}\_\{\\ell\}\},\\qquad W\_\{\\ell\}\\in\[0\.93W\_\{\\ell\}^\{\\star\},1\.07W\_\{\\ell\}^\{\\star\}\],\(1\)whereTTis target minutes,rs,ℓr\_\{s,\\ell\}is the configured syllable rate, ands¯ℓ\\bar\{s\}\_\{\\ell\}is an empirical syllables\-per\-word estimate\. When a language\-specific direct word\-rate estimate is available, it can replace the ratio\. The±7%\\pm 7\\%band is the target range given to the generator; the blocking validator check rejects a script whose syllable\-estimated duration deviates fromTTby more than 8%\. Both are implementation tolerances, not evidence\-based sleep thresholds\. Languages for which words are a poor duration unit require a different estimator; Japanese mora\-level validation remains an identified implementation gap\.

### III\-CFour\-phase attention taper

The narrative contract partitions the script into Arrival \(10%\), Exploration \(55%\), Settling \(20%\), and Fade \(15%\)\. The unit is the word index of the script, not measured playback time: for a target ofWWwords, the contract places the boundaries atround⁡\(0\.10​W\)\\mathrm\{round\}\(0\.10W\),round⁡\(0\.65​W\)\\mathrm\{round\}\(0\.65W\), andround⁡\(0\.85​W\)\\mathrm\{round\}\(0\.85W\)\. After generation, the server recomputes the Settling–Fade boundary from the realized word countWrW\_\{r\}aswf=round⁡\(Wr​\(1−Tf/T\)\)w\_\{f\}=\\mathrm\{round\}\\big\(W\_\{r\}\(1\-T\_\{f\}/T\)\\big\), where the fade durationTfT\_\{f\}is 4 min for stories of 15 min or longer andmax⁡\(2,⌊T/4⌋\)\\max\(2,\\lfloor T/4\\rfloor\)min otherwise;Tf/TT\_\{f\}/Tequals the nominal 15% at about 25 min\. The configured synthesis rate is constant within a story, but sentence and paragraph pauses lengthen afterwfw\_\{f\}\(for English, from 800 to 1000 ms and from 1600 to 2200 ms; other locales use slightly longer values\), and providers that accept a style instruction are asked to slow slightly toward the end\. Word\-index boundaries therefore do not map linearly to playback time, and Fade occupies a larger share of playback time than of words\. Phase boundaries are not yet located in the rendered waveform; forced alignment of text to audio would allow this and is future work\. Arrival immediately provides a concrete safe place, object, or activity\. Exploration introduces benign descriptive discoveries along one simple thread\. Settling decreases the rate of new entities and scene changes\. Fade introduces no important names, goals, locations, or questions and ends without a cliffhanger\. Figure[2](https://arxiv.org/html/2610.40970#S3.F2)shows the conceptual profile\.

The system seeks curiosity about*what will be described next*, not concern about*what will happen*\. Hard prompt constraints exclude consequential stakes, open mysteries, direct sleep instructions, body\-state claims, exclamations, and direct questions\. Movement modes—journey, process, cycle, catalogue, or tending—produce variety while retaining a low\-consequence arc\.

Fig\. 2:Conceptual attention taper\. Attentional demand is sufficient to redirect thought early, then declines; the permitted arousal band remains low throughout\. The curves are design targets, not measured physiology\.
### III\-DGuarded generation and bounded retry

Validation proceeds in layers, and each check is either blocking \(an error\) or advisory \(a warning recorded with the story\)\. The parser first reads the front matter and narration body\. Blocking checks reject a syllable\-estimated duration more than 8% from target, any question mark or exclamation mark, any hit in per\-language lists of banned high\-arousal and sleep\-instruction terms, anticipation phrasing, listener self\-address, or meta\-reference to the story, and a closing gesture that resolves the narrative\. Advisory checks report word\-count deviation above 7%, median sentence length outside 12–22 words, an abstraction\-rate proxy, and two taper checks after the Fade boundarywfw\_\{f\}: the new\-word rate relative to the second half of the body, and mean sentence length relative to the body\. Taper checks remain advisory because rule\-based proxies cannot reliably infer narrative stakes; these warnings are reviewed by an operator rather than used to reject automatically\.

If validation fails, one retry is issued with the original resolved slot and targeted diagnostics\. The retry asks for correction of named violations rather than unconstrained regeneration\. A second failure is quarantined for review\. This limit bounds cost and prevents a failing slot from silently entering an open\-ended generation loop\.

### III\-ESynthesis, mastering, and delivery

Accepted scripts are divided at paragraph boundaries and passed through a provider adapter supporting SSML or plain text\. The adapter resolves locale, voice, pronunciation substitutions, rate, and inter\-paragraph pauses\. Chunks are cached and joined with generated silence so a transient failure does not require resynthesizing the entire story\.

The joined waveform is resampled to 44\.1 kHz mono and mastered with FFmpeg’sloudnormfilter, which measures according to EBU R 128\[[22](https://arxiv.org/html/2610.40970#bib.bib23)\]\. The sequence is: \(i\) a measurement pass on the lossless source; \(ii\) a normalization pass that uses the measured values, with targets of−22\-22LUFS integrated loudness,−3\-3dBTP true peak, and 4 LU loudness range, followed by a 150 s fade\-out; \(iii\) AAC encoding at 96 kb/s; and \(iv\) a second measurement of the saved, encoded file\. Publication requires integrated loudness in\[−26,−18\]\[\-26,\-18\]LUFS, true peak≤−2\.5\\leq\-2\.5dBTP, and loudness range≤4\.5\\leq 4\.5LU on that saved file\. If it fails, mastering restarts from the lossless source with dynamic\-range compression of ratio 2:1 and then 4:1, for at most three attempts\. The limits are never relaxed, and a file that still fails is withheld from publication\. The application disables automatic continuation, offers a sleep timer, and supports screen\-off playback\. These limits fix level relative to digital full scale; device volume remains under user control, so they cannot guarantee the sound\-pressure level at the pillow\.

## IVImplementation and Guardrail Layers

The prototype separates configuration from generated artifacts\. A slot record identifies the planner version, language, content parameters, prompt version, model/provider identifiers, validation results, retry state, synthesis settings, and audio measurements\. This separation permits a script to be regenerated or resynthesized without losing provenance\. Recording why each artifact was accepted, flagged, or quarantined follows a human\-centered view of explainable AI, in which automated decisions remain inspectable by the people who oversee them\[[23](https://arxiv.org/html/2610.40970#bib.bib19)\]\.

Figure[3](https://arxiv.org/html/2610.40970#S4.F3)groups controls into five layers\. A failure at a lower layer cannot be compensated by fluent text at a higher layer: a well\-written script with an invalid duration, an unsafe claim, or a clipped waveform remains unpublishable\.

Fig\. 3:Defense\-in\-depth guardrails\. Publication requires conformance at every layer\.### IV\-AMultilingual operation

Language is a first\-class planning key rather than a final translation step\. Each locale can define pools, sentence\-complexity limits, duration coefficients, banned expressions, pronunciation rules, voices, and punctuation constraints\. This design avoids assuming that an English word budget or prosody profile transfers directly to other languages\. Current limitations include incomplete mora\-based duration validation for Japanese and the absence of a completed cross\-language perceptual study\. Multilingual support should therefore be understood as an implemented architecture with language\-specific calibration still in progress\.

### IV\-BCurrent implementation boundary

We separate four levels of status\.*Implemented and unit\-tested:*the duration and taper metadata, the multilingual validator, truncation handling for model output, SSML construction, lexical paragraph repair, and the saved\-file mastering gate\.*Implemented:*planning, the prompt contract, retry and quarantine, provider adapters, and publication metadata\.*Deployed:*the pipeline has published stories in English, German, French, Hindi, and Japanese to the production catalogue\.*Designed but not implemented:*mora\-based Japanese duration validation, phase timing measured in rendered audio, a cross\-language perceptual study, and the controlled study of Section[V](https://arxiv.org/html/2610.40970#S5)\. Apart from the five\-story pilot in Section[V](https://arxiv.org/html/2610.40970#S5), this paper does not report conformance results on a fixed corpus, production\-scale reliability statistics, or clinical outcome data; the other evaluation measures below are a plan, not results\. Those omissions define the present evaluation boundary rather than being treated as positive results\.

## VEvaluation Framework

Evaluation is divided into technical conformance, behavioral telemetry, and controlled sleep outcomes\. Mixing these levels would invite an efficacy claim from an engineering metric\.

### V\-ATechnical conformance

The first evaluation level can be run without users\. Recommended measures include first\-pass schema validity, first\-pass acceptance, retry recovery, quarantine rate, absolute word\-count error, phase\-budget error, banned\-cue precision and recall on an annotated test set, late\-story entity\-introduction rate, synthesis failure rate, duration error, integrated loudness, loudness range, maximum true peak, and boundary\-discontinuity counts\. Results should be reported by language, voice, generation model, and story domain\. A fixed regression corpus is necessary to detect prompt or provider changes\.

### V\-BPilot measurement

As an initial check, Table[III](https://arxiv.org/html/2610.40970#S5.T3)reports the five stories published from one nightly run \(12 October 2026\): one 20\-min slot each in English, German, French, Hindi, and Japanese, all voiced with the same ElevenLabs voice\. All five passed the blocking script checks with no warnings and passed the saved\-file gate\. Integrated loudness was within 0\.3 LU of the−22\-22LUFS target\. True peak and loudness range met the acceptance limits but sat slightly above the mastering targets of−3\-3dBTP \(all five\) and 4 LU \(four of five\)\. Rendered duration, which no gate checks, was within 3% of target for English and German but 13%, 24%, and 38% short for French, Japanese, and Hindi\. The syllables\-per\-word estimate in \([1](https://arxiv.org/html/2610.40970#S3.E1)\) therefore overestimates speaking time for these languages with this voice; a script can pass the 8% check and still render far from its target\. Five stories from a single run are a pilot, not a fixed\-corpus evaluation, and published records cannot show first\-pass acceptance, retry, or quarantine rates\.

TABLE III:Pilot Measurement: Five Published Stories \(20\-min Target\)
### V\-CBehavioral telemetry

LetTaT\_\{a\}denote audio duration andtst\_\{s\}the final playhead position in a nocturnal session\. The system records a normalized stop fraction

fs=min⁡\(tsTa,1\),f\_\{s\}=\\min\\left\(\\frac\{t\_\{s\}\}\{T\_\{a\}\},1\\right\),\(2\)along with a reached\-end indicator, early abandonment before 120 s, and same\-night replay\. These metrics support content\-fit diagnosis, but none identifies sleep\. A lowfsf\_\{s\}may indicate sleep, rejection, interruption, or technical failure; a highfsf\_\{s\}may indicate wakefulness, enjoyment, or a short timer\. Accordingly, aggregate telemetry is used to generate hypotheses and select material for trials, not to label an individual as asleep\.

The system also avoids a completion\-maximizing objective and monitors repeated nightly use as a possible reliance signal\. No streak reward or escalating notification should be attached to bedtime listening\. Telemetry collection should be minimized, consented, access\-controlled, and retained only as long as required for the stated evaluation\.

### V\-DProspective controlled study

A preregistered at\-home study should compare: \(A\) generated stories with the four\-phase taper, \(B\) duration\- and narrator\-matched stories without the taper constraints, and \(C\) a digital control with the same interface but no narrated content\. A within\-person randomized design can reduce between\-person variability\. The primary endpoint should be sleep\-onset latency measured with validated home EEG where feasible; actigraphy alone can misclassify quiet wakefulness\. Secondary endpoints should include wake after sleep onset, total sleep time, sleep efficiency, pre\-sleep cognitive arousal, morning restoration, next\-day sleepiness, adverse events, and perceived reliance\.

A factorial extension can test engagement level, 15 versus 30 minutes, voice\-only versus optional ambience, and unfamiliar versus recurring\-world content\. The success criterion is not higher completion\. It is shorter sleep\-onset latency without increased awakenings, next\-day impairment, or reliance\. Analyses should report average effects and responder distributions because personalized audio may benefit some listeners while disturbing others\.

## VISafety, Ethics, and Limitations

The system is a relaxation product, not CBT\-I or a diagnostic device\. Interface and narration text must not promise treatment, instruct users to ignore persistent symptoms, or imply that a specific frequency changes brain rhythms\. Users reporting chronic insomnia, marked daytime impairment, loud snoring, witnessed breathing pauses, or gasping should be directed toward qualified care\.

Dependence is a separate concern from acute safety\. The observational association between frequent listening and difficulty sleeping without audio does not establish causation\[[6](https://arxiv.org/html/2610.40970#bib.bib6)\], but it supports conservative product mechanics and explicit measurement\. Privacy is also material: nighttime playback patterns can reveal routines and health\-related behavior\. The architecture should avoid microphone capture by default and separate operational logs from research datasets\.

Several limitations remain\. First, the attention taper is an evidence\-informed design hypothesis, not a validated dose\. Second, the literature transfers findings from imagery, music, noise, and clinical settings to generated narration\. Third, lexical and structural rules cannot guarantee low emotional arousal, especially across cultures and languages\. Fourth, TTS voices and consumer playback devices introduce uncontrolled prosodic and acoustic variation\. Fifth, stop\-position telemetry is intrinsically ambiguous\. Finally, the present work reports architecture and implementation status rather than clinical effectiveness or comparative generation\-quality results\.

## VIIConclusion

We presented an evidence\-grounded pipeline for AI\-generated, narrated sleep stories\. Its central design decision is to optimize neither flatness nor ordinary engagement, but sufficient attentional capture under a low\-arousal constraint followed by a controlled taper\. Deterministic planning, explicit prompt contracts, external validation with stated thresholds, bounded retry, provider\-independent synthesis, saved\-file loudness checks, and non\-completion\-centric telemetry make each published artifact traceable to its inputs and checks\. The architecture creates a credible platform for controlled evaluation; it does not itself demonstrate improved sleep\. Future work should publish language\-stratified technical results and a preregistered trial using objective and subjective sleep outcomes\.

## References

- \[1\]\(2008\)Music improves sleep quality in students\.Journal of Advanced Nursing62\(3\),pp\. 327–335\.External Links:[Document](https://dx.doi.org/10.1111/j.1365-2648.2008.04602.x)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.2.1.1.1)\.
- \[2\]U\. Kirk, C\. Ngnoumen, A\. Clausel, and C\. K\. Purvis\(2022\)Using actigraphy and heart rate variability \(HRV\) to assess sleep quality and sleep arousal of three app\-based interventions: sleep music, sleepcasts, and guided mindfulness\.Journal of Cognitive Enhancement6\(2\),pp\. 216–231\.External Links:[Document](https://dx.doi.org/10.1007/s41465-021-00233-4)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.3.1.1.1)\.
- \[3\]M\. Economides, R\. Male, H\. Bolton, and K\. Cavanagh\(2023\)Feasibility and preliminary efficacy of app\-based audio tools to improve sleep health in working adults experiencing poor sleep: a multi\-arm randomized pilot trial\.Sleep46\(7\),pp\. zsad053\.External Links:[Document](https://dx.doi.org/10.1093/sleep/zsad053)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.4.1.1.1)\.
- \[4\]E\. Mermer and S\. Arslan\(2024\)The effect of audiobooks on sleep quality and vital signs in intensive care patients\.Intensive and Critical Care Nursing80,pp\. 103552\.External Links:[Document](https://dx.doi.org/10.1016/j.iccn.2023.103552)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.5.1.1.1)\.
- \[5\]J\. Vazzaz, F\. Matcham, M\. Economides, H\. Bolton, and K\. Cavanagh\(2026\)USleep: efficacy of app\-based audio interventions to improve sleep disturbance in working adults, a multi\-arm randomized controlled trial\.Sleep49\(9\),pp\. zsag154\.External Links:[Document](https://dx.doi.org/10.1093/sleep/zsag154)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.6.1.1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.3.1.1.1)\.
- \[6\]K\. Berglund, E\. M\. S\. Meth, P\. Xue, and C\. Benedict\(2026\)Bedtime audiobook listening motives and insomnia status: survey study\.JMIR Formative Research10,pp\. e95064\.External Links:[Document](https://dx.doi.org/10.2196/95064)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p2.1),[TABLE I](https://arxiv.org/html/2610.40970#S2.T1.2.7.1.1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.4.1.1.1),[§VI](https://arxiv.org/html/2610.40970#S6.p2.1)\.
- \[7\]Nedimo Team\(2026\)Nedimo web application and project website\.Note:OnlineAccessed: 2026\-10\-29External Links:[Link](https://nedimo.com/)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p3.1)\.
- \[8\]Nedimo Team\(2026\)Nedimo: sleep stories & sounds, android app on google play\.Note:OnlineAccessed: 2026\-10\-29External Links:[Link](https://play.google.com/store/apps/details?id=com.nedimo)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p3.1)\.
- \[9\]Nedimo Team\(2026\)Nedimo: sleep stories, ios app on the app store\.Note:OnlineAccessed: 2026\-10\-29External Links:[Link](https://apps.apple.com/app/id6803620912)Cited by:[§I](https://arxiv.org/html/2610.40970#S1.p3.1)\.
- \[10\]A\. G\. Harvey and S\. Payne\(2002\)The management of unwanted pre\-sleep thoughts in insomnia: distraction with imagery versus general distraction\.Behaviour Research and Therapy40\(3\),pp\. 267–277\.External Links:[Document](https://dx.doi.org/10.1016/S0005-7967%2801%2900012-2)Cited by:[§II\-A](https://arxiv.org/html/2610.40970#S2.SS1.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.2.1.1.1)\.
- \[11\]K\. V\. Jespersen, V\. Pando\-Naude, J\. Koenig, P\. Jennum, and P\. Vuust\(2022\)Listening to music for insomnia in adults\.Cochrane Database of Systematic Reviews\(8\),pp\. CD010459\.External Links:[Document](https://dx.doi.org/10.1002/14651858.CD010459.pub3)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p1.1)\.
- \[12\]R\. J\. Scarratt, O\. A\. Heggli, P\. Vuust, and K\. V\. Jespersen\(2023\)The audio features of sleep music: universal and subgroup characteristics\.PLOS ONE18\(1\),pp\. e0278813\.External Links:[Document](https://dx.doi.org/10.1371/journal.pone.0278813)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p1.1)\.
- \[13\]E\. Capezuti, K\. Pain, E\. Alamag, X\. Chen, V\. Philibert, and A\. C\. Krieger\(2022\)Systematic review: auditory stimulation and sleep\.Journal of Clinical Sleep Medicine18\(6\),pp\. 1697–1709\.External Links:[Document](https://dx.doi.org/10.5664/jcsm.9860)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.5.1.1.1)\.
- \[14\]World Health Organization Regional Office for Europe\(2009\)Night noise guidelines for europe\.Technical reportWorld Health Organization,Copenhagen, Denmark\.External Links:ISBN 978\-92\-890\-4173\-7,[Link](https://www.who.int/europe/publications/i/item/9789289041737)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.5.1.1.1)\.
- \[15\]M\. Saskovets, M\. Lohachov, and Z\. Liang\(2025\)Paralanguage as a tool for shaping stress response in listeners: multimodal physiological sensing study\.Comprehensive Psychoneuroendocrinology23,pp\. 100309\.External Links:[Document](https://dx.doi.org/10.1016/j.cpnec.2025.100309)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p2.1)\.
- \[16\]A\. Chang, D\. Aeschbach, J\. F\. Duffy, and C\. A\. Czeisler\(2015\)Evening use of light\-emitting ereaders negatively affects sleep, circadian timing, and next\-morning alertness\.Proceedings of the National Academy of Sciences112\(4\),pp\. 1232–1237\.External Links:[Document](https://dx.doi.org/10.1073/pnas.1418490112)Cited by:[§II\-B](https://arxiv.org/html/2610.40970#S2.SS2.p2.1)\.
- \[17\]G\. Makridis, A\. Oikonomou, and V\. Koukos\(2024\)FairyLandAI: personalized fairy tales utilizing ChatGPT and DALLE\-3\.Note:arXiv preprint arXiv:2407\.09467External Links:[Link](https://arxiv.org/abs/2407.09467)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1)\.
- \[18\]Y\. Lu, H\. Li, X\. Cong, Z\. Zhang, Y\. Wu, Y\. Lin, Z\. Liu, F\. Liu, and M\. Sun\(2025\)Learning to generate structured output with schema reinforcement learning\.InProceedings of the 63rd Annual Meeting of the Association for Computational Linguistics,pp\. 4905–4918\.External Links:[Document](https://dx.doi.org/10.18653/v1/2025.acl-long.243)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.6.1.1.1)\.
- \[19\]F\. Retkowski and A\. Waibel\(2025\)Zero\-shot strategies for length\-controllable summarization\.InFindings of the Association for Computational Linguistics: NAACL 2025,Albuquerque, New Mexico,pp\. 551–572\.External Links:[Document](https://dx.doi.org/10.18653/v1/2025.findings-naacl.34)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.6.1.1.1)\.
- \[20\]W3C Voice Browser Working Group\(2010\)Speech synthesis markup language \(SSML\) version 1\.1\.W3C RecommendationWorld Wide Web Consortium\.External Links:[Link](https://www.w3.org/TR/speech-synthesis11/)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.7.1.1.1)\.
- \[21\]J\. Kim, J\. Kong, and J\. Son\(2021\)Conditional variational autoencoder with adversarial learning for end\-to\-end text\-to\-speech\.InProceedings of the 38th International Conference on Machine Learning,Proceedings of Machine Learning Research, Vol\.139,pp\. 5530–5540\.External Links:[Link](https://proceedings.mlr.press/v139/kim21f.html)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1),[TABLE II](https://arxiv.org/html/2610.40970#S2.T2.2.7.1.1.1)\.
- \[22\]European Broadcasting Union\(2023\)Loudness normalisation and permitted maximum level of audio signals\.Technical reportTechnical ReportEBU R 128, Version 5\.0,European Broadcasting Union\.External Links:[Link](https://tech.ebu.ch/publications/r128)Cited by:[§II\-C](https://arxiv.org/html/2610.40970#S2.SS3.p1.1),[§III\-E](https://arxiv.org/html/2610.40970#S3.SS5.p2.1)\.
- \[23\]G\. Makridis\(2026\)Human\-centered explainable AI in education\.InExplainable Artificial Intelligence and Interpretable Machine Learning in Education,M\. S\. Khine \(Ed\.\),pp\. 58–73\.External Links:[Document](https://dx.doi.org/10.1201/9781003713371-4)Cited by:[§IV](https://arxiv.org/html/2610.40970#S4.p1.1)\.

相似文章

BIASEDTALES-ML:用于分析大语言模型生成故事中叙事属性分布的多语言数据集

arXiv cs.CL

# BIASEDTALES-ML:用于分析大语言模型生成故事中叙事属性分布的多语言数据集 来源:[https://arxiv.org/html/2604.17008](https://arxiv.org/html/2604.17008) Yuxuan Ouyang1,Yingfeng Luo1,Tong Xiao1,2,Jingbo Zhu1,2 1中国沈阳东北大学计算机科学与工程学院 2中国沈阳 NiuTrans Research [email protected] {xiaotong,zhujingbo}@mail.neu.edu.cn ###### 摘要 大型语言模型(LLM)正日益被广泛用

语言模型需要睡眠:学习自我修改与巩固记忆

Hugging Face Daily Papers

本文提出了一种针对大型语言模型的“睡眠”范式,该范式通过记忆巩固和梦境阶段实现持续学习,使模型能够将短期知识提炼为长期参数,并在无需人工监督的情况下自我改进。

@omarsar0: 语言模型需要“睡眠”

X AI KOLs Following

一篇论文探讨了让语言模型智能体‘睡眠’以重置内部状态,从而提升在长期任务上的表现,解决了上下文长度扩展的问题。