Kaggle: Smartphone Addiction
78 of 3,532 · private LB 0.97103 · 170 logged experiments

The competition, and the finish
Playground Series S6E8 asked for the probability that a person is labelled addicted to their smartphone, from twelve columns describing their phone use. The training data is 691,369 synthetic rows, every column missing between 4% and 20% of its values, and the metric is ROC AUC.
I finished 78th of 3,532 teams with a private AUC of 0.97103, in the top 2.2 percent. The final submission was an average of public blends from the competition's Code tab. My own 65-member stack, described below, scored 0.97076 private.
Validation
Five-fold stratified cross-validation, fixed on the first day and rebuilt and checksummed in every notebook, so a split that changed would fail loudly. Every model saves out-of-fold predictions on that split, which is what lets a model from the first week be stacked with one from the fourth. Every run is a row in an experiment ledger, 170 in all, with the single change it made, its cross-validation mean, the fold standard deviation and both leaderboard scores.
The gap between cross-validation and the public leaderboard held between +0.00126 and +0.00132 across sixteen submissions, so cross-validation could rank a change without spending a submission. When the gap fell to +0.00109 after outside models entered the stack, that was the signal that some of them carried optimistic out-of-fold values.

Features
Target encoding was the largest single gain, +0.0033 AUC. Each of the twelve columns is replaced by the smoothed average target across rows sharing its value. The encoder is fitted inside a second, inner five-fold split, so a row's encoded value never comes from a fit that saw its own label.
A block of thirteen composition ratios added +0.0004 to +0.0009: the share of screen time spent on social media, hours left after sleep and work, notifications per app open, and similar. These state relationships between columns that a tree would otherwise approximate with many separate splits.
Missingness indicators, threshold rules, pairwise crossed encodings and quantile bins of derived ratios returned nothing measurable. A diagnostic on missingness found no feature whose missing rows shift the target rate beyond sampling error.

Models and the stack
Five kinds of model were trained on the same folds and the same features: LightGBM, XGBoost and CatBoost, RealMLP with periodic embeddings for the numeric columns, and TabM, a parameter-efficient ensemble that yields several predictions from one training run.
The stack is a logistic regression on clipped logits of every member's out-of-fold predictions, fitted inside the same fold loop as the members, so the combining step is validated out of fold too. Members are pruned to the top 65 by average absolute coefficient, for a cross-validation AUC of 0.969962. Hill climbing and non-negative least squares were tested as constrained alternatives and transferred slightly worse.
How correlated two models are did not predict whether averaging them helps. Across all 66 pairs of models trained here, the relationship came out at +0.14. The combiner mattered more than the member set: on the same eighteen out-of-fold vectors, an equal-weight average landed 0.001554 below the best single model and the logistic regression 0.000908 above it, because it can give a member a small or negative weight.

Verifying an outside model's fold split
Public out-of-fold prediction libraries are permitted in this competition. A vector built on a different fold split is still out of fold for each row, so it scores normally. The model behind its value on your training rows, however, trained on rows inside your validation fold, so using it in a combiner raises cross-validation without moving the leaderboard.
The test is to recompute each fold's AUC on your own fold assignment and admit the model only if those numbers reproduce the author's published per-fold scores in order. A fold's AUC depends on exactly which rows sit in the fold, so agreement confirms the split and disagreement rules it out. Ten models passed and two were rejected, including the highest-scoring candidate, whose fold AUCs read 0.96810 on this split where its author had published 0.96593.
Reading the leaderboard
Four submissions built on the stack, with cross-validation scores between 0.969891 and 0.969989, all returned 0.97103 on the public leaderboard. The standard error of a public score here is about 0.00061, larger than the differences between them, so the public leaderboard could not tell them apart.

Key results
- Final placement: 78 of 3,532 teams (top 2.2%)
- Private LB: 0.97103
- Own 65-member stack: CV 0.969962
- 170 logged experiments
- 12 public out-of-fold sources screened, 2 rejected on fold protocol
Stack