# Albumentations: fast and flexible image augmentations

Albumentations: 빠른 이미지 증강 라이브러리

Alexander Buslaev, Alex Parinov, Eugene Khvedchenya, Vladimir I. Iglovikov, Alexandr A. Kalinin · arXiv · 2018년 9월 18일

- **연구 문제** 기존 증강 도구는 변환 종류가 제한적이고, 도구마다 처리 속도가 달라 과제에 맞게 고르기 어렵습니다.
- **연구 방법** Albumentations는 다양한 영상 변환을 빠르게 구현한 라이브러리입니다. 다른 증강 라이브러리를 감싸는 쉬운 인터페이스도 제공합니다.
- **주요 결과** 이미지 한 장당 처리 시간을 잰 표 I에서 대부분의 연산이 imgaug, torchvision, Keras보다 짧았습니다.

## 데이터 증강 도구의 기능 범위와 처리 속도 문제

딥러닝 모델은 많은 파라미터를 가지므로 라벨이 있는 학습 데이터가 부족하면 과적합 위험이 커집니다. 이때 데이터 증강은 라벨을 보존하는 입력 변환으로 학습 데이터의 크기와 다양성을 늘리는 기법입니다. 컴퓨터 비전에서는 과적합을 억제하는 암묵적 정규화 기법으로 널리 쓰이지만, 대부분의 딥러닝 프레임워크는 뒤집기, 회전, 스케일 조정, 자르기 같은 기본 변환의 일부만 제공합니다.

의료 영상이나 위성 영상처럼 분야와 과제에 따라 필요한 변환의 종류와 조합이 크게 다릅니다. 같은 벤치마크에서도 증강 전략에 따라 성능이 달라질 수 있습니다. 따라서 다양한 변환을 과제에 맞게 조합할 수 있는 유연한 도구가 필요합니다. 동시에 GPU가 학습 연산에 집중하려면 CPU에서 수행되는 증강이 다음 미니배치를 제때 준비해야 하므로 증강 연산의 처리 속도도 중요해집니다.

## Albumentations의 구성과 적용 대상

Albumentations는 다양한 영상 변환 연산을 빠르게 구현한 라이브러리이며, 다른 증강 라이브러리를 감싸는 쉬운 인터페이스 역할도 합니다. 색상, 대비, 밝기 같은 픽셀 단위 변환과 공간 변환이 함께 제공됩니다.

공간 변환은 영상뿐 아니라 분할 마스크와 바운딩 박스에도 함께 적용될 수 있습니다. 예를 들어 거리 장면 영상에 수평 뒤집기와 랜덤 크기 자르기를 적용하면 원본 영상과 함께 바운딩 박스 및 인스턴스 마스크 주석도 같은 방식으로 변환됩니다. 위성 영상과 항공 영상에서는 건물처럼 형태를 유지해야 하는 대상을 위해 자르기, 회전, 반사, 스케일 변환처럼 형태를 보존하는 변환을 사용하는 예가 제시됩니다. 의료 영상에서는 그리드 왜곡과 탄성 변환이 비강체 형태 변화를 모사하는 데 도움이 될 수 있다고 설명됩니다.

## 처리 속도 비교의 설정과 결과

속도 비교는 영상 변환 연산 하나를 이미지 한 장에 적용하는 데 걸린 시간을 초 단위로 측정한 표 I에서 이루어집니다. 값이 낮을수록 좋은 지표이며, 비교 대상은 Albumentations, imgaug, torchvision의 Pillow 백엔드와 Pillow-SIMD 백엔드, Keras입니다. 일부 연산에서는 비교 도구의 값이 기록되지 않았습니다.

대부분의 연산에서 Albumentations는 비교 대상보다 짧은 시간을 기록합니다. 예를 들어 RandomCrop64에서 Albumentations는 0.0017초, torchvision Pillow 백엔드는 0.0182초입니다. 반면 ShiftRGB에서는 imgaug의 2.1989가 Albumentations의 2.6159보다 낮아 대부분 빠르다는 결과에 예외가 있습니다. 이 결과는 논문이 제시한 특정 연산 목록과 측정 설정에서 얻은 것이며, 모든 하드웨어나 모든 변환에 대한 일반적 보장은 아닙니다.

## 결과의 적용 범위

이 논문의 속도 결과는 표 I에 포함된 연산과 비교 도구에 한정됩니다. 일부 비교 도구의 값이 표에 기록되지 않았으므로 해당 조합은 직접 비교할 수 없습니다. 또한 ShiftRGB처럼 예외가 있는 연산이 존재하므로 모든 연산에서 가장 빠르다고 확대해 읽을 수는 없습니다. 증강 정확도나 학습 성능 향상을 직접 측정한 결과는 이 근거 범위에 포함되지 않습니다.

