Gradient-boosted trees are the default model for tabular regression, and they are brittle in two separate ways. A small nudge to an input feature can push a row across a split threshold and change its prediction. A handful of wildly wrong target values, the heavy tails common in finance and sensor data, can drag leaf values far from the truth. Each problem has its own fix. Robust split criteria score each candidate threshold by its worst-case loss under bounded feature perturbations, and several of them run in constant time per threshold. Robust loss functions such as Huber's cap how much any single residual can influence the fit. This note argues that the two fixes interact badly when combined naively, and that the interaction can be exploited. The adversarial penalty in current robust regression splits is computed from the gradients of points near the threshold. Under squared loss those gradients are the raw residuals. A single mislabeled point sitting near a threshold therefore inflates that threshold's "vulnerability" score and can veto an otherwise good split. The criterion confuses label corruption with feature fragility.
We propose a split criterion for second-order boosting in the style of XGBoost that uses a bounded-gradient loss (Huber) inside the adversarial term itself. With this loss, the worst-case penalty from a point near the threshold depends on how many such points there are, not on how extreme their labels are. The worst case for points on Huber's linear branch can be computed exactly rather than relaxed. Both the penalty and the optimal leaf values are computed in constant amortized time per threshold, which keeps the standard $O(n \log n)$ cost of growing a tree. The target setting, which no paper in our file evaluates, is joint corruption: heavy-tailed training labels together with $\ell_\infty$ feature attacks at test time.
Core Claim
Constant-time robust splitting is an established line of work. Robust Decision Trees Against Adversarial Examples framed tree splitting as a max-min problem over an "ambiguity set": the training points whose feature value lies within $\epsilon$ of the threshold, which an adversary may send to either child. For boosting, that paper approximated the worst case with a four-case heuristic. GROOT used concavity of adversarial Gini impurity to find the exact worst case in $O(1)$. FPRDT did the same for adversarial 0/1 loss and showed that Gini-based criteria only bound the true adversarial loss from below. Andriushchenko et al. exploited per-coordinate separability for decision stumps. All four are classification methods, and they supply the technique we reuse: sort once, then maintain ambiguity-set statistics incrementally as the threshold sweeps.
The one regression method is Learning Robust XGBoost Ensembles for Regression Tasks. It derives an $O(1)$ upper bound on the worst-case second-order loss by linear relaxation and states that the bound applies to any twice-differentiable loss. It evaluates only standard regression loss on clean-labeled data. It does not ask what the bound becomes when the gradients come from a robust loss, or what happens when training labels are heavy-tailed. That paper is our closest prior work and our main competitor.
On the robust-loss side, Roy et al. show that Huber loss converges exponentially fast under heavy-tailed, dependent noise where squared loss is only polynomial. Cui et al. show that bounded influence also protects estimation rates under fairness constraints. Both assume unperturbed features and linear models, so they motivate the loss choice but say nothing about trees. Hüllermeier shows that hybrid losses arise from worst-case reasoning over imprecise observations. This supports the view that label imprecision and feature ambiguity belong in one worst-case objective.
The mechanism follows. Fix a candidate threshold on one feature. At each boosting round, point $i$ has gradient $g_i$ and curvature $h_i$ of the loss at its current prediction. Its second-order loss if it lands in a leaf with value $w$ is $q_i(w) = g_i w + \tfrac12 h_i w^2$.
The attack happens after training, so each point near the threshold independently goes to whichever leaf hurts it more. Let $L$ and $R$ be the points that stay left and right regardless, and $A$ the ambiguous points. The exact robust objective for leaf values $w_L, w_R$ is then
$$F(w_L,w_R)=\sum_{i\in L} q_i(w_L)+\sum_{i\in R} q_i(w_R)+\sum_{i\in A}\max\big(q_i(w_L),\,q_i(w_R)\big).$$
The maximum of two numbers equals their average plus half their gap. Writing $\Delta=w_R-w_L$ and $s=w_L+w_R$, the gap for point $i$ is $|\Delta|\,|g_i+\tfrac12 h_i s|$. By the triangle inequality,
$$\max\big(q_i(w_L),q_i(w_R)\big)\le \tfrac12\big(q_i(w_L)+q_i(w_R)\big)+\tfrac12|\Delta|\big(|g_i|+\tfrac12 h_i|s|\big).$$
The bound holds with equality whenever $h_i=0$. Under Huber loss, $h_i=0$ holds exactly for points whose current residual exceeds the Huber threshold $\delta$, so the bound is exact on the outliers. For every other point $|g_i|\le\delta$, so the adversarial term is at most $\tfrac12|\Delta|(\delta|A|+\tfrac12 H_A|s|)$, where $H_A$ is the summed curvature of the ambiguous points.
Under squared loss, $|g_i|$ is the raw residual, so one extreme label near the threshold dominates the penalty. This is the "ambiguity-set contamination" we claim current criteria suffer from. Only five sums over each region are needed: gradients, absolute gradients, curvatures, counts, and a count of linear-branch points. All can be maintained by a two-pointer sweep over sorted feature values in $O(1)$ amortized time per threshold.
The bounded objective is piecewise quadratic in $(w_L, w_R)$, with kinks where $\Delta=0$ and $s=0$. Its minimizer therefore has a closed form found by checking four sign cases, much like soft-thresholding. Its minimized value is the split score.
Research Program
The work has three parts. The first is analytical. We derive the closed-form leaf values and split gain, prove the per-point exactness on Huber's linear branch, and bound the slack on the quadratic branch as a function of $H_A|s|$.
We also deal directly with the known flaw of Huber loss in boosting. Its zero curvature on outliers can make the leaf-value denominator $\sum h_i+\lambda$ collapse, where $\lambda$ is the usual regularizer. We study two fixes: a strictly positive $\lambda$, and a curvature floor. We compare both with the smooth log-cosh loss, which Niu et al. used for exactly this smoothness reason in neural regression. With log-cosh the exactness on outliers becomes approximate, since $\operatorname{sech}^2$ is small but nonzero. Measuring how much that matters is part of the study.
The threshold $\delta$ is set each round from the median absolute deviation of current residuals. This addresses the known tuning sensitivity of Huber loss without a per-dataset search.
The second part is a diagnostic. On trained models we measure how often the chosen robust split under squared loss moves away from a threshold because of one or two high-residual ambiguous points. We also measure how the slack between the bound and the exact per-split objective, which is cheap to compute by brute force for fixed leaf values, compares across our criterion and the linear relaxation of Sharma et al..
The third part is the joint-corruption evaluation described below. Like every prior method in this line, we stay greedy per split and restricted to $\ell_\infty$ perturbations of numeric features. Global ensemble robustness and $\ell_2$ attacks are out of scope.
Baselines
The naive reference is standard XGBoost with squared loss. Sharma et al. report that their method is 113% more robust than this model at $\epsilon=0.05$ on 19 Grinsztajn regression datasets. A second naive reference, standard XGBoost with Huber loss, protects against label outliers but uses non-robust thresholds. It isolates the contribution of the split criterion.
The strongest existing method is the robust XGBoost criterion of Sharma et al., reported as "up to 44% more robust" than Robust-GBDT at $\epsilon=0.05$ on the same 19 datasets. No per-dataset robust $R^2$ values are reported in the file, so we will rerun it rather than quote numbers. We run it in two forms. The first is its published squared-loss form. The second plugs pseudo-Huber gradients into its bound, which the paper says is permitted. The second form is the most important comparison in the study. We also adapt the four-case heuristic of Chen et al. to the second-order regression objective as a cheaper robust comparator.
All methods get the same training folds, the same corruption draws, the same number of trees and depth grid, and an identical random-search budget over learning rate, $\lambda$, and depth. The same $\epsilon$ is used for training and attack. Wall-clock time is reported on the same hardware.
Three ablations isolate the key ingredient. The first is our criterion with squared loss, which tests whether the loss matters inside the adversarial term. The second is our criterion with the absolute-gradient sum replaced by raw residual magnitudes. The third is Huber loss for leaf values but squared-loss gradients in the adversarial penalty.
Beating the strongest baseline means two things under label contamination. First, robust $R^2$ must be higher on a clear majority of the 19 datasets, measured on clean test labels, with paired significance across seeds. Second, clean $R^2$ and training time must stay within the range of the Sharma method.
Why not just…?
Why not just run Sharma et al.'s criterion with pseudo-Huber loss? This is the real threat. Their bound nominally accepts any twice-differentiable loss, and bounded gradients would already reduce the contamination effect. Our argument rests on two points. First, our bound is exact on the linear branch. Second, our leaf values do not depend on the tiny curvature that pseudo-Huber assigns to outliers, which otherwise leaves leaf denominators poorly conditioned. Neither point is guaranteed to matter in practice. The slack measurement and the head-to-head under contamination will settle it. If the two methods tie, the contribution shrinks to the diagnostic and the conditioning analysis, and we will report that plainly.
Why not just trim or winsorize the labels, then train a robust tree? Trimming works on the marginal distribution of $y$. A value that is extreme conditionally on $x$ but ordinary marginally survives trimming, and trimming discards real signal in the tails. We include a winsorize-at-quantile preprocessing step before the Sharma criterion as a baseline, with the quantile tuned on validation data. The heavy-tailed noise regimes, Student-t and Pareto as studied by Roy et al., are exactly where we expect it to fail. If it matches us under gross, sparse outliers, we will say so.
Why not just use plain XGBoost with Huber loss, or adversarial data augmentation? Huber loss alone leaves thresholds close to the data. Chen et al. show that such thresholds are easily crossed and that augmentation fails for boosting, because non-robust early trees persist in the additive ensemble. The Huber-only baseline measures this cost directly under attack.
Proposed Experiments
The main testbed is the 19 continuous-feature regression datasets from the Grinsztajn et al. benchmark used by Sharma et al., with features scaled and $\epsilon\in\{0.01,0.05,0.1\}$. We corrupt a fraction of training labels, 0%, 5%, 10%, or 20%, with three types of noise: Student-t with 2 degrees of freedom, Pareto-tailed noise, and gross sign-flipped outliers. Test labels stay clean.
Metrics are clean $R^2$, robust $R^2$, and the robust MAD ratio defined by Sharma et al., plus training time. For small ensembles we compute exact worst-case predictions offline with a mixed-integer solver to validate the attack. For single trees, where exact attacks are cheap, we do the same by enumerating reachable leaves.
The first decisive check is the 0% corruption column. There we expect parity with Sharma et al., which confirms that nothing is lost on clean labels. The second is the growth of our advantage with corruption rate over both Sharma variants. If the gap does not widen as contamination increases, the central claim is wrong.
The third check is the diagnostic. Among the splits that the squared-loss criterion rejected but ours accepted, we measure the fraction whose ambiguity set contained an injected outlier. A high fraction would directly confirm the proposed mechanism. The last check tests whether log-cosh can substitute for Huber, by comparing bound slack and robust $R^2$ at matched $\delta$.
References
- Robust Decision Trees Against Adversarial Examples
- Efficient Training of Robust Decision Trees Against Adversarial Examples
- Fast Provably Robust Decision Trees and Boosting
- Provably robust boosted decision stumps and trees against adversarial attacks
- Learning Robust XGBoost Ensembles for Regression Tasks
- On Empirical Risk Minimization with Dependent and Heavy-Tailed Data
- A General Framework for Fair and Robust Regression
- Learning from imprecise and fuzzy observations: Data disambiguation through generalized loss minimization
- Primary Quantization Matrix Estimation of Double Compressed JPEG Images via CNN
- Why do tree-based models still outperform deep learning on typical tabular data?