SMP-Image / README.md
smpchallenge's picture
Fix: declare image feature type so Dataset Viewer renders images
f131dba verified
metadata
license: other
license_name: smp-license
license_link: LICENSE.md
extra_gated_prompt: >-
  SMP CHALLENGE COMMUNITY LICENSE AGREEMENT

  Last Updated: March 17, 2025

  1. INTRODUCTION

  This Agreement applies to any individual person or entity ("You", "Your" or
  "License") that uses or distributes any portion or element of the SMP
  Challenge Materials or Derivative Works thereof for any Research and
  Non-Commercial or Commercial purpose. Capitalized terms not otherwise defined
  herein are defined in Section V below.

  This Agreement is intended to allow research, non-commercial, and limited
  commercial uses of the SMP Challenge Materials free of charge. In order to
  ensure that certain limited commercial uses of the Materials continue to be
  allowed, this Agreement preserves free access to the Materials for people or
  organizations generating annual revenue of less than US \$50,000 (or local
  currency equivalent).

  By clicking "I Accept" or by using or distributing any portion or element of
  the SMP Challenge Materials or Derivative Works, You agree that You have read,
  understood, and are bound by the terms of this Agreement. If You are acting on
  behalf of a company, organization, or other entity, then "You" includes you
  and that entity, and You agree that You: (i) are an authorized representative
  of such entity with the authority to bind such entity to this Agreement, and
  (ii) You agree to the terms of this Agreement on that entity's behalf.

  2. RESEARCH AND NON-COMMERCIAL USE LICENSE

  Subject to the terms of this Agreement, the SMP Challenge grants You a
  non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, and
  royalty-free limited license under SMP Challenge's intellectual property or
  other rights owned by SMP Challenge embodied in the SMP Challenge Materials to
  use, reproduce, distribute, and create Derivative Works of, and make
  modifications to, the SMP Challenge Materials for any Research or
  Non-Commercial Purpose. "Research Purpose" means academic or scientific
  advancement, and in each case, is not primarily intended for commercial
  advantage or monetary compensation to You or others. "Non-Commercial Purpose"
  means any purpose other than a Research Purpose that is not primarily intended
  for commercial advantage or monetary compensation to You or others, such as
  personal use (i.e., hobbyist) or evaluation and testing.

  3. COMMERCIAL USE LICENSE

  Subject to the terms of this Agreement (including the remainder of this
  Section III), the SMP Challenge grants You a non-exclusive, worldwide,
  non-transferable, non-sublicensable, revocable, and royalty-free limited
  license under SMP Challenge's intellectual property or other rights owned by
  SMP Challenge embodied in the SMP Challenge Materials to use, reproduce,
  distribute, and create Derivative Works of, and make modifications to, the SMP
  Challenge Materials for any Commercial Purpose. "Commercial Purpose" means any
  purpose other than a Research Purpose or Non-Commercial Purpose that is
  primarily intended for commercial advantage or monetary compensation to You or
  others, including but not limited to, (i) creating, modifying, or distributing
  Your product or service, including via a hosted service or application
  programming interface, and (ii) for Your business's or organization's internal
  operations.

  If You are using or distributing the SMP Challenge Materials for a Commercial
  Purpose, You must register with the SMP Challenge by contacting
  [social.media.prediction@gmail.com](mailto:social.media.prediction@gmail.com).
  If at any time You or Your Affiliate(s), either individually or in aggregate,
  generate more than USD \$50,000 in annual revenue (or the equivalent thereof
  in Your local currency), regardless of whether that revenue is generated
  directly or indirectly from the SMP Challenge Materials or Derivative Works,
  any licenses granted to You under this Agreement shall terminate as of such
  date. You must request a license from SMP Challenge by contacting
  [social.media.prediction@gmail.com](mailto:social.media.prediction@gmail.com),
  which SMP Challenge may grant to You in its sole discretion.

  4. GENERAL TERMS

  a. Distribution & Attribution. If You distribute or make available the SMP
  Challenge Materials or a Derivative Work to a third party, or a product or
  service that uses any portion of them, You shall: (i) provide a copy of this
  Agreement to that third party, (ii) retain the following attribution notice
  within a "Notice" text file distributed as a part of such copies: "This SMP
  Challenge dataset is licensed under the SMP Challenge Community License,
  Copyright © SMP Challenge. All Rights Reserved.", and (iii) prominently
  display "Powered by SMP Challenge" on a related website, user interface, blog
  post, about page, or product documentation.

  b. Use Restrictions. Your use of the SMP Challenge Materials and Derivative
  Works, including any output or results of the SMP Challenge Materials or
  Derivative Works, must comply with applicable laws and regulations and adhere
  to the SMP Challenge Acceptable Use Policy ("AUP"), which is hereby
  incorporated by reference. Furthermore, You may not use the SMP Challenge
  Materials, Derivative Works, or their outputs to develop or enhance any
  foundational generative AI model.

  c. Intellectual Property. (i) Trademark License. No trademark licenses are
  granted under this Agreement, and in connection with the SMP Challenge
  Materials or Derivative Works, You may not use any name or mark owned by or
  associated with SMP Challenge, except as required under Section IV(a) herein.
  (ii) Ownership of Derivative Works. As between You and SMP Challenge, You are
  the owner of Derivative Works You create, subject to SMP Challenge's ownership
  of the SMP Challenge Materials and any Derivative Works made by or for SMP
  Challenge. (iii) Ownership of Outputs. As between You and SMP Challenge, You
  own any outputs generated from the SMP Challenge Materials or Derivative Works
  to the extent permitted by applicable law.

  5. DEFINITIONS

  "Agreement" means this SMP Challenge Community License Agreement.

  "AUP" means the SMP Challenge Acceptable Use Policy, as may be updated from
  time to time.

  "Derivative Work(s)" means (a) any derivative work of the SMP Challenge
  Materials as recognized by applicable copyright laws and (b) any modifications
  to the SMP-Image dataset, and any other data created which is based on or
  derived from the SMP-Image dataset or its output.

  "SMP Challenge" means the SMP Challenge organizers and affiliated
  institutions.

  "SMP Challenge Materials" means, collectively, the SMP-Image dataset, related
  documentation, and other provided assets made available under this Agreement.

  This Agreement will be governed by and constructed in accordance with the laws
  of the applicable jurisdiction where the SMP Challenge is legally registered,
  without regard to choice of law principles. For any inquiries, please contact
  us at
  [social.media.prediction@gmail.com](mailto:social.media.prediction@gmail.com).