## 논문 정보

- **저자**: Alexander Buslaev, Alex Parinov, Eugene Khvedchenya, Vladimir I. Iglovikov, Alexandr A. Kalinin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2018년 9월 18일
- **등록일**: 2026년 11월 12일
- **수정일**: 2018년 9월 18일
- **버전**: v1
- **arXiv**: 1809.06839
- **DOI**: 10.3390/info11020125
- **분류**: cs.CV
- **원문 이용 조건**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **제공 범위**: 논문 정보, 해설

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

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

## 원문 인용

Alexander Buslaev, Alex Parinov, Eugene Khvedchenya, Vladimir I. Iglovikov, Alexandr A. Kalinin (2018). Albumentations: fast and flexible image augmentations. arXiv:1809.06839v1. https://doi.org/10.3390/info11020125

**BibTeX**

```
@article{buslaev2018albumentations,
  title = {{Albumentations: fast and flexible image augmentations}},
  author = {Alexander Buslaev and Alex Parinov and Eugene Khvedchenya and Vladimir I. Iglovikov and Alexandr A. Kalinin},
  year = {2018},
  eprint = {1809.06839},
  archivePrefix = {arXiv},
  doi = {10.3390/info11020125},
  url = {https://arxiv.org/abs/1809.06839v1}
}
```

## 이 논문의 용어

- [MNIST](https://refivu.com/terms/28b9bb66d1c6-mnist)
- [CIFAR-10](https://refivu.com/terms/19035a518d0a-cifar-10)
- [Data Augmentation](https://refivu.com/terms/cc5618231f4a-data-augmentation)
- [Object detection](https://refivu.com/terms/113bfdb14049-object-detection)
- [Instance segmentation](https://refivu.com/terms/c62f5b6c52fb-instance-segmentation)
- [PyTorch](https://refivu.com/terms/edd1274b5e01-pytorch)
- [Albumentations](https://refivu.com/terms/921676fe940d-albumentations)
- [elastic transform](https://refivu.com/terms/d82313f8c629-elastic-transform)
- [Keras](https://refivu.com/terms/c4ab0475b12f-keras)

## 다른 논문 해설

- [Semantic Image Synthesis with Spatially-Adaptive Normalization](https://refivu.com/papers/7c8cce40-a7a4-49f2-a589-a9b074c36caa-semantic-image-synthesis-with-spatially-adaptive.md)
- [ByteTrack: Multi-Object Tracking by Associating Every Detection Box](https://refivu.com/papers/6d6f3415-7480-483d-afac-4b47286d13c9-bytetrack-multi-object-tracking-by-associating-every.md)
- [ViViT: A Video Vision Transformer](https://refivu.com/papers/4375a36b-0a1c-403c-8454-737a027ff973-vivit-a-video-vision-transformer.md)
- [Learning Important Features Through Propagating Activation Differences](https://refivu.com/papers/a23d41a4-f8c4-41eb-ac72-f85328d3740c-learning-important-features-through-propagating-activation.md)
- [RAFT: Recurrent All-Pairs Field Transforms for Optical Flow](https://refivu.com/papers/14ee65d7-abd3-40c2-af3a-dcf58b84facf-raft-recurrent-all-pairs-field-transforms-for-optical.md)
- [Adversarial Machine Learning at Scale](https://refivu.com/papers/fcc0e603-ae52-4f86-b341-4b1f8ee7d840-adversarial-machine-learning-at-scale.md)
- [Network In Network](https://refivu.com/papers/27c629ee-aa61-4496-8fca-b1dbef86d705-network-in-network.md)
- [TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension](https://refivu.com/papers/34db6f08-4b90-47eb-a2d8-fd0c5a90bf6e-triviaqa-a-large-scale-distantly-supervised-challenge.md)
- [An Introduction to Deep Learning for the Physical Layer](https://refivu.com/papers/f1790a96-c7b5-4b05-9672-d9d222404a87-an-introduction-to-deep-learning-for-the-physical.md)
- [Convolutional Sequence to Sequence Learning](https://refivu.com/papers/48e91a54-308d-4269-9616-28e683053df1-convolutional-sequence-to-sequence-learning.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/b1ebb278-fa95-4faa-a782-1d7360e37984-albumentations-fast-and-flexible-image-augmentations)
