{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2604-18067","title":"Towards Real-Time ECG and EMG Modeling on $μ$NPUs","arxiv_id":"2604.18067","date":"2026-04-20","proceeding":null,"authors":["Josh Millar","Ashok Samraj Thangarajan","Soumyajit Chatterjee","Hamed Haddadi"],"abstract":"The miniaturisation of neural processing units (NPUs) and other low-power accelerators has enabled their integration into microcontroller-scale wearable hardware, supporting near-real-time, offline, and privacy-preserving inference. Yet physiological signal analysis has remained infeasible on such hardware; recent Transformer-based models show state-of-the-art performance but are prohibitively large for resource- and power-constrained hardware and incompatible with $μ$NPUs due to their dynamic attention operations. We introduce PhysioLite, a lightweight, NPU-compatible model architecture and training framework for ECG/EMG signal analysis. Using learnable wavelet filter banks, CPU-offloaded positional encoding, and hardware-aware layer design, PhysioLite reaches performance comparable to state-of-the-art Transformer-based foundation models on ECG and EMG benchmarks, while being <10% of the size ($\\sim$370KB with 8-bit quantization). We also profile its component-wise latency and resource consumption on both the MAX78000 and HX6538 WE2 $μ$NPUs, demonstrating its viability for signal analysis on constrained, battery-powered hardware. We release our model(s) and training framework at: https://github.com/j0shmillar/physiolite.","url_abs":"https://arxiv.org/abs/2604.18067","url_pdf":"https://arxiv.org/pdf/2604.18067","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2604.18067","atlas_url":"https://app.syntology.ai/?focus=2604.18067","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.18067"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/j0shmillar/physiolite","reach":null}],"summary":{"ran":8,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":9,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":9,"samples":[{"code_sha256_prefix":"30158c2b185129ff","entry":"Bank","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"30158c2b185129ff"}},{"code_sha256_prefix":"73fd5b5b5e2e1203","entry":"Barrier2D","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73fd5b5b5e2e1203"}},{"code_sha256_prefix":"97bddb042673d570","entry":"BottleneckReduce1D","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"97bddb042673d570"}},{"code_sha256_prefix":"32054c6e124071d8","entry":"Conv1dRF7","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"32054c6e124071d8"}},{"code_sha256_prefix":"3abf334f5b25508e","entry":"ConvHead2D","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3abf334f5b25508e"}},{"code_sha256_prefix":"73529d1101969f51","entry":"FrontDownsample1D","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73529d1101969f51"}},{"code_sha256_prefix":"1aa941d38625561c","entry":"PatchEmbed1D_FusedPool","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1aa941d38625561c"}},{"code_sha256_prefix":"515f29bd173f6aef","entry":"PoolThenPointwise2D","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"515f29bd173f6aef"}},{"code_sha256_prefix":"7273d0a19abe9065","entry":"PhysioLite","repo":"j0shmillar/physiolite","repo_kind":"found_in_text","path":"models/physiolite.py","file_url":"https://github.com/j0shmillar/physiolite/blob/HEAD/models/physiolite.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7273d0a19abe9065"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}