extra_gated_description: SMP License Agreement
extra_gated_button_content: Submit
extra_gated_fields:
  Name: text
  Affiliation: text
  Email: text
  By clicking here, you accept the License agreement, and will use the Software Products and Derivative Works for non-commercial or research purposes only: checkbox
task_categories:
  - image-classification
language:
  - en
tags:
  - social-media-popularity
  - image-popularity-prediction
  - flickr
  - smp-challenge
pretty_name: Social Media Prediction - Image
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*.parquet
      - split: test
        path: data/test-*.parquet
    features:
      - name: image
        dtype: image
      - name: Uid
        dtype: string
      - name: Pid
        dtype: string
      - name: img_filepath
        dtype: string
      - name: label
        dtype: float32
      - name: Postdate
        dtype: string
      - name: Longitude
        dtype: string
      - name: Latitude
        dtype: string
      - name: Geoaccuracy
        dtype: string
      - name: Category
        dtype: string
      - name: Subcategory
        dtype: string
      - name: Concept
        dtype: string
      - name: Alltags
        dtype: string
      - name: Title
        dtype: string
      - name: Mediatype
        dtype: string
      - name: Mediastatus
        dtype: string
      - name: Pathalias
        dtype: string
      - name: Ispublic
        dtype: string
      - name: photo_count
        dtype: float32
      - name: ispro
        dtype: float32
      - name: timezone_offset
        dtype: string
      - name: photo_firstdate
        dtype: string
      - name: photo_firstdatetaken
        dtype: string
      - name: timezone_id
        dtype: string
      - name: user_description
        dtype: string
      - name: location_description
        dtype: string

Social Media Prediction Challenge - Image

