Evaluates out-of-distribution (OOD) generalization in sensor-based human activity recognition (HAR) across four realistic domain-shift scenarios: cross-person, cross-position, cross-device, and cross-time. It benchmarks how well 16 OOD methods with CNN or Transformer backbones maintain performance when trained on one domain and tested on unseen domains. Use when the user wants to benchmark on DSADS, or asks about evaluating this task. Reports accuracy.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill harood-ood-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Harood Ood Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-harood-ood-eval)More formats (shields.io, HTML) on the badges page.
---
name: harood-ood-eval
description: Evaluates out-of-distribution (OOD) generalization in sensor-based human activity recognition (HAR) across four realistic domain-shift scenarios: cross-person, cross-position, cross-device, and cross-time. It benchmarks how well 16 OOD methods with CNN or Transformer backbones maintain performance when trained on one domain and tested on unseen domains. Use when the user wants to benchmark on DSADS, or asks about evaluating this task. Reports accuracy.
metadata:
skill_kind: dataset_eval
source_arxiv: 2512.10807
bibtex_key: wanglu2025harood
confidence: medium
---
# harood-ood-eval
> HAROOD: A Benchmark for Out-of-distribution Generalization in Sensor-based Human Activity Recognition — Wang Lu et al. (2025) (arXiv:2512.10807, 2025)
## What this evaluates
Evaluates out-of-distribution (OOD) generalization in sensor-based human activity recognition (HAR) across four realistic domain-shift scenarios: cross-person, cross-position, cross-device, and cross-time. It benchmarks how well 16 OOD methods with CNN or Transformer backbones maintain performance when trained on one domain and tested on unseen domains.
## Datasets
- **DSADS** — total ?; splits: train (-1), val (-1), test (-1)
## Metrics
- `accuracy` **(primary)** — range: [0, 1]
- Standard classification accuracy: the proportion of correctly predicted class labels out of the total number of instances.
## Input / output format
**Input**: Multi-channel time-series sensor data (raw sequences).
**Output**: Discrete class labels corresponding to human activities.
## Scoring recipe
```python
def compute_accuracy(predictions, gold_labels):
correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
return correct / len(gold_labels)
# Protocol: Run each hyperparameter config 3 times.
# Select the config with the highest mean validation accuracy.
# Report the mean of the best validation scores across the 3 trials.
```
## Common pitfalls
- Training-domain validation assumes train/test distributions are similar, which often fails under OOD shifts and causes overfitting to the validation set.
- Oracle selection directly uses test-domain performance for model selection, causing information leakage and yielding optimistically biased results.
- Hyperparameter tuning uses an 80/20 train/val split per task, which may not adequately represent the true OOD generalization capability.
## Evidence (verbatim from paper)
> The model is trained using the training subsets and evaluated on the aggregated validation set. The hyperparameters yielding the highest validation accuracy are selected. Final reported performance metrics are the mean of the best validation scores obtained over three trials.
## Citation
```bibtex
@misc{wanglu2025harood,
title={HAROOD: A Benchmark for Out-of-distribution Generalization in Sensor-based Human Activity Recognition},
author={Wang Lu et al. (2025)},
year={2025},
note={arXiv:2512.10807}
}
```
- arXiv: 2512.10807
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!