An object potentially belongs to a number of topics. Each topic is characterized by a probability distribution profile of a number of representative items that belong to the topic. Sample items are selected from the object, less than a total number of items of the object. A probability that the object belongs to each topic is determined using the probability distribution profile characterizing each topic and the sample items selected from the object.