Part of SMP Challenge: https://smp-challenge.com

Dataset Overview

The SMP-Image dataset supports social media popularity prediction using Flickr images and rich metadata. Popularity is defined as the normalised view-count an image receives within a fixed time window after posting.

Split Samples Labels
train 305,613 popularity score (float)
test 180,581 held-out (-1)

How to Use the Dataset

from datasets import load_dataset

# Load both splits
ds = load_dataset("smpchallenge/SMP-Image")

# Or a single split
train = load_dataset("smpchallenge/SMP-Image", split="train")
test  = load_dataset("smpchallenge/SMP-Image", split="test")

Each example contains:

{
  "image":        <PIL.Image>,          # JPEG image
  "img_filepath": "train/uid/pid.jpg",  # relative path
  "label":        11.18,                # popularity score (-1 for test)
  "Uid":          "59@N75",
  "Pid":          "775",
  "Category":     "Fashion",
  "Subcategory":  "Fashion",
  "Concept":      "glam",
  "Postdate":     "1446016778",
  # ... 26 columns total
}

Columns

Column Type Description
image Image JPEG image (PIL format via datasets)
Uid string Flickr user ID
Pid string Flickr photo ID
img_filepath string Relative image path (e.g. train/uid/pid.jpg)
label float Popularity score (train); -1 for test
Category string Broad category (Fashion, Travel, …)
Subcategory string Sub-category
Concept string Fine-grained concept tag
Postdate string Unix timestamp of posting
Longitude string Longitude (empty if unknown)
Latitude string Latitude
Geoaccuracy string Geo accuracy level
Alltags string Space-separated photo tags
Title string Photo title
Mediatype string Media type (photo)
Mediastatus string Media status (ready)
Pathalias string User path alias on Flickr
Ispublic string Whether photo is public
photo_count float Number of photos the user has
ispro float Whether user is Flickr Pro
timezone_offset string User timezone offset
photo_firstdate string Unix timestamp of user's first photo
photo_firstdatetaken string Date of user's first photo taken
timezone_id string User timezone ID
user_description string User profile description
location_description string User location description

About SMP Challenge

Social Media Prediction Challenge (SMP Challenge) is an annual international competition dedicated to advancing research in social multimodal forecasting. It aims to identify outstanding research teams and innovative solutions that can contribute to understanding and predicting user behavior, content virality, and engagement trends across social platforms.

How to Join

For detailed information about the SMP Challenge, including tasks, evaluation criteria, and ongoing updates, please visit:

Citation

If you use this dataset, please cite:

@inproceedings{SMPanalysis2023,
  title={SMP Challenge: An Overview and Analysis of Social Media Prediction Challenge},
  author={Wu, Bo and Liu, Peiye and Cheng, Wen-Huang and Liu, Bei and Zeng, Zhaoyang and Wang, Jia and Huang, Qiushi and Luo, Jiebo},
  booktitle={Proceedings of the 31st ACM International Conference on Multimedia},
  year={2023}}
@inproceedings{SMPdataset2019,
  author = {Wu, Bo and Cheng, Wen-Huang and Liu, Peiye and Liu, Bei and Zeng, Zhaoyang and Luo, Jiebo},
  title = {SMP Challenge: An Overview of Social Media Prediction Challenge 2019},
  booktitle={Proceedings of the 27th ACM International Conference on Multimedia},
  year = {2019}}
@inproceedings{Wu2017TemporalContext,
  title={Sequential Prediction of Social Media Popularity with Deep Temporal Context Networks},
  author={Wu, Bo and Cheng, Wen-Huang and Zhang, Yongdong and Qiushi, Huang and Jintao, Li and Mei, Tao},
  booktitle={International Joint Conference on Artificial Intelligence (IJCAI)},
  year={2017}}
@inproceedings{Wu2016Prediction,
  author = {Wu, Bo and Mei, Tao and Cheng, Wen-Huang and Zhang, Yongdong},
  title = {Unfolding Temporal Dynamics: Predicting Social Media Popularity Using Multi-scale Temporal Decomposition},
  booktitle = {Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence (AAAI)},
  year = {2016}}