A Categorical Description of Hierarchical Topic Modelling
This paper describes a hierarchical topic model of a dataset as a cluster functor from a poset of topics to the poset of fuzzy subsets of the dataset. This presents a hierarchical topic model as a categorical database used to store the dataset. We construct a topic functor that maps fuzzy sets of data to their topics, and show it is a left adjoint to the clustering functor. We also describe data migration between the hierarchical topic model and databases storing metadata about the topics and samples. Finally we discuss implementation details and show examples of the database operations on real-world datasets.