# Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data

Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton 외 1명 · arXiv · 2022년 6월 6일

- **연구 문제** 라벨이 적은 웨어러블 HAR에서 대규모 라벨 없는 가속도계 데이터로 자기지도 pre-training을 하면 외부 데이터셋 전반의 성능이 높아지는지 검증합니다.
- **연구 방법** UKB의 미표지 손목 가속도 데이터에 AoT, permutation, TW 과제를 함께 학습하는 다중 과제 SSL로 ResNet-V2 특징 추출기를 사전 학습한 뒤 라벨된 데이터셋에서 미세 조정합니다.
- **주요 결과** pre-training 모델은 일곱 개 외부 데이터셋 모두에서 처음부터 학습한 모델과 랜덤 포레스트를 능가했으며, 처음부터 학습한 동일 네트워크 대비 median 상대 F1 향상은 18.4%입니다.

## 라벨 부족 문제와 SSL 적용의 필요성

웨어러블 기반 사람 활동 인식(HAR) 연구에서는 라벨이 붙은 데이터가 매우 적어, 딥러닝 모델이 충분히 성능을 내기 어렵다는 문제가 있습니다. 반면 손목 가속도계 데이터는 라벨 없이도 대규모로 수집할 수 있습니다. 이 논문은 UK-Biobank의 약 700,000 person-days에 달하는 라벨 없는 데이터를 자기지도 학습(SSL)으로 활용하여, 라벨이 적은 상황에서도 HAR 성능을 높일 수 있는지 확인합니다.

기존 SSL-HAR 연구는 소규모 실험실 데이터셋에 머물러 있었기 때문에, SSL의 실제 잠재력은 알려지지 않은 상태였습니다. 이 연구는 실제 생활 환경에서 수집된 대규模 데이터로 사전 학습하고, 외부 데이터셋·기기·환경에 걸쳐 일반화되는지를 함께 평가하는 것을 범위로 삼습니다.

## 다중 과제 자기지도 변환과 학습 구성

연구는 세 가지 단순한 자기지도 과제인 AoT(arrow of time), permutation, TW(time-warping)를 사용합니다. AoT는 신호를 시간축으로 뒤집고, permutation은 신호를 네 개의 조각으로 나누어 섞으며, TW는 신호의 임의 구간을 늘리거나 줄입니다. 각 과제는 변환이 적용되었는지 여부를 맞히는 이진 문제로 다뤄지며, 세 과제의 교차 엔트로피 손실을 동일한 가중치로 더하는 다중 과제 학습(multi-task SSL)으로 공유 특징 추출기를 학습합니다.

![Table 2: Downstream human activity recognition performance (subject-wise F1 (±SD)) for different self-supervised task combinations using 1,000 UK-Biobank parti…](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-6cb669e6b922f9b73300986fd4794fcb.png?thumb=512)

**Table 2** : Downstream human activity recognition performance (subject-wise F1 (±SD)) for different self-supervised task combinations using 1,000 UK-Biobank participants. N is the number of samples.

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 6: Downstream human activity recognition performance (subject-wise F1 (±SD)) when using different self-supervised learning tasks after fine-tuning: Arrow…](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-5c9284a1a2ba8a54aca375ca03a3d85b.png?thumb=512)

**Table 6** : Downstream human activity recognition performance (subject-wise F1 (±SD)) when using different self-supervised learning tasks after fine-tuning: Arrow of the Time (AoT), Permutation (P), Time warping (TW). The tasks were trained using the same 1,000 UK-Biobank participants.

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

특징 추출기는 1D 합성곱을 쓰는 ResNet-V2(18개 층, 약 10M 파라미터)이며, 출력 특징 벡터는 크기 1024입니다. 과제별 softmax 층이 이 공유 추출기 위에 붙습니다. 학습 중에는 움직임이 큰 구간이 더 자주 선택되도록 데이터 윈도우를 표준편차에 비례하여 샘플링하는 가중 샘플링을 적용합니다. 저자들은 정적인 신호는 변환 후에도 거의 변하지 않아 학습 신호로서 정보가 적다고 설명하며, 이것이 가중 샘플링의 동기입니다.

![Figure 2: Accuracy test curves for training four self-supervised tasks individually using 1000 subjects from the UK-Biobank with and without weighted sampling.…](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-1bf018a3c0f25fc8bd0528445a7f55f4.png?thumb=512)

**Figure 2** : Accuracy test curves for training four self-supervised tasks individually using 1000 subjects from the UK-Biobank with and without weighted sampling. The patience for early-stopping was five.

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 6: Data collected from free-living environment tends to have more stationary periods than the data collected in lab environment](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-ec34191947259e156138b73294a1d1ae.png?thumb=512)

