mlsanityData to 14 Oct 2026

LLM as an Algorithmist: Enhancing Anomaly Detectors via Programmatic Synthesis

arXiv 2510.03904 ↗First posted 4 Oct 2025cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Existing anomaly detection (AD) methods for tabular data usually rely on some assumptions about anomaly patterns, leading to inconsistent performance in real-world scenarios. While Large Language Models (LLMs) show remarkable reasoning capabilities, their direct application to tabular AD is impeded by fundamental challenges, including difficulties in processing heterogeneous data and significant privacy risks. To address these limitations, we propose LLM-DAS, a novel framework that repositions the LLM from a ``data processor'' to an ``algorithmist''. Instead of being exposed to raw data, our framework leverages the LLM's ability to reason about algorithms. It analyzes a high-level description of a given detector to understand its intrinsic weaknesses and then generates detector-specific, data-agnostic Python code to synthesize ``hard-to-detect'' anomalies that exploit these vulnerabilities. This generated synthesis program, which is reusable across diverse datasets, is then instantiated to augment training data, systematically enhancing the detector's robustness by transforming the problem into a more discriminative two-class classification task. Extensive experiments on 36 TAD benchmarks show that LLM-DAS consistently boosts the performance of mainstream detectors. By bridging LLM reasoning with classic AD algorithms via programmatic synthesis, LLM-DAS offers a scalable, effective, and privacy-preserving approach to patching the logical blind spots of existing detectors.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 22 of its 42 references that are in the map. First posted on arXiv 4 Oct 2025.

Builds on

22 of 42 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  3. 2021Revisiting Deep Learning Models for Tabular Datacited by 740
  4. 2021Deep Neural Networks and Tabular Data: A Surveycited by 491
  5. 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 425
  6. 2022Language Models are Realistic Tabular Data Generatorscited by 294
  7. 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 277
  8. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  9. 2022ADBench: Anomaly Detection Benchmarkcited by 232
  10. 2020Classification-Based Anomaly Detection for General Datacited by 211
  11. 2024Large Language Models(LLMs) on Tabular Data: Prediction, Generation, and Understanding -- A Surveycited by 159
  12. 2022ECOD: Unsupervised Outlier Detection Using Empirical Cumulative Distribution Functionscited by 153
10 more
  1. 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 148
  2. 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
  3. 2020Deep Learning for Medical Anomaly Detection -- A Surveycited by 127
  4. 2024Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learningcited by 81
  5. 2024Making Pre-trained Language Models Great on Tabular Predictioncited by 57
  6. 2023Generative Table Pre-training Empowers Models for Tabular Predictioncited by 55
  7. 2024Optimized Feature Generation for Tabular Data via LLMs with Decision Tree Reasoningcited by 49
  8. 2024PTaRL: Prototype-based Tabular Representation Learning via Space Calibrationcited by 28
  9. 2023Beyond Individual Input for Deep Anomaly Detection on Tabular Datacited by 16
  10. 2023UADB: Unsupervised Anomaly Detection Boostercited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Anomaly Detection of Tabular Data Using LLMs
  2. 2024LogiCode: an LLM-Driven Framework for Logical Anomaly Detection
  3. 2026Towards Understanding LLM-Based Log Anomaly Detection: An Empirical Study of Performance, Efficiency, and Robustness
  4. 2026Multi-Agent Debate: A Unified Agentic Framework for Tabular Anomaly Detection
  5. 2025AD-AGENT: A Multi-agent Framework for End-to-end Anomaly Detection
  6. 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitations
  7. 2025LogLLaMA: Transformer-based log anomaly detection with LLaMA
  8. 2025Exploring LLM Agents for Cleaning Tabular Machine Learning Datasets