From (0.3), the residuals, ri with the corresponding τi ≠ 0, would deviate from zero, which suggests that the set of outliers can be identified through thresholding as follows
where E is the set of detected outliers, k is a tuning parameter controlling the sensitivity of the model, and rmed is the median of . We denote the number of elements in set E as |E| and let N be the number of true outliers in the data. First, we can use least squares and formula (0.4) to obtain a rough estimate of E denoted as . Let the cardinality of be . Since the model at this moment is inaccurate with contamination of outliers, is an overestimation of N which can be used to get an underestimate via with α1 ∈ (0, 1). With , we can then update the least square fitting after removing the samples with the largest absolute value of residuals and obtain an improved estimate of E and the corresponding . We can improve the model by repeating the procedure, but we need to increase the underestimate of outliers, , by a factor of α2 with α2 > 1 for each iteration to force the convergence between and . In sum, we initialize our algorithm by setting
which is the OLS solution. For the jth iteration, where j ≥ 1, we update by
where the min(⋅, ⋅) operator guarantees that , an overestimation of N, is non-increasing. Similarly, we update through
where ⌈x⌉ means the ceiling of , α1 ∈ (0, 1) is used to obtain a lower bound for N in the first step, α2 > 1 guarantees the monotonicity of , and the min(⋅, ⋅) operator guarantees is smaller than . Then we update and r after removing outliers by
We repeat this procedure until and converge.
Hence, we hereby report a novel approach, coined as adaptive Least Trimmed Square (aLTS), to automatically detect and remove contaminating outliers. Our aLTS is an extension of the iterative LTS algorithm proposed by Xu et al. [31] which is designed for binary output such as the comparison between two images or videos.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.