Learning with Logical Constraints but without Shortcut Satisfaction
<|reference_start|>Learning with Logical Constraints but without Shortcut Satisfaction: Recent studies in neuro-symbolic learning have explored 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 salient properties, and the experimental evaluations demonstrate its superior performance in both model generalizability and constraint satisfaction.<|reference_end|>
@article{li2024learning,
    title={Learning with Logical Constraints but without Shortcut Satisfaction},
    author={Zenan Li, Zehua Liu, Yuan Yao, Jingwei Xu, Taolue Chen, Xiaoxing Ma,
  Jian L"u},
    journal={arXiv preprint arXiv:2403.00329},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.00329},
    primaryClass={cs.AI cs.LG}
}