Leveraging this intuition, where rank(w i , z i ) is the rank of i th word w i in its assigned topic z i when sorted by probability, we define AVGRANK as With this evaluation the lower bound is 1, although this would require that every token be assigned to a topic for which its word is the mode.
this is only possible if the number of topics is equal to the vocabulary size.