{"id":"e073e296-0e16-482a-8fa1-2d457fa538c3","arxiv_id":"2609.14083","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":7.0,"correctness_risk":"low","formal_verification":"none","parameter_count":2,"one_line_summary":"Jittering categorical predictors with uniform noise eliminates the split-count bias in tree-based variable importance, yielding unbiased rankings without degrading prediction.","lead":"Adding a small amount of random noise to categorical predictors removes the well-known bias in random forest variable importance scores that favors continuous features. The fix is trivial to implement and compatible with any tree-based software, preserving accuracy while improving feature selection.","discovery_kind":"first_principles","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Theorem 2.2's asymptotic guarantee relies on bounded tree depth and a node-size condition (nt >= c n) that are violated in typical default implementations; the paper does not test the null model under these defaults, leaving a gap between theory and practice.","rationale":"The reader's weakest_assumption flagged the node-size condition, which is part of this concern. I extend it by also noting the bounded depth assumption, which is not mentioned in the reader's rationale. The paper's empirical evidence on non-null models and real data is strong, and the central claim is well-supported. However, the theoretical underpinning for the null model under common default settings is incomplete. This small gap does not warrant changing the ACCEPT verdict because the practical effectiveness of jittering is validated, but the concern is real and worth testing. The concrete test would clarify whether the asymptotic theory applies beyond the specific conditions assumed, thereby resolving the uncertainty about the generality of Theorem 2.2.","tokens_in":23034,"tokens_out":5392,"duration_ms":48751,"concrete_test":"Simulate the joint null model (Y independent of all predictors) with n = 200, 1000, 5000, 20000, p = 5 continuous predictors, q = 5 binary categorical predictors, using a random forest with scikit-learn default parameters (min_samples_split=2, min_samples_leaf=1, max_depth=None, 100 trees). For each n, compute the proportion of all splits that occur on categorical predictors, averaged over 100 trials. If this proportion remains above 0.1 for large n, the asymptotic guarantee does not extend to the default regime, indicating a gap between theory and practice. If it approaches zero, the concern is mitigated.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The asymptotic dominance of continuous splits in the null model (Theorem 2.2) assumes every tree has bounded depth D and every internal node satisfies nt >= c n for some fixed c > 0. In widely used implementations (e.g., scikit-learn's RandomForestRegressor with default min_samples_split=2, max_depth=None), depth is unbounded and no node-size fraction constraint is enforced. Under these conditions, the proof's induction (smaller child forced terminal) fails because the smaller child may be split recursively, potentially allowing categorical splits at deeper nodes. The paper does not present a theoretical result for this practical regime, nor does it simulate the null model under default settings to verify that the fraction of categorical splits decays to zero as n grows. If categorical splits persist, the bias pattern could differ from the asymptotic prediction, and the effectiveness of jittering—while empirically validated on non-null data—lacks asymptotic support in this common setting.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper provides a theoretical analysis of the bias in mean decrease impurity (MDI) variable importance from CART and CART-based ensembles when predictors include both continuous and categorical features. The key theoretical results are: (i) under the null model (Y independent of all predictors), continuous variables asymptotically dominate splits at the root (Theorem 2.1) and, under additional node-size and bounded-depth conditions, categorical variables receive vanishing MDI (Theorem 2.2); (ii) in an additive non-null model with one continuous predictor and one binary predictor, the noise variance is allocated to the continuous predictor while the categorical predictor's importance converges to the variance of its signal component (Theorem 2.4). To remedy this bias, the authors propose a simple preprocessing step: add independent uniform noise (jitter) to each categorical predictor, thereby equalizing the number of candidate splits. Extensive simulations and real-data analyses (bladder cancer, seven benchmark datasets) demonstrate that jittering improves variable ranking and, when combined with integrated path stability selection (IPSS), yields better false discovery control. The jittering procedure is computationally cheap, requires no tuning (δ=10⁻⁴ recommended), and does not degrade predictive accuracy.","tokens_in":23379,"tokens_out":3622,"duration_ms":32814,"significance":"The mixed-data bias in tree-based variable importance has been known empirically for nearly two decades, but rigorous theoretical results have been lacking, especially for CART-based methods. The paper fills this gap with clear asymptotic theorems that isolate the asymmetry in split opportunities as the root cause. The proposed jittering remedy is remarkably simple, computationally negligible, and compatible with any existing tree-based software without modification. If the results hold more broadly (e.g., under default hyperparameters where the theoretical assumptions of Theorem 2.2 are not met), this could become a standard data preprocessing step in applied work with mixed data. The combination with IPSS offers a principled variable-selection pipeline with FDR control, which is valuable for high-dimensional biomedical and engineering applications. The theoretical proofs (supplementary material) use empirical process theory and are carefully executed.","major_comments":[{"comment":"The theorem assumes a node-size condition (every internal node satisfies nt ≥ c n for some fixed c > 0) and bounded tree depth. In widely used default implementations (e.g., scikit-learn's RandomForestRegressor with min_samples_split=2 and max_depth=None), neither condition holds. The proof's induction that the smaller child is forced terminal fails in this regime, so the asymptotic guarantee that categorical splits vanish may not apply. The paper does not present a theoretical result for this practical regime nor does it simulate the null model under default settings to verify that the fraction of categorical splits decays to zero as n grows. Since the paper's central theoretical claim about bias origin relies on Theorem 2.2, this gap warrants attention. The authors should either extend the theory (or weaken the assumptions) or provide a simulation study under default parameters (e.g., n=200, 500, 1000; min_samples_split=2, max_depth=None) for the null model to confirm that the bias pattern is qualitatively consistent with the asymptotic prediction.","section":"§2.2, Theorem 2.2"},{"comment":"The theoretical justification for jittering is largely indirect: jittering makes categorical predictors continuous, after which the asymptotic theory (e.g., Proposition 2.3 for exchangeable continuous predictors) suggests that bias among continuous predictors disappears. However, Proposition 2.3 assumes exchangeable continuous predictors with no categoricals present, and jittered categoricals are not exchangeable with the original continuous variables. The paper convincingly demonstrates jittering's effectiveness through simulations and real data, but the link between the theory and the remedy is not formally established. The authors should add a brief discussion clarifying that the theoretical results do not directly guarantee that jittering removes bias in general non-null settings, but that the empirical evidence supports this view, and that future work could aim for a unified theoretical treatment.","section":"§3, §4"}],"minor_comments":[{"comment":"The abstract contains a formatting artifact: 'V ariable' appears with a space; this should be corrected to 'Variable'.","section":"Abstract"},{"comment":"The figure caption states 'categorical variables' but the correct term should be 'categorical predictor' for consistency with the text. The same applies in Figure 2.","section":"§1, Figure 1 caption"},{"comment":"The definition of proper subset requires nonemptiness and properness. This is nonstandard; it would be helpful to note this explicitly, as some readers may assume a proper subset can be empty.","section":"§2.1, notation"},{"comment":"The constant c is said to be fixed in (0,1). For completeness, please specify that c does not depend on n, and comment on how the choice of c might affect the rate of convergence.","section":"§2.2, condition nt ≥ cn"},{"comment":"The paper states that δ does not require tuning and uses δ=10⁻⁴ throughout. While sensitivity analysis (Table S3) supports robustness, the choice of δ=10⁻⁴ is somewhat arbitrary; a brief guideline (e.g., choose δ < 0.5 to preserve separation for integer-encoded categories) would be helpful for practitioners.","section":"§3, 'Jitter strength' paragraph"},{"comment":"The generation of ψ(x) for the nonlinear model is given in the supplement (Equation S10). A brief mention in the main text that ψ is scaled to have unit variance under the independent design would improve readability.","section":"§4.1, Simulation design"},{"comment":"The standard deviation for RF-one-time in the independent-linear setting is 0.05 (mean 0.94), while RF-per-tree achieves 0.96 with lower sd (0.04). Consider noting that per-tree jittering offers a small but consistent improvement.","section":"Table 1"},{"comment":"The final cohort is n=306; the paper reports that stage has three ordered levels (II, III, IV). It would be helpful to note that the analysis treats stage as a nominal categorical variable (no ordering exploited), which is standard for CART but may lose some power. Please comment on whether ordering was considered.","section":"§5.1, Bladder cancer"},{"comment":"The number of continuous nulls selected is reported in parentheses; for datasets with many continuous predictors (e.g., QSAR Biodegradation, p=19), RF selects 14.7 nulls, all continuous. This highlights that RF's bias is toward continuous predictors specifically. Consider adding a remark in the text.","section":"Table 2, synthetic nulls"},{"comment":"The AUC values are essentially constant across δ from 10⁻⁶ to 10⁻¹, but for XGB-one-time in the independent-nonlinear setting, the mean drops from 0.789 at δ=10⁻⁶ to 0.774 at δ=10⁻². Although within one standard deviation, a comment on whether very small δ is slightly better would be appropriate.","section":"Supplement S6, Table S3"}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"This paper gives the first theoretical analysis of MDI bias in mixed data (continuous + categorical) under CART, and proposes a dead-simple fix: add a little uniform noise to each categorical predictor. The theory is rigorous—Theorems 2.1, 2.2, 2.4 are proved with empirical process tools—and the empirical work is thorough, with simulations, real data, and code provided. The jittering idea is not new in other contexts (e.g., deep learning embeddings) but its application to tree-based importance is, and the combination of theory + extensive validation makes this a genuinely useful contribution. I'd bring this to a reading group and would cite it in my own work on model interpretability.\n\nSoft spots, proportionate: The stress-test note is on point. Theorem 2.2 assumes bounded tree depth and a node-size condition (nt >= c n) that are violated in default scikit-learn settings (min_samples_split=2, max_depth=None). The proof's induction relies on the smaller child being forced terminal, which fails if depth is unbounded. The paper does not test the null model under those defaults, so we don't know how quickly categorical splits decay in practice. That said, the simulations (n=200, default parameters) show jittering works well for non-null settings, so the empirical evidence is still strong. The authors should address this gap—either extend the theory, simulate the null under defaults, or at least discuss the assumption's restrictiveness.\n\nAnother minor point: Theorem 2.4 requires Var(g(Z)) > M*(X) so the root splits on Z; if that inequality is reversed, the bias pattern is different. The paper doesn't explore that case, but again, the simulations cover correlated and nonlinear settings where the categorical signal isn't necessarily dominant.\n\nWho is this for? Anyone doing variable selection or feature importance with mixed data—medical, social science, manufacturing. The fix is trivial to implement and seems robust. The paper deserves a serious referee. I'd recommend acceptance with minor revisions: ask the authors to add a discussion of the node-size condition, show null-model simulations under default parameters, and note the limit of Theorem 2.4's condition.","headline":"Solid theory and a simple fix for a real problem; the assumptions behind Theorem 2.2 are a bit idealized, but the empirical work covers the gap.","tokens_in":23859,"tokens_out":1161,"duration_ms":11617},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Adding uniform noise to categorical predictors eliminates the systematic bias of tree-based variable importance in mixed data.","keywords":["variable importance","random forests","mixed data","CART","bias correction","feature selection","jittering","mean decrease impurity"],"falsifier":"Construct a mixed‑data regression task where the signal comes only from a binary predictor with a large effect, while all continuous predictors are noise, and set the tree hyperparameters to allow very small node sizes (e.g., min_samples_split=2). If jittering still produces a high importance rank for the binary predictor in a moderate sample size (n≈100), the paper's claim holds; if the continuous noise predictors dominate the ranking, the node‑size assumption would be violated and the theory would not apply.","tokens_in":24649,"feed_emoji":"🎯","tokens_out":3364,"duration_ms":30550,"temperature":0.7,"pith_summary":"Tree-based methods such as random forests systematically favor continuous predictors over categorical ones when computing variable importance. This paper proves that the bias arises from a fundamental asymmetry in CART: a node with n samples offers n−1 candidate splits for a continuous predictor, but only a fixed number ($2^{{k−1}}$−1) for a k‑category predictor, so continuous features dominate as sample size grows. Under the null model, categorical predictors receive asymptotically zero importance; under an additive model, even noise variance is allocated to the continuous feature. The authors show that adding a small uniform jitter to each categorical predictor before fitting equalizes the number of candidate splits, removing the bias. The correction works as a simple preprocessing step, preserves predictive accuracy, and can be combined with false‑discovery‑controlled variable selection.","feed_headline":"Jittering categorical predictors debiases tree-based importance scores","feed_subtitle":"Adding uniform noise equalizes split opportunities, yielding fair feature rankings without sacrificing prediction accuracy.","key_machinery":"The theoretical analysis centers on the comparison of the maximum impurity decrease at a node for continuous versus categorical variables, proving that the continuous gain diverges in probability while the categorical gain remains bounded. The practical solution is the jittering transformation: for each categorical predictor with integer‑encoded values, add an independent Uniform(−δ,δ) perturbation before model fitting, which turns it into a continuous variable with n−1 candidate splits almost surely.","core_discovery":"The paper establishes that the mean decrease impurity (MDI) bias against categorical predictors in CART‑based ensembles is a direct consequence of the unequal number of candidate splits each predictor type can generate. In the null model where Y is independent of all predictors, the probability that any split occurs along a categorical variable vanishes as n→∞ (Theorem 2.2). In the additive model Y = f(X) + g(Z) + ε with a continuous X and binary Z, if the categorical effect is large enough to win the root split, then after splitting on Z the remaining impurity – including the noise variance σ² – is entirely attributed to X, inflating its importance (Theorem 2.4). These theoretical results explain the long‑observed empirical preference for continuous features. The solution, called jittering, converts categorical predictors to continuous ones by adding independent Uniform(−δ,δ) noise, which creates as many candidate splits as the continuous predictors have. The procedure is shown to debias importance scores and improve feature selection with false discovery control on both synthetic and real‑world datasets.","pith_inferences":["The jittering approach could be extended to categorical variables with many unordered categories by adding a small multivariate noise that does not artificially order the categories.","If a dataset contains only categorical variables, jittering may remove meaningful order information when categories are naturally ordered; for ordinal variables, using a noise distribution that respects the ordering might be preferable.","The theoretical proofs rely on a node‑size condition (nt ≥ cn); if trees are grown to maximal depth without a minimum split constraint, the bias may be less extreme in finite samples, though the asymptotic argument would still hold.","The paper's additive model assumes the categorical variable wins the root split; when its effect is weak, the bias pattern might reverse, and jittering could still help by forcing both types to compete on equal footing in later splits."],"forward_implications":["When applied as a preprocessing step, jittering produces fair variable importance rankings in mixed data without requiring any modification to tree‑building algorithms.","Combining jittered importance scores with integrated path stability selection (IPSS) yields variable selection with accurate false discovery rate control, which standard random forest importance fails to provide.","The method is computationally cheap and does not degrade predictive accuracy, making it suitable for large‑scale applications in medicine, engineering, and social sciences where mixed data are common.","Jittering works with both random forests and gradient boosting (XGBoost), showing that the bias and its remedy are not limited to a specific ensemble method.","The same principle – equalizing split opportunities – suggests that any source of asymmetric split counts could be addressed by a similar smoothing approach."],"supporting_citations":[{"why":"Provides the CART algorithm and definition of impurity decrease that underlies the theoretical analysis.","marker":"Breiman et al. (1984)"},{"why":"Establishes random forests as the main ensemble method studied in the paper.","marker":"Breiman (2001)"},{"why":"Provides the initial empirical evidence of variable importance bias in mixed data, which the paper formally analyzes.","marker":"Strobl et al. (2007)"},{"why":"Supplies the empirical process theory (Donsker property, uniform convergence) used in the proof of Theorem 2.2.","marker":"van der Vaart and Wellner (1996)"},{"why":"Introduces conditional inference forests (CForest), an alternative bias‑correction method used as a baseline in the experiments.","marker":"Hothorn et al. (2006)"},{"why":"Presents Unbiased Feature Importance (UFI), a competing debiasing technique that the paper compares against both computationally and in terms of ranking accuracy.","marker":"Zhou and Hooker (2021)"},{"why":"Introduces XGBoost, a gradient boosting implementation used to demonstrate that jittering also debiases boosting‑based importance scores.","marker":"Chen and Guestrin (2016)"},{"why":"Develops integrated path stability selection (IPSS) for false discovery control, which the paper combines with jittered importance to perform principled variable selection.","marker":"Melikechi and Miller (2026)"}],"fun_headline_variants":["Add uniform noise to categorical variables for fair feature rankings","Jittering debiases random forest importance scores","Simple noise fix ends bias against categorical predictors","Equalize split opportunities: jitter categorical predictors","Debiasing tree-based importance: just add noise"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The asymptotic theorems assume that every internal node contains at least a fixed fraction c of the total samples (min_samples_split condition); if trees are grown with very small node sizes, the bias may be less pronounced, and the theoretical guarantees may not hold in finite samples.","fun_headline_variants_meta":{"raw":{"variants":["Add uniform noise to categorical variables for fair feature rankings","Jittering debiases random forest importance scores","Simple noise fix ends bias against categorical predictors","Equalize split opportunities: jitter categorical predictors","Debiasing tree-based importance: just add noise"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000181,"raw_usage":{"cost":0.000181188,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000181188,"upstream_inference_prompt_cost":8.3748e-05,"upstream_inference_completions_cost":9.744e-05},"total_tokens":1151,"prompt_tokens":803,"completion_tokens":348,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":274}},"tokens_in":803,"tokens_out":348,"cost_source":"openrouter_usage","duration_ms":4484,"image_pages":[],"temperature":1.0,"reasoning_tokens":274,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-15T19:07:24.896518+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Construct a mixed‑data regression task where the signal comes only from a binary predictor with a large effect, while all continuous predictors are noise, and set the tree hyperparameters to allow very small node sizes (e.g., min_samples_split=2). If jittering still produces a high importance rank for the binary predictor in a moderate sample size (n≈100), the paper's claim holds; if the continuous noise predictors dominate the ranking, the node‑size assumption would be violated and the theory would not apply.","supporting_citations":[{"cited_title":", Friedman, J","cited_arxiv_id":null,"evidence_quote":"Provides the CART algorithm and definition of impurity decrease that underlies the theoretical analysis."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Establishes random forests as the main ensemble method studied in the paper."},{"cited_title":", Boulesteix, A.-L","cited_arxiv_id":null,"evidence_quote":"Provides the initial empirical evidence of variable importance bias in mixed data, which the paper formally analyzes."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Supplies the empirical process theory (Donsker property, uniform convergence) used in the proof of Theorem 2.2."},{"cited_title":"and Hooker, G","cited_arxiv_id":null,"evidence_quote":"Presents Unbiased Feature Importance (UFI), a competing debiasing technique that the paper compares against both computationally and in terms of ranking accuracy."},{"cited_title":"and Guestrin, C","cited_arxiv_id":null,"evidence_quote":"Introduces XGBoost, a gradient boosting implementation used to demonstrate that jittering also debiases boosting‑based importance scores."},{"cited_title":"and Miller, J","cited_arxiv_id":null,"evidence_quote":"Develops integrated path stability selection (IPSS) for false discovery control, which the paper combines with jittered importance to perform principled variable selection."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}