**Figure 6** : Data collected from free-living environment tends to have more stationary periods than the data collected in lab environment.

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## 다운스트림 평가 설계와 기준선

사전 학습된 특징 추출기는 라벨이 있는 일곱 개의 외부 데이터셋에서 미세 조정됩니다. 두 가지 방식이 비교되며, 하나는 모든 층을 미세 조정하는 방식이고 다른 하나는 특징 추출기를 고정하고 마지막 완전연결 층만 미세 조정하는 방식입니다. 기준선은 같은 구조를 처음부터 학습한 네트워크와, 시계열 수작업 특징을 사용하는 랜덤 포레스트입니다.

![Table 1: Wrist-worn accelerometer datasets used to evaluate the utility of self-supervised learning for human activity recognition tasks](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-bc3c7c1f8ca442075331015003b88cf1.png?thumb=512)

**Table 1** : Wrist-worn accelerometer datasets used to evaluate the utility of self-supervised learning for human activity recognition tasks

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

평가 프로토콜은 피험자 수에 따라 달라집니다. 피험자가 10명 미만인 데이터셋은 held-one-subject-out 교차검증을, 10명 이상인 데이터셋은 five-fold 피험자 단위 교차검증을 사용하며, 각 교차검증은 7:1:2의 학습·검증·시험 분할을 따릅니다. 이 설정은 UKB 약 100,000명으로 사전 학습한 모델을 다운스트림 데이터셋에서 평가할 때의 조건입니다. 결과 해석에서는 이 프로토콜이 적용된 실험과 다른 설정을 구분해야 합니다.

## 다운스트림 성능과 자기지도 pre-training의 효과

표 3의 결과에서, 랜덤 포레스트는 가장 큰 데이터셋인 Capture-24를 제외하면 처음부터 학습한 딥러닝 모델보다 높은 성능을 보였습니다. 사전 학습된 모델은 일곱 개 데이터셋 모두에서 처음부터 학습한 모델과 랜덤 포레스트를 능가했습니다. 작은 데이터셋일수록 pre-training의 이점이 더 컸으며, Opportunity에서 F1 상대 향상은 55.4%입니다.

저자들은 자기지도 pre-training을 쓴 경우 처음부터 학습한 동일 네트워크 대비 median 상대 F1 향상이 18.4%이고, 랜덤 포레스트 대비로는 8.5%라고 보고합니다. Capture-24에서는 F1 향상이 2.5%로 작았습니다. 이 수치는 모든 층을 미세 조정한 결과를 기준으로 합니다.

![Table 3: Subject-wise F1 and Kappa (κ) for downstream human activity recognition tasks (mean ± SD) using 100,000 participants for pre-training. The relative im…](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c/figures/figure-30bdb6d960c7d75ec8603e931882caec.png?thumb=512)

**Table 3** : Subject-wise F1 and Kappa (κ) for downstream human activity recognition tasks (mean ± SD) using 100,000 participants for pre-training. The relative improvement compares the performance between the model that is trained from scratch and fine-tuning using all the layers.

