Exploring hierarchical structures for recommender systems