AIWiki
Malaysia
Back to all articles
Infrastructuredata augmentationdeep learningregularisation

Data Augmentation

4 min readUpdated May 2026
Data Augmentation
Type
Training-data expansion technique
Used in
Computer vision, NLP, audio, tabular ML
Key libraries
Albumentations, torchvision, NLPAug, AugLy
Goal
Improve generalisation, reduce overfitting
Related
Synthetic data, regularisation, transfer learning

Data augmentation is the practice of generating additional training examples by applying label-preserving transformations to existing data. By exposing a model to many plausible variations of the same underlying example, augmentation increases effective dataset size, encourages invariance to nuisance factors such as rotation or word order, and is one of the most effective regularisers in modern deep learning. It is distinct from synthetic data generation, which produces entirely new samples rather than transforming real ones, though the two techniques are often combined.

Computer vision

In computer vision, augmentation operates directly on pixel arrays. Geometric transformations such as horizontal flips, random crops, rotations, scaling, and elastic deformations teach a model to be invariant to camera pose and framing. Photometric transformations including brightness, contrast, saturation, and hue jitter improve robustness to lighting and sensor differences. Occlusion-style methods such as Cutout, Random Erasing, and MixUp replace or blend image regions to discourage reliance on a single discriminative patch. AutoAugment and RandAugment use search or simple random policies to combine these primitives automatically and have produced state-of-the-art results on ImageNet classification, object detection, and segmentation benchmarks. Libraries such as Albumentations, torchvision.transforms, and Kornia provide GPU-accelerated implementations.

Natural language processing

Text data is harder to augment without altering meaning. Common token-level operations include synonym replacement, often using WordNet or contextual masked-language-model substitutions, alongside random insertion, swap, and deletion — collectively known as Easy Data Augmentation (EDA). Back-translation runs a sentence through one or more intermediate languages and back to produce paraphrases that preserve semantics. Large language models are now used to generate paraphrases and counterfactual examples directly. NLPAug, TextAttack, and the Hugging Face datasets library include ready-made pipelines for these techniques.

Audio and speech

Audio augmentation includes time stretching, pitch shifting, additive noise, room-impulse-response convolution for simulated reverberation, and SpecAugment, which masks contiguous time and frequency bands of a spectrogram. SpecAugment, introduced by Google in 2019, became standard practice in automatic speech recognition pipelines.

Tabular and time series data

Tabular data can be augmented through SMOTE-style interpolation between minority-class samples, mixup of feature vectors, and small Gaussian noise injection. For time series, techniques include window slicing, jittering, magnitude warping, and synthetic series generation with generative adversarial networks.

Benefits and risks

Data augmentation reduces the data needed to reach a given accuracy level, sharply improves robustness to distribution shift, and works well in combination with transfer learning and self-supervised pre-training. Risks include applying transformations that change the label — for example, vertically flipping digits — or that introduce systematic biases by over-representing certain transformations. Augmentation policies should always be evaluated against held-out validation data with the original, untransformed distribution. Malaysian AI startups and research labs rely on data augmentation to make the most of limited labelled data. MIMOS Berhad and ASEAN-IVO research consortia have published work on augmentation for tropical-disease imaging, including malaria thin-smear classification and dengue mosquito species identification, where labelled examples from local clinics are scarce. Agritech projects funded by the Ministry of Agriculture and Food Security (KPKM) and led by Universiti Putra Malaysia apply augmentation to drone imagery for oil-palm pest detection, padi disease classification, and durian orchard mapping — augmentations such as random cropping and colour jitter address the highly variable lighting of equatorial fieldwork. In speech and language, Multimedia University (MMU) and Universiti Kebangsaan Malaysia (UKM) have built augmented training corpora for Bahasa Malaysia and Manglish automatic speech recognition. Local NLP teams use back-translation through Bahasa Indonesia and Tagalog to expand low-resource Bahasa Melayu datasets. The Malaysia Digital Economy Corporation (MDEC) and CyberSecurity Malaysia recognise data augmentation as a privacy-preserving technique that reduces the volume of raw personal data that must be collected under the Personal Data Protection Act (PDPA) 2010 and its 2024 amendments, particularly when combined with synthetic data generation.
  1. Shorten, C., and Khoshgoftaar, T. M. (2019). A survey on Image Data Augmentation for Deep Learning. Journal of Big Data.
  2. Park, D. S. et al. (2019). SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition. Interspeech.
  3. Wei, J., and Zou, K. (2019). EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks. EMNLP-IJCNLP.
  4. Cubuk, E. D. et al. (2020). RandAugment: Practical Automated Data Augmentation with a Reduced Search Space. CVPR Workshops.