[원문](https://arxiv.org/abs/2206.02909v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty · Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## pre-training 데이터의 편향과 적용 범위

저자들은 pre-training 데이터인 UKB가 주로 영국의 백인 참여자로 구성되어 있다고 밝힙니다. 따라서 이 결과가 다른 인구 집단에 그대로 적용된다고 단정할 수는 없으며, 다양한 인구 집단의 데이터를 추가하는 것이 향후 과제로 제시됩니다.

또한 이 논문의 일반화 주장은 여기서 사용한 일곱 개의 외부 데이터셋, 손목 착용 가속도계, 10초 윈도우와 30 Hz 리샘플링이라는 조건에서 얻어진 것입니다. 다른 센서 위치나 다른 모달리티에 대한 결과는 이 연구의 범위 밖입니다.

## 논문 정보

- **저자**: Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 6월 6일
- **등록일**: 2026년 11월 6일
- **수정일**: 2024년 6월 20일
- **버전**: v3
- **arXiv**: 2206.02909
- **DOI**: 10.1038/s41746-024-01062-3
- **분류**: eess.SP · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2206.02909v3) · [원문 PDF ↗](https://arxiv.org/pdf/2206.02909v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Advances in deep learning for human activity recognition have been relatively limited due to the lack of large labelled datasets. In this study, we leverage self-supervised learning techniques on the UK-Biobank activity tracker dataset--the largest of its kind to date--containing more than 700,000 person-days of unlabelled wearable sensor data. Our resulting activity recognition model consistently outperformed strong baselines across seven benchmark datasets, with an F1 relative improvement of 2.5%-100% (median 18.4%), the largest improvements occurring in the smaller datasets. In contrast to previous studies, our results generalise across external datasets, devices, and environments. Our open-source model will help researchers and developers to build customisable and generalisable activity classifiers with high performance.

## 원문 인용

Hang Yuan, Shing Chan, Andrew P. Creagh, Catherine Tong, Aidan Acquah, David A. Clifton, Aiden Doherty (2022). Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data. arXiv:2206.02909v3. https://doi.org/10.1038/s41746-024-01062-3

**BibTeX**

```
@article{yuan2022self,
  title = {{Self-supervised Learning for Human Activity Recognition Using 700,000 Person-days of Wearable Data}},
  author = {Hang Yuan and Shing Chan and Andrew P. Creagh and Catherine Tong and Aidan Acquah and David A. Clifton and Aiden Doherty},
  year = {2022},
  eprint = {2206.02909},
  archivePrefix = {arXiv},
  doi = {10.1038/s41746-024-01062-3},
  url = {https://arxiv.org/abs/2206.02909v3}
}
```

## 이 논문의 용어

- [random forest](https://refivu.com/terms/e69b7b54f2ea-random-forest)
- [Layer-wise relevance propagation (LRP)](https://refivu.com/terms/cd554c957dc3-layer-wise-relevance-propagation-lrp)
- [Self-Supervised Learning (SSL)](https://refivu.com/terms/93edfb222271-self-supervised-learning-ssl)
- [human activity recognition (HAR)](https://refivu.com/terms/8a0e4c0927d5-human-activity-recognition-har)
- [랜덤 포레스트](https://refivu.com/terms/21bbc6f8f99a)

## 다른 논문 해설

- [Context Vectors are Reflections of Word Vectors in Half the Dimensions](https://refivu.com/papers/b7b81b8b-5025-4fbd-a52e-a2e1e26668da-context-vectors-are-reflections-of-word-vectors-in.md)
- [Contrastive Representation Learning: A Framework and Review](https://refivu.com/papers/8d475c35-65aa-4272-b3a4-00f7350d277d-contrastive-representation-learning-a-framework-and-review.md)
- [Language Knowledge-Assisted Representation Learning for Skeleton-Based Action Recognition](https://refivu.com/papers/606f8e68-1af8-4a10-856d-bd1487d12ab3-language-knowledge-assisted-representation-learning-for.md)
- [Exploiting Unlabeled Data in CNNs by Self-supervised Learning to Rank](https://refivu.com/papers/0b37f7e4-24bc-430e-8e04-56053b8e4c37-exploiting-unlabeled-data-in-cnns-by-self-supervised.md)
- [One Deep Music Representation to Rule Them All? : A comparative analysis of different representation learning strategies](https://refivu.com/papers/86b13be2-8a0c-49c6-91b8-10aa621e6d11-one-deep-music-representation-to-rule-them-all.md)
- [Online Self-Supervised Deep Learning for Intrusion Detection Systems](https://refivu.com/papers/5b2dc5eb-5b04-4003-9688-63d5f91512ca-online-self-supervised-deep-learning-for-intrusion-detection.md)
- [AI-Powered Non-Contact In-Home Gait Monitoring and Activity Recognition System Based on mm-Wave FMCW Radar and Cloud Computing](https://refivu.com/papers/1bdadcdb-dcec-4915-8b6b-8c9e273d2f5c-ai-powered-non-contact-in-home-gait-monitoring.md)
- [A Review of Off-Policy Evaluation in Reinforcement Learning](https://refivu.com/papers/e25e61dd-1c4f-4fca-aaa9-9c30003d2d85-a-review-of-off-policy-evaluation-in-reinforcement.md)
- [Multimodal Spatial Language Maps for Robot Navigation and Manipulation](https://refivu.com/papers/4a0d9969-87c8-4cf7-9b1a-5f7c83b81e14-multimodal-spatial-language-maps-for-robot-navigation-and.md)
- [Real-World Anomaly Detection by using Digital Twin Systems and Weakly-Supervised Learning](https://refivu.com/papers/fe95d42e-743e-48d5-9c94-85a40ed755f4-real-world-anomaly-detection-by-using-digital-twin.md)
- [BATFormer: Towards Boundary-Aware Lightweight Transformer for Efficient Medical Image Segmentation](https://refivu.com/papers/40d99b95-2938-4e9a-8075-b56b6146c523-batformer-towards-boundary-aware-lightweight-transformer-for.md)
- [Autonomous Platoon Control with Integrated Deep Reinforcement Learning and Dynamic Programming](https://refivu.com/papers/ea9c86e8-a45b-4cfe-b36d-90c4ede94bee-autonomous-platoon-control-with-integrated-deep.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/7d06c47d-a111-423f-a4f8-68d244e1093c-self-supervised-learning-for-human-activity-recognition)
