Manuscript Offprint
arXiv:2610.02561Oracle headroom without signal: null-calibrated evaluation of candidate selection for thermal heart rate estimation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Camera-based physiological monitoring can produce multiple estimates from several facial regions, extraction methods, and processing settings. Signal quality indices aim to select reliable estimates without a physiological reference, and their potential is often assessed with an oracle that selects the estimate closest to the reference in each window. This retrospective selection can reward chance agreement. We model the effect with order statistics. For K independent candidates unrelated to the reference, the expected oracle error decreases approximately as 1/K. We analyze thermal heart rate estimation on 96 iBVP recordings with 168 candidates per 10 s window. The oracle achieves a mean absolute error of 0.91 bpm, compared with 10.74 bpm for the best fixed configuration, 18.03 bpm for the best quality index, and 8.61 bpm for a constant predictor. With K = 24, a forehead signal from another recording matches the correct one, with 4.62 against 4.61 bpm. Oracle evaluations should report candidate count, valid coverage, and matched null controls.
Index Terms— Thermal imaging, heart rate estimation, signal quality, oracle selection, order statistics
1. INTRODUCTION
Camera-based physiological monitoring increasingly combines several extraction routes, such as facial regions, motion signals, and learned models, with several rate estimators [1, 2, 3]. No route is best in every window, so quality-aware frameworks use signal quality indices (SQIs) to decide which candidate to trust. Their evaluation often includes an oracle that uses the reference to select the most accurate candidate in each window. In our video respiratory study, this oracle reduced the mean absolute error (MAE) on the OMuSense-23 dataset from 3.03 to 0.44 breaths/min, and the gap was attributed to imperfect quality prediction rather than to limited extractor diversity [1]. Such gaps are used to justify richer quality models and larger candidate banks. An inflated gap directs effort to headroom that does not exist, and a deployed selector may then report confident estimates from signals without physiological content.
That interpretation assumes that the oracle measures information in the candidates. The oracle also benefits from multiplicity. When K estimates lie in a plausible physiological range, one of them is likely to fall close to the reference even when none contains information on it. Related selection effects are established in model selection, circular analysis, and decoding studies that exceed theoretical chance by chance [4, 5, 6]. Rate estimation is particularly exposed, because every spectral peak estimator returns a frequency inside its passband. A band-limited candidate bank is therefore plausible by construction.
Thermal facial video provides a suitable test case. The cardiac pulse has been recovered from thermal images of superficial ves-

