bhbbbbb
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Music Popularity Prediction - https://github.com/bhbbbbb/MPPP ## Introduction The music industry has grown tremendously by virtue of internet and streaming platforms. Factors that make success of songs therefore draw high attention. *Carlos et al.* [^1] predicted whether a song will be popular using both non-acoustic (e.g. artist, previous ranks) and acoustic data. Their results reach above 80% AUC and show that the performance was only 5.23% highter using acoustic features, indicating acoustic features may be neglectable. Whereas *Laura et al.*[^2] show that the Youtube view count and Spotify defined metric *Popularity* was found to be highly correlated to some high-level acoustic metrics provided by Spotify, such as energy, accousticness and instrumentalness. However, TikTok, the recently raising platform for hosting short-form video and widely believing pushing great impact on music industry, was turn out having little correlated to all of acoustic metrics. The result of TikTok is so interesting since that the popular songs which highly associate with TikTok tend to be characterized by very catchy melody instead of popular singer or producer^[research support not found yet]. > Community members often have their own "Heard it on TikTok" moment during their day to day lives. 72% of TikTokers agree that they associate certain songs with TikTok.[^4] Although TikTok actually provides streaming video rather than pure music, which may cause low correlated, the TikTok statement above indicate unpopluar music artists get more chance to pop out than before. Considering the factors mentioned above, it seems to me that the debut of the song may be highly affected by extrinsic features of song, such as the popularity of artist, producer and promotion. But after a period of time, in long term aspect, the intrinsic(acoustic) features of a song still play an important role on popularity maintenance. --- ## Targets - Verify hypothesis that mentioned in the last paragraph above. - Predict the music popularity (in time series) after the song be on the Spotify charts first time. - with low-level acoustic features (e.g. Spectromgram) only see if transformer can overwhelm the "semantic gap"[^5] > Generic low-level features of songs, like the mel-spetrogram used in and also throughout this work, may suffer from the “semantic gap” and cannot lead to an accurate prediction model for a high-level concept such as hotness. - Comparing the sample song from the set of so-called "TikTok song" between classic song. ## How to Define Popularity - According to *Lee at el.*[^6], popularity can be described in various perspectives. <br> ![](https://dsm01pap006files.storage.live.com/y4mN8gKrELGHWXQdsF5khhb48eymFEAH0HMcVKE7m8JtLeDnm_HLSvn4NrD9HrBjmsqrOrRWqjDFVxM5CgdYCFYpPFdlYjxKLlfNV4izGe-0RH_ftUlXDWDC7oPx2w_ko1bEDhWsqqg5DjUfvMJA7nGtDAwt-1Qqmf1titTH5SJF_gHWZsrev7bWzUrSLKhwO6J?width=1054&height=497&cropmode=none) - We can either use **stream** or **rank** as criterion. - In my research, I have currently used stream value as determined metric. --- ## Data Collection - track's statistics collected from Spotify: [kworb.net](kworb.net) - audio source: 1. Spotfiy API preview (30s) --- ## Methodology Thought the ultimate goal is to predict popularity in time series (metioned in the MP3 section bellow), I started with training **MP2** one as a milestone to MP3. ### Model ![](https://dsm01pap006files.storage.live.com/y4msc3cTJdOPesrepSq5QOay3TG4ooM5QpXKlc39_l_xJgPL8m3YJVl5K1xE6W6CLHhrbwj7WjAkSOUQ5IDjiYGlnvfsxgV3tDt0wvNRlnH6uEDTfI5-YnijQ0mCkssCpgk6inHm2rntuzkLh3FIKg1rZGa7KfQ_v4RueHumfUxuePTL3rApQcJqvQmPFdOuPjw?width=2792&height=1354&cropmode=none) - Transformer #### MP3 (Music Popularity Period Prediction) - with decoder - Predict popularity-time curve #### MP2 (Music Popularity Prediction) - predict **sumation**[^6] as an regression problem - fine-tuned MP2 model (Encoder) can be used in MP3 model. - Encoder &dash; AST(Audio Spectromgram Transformer)[^7] - loss: MSE ### Mixed Region Technique - Tracks in single region are not sufficient for training. Thus, train with multi-region tracks may be more resonable. - However, preference and population differ from regions. Region information have to be included. 1. region cls_token 2. region embeding - If the above method works, the region token or embeding may be parse to analyze differenct preference in different region. Further more, can be used for describing personal preference. ---- <!--- ## Q 2 findout - ways to treat null values in streams - same song different version (live version, studio version, covered version...) - different TA (country, generation, ...) - [significant difference](https://www.semanticscholar.org/paper/Study-of-Chinese-and-UK-Hit-Songs-Prediction-Fan-Casey/3d4037c2817391df6c2b628bb8cef6ca39e57341) - instrumental? (without singer) - ~~Spotify youtube popularity relation?~~ - ~~quality of audio~~ ---> ## Misc. <!--- - Positional Encoding (sum or concat?) - https://github.com/tensorflow/tensor2tensor/issues/1591 ---> ### Augmentation - use different preview clip of same tracks - typically, there are more than one track for a song on Spotify (since they published by different album), and they may not have same preview clip. - Specaugment :heavy_check_mark: - Rolling :heavy_check_mark: - Random Gain :heavy_check_mark: - pitch - timbre ### Interesting Observation - Xmax-related songs get and only get popular near Xmas - [All I Want for Christmas Is You](https://kworb.net/spotify/track/0bYg9bo50gSsH3LtXe2SQn.html) - [Last Christmas](https://kworb.net/spotify/track/2FRnf9qhLbvw8fu4IBXx78.html) - [Underneath the Tree](https://kworb.net/spotify/track/3nAp4IvdMPPWEH9uuXFFV5.html) <!--- ## Recycle Bin ### Track Popularity Dataset (seems unuseful) - Musical track popularity mining dataset: Extension & experimentation,’’ N http://mir.ilsp.gr/track_popularity.html ### [Predicting Music Popularity Using Music Charts](https://www.researchgate.net/publication/341420234_Predicting_Music_Popularity_on_Streaming_Platforms) (Sep. 2019) - target: whether a song is featured in Spotify's "Top 50" charts. #### Strategies - uses social network data. - predict the success of a song by acoustic information of previous successful songs. - use past data from charts to predict whether a song will be featured in the same chart in the future. --- ### KKBox Researches #### [Revisiting the problem of audio-based hit song prediction using convolutional neural networks](https://arxiv.org/abs/1704.01280) #### [Hit song prediction for pop music by siamese CNN with ranking loss](https://arxiv.org/abs/1710.10814) --- ### A_Multimodal_End-to-End_Deep_Learning_Architecture_for_Music_Popularity_Prediction - audio and **lyrics** --- ---> ## Refs [^1]: C. V. Soares Araujo, M. A. Pinheiro de Cristo and R. Giusti, "Predicting Music Popularity Using Music Charts," 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), 2019, pp. 859-864, doi: 10.1109/ICMLA.2019.00149. [^2]: L. Colley et al., "Elucidation of the Relationship Between a Song's Spotify Descriptive Metrics and its Popularity on Various Platforms," 2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC), 2022, pp. 241-249, doi: 10.1109/COMPSAC54236.2022.00042. [^4]: https://newsroom.tiktok.com/en-us/new-studies-quantify-tiktoks-growing-impact-on-culture-and-music [^5]: HIT SONG PREDICTION FOR POP MUSIC BY SIAMESE CNN WITH RANKING LOSS Lang-Chi Yu∗ , Yi-Hsuan Yang∗ , Yun-Ning Hung∗ , Yi-An Chen† (1710) [^6]: Lee, Junghyuk and Jong-Seok Lee. “Music Popularity: Metrics, Characteristics, and Audio-Based Prediction.” IEEE Transactions on Multimedia 20 (2018): 3173-3182. [^7]: Gong, Yuan and Chung, Yu-An and Glass, James. "AST: Audio Spectrogram Transformer" arXiv:2104.01778

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully