research: does a skip connection make deep fine-tuning pay off? (NinaPro, plain vs residual DS-CNN)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python, pytorch
- Domain
- machine-learning
Research direction
Start by reading the earlier NinaPro runs and the existing DS-CNN training and evaluation entry points; the issue does not name specific files or tests. Implement and compare plain and residual models across the fine-tuning and normalization arms using the stated 8 people, 10 seeds, and balanced accuracy protocol. Done means reporting whether residual full fine-tuning exceeds last-2 fine-tuning by about 1 percentage point and what the normalization comparisons show.
Written by the indexing model from the issue text.
Description
Question
Does a skip connection make deep fine-tuning pay off? On the NinaPro DB2 personalization task, the plain DS-CNN gains only +0.59 pp from training deeper than the last 2 layers (deepest suffix that fits vs last-2, 8 people × 10 seeds). That is below a useful margin. One explanation is the architecture: a plain chain with BN folded passes little useful gradient to the early layers. Other explanations: too little adaptation data (10 windows per class per person), or the missing normalization during adaptation.
Hypothesis
A residual version of the same DS-CNN, with the same parameter count and pretraining split, gains clearly more from deep fine-tuning than the plain one.
Test (PyTorch, host only, no C)
- Arms: plain vs residual model, each with no fine-tuning, last-2, deepest suffix that fits, and full fine-tuning.
- Normalization arm: BN folded (today) vs BN kept with frozen statistics vs statistics re-estimated per person. This separates gradient flow from normalization.
- Same protocol as the earlier NinaPro runs: 8 development people, 10 seeds, the same pretraining people, balanced accuracy.
Kill
If full fine-tuning minus last-2 stays under ~1 pp for the residual model too, the architecture is not the bottleneck on this task. Then too little adaptation data is the likely limit, and the residual work goes ahead for model coverage, not for this result.
Why now
It decides whether the dynamic-depth work (P6) gets a better testbed from the model-zoo epic, and which normalization policy the tier-2 models need.
- Dominant language
- C
- Stars
- 2
- Forks
- 3
- Avg merge
- 13h 6m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from es-ude/OnDeviceTraining
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
es-ude/OnDeviceTraining#549 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
es-ude/OnDeviceTraining#547 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
es-ude/OnDeviceTraining#536 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
es-ude/OnDeviceTraining#478 ·
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
es-ude/OnDeviceTraining#459 ·
Maintainers usually reply within 1 day
All issues in es-ude/OnDeviceTraining
Similar issues
-
issue: bug report
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 2 days
-
AI/LLM documentation Professional Contributors Only
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
luainkernel/lunatik#2752 ·
Maintainers usually reply within 1 day
-
feature:config kind:docs os:windows toolchain:cmake triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
BasedHardware/omi#26486 ·
Maintainers usually reply within 1 day