pith. sign in

arxiv: 2605.22468 · v2 · pith:I6MGRYTCnew · submitted 2026-05-21 · 💻 cs.LG · cs.AI

BioFormer: Rethinking Cross-Subject Generalization via Spectral Structural Alignment in Biomedical Time-Series

Pith reviewed 2026-05-22 07:04 UTC · model grok-4.3

classification 💻 cs.LG cs.AI
keywords cross-subject generalizationbiomedical time-seriesspectral alignmentfrequency-band modulationtransformergeneralizationsignal processing
0
0 comments X

The pith

BioFormer aligns spectral structure across subjects to generalize biomedical time-series classification.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

This paper seeks to solve the problem of models failing when applied to new people by directly addressing how biomedical signals differ between individuals. It frames these differences as shifts in the magnitude and phase of frequency bands that still share the same underlying oscillatory patterns for a given label. The proposed BioFormer uses a module to detect the spectral distribution and create adjustments that align these bands, reducing unwanted variability while preserving useful information for classification. Pairing this with normalization based on the signal itself rather than the person helps create more stable features. Experiments show this leads to better results than previous methods on multiple datasets.

Core claim

Subject-specific variability in biomedical time-series manifests as spectral drift, where signals under the same label share consistent oscillatory structure but show subject-dependent magnitude or phase shifts in specific frequency components. The Frequency-Band Alignment Module generates band-wise modulation factors from the spectral distribution to adaptively adjust amplitude and phase, aligning the spectral structure. When combined with Sample Conditional Layer Normalization that derives parameters from intrinsic signal statistics, this approach mitigates variability and improves cross-subject generalization.

What carries the argument

Frequency-Band Alignment Module (FBAM) that generates band-wise modulation factors from the spectral distribution to adaptively adjust amplitude and phase for aligning spectral structure.

If this is right

  • BioFormer outperforms 12 existing baselines on six biomedical datasets with an absolute F1-score improvement of 6%.
  • The method explicitly models subject variability through spectral alignment instead of suppressing it implicitly.
  • Sample Conditional Layer Normalization stabilizes representations by using signal-intrinsic statistics rather than subject identity.
  • Cross-subject generalization is enhanced by preserving label-relevant information during alignment.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • This spectral alignment strategy may extend to other time-series tasks involving high inter-individual variability, such as ECG monitoring in diverse populations.
  • Developers could test whether the modulation factors can be precomputed for efficiency in resource-limited medical devices.
  • Connecting this to phase synchronization measures in neuroscience might reveal deeper links between spectral structure and physiological states.

Load-bearing premise

That subject-specific variability is predominantly expressed as magnitude or phase shifts within frequency bands and that explicitly aligning these shifts preserves label-relevant information while removing nuisance variability.

What would settle it

Removing the Frequency-Band Alignment Module or applying random phase and amplitude adjustments instead of learned ones, then measuring whether cross-subject F1 scores drop on the evaluation datasets.

Figures

Figures reproduced from arXiv: 2605.22468 by Guikang Du, Haoran Li, Jin Zhang, Xiaoli Gong, Xinyu Liu, Zhibo Zhang.

