---
title: "A Framework for Incorporating General Domain Knowledge into Latent Dirichlet Allocation Using First-Order Logic"
authors:
  - "David Andrzejewski"
  - "Xiaojin Zhu"
  - "Mark Craven"
  - "Benjamin Recht"
doi: "10.5591/978-1-57735-516-8/IJCAI11-200"
url: "https://ijcai.org/proceedings/2011/200"
pdf: "https://ijcai.org/proceedings/2011/0200.pdf"
venue: "Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence"
year: 2011
pages: "1171-1176"
track: ""
keywords:
---

# A Framework for Incorporating General Domain Knowledge into Latent Dirichlet Allocation Using First-Order Logic

David Andrzejewski, Xiaojin Zhu, Mark Craven, Benjamin Recht

*Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence*, pages 1171-1176. DOI: [10.5591/978-1-57735-516-8/IJCAI11-200](https://doi.org/10.5591/978-1-57735-516-8/IJCAI11-200)

## Abstract

Topic models have been used successfully for a variety of problems, often in the form of application-specific extensions of the basic Latent Dirichlet Allocation (LDA) model. Because deriving these new models in order to encode domain knowledge can be difficult and time-consuming, we propose the Fold·all model, which allows the user to specify general domain knowledge in First-Order Logic (FOL). However, combining topic modeling with FOL can result in inference problems beyond the capabilities of existing techniques. We have therefore developed a scalable inference technique using stochastic gradient descent which may also be useful to the Markov Logic Network (MLN) research community. Experiments demonstrate the expresive power of Fold·all, as well as the scalability of our proposed inference method.
