ICLR 2023top-25%21 citations

Learning with Logical Constraints but without Shortcut Satisfaction

Zenan Li, Zehua Liu, Yuan Yao, Jingwei Xu, Taolue Chen, Xiaoxing Ma, Jian L\"{u}

Abstract

Recent studies have started to explore the integration of logical knowledge into deep learning via encoding logical constraints as an additional loss function. However, existing approaches tend to vacuously satisfy logical constraints through shortcuts, failing to fully exploit the knowledge. In this paper, we present a new framework for learning with logical constraints. Specifically, we address the shortcut satisfaction issue by introducing dual variables for logical connectives, encoding how the constraint is satisfied. We further propose a variational framework where the encoded logical constraint is expressed as a distributional loss that is compatible with the model's original training loss. The theoretical analysis shows that the proposed approach bears some nice properties, and the experimental evaluations demonstrate its superior performance in both model generalizability and constraint satisfaction.

training with logical constraintslogical formula encodingvariational learningstochastic gradient descent ascent
BibTeX
@inproceedings{
li2023learning,
title={Learning with Logical Constraints but without Shortcut Satisfaction},
author={Zenan Li and Zehua Liu and Yuan Yao and Jingwei Xu and Taolue Chen and Xiaoxing Ma and Jian L{\textbackslash}''{\{}u{\}}},
booktitle={The Eleventh International Conference on Learning Representations },
year={2023},
url={https://openreview.net/forum?id=M2unceRvqhh}
}
Learning with Logical Constraints but without Shortcut Satisfaction · ICLR 2023