# A Mallows-like criterion for anomaly detection with random forest implementation

**Authors:** GaoXiang Zhao, Lu Wang, Xiaoqiang Wang, Jie Zhang, Jie Zhang, Jie Zhang

PMC · DOI: 10.1371/journal.pone.0323333 · PLOS One · 2025-06-06

## TL;DR

This paper introduces a new method for detecting anomalies by improving random forest algorithms with a Mallows-like model averaging technique.

## Contribution

The novel contribution is a Mallows-like criterion using focal loss for model averaging in anomaly detection.

## Key findings

- The proposed method outperforms classical anomaly detection algorithms on benchmark datasets.
- It surpasses conventional model averaging techniques in accuracy and robustness.
- The approach effectively handles data imbalance challenges.

## Abstract

Anomaly detection plays a crucial role in fields such as information security and industrial production. It relies on the identification of rare instances that deviate significantly from expected patterns. Reliance on a single model can introduce uncertainty, as it may not adequately capture the complexity and variability inherent in real-world datasets. Under the framework of model averaging, this paper proposes a criterion for the selection of weights in the aggregation of multiple models, employing a focal loss function with Mallows’ form to assign weights to the base models. This strategy is integrated into a random forest algorithm by replacing the conventional voting method. Empirical evaluations conducted on multiple benchmark datasets demonstrate that the proposed method outperforms classical anomaly detection algorithms while surpassing conventional model averaging techniques based on minimizing standard loss functions. These results highlight a notable enhancement in both accuracy and robustness, indicating that model averaging methods can effectively mitigate the challenges posed by data imbalance.

## Full-text entities

- **Chemicals:** ADASYN (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12143530/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12143530/full.md

## References

23 references — full list in the complete paper: https://tomesphere.com/paper/PMC12143530/full.md

---
Source: https://tomesphere.com/paper/PMC12143530