SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.06483 · 2024

RhythmMamba: Fast, Lightweight, and Accurate Remote Physiological Measurement

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.06483.json · badge: /api/ran/2404.06483.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zizheng-guo/rhythmmamba canonical (classifier label)
classifier basis: census
5 ran · 3 no recorded run
FunctionStatusWhere it lives
detrend Ran
ran, violated the contract we drafted
zizheng-guo/rhythmmamba/unsupervised_methods/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from PhysiologicAILab/FactorizePhys, is pointer only (licence: NOASSERTION) · get_code("36f109f3279e5640")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from PhysiologicAILab/FactorizePhys, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_hr Ran
ran; our contract draft was wrong, not the code
zizheng-guo/rhythmmamba/evaluation/post_process.py
code served (permissive licence) · get_code("cb58ad10fe053bf1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.signal import butter, welch

# Create a synthetic signal for heart rate detection
# The function expects a 1D array of signal values
np.random.seed(0)
y = np.random.randn(512)

# Add a dominant frequency component in the heart rate range
# Heart rate of 80 bpm = 80/60 Hz ≈ 1.33 Hz
t = np.arange(len(y)) / 30.0  # sr=30
heart_rate_freq = 80 / 60  # 80 bpm in Hz
y = y + 2.0 * np.sin(2 * np.pi * heart_rate_freq * t)

ARGS = {
    "y": y,
    "sr": 30,
    "min": 45,
    "max": 150
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_psd Ran
ran; our contract draft was wrong, not the code
zizheng-guo/rhythmmamba/evaluation/post_process.py
code served (permissive licence) · get_code("b2cbeb5c29265dba")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (194,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.signal import butter, welch

# Create a small signal array for testing
# The function uses welch() on y, which expects a 1D array-like
# min_freq = 45 Hz, max_freq = 150 Hz are used to filter the PSD output
# sr = 30 Hz is the sampling rate
# The function accesses len(y) so y must be a sequence

y = np.random.randn(512)  # Small signal array, longer than 256 for nperseg

ARGS = {
    'y': y,
    'sr': 30,
    'min': 45,
    'max': 150
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (194,) — shape (194,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mag2db Ran
ran, violated the contract we drafted
zizheng-guo/rhythmmamba/evaluation/post_process.py
code served (permissive licence) · get_code("5ae931c173a0abf6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# mag2db takes a magnitude value and converts it to decibels
# The function uses np.log10, so we need a numeric value or array

# Create a simple magnitude value (positive number, since log10 requires positive input)
mag_value = np.array([1.0, 10.0, 100.0, 0.1])

ARGS = {
    "mag": mag_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_video Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zizheng-guo/rhythmmamba/unsupervised_methods/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from PhysiologicAILab/FactorizePhys, is pointer only (licence: NOASSERTION) · get_code("c47d6a12eff65869")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from PhysiologicAILab/FactorizePhys, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_config Not yet run
unverified (harvested, no recorded run)
zizheng-guo/rhythmmamba/config.py
code served (permissive licence) · get_code("d183ff133e3d1a1f")
How it ran

no invocation recorded.

read_hr_label Not yet run
unverified (harvested, no recorded run)
zizheng-guo/rhythmmamba/evaluation/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from PhysiologicAILab/FactorizePhys, is pointer only (licence: NOASSERTION) · get_code("848b026a94f60cf6")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from PhysiologicAILab/FactorizePhys, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

read_label Not yet run
unverified (harvested, no recorded run)
zizheng-guo/rhythmmamba/evaluation/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from PhysiologicAILab/FactorizePhys, is pointer only (licence: NOASSERTION) · get_code("db1d2850c08d04e4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from PhysiologicAILab/FactorizePhys, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 5 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_config 51 other papers
29 dated earlier, 1 the same month, 17 later, 4 same year, order not determinable
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2106.03650 (2021-06)
Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformer
2106.03746 (2021-06)
Efficient Training of Visual Transformers with Small Datasets
and 48 more not named here
detrend 1 other paper
1 later
2411.01542 (2024-11)
FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote Physiological Sensing
process_video 1 other paper
1 later
2411.01542 (2024-11)
FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote Physiological Sensing
read_hr_label 1 other paper
1 later
2411.01542 (2024-11)
FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote Physiological Sensing
read_label 1 other paper
1 later
2411.01542 (2024-11)
FactorizePhys: Matrix Factorization for Multidimensional Attention in Remote Physiological Sensing

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Remote photoplethysmography (rPPG) is a method for non-contact measurement of physiological signals from facial videos, holding great potential in various applications such as healthcare, affective computing, and anti-spoofing. Existing deep learning methods struggle to address two core issues of rPPG simultaneously: understanding the periodic pattern of rPPG among long contexts and addressing large spatiotemporal redundancy in video segments. These represent a trade-off between computational complexity and the ability to capture long-range dependencies. In this paper, we introduce RhythmMamba, a state space model-based method that captures long-range dependencies while maintaining linear complexity. By viewing rPPG as a time series task through the proposed frame stem, the periodic variations in pulse waves are modeled as state transitions. Additionally, we design multi-temporal constraint and frequency domain feed-forward, both aligned with the characteristics of rPPG time series, to improve the learning capacity of Mamba for rPPG signals. Extensive experiments show that RhythmMamba achieves state-of-the-art performance with 319% throughput and 23% peak GPU memory. The codes are available at https://github.com/zizheng-guo/RhythmMamba.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.06483")
get_code_for_paper("2404.06483")
have("2404.06483")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.06483.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.06483.svg)](https://syntology.ai/paper/2404.06483)

Connect an agent — have() is free.