Research
ReForest: Interpretability Meets Reasoning in Isolation Forest
Overview Research area: Anomaly detection and interpretable machine learning, specifically the combination of classical statistical detectors (Isolation Forest) with Large Language Model reasoning. Te
- arXiv
- 2610.37316
- Published
- 2026-10-27
- Authors
- Juyoung Seo, Geonwoo Bang, Dongho Kim, Moohong Min
AI summary
Overview
Research area: Anomaly detection and interpretable machine learning, specifically the combination of classical statistical detectors (Isolation Forest) with Large Language Model reasoning.
Technical level: Intermediate. Readers should know roughly how Isolation Forest works (random partitioning of data, anomalies isolated in fewer splits) and what an LLM is, but the paper's core idea can be grasped without deep math.
Scope (one sentence): The paper proposes ReForest, a framework that converts Isolation Forest's internal decision paths into natural-language explanations so that an LLM can reason about them and combine semantic judgment with statistical scores for anomaly detection.
What This Paper Is About
Isolation Forest is fast and effective at flagging data points that are numerically unusual, but it has no idea what the data means — so it can miss anomalies that look normal on the surface yet are odd in context. Large Language Models, on the other hand, understand context well but are too slow and expensive to run over an entire large dataset. ReForest aims to get the best of both: keep Isolation Forest as the cheap statistical workhorse, and call in an LLM only to reason over human-readable explanations of why a point was flagged.
Key Contributions
- A hybrid statistical–semantic detection framework. ReForest links Isolation Forest's latent decision paths to LLM reasoning, rather than treating the two as separate detectors to be stacked naively.
- Path-to-text translation. The framework renders Isolation Forest's internal decision paths as natural-language explanations, making the statistical model's logic legible to a language model.
- Uncertainty-aware dynamic ensembling. Statistical and semantic signals are combined per-instance, with weights driven by uncertainty-based confidence rather than a single fixed blend.
- Improved performance plus transparency. The authors report both detection gains and interpretable rationales, framing explanation as an output of the method rather than a post-hoc add-on.
Main Findings
- Better recall: Across four real-world datasets spanning Healthcare and Finance, ReForest reports an average 21% improvement in Recall over the baselines, meaning fewer context-dependent anomalies are missed.
- Improved F1: The same experiments report an average 10% gain in F1-score, indicating the recall improvement does not come purely at the cost of precision.
- Context-dependent anomalies are the target: The authors frame the gain as evidence that semantic reasoning catches subtle anomalies that purely numerical rarity scores overlook.
- Transparency as a byproduct: Grounding natural-language narratives in Isolation Forest's statistical evidence is claimed to yield rationales that are interpretable and auditable.
- Scope caveat: The abstract names four datasets across two sectors but gives no dataset sizes, specific baseline systems, or per-dataset breakdowns; those details are in the full paper, not the abstract.
Methodology in Plain English
Start with an ordinary Isolation Forest, which flags a point as anomalous when random splits isolate it quickly. Instead of stopping at the numeric score, ReForest records the sequence of splits that isolated each point and rewrites that sequence into a sentence-level explanation — effectively saying "this record was separated because its value for feature X was above Y, then feature Z was unusually low." That explanation, together with the data context, is handed to an LLM, which judges whether the pattern is genuinely strange in semantic terms. The final decision blends the statistical score and the LLM's judgment, with the mix set per instance based on how confident each side appears to be — so ambiguous cases lean on the LLM and clear-cut cases lean on the cheap statistical score.
Why This Matters
Research impact: It offers a template for using LLMs as reasoners over the outputs of classical detectors rather than as replacements for them, which sidesteps the cost barrier that keeps LLMs out of large-scale detection pipelines. It also reframes interpretability as functional — the explanation is the mechanism, not just documentation.
Real-world applications:
- Healthcare: flagging anomalous patient records or claims where the numbers are unremarkable but the clinical context is implausible.
- Finance: fraud and compliance review, where a transaction can be numerically ordinary yet semantically inconsistent with a customer's history or stated purpose.
- Security and operations monitoring: log or event anomalies whose significance depends on sequence and context rather than magnitude.
- Audited decision-making: domains where a reviewer must be shown a reason, not just a risk score, before acting.
Industry relevance: The cost profile matters. Running an LLM on every record is impractical at production scale; running it on Isolation Forest's shortlisted cases with a written justification is far more tractable, and the uncertainty-based weighting gives practitioners a knob for trading accuracy against LLM calls.
Future Directions
- Quantifying the cost savings. The abstract motivates ReForest by LLM expense but reports no latency or token-cost figures; measuring the actual overhead versus an LLM-only pipeline is the obvious next experiment.
- Explanation fidelity. How much detection quality depends on the quality of the path-to-text translation, and whether poor explanations mislead the LLM, is an open question.
- Broader and harder domains. Testing beyond the four Healthcare and Finance datasets — including high-dimensional, streaming, or non-tabular data — would show whether the approach generalizes.
- Calibration of the uncertainty signal. The dynamic ensemble rests on confidence estimates from both components; how robust the weighting is when those estimates are miscalibrated deserves scrutiny.
Target Audience
Practitioners building production anomaly detection systems who need better recall on context-dependent cases without paying for LLM inference on every record; interpretability researchers interested in explanation-as-mechanism designs; and applied ML researchers in healthcare and finance working on auditable detection. Readers wanting a purely statistical treatment or a full LLM fine-tuning study will find this outside scope.
Authors’ abstract
Statistical anomaly detection methods like Isolation Forest are efficient but suffer from a critical semantic gap. They identify numerical rarities but fail to understand the contextual meaning of data, often missing subtle, context-dependent anomalies. Conversely, Large Language Models possess strong semantic reasoning capabilities but are prohibitively expensive and slow for large-scale deployment. To bridge this gap, we propose ReForest, a novel framework that synergizes the statistical efficiency of Isolation Forest with the reasoning power of LLMs. ReForest transforms the latent decision paths of Isolation Forest into natural-language explanations, enabling an LLM to refine anomaly detection through an uncertainty-aware dynamic ensemble. This approach allows the model to adaptively weigh statistical and semantic signals based on uncertainty-driven instance-level confidence. Extensive experiments on four real-world datasets (Healthcare, Finance) demonstrate that ReForest significantly outperforms baselines, achieving an average 21% improvement in Recall and a 10% gain in F1-score. Our framework not only improves detection performance but also enhances model transparency by grounding semantic narratives in statistical evidence, providing interpretable rationales essential for high-stakes decision-making.