r/learnmachinelearning • • 2d ago

Signal Processing Question

Hi everyone.

I'm a junior Ai researcher. I'm trying to predict a particular physiological marker based on ear signals. The issue is that I have very few patients for this experiment. High physiological marker value class vs low. When i try to apply an ml mdoel or deep learnign model, it tends to learn the patient signatures rather than the marker-ear sginal relationship. What do i do? ANY NOVEL SUGGESTIONS? (Other than: Get more data)

1 Upvotes

3 comments sorted by

1

u/LowEngineering9405 2d ago

Split by patient first, then strip any per-patient normalization or channel offsets before training, otherwise the model just learns who the ear belongs to.

1

u/Massive_Distance_616 1d ago

Building on the above splitting by patient is the right first move, but worth doing it as a proper leave-one-subject-out or grouped k-fold cross-validation, not just a single train/test split, so you can actually measure whether the leakage is gone rather than assume it.

Beyond that, a few techniques built specifically for this problem (subject-invariant representation learning, common in EEG/ECG/biosignal work with small patient counts):

Domain-adversarial training: add a small auxiliary classifier that tries to predict patient ID from your model's intermediate features, and train it with a gradient reversal layer so the main feature extractor is pushed to make patient ID unpredictable while still predicting the marker. This explicitly scrubs identity information out of the representation rather than hoping normalization does it.

Within-patient relative features: instead of raw absolute signal features, engineer features relative to each patient's own baseline (e.g., difference or ratio from a resting/calibration segment), so the model compares deviations rather than absolute levels that correlate with who the patient is.

If you're not set on deep learning, a mixed-effects model with patient as a random effect does something similar in the classical stats world it explicitly separates patient-level baseline variance from the marker effect you actually care about.

Any of these should help more than normalization alone, since normalization only removes

1

u/Regular_Run3923 1d ago

I asked Gemini Hydrogen to see if it agreed with my potential help and it did with caveats beyond this short response....A ring matrix (circulant matrix) can help—specifically if the signals are cyclic, periodic, or shift-invariant—because it forces the model to look at relative patterns rather than absolute source positions. However, on its own, it will not stop a neural network from memorizing source-specific baselines or amplitudes unless paired with normalization.