Multi-task learning
Multi-task learning skill. Shared representation learning, task-specific heads, gradient balancing, auxiliary task selection, and multi-task model evaluation.
Use This Skill When
- Shared representation learning.
- Task-specific heads.
- Gradient balancing.
- Auxiliary task selection.
- Multi-task model evaluation.
Required Inputs
- Research objective, decision target, or hypothesis.
- Available data, source constraints, and domain assumptions.
- Required outputs, success metrics, and deadline or reproducibility constraints.
Workflow
- Confirm scope, assumptions, and the exact artifact set to save.
- Apply the narrowest domain method that answers the request with defensible evidence.
- Save code, tables, figures, and intermediate outputs to files instead of chat-only output.
- State limitations, uncertainty, and any validation or sensitivity checks performed.
- Append skill selection, handoff I/O, and file writes to
logs/process-log.jsonl.
Deliverables
report.md: concise method, results, interpretation, and file inventory in the user's language.
results/: structured outputs, metrics, model artifacts, or extracted findings.
figures/: English-only charts, diagrams, or panels when visual output is needed.
data/: processed or derived datasets when transformation occurs.
Quality Gates
If any gate fails: identify the specific failing check, fix the issue, and re-validate before proceeding.
Gotchas
- Data leakage between train/test splits invalidates all metrics. Verify no leakage before reporting results
- Random seeds must be set for numpy, random, and framework-specific RNGs separately (torch, tf)
- Hyperparameter tuning needs held-out test data never seen during tuning. Three-way split is minimum
Validation Loop
- Execute analysis and generate outputs
- Check:
- Method selection matches the research question and stated assumptions
- All outputs are saved to files (no chat-only results)
- Limitations and uncertainty are explicitly stated
logs/process-log.jsonl is updated with execution trace
- If any check fails:
- Identify the failing gate
- Fix the specific issue
- Re-run validation
- Proceed only after all gates pass
1---2name: co-scientist-multi-task-learning3description: Multi-task learning skill. Shared representation learning, task-specific heads, gradient balancing, auxiliary task selection, and multi-task model evaluation. Use when working with shared representation learning, task-specific heads, gradient balancing.4---56# Multi-task learning78Multi-task learning skill. Shared representation learning, task-specific heads, gradient balancing, auxiliary task selection, and multi-task model evaluation.910## Use This Skill When1112- Shared representation learning.13- Task-specific heads.14- Gradient balancing.15- Auxiliary task selection.16- Multi-task model evaluation.1718## Required Inputs1920- Research objective, decision target, or hypothesis.21- Available data, source constraints, and domain assumptions.22- Required outputs, success metrics, and deadline or reproducibility constraints.2324## Workflow25261. Confirm scope, assumptions, and the exact artifact set to save.272. Apply the narrowest domain method that answers the request with defensible evidence.283. Save code, tables, figures, and intermediate outputs to files instead of chat-only output.294. State limitations, uncertainty, and any validation or sensitivity checks performed.305. Append skill selection, handoff I/O, and file writes to `logs/process-log.jsonl`.3132## Deliverables3334- `report.md`: concise method, results, interpretation, and file inventory in the user's language.35- `results/`: structured outputs, metrics, model artifacts, or extracted findings.36- `figures/`: English-only charts, diagrams, or panels when visual output is needed.37- `data/`: processed or derived datasets when transformation occurs.3839## Quality Gates4041- [ ] The selected method matches the scientific question and stated assumptions.42- [ ] Outputs are reproducible, saved to files, and traceable from inputs to conclusions.43- [ ] Missing data, uncertainty, bias, and hard limits are made explicit.44- [ ] `report.md` and `logs/process-log.jsonl` reference the generated artifacts.45- [ ] No essential result remains chat-only.4647If any gate fails: identify the specific failing check, fix the issue, and re-validate before proceeding.4849## Gotchas5051- Data leakage between train/test splits invalidates all metrics. Verify no leakage before reporting results52- Random seeds must be set for numpy, random, and framework-specific RNGs separately (torch, tf)53- Hyperparameter tuning needs held-out test data never seen during tuning. Three-way split is minimum5455## Validation Loop56571. Execute analysis and generate outputs582. Check:59 - Method selection matches the research question and stated assumptions60 - All outputs are saved to files (no chat-only results)61 - Limitations and uncertainty are explicitly stated62 - `logs/process-log.jsonl` is updated with execution trace633. If any check fails:64 - Identify the failing gate65 - Fix the specific issue66 - Re-run validation674. Proceed only after all gates pass