Remove unbiased LambdaRank #12456
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.42) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 166 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.306
Real PR Conversation Timeline
1 comments
"Review active on #12456"
general
weight: 0.35
RAMitchell
Summary
lambdarank_unbiasedas a compatibility parameter that warns once and falls back to standard LambdaRankMotivation
Unbiased LambdaRank makes the objective stateful by learning and serializing position-bias vectors. This complicates model I/O, checkpoint/resume behavior, cache dimensions, and parameter changes. Removing the implementation simplifies LambdaRank ahead of separating its CPU and GPU kernels while preserving compatibility for existing configurations.
Closes #12302.
User impact
Setting
lambdarank_unbiased=trueno longer enables unbiased LambdaRank. XGBoost emits a warning and trains with standard LambdaRank. Existing saved configurations containing the parameter or the old bias vectors continue to load.Validation
testxgboostbuild./build/testxgboost --gtest_filter="LambdaRank.:NDCGCache."(9 tests passed)git diff --check