RESEARCH CASE · SGCC, CHINA
198 out of 250.
How to choose objects for review.
We compared 10 ML model variants on the electricity consumption history. We show the result of the selected CatBoost v2, the review method, and the errors that remain beyond the nice-looking metrics.
A retrospective study on open data, results as of 4 November 2026. The previous test group has already been analyzed many times. This is not an independent check on the client's data and not proof of violations.
Practical task
When it is impossible to review all objects, you need an order of examination. The model assigns priority based on consumption history, and the specialist chooses the list size according to the team's resources. A high score does not establish the cause of a rejection.
In this study, the positive label is the original FLAG from the SGCC dataset. We did not carry out field inspections and did not independently confirm the validity of these labels.
What was input
Original dataset: 42,372 consumers, 3,615 positive labels. Period from 1 January 2014 to 31 October 2016; 1,034 columns of readings across 1,035 calendar days. About 25.6% of the original values are missing.
The export was checked for duplicates, conflicting profiles, and sufficient history. 883 duplicate or conflicting profiles and 182 objects with insufficient history were excluded.
Protocol matters more than one number
- After cleaning, 41,307 objects remained. Split by consumers and profiles: train 24,783, validation 8,262, test 8,262. Class shares were preserved.
- For v2, 281 features were prepared instead of 88 for v1: monthly dynamics, consumption shape, spikes, and completeness of observations.
- The v2 variants were tuned on three CV folds of the original train. 1,117 trees were selected. Later candidates were compared using fixed protocols.
- The main benchmark was chosen by CV with a budget of about 700/8262. A public breakdown of the list of 250 objects does not mean the model was reselected on the test set.
This is a split by objects, not a time-based backtest. Repeated analysis of the original test limits the evidential value of the comparison. The next step is a new independent group or a prospective check on the client's data.
TEAM RESOURCES → LIST SIZE
How many checks are you ready to perform?
Change K: these are the first K objects by score from the same v2. The result is calculated from saved predictions; no new training happens when you move the slider.
Among the 250 selected, there are 198 positive and 52 negative original labels. Recall is 27.8%: 514 of 712 positive labels remain outside the list.
Complete picture of the selected v2
| Checks | Labels found | Precision | Recall | No label |
|---|---|---|---|---|
| 100 | 94 | 94.0% | 13.2% | 6 |
| 250 | 198 | 79.2% | 27.8% | 52 |
| 500 | 307 | 61.4% | 43.1% | 193 |
| 700 | 376 | 53.7% | 52.8% | 324 |
| 1000 | 423 | 42.3% | 59.4% | 577 |
At 700 checks: 376 positive labels in the list, 324 negative; 336 positive remain outside the list. ROC-AUC 0.8685 does not mean detection of 86.85% of all violations.
Which approaches were compared
These are limited research configurations, not an exhaustive ranking of algorithms. v2 remains the reference point under the selection protocol; the best result of one candidate at a separate K does not automatically make it the winner.
| Variant | Found / 250 | Found / 700 | ROC-AUC | AP |
|---|---|---|---|---|
| CatBoost v2 | 198 | 376 | 0.8685 | 0.5512 |
| CatBoost v1 | 176 | 322 | 0.8412 | 0.4757 |
| XGBoost | 191 | 358 | 0.8654 | 0.5402 |
| LightGBM LambdaRank | 189 | 344 | 0.8500 | 0.5173 |
| Temporal CNN | 166 | 311 | 0.8301 | 0.4405 |
| Behavior change indicators | 193 | 368 | 0.8689 | 0.5441 |
| Training on missing values | 197 | 345 | 0.8554 | 0.5230 |
| v4 Ensemble | 197 | 372 | 0.8715 | 0.5561 |
| Long training v5 | 200 | 376 | 0.8704 | 0.5599 |
| Adaptive features v6 | 204 | 357 | 0.8664 | 0.5434 |
Adaptive features were explored based on SmA ideas related to the work of Spokoiny and Wüllrich. This is an adaptation of the features, not an exact reproduction of the published method. The small CNN also does not fully reproduce the authors' Wide & Deep CNN.
What improved
At the same budget of 250 on one test group, v1 found 176 positive labels, v2 — 198. Difference: 22 labels and 8.8 percentage points in Precision@250. At 700 checks: 322 → 376 labels.
Long training and ensembles improved some overall metrics, but did not give a stable advantage at every inspection budget. Part of the improvement may be explained by missing-value features and the specifics of data collection.
What to check next
New objects or a later period, errors by equipment group, and the quality of the real labels. Separately — robustness with missing values and a change in the accounting scheme.
This result cannot be transferred to a Russian company as a promise of accuracy. An uncalibrated priority score is not equal to the probability of theft; violations and non-payments require different models.