Figure 1
Figure 1. Figure 1: Illustration of spectral drift in biomedical signal analysis. While time-domain waveforms vary sub￾stantially across subjects, samples sharing the same label exhibit similar global spectral patterns; inter-subject vari￾ability is primarily manifested as band-wise magnitude and phase drift (data from the APAVA Dataset). 1. Introduction Biomedical time-series (BTS) are temporally or￾dered measurements of phy… view at source ↗
Figure 2
Figure 2. Figure 2: Comparison between subject-dependent and cross-subject evaluation settings. Left: subject￾dependent evaluation, where samples from the same sub￾jects may appear in both training and validation/test splits. Right: cross-subject evaluation, where training, validation, and test sets are partitioned by subject identity, and mod￾els are evaluated on completely unseen subjects without subject overlap across spli… view at source ↗
Figure 3
Figure 3. Figure 3: Overall architecture of BioFormer. The model consists of four main components: (1) a Pyramid Convolu￾tional Embedding (PCE) module, (2) a Frequency-Band Alignment Module (FBAM), (3) a hybrid Transformer encoder that alternates FBAM and temporal self-attention layers, and (4) a Sample Conditional Layer Normalization (SCLN) module followed by a classification head. tion 4.2). The three parallel encoder outpu… view at source ↗
Figure 4
Figure 4. Figure 4: Polar-view illustration of FBAM modula￾tion in a Fourier subspace. (a) The original coefficient in polar form. (b) Magnitude scaling A ′ k = rk(x)Ak (ra￾dial change). (c) Phase rotation ϕ ′ k = ϕk + ∆k(x) (angular change). Together, (rk(x), ∆k(x)) implement the scaling￾and-rotation alignment within the {cos, sin} subspace. tude spectrum in a residual manner: A ′ m = Am + gm ( Am ∗ wm − Am ) , (6) where Am … view at source ↗
Figure 5
Figure 5. Figure 5: Cross-subject evaluation of alignment do￾mains. F1 scores on three datasets. Dots denote individ￾ual runs. Welch’s t-test; P values shown. ports our hypothesis that subject-specific variability is obscured in the time domain and thus difficult to model, whereas spectral structural alignment enforces consistent oscillatory structure, thereby preserving se￾mantics. 5.4. Spectral Structural Alignment Analysis… view at source ↗
Figure 7
Figure 7. Figure 7: t-SNE visualization of learned represen￾tations. Colors indicate task labels and marker shapes denote subjects. where lower values indicate weaker subject-specific in￾formation. As shown in [PITH_FULL_IMAGE:figures/full_fig_p009_7.png] view at source ↗
Figure 9
Figure 9. Figure 9: Time and frequency domain analysis on the PTB dataset. The first row ((a), (b)) shows time-domain waveforms, and the second row ((c), (d)) shows the corresponding power spectra. Colored curves denote signals from different subjects under the same label, while the red background indicates inter-subject variance, with darker regions representing larger discrepancies. As observed, cross-subject variability in… view at source ↗
Figure 10
Figure 10. Figure 10: Time-domain analysis of FBAM on the APAVA dataset. Blue arrows indicate the temporal repre￾sentations before and after a single FBAM layer. Panels (a) and (b) correspond to samples with label 0, while (c) and (d) correspond to label 1. Colored curves show time-domain waveforms from different subjects, and the red background encodes inter-subject variance, with darker regions indicating larger variance. Co… view at source ↗
Figure 11
Figure 11. Figure 11: Frequency spectrum visualization across three pyramid scales:(a) P/2, (b) P/4, and (c) P/8.Different line styles represent objects with identical labels. It can be observed that low-frequency energy dominates across all datasets, while mid-to-high-frequency responses exhibit differences between modalities. Static Band Modulation (Variant 4). This variant replaces the cross-attention–driven parameter gener… view at source ↗
Figure 12
Figure 12. Figure 12: Effect of the weighting factor α in SCLN on different datasets. F1 scores are reported as the mean ± standard deviation over five independent runs. G.7. Sensitivity Analysis of α in SCLN In Sample Conditional Layer Normalization (SCLN), the weighting factor α ∈ [0, 1] controls the interpolation between the original representation and the sample-adaptively normalized one: hout = (1 − α)LN(h) + α ( γ ⊙ LN(h… view at source ↗
Figure 13
Figure 13. Figure 13: The classification performance and computational complexity on the APAVA dataset. All FLOPs are measured with an input tensor of shape (1, 256, 16). G.8. Computational Complexity Comparison We report the parameter count and FLOPs of all methods on the APAVA dataset to analyze the performance– efficiency trade-off, with the complete results presented in [PITH_FULL_IMAGE:figures/full_fig_p028_13.png] view at source ↗
read the original abstract

Cross-subject generalization in biomedical time-series refers to training on data from some subjects and testing on unseen subjects.The key challenge is to suppress subject specific variability in BTS representations.Most existing methods implicitly suppress the variability through model building or subject adversarial learning, but rarely model it explicitly.We introduce spectral drift as a new perspective to characterize subject specific variability.Specifically, BTS signals under the same label often share consistent oscillatory structure, yet exhibit subject-dependent magnitude or phase shifts in specific frequency components, which we interpret as subject-specific variability. Building on this insight, we propose BioFormer.At its core is a Frequency-Band Alignment Module(FBAM) that generates band-wise modulation factors from the spectral distribution and adaptively adjusts amplitude and phase to align spectral structure, thereby mitigating variability.We further pair FBAM with Sample Conditional Layer Normalization, which infers normalization parameters from intrinsic signal statistics rather than subject identity, stabilizing cross-subject representations.Extensive experiments on six datasets demonstrate that BioFormer outperforms 12 baselines, yielding absolute F1-score improvements of 6%.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 2 minor

Summary. The paper claims that subject-specific variability in biomedical time-series can be explicitly modeled as spectral drift (subject-dependent magnitude or phase shifts within frequency bands while preserving shared oscillatory structure under the same label). It introduces BioFormer, whose Frequency-Band Alignment Module (FBAM) generates band-wise modulation factors from the per-sample spectral distribution to adaptively adjust amplitude and phase, thereby aligning spectral structure. This is combined with Sample Conditional Layer Normalization that derives parameters from intrinsic signal statistics. Experiments across six datasets report that BioFormer outperforms 12 baselines with absolute F1-score gains of 6%.

Significance. If the central empirical claim holds after proper validation, the work supplies a concrete, interpretable mechanism for handling cross-subject generalization that moves beyond implicit suppression or adversarial training. The explicit spectral-alignment perspective and the use of sample-conditional normalization are potentially useful contributions to biomedical time-series modeling, where subject variability is a persistent obstacle. The paper would benefit from stronger evidence that the alignment step selectively targets nuisance directions.

major comments (3)
  1. [Abstract and §4] Abstract and §4 (Experiments): The reported absolute F1-score improvements of 6% are presented without accompanying statistical significance tests, confidence intervals, or details on baseline re-implementations and dataset splits. This information is load-bearing for the claim that BioFormer outperforms the 12 baselines.
  2. [§3.2] §3.2 (Frequency-Band Alignment Module): The FBAM generates modulation factors from the spectral distribution and applies them to amplitude and phase, but the manuscript does not specify a mechanism (e.g., label-conditioned target spectrum or explicit preservation loss) that guarantees the modulation removes only subject-induced shifts while preserving label-discriminative content. If class boundaries are carried by the same band-wise features that vary across subjects, the alignment step risks reducing inter-class separability.
  3. [§3.3 and §4.3] §3.3 and §4.3 (Ablations and visualizations): No direct evidence is provided that the aligned representations maintain or improve class separability across subjects (e.g., via t-SNE before/after alignment or quantitative separability metrics). Such validation is necessary to support the core assumption that subject variability is predominantly band-wise amplitude/phase shifts.
minor comments (2)
  1. [§3.2] The notation used to describe the spectral distribution and modulation factors in §3.2 would benefit from explicit equations to improve reproducibility.
  2. [Figures] Figure captions should explicitly state the number of subjects and classes for each dataset to aid interpretation of the cross-subject results.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for the thoughtful and constructive comments. We address each major point below and indicate where revisions will be made to strengthen the empirical claims and clarify the methodological assumptions.

read point-by-point responses
  1. Referee: [Abstract and §4] Abstract and §4 (Experiments): The reported absolute F1-score improvements of 6% are presented without accompanying statistical significance tests, confidence intervals, or details on baseline re-implementations and dataset splits. This information is load-bearing for the claim that BioFormer outperforms the 12 baselines.

    Authors: We agree that statistical validation and implementation details are necessary to support the performance claims. In the revised manuscript we will report 95% confidence intervals over five random seeds, include paired t-tests (or Wilcoxon signed-rank tests) with p-values against each baseline, and expand the experimental section with explicit descriptions of subject-wise splits and baseline re-implementations (using original code or standard libraries). These additions will appear in §4 and, space permitting, the abstract. revision: yes

  2. Referee: [§3.2] §3.2 (Frequency-Band Alignment Module): The FBAM generates modulation factors from the spectral distribution and applies them to amplitude and phase, but the manuscript does not specify a mechanism (e.g., label-conditioned target spectrum or explicit preservation loss) that guarantees the modulation removes only subject-induced shifts while preserving label-discriminative content. If class boundaries are carried by the same band-wise features that vary across subjects, the alignment step risks reducing inter-class separability.

    Authors: The FBAM is intentionally unsupervised and derives modulation factors solely from each sample’s own spectral distribution, under the modeling assumption that label-discriminative oscillatory structure is shared while subject effects appear as band-wise magnitude/phase shifts. Sample-Conditional Layer Normalization is introduced precisely to retain intrinsic per-sample statistics that may carry class information. We acknowledge that this does not constitute a hard guarantee against loss of separability. In revision we will add an explicit discussion of this assumption in §3.2 together with an empirical check (e.g., within-class spectral consistency before/after alignment) to demonstrate that class-relevant content is not degraded. revision: partial

  3. Referee: [§3.3 and §4.3] §3.3 and §4.3 (Ablations and visualizations): No direct evidence is provided that the aligned representations maintain or improve class separability across subjects (e.g., via t-SNE before/after alignment or quantitative separability metrics). Such validation is necessary to support the core assumption that subject variability is predominantly band-wise amplitude/phase shifts.

    Authors: We concur that direct visualization and quantitative evidence would better substantiate the central modeling assumption. In the revised manuscript we will include t-SNE embeddings of features before and after FBAM, as well as quantitative separability metrics (e.g., silhouette score and Davies-Bouldin index) computed across subjects. These results will be added to §4.3. revision: yes

Circularity Check

0 steps flagged

No significant circularity; derivation self-contained

full rationale

The paper introduces spectral drift as an explicit modeling choice for subject variability (magnitude/phase shifts within bands) and directly constructs FBAM to generate modulation factors from per-sample spectral distributions to perform alignment. This is a design decision grounded in the stated assumption rather than any reduction to a fitted parameter, self-referential definition, or load-bearing self-citation chain. No equations or steps equate the output alignment to its inputs by construction, and the central claim retains independent content from the explicit module implementation. The approach is presented as a first-principles response to the variability perspective without invoking uniqueness theorems or prior author results to force the architecture.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 1 invented entities

The claim rests on the domain assumption that spectral drift captures subject variability and on the introduction of the FBAM module; no free parameters or invented physical entities are described.

axioms (1)
  • domain assumption BTS signals under the same label share consistent oscillatory structure yet exhibit subject-dependent magnitude or phase shifts in specific frequency components.
    This premise is stated directly in the abstract as the basis for interpreting subject-specific variability.
invented entities (1)
  • Frequency-Band Alignment Module (FBAM) no independent evidence
    purpose: Generates band-wise modulation factors to adjust amplitude and phase for spectral alignment.
    New architectural component introduced to implement the spectral-alignment idea.

pith-pipeline@v0.9.0 · 5726 in / 1192 out tokens · 45098 ms · 2026-05-22T07:04:50.932677+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.