{"id":1163,"date":"2026-02-07T04:15:05","date_gmt":"2026-02-07T04:15:05","guid":{"rendered":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/?p=1163"},"modified":"2026-02-07T04:15:06","modified_gmt":"2026-02-07T04:15:06","slug":"week-4-2","status":"publish","type":"post","link":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/2026\/02\/07\/week-4-2\/","title":{"rendered":"Week 4"},"content":{"rendered":"\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"663\" data-id=\"1171\" src=\"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-1024x663.png\" alt=\"\" class=\"wp-image-1171\" srcset=\"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-1024x663.png 1024w, https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-300x194.png 300w, https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-768x497.png 768w, https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-1536x994.png 1536w, https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-2048x1325.png 2048w, https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-content\/uploads\/sites\/209\/2026\/02\/Screenshot-2026-02-06-at-11.10.22\u202fPM-1-325x210.png 325w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">From Validation to Adaptation: Fine-Tuning the ECG-FM for Single-Lead Deployment<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This week marked our transition from <em>diagnosing limitations<\/em> to <em>actively adapting our models for deployment<\/em>. With last week\u2019s findings confirming that naive channel duplication is insufficient, the team shifted focus toward fine-tuning the ECG foundation model directly on duplicated single-lead inputs and tightening the end-to-end inference pipeline for real-world use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rather than treating the foundation model as a fixed black box, we began re-shaping it to better reflect the statistical properties and constraints of wearable ECG data. This week was less about proving what doesn\u2019t work\u2014and more about building what will.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Key Accomplishments This Week<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Initiated Fine-Tuning on Duplicated Single-Lead Inputs<\/strong><br>We set up the fine-tuning pipeline starting from a pretrained ECG-FM checkpoint that had not yet been biased by 12-lead-specific downstream tasks. Single-lead ECG signals were duplicated across channels to match the model\u2019s expected input format, and supervised fine-tuning was launched for multi-label arrhythmia classification. Early training curves indicate improved stability compared to directly using the frozen multi-lead model, suggesting the model is beginning to adapt to the single-lead distribution shift.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>End-to-End Inference Pipeline Prototyping<\/strong><br>We implemented a standardized Python-based inference wrapper that takes a 5-second single-lead ECG segment as input and returns calibrated probabilities across all 17 diagnostic classes. This wrapper formalizes preprocessing, normalization, segmentation, and post-processing steps into a single callable interface, laying the groundwork for future cloud and mobile deployment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>PQRST Delineation Integration Progress<\/strong><br>We continued refining the PQRST delineation pipeline and began aligning its input\/output schema with the classification module. This included unifying windowing strategies, timestamp conventions, and output formats for fiducial points, which is critical for downstream clinical interpretation and UI integration. Initial tests confirm that both pipelines can now operate on consistent 5-second windows without manual intervention.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Calibration and Post-Processing Strategy Design<\/strong><br>Building on last week\u2019s observation of rare clinically implausible label combinations, we began drafting rule-based constraints and threshold calibration strategies to reduce invalid multi-label outputs. This included early experiments with probability threshold tuning and label co-occurrence filtering to improve clinical plausibility without over-constraining the model.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sponsor Checkpoint and Deployment Alignment<\/strong><br>We shared our fine-tuning plan and early pipeline design with Aventusoft mentors. Sponsor feedback reinforced the importance of treating the inference interface as a \u201cproduct surface,\u201d not just a research artifact\u2014emphasizing clear contracts for inputs, outputs, latency expectations, and failure modes. This helped anchor our development priorities around deployability rather than pure model performance.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Next Steps: Toward a Deployment-Ready System<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the coming week, we will:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Continue fine-tuning the ECG-FM on duplicated single-lead data and conduct controlled comparisons against frozen baselines.<\/li>\n\n\n\n<li>Run more systematic evaluations on sponsor-provided ECG samples to assess real-world generalization.<\/li>\n\n\n\n<li>Finalize the unified inference API for both classification and PQRST delineation, including standardized JSON-style outputs.<\/li>\n\n\n\n<li>Begin profiling latency and memory usage to inform future model compression and mobile deployment planning.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With the core assumptions now validated and the adaptation pipeline in motion, the project is moving from experimental prototyping toward a cohesive, deployment-oriented system. The foundation is set\u2014now it\u2019s about refining and hardening the stack.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See you next week!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From Validation to Adaptation: Fine-Tuning the ECG-FM for Single-Lead Deployment This week marked our transition from diagnosing limitations to actively adapting our models for deployment. With last week\u2019s findings confirming that naive channel duplication is insufficient, the team shifted focus&hellip; <a href=\"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/2026\/02\/07\/week-4-2\/\" aria-label=\"Read \\\"Week 4\\\" class=\"read-more\">Read&nbsp;More<\/a><\/p>\n","protected":false},"author":849,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[12],"tags":[],"class_list":["post-1163","post","type-post","status-publish","format-standard","hentry","category-springsemester"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/posts\/1163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/users\/849"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/comments?post=1163"}],"version-history":[{"count":4,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/posts\/1163\/revisions"}],"predecessor-version":[{"id":1175,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/posts\/1163\/revisions\/1175"}],"wp:attachment":[{"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/media?parent=1163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/categories?post=1163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ippd.ufl.edu\/blogs\/ay2526team03\/wp-json\/wp\/v2\/tags?post=1163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}