In the field of outlier detection, two common challenges have persisted. Firstly, outlier detection datasets are often small in size, which can lead to overfitting issues when using deep learning models such as autoencoders. Secondly, as the dimensionality of datasets increases, many dimensions may be irrelevant or noisy, which can adversely affect the model’s ability to learn meaningful features. This phenomenon is known as “the curse of dimensionality.” To address these challenges, this study proposes a solution using an ensemble of autoencoders with denoising layers to mitigate overfitting. Additionally, a novel attention mechanism is introduced to predict the importance of each feature, thereby addressing the curse of the dimensionality problem. The proposed approach is evaluated on five datasets, including BreastW and Vowels, and compared with existing methods. Experimental results demonstrate that the proposed method outperforms existing methods on four out of the five datasets, showcasing its effectiveness.