{"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/multi-task-temporal-shift-attention-networks","title":"Multi-Task Temporal Shift Attention Networks for On-Device Contactless Vitals Measurement","arxiv_id":"2006.03790","date":"2020-06-06","proceeding":"NeurIPS 2020 12","authors":["Xin Liu","Josh Fromm","Shwetak Patel","Daniel McDuff"],"abstract":"Telehealth and remote health monitoring have become increasingly important during the SARS-CoV-2 pandemic and it is widely expected that this will have a lasting impact on healthcare practices. These tools can help reduce the risk of exposing patients and medical staff to infection, make healthcare services more accessible, and allow providers to see more patients. However, objective measurement of vital signs is challenging without direct contact with a patient. We present a video-based and on-device optical cardiopulmonary vital sign measurement approach. It leverages a novel multi-task temporal shift convolutional attention network (MTTS-CAN) and enables real-time cardiovascular and respiratory measurements on mobile platforms. We evaluate our system on an Advanced RISC Machine (ARM) CPU and achieve state-of-the-art accuracy while running at over 150 frames per second which enables real-time applications. Systematic experimentation on large benchmark datasets reveals that our approach leads to substantial (20%-50%) reductions in error and generalizes well across datasets.","url_abs":"https://arxiv.org/abs/2006.03790v2","url_pdf":"https://arxiv.org/pdf/2006.03790v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"multi-task-temporal-shift-attention-networks","repo_url":"https://github.com/xin71/MTTS-CAN","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"multi-task-temporal-shift-attention-networks","repo_url":"https://github.com/buet94/non-Contact","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"multi-task-temporal-shift-attention-networks","repo_url":"https://github.com/xliucs/MTTS-CAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":null,"task_name":"CPU"},{"task_slug":"photoplethysmography-ppg-heart-rate","task_name":"Photoplethysmography (PPG) heart rate estimation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/photoplethysmography-ppg-heart-rate-2","task":"Photoplethysmography (PPG) heart rate estimation","dataset":"MMSE-HR","model":"TS-CAN","rank_in_archive_order":2,"of":6,"metrics":{"MAE":"3.04","MAPE (%)":"3.41%","Pearson Correlation":"0.89"},"uses_additional_data":false},{"leaderboard":"/sota/photoplethysmography-ppg-heart-rate-1","task":"Photoplethysmography (PPG) heart rate estimation","dataset":"UBFC-rPPG","model":"TS-CAN","rank_in_archive_order":8,"of":8,"metrics":{"RMSE":"2.72 "},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2006.03790","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.03790"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xin71/MTTS-CAN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/buet94/non-Contact","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xliucs/MTTS-CAN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"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":0,"samples":[{"code_sha256_prefix":"5e5bdb364e642d70","entry":"CAN","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/model.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5e5bdb364e642d70"}},{"code_sha256_prefix":"25437cf49e32cdbc","entry":"MT_CAN","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/model.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25437cf49e32cdbc"}},{"code_sha256_prefix":"c9dce5ddd6127a4d","entry":"TSM_Cov2D","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/model.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c9dce5ddd6127a4d"}},{"code_sha256_prefix":"9f063d3ca0da3fcd","entry":"detrend","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/inference_preprocess.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/inference_preprocess.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9f063d3ca0da3fcd"}},{"code_sha256_prefix":"78c50f6ccff6b241","entry":"get_nframe_video","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/pre_process.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/pre_process.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"78c50f6ccff6b241"}},{"code_sha256_prefix":"458a7fdb0e205e18","entry":"get_nframe_video_val","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/pre_process.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/pre_process.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"458a7fdb0e205e18"}},{"code_sha256_prefix":"f67cd52ce15699d9","entry":"preprocess_raw_video","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/inference_preprocess.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/inference_preprocess.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f67cd52ce15699d9"}},{"code_sha256_prefix":"043f5cee98e9150d","entry":"split_subj","repo":"xin71/MTTS-CAN","repo_kind":"official","path":"code/pre_process.py","file_url":"https://github.com/xin71/MTTS-CAN/blob/HEAD/code/pre_process.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"043f5cee98e9150d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}