---
title: "Become Popular in SNS: Tag Recommendation using FolkPopularityRank to Enhance Social Popularity"
authors:
  - "Toshihiko Yamasaki"
  - "Yiwei Zhang"
  - "Jiani Hu"
  - "Shumpei Sano"
  - "Kiyoharu Aizawa"
doi: "10.24963/ijcai.2017/781"
url: "https://ijcai.org/proceedings/2017/781"
pdf: "https://ijcai.org/proceedings/2017/0781.pdf"
venue: "Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence"
year: 2017
pages: "5252-5253"
track: "Demos"
keywords:
  - "Machine Learning: Data Mining"
---

# Become Popular in SNS: Tag Recommendation using FolkPopularityRank to Enhance Social Popularity

Toshihiko Yamasaki, Yiwei Zhang, Jiani Hu, Shumpei Sano, Kiyoharu Aizawa

*Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence*, pages 5252-5253. DOI: [10.24963/ijcai.2017/781](https://doi.org/10.24963/ijcai.2017/781)

## Abstract

In this demo, we address two emerging yet challenging problems in social media: (1) scoring the text tags in terms of the influence to the numbers of views, comments, and favorite ratings of images and videos on content sharing services, and (2) recommending additional tags to increase such popularity-related numbers.
For these purposes, we present a demo using our FolkPopularityRank (FP-Rank) algorithm, which can score and recommend text tags based on their ability to influence the popularity-related numbers. 
Our experiments using 1,000 photos showed that we can achieve 1.6 times more views than the original tag sets in Flickr just by adding tags recommended by FP-Rank.

## Full text

## 1 Introduction

In image and video sharing services such as Flickr 1 , the numbers of views, comments, and favorites (likes) are shown along with the content to represent its popularity. Hereafter, we refer to such numbers as "social popularity scores" or "social popularity," aligned with the definition in [Yamasaki et al., 2014]. In social media networks, it has been a critical issue for both individuals and enterprises to obtain high socialpopularity scores since such scores directly reflect how much attention has been paid to certain contents.

Though one might think that quality of the image and video content is one of the most important factors in receiving higher social popularity scores in social networks, it has been shown that the image and video feature does not contribute much in getting higher social popularity scores. Text tags, on the other hand, play a very important role, because users typically locate content via text searches.

In [Yamasaki et al., 2017], we presented a new algorithm called FolkPopularityRank (or FP-Rank). FP-Rank is inspired by PageRank [Brin and Page, 1998], the well-known web page ranking algorithm, and FolkRank [Hotho et al., 2006], PageRank's folksonomy-based descendant that also considers users, resources, and tags. The contribution of this paper is that FP-Rank can recommend tags that enhance social popularity scores. The recommendation is done based on existing tags, and therefore the recommended tags are related to the content of the image/video. Although numerous tag recommendation systems have already been proposed, they are focused only on tags that are semantically correct for describing the content. To the best of our knowledge, tag recommendations designed to increase social popularity scores is firstly presented.

1 https://www.flickr.com/

In our demo, we present a WEB browser-based tag recommendation system for Flickr. Our system recommends tags that can potentially increase the number of views for any image/video in Flickr as long as it is annotated with some tags.

## 2 Folk Popularity Rank

## 2.1 Tag Ranking Algorithm

We would like to emphasize that conventional tag ranking and recommendation systems in social media are designed to add semantically proper tags. On the other hand, we have been proposing an algorithm that can extract tags with a higher level of influence on social popularity scores. As a result, we can recommend tags that enhance social popularity.

The equation for our FP-Rank scores, s, is defined as follows.

<!-- formula-not-decoded -->

<!-- formula-not-decoded -->

where rtag F is the tag-only FolkRank score, α is a damping factor, and p is a random surfer component.

There are two fundamental differences from PageRank and FolkRank. The first involves the design of the matrix AFP . AFP is a square matrix whose size is T × T , where T is the number of unique tags in the service. The matrix AFP can be interpreted as a combination of two matrices by introducing the tag-content matrices:

<!-- formula-not-decoded -->

Here, Bw and Bt are T × C row-stochastic and columnstochastic matrices, respectively, where C is the number of the images and videos in the service. The ith row vector in Bw is a set of social popularity scores for the content tagged with the tag i, normalized by the sum of the scores in the row. The jth column vector in Bt is a set of tag usage flags normalized by the total number of tags attached to the jth content. As a result, the component of the matrix AFP , aij is calculated as follows.

Figure 1: Average number of views per image.

![Image](https://ijcai.org/proceedings/2017/fulltext/781/image_000000_6eac97e3872644f974d003693931a8ab414364344a9799b664712bb1343aa749.png)

<!-- formula-not-decoded -->

where d is the index of the image or video content that contains both tags i and j, D is the training dataset, and u(d)i is the weight for the tag i annotated to the content d. FP-Rank calculates u(d)i by considering the content's social popularity scores:

<!-- formula-not-decoded -->

where k is a parameter to prevent u(d)i from being 0.

## 2.2 Tag Recommendation

Similar to FolkRank, tags can be recommended by the following equation.

<!-- formula-not-decoded -->

where wFP is a weight vector with one entry for each tag. The random surfer component for the already existing tags is set to 1, and the others are set to 0 ∼ 1; the eq. (1) is iterated until convergence.

## 2.3 Experimental results

The experiments were performed on the YFCC100M 2 dataset. We randomly selected 60,000 images that have more than 20 tags and over 5000 views of the whole YFCC100m dataset for training and randomly selected 947 images annotated with over 20 tags but different number of views for testing. We compared our FP-Rank with three baselines (please refer to [Yamasaki et al., 2017] for details). We added 10 tags to the original tag sets and uploaded back to Flickr.

The results are shown in Figure 1. FP-Rank performed the best. The average number of views is 2 times higher than that with the original tags. This proves that FP-Rank makes better recommendations with a higher level of influence on popularity boosting over the other three methods.

2 http://webscope.sandbox.yahoo.com/catalog. php?datatype=i&amp;did=67

Figure 2: Our web-based demonstration system.

![Image](https://ijcai.org/proceedings/2017/fulltext/781/image_000001_8daf75a4d68f4cac9ba6e7ee41b753c688b2b7feb784f29540f7628401058581.png)

## 3 Demo

Our demo system is demonstrated in Fig. 2. If the content ID is given to the system, the photo/video and its metadata such as owner, title, the number of views, comments, favorites, and original tags are all retrieved on the left.

The first window on the right shows how much each tag contributes to the number of views, comments, and favorites by using our DF-W based regression [Yamasaki et al., 2014]. The second window shows the recommended tags by FPRank [Yamasaki et al., 2017] to enhance the social popularity scores. It is also possible to manually add tags. In this case, keywords are retrieved by forward match, but suggested by the importance order of FP-Rank, not by the alphabetical order. In this manner, users can select proper tags that are influential to social popularity scores. The predicted number of views, comments, and favorites are calculated on the bottom.

## Acknowledgments

This work was partially supported by the Grants-in-Aid for Scientific Research (no. 26700008) from JSPS, JST-CREST (JPMJCR1686), and Microsoft IJARC core13. J. Hu is now with Microsoft Development, Co., Ltd. and S. Sano is now with Yahoo Japan Corporation.

## References

1. [Brin and Page, 1998] Sergey Brin and Lawrence Page. The anatomy of a large-scale hypertextual web search en- gine. Computer Networks and ISDN Systems, 30:107-117, 1998.
2. [Hotho et al., 2006] Andreas Hotho, Robert Jaschke, Christoph Schmitz, and Gerd Stumme. Folkrank: A ranking algorithm for folksonomies. In LWA, volume 1, pages 111-114, 2006.
3. [Yamasaki et al., 2014] Toshihiko Yamasaki, Shumpei Sano, and Kiyoharu Aizawa. Social popularity score: Predicting numbers of views, comments, and favorites of social pho- tos using only annotations. In WISMM, pages 3-8, 2014.
4. [Yamasaki et al., 2017] Toshihiko Yamasaki, Jiani Hu, Shumpei Sano, and Kiyoharu Aizawa. Folkpopular- ityrank: Tag recommendation for enhancing social popularity using text tags in content sharing services. In IJCAI, 2017.
