用逻辑规则增强生成模型,让合成数据既真实又符合常识
Logic Tensor Network-Enhanced Generative Adversarial Network
- 将逻辑网络嵌入GAN,生成时自动遵守预设规则
- 在多种数据集上,逻辑一致性提升且样本质量不降
- 适合需要知识约束的生成任务,如医疗、法律数据
本文提出逻辑张量网络增强型生成对抗网络(LTN-GAN),通过引入逻辑张量网络(LTNs)在生成过程中强制执行领域特定的逻辑约束。尽管GAN在生成逼真数据方面表现优异,但缺乏融入先验知识或保证逻辑一致性的机制,限制了其在需遵循规则领域的应用。LTNs提供了一种将一阶逻辑与神经网络结合的严谨方法,使模型能够对逻辑约束进行推理并满足。通过融合GAN的高质量生成能力与LTNs的逻辑推理能力,我们揭示了逻辑约束如何影响生成过程,并显著提升了生成样本的多样性与逻辑一致性。我们在多个数据集上进行了评估,包括高斯、网格、环形等合成数据集及MNIST数据集,结果表明,相较于传统GAN,LTN-GAN在遵守预定义逻辑约束方面有显著提升,同时保持了生成样本的质量和多样性。该工作展示了神经符号方法在知识密集型生成建模中的潜力。
原文摘要 · Abstract (English)
In this paper, we introduce Logic Tensor Network-Enhanced Generative Adversarial Network (LTN-GAN), a novel framework that enhances Generative Adversarial Networks (GANs) by incorporating Logic Tensor Networks (LTNs) to enforce domain-specific logical constraints during the sample generation process. Although GANs have shown remarkable success in generating realistic data, they often lack mechanisms to incorporate prior knowledge or enforce logical consistency, limiting their applicability in domains requiring rule adherence. LTNs provide a principled way to integrate first-order logic with neural networks, enabling models to reason over and satisfy logical constraints. By combining the strengths of GANs for realistic data synthesis with LTNs for logical reasoning, we gain valuable insights into how logical constraints influence the generative process while improving both the diversity and logical consistency of the generated samples. We evaluate LTN-GAN across multiple datasets, including synthetic datasets (gaussian, grid, rings) and the MNIST dataset, demonstrating that our model significantly outperforms traditional GANs in terms of adherence to predefined logical constraints while maintaining the quality and diversity of generated samples. This work highlights the potential of neuro-symbolic approaches to enhance generative modeling in knowledge-intensive domains.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。