arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26171cs.LG
收藏

当规则违反罕见时:用于逻辑异常检测的嵌合体训练

When Rule Violations Are Rare: Chimera Training for Logical Anomaly Detection

School of Electrical Engineering and Robotics, Faculty of Engineering(电气工程与机器人学学院,工程学院)

Alejandro Ascarate, Leo Lebrat, Rodrigo Santa Cruz, Clinton Fookes, Olivier Salvado

AI总结:

针对规则违反样本稀少的逻辑异常检测,提出嵌合体训练方法,通过特征级操作数反事实构造生成监督信号,提升规则级异常检测性能。

摘要:

许多实际异常不仅仅是罕见的输入,而是语义约束的违反:对象以结构化方式共现,动作蕴含前提条件,事件满足时间或关系规律。我们研究这种设置下的异常检测,其中约束以学习到的视觉概念上的逻辑规则形式给出,但训练期间真实规则违反罕见或缺失。我们提出一种神经规则评估器,将每个约束编译成有向无环图,并为其内部逻辑运算符学习特征感知的子树MLP门。每个门将子特征和边级否定映射到父表示和规则满足概率,并通过基于真实概念标签的精确布尔传播获得中间监督。关键困难在于同图像训练数据通常无法提供信息性真值配置的充分覆盖,并允许捷径解。为解决此问题,我们引入嵌合体训练:在特征级别进行操作数级反事实构造。我们不混合输入图像,而是连接来自不同样本的子树特征;每个操作数保留其来源样本的硬真值标签,并通过将节点的逻辑运算符应用于这些继承标签来获得嵌合体目标。这提供了监督逻辑反例,而无需真实异常图像。在CLEVRER、OpenImages和VidOR上,所得到的评估器在规则级异常AUROC上优于独立事件和同图像语义训练基线,特别是对于组合和关系规则。该方法产生标量异常分数和规则级归因。

英文摘要:

Many practical anomalies are not merely rare inputs, but violations of semantic constraints: objects co-occur in structured ways, actions imply preconditions, and events satisfy temporal or relational regularities. We study anomaly detection in this setting, where constraints are given as logical rules over learned visual concepts, but real rule violations are rare or absent during training. We propose a neural rule evaluator that compiles each constraint into a directed acyclic graph and learns feature-aware subtree MLP gates for its internal logical operators. Each gate maps child features and edge-level negations to a parent representation and a rule-satisfaction probability, with intermediate supervision obtained from exact Boolean propagation over ground-truth concept labels. The key difficulty is that same-image training data often provide insufficient coverage of informative truth configurations and also allow shortcut solutions. To address this, we introduce chimera training: an operand-level counterfactual construction at the feature level. Instead of mixing input images, we concatenate subtree features from different samples; each operand keeps the hard truth label of the sample it came from, and the chimera target is obtained by applying the node's logical operator to those inherited labels. This supplies supervised logical counterexamples without requiring real anomalous images. Across CLEVRER, OpenImages, and VidOR, the resulting evaluator improves rule-level anomaly AUROC over independent-events and same-image semantic-training baselines, especially for compositional and relational rules. The method yields both scalar anomaly scores and rule-level attributions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