Fig. 1. Null-calibrated oracle evaluation. A thermal crop from iBVP (recording p02a, pixels) with the six fixed regions of interest (ROIs) used here, and the learned model output, give seven signals. Each passes through 24 processing settings. Fixed and quality selection use signals only. The oracle also uses the reference. Matched null inputs pass through the same settings, so that oracle errors can be compared at equal candidate count K.
sels under controlled acquisition [7, 8], but the regional temperature averages gave weak cardiac agreement in our thermal monitoring study [9] and in the associated thesis [10]. A large oracle gain on such signals should be explained before it is read as headroom.
We formulate a null-calibrated oracle evaluation and apply it to thermal heart rate estimation on iBVP [11], as depicted in Figure 1. The contributions are as follows:
• An order statistic model of oracle error for candidates without information about the reference, with a closed form 1/K approximation that gives a reference curve of uninformed candidates for any band-limited bank.
• A measurement of oracle error against candidate count on 6,816 thermal windows with 168 candidates, compared with fixed, SQI, and constant predictors and with the model.
• A ladder of matched nulls at the same K, from white noise to a thermal signal of another recording, which separates cardiac correspondence from spectral and thermal dynamics, and a reporting protocol for oracle bounds.
Quality-aware selection and oracles. SQIs describe periodicity, spectral concentration, or morphology [2, 15]. Birrenkott et al. [3] learned a mapping from respiratory quality indices to estimation error, and Nguyen et al. [1] extended predictive quality assessment to heterogeneous video signals and reported ground truth oracles as upper bounds. These studies compare selectors with the oracle, but do not test how much of the oracle gain remains when the candidates carry no information.
Selection bias and permutation. Optimising a criterion on evaluation data biases the reported score [4]. McLatchie and Vehtari [16] model this bias with order statistics of the candidate scores, which is the tool we apply to per window selection. Reusing the data that guided a selection distorts inference [5]. Permutation tests calibrate a score against data in which the tested correspondence is removed [17], and empirical chance levels can exceed nominal ones in small samples [6]. A valid permutation must rerun every step that used the data [18], and repeated measurements of one participant can inflate accuracy unless the permutation respects that nesting [19]. We apply this reasoning to per window selection among physiological rate estimates, where the null must keep the candidate count and processing fixed.
3. NULL-CALIBRATED ORACLE EVALUATION
3.1. Selection comparators
Let be the heart rate given by candidate k in window w, and the reference rate. For a bank C of K candidates on N windows, the best fixed and oracle MAEs are:
The oracle is a lower bound on the error of any selector that outputs one of the K candidates. The gap is commonly reported as headroom. is itself chosen on the evaluation data and is therefore a retrospective comparator.
3.2. Oracle error without information
Assume that in window the candidates are independent, with a distribution that does not depend on , and let . The minimum of such errors has expectation [20]:
For candidates uniform on the estimator output range , and at distance from the nearest boundary, for . For large the integral is dominated by this interval and:
With the valid range and bpm used below, Eq. (4) gives 0.40 bpm for , and Eq. (3) with bpm falls below 8.61 bpm, the constant predictor of Section 5, at . The oracle error therefore decays as without any signal content, at a rate set only by the output range. Real candidates are dependent, which reduces the effective number of draws, and concentrate near typical rates, which increases close to . Eq. (3) is therefore a reference curve, not a bound. To summarise a measured bank, we define its uniform equivalent count as the value of for which Eq. (3) equals the measured . Redundant candidates give . Candidates concentrated near typical rates give even without information.
3.3. Matched nulls
The model motivates an empirical calibration. We define the null-calibrated gain
where is produced by the same K settings from a signal without correspondence to , on the same windows. A positive indicates information beyond the selection opportunity. We use a ladder of nulls that each keep more of the real signal: white noise keeps nothing, temporally shuffled samples keep the amplitude distribution, 1/f noise keeps the spectral shape of thermal drift, and a donor thermal signal from another recording keeps all thermal dynamics but not the temporal alignment with the reference.
4. EXPERIMENTAL SETUP
Data. iBVP lists 124 paired RGB and thermal recordings [21]. We analyze the 96 thermal recordings from 24 participants available in Rahman's cross-validation cache [10], with four conditions each: rest with paced breathing, easy and difficult arithmetic, and guided head movement. Thermal frames have pixels and 16-bit precision at approximately 30 Hz, and the ear PPG reference is resampled to 30 Hz [11]. Faces are cropped and resized to . The first 80 s of each recording (four 600-frame clips) are divided into 10 s windows with a 1 s hop, giving 71 windows per recording and 6,816 windows. The reference rate is the Welch peak of the detrended PPG filtered between 0.75 and 3.00 Hz.
Candidate bank. Six signals are spatial means over fixed rectangles (forehead, periorbital, perinasal, both cheeks, central face), as shown in Figure 1. The seventh is the output of EfficientPhys [22], adapted to one thermal channel with rPPG-Toolbox [23] and trained in eight folds separated by participant, with 600-frame clips, batch size of four, learning rate of 0.009, and 60 epochs [10]. Each signal is detrended with a polynomial of order one or three, filtered by a second-order Butterworth bandpass (0.75 to 3.00, 0.70 to 4.00, or 0.60 to 2.50 Hz), and passed to four estimators: Welch [24], a windowed fast Fourier transform, multiple signal classification (MUSIC) [25], and the median interpeak interval. This gives candidates and 1,145,088 rows. An estimate is valid when finite and between 45 and 180 bpm. Invalid rows are excluded, so candidates can differ in coverage.
Selectors and nulls. The constant predictor outputs the mean reference, 74.6 bpm. Twelve SQIs are tested as individual selectors: zero-crossing rate, Hjorth mobility and complexity [15], signal-to-noise ratio, band and irrelevant power ratios, periodicity, spectral entropy, peak prominence, skewness, kurtosis, and the temporal variability of the spatial 95th to 5th percentile range of the face. For the analysis of candidate count, 300 random subsets are drawn for each , and windows with fewer than valid candidates in the full bank are removed. The four nulls of Section 3 pass through the 24 settings of one signal, forming banks comparable with each real signal. The donor is the next recording in sorted order, which belongs to the same participant in another condition for most recordings. The code is public [26].
5. RESULTS AND ANALYSIS
5.1. Selection levels
Table 1 compares the selection rules on the bank of 168 candidates. The best fixed setting (forehead, cubic detrending, 0.60 to 2.50 Hz, MUSIC) obtains 10.74 bpm, which is higher than the 8.61 bpm of the constant predictor. All twelve best fixed settings use the 0.60 to 2.50 Hz band, the narrowest tested, which limits outputs to 150 bpm and moves them towards the population mean. The detrending order changes their MAE by 0.008 bpm. Individual SQI selectors obtain 18.03 to 28.30 bpm, so each index increases the error of the fixed setting. Figure 2 applies window rejection to the best fixed setting. From 100% to 50% coverage, SQI ranking gives 10.50 to 10.90 bpm and random rejection 10.72 to 10.80 bpm, while rejection by true error reaches 4.21 bpm. The SQI curve stays within 0.25 bpm of the random curve at every level, so the indices do not rank windows by their error. The oracle reaches 0.91 bpm and the gap is G = 9.83 bpm.
Table 1. Selection rules on the thermal bank of 168 candidates (6,816 windows). The last column states how the reference is used. The uniform row is the model of Eq. (3), not a measurement. Lower MAE is better.
| Selection rule | Reference use | MAE (bpm) |
|---|---|---|
| Constant, 74.6 bpm | Mean over data | 8.61 |
| Best fixed setting | One choice | 10.74 |
| Best SQI (zero-crossing rate) | Index choice | 18.03 |
| Oracle, K = 168 | Every window | 0.91 |
| Uniform guesses, K = 168 | None | 0.40 |

Fig. 2. Window rejection applied to the best fixed setting (10.74 bpm at full coverage). Windows are discarded at random, by the SQI ranking of the best index, or by true error. Only rejection that uses the reference reduces the MAE.
5.2. Oracle error against candidate count
Figure 3 shows oracle and fixed errors for random subsets of the bank. The oracle MAE decreases from 27.38 bpm at to 7.85, 4.65, 2.82, and 0.91 bpm at , 10, 20, and 168. It falls below the constant predictor at . With ten candidates the gap is 9.43 bpm, of the gap of the full bank, although the oracle error is still five times that of the full bank.

Fig. 3. Oracle and fixed MAE against candidate count. Filled markers are means over 300 random subsets of the bank of 168 candidates (single evaluation at ). The dash-dotted curve is Eq. (3) for independent guesses uniform on 45 to 180 bpm. Markers at are banks from one signal in Table 2.
The measured oracle follows the uninformed curve of Eq. (3) closely. The uniform equivalent counts are , 13.5, 22.9, and 73 for the nominal of 5, 10, 20, and 168. At small the bank behaves like slightly more than uniform guesses, which is consistent with estimates that concentrate below 150 bpm. At large it behaves like fewer, because candidates that share a signal or a band are dependent.
5.3. Matched nulls
Table 2 applies the null ladder at . White and shuffled signals reach oracle errors of 11.34 and 11.05 bpm. Pink noise reaches 6.92 bpm, and the donor thermal signal 4.62 bpm. The real forehead signal obtains 4.61 bpm, so bpm with respect to the donor. The donor also gives the lowest fixed error, 10.62 bpm. The six real regions obtain oracle errors from 4.19 to 5.30 bpm, all within 0.7 bpm of the donor. The improvement from white noise to real regions is therefore reproduced by spectral shape and thermal dynamics, without temporal correspondence to the reference. The learned model gives the weakest real bank, with 9.46 bpm and valid rows.
5.4. Thermal signal diagnostics
Table 3 summarizes the checks of the signal chain. In native 16-bit frames, the dominant thermal peak remains between 45.0 and 52.1 bpm while the reference varies from 69.9 to 85.5 bpm, and the thermal cardiac band holds 2 to 17% of the power, against 86 to 97% for the reference. Across all recordings, regional estimates are uncorrelated with the reference. Neither temporal lags of up to 30 s nor a change of frame rate from 30 to 7.5 Hz recovers agreement. EfficientPhys remained at a negative Pearson loss near 1.0, that is, zero correlation, in all eight folds. As a positive control, the same regional pipeline in the respiratory band gives lower error for matched record-
Table 2. Matched null ladder with settings per signal. Fixed and oracle MAEs are in bpm. The second column lists what each signal keeps from real thermal data. Lower is better.
| Signal | Keeps | Fixed | Oracle |
|---|---|---|---|
| White noise | Nothing | 17.91 | 11.34 |
| Shuffled forehead | Amplitudes | 18.02 | 11.05 |
| Pink noise | 1/f spectrum | 12.00 | 6.92 |
| Donor forehead | Thermal dynamics | 10.62 | 4.62 |
| Forehead | All | 10.74 | 4.61 |
| Perinasal | All | 10.99 | 4.19 |
| Other four regions | All | 11.28–12.40 | 4.89–5.30 |
| EfficientPhys | All | 16.52 | 9.46 |
ings than for donors from other participants in 15 of 20 recordings (Wilcoxon ).
Table 3. Diagnostics of the thermal signal chain. Protocols differ from Tables 1 and 2. Rate errors are MAEs, and is the Pearson correlation.
| Check (data) | Result |
|---|---|
| Training targets, 12 clips | PPG peaks at 62.4 to 92.3 bpm, 81 to 99% band power |
| 16-bit frames, 4 rec. | Thermal peak 45.0 to 52.1 bpm, reference 69.9 to 85.5 bpm |
| Six ROIs, 96 rec., 20 s | r from -0.200 to 0.023, MAE 21.1 to 24.2 bpm, constant 8.51 bpm |
| Lags of ±30 s, 96 rec. | Best r 0.003 to 0.052, donor 0.013 to 0.049 |
| OMIT [9], 96 rec. | 15.24 bpm at 30 Hz, 14.75 bpm at 7.5 Hz, r ≈ -0.05 |
| EfficientPhys, 8 folds | Validation loss near 1.0 from the first epoch |
| Respiration, 20 rec. | 3.21 against 4.22 breaths/min for donors, 15 of 20 lower |
6. DISCUSSION
The oracle, the fixed comparator, and the null answer different questions. The oracle states whether some candidate is close to the reference. On this bank it reaches 0.91 bpm, while no rule without the reference improves on a constant, the curve follows the uninformed model, and a donor signal matches the real one at equal . The 9.83 bpm gap is thus explained by candidate multiplicity and thermal drift within the passband, not by recoverable cardiac content. The same arithmetic applies to banks that contain physiological signal. A signal adds to the oracle only through , and multiplicity adds the rest. Oracle MAEs from 0.44 to 1.92 breaths/min in the video respiratory study [1] are therefore not interpretable as attainable accuracy until is reported. The minimum evidence that an oracle gap reflects signal is therefore a positive at matched coverage, with a confidence interval computed over participants rather than over windows.
The SQI results admit a consistent interpretation. Most indices reward periodicity or spectral concentration in the filtered window. A bandpass filter applied to thermal drift produces a narrowband oscillation near its lower cutoff, which scores as periodic while its rate stays between 45 and 55 bpm. Selection by such indices then favours drift over the candidates close to the reference. This explanation is untested, and a learned mapping from quality to error [3, 1] may behave differently.
We recommend that oracle results state (i) the candidate count and how candidates were formed, (ii) the valid coverage of each comparator, (iii) the oracle error of a matched null bank at the same and windows, preferably with donors from other participants, and (iv) selectors, fixed settings, and constant mean and median predictors chosen on training participants only. Item (iii) requires only rerunning the existing processing on donor signals. Before any new experiment, Eq. (4) gives a quick check: an oracle MAE that is not clearly below for the output range of the bank is not, by itself, evidence of information in the candidates. The calibration is inexpensive, because reuses the candidate table and needs no model training. Eq. (3) also applies to any bank confined to a passband, such as RGB, radar, or WiFi rate estimators.
The study has limitations. The donor mapping keeps the participant for most recordings. It removes temporal correspondence, but it can keep the rate level of the participant, which is the nested structure that biases accuracy in [19]. Donors from other participants in the same condition, with repeated assignments that rerun the full processing [18], are needed to form a null distribution. The matched null was computed for banks of 24 settings and not for the full bank of 168 candidates. Invalid rows are excluded per candidate, so coverage is not identical across comparators, and no confidence intervals across participants are reported. The thermal findings are limited to fixed rectangles on resized crops, one adapted learned model, and one dataset. They show that the tested routes do not track heart rate, but they do not exclude local vascular information lost by averaging. An RGB positive control on the same recordings is the next step.
7. CONCLUSION
We examined oracle selection for thermal heart rate estimation with 168 candidates per window. The oracle reached 0.91 bpm while every rule without the reference performed worse than a constant predictor, the oracle curve followed an order statistic model of guesses without information, and a donor thermal signal matched the real one at equal candidate count. Low oracle error therefore does not establish recoverable physiological information or attainable selector accuracy. Oracle bounds become interpretable when reported with the candidate count, the valid coverage, and a matched null evaluated under the same processing. Future work will apply the protocol to the iBVP RGB recordings, where cardiac information is present, and extend the matched null to the full bank with donors from other participants.
ACKNOWLEDGMENT
The research was supported by the Research Council of Finland Smart Video Sensorization for Secure Healthcare Monitoring (SViSenS) (Grant Number: 370277), the Interreg Aurora ResilientEdge project (Grant Number: 20373282) and Profi7 Hybrid intelligence program (352788). The authors acknowledge the use of AI assisted tools for language editing and coding support. The Elicit platform was used during the literature search as a discovery aid for candidate records. All inclusion decisions, data extraction, synthesis, interpretation and final writing decisions were made by the authors.
COMPLIANCE WITH ETHICAL STANDARDS
This study was conducted retrospectively using human subject data from the iBVP dataset [11], obtained from its authors under their data access agreement. Ethical approval was not required for this secondary analysis, as confirmed by the licence attached to the data.
8. REFERENCES
[1] Nhi Nguyen, Constantino Álvarez Casado, Le Nguyen, Manuel Lage Cañellas, and Miguel Bordallo López, “Quality-aware framework for video-derived respiratory signals,” arXiv preprint arXiv:2512.14093, 2025.
[2] Mohamed Elgendi, Igor Martinelli, and Carlo Menon, “Optimal signal quality index for remote photoplethysmogram sensing,” npj Biosensing, vol. 1, pp. 5, 2024.
[3] Drew A. Birrenkott, Marco A. F. Pimentel, Peter J. Watkinson, and David A. Clifton, “A robust fusion model for estimating respiratory rate from photoplethysmography and electrocardiography,” IEEE Trans. Biomed. Eng., vol. 65, no. 9, pp. 2033–2041, 2018.
[4] Gavin C. Cawley and Nicola L. C. Talbot, “On over-fitting in model selection and subsequent selection bias in performance evaluation,” J. Mach. Learn. Res., vol. 11, pp. 2079–2107, 2010.
[5] Nikolaus Kriegeskorte, W. Kyle Simmons, Patrick S. F. Bellgowan, and Chris I. Baker, “Circular analysis in systems neuroscience: The dangers of double dipping,” Nature Neuroscience, vol. 12, no. 5, pp. 535–540, 2009.
[6] Etienne Combrisson and Karim Jerbi, “Exceeding chance level by chance: The caveat of theoretical chance levels in brain signal classification and statistical assessment of decoding accuracy,” J. Neurosci. Methods, vol. 250, pp. 126–136, 2015.
[7] Marc Garbey, Nanfei Sun, Arcangelo Merla, and Ioannis Pavlidis, “Contact-free measurement of cardiac pulse based on the analysis of thermal imagery,” IEEE Trans. Biomed. Eng., vol. 54, no. 8, pp. 1418–1426, 2007.
[8] Sergey Y. Chekmenev, Aly A. Farag, and Edward A. Essock, "Thermal imaging of the superficial temporal artery: An arterial pulse recovery model," in Proc. IEEE CVPR Workshops, 2007, pp. 1–6.
[9] Constantino Álvarez Casado, Mohammad Rahman, Sasan Sharifipour, Nhi Nguyen, Manuel Lage Cañellas, Xiaoting Wu, and Miguel Bordallo López, “Thermal imaging for contactless cardiorespiratory and sudomotor response monitoring,” arXiv preprint arXiv:2602.12361, 2026.
[10] Mohammad Rakibur Rahman, “Contactless physiological monitoring from facial thermal video through ROI-based analysis, signal processing, and deep learning,” M.S. thesis, University of Oulu, June 2026.
[11] Jitesh Joshi and Youngjun Cho, “iBVP dataset: RGB-thermal rPPG dataset with high resolution signal quality labels,” Electronics, vol. 13, no. 7, pp. 1334, 2024.
[12] Ming Yang, Qiong Liu, Thea Turner, and Ying Wu, “Vital sign estimation from passive thermal video,” in Proc. IEEE CVPR, 2008, pp. 1–8.
[13] Carina Barbosa Pereira, Michael Czaplik, Vladimir Blazek, Steffen Leonhardt, and Daniel Teichmann, “Monitoring of cardiorespiratory signals using thermal imaging: A pilot study
on healthy human subjects," Sensors, vol. 18, no. 5, pp. 1541, 2018.
[14] Andrea Di Credico, David Perpetuini, Pascal Izzicupo, Giulia Gaggi, Daniela Cardone, Chiara Filippini, Arcangelo Merla, Barbara Ghinassi, and Angela Di Baldassarre, “Estimation of heart rate variability parameters by machine learning approaches applied to facial infrared thermal imaging,” Front. Cardiovasc. Med., vol. 9, pp. 893374, 2022.
[15] Bo Hjorth, “EEG analysis based on time domain properties,” Electroencephalogr. Clin. Neurophysiol., vol. 29, no. 3, pp. 306–310, 1970.
[16] Yann McLatchie and Aki Vehtari, “Efficient estimation and correction of selection-induced bias with order statistics,” Stat. Comput., vol. 34, no. 4, pp. 132, 2024.
[17] Markus Ojala and Gemma C. Garriga, “Permutation tests for studying classifier performance,” J. Mach. Learn. Res., vol. 11, pp. 1833–1863, 2010.
[18] Giancarlo Valente, Agustín Lage-Castellanos, Lars Hausfeld, Federico De Martino, and Elia Formisano, “Cross-validation and permutations in MVPA: Validity of permutation strategies and power of cross-validation schemes,” NeuroImage, vol. 238, pp. 118145, 2021.
[19] Hamidreza Jamalabadi, Sarah Alizadeh, Monika Schönauer, Christian Leibold, and Steffen Gais, “Multivariate classification of neuroimaging data with nested subclasses: Biased accuracy and implications for hypothesis testing,” PLoS Comput. Biol., vol. 14, no. 9, pp. e1006486, 2018.
[20] Herbert A. David and Haikady N. Nagaraja, Order Statistics, Wiley, Hoboken, NJ, 3rd edition, 2003.
[21] PhysiologicAILab, “iBVP Dataset: Official data release,” https://github.com/PhysiologicAILab/iBVP-Dataset, 2024, Accessed September 22, 2026.
[22] Xin Liu, Brian Hill, Ziheng Jiang, Shwetak Patel, and Daniel McDuff, “EfficientPhys: Enabling simple, fast and accurate camera-based cardiac measurement,” in Proc. IEEE/CVF WACV, 2023, pp. 5008–5017.
[23] Xin Liu, Girish Narayanswamy, Akshay Paruchuri, Xiaoyu Zhang, Jiankai Tang, Yuzhe Zhang, Roni Sengupta, Shwetak Patel, Yuntao Wang, and Daniel McDuff, “rPPG-Toolbox: Deep remote PPG toolbox,” in Advances in Neural Information Processing Systems, 2023, vol. 36.
[24] Peter D. Welch, “The use of fast Fourier transform for the estimation of power spectra: A method based on time averaging over short, modified periodograms,” IEEE Trans. Audio Electroacoust., vol. 15, no. 2, pp. 70–73, 1967.
[25] Ralph O. Schmidt, “Multiple emitter location and signal parameter estimation,” IEEE Trans. Antennas Propag., vol. 34, no. 3, pp. 276–280, 1986.
[26] Mohammad Rakibur Rahman, “Thermal oracle evaluation code,” https://github.com/Rakibrahman016/thermal-oracle, 2026, Accessed September 22, 2026.