Problem
A team has to find, among a broad audience, the users inclined to donate to charity. The inputs are mixed: sequences of user states (hashes), a table of real-valued features and, for each user, a top list of close users with the same feature description. A model must use all three sources, so sequences and graph links have to become numeric features. VK set this as a binary classification task at a 48-hour hackathon.
Example from the article: VK runs similar tasks in its charity projects (Dobro.Mail.ru, VKontakte Charity, Odnoklassniki Social Projects), and the winners' solutions are open to other teams.
Solution in brief
All three teams put CatBoost on top of engineered features. Tabular data got group and friend aggregates, sequences became TF-IDF plus SVD vectors or unsupervised embeddings, and one team added GNN features from an incidence-matrix graph. The simplest solution won.
Questions this case answers
- How to predict a binary user action from tabular features, event sequences and a social graph at once, with a short development time
- How to convert neighbor features and graph structure into compact features for a tree-based classifier
- How to build a propensity model when users come with tabular features, event sequences and a social graph?
- How to turn friends' features and graph structure into inputs for a gradient boosting model?
Tools and methods
- CatBoost — main classifier in all three solutions; chosen over Logistic Regression and XGB by team 2
- LightAutoML — blends stackings, CatBoost and linear models in team 1
- Friend aggregates (min, max, mean) — an "average friend" portrait of each user
- TF-IDF + (Truncated) SVD — compress user sequences into dense features
- Pytorch-lifestream — unsupervised embeddings of event sequences
- GCN with attention blocks — graph features from the incidence matrix of states
Google or a one-time email code. No password.