<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danntezaki on Medium]]></title>
        <description><![CDATA[Stories by Danntezaki on Medium]]></description>
        <link>https://medium.com/@danntezaki?source=rss-2a661243e21e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*nELNbOLEWXb3P95Q</url>
            <title>Stories by Danntezaki on Medium</title>
            <link>https://medium.com/@danntezaki?source=rss-2a661243e21e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:07:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danntezaki/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Putting StressSense Edge in a Browser — and What Still Needs Hardware Proof]]></title>
            <link>https://medium.com/@danntezaki/putting-stresssense-edge-in-a-browser-and-what-still-needs-hardware-proof-3678bdd288aa?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3678bdd288aa</guid>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[stress]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 12:00:19 GMT</pubDate>
            <atom:updated>2026-11-25T18:03:05.543Z</atom:updated>
            <content:encoded><![CDATA[<p>Metrics inside a terminal window are easy to summarize in a report, but they don’t show how a system behaves second by second. To make the project tangible for both technical reviewers and non-technical stakeholders, I built <strong>StressSense Edge</strong> — an interactive browser prototype that replays held-out WESAD wearers (such as Subject S10) and runs both the teacher and distilled student offline right inside the page.</p><p>Before trusting the browser demo, I verified its numerical parity against Python: the browser student’s output probabilities matched PyTorch within a maximum difference of <strong>3.4 × 10⁻⁶</strong>, running in <strong>48 ms</strong> in-browser compared to <strong>144 ms</strong> for the teacher.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vAuFdx_hOR0t2klsq6Y8Q.png" /></figure><p><strong>Designing for worker trust, not surveillance</strong></p><p>Wearable monitoring fails on the factory floor if employees view it as a disciplinary tracking tool. StressSense Edge keeps raw physiological waveforms strictly local on the wearable node. Only a coarse stress level, a pseudonymous wearer ID, and a <strong>SHA-256 tamper-evident tag</strong> are sent to the supervisor view — and changing even a single bit in an alert record immediately breaks the integrity check.</p><p><strong>What is still unproven</strong></p><p>Finishing our IEEE systematic review, conference poster, and this dev-log also made me realistic about what remains before field deployment:</p><p>1. <strong>Non-distilled ablation</strong>: Training an identical 59,923-parameter student from scratch without teacher soft targets to isolate the exact accuracy gain coming from distillation itself.<br>2. <strong>Physical microcontroller tests</strong>: Benchmarking the 78 KB 8-bit student on an <strong>ESP32 or Raspberry Pi</strong> wrist housing with live sensors to measure real milliwatt power draw.<br>3. <strong>Local calibration</strong>: Validating thresholds with Ugandan industrial workers and occupational health practitioners rather than relying solely on a 15-subject lab dataset.</p><p>Documenting this work week by week — from refining boolean search queries to debugging per-wearer normalization — showed me that clear writing and disciplined engineering reinforce each other. When you have to explain every design trade-off in plain English, weak assumptions have nowhere to hide.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3678bdd288aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Penalizing Missed Stress Cases 5x Changed the Trade-Off]]></title>
            <link>https://medium.com/@danntezaki/penalizing-missed-stress-cases-5x-changed-the-trade-off-081fff9726a4?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/081fff9726a4</guid>
            <category><![CDATA[penalty]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 12:00:59 GMT</pubDate>
            <atom:updated>2026-11-25T17:55:13.466Z</atom:updated>
            <content:encoded><![CDATA[<p>Standard cross-entropy treats every classification error symmetrically: mistaking <strong>stress</strong> for <strong>baseline </strong>costs the same loss as mistaking <strong>baseline</strong> for <strong>stress</strong>. In an industrial safety setting, those two mistakes carry completely different risks. A false alarm prompts a brief rest or hydration check; missing an acute stress spike leaves an overworked employee exposed to fatigue or injury.</p><p>To bake that asymmetry directly into training, I added a class-dependent penalty weight into the distillation objective so that any window whose true label is <strong>stress</strong> is weighted by a penalty factor <strong>p</strong>, while non-stress windows keep weight 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/0*N_5VbVzL1tzU7Cif" /></figure><p><strong>Sweeping penalties (p = 1, 2, 5, 10)</strong></p><p>I ran a penalty sweep across <strong>p</strong> = 1, 2, 5, and 10 across all cross-validation folds to see where sensitivity peaked before false alarms took over:</p><p><strong>At p = 1</strong>: Standard unweighted distillation left too many borderline stress episodes undetected.<br><strong>At p = 5</strong>: Stress recall climbed to <strong>0.88</strong> (catching 100% of stress windows across the three held-out demo wearers), with stress F1 reaching <strong>0.84</strong> and macro F1 holding steady at <strong>0.70–0.73</strong>.<br><strong>At p = 10</strong>: Stress recall edged slightly higher, but non-stress precision dropped sharply as false alarms spilled into baseline and amusement windows.</p><p>On a single laptop CPU thread in PyTorch, per-window inference latency dropped from <strong>2.67 ms</strong> for the teacher to <strong>1.26 ms</strong> for the student. Tuning <strong>p</strong> reminded me that loss functions aren’t purely mathematical — choosing <strong>p</strong>= 5 was an engineering decision about which error a workplace can afford to make.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=081fff9726a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shrinking a CNN-LSTM by 73% Without Losing Accuracy]]></title>
            <link>https://medium.com/@danntezaki/shrinking-a-cnn-lstm-by-73-without-losing-accuracy-0c4aa00160fd?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c4aa00160fd</guid>
            <category><![CDATA[shrinking]]></category>
            <category><![CDATA[cnn-lstm]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 12:00:56 GMT</pubDate>
            <atom:updated>2026-11-25T17:47:00.037Z</atom:updated>
            <content:encoded><![CDATA[<p>With a solid teacher baseline in place, the next engineering step was designing a student network small enough to fit comfortably inside microcontroller memory constraints without losing temporal sequence modeling.</p><p>I scaled the CNN-LSTM architecture down from 32 convolutional channels and 128 LSTM units to <strong>24 convolutional channels and 64 LSTM units</strong>. That cut total parameters from <strong>221,251 down to 59,923</strong> — a <strong>72.9% reduction</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*jT_fHtr4jnZ796Ur" /></figure><p><strong>Soft labels beat hard labels on a small dataset</strong></p><p>Instead of training the compact student solely on hard 0/1 class labels, I trained it using response-based knowledge distillation with softened teacher logits (<strong>T</strong> = 2.0, α = 0.7). Across 5-fold subject-grouped cross-validation, the 72.9% smaller student didn’t just match the teacher — it <strong>outperformed</strong> it, rising from <strong>0.67 to 0.78 accuracy</strong> and <strong>0.61 to 0.73 macro F1</strong>.</p><p>On a small 15-subject physiological dataset, hard labels force a model to draw rigid boundaries around noisy windows. Learning from the teacher’s soft probability distribution acted like built-in regularization, helping the smaller student generalize better to unseen wearers.</p><p><strong>Checking the actual byte footprint</strong></p><p>Parameter counts only matter if they translate into real memory savings on hardware:</p><p><strong>Teacher (32-bit)</strong>: 864 KB<br><strong>Distilled Student (32-bit)</strong>: 234 KB<br><strong>Distilled Student (8-bit dynamic quantization)</strong>: 78 KB</p><p>Getting the full model weights down to <strong>78 KB</strong> puts real-time wrist inference well within reach of low-power edge microcontrollers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c4aa00160fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Global Normalization Held My Stress Model Back]]></title>
            <link>https://medium.com/@danntezaki/why-global-normalization-held-my-stress-model-back-f68879dcb617?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f68879dcb617</guid>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 23 Oct 2026 12:00:50 GMT</pubDate>
            <atom:updated>2026-11-25T17:40:34.852Z</atom:updated>
            <content:encoded><![CDATA[<p>Moving from systematic review synthesis to training models on the 15-subject WESAD dataset immediately exposed a problem that looks obvious in hindsight: human physiology has no universal baseline.</p><p>I built my preprocessing pipeline strictly from the wrist sensors — BVP, EDA, skin temperature, and accelerometer — resampled at 4 Hz into 60-second non-overlapping windows (240 samples per window). That produced 547 labeled windows: 290 baseline, 165 stress, and 92 amusement. To avoid subject leakage, every experiment ran under **5-fold cross-validation grouped by subject**, training a fresh teacher from scratch in every fold.</p><p><strong>Before and after per-wearer standardization</strong></p><p>My teacher model is a multimodal CNN-LSTM with two 32-channel convolutional layers followed by two 128-unit LSTM layers, totaling <strong>221,251 parameters</strong>.</p><p><strong>Before (Global normalization):</strong> Standardizing signals globally across all subjects left teacher accuracy stuck at <strong>0.53</strong> and stress F1 at <strong>0.55</strong>. One worker’s resting pulse or skin conductance during normal activity easily overlapped another worker’s acute stress readings.<br><strong>After (Per-wearer normalization)</strong>: Standardizing each wearer’s channels using their own label-free window statistics jumped teacher accuracy to <strong>0.69 </strong>and stress F1 to <strong>0.81</strong>.</p><p>That single preprocessing change mattered more than tweaking layer widths. More importantly, it revealed a real deployment requirement: in a factory or workplace setting, every newly onboarded wearer needs a short baseline calibration period before stress alerts go live.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f68879dcb617" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[55 Papers Later: Everyone Uses EEG, Almost Nobody Tests Wearables]]></title>
            <link>https://medium.com/@danntezaki/55-papers-later-everyone-uses-eeg-almost-nobody-tests-wearables-d7ab1132a745?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7ab1132a745</guid>
            <category><![CDATA[prisma]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 12:00:52 GMT</pubDate>
            <atom:updated>2026-11-25T17:23:37.578Z</atom:updated>
            <content:encoded><![CDATA[<p>Screening 367 titles and abstracts against seven inclusion and exclusion rules left <strong>55 eligible studies</strong>— 35 journal articles and 20 conference papers. Notably, 31 of those 55 studies (56%) were published in 2025 or 2026, showing how fast teacher–student learning is growing in physiological computing.</p><p>Once we extracted the metadata and grouped the papers by distillation type, a clear pattern emerged. Researchers are using knowledge distillation in affective computing primarily to raise accuracy or recover from missing sensors — not to shrink models for wrist-worn hardware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*1VMJs--jpTkdKoi1" /></figure><p><strong>Three numbers that defined our research gap</strong></p><p>Looking across all 55 included studies exposed three gaps that directly shaped my engineering work:</p><p><strong>EEG dominates the field</strong>:46 of the 55 studies (84%) used EEG brain signals, and 31 used EEG alone on lab datasets like DEAP and SEED. Wrist-friendly signals were rare — only 7 used EDA/GSR and just 3 used PPG/BVP.<br><strong>Stress is barely studied</strong>: Only 4 of the 55 abstracts explicitly targeted stress, and only 2 used the WESAD dataset.<br><strong>Zero physical wearable tests:</strong> Efficiency was mentioned as an aim or result in 13 abstracts, yet only 2 gave concrete efficiency numbers — and **zero abstracts reported testing a distilled model on a physical wearable or embedded device**.</p><p>Meanwhile, the adjacent papers that <strong>did</strong> deploy small stress models on microcontrollers relied on quantization, pruning, or hand-crafted tiny networks without distillation. That contrast gave our project a sharp, defensible purpose: take a multimodal stress model trained on WESAD wrist signals, distill it into a compact student, and measure both classification performance and hardware footprint.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7ab1132a745" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From 1,396 “Drought Stress” Papers to a Clean Search String]]></title>
            <link>https://medium.com/@danntezaki/from-1-396-drought-stress-papers-to-a-clean-search-string-31ba5fbaed32?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/31ba5fbaed32</guid>
            <category><![CDATA[ieee-projects]]></category>
            <category><![CDATA[string-methods]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 12:00:05 GMT</pubDate>
            <atom:updated>2026-11-25T17:01:29.720Z</atom:updated>
            <content:encoded><![CDATA[<p>After our initial search returned zero eligible studies, I dropped the hardware block from the query and expanded our mental-state keywords beyond “stress” to include “affect,” “emotion,” and “mental workload,” since many physiological computing papers frame stress under affective computing. That solved the narrow-query problem — and immediately created the opposite one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*sitcAV4n1vxRfM_B" /></figure><p>The second Scopus run pulled back <strong>1,396 records</strong>. Scrolling through the first fifty titles made me laugh out loud. Words like <strong>stress</strong>, <strong>distillation</strong>, and <strong>physiological</strong> are everywhere outside computer science. Half the results were agricultural papers on drought stress in crops, chemical distillation processes, or distillers’ grains in livestock feed.</p><p><strong>Fixing keyword collisions without losing recall</strong></p><p>To filter out plant biology and chemistry without dropping computing studies, we added a fourth <strong>context block</strong> requiring at least one machine-learning term (<strong>deep learning, machine learning, neural network, artificial intelligence, classif\, or recogni\</strong>).</p><p>Before trusting the revised query, we ran a simple recall check using two benchmark papers already known to us: Choi et al. (2023) and Liu et al. (2023). Both came back cleanly in the Scopus results.</p><p><strong>Logging changes honestly</strong></p><p>Changing search strings after seeing initial results can introduce selection bias, and PRISMA guidelines are strict about reporting protocol amendments. Rather than pretending our final query was our first idea, we documented every change, the record counts from each run, and the reason behind each revision in a dedicated table.</p><p>The final searches returned 361 records from Scopus and 36 from IEEE Xplore — 397 records in total, dropping to 367 unique papers after removing 30 duplicates in Zotero. Search engineering isn’t glamorous, and it’s tempting to rush past it, but taking time to document why each change happened turned a messy trial-and-error run into a method I could actually defend.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31ba5fbaed32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Happens When Your First Literature Search Returns Zero Matches]]></title>
            <link>https://medium.com/@danntezaki/what-happens-when-your-first-literature-search-returns-zero-matches-d0968dedf24f?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0968dedf24f</guid>
            <category><![CDATA[knowledge-distillation]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 12:00:13 GMT</pubDate>
            <atom:updated>2026-11-25T16:36:29.961Z</atom:updated>
            <content:encoded><![CDATA[<p>When you start a systematic literature review, it is easy to assume that writing a search string is the easy part. Alongside my co-authors at UCU, I set up a PRISMA 2020 review protocol across Scopus and IEEE Xplore covering 2015 to 2026. We wanted to answer three questions: which knowledge distillation techniques have been used for physiological stress detection, how distilled models compare against teachers and baselines in size and latency, and whether any of them were tested on real wearable hardware.</p><p>We ran our first search. Scopus returned 5 records, and IEEE Xplore returned 25 — thirty records in total, and <strong>zero</strong> met our eligibility criteria.</p><p><strong>The problem wasn’t the databases. It was over-filtering.</strong></p><p>Staring at an empty eligibility table on day one is frustrating, especially when you know relevant papers exist. Looking back at our query, the mistake was obvious: we had tied together four strict `AND` blocks, requiring low-power and wearable terms right inside the initial search string.</p><p>By forcing every paper to mention hardware in its title or abstract, we accidentally filtered out studies that used knowledge distillation purely to boost accuracy or handle missing sensors. Those were the exact studies we needed to examine to answer our second and third research questions.</p><p><strong>Separating distillation from other compression tricks</strong></p><p>Setting up the protocol also forced us to draw a clean line between knowledge distillation and adjacent model compression methods:</p><p><strong>Quantization and pruning</strong> start with an already trained network and shrink its weights or bit precision.<br><strong>Lightweight architecture design</strong> builds a small network directly from scratch.<br><strong>Knowledge distillation</strong> trains a small student network to imitate a larger teacher’s outputs or internal features.</p><p>Instead of mixing everything, we logged standalone pruning and quantization papers separately as adjacent evidence. That first zero-hit search taught me that a search string is a filter, not a wish list — put your deployment constraints at the data-extraction stage, not in the initial query.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0968dedf24f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Industrial Stress Monitoring Needs Wrist Sensors, Not Lab Caps]]></title>
            <link>https://medium.com/@danntezaki/why-industrial-stress-monitoring-needs-wrist-sensors-not-lab-caps-46866cfeaf71?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/46866cfeaf71</guid>
            <category><![CDATA[student-teacher]]></category>
            <category><![CDATA[knowledge-distillation]]></category>
            <category><![CDATA[cnn-lstm]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 12:00:04 GMT</pubDate>
            <atom:updated>2026-11-25T16:30:22.455Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a final-year Computer Science student at Uganda Christian University, working on a project about detecting workplace stress from wearable sensor data. Once I decided to focus on industrial workers rather than general consumer wellness apps, I had to solve a practical constraint before touching any machine learning code: what sensors can a worker actually wear through an eight-hour shift without getting in the way?</p><p>In academic papers, stress and emotion models lean heavily on electroencephalography (EEG) brainwave caps or chest-strap ECG monitors. Those setups work fine in a quiet laboratory for forty minutes. They fall apart on a factory floor, a construction site, or a busy warehouse in Uganda where people are lifting, sweating, and moving constantly.</p><p>Choosing signals that belong on a wrist</p><p>When I inspected the benchmark Wearable Stress and Affect Detection (WESAD) dataset, it included both a chest device and a wrist device. Including the chest signals would have inflated my accuracy numbers on paper, so I deliberately threw them out and restricted my pipeline to four signals measurable from a single wristband:</p><p><strong>Blood volume pulse (BVP) </strong>to track heart activity and pulse rhythm at the wrist.<br><strong>Electrodermal activity (EDA / GSR)</strong> to capture sweat-gland arousal driven by the nervous system.<br><strong>Skin temperature </strong>to measure peripheral thermal shifts during stress.<br><strong>Three-axis accelerometer data</strong> to separate physical movement from psychological stress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*jbNF7jLnzht3JRGvHqNZSA.png" /></figure><p>The hardware bottleneck</p><p>Even with the right wrist sensors, there is a second catch. Deep architectures like hybrid <strong>CNN-LSTM n</strong>etworks read noisy physiological time series well, but they carry hundreds of thousands of parameters. An affordable, battery-powered microcontroller worn on the wrist cannot run those models locally, and streaming raw biosignals to a cloud server every few seconds drains battery life, depends on constant internet, and creates worker privacy problems.</p><p>That led to my core design idea: train a larger <strong>teacher</strong> model offline, then use <strong>knowledge distillation</strong> to compress its decision boundaries into a compact <strong>student model</strong> that fits on low-power hardware. Before writing training scripts, though, I needed to check what existing research had already tried — and whether anyone had actually tested distilled stress models on real wearables.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46866cfeaf71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a 100-Year-Old Style Guide Fixed My Thesis Introduction]]></title>
            <link>https://medium.com/@danntezaki/how-a-100-year-old-style-guide-fixed-my-thesis-introduction-1570e8fab34b?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1570e8fab34b</guid>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 21:09:48 GMT</pubDate>
            <atom:updated>2026-09-17T21:09:48.941Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a final-year Computer Science student at Uganda Christian University, working on a project about detecting workplace stress from wearable sensor data. Somewhere between citing my ninth paper and untangling my fourth compound sentence, I realized my Introduction chapter had a <em>writing</em> problem, not a <em>content</em> problem. Every fact was right. The prose just wasn’t doing its job.</p><p>So I went back to basics — literally. I pulled out William Strunk Jr.’s <strong>The Elements of Style</strong>, specifically Chapter III, “Elementary Principles of Composition,” and used its eighteen rules as a checklist to rebuild my Introduction from the ground up. Here’s what changed, and why it mattered more than I expected.</p><h3>The problem wasn’t grammar. It was drift.</h3><p>My first draft wasn’t ungrammatical. It was just soft. Sentences like:</p><blockquote><em>“There is therefore a need for a stress-assessment system that preserves the accuracy of state-of-the-art models while operating in real time on resource-constrained edge devices, without dependence on constant cloud connectivity.”</em></blockquote><p>That sentence is <em>correct</em>. It’s also indirect. “There is a need for” buries the actual subject — the industry, the workers, the gap — behind a placeholder phrase. Strunk’s Rule 11 (“Use the active voice”) and Rule 13 (“Omit needless words”) both point at exactly this kind of drift. Once I saw it, I couldn’t unsee it. My Introduction was full of these soft openings.</p><h3>Applying the rules, one at a time</h3><p>I went through my draft rule by rule rather than trying to “improve the writing” in one vague pass. A few examples of what actually changed:</p><p><strong>Rule 11 — Active voice.</strong> <em>Before:</em> “safety must be prioritised over raw statistical performance, and risks… must be addressed directly.” <em>After:</em> “designers must prioritise safety over raw statistical performance, and must address risks… directly.”</p><p>The passive version hid <em>who</em> was responsible. The active version puts it back.</p><p><strong>Rule 12 — Positive form.</strong> <em>Before:</em> “…without dependence on constant cloud connectivity.” <em>After:</em> “…independent of constant cloud connectivity.”</p><p>Small change, same meaning, but Strunk is right that a positive statement lands more directly than a negative one dressed up as a condition.</p><p><strong>Rule 13 — Omit needless words.</strong> <em>Before:</em> “This limitation is significant because Uganda’s industrial sector is positioned as a central pillar of the country’s Vision 2040 development agenda…” <em>After:</em> “This limitation matters because Uganda’s industrial sector underpins the country’s Vision 2040 development agenda…”</p><p>“Is positioned as a central pillar of” is four words doing the job “underpins” does alone.</p><p><strong>Rule 18 — Place emphatic words at the end.</strong> This one changed how I <em>ordered</em> ideas, not just how I phrased them. I started checking: does this sentence end on its most important word, or does it trail off into a citation or a qualifier? Several sentences got restructured so the strongest claim landed last, where a reader’s attention actually is.</p><h3>The paragraph-level rules mattered just as much</h3><p>Rules 9 and 10 — one topic per paragraph, topic sentence first, closing sentence in conformity with it — sound almost too simple to matter. But when I checked my Introduction against them, I found one paragraph doing the work of at least three: it introduced AI in healthcare, conversational agents, physiological deep learning, <em>and</em> the deployability gap, all in one block. I split it into four paragraphs, each with its own topic sentence, and the whole section suddenly read like a sequence of ideas building on each other — instead of a pile of related facts.</p><h3>A style guide won’t catch everything</h3><p>Strunk’s rules are about <em>how</em> you say something, not <em>whether</em> it’s true. They didn’t catch the fact that one of my cited papers had actually been retracted — that came from a groupmate’s close read, and a follow-up search to confirm it. Style and substance are different jobs, and I needed both: peer review for the facts, and a rules-based pass for the prose.</p><p>What surprised me is how much clearer my thinking got once the sentences stopped hedging. Cutting “there is a need for” forced me to say who needed what. Fixing passive voice forced me to name who was doing the acting. The style rules weren’t cosmetic — they exposed places where my thinking had been vague, and vague writing had let me get away with it.</p><p>If you’re revising academic writing and don’t know where to start, I’d genuinely recommend Chapter III of <em>The Elements of Style</em>. It’s short — about fifteen pages and free online. Read it once, then go back through your own draft rule by rule. You’ll probably find, like I did, that most of what needed fixing wasn’t grammar. It was just sentences that hadn’t yet said what they meant.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1570e8fab34b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to Write Like a Scientist: IMRaD, the Hourglass, and PPC in Practice]]></title>
            <link>https://medium.com/@danntezaki/learning-to-write-like-a-scientist-imrad-the-hourglass-and-ppc-in-practice-a5e9d6008c3d?source=rss-2a661243e21e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5e9d6008c3d</guid>
            <category><![CDATA[scientific-writing]]></category>
            <dc:creator><![CDATA[Danntezaki]]></dc:creator>
            <pubDate>Wed, 09 Sep 2026 13:17:06 GMT</pubDate>
            <atom:updated>2026-09-09T13:17:06.319Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A reflection on our class activity on scientific writing</em></p><p><strong>By Kirabo Daniel Nteza</strong></p><h3>1. Introduction</h3><p>Scientific writing has a reputation for being dry, dense, and intimidating — full of long sentences and a rigid structure that can feel more like a straitjacket than a writing style. Coming into this week’s class activity, that was more or less my impression of it too.</p><p>But the exercise we were given turned out to be a genuinely useful, hands-on way to understand why scientific papers are written the way they are — and, more importantly, how three specific tools work together to make that writing clear:</p><ul><li><strong>The IMRaD Structure:</strong> The overall framework (Introduction, Methods, Results, and Discussion) organizing the core scientific workflow.</li><li><strong>The Hourglass Model:</strong> The macro shape framing a paper from broad contextual background to narrow technical specifics and widening back out to real-world implications.</li><li><strong>The PPC Technique:</strong> Premise–Premise–Conclusion, the logical paragraph-level structure that builds a claim step-by-step using established facts before drawing a grounded inference.</li></ul><p>Our task, done in pairs, had two parts. First, we read <em>“Scientific Writing Made Easy: A Step-by-Step Guide to Undergraduate Writing in the Biological Sciences”</em> by Turbek et al. and pulled out its main recommendations — including its now-famous comparison of a scientific paper to an hourglass. Second, each of us found a journal article connected to our own final-year research interests, mapped out how it follows the IMRaD structure, and then practiced two core scientific-writing skills: condensing a full paper into a half-page abstract, and expanding an idea into a two-page concept note.</p><p>This post walks through that process, what the three tools taught me, and what I produced along the way.</p><h3>2. Methods: How We Approached the Activity</h3><p>For the second part of the activity, I selected a 2025 PLOS ONE article by Karim, Asad, and Alam titled <em>“Larger models yield better results? Streamlined severity classification of ADHD-related concerns using BERT-based knowledge distillation.”</em> I chose it because it sits at the intersection of natural language processing and applied classification problems, which is the kind of work I want to explore further in my own research.</p><p>My process combined the three writing tools from the reading with hands-on analysis of the paper itself across four distinct steps:</p><p><strong>Step 1: Mapping IMRaD onto the Paper</strong></p><p>Rather than reading the paper once for information, I read it a second time specifically to mark where each IMRaD component began and ended — the Abstract, the Introduction (which folds in a literature review as a numbered “Related Works” section), the Methodology, the Results, and the Discussion/Conclusion. I produced an annotated copy of the PDF with each section colour-coded and labelled, plus a one-page guide summarising what each part contains and where it sits in the document, so the structure is easy to reference later.</p><p><strong>Step 2: Checking the Paper Against the Hourglass Shape</strong></p><p>Turbek et al. describe a well-written paper as an hourglass: it opens broadly why does this topic matter at all?, narrows steadily through the Introduction down to a specific question, stays narrow and focused through the Methods and Results, and then widens back out in the Discussion and Conclusion to reconnect the findings to the bigger picture.</p><blockquote><strong><em>“The literature review isn’t padding — it’s the top half of the funnel, narrowing step by step from a broad domain problem down to the exact knowledge gap being filled.”</em></strong></blockquote><p>Tracing this shape through the paper made the logic of the Introduction’s literature review click for me — it isn’t padding, it’s the top half of the funnel, narrowing step by step from <em>“large language models are expensive”</em> down to <em>“here is our specific distilled model and what we tested it on.”</em> The Discussion then does the mirror image, widening from the specific accuracy numbers back out to what the result means for deploying NLP tools in resource-constrained settings generally.</p><p><strong>Step 3: Writing a Half-Page Abstract &amp; Concept Note Using PPC</strong></p><p>For the abstract, and again for each paragraph of the concept note, I used the <strong>Premise–Premise–Conclusion (PPC)</strong> approach:</p><pre>┌─────────────────────────────────────────────────────────────┐<br>│ 1. PREMISE 1: Established Background Fact / Foundational Rule│<br>├─────────────────────────────────────────────────────────────┤<br>│ 2. PREMISE 2: Specific Experimental Observation or Data     │<br>├─────────────────────────────────────────────────────────────┤<br>│ 3. CONCLUSION: The Derived Logical Deduction or Claim       │<br>└─────────────────────────────────────────────────────────────┘</pre><p>Applied to the abstract, this meant every paragraph operated like a mini-syllogism: lay down two verified facts (Premise 1 and Premise 2) and allow the reader to logically reach the Conclusion before moving to the next section.</p><p>Finally, I used the paper as a launchpad to sketch a concept note for a related project of my own: applying the same knowledge-distillation approach the authors used (compressing a large BERT model into a much smaller “student” model) to a different, domain-specific text classification problem. The concept note followed the hourglass logic at a document level — opening with broad background, narrowing to a specific problem statement and objectives, staying narrow through the proposed methodology, and then widening again in the significance and expected outcomes sections.</p><h3>3. Results: What the Exercise Produced</h3><p>Combining these three tools on a real paper was more revealing than I expected. A few key findings stood out during analysis:</p><ul><li><strong>The Introduction does double duty, and the hourglass explains why:</strong> In this paper, the Introduction doesn’t just state the problem — it reviews close to twenty related studies before ever describing what the authors did. Read through the hourglass lens, it’s simply the top of the funnel doing its job: starting broad (<em>LLMs are powerful but costly</em>) and narrowing, citation by citation, until the specific gap the paper fills comes into focus.</li><li><strong>The Methods section is the narrowest, longest part of the “waist”:</strong> It spans ten pages across three sub-studies (model distillation, benchmark testing, and the applied ADHD classification task) with no broadening at all — every sentence stays at the same specific, technical altitude. That consistency is what makes the section reproducible.</li><li><strong>Results and Discussion are kept strictly separate:</strong> PPC shows up clearly in the Discussion’s paragraphs: each one builds on Premise 1 (<em>“Smaller pretraining corpora restrict model generalization”</em>), adds Premise 2 (<em>“LastBERT yields lower correlation scores on CoLA and STS-B compared to DistilBERT”</em>), and derives Conclusion (<em>“Therefore, WikiText-2 pretraining is insufficient for downstream linguistic task flexibility”</em>).</li><li><strong>The Conclusion widens back out as predicted:</strong> Moving from the paper’s specific 85% accuracy figure back out to the broader claim that knowledge distillation is a viable path for efficient NLP models in general.</li></ul><blockquote><strong><em>“Structuring paragraphs around Premise–Premise–Conclusion forced me to verify that my deductions actually followed logically from the data.”</em></strong></blockquote><p>Writing my own half-page abstract with PPC was harder than I expected. My first draft ran long and just listed results; forcing each paragraph through the Premise–Premise–Conclusion pattern made me cut any speculative leaps that weren’t backed by two preceding facts. The concept note was, in some ways, the more creative half of the task — it required taking a completed study and asking, <em>“what’s the next open question this raises, and how would I go about answering it?”</em></p><h3>4. Discussion: What I Learned</h3><p>The biggest shift in my thinking from this activity is that these three tools operate at <strong>three different zoom levels</strong> of the same paper, and that’s why they work together so well:</p><ul><li><strong>Macro Level (IMRaD):</strong> Organizes the entire paper into a logical narrative sequence.</li><li><strong>Meso Level (The Hourglass Shape):</strong> Governs how each major section should open and close relative to the others — broad, narrow, broad again.</li><li><strong>Micro Level (PPC):</strong> Governs individual paragraph logic, ensuring every claim is constructed via Premise–Premise–Conclusion deductions.</li></ul><p>Once I could see all three operating at once in a real published paper, the “rules” of scientific writing stopped feeling arbitrary and started feeling like a set of tools chosen deliberately to help a reader move from curiosity to understanding as efficiently as possible.</p><p>It also reframed how I think about my own final-year project. Rather than seeing “writing it up” as a task that happens after the research is done, I now see IMRaD, the hourglass, and PPC as something worth planning around from the start — the way you’d design an experiment already knowing how you’ll need to report it.</p><p><strong>One limitation worth noting:</strong> Identifying these structures cleanly is not always as tidy as the textbook description suggests. Real papers, like the one I analysed, often blend related work into the Introduction or split Results and Discussion across several numbered sub-sections rather than using one section each. Recognising that flexibility — that the underlying logic matters more than rigid labels — was itself a useful takeaway.</p><h3>5. Conclusion</h3><p>This activity took what could have been an abstract lecture on “how to write a scientific paper” and turned it into something concrete: read a real paper, trace its IMRaD structure and hourglass shape, notice Premise–Premise–Conclusion operating inside individual paragraphs, and then practise producing two of the hardest pieces of scientific writing myself — the abstract and the concept note.</p><p>I came away from it with a clearer sense of why scientific writing looks the way it does, and a reusable toolkit — <strong>IMRaD for the whole paper, the hourglass for pacing each major section, and PPC for paragraph-level deduction</strong> — that I can now apply when it’s time to write up my own final-year research.</p><p><em>This post was written as part of an ECO 101 class activity on scientific writing, the IMRaD structure, the hourglass model, and PPC paragraph structure, based on:</em></p><ul><li><em>Karim, A. A. J., Asad, K. H. M., &amp; Alam, M. G. R. (2025). Larger models yield better results? Streamlined severity classification of ADHD-related concerns using BERT-based knowledge distillation. PLOS ONE, 20(2), e0315829.</em></li><li><em>Turbek, S. P., Chock, T. M., Donahue, K., Havrilla, C. A., Oliverio, A. M., Polutchko, S. K., Shoemaker, L. G., &amp; Vimercati, L. (2016). Scientific Writing Made Easy: A Step-by-Step Guide to Undergraduate Writing in the Biological Sciences. Bulletin of the Ecological Society of America, 97(4), 417–426.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5e9d6008c3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>