Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /home/medicalscie/public_html/thesesjournal.com/lib/pkp/classes/session/SessionManager.inc.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/medicalscie/public_html/thesesjournal.com/lib/pkp/classes/session/SessionManager.inc.php:69) in /home/medicalscie/public_html/thesesjournal.com/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 478

Warning: Cannot modify header information - headers already sent by (output started at /home/medicalscie/public_html/thesesjournal.com/lib/pkp/classes/session/SessionManager.inc.php:69) in /home/medicalscie/public_html/thesesjournal.com/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 479
TY - JOUR AU - Talha Talha, AU - Muhammad Sajjad, AU - Mustahsan Hammad Naqvi, AU - Sajid Iqbal, AU - Muhammad Safiullah, AU - Muhammad Tayyab Waqar, PY - 2026/03/28 Y2 - 2026/10/08 TI - BENCHMARKING SMALL LANGUAGE MODELS FOR OFFLINE CHILD-DIRECTED STORYTELLING ON EDGE DEVICES JF - Spectrum of Engineering Sciences JA - SES VL - 4 IS - 3 SE - Articles DO - UR - https://www.thesesjournal.com.medicalsciencereview.com/index.php/1/article/view/3840 SP - 6248-6266 AB - <p>Cloud-dependent storytelling assistants are unusable in low-connectivity settings and transmit children's speech to third-party servers. Deploying a generative language model entirely on-device removes both problems, but it is not established which models are actually viable within the compute envelope of a single-board computer, nor whether the widely assumed monotone trade-off between generation speed and narrative quality holds at sub-billion parameter scale. This paper reports a controlled benchmark of six openly available causal language models Qwen2.5-0.5B, GPT-2 Medium, GPT-2 Large, DistilGPT-2, GPT-Neo-125M and DialoGPT-small for offline, child-directed story generation. Each model was evaluated under three fixed decoding regimes with an identical prompt and a common 100-token budget, yielding paired latency, output-length and lexical-diversity measurements, and each output was scored by three raters, blinded to model identity, on a five-criterion rubric. Reliability was high (ICC(2,k) = 0.966; Krippendorff's α = 0.903). Research report three findings. First, the speed–quality trade-off does not hold in this regime: the rank correlation between latency and human quality is not significant (ρ = 0.714, p = 0.111), and Qwen2.5-0.5B simultaneously attains the highest quality (Q = 4.87/5) and a latency 9.1× lower than GPT-2 Large (Q = 2.87), which is 3.1× larger. Training recency and instruction alignment, not parameter count or latency, dominate narrative quality at this scale. Second, Distinct-n the standard automatic diversity metric is strongly confounded with output length in this regime (ρ = −0.765, p &lt; 0.001); degenerate 4- to 9-token outputs achieve a perfect Distinct-1 of 1.00, and research specify a length-gated reporting protocol that removes the artefact. Third, research document a negative hardware result: the Coral Edge TPU cannot host autoregressive transformer decoding, for architectural reasons research make explicit, and single-board CPU inference is presently the only workable substrate for this class of system. The research combine these into a Quality–Efficiency Index and a quality-gated selection rule, and report a Raspberry Pi 5 deployment envelope for a full speech-to-speech pipeline.</p><p><strong>Index Terms</strong><strong>:</strong>&nbsp;Edge artificial intelligence, small language models, offline inference, child–computer interaction, natural language generation, human evaluation, Raspberry Pi, story generation, evaluation metrics.</p> ER -