Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias

Data augmentation enhances model generalization in computer vision but may introduce biases, impacting class accuracy unevenly.


This content originally appeared on HackerNoon and was authored by Computational Technology for All

:::info Authors:

(1) Athanasios Angelakis, Amsterdam University Medical Center, University of Amsterdam - Data Science Center, Amsterdam Public Health Research Institute, Amsterdam, Netherlands

(2) Andrey Rass, Den Haag, Netherlands.

:::

2.3 Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias

As part of this work’s goal was to confirm the effects of DA on the bias-variance trade-off of image classification problems as seen in Balestriero, Bottou, and LeCun (2022), we also chose to delve deeper into the specifics of the DA policy implemented by the original paper. In particular, we felt that it overlooked the possible effects its universal application of Random Horizontal Flipping (henceforth ”RHF”) as a supplemental DA may have introduced. In an effort to investigate this, we once again conducted a series of experiments similar to Section 2.2, this time excluding RHF.

\ Our trials showed (see Figure 3 and appendices F, J and K) similar trends and results when compared to Section 2.1. However, as could be expected from removing a minor source of regularization such as RHF, overall mean performance was marginally worse across all three datasets. In addition, it appears that the thresholds of α (past which overall and class-specific performances begin to fall, as well as at which best perclass and mean accuracies are reached) have generally increased - for example, ”Sandal”’s best performance is up to 40% from 36% compared to the previous section. In this way, we see that RHF compounds with the scaling Random Cropping DA, acting as a ”constant” source of additional regularization, while preserving, if accelerating, the dynamics of test set accuracies as α grows. With this in mind, Balestriero, Bottou, and LeCun (2022) is validated, as the conclusions reached in the work would likely not have been impacted had

\ Figure 3: The results in this figure employ official ResNet50 models from Tensorflow trained from scratch on the Fashion-MNIST, CIFAR-10 & CIFAR-100 datasets respectively, with the Random Crop but no Random Horizontal Flip DA applied. All results in this figure are averaged over 4 runs. During training, the proportion of the original image obscured by the augmentation varies from 100% to 10%. We observe that while the trends from Figure 2 are generally maintained, the removal of Random Flip seems to decrease the speed at which class-specific bias manifests as α is increased. Only a subset of classes is shown for CIFAR-100 for legibility purposes.

\ RHF been omitted. While not gravely consequential, this finding should serve as a reminder that caution should be exercised when chaining a plurality of data augmentations together. While such an approach is standard practice in contemporary computer vision tasks, it can rapidly increase complexity, and controlling for the influence of a given augmentation on class-specific bias may become difficult.

\

:::info This paper is available on arxiv under CC BY 4.0 DEED license.

:::

\


This content originally appeared on HackerNoon and was authored by Computational Technology for All


Print Share Comment Cite Upload Translate Updates
APA

Computational Technology for All | Sciencx (2024-08-31T18:00:15+00:00) Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias. Retrieved from https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/

MLA
" » Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias." Computational Technology for All | Sciencx - Saturday August 31, 2024, https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/
HARVARD
Computational Technology for All | Sciencx Saturday August 31, 2024 » Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias., viewed ,<https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/>
VANCOUVER
Computational Technology for All | Sciencx - » Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/
CHICAGO
" » Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias." Computational Technology for All | Sciencx - Accessed . https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/
IEEE
" » Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias." Computational Technology for All | Sciencx [Online]. Available: https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/. [Accessed: ]
rf:citation
» Adding Random Horizontal Flipping Contributes To Augmentation-Induced Bias | Computational Technology for All | Sciencx | https://www.scien.cx/2024/08/31/adding-random-horizontal-flipping-contributes-to-augmentation-induced-bias/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.