mlsanityData to 7 Oct 2026

LLM as Detector: An In-context Learning Approach for Tabular Anomaly Detection

arXiv 2608.19463 ↗First posted 19 Aug 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Anomaly detection in tabular data is challenging because abnormal samples often arise as violations of cross-feature dependencies rather than simple marginal deviations. Existing detectors rely on geometric or reconstruction signals, while prior LLM-based approaches mainly fine-tune LLMs with normal samples or generate synthetic anomalies. We propose LLM-Detector, a framework that utilizes the in-context learning capacity of LLMs for structured, prompt-conditioned scoring synthesis, enabling LLMs to derive anomaly detection logic from structured normal-state knowledge. Specifically, normal training data are converted into statistical summaries, causal dependencies, and distilled prototypes that are organized into a prompt for code generation. The resulting scoring engine evaluates statistical deviation, structural inconsistency, and density-based abnormality then computes an anomaly score for each test sample. We evaluate LLM-Detector on 24 tabular datasets, comparing against 15 SOTA baselines. Results show consistent improvements across both mixed-type and continuous-only settings. Moreover, this design eliminates the need for LLM fine-tuning or neural network training, reducing computational cost and enabling practical anomaly detection in real-world tabular systems.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 30 references that are in the map. First posted on arXiv 19 Aug 2026.

Builds on

17 of 30 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Language Models are Realistic Tabular Data Generatorscited by 290
  3. 2022ADBench: Anomaly Detection Benchmarkcited by 230
  4. 2020Classification-Based Anomaly Detection for General Datacited by 210
  5. 2013Causal Inference in the Presence of Latent Variables and Selection Biascited by 165
  6. 2022ECOD: Unsupervised Outlier Detection Using Empirical Cumulative Distribution Functionscited by 153
  7. 2021Neural Transformation Learning for Deep Anomaly Detection Beyond Imagescited by 98
  8. 2018Learning Representations of Ultrahigh-dimensional Data for Random Distance-based Outlier Detectioncited by 79
  9. 2023On Diffusion Modeling for Anomaly Detectioncited by 71
  10. 2022Greedy Relaxations of the Sparsest Permutation Algorithmcited by 63
  11. 2023Fast Scalable and Accurate Discovery of DAGs Using the Best Order Score Search and Grow-Shrink Treescited by 38
  12. 2023Fascinating Supervisory Signals and Where to Find Them: Deep Anomaly Detection with Scale Learningcited by 25
5 more
  1. 2025Deep Learning Advancements in Anomaly Detection: A Comprehensive Surveycited by 15
  2. 2024Generating Realistic Tabular Data with Large Language Modelscited by 9
  3. 2025Comparative Analysis Based on DeepSeek, ChatGPT, and Google Gemini: Features, Techniques, Performance, Future Prospectscited by 9
  4. 2023Understanding the limitations of self-supervised learning for tabular anomaly detectioncited by 3
  5. 2025LLM as an Algorithmist: Enhancing Anomaly Detectors via Programmatic Synthesiscited by 1

Built on by

Not cited yet.