Papers › FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote...

FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote Physiological Sensing

3 Nov 2024arXiv:2411.01542archive 2025-07-28

Jitesh Joshi, Sos S. Agaian, Youngjun Cho

Remote photoplethysmography (rPPG) enables non-invasive extraction of blood volume pulse signals through imaging, transforming spatial-temporal data into time series signals. Advances in end-to-end rPPG approaches have focused on this transformation where attention mechanisms are crucial for feature extraction. However, existing methods compute attention disjointly across spatial, temporal, and channel dimensions. Here, we propose the Factorized Self-Attention Module (FSAM), which jointly computes multidimensional attention from voxel embeddings using nonnegative matrix factorization. To demonstrate FSAM's effectiveness, we developed FactorizePhys, an end-to-end 3D-CNN architecture for estimating blood volume pulse signals from raw video frames. Our approach adeptly factorizes voxel embeddings to achieve comprehensive spatial, temporal, and channel attention, enhancing performance of generic signal extraction tasks. Furthermore, we deploy FSAM within an existing 2D-CNN-based rPPG architecture to illustrate its versatility. FSAM and FactorizePhys are thoroughly evaluated against state-of-the-art rPPG methods, each representing different types of architecture and attention mechanism. We perform ablation studies to investigate the architectural decisions and hyperparameters of FSAM. Experiments on four publicly available datasets and intuitive visualization of learned spatial-temporal features substantiate the effectiveness of FSAM and enhanced cross-dataset generalization in estimating rPPG signals, suggesting its broader potential as a multidimensional attention mechanism. The code is accessible at https://github.com/PhysiologicAILab/FactorizePhys.

PaperPDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 18 code samples harvested from 1 repository linked to this paper: 11 ran (of which 6 constructed an object rather than computing a result; 10 with no instrument failure: 0 honoured, 2 violated, 8 with no contract checked; 1 where Syntology's instrument failed) · 7 unverified. Where Syntology's instrument failed: 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 18 samples from 1 repository, 11 ran (10 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

physiologicailab/factorizephys officialmentioned in paperpytorchNOASSERTIONSyntology: 18 samples, 11 ran (1 instrument-failed) · 7 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested: 11 ran (of which 6 constructed an object rather than computing a result; 10 with no instrument failure: 0 honoured, 2 violated, 8 with no contract checked; 1 where Syntology's instrument failed) · 7 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · violated contract
1ran; the contract check could not run
8ran
7unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from physiologicailab/factorizephys. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

physiologicailab/factorizephys official repository 18 samples, 11 ran (1 instrument-failed) · 7 unverified
ConvBNReLU in 16 papers neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · 6e953ed1bef334e0 · report fixture: returned ConvBNReLU · level recorded 2026-09-22
ConvBlock3D neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · 7e6deb3d1596452c · report fixture: returned ConvBlock3D · level recorded 2026-09-22
NMF neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · f6370889d40ce6ba · report fixture: returned NMF · level recorded 2026-09-22
VQ neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · 62f5d049c169e543 · report fixture: returned VQ · level recorded 2026-09-22
_MatrixDecompositionBase neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · d9172b8b2ece4bed · report fixture: returned _MatrixDecompositionBase · level recorded 2026-09-22
calculate_metric_per_video evaluation/post_process.py ran licence not identified · pointer only · d12ec52c95714d87 · report fixture: signature predictions:ndarray/1/float, labels:ndarray/1/float, fs:int/0/int, diff_flag:bool/0/bool, use_bandpass:bool/0/bool, hr_method:str/0/str · returned tuple · level recorded 2026-09-25
detrend in 8 papers unsupervised_methods/utils.py ran · violated contract fingerprinted licence not identified · pointer only · 36f109f3279e5640 · report fixture: signature input_signal:ndarray/1/float, lambda_value:float/0/float · returned ndarray · level recorded 2026-09-25
normal_sampling neural_methods/loss/PhysFormerLossComputer.py ran fingerprinted licence not identified · pointer only · e02c853ace895512 · report fixture: signature mean:float/0/float, label_k:float/0/float, std:float/0/float · returned float · level recorded 2026-09-25
power2db evaluation/post_process.py ran · violated contract fingerprinted licence not identified · pointer only · 6cc56f582b060599 · report fixture: signature mag:ndarray/1/float · returned ndarray · level recorded 2026-09-25
process_video in 10 papers unsupervised_methods/utils.py ran; the contract check could not run (RAISES) licence not identified · pointer only · c47d6a12eff65869 · report fixture: signature frames:list/1/ndarray · returned ndarray · level recorded 2026-09-25
rPPG_FeatureExtractor neural_methods/model/FactorizePhys/FactorizePhys.py ran · metamorphic tier: deterministic licence not identified · pointer only · c6f24c2c9722d5d0 · report fixture: returned rPPG_FeatureExtractor · level recorded 2026-09-22
BVP_Head neural_methods/model/FactorizePhys/FactorizePhys.py unverified licence not identified · pointer only · 9cfd668e2f1adc6e · report
FactorizePhys neural_methods/model/FactorizePhys/FactorizePhys.py unverified licence not identified · pointer only · cf521a70b7a58e4b · report
FeaturesFactorizationModule neural_methods/model/FactorizePhys/FactorizePhys.py unverified licence not identified · pointer only · 1914d6b1ae446c06 · report
get_config in 203 papers config.py unverified licence not identified · pointer only · 97b47578be179ffe · report
read_hr_label evaluation/metrics.py unverified licence not identified · pointer only · 848b026a94f60cf6 · report
read_label in 13 papers evaluation/metrics.py unverified licence not identified · pointer only · db1d2850c08d04e4 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for FactorizePhys (graph method: FactorizePhys). 9 bricks; individually on a fixture: 6 ran (of which 6 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 0 violated, 6 with no contract checked; 0 where Syntology's instrument failed) · 3 unverified; every one of the 6 samples that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.

  1. FactorizePhys entry · level 0 · unverified · cf521a70b7a58e4b
  2. BVP_Head model · level 0 · unverified · 9cfd668e2f1adc6e
  3. rPPG_FeatureExtractor model · level 1 · ran · c6f24c2c9722d5d0
  4. ConvBlock3D model · level 1 · ran · 7e6deb3d1596452c
  5. FeaturesFactorizationModule helper · level 0 · unverified · 1914d6b1ae446c06
  6. ConvBNReLU helper · level 1 · ran · 6e953ed1bef334e0
  7. NMF helper · level 1 · ran · f6370889d40ce6ba
  8. VQ helper · level 1 · ran · 62f5d049c169e543
  9. _MatrixDecompositionBase helper · level 1 · ran · d9172b8b2ece4bed

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2411.01542") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections