# Why our #1 LightGBM feature by importance made predictions worse [D] — retained record

> Retained reddit record from reddit:MachineLearning.

Canonical: https://highsignal.app/data/records/a6cedbead4bc1aa9

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:MachineLearning)  published 2026-06-01 18:20 ingested 2026-06-02 10:07

[original source ↗](https://www.reddit.com/r/MachineLearning/comments/1tu0y14/why_our_1_lightgbm_feature_by_importance_made/)

## extract

<!-- SC_OFF --><div class="md"><p>We recently hit a classic gradient boosting trap with our pricing engine (Flyback), and I wanted to share the ablation data. We run LightGBM quantile regression to forecast secondary market watch prices.</p> <p>We engineered a variant-conditioned Bayesian target encoder to isolate within-reference pricing dynamics. LightGBM absolutely loved it. It ranked #1 in feature importance at q90 by a wide margin, with gains several times the next-highest feature, across all our multi seed runs.</p> <p>But when we ran a strict 4-seed × 3-variant ablation on the hold-out set, the results inverted. Test MAPE regressed by +0.28pp and the between-variant delta was 7x the within-variant standard deviation. The encoder was finding effective splits that completely failed to generalize because the signal it was learning was driven by irreducible label variance: unobserved factors like condition nuance, seller behavior, and timing that no feature can capture.</p> <p>I wrote a full post breaking down the architecture, the ablation methodology, and the mechanism behind the divergence.</p> <p>Happy to discuss LightGBM split mechanics, target encoding leakage, or the ablation setup.</p> <p>Full post and ablation results: <a href="https://flyback.ai/engineering/target-encoding-divergence">https://flyback.ai/engineering/target-encoding-divergence</a></p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Nj-yeti"> /u/Nj-yeti </a> <br /> <span><a href="https://www.reddit.com/r/MachineLearning/comments/1tu0y14/why_our_1_lightgbm_feature_by_importance_made/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/MachineLearning/comments/1tu0y14/why_our_1_lightgbm_feature_by_importance_made/">[comments]</a></span>

## retained text

No document body was retained for this record — only its metadata was stored.
