面向表格数据的上下文密度估计 In-Context Density Estimation for Tabular Data 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-10
👁️ 预览文献
💡 AI 中文简介
表格数据上的异常检测、分布外检测和数据增强等任务本质上都依赖概率密度估计,但传统方法需要为每个数据集单独训练模型并调参。本文提出ICED,一种基于能量的上下文密度估计器,只需在合成先验上预训练一次,推理时把数据集当作上下文输入,单次前向传播即可输出任意查询点的未归一化对数密度,无需拟合、采样或调参。同一个冻结模型可同时完成密度估计、分布外检测、无监督异常检测和生成式数据增强四项任务,性能与最强的专用方法相当,且无需重训练、调参或标签。
领域机器学习 / 表格数据无监督学习与密度估计
适合谁读需要一定专业背景(了解密度估计、Transformer、PFN等概念)
核心贡献1. 提出ICED,首个面向表格数据的上下文能量密度估计器,一次预训练后无需针对每个数据集拟合或调参;2. 单个冻结模型统一驱动密度估计、OOD检测、无监督异常检测和生成式增强四类任务,且无需标签即可切换。
关键数据单个冻结ICED在四项任务上均与最强任务专用方法相当,且是唯一无需重训练、调参和标签即可跨任务迁移的方法;推理为单次前向传播,无需拟合、采样或超参数选择。
推荐理由如果你厌倦了为每个表格数据集单独训练和调参,这篇论文用一个预训练模型一次性搞定密度估计、异常检测、OOD检测和数据增强,值得一读。
关键词["密度估计", "表格数据", "上下文学习", "基于能量的模型", "分布外检测", "异常检测"]

原文摘要

查看英文原文摘要

Density estimation underlies many unsupervised tasks on tabular data such as anomaly detection, out-of-distribution detection, and data augmentation. Although all these problems reduce to questions about where probability mass lies, they are typically solved individually by fitting a separate model to each dataset, with its own hyperparameters and tuning budget. We introduce ICED, an in-context, energy-based density estimator that removes this per-dataset cost. ICED is a transformer-based model pretrained once on a synthetic prior built specifically for density estimation under an objective that fits log-density where it is informative and preserves its ordering elsewhere. In the inference, it reads a dataset as context and returns an unnormalized log-density for any query point in a single forward pass, with no fitting, sampling, or hyperparameter selection. A single frozen ICED model then drives four tasks usually handled by four specialized pipelines: density estimation, out-of-distribution detection, unsupervised anomaly detection, and generative augmentation. Across all four, it is competitive with the strongest task-specific method, while being the only approach that needs no retraining, no tuning, and no labels to move between them. The code is available at https://github.com/gmum/iced.