| { |
| "paper_id": "Y09-1018", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T13:43:06.088936Z" |
| }, |
| "title": "LogisticLDA: Regularizing Latent Dirichlet Allocation by Logistic Regression", |
| "authors": [ |
| { |
| "first": "Jia-Cheng", |
| "middle": [ |
| "C" |
| ], |
| "last": "Guo", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| }, |
| { |
| "first": "Bao-Liang", |
| "middle": [ |
| "L" |
| ], |
| "last": "Lu", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "bllu@sjtu.edu.cn" |
| }, |
| { |
| "first": "Zhiwei", |
| "middle": [], |
| "last": "Li", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "Microsoft Research", |
| "location": { |
| "addrLine": "Asia 49 Zhichun Road, Haidian District", |
| "postCode": "100080", |
| "settlement": "Beijing", |
| "country": "China" |
| } |
| }, |
| "email": "" |
| }, |
| { |
| "first": "Lei", |
| "middle": [], |
| "last": "Zhang", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "Microsoft Research", |
| "location": { |
| "addrLine": "Asia 49 Zhichun Road, Haidian District", |
| "postCode": "100080", |
| "settlement": "Beijing", |
| "country": "China" |
| } |
| }, |
| "email": "leizhang@microsoft.com" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "We present in this paper a supervised topic model for multi-class classification problems. To incorporate supervisory information, we jointly model documents and their labels in a graphical model called LogisticLDA, which mathematically integrates a generative model and a discriminative model in a principled way. By maximizing the posterior of document labels using logistic normal distributions, the model effectively incorporates the supervisory information to maximize inter-class distance in the topic space, while documents still enjoy the interchangeability characteristic for ease of inference. Experimental results on three benchmark datasets demonstrate that the model outperforms state-of-the-art supervised topic models. Compared with support vector machine, the model also achieves comparable performance, but meanwhile it discovers a topic space, which is valuable for dimension reduction, topic mining and document retrieval.", |
| "pdf_parse": { |
| "paper_id": "Y09-1018", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "We present in this paper a supervised topic model for multi-class classification problems. To incorporate supervisory information, we jointly model documents and their labels in a graphical model called LogisticLDA, which mathematically integrates a generative model and a discriminative model in a principled way. By maximizing the posterior of document labels using logistic normal distributions, the model effectively incorporates the supervisory information to maximize inter-class distance in the topic space, while documents still enjoy the interchangeability characteristic for ease of inference. Experimental results on three benchmark datasets demonstrate that the model outperforms state-of-the-art supervised topic models. Compared with support vector machine, the model also achieves comparable performance, but meanwhile it discovers a topic space, which is valuable for dimension reduction, topic mining and document retrieval.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "As an unsupervised method, Latent Dirichlet Allocation (LDA) (Blei et al., 2003) seeks to simultaneously find a set of basis (i.e. topics) and embed documents to the latent space spanned by this basis. Due to its inherent capability of producing interpretable and semantically coherent topics, LDA has been widely used in text analysis and shown promising performance in tasks like topic mining, browsing, and accessing document similarity. In contrast, when LDA is applied to text classification tasks, it is often used as only a dimension reduction step to extract features for consecutive discriminative models (e.g. SVM). Because the objective of LDA (as well as other unsupervised topic models) is to infer the best set of latent topics that can explain the document collection rather than separate different classes, the training of LDA is actually independent to supervisory information. This paradigm greatly limits its applications in classification tasks.", |
| "cite_spans": [ |
| { |
| "start": 61, |
| "end": 80, |
| "text": "(Blei et al., 2003)", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "To address this issue, some topic models which integrate supervisory information have been proposed in recent years. Mimno and McCallum categorized these models to two types: upstream and downstream models. In \"upstream\" models, hidden topics are generated by conditioning on supervisory information(i.e. p(z|y), where z means a hidden topic and y means the category of a document). Examples of upstream models include the Dirichlet Multinomial Regression model (DMR) (Mimno and McCallum, 2008) , and the Theme Model (Li and Perona, 2005) . Although upstream models explicitly model the class distribution p(z|y) (i.e. reducing intra class variance) in the topic space, they disregard the inter class information (without maximizing inter-class distance), which is very crucial for classification problems. Though Discriminative LDA model (DiscLDA) (Lacoste-Julien et al., 2008) has similar modelling, its unique training scheme make it more like a hybrid of \"upstream\" and \"downstream\" models.", |
| "cite_spans": [ |
| { |
| "start": 468, |
| "end": 494, |
| "text": "(Mimno and McCallum, 2008)", |
| "ref_id": "BIBREF10" |
| }, |
| { |
| "start": 517, |
| "end": 538, |
| "text": "(Li and Perona, 2005)", |
| "ref_id": "BIBREF9" |
| }, |
| { |
| "start": 849, |
| "end": 878, |
| "text": "(Lacoste-Julien et al., 2008)", |
| "ref_id": "BIBREF7" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "In \"downstream\" models, the supervisory information and words are simultaneously generated from hidden topics (i.e. p(w, y|z) , where w means a word), like the supervised LDA (sLDA) proposed by Blei and McAuliffe (2007) , and Topic over Time Model (Wang and McCallum, 2006) . Although supervisory information in upstream models looks to be more deeply involved in the likelihood function than in downstream models, downstream models are more like discriminative models because the posterior of supervisory information explicitly appears in models. As a regression model, the discriminative information captured in the model can help find a topic space in which class labels can be generated with minimal errors. However, it's unclear that how to adapt sLDA to multi-class classification problem.", |
| "cite_spans": [ |
| { |
| "start": 110, |
| "end": 125, |
| "text": "(i.e. p(w, y|z)", |
| "ref_id": null |
| }, |
| { |
| "start": 194, |
| "end": 219, |
| "text": "Blei and McAuliffe (2007)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 248, |
| "end": 273, |
| "text": "(Wang and McCallum, 2006)", |
| "ref_id": "BIBREF12" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "In this paper, we develop a new downstream topic model for multi-class classification problems. Following the work of Blei and McAuliffe, we also employ LDA to project documents into a topic space (topic simplex). In the topic space, for each class we place a corresponding class prototype, and for each document, we calculate the memberships that this document embedding belongs to each class. Here the membership function is defined as a normal distribution centered at each class prototype. The membership scores of this document are then combined together as the parameter of a multinomial distribution to generate the corresponding label. Because labels are observed, to best explain the observed data, the multinomial parameters (i.e. membership scores) for each multinomial distribution, have to be as sparse as possible. This sparse attribute in turn imposes an implicit constraint to the model that the class prototypes should be apart from each other. In this way, the model effectively incorporates the supervisory information to maximize inter-class distance in the topic space, while documents still enjoy the interchangeability characteristic for ease of inference. The proposed LogisticLDA model can be regarded as an extension of sLDA to multi-class classification. As we will show in Section 2, the objective function (loglikelihood) of this model logically consists of two terms. One is the log-likelihood of documents in LDA model, and the other one is the posterior of document labels given the embeddings of the documents. The posterior in the second term is just the probability used in logistic regression. By choosing a logistic normal distribution as the distribution to generate categories of documents, a logistic regression loss can be plugged in LDA model in a principled way. This is the reason why the model is named as LogisticLDA. LogisticLDA is a supervised topic model for multi-class classification problems by extending LDA model. Its graphical model representation is shown in Figure 1 . In LDA model, each word of a document is assumed to arise from a set of latent topics(\u03b2 1:T ), which are Multinomial distributions over vocabulary. Documents in a corpus share the same set of T topics, but each document has its own mixture proportion (\u03b8). The mixture proportion is an embedding of a document in the learnt latent topic space. Usually, it is used as low-dimensional features in discriminative models to classify documents (Blei et al., 2003) and LDA is only used as a dimension reduction step.", |
| "cite_spans": [ |
| { |
| "start": 2464, |
| "end": 2483, |
| "text": "(Blei et al., 2003)", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 2015, |
| "end": 2023, |
| "text": "Figure 1", |
| "ref_id": "FIGREF0" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "The basic idea of LogisticLDA is to regularize the embeddings of documents (\u03b8) by incorporating supervisory information, and consequently propagating its influence to topic distributions (\u03b2 1:T ). To support a good classification, embeddings of documents should have some good properties. For example, the embedding of each document should be close to its category center but far from centers of other categories. Adding this requirement to the objective function of a topic model will constrain the embeddings of documents, and consequently the change of document embeddings will further influence the distributions of topics.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "To incorporate supervisory information in a more principled way rather than using a heuristic regularization approach, we add to the model a set of label variables y associated with each document, and jointly model the documents and their labels. We assume each category follows a Gaussian distribution N (\u00b5 i , \u03a3 \u22121 ), in which \u00b5 i is a category prototype in the topic simplex. For each document, we calculate the likelihoods that the document embedding \u03b8 is generated by these categories in the topic simplex p(y = k|\u03b8, \u00b5 i , \u03a3 \u22121 ). By normalizing these probabilities, we get a C-dimensional Multinomial distribution p(y = k|\u03bb), whose parameter \u03bb reflects the probabilities that the document belongs to each category. That is,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "\u03bb i \u221d N (\u03b8, \u00b5 i , \u03a3 \u22121 ). Such a distribution p(y = k|\u03b8, \u00b5 i , \u03a3 \u22121 )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "is actually the logistic normal distribution taken in Correlated Topic Model (Blei and Lafferty, 2005) . This multinomial distribution p(y = k|\u03bb) is used to generate the document label y.", |
| "cite_spans": [ |
| { |
| "start": 77, |
| "end": 102, |
| "text": "(Blei and Lafferty, 2005)", |
| "ref_id": "BIBREF2" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "As document labels are observed variables, to best generate the data, the multinomial parameter \u03bb needs to be as sparse as possible. That is, the parameter component corresponding to the document's category should be large while other components should be small. As \u03bb is calculated from Gaussian distributions, \u03bb i \u221d N (\u03b8|\u00b5 i , \u03a3 \u22121 ), the sparse property of the multinomial parameter in turn imposes an implicit constraint to the model that the category prototypes should be apart from each other and inter-class distance is thus maximized. This explains why maximizing the posterior of document labels will adjust the category distributions and reduce the classification error.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Finally, due to the fact that the scale of a single label's multinomial distribution probability is far smaller than the the scale of document's word generative probability, we proportionally augment document's labels to the number of words in the document. So that, during the training process, the regularization from label won't be simply omitted for the gain of document's word generative probability.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "In summary, each document and its supervisory side information arise from the following generative process under the LogisticLDA model:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "1. Draw topic proportion \u03b8 \u223c Dir(\u03b1) 2. For each of the N words w n : (a) Draw topic assignment z n \u223c M ult(\u03b8) (b) Draw word w n |z n , \u03b2 1:K \u223c M ult(\u03b2 zn ) 3. Compute \u03bb \u223c sof tmax(z; \u00b5 1:C , \u03a3 \u22121 ), which is \u03bb i = exp(\u2212(z\u2212\u00b5 i ) T \u03a3 \u22121 (z\u2212\u00b5 i )/2) P C j=1 exp(\u2212(z\u2212\u00b5 j ) T \u03a3 \u22121 (z\u2212\u00b5 j )/2)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "4. For each of the N labels y n , draw topic assignment y n \u223c M ult(\u03bb)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Here we definez = 1 N N i=1 z i .", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Note that the expectation ofz is \u03b8.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "LogisticLDA Model", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Whyz not \u03b8? As our discussion, a more straightforward formulation is to directly associate \u03bb to the topic mixture \u03b8 rather than the empirical topic frequenciesz in the proposed model. However, this association makes the derivation of training algorithm much more complex. As the expectation of z is \u03b8, the two formulations actually have almost equivalent functionalities. Blei et al. has another argument to this problem (Blei and McAuliffe, 2007) . Modeling of categories. In previous research on supervised embedding of documents, there are some common criteria, e.g. distances among documents in the same category (intra-class variance) should be small while distances among documents in different categories (inter-class distance) should be large, and large-margin rules. However, these criteria are difficult to be introduced to topic models because they will also introduce extra dependencies among documents while we wish to keep the document exchangeability property to make the model inferable. In LogisticLDA, by introducing the multinomial distribution p(y = k|\u03bb) to generate observed labels, we convert dependencies between documents to dependencies between documents and categories. In this way, we effectively incorporate the supervisory information to maximize inter-class distance in the topic space, while documents still enjoy the interchangeability characteristic for easy inference.", |
| "cite_spans": [ |
| { |
| "start": 421, |
| "end": 447, |
| "text": "(Blei and McAuliffe, 2007)", |
| "ref_id": "BIBREF1" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "A concern about the single Gaussian per category assumption is that single Gaussian cannot deal with complex decision boundary as the embeddings of documents may not be linearly separable. However, if the number of topics is not too small (e.g. 100 topics), the possible forms of topic space are huge, as well as embeddings of documents in it. Thus, by regulating the topic space with label information, we should be able to find a topic space under which documents are linearly classifiable. Our experiments on various datasets indicated the reasonableness of this assumption.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "Reason of the name. Logically, the log-likelihood of this model consists of two terms 1 :", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "L(w, y; \u03b1, \u00b5, \u03a3 \u22121 ) = L LDA + N n=1 E[log(p(y n |z, \u00b5, \u03a3 \u22121 ))]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "where w denotes a document. The first term is the log-likelihood of the document in LDA model, and the second term is the posterior of the document label given the embedding of this document. Thus, LogisticLDA could be treated as a combination of a generative model and a discriminative model. The generative model seeks to simultaneously find a set of basis (i.e. topics) and embed documents to the latent space spanned by this basis, while the discriminative model regulates the embedding of documents by forcing category prototypes apart from each other. If we assume the variance of each category distribution is I, by removing the quadratic term exp(\u2212 1 2z Tz ), p(y = k|z, \u00b5 1:C , I) can be rewritten as", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "p(y = k|z, \u00b5 1:C , I) = exp(\u00b5 T kz \u2212 1 2 \u00b5 T k \u00b5 k ) C j=1 exp(\u00b5 T jz \u2212 1 2 \u00b5 T j \u00b5 j )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "It is the probability of logistic regression. Thus, this model is named as logisticLDA.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Discussions", |
| "sec_num": "2.1" |
| }, |
| { |
| "text": "Given parameters \u03b1, \u03b2, \u00b5 and \u03a3 \u22121 , the joint probability of a document and its label is given by:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "p(w, y|\u03b1, \u03b2 1:T , \u00b5 1:C , \u03a3 \u22121 ) = d\u03b8p(\u03b8|\u03b1) Z 1:n N n=1 p(z n |\u03b8)p(w n |z n ) N n=1 p(y n |z, \u00b5 1:C , \u03a3 \u22121 ) (1)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "However, due to the coupling between hidden variables, \u03b8 and z, in the integration, the computation is intractable. So we adopt a variational method to approximate it (Bishop, 2006) .", |
| "cite_spans": [ |
| { |
| "start": 167, |
| "end": 181, |
| "text": "(Bishop, 2006)", |
| "ref_id": "BIBREF0" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "We use the same approximate distribution as in LDA,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "q(\u03b8, z 1:n |\u03b3, \u03c6 1:N ) = q(\u03b8|\u03b3) N n=1 q(z n |\u03c6 n )", |
| "eq_num": "(2)" |
| } |
| ], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "where q(\u03b8|\u03b3) is a K-dimension Dirichlet distribution, each q(z n |\u03c6 n ) is a K-dimension multinomial distribution, and \u03b3,\u03c6 n are corresponding variational parameters. Then a lower bound of log-likelihood of the model is given by:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "log(p(w, y|\u03b1, \u03b2 1:T , \u00b5 1:C , \u03a3 \u22121 )) \u2265 E q [log p(\u03b8|\u03b1)] + N n=1 E q [log p(z n |\u03b8)] + N n=1 E q [log p(w n |z n )] + N n=1 E q [log p(y n |\u00b5 1:C , \u03a3 \u22121 )] + H(q)", |
| "eq_num": "(3)" |
| } |
| ], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Except for the fourth term of the right hand side in Eq. 3, all other terms are identical to the terms in the variational estimation of LDA. For the clarity of discussion, in the following text, we constrain the problem to a single label classification, as the extension to multi-label problem is straight forward. The fourth term is the expectation of log-likelihood of label y under approximate distribution q(\u03b8, z 1:N ), which can be written as,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "E q [log p(y|\u00b5 1:C , \u03a3 \u22121 )] = E q [\u2212 log(1 + C i=1,i =y exp(z T \u03a3 \u22121 (\u00b5 i \u2212 \u00b5 y ) + (\u00b5 T y \u03a3 \u22121 \u00b5 y \u2212\u00b5 T i \u03a3 \u22121 \u00b5 i )/2))]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "(4) However, this term is still difficult to calculate under the approximated distribution q(\u03b8, z 1:N ). So in order to calculate it, we give up some flexibilities of the model. First, we enforce the quadratic term \u00b5 T i \u03a3 \u22121 \u00b5 i = 1 to avoid a non-convex optimization problem. Actually, this constraint is equal to put the class centers onto unit sphere instead of on the simplex. Second, we set \u03a3 \u22121 = I, where I is the identity matrix. Finally, we get a much simpler equation:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "E q [log p(y|\u00b5 1:C , \u03a3 \u22121 )] = E q [\u2212 log(1 + C i=1,i =y exp(z T (\u00b5 i \u2212 \u00b5 y )))]", |
| "eq_num": "(5)" |
| } |
| ], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "To compute this term, we apply Taylor expansion twice to find a approximation of it. We first expand the logsum at \u03be, and then expand each exp(z T (\u00b5 i \u2212 \u00b5 y )) term at \u03c1 i . The approximation is", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "E q [log p(y|\u00b5 1:C , \u03a3 \u22121 )] \u2248 \u2212 log \u03be \u2212 1 \u03be (1 + c i=1,i =y e \u03c1 i + e \u03c1 i (E q [z T (\u00b5 i \u2212 \u00b5 y )] \u2212 \u03c1 i ) (6)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "where", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "E q [z T (\u00b5 i \u2212 \u00b5 y )] = 1 N N n=1 \u03c6 T n (\u00b5 i \u2212 \u00b5 y ).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Two new variational parameters, \u03be and \u03c1, are introduced into the variational inference.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Approximate Inference", |
| "sec_num": "3" |
| }, |
| { |
| "text": "In E step of variational EM, we now need to evaluate four set of variational parameters, \u03b3, \u03c6, \u03be and \u03c1. We use coordinate ascent, repeatedly optimizing the target function with respect to each parameter while holding the others fixed. Due to the simplification to the model in derivation, each coordinate can be optimized analytically.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "Optimization with respect to \u03b3. Since the forth term in Eq. 3 does not directly involve \u03b3, the updating equation is the same as in LDA,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03b3 new \u2190 \u03b1 + N n=1 \u03c6 n", |
| "eq_num": "(7)" |
| } |
| ], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "Optimization with respect to \u03c1 i . By letting the derivative of the target function to zero, we get \u03c1 i at,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03c1 new i = 1 N N n=1 \u03c6 T n (\u00b5 i \u2212 \u00b5 y )", |
| "eq_num": "(8)" |
| } |
| ], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "which is equal to E q [z T (\u00b5 i \u2212\u00b5 y )], the expectation of \u00b5 i \u2212z 2 \u2212 \u00b5 y \u2212z 2 . This result means that we make the Talyor expansion of e x at the expectation point of x in Eq. 6. Notice that \u03c1 new i is actually a minimum point of target function, but as the first order Talyor expansion of \u2212exp(x) is actually an upper bound instead of a desirable lower bound, a minimum point is what we need for better approximation, and please refer to Appendix for discussion of the approximation's tightness.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "Optimization with respect to \u03be. By letting derivative of target function to zero, we get a maximum of \u03be", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03be new = 1 + C i=1,i =y e \u03c1 i + e \u03c1 i ((\u00b5 i \u2212 \u00b5 y ) T 1 N N n=1 \u03c6 n \u2212 \u03c1 i )", |
| "eq_num": "(9)" |
| } |
| ], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "By replacing the solution of \u03c1 i into this equation, we find the solution of \u03be is the approximated", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "value of E q [1 + C i=1,i =y exp(z T (\u00b5 i \u2212 \u00b5 y ))].", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "Again, it means we apply Taylor expansion of log x at the expectation point of x in Eq. 6.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "Optimization with respect to \u03c6 nj . \u03c6 nj is involved in two parts of log-likelihood: a generative term (generating word w n ) and a discriminative term (generating label y). By letting the derivative of log-likelihood with respect to \u03c6 nj to zero, we get,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03c6 new nj \u221d \u03b2 jwn exp(\u03a8(\u03b3 j ) \u2212 \u03a8( T j =1 \u03b3 j ) \u2212 1 \u03be ( C i=1,i =y e \u03c1 i (\u00b5 i \u2212 \u00b5 y )))", |
| "eq_num": "(10)" |
| } |
| ], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "This update is a critical difference between LogisticLDA and the original LDA. Compared with the updating equation of \u03c6 n in LDA, this equation has an additional term,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "\u2212 1 \u03be ( C i=1,i =y e \u03c1 i (\u00b5 i \u2212 \u00b5 y ))", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": ", by which supervisory information can regularize the embedding of a document. By applying \u03be and \u03c1 i 's solution to this equation, we can find out that the e \u03c1 i \u03be term is the approximated value of", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "E q [ p(z|\u00b5 i ,\u03a3 \u22121 ) P C j=1 p(z|\u00b5 j ,\u03a3 \u22121 )", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "], which is the probability that the embedding of current document is generated from category i. \u00b5 i \u2212 \u00b5 y is the direction from class i to class y. Thus, the physical meanings of the additional term is easy to understand: \u03c6 n is pushed away from other class's center according to the probability that it may be misclassified to that class. The larger probability it may be misclassified, the farther its embedding will be pushed away from the prototype of that class. Moreover, since the probability exponentially decreases with the increasing of L2 distance, a fact is that only samples near to the decision boundary will contribute to the estimation of \u03c6 n . This behavior is similar as the way that SVM determines its decision boundary, in which decision boundary is determined only by support vectors (Burges, 1998) .", |
| "cite_spans": [ |
| { |
| "start": 806, |
| "end": 820, |
| "text": "(Burges, 1998)", |
| "ref_id": "BIBREF4" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "E-Step", |
| "sec_num": "3.1" |
| }, |
| { |
| "text": "In M-step, we optimize the three model parameters \u03b1,\u03b2 1:T , and \u00b5 1:C by maximizing the approximation of log-likelihood. Estimating topic distribution \u03b2 1:T . As \u03b2 is not directly involved in the forth term of Eq.3, its update is the same as in LDA,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u03b2 new iw \u221d D d=1 N d n=1 \u03c6 i dn I(w dn = w)", |
| "eq_num": "(11)" |
| } |
| ], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "which is proportional to the probability of word w being assigned to topic i. Again, we need to normalize \u03b2 i to sum to one. As we have discussed that each \u03c6 dn has been pushed to a \"safe\" position, the estimation of \u03b2 1:T will not only take the word's generating probability into account, but also are aligned in a way that it is suitable for classification. Estimating corpus's topic prior \u03b1. Optimization of \u03b1 can take the same algorithm as in LDA. However, we adopt an easier to compute algorithm proposed by T.P. Minka (Minka, 2000) in this paper. The derivative is computed by:", |
| "cite_spans": [ |
| { |
| "start": 524, |
| "end": 537, |
| "text": "(Minka, 2000)", |
| "ref_id": "BIBREF11" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u2202L \u2202\u03b1 i = D(\u03a8( T j=1 \u03b1 j ) \u2212 \u03a8(\u03b1 j )) + D d=1 (\u03a8(\u03b3 di ) \u2212 \u03a8( T j=1 \u03b3 dj ))", |
| "eq_num": "(12)" |
| } |
| ], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "Estimating class centers \u00b5 1:C . By maximizing the log-likelihood, we can get,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "\u00b5 new i \u221d D d=1 I(y d = i) 1 \u03be d C j=1,j =i e \u03c1 dj E q [z d ] \u2212 I(y d = i) 1 \u03be d e \u03c1 di E q [z d ]", |
| "eq_num": "(13)" |
| } |
| ], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "Then we normalized \u00b5 i to \u00b5 i 2 = 1, as we have chosen to embed class centers on the unit sphere (i.e. \u00b5 T i \u00b5 i = 1). By applying the \u03c1 i and \u03be's solution, we can get,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "\u00b5 new i \u221d D d=1 I(y d = i)E q [p(y = i|z d , \u00b5 1:C )]E q [z d ]\u2212I(y d = i)E q [p(y = i|z d , \u00b5 1:C )]E q [z d ] (14)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "The physical meanings of \u00b5 i is obvious. The \u00b5 i will move towards those false negative documents of class i, and move away from the false positive documents which are easily to misclassified to it. Those documents that lie in the \"safe\" zone (that is, not near to the decision boundary) are ignored. By focusing only on samples near decision boundaries, we can expect the generated class centers are suitable for classification. Indeed, they are always moved to try to improve the inter-class distances between classes which are likely to be misclassified.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "M-step", |
| "sec_num": "3.2" |
| }, |
| { |
| "text": "To predict the label of an unseen document, we wish to compute the expected probability of the given document belonging to a certain label i, and choose the one with maximum expected probability. The expected probability of a given document belongs to a certain label is given by,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Prediction", |
| "sec_num": "3.3" |
| }, |
| { |
| "text": "EQUATION", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [ |
| { |
| "start": 0, |
| "end": 8, |
| "text": "EQUATION", |
| "ref_id": "EQREF", |
| "raw_str": "E q [log(p(y = i|z, \u00b5 1:C , \u03a3 \u22121 ))] = \u2212 log(1 + C j=1,j =i exp(E q [z] T (\u00b5 j \u2212 \u00b5 i )))", |
| "eq_num": "(15)" |
| } |
| ], |
| "section": "Prediction", |
| "sec_num": "3.3" |
| }, |
| { |
| "text": "where", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Prediction", |
| "sec_num": "3.3" |
| }, |
| { |
| "text": "E q [z] = 1 N N i=1 \u03c6 i", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Prediction", |
| "sec_num": "3.3" |
| }, |
| { |
| "text": ", and \u03c6 i is estimated same as previous section, with exception that terms depends on y are removed. The resulting updating function is same as standard LDA (Blei et al., 2003) .", |
| "cite_spans": [ |
| { |
| "start": 157, |
| "end": 176, |
| "text": "(Blei et al., 2003)", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Prediction", |
| "sec_num": "3.3" |
| }, |
| { |
| "text": "We evaluated LogisticLDA on three benchmark datasets: 20 newsgroups, WebKB, and Reuters 21578 (Lewis et al., 2004) . Because the numbers of document in different categories in Reuters 21578 are very skewed, we took two subsets of it proposed in (Cardoso-Cachopo and Oliveira, 2007) . The first dataset consists of 8 categories, and the second dataset consists of 52 categories. Regarding data split, the 20news-group data-set comes with presplitted data. For other dataset, we use the split provided by (Cardoso-Cachopo and Oliveira, 2007) . We applied simple preprocessing to documents: removing stopwords, Porter's stemming and removing words whose document frequencies(DF) are less than 3. Table 1 lists the details of them. ", |
| "cite_spans": [ |
| { |
| "start": 94, |
| "end": 114, |
| "text": "(Lewis et al., 2004)", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 245, |
| "end": 281, |
| "text": "(Cardoso-Cachopo and Oliveira, 2007)", |
| "ref_id": "BIBREF5" |
| }, |
| { |
| "start": 503, |
| "end": 539, |
| "text": "(Cardoso-Cachopo and Oliveira, 2007)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 693, |
| "end": 700, |
| "text": "Table 1", |
| "ref_id": "TABREF0" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Datasets", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "To evaluate the performance of LogisticLDA models, we chose five baseline approaches: Naive Bayes(NB) (Yang, 1999) , SVM with linear kernel(SVM) (Joachims, 1998) , performing dimension reduction by LDA and then classifying documents by SVM with Gaussian kernels(SVMLDA) (Blei et al., 2003) , supervised LDA model(sLDA) (Blei and McAuliffe, 2007) , Dirichlet-Multinomial Regression(DMR) (Mimno and McCallum, 2008) . Although it was proposed a decade ago, SVM with linear kernel is still one of the state-of-the-art algorithms for text categorization. And we use TF-idf normalized feature for it. For other models we used bag of word representation. Because the implementation of sLDA which can directly support multi-class categorization is unclear, we decomposed the classification problem as C binary classification problems (i.e. one vs. rest). We use the 0-1 regression implementation proposed in (Blei and McAuliffe, 2007) . It took more than two weeks to train sLDA classifiers. In contrast, it usually takes a day or two to train our model. For single label multi-class classification, micro-average precision(mip) and macro-average precision(map) are the two most popular performance measures (Yang, 1999) , and we use them as benchmark. ", |
| "cite_spans": [ |
| { |
| "start": 102, |
| "end": 114, |
| "text": "(Yang, 1999)", |
| "ref_id": "BIBREF13" |
| }, |
| { |
| "start": 145, |
| "end": 161, |
| "text": "(Joachims, 1998)", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 270, |
| "end": 289, |
| "text": "(Blei et al., 2003)", |
| "ref_id": "BIBREF3" |
| }, |
| { |
| "start": 319, |
| "end": 345, |
| "text": "(Blei and McAuliffe, 2007)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 386, |
| "end": 412, |
| "text": "(Mimno and McCallum, 2008)", |
| "ref_id": "BIBREF10" |
| }, |
| { |
| "start": 900, |
| "end": 926, |
| "text": "(Blei and McAuliffe, 2007)", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 1200, |
| "end": 1212, |
| "text": "(Yang, 1999)", |
| "ref_id": "BIBREF13" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experimental Setup", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "We conducted three experiments to evaluate the performance of LogisticLDA.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experimental Results", |
| "sec_num": "4.3" |
| }, |
| { |
| "text": "For topic models, the number of topics (T ) is crucial.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Influence of Number of Topics", |
| "sec_num": "4.3.1" |
| }, |
| { |
| "text": "We performed experiments to evaluate appropriate numbers of topics. Figure 2 shows the macroaverage precisions of topic model related approaches on the three datasets. From these curves we can see, with the increasing of number of topics, the performances of these approaches increase quickly, but drop after it reaches a point. If the number of topics is not big enough, the flexibility of a model is very limit, that is, we cannot get a good topic space to support classification. Once the number of topics grants enough flexibility to the model, but we continue increasing it, the model quickly becomes overfitting on training set. According to this figure, 40 to 80 is an approximate best range of number of topics for almost all approaches on the three datasets. In practice, we can determine the best number of topics by drawing such a figure. In following experiment, we will only report the performance of all topic model based algorithms under their best numbers of topics. Table 2 lists performances of all approaches on the four datasets. We mark the best performances under each measure in pink color. Overall, the performances of SVM and LogisticLDA outperform other methods on all the datasets under both the two measures. SVM and LogisticLDA both get 4 best scores. The two measures, mip and map, can show different aspects of algorithms. mip is good at showing the overall performance of an algorithm, while map is a more balanced score with equal weight for every class. From Table 2 , we can see SVM often get best results under mip measure, while LogisticLDA often get best results on map measure. This is a characteristic of LogisticLDA as a topic model. As for topic models, the classification task is carried out in the topic space, which is jointly generated by all the documents in the corpus, and small classes may leverage samples from large classes by filtering out noise through topic space. So the result of small classes may be improved.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 68, |
| "end": 76, |
| "text": "Figure 2", |
| "ref_id": "FIGREF1" |
| }, |
| { |
| "start": 983, |
| "end": 990, |
| "text": "Table 2", |
| "ref_id": "TABREF1" |
| }, |
| { |
| "start": 1493, |
| "end": 1501, |
| "text": "Table 2", |
| "ref_id": "TABREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Influence of Number of Topics", |
| "sec_num": "4.3.1" |
| }, |
| { |
| "text": "As the main goal of LogisticLDA is to regulate the topic space by label information of documents, it is important for us to examine the document's distribution in the topic space. For this purpose, we adopted the tSNE tool developed by van der Maaten and Hinton (2008) . Fig.3 shows the scatter plot of 2D-embedding of topic distributions provided by tSNE on the 20 newsgroup dataset under topic number T = 85, in which each colored dot denotes a document and different colors denote different classes. Compared with standard LDA in Fig. 3(a) , there are the noticeable margins between data points of different classes for LogisticLDA on training set in Fig.3(b) . This is because when guided with class label, large margin between classes are the natural result of minimizing the exponential loss of logistic regression as in Eq.10. It is noted that the shape of each class is more like a strip instead of a cluster which is demanded by Gaussian distribution in Fig.3(b) . This is because by incorporating label information in a discriminative way, the resulting model only requires that the data lie in the inverse direction of \u00b5 i \u2212 \u00b5 y to increase inter-class distances, as the explanation to Eq.10, rather than close to the corresponding class center in all dimensions. In this way, the task of simultaneously seeking semantic topic space and discriminative embedding can be achieved. In Fig.3(c) , we show the embedding results of LogisticLDA on test set, and we can see that most classes are still separated by large margins. This result demonstrates that via the regulating of \u03c6 n , the label information has been propagated into topic distributions \u03b2 1:T and make them being aligned in a way that are suitable for classification, and the generalization ability of LogisticLDA is satisfied.", |
| "cite_spans": [ |
| { |
| "start": 244, |
| "end": 268, |
| "text": "Maaten and Hinton (2008)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 271, |
| "end": 276, |
| "text": "Fig.3", |
| "ref_id": null |
| }, |
| { |
| "start": 533, |
| "end": 543, |
| "text": "Fig. 3(a)", |
| "ref_id": null |
| }, |
| { |
| "start": 655, |
| "end": 663, |
| "text": "Fig.3(b)", |
| "ref_id": null |
| }, |
| { |
| "start": 964, |
| "end": 972, |
| "text": "Fig.3(b)", |
| "ref_id": null |
| }, |
| { |
| "start": 1394, |
| "end": 1402, |
| "text": "Fig.3(c)", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "Topic Space Regulation", |
| "sec_num": "4.3.3" |
| }, |
| { |
| "text": "In this paper, we developed a supervised topic model, LogisticLDA, in which we mathematically integrated a generative model and a discriminative model in a principle way. By maximizing the posterior of document labels using logistic normal distributions, the model effectively incorporates the supervisory information to maximize inter-class distances in the topic space, while documents still enjoy the interchangeability characteristic for easy inference. Compared with discriminative methods, LogisticLDA can achieve comparable classification accuracy, but it can discover a latent", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Conclusion and Discussion", |
| "sec_num": "5" |
| }, |
| { |
| "text": "23rd Pacific Asia Conference on Language, Information and Computation, pages 160-169", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| }, |
| { |
| "text": "Mathematically, only by introducing a variational distribution, the log-likelihood can be decomposed to these two terms.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "", |
| "sec_num": null |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "topic space, which is valuable for dimension reduction, topic mining and information retrieval. Good mathematical properties of logistic regression will definitely aspire extensions to Logisti-cLDA, e.g. multi-Gaussian formulation.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "annex", |
| "sec_num": null |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "Pattern Recognition and Machine Learning", |
| "authors": [ |
| { |
| "first": "Christopher", |
| "middle": [ |
| "M" |
| ], |
| "last": "Bishop", |
| "suffix": "" |
| } |
| ], |
| "year": 2006, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Bishop, Christopher M. 2006. Pattern Recognition and Machine Learning. Springer.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "Supervised topic models", |
| "authors": [ |
| { |
| "first": "David", |
| "middle": [], |
| "last": "Blei", |
| "suffix": "" |
| }, |
| { |
| "first": "Jon", |
| "middle": [], |
| "last": "Mcauliffe", |
| "suffix": "" |
| } |
| ], |
| "year": 2007, |
| "venue": "Advances in Neural Information Processing Systems 20", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Blei, David and Jon McAuliffe. 2007. Supervised topic models. In J.C. Platt, D. Koller, Y. Singer and S. Roweis, editors, Advances in Neural Information Processing Systems 20.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "Correlated topic models", |
| "authors": [ |
| { |
| "first": "David", |
| "middle": [ |
| "M" |
| ], |
| "last": "Blei", |
| "suffix": "" |
| }, |
| { |
| "first": "John", |
| "middle": [ |
| "D" |
| ], |
| "last": "Lafferty", |
| "suffix": "" |
| } |
| ], |
| "year": 2005, |
| "venue": "NIPS", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Blei, David M. and John D. Lafferty. 2005. Correlated topic models. In NIPS.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "Latent dirichlet allocation", |
| "authors": [ |
| { |
| "first": "David", |
| "middle": [ |
| "M" |
| ], |
| "last": "Blei", |
| "suffix": "" |
| }, |
| { |
| "first": "Y", |
| "middle": [], |
| "last": "Andrew", |
| "suffix": "" |
| }, |
| { |
| "first": "Michael", |
| "middle": [ |
| "I" |
| ], |
| "last": "Ng", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Jordan", |
| "suffix": "" |
| } |
| ], |
| "year": 2003, |
| "venue": "Journal of Machine Learning Research", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Blei, David M., Andrew Y. Ng and Michael I. Jordan. 2003. Latent dirichlet allocation. Journal of Machine Learning Research, 3.", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "A tutorial on support vector machines for pattern recognition", |
| "authors": [ |
| { |
| "first": "Christopher", |
| "middle": [ |
| "J C" |
| ], |
| "last": "Burges", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "Data Min. Knowl. Discov", |
| "volume": "2", |
| "issue": "2", |
| "pages": "121--167", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Burges, Christopher J. C. 1998. A tutorial on support vector machines for pattern recognition. Data Min. Knowl. Discov., 2(2):121-167.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Semi-supervised single-label text categorization using centroid-based classifiers", |
| "authors": [ |
| { |
| "first": "Ana", |
| "middle": [], |
| "last": "Cardoso-Cachopo", |
| "suffix": "" |
| }, |
| { |
| "first": "Arlindo", |
| "middle": [ |
| "L" |
| ], |
| "last": "Oliveira", |
| "suffix": "" |
| } |
| ], |
| "year": 2007, |
| "venue": "SAC", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Cardoso-Cachopo, Ana and Arlindo L. Oliveira. 2007. Semi-supervised single-label text catego- rization using centroid-based classifiers. In SAC.", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "Text categorization with suport vector machines: Learning with many relevant features", |
| "authors": [ |
| { |
| "first": "Thorsten", |
| "middle": [], |
| "last": "Joachims", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "ECML", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Joachims, Thorsten. 1998. Text categorization with suport vector machines: Learning with many relevant features. In ECML.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "Disclda: Discriminative learning for dimensionality reduction and classification", |
| "authors": [ |
| { |
| "first": "", |
| "middle": [], |
| "last": "Lacoste-Julien", |
| "suffix": "" |
| }, |
| { |
| "first": "Fei", |
| "middle": [], |
| "last": "Simon", |
| "suffix": "" |
| }, |
| { |
| "first": "Michael", |
| "middle": [], |
| "last": "Sha", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Jordan", |
| "suffix": "" |
| } |
| ], |
| "year": 2008, |
| "venue": "NIPS", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Lacoste-Julien, Simon, Fei Sha and Michael Jordan. 2008. Disclda: Discriminative learning for dimensionality reduction and classification. In NIPS.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "Rcv1: A new benchmark collection for text categorization research", |
| "authors": [ |
| { |
| "first": "David", |
| "middle": [ |
| "D" |
| ], |
| "last": "Lewis", |
| "suffix": "" |
| }, |
| { |
| "first": "Yiming", |
| "middle": [], |
| "last": "Yang", |
| "suffix": "" |
| }, |
| { |
| "first": "Tony", |
| "middle": [ |
| "G" |
| ], |
| "last": "Rose", |
| "suffix": "" |
| }, |
| { |
| "first": "Fan", |
| "middle": [], |
| "last": "Li", |
| "suffix": "" |
| } |
| ], |
| "year": 2004, |
| "venue": "Journal of Machine Learning Research", |
| "volume": "5", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Lewis, David D., Yiming Yang, Tony G. Rose and Fan Li. 2004. Rcv1: A new benchmark collection for text categorization research. Journal of Machine Learning Research, 5.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "A bayesian hierarchical model for learning natural scene categories", |
| "authors": [ |
| { |
| "first": "Fei-Fei", |
| "middle": [], |
| "last": "Li", |
| "suffix": "" |
| }, |
| { |
| "first": "Pietro", |
| "middle": [], |
| "last": "Perona", |
| "suffix": "" |
| } |
| ], |
| "year": 2005, |
| "venue": "CVPR", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Li, Fei-Fei and Pietro Perona. 2005. A bayesian hierarchical model for learning natural scene categories. In CVPR (2).", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Topic models conditioned on arbitrary features with dirichlet-multinomial regression", |
| "authors": [ |
| { |
| "first": "David", |
| "middle": [ |
| "M" |
| ], |
| "last": "Mimno", |
| "suffix": "" |
| }, |
| { |
| "first": "Andrew", |
| "middle": [], |
| "last": "Mccallum", |
| "suffix": "" |
| } |
| ], |
| "year": 2008, |
| "venue": "UAI", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Mimno, David M. and Andrew McCallum. 2008. Topic models conditioned on arbitrary features with dirichlet-multinomial regression. In UAI.", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "Estimating a dirichlet distribution", |
| "authors": [ |
| { |
| "first": "Thomas", |
| "middle": [ |
| "P" |
| ], |
| "last": "Minka", |
| "suffix": "" |
| } |
| ], |
| "year": 2000, |
| "venue": "Journal of Machine Learning Research", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Minka, Thomas P. 2000. Estimating a dirichlet distribution. Technical report, Microsoft. Van der Maaten, Laurens and Geoffrey Hinton. 2008. Visualizing data using t-sne. Journal of Machine Learning Research, 9.", |
| "links": null |
| }, |
| "BIBREF12": { |
| "ref_id": "b12", |
| "title": "Topics over time: a non-markov continuous-time model of topical trends", |
| "authors": [ |
| { |
| "first": "Xuerui", |
| "middle": [], |
| "last": "Wang", |
| "suffix": "" |
| }, |
| { |
| "first": "Andrew", |
| "middle": [], |
| "last": "Mccallum", |
| "suffix": "" |
| } |
| ], |
| "year": 2006, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "424--433", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Wang, Xuerui and Andrew McCallum. 2006. Topics over time: a non-markov continuous-time model of topical trends. In Tina Eliassi-Rad, Lyle H. Ungar, Mark Craven and Dimitrios Gunop- ulos, editors, KDD, pages 424-433. ACM. ISBN 1-59593-339-5.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "An evaluation of statistical approaches to text categorization", |
| "authors": [ |
| { |
| "first": "Yiming", |
| "middle": [], |
| "last": "Yang", |
| "suffix": "" |
| } |
| ], |
| "year": 1999, |
| "venue": "Inf. Retr", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Yang, Yiming. 1999. An evaluation of statistical approaches to text categorization. Inf. Retr..", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "type_str": "figure", |
| "text": "A graphical model representation of LogisticLDA", |
| "num": null, |
| "uris": null |
| }, |
| "FIGREF1": { |
| "type_str": "figure", |
| "text": "Macro average precision(MAP) changes with the number of topics on three datasets", |
| "num": null, |
| "uris": null |
| }, |
| "TABREF0": { |
| "num": null, |
| "type_str": "table", |
| "text": "Details", |
| "content": "<table><tr><td/><td/><td/><td>of datasets</td><td/></tr><tr><td/><td colspan=\"4\">#Docs #Words #Train #Categories</td></tr><tr><td>20NG</td><td>18821</td><td>34989</td><td>11293</td><td>20</td></tr><tr><td>WebKB</td><td>4199</td><td>7287</td><td>2803</td><td>4</td></tr><tr><td>R8</td><td>7674</td><td>7394</td><td>5485</td><td>8</td></tr><tr><td>R52</td><td>9100</td><td>8396</td><td>6532</td><td>52</td></tr></table>", |
| "html": null |
| }, |
| "TABREF1": { |
| "num": null, |
| "type_str": "table", |
| "text": "Overall performance comparison", |
| "content": "<table><tr><td/><td/><td>20NG</td><td colspan=\"2\">WebKB</td><td>R8</td><td/><td>R52</td></tr><tr><td/><td>mip</td><td>map</td><td>mip</td><td>map</td><td>mip</td><td>map</td><td>mip</td><td>map</td></tr><tr><td>NB</td><td colspan=\"8\">0.8021 0.7764 0.8459 0.8286 0.9357 0.9149 0.8744 0.5366</td></tr><tr><td>SVM</td><td colspan=\"8\">0.8302 0.8278 0.8793 0.8625 0.9612 0.9329 0.8895 0.6033</td></tr><tr><td>SVMLDA</td><td colspan=\"8\">0.7404 0.7333 0.8286 0.827 0.9465 0.8462 0.8801 0.4318</td></tr><tr><td>sLDA</td><td colspan=\"8\">0.8048 0.8011 0.8358 0.8211 0.9222 0.919 0.8752 0.5907</td></tr><tr><td>DMR</td><td colspan=\"8\">0.7454 0.7444 0.8336 0.8176 0.9177 0.7469 0.7733 0.4043</td></tr><tr><td colspan=\"9\">LogisticLDA 0.8262 0.8245 0.8671 0.8724 0.9534 0.9513 0.9127 0.6164</td></tr></table>", |
| "html": null |
| } |
| } |
| } |
| } |