{"id":"04f9a82a-761d-493d-884f-010277e89212","arxiv_id":"2610.15649","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":7.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":4,"one_line_summary":"A closed-testing procedure with score tests splits logistic model misfit into four orthogonal components and names the failing ones with error control.","lead":"This paper introduces a procedure to localize misfit in logistic risk models by decomposing it into four orthogonal parts (intercept, slope, link, covariate structure) and using closed testing with score tests to identify which parts are failing. The method provides strong familywise error control, guiding analysts on whether to update the intercept, recalibrate, use a flexible link, or revise the model entirely.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Error-control guarantees rely on local alternatives; for fixed departures the false-naming rate can exceed the nominal level, and the proposed remedy (split-first retest) halves the available sample.","rationale":"The paper's central claim in the abstract that 'a part is wrongly named with probability at most the chosen level' is accurate under local alternatives or the null, but for fixed departures the error can exceed α, as acknowledged and shown. The proposed solution (split-first retest) mitigates this but halves the sample and adds complexity. The reader's weakest assumption flagged this, but still accepted unconditionally. The paper is otherwise sound and innovative, but the headline guarantee should be more clearly scoped to avoid misinterpretation by practitioners who face non-local departures. A conditional acceptance requiring a prominent statement of the local-alternative scope and the limitation of the Monte Carlo reference would strengthen the paper's honesty. The concrete test is already passed by the paper's own simulations, demonstrating the concern is real.","tokens_in":42675,"tokens_out":5299,"duration_ms":42675,"concrete_test":"Take a fixed departure that is pure on the logit scale (e.g., slope 0.3) at n=2000, and apply the procedure with the Monte Carlo reference. Compute the rate at which a group that has a zero probability-scale component (e.g., intercept for a pure slope departure) is named. If the rate exceeds 0.10, the error-control claim fails for this departure size. The paper already shows such rates in Figure 2 (right panel) for a pure slope departure of size 0.6: at n=1000 the wrong-group rate is ~0.14 for cov. That exceeds the nominal 0.05. The test confirms the concern.","verdict_should_be":"CONDITIONAL","load_bearing_attack":"The strong familywise error control (Theorem 3) is proved under local alternatives shrinking at n^{-1/2}. For fixed departures, Proposition 5 states that the rate of naming a group with no misfit can rise above α, and the simulations (Figure 2, right panel) confirm this: at n=8000, the rate reaches 0.74 for the slope group. The authors propose a multiplier reference to handle fixed departures (Theorem 5), but report it is liberal at n≤4000. In practice, analysts often face modest or large departures (e.g., the transported SUPPORT model shows a 30 percentage point miscalibration). The paper then recommends a split-first update-and-retest, which uses only half the data for the initial verdict, reducing power and requiring a second sample for confirmation. This means that the headline guarantee of 'error-controlled localization' is not directly available for the most common use case of external validation with a single dataset of moderate size. The central claim is qualified by 'small departures' in the abstract, but the paper does not provide a clear threshold for what constitutes 'small'. The user cannot verify that their departure is within the local regime. Thus the practical applicability of the error-control claim is uncertain.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper proposes a multiple-testing procedure to localize misfit in logistic risk models into four orthogonal parts—intercept, slope, link, and covariate structure—matching the calibration hierarchy. For each part, a group of score tests is constructed, combined via the Cauchy combination, and the failing parts are named by closed testing. The procedure is calibrated by Monte Carlo (external validation) or parametric bootstrap (in-sample). The paper proves strong familywise error control under local alternatives shrinking at rate n^{-1/2}, consistency, and a decision rule linking the highest named part to the lightest model update that removes the misfit. Simulations and applications to the SUPPORT and burn injury data illustrate the method.","tokens_in":43074,"tokens_out":2550,"duration_ms":25572,"significance":"If the claims hold, the paper fills an important gap: beyond a single goodness-of-fit test, analysts obtain a principled, error-controlled way to identify the nature of misfit and the appropriate update (intercept correction, logistic recalibration, flexible recalibration, or model revision). The decomposition is insightful and connects directly to the model-updating ladder. The approach is original, with rigorous asymptotic theory, exact Monte Carlo calibration under the null, and thorough simulations. The paper is likely to have substantial practical impact in clinical prediction model validation and related fields.","major_comments":[{"comment":"The error-control guarantee (Theorem 3) is proved only for local alternatives shrinking like n^{-1/2}. For fixed, possibly large departures—which are common in external validation (e.g., the transported SUPPORT model)—the false-naming rate can exceed α (Proposition 5, Figure 2). The split-first update-and-retest (Section 3.4) is presented as a remedy, but it halves the sample for the initial verdict, reducing power and requiring a second dataset. The paper should discuss more prominently the practical implication: a single moderate-sized validation dataset does not directly enjoy the headline error-control guarantee for realistic fixed departures. A clear statement in the abstract or conclusion about when the procedure can be used for confirmatory versus exploratory inference would help readers.","section":"Abstract, §3.3, §3.4","authors_acknowledge":"For fixed departures the higher null groups can be named more often than α(Proposition 5(iii)), and a component orthogonal to every basis of its group is not detectable at all.","authors_acknowledge_p":0.8},{"comment":"Theorem 5 provides a multiplier calibration intended to control error for departures of any size, but the simulations show it is liberal at n ≤ 4,000 (e.g., error 0.090 at n=1,000 under no misfit). Since many validation studies fall in this sample size range, the practical utility of this alternative is limited. The paper currently acknowledges this but could strengthen the discussion of the implications: the Monte Carlo reference gives exact control under the global null but loses control for fixed large departures; the multiplier only works asymptotically. A clearer recommendation for practitioners facing a dataset with n ≤ 4,000 and potential large misfit would be helpful (e.g., use the procedure descriptively or rely on the split-first approach).","section":"§3.3, §4, Web Table B.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The in-sample link group can alias covariate-structure misfit (Proposition 1(iii)). The de-aliased option (Proposition 2) removes the aliasing but, as shown in the simulation (Table B.2), can eliminate nearly all power against a true curved link when covariates carry the score's curvature. The paper recommends using it only as a sensitivity check. This limitation is important for applied users; it might be worth adding a short explicit warning in the main text (Section 3.4 or the discussion) that an in-sample LINK verdict may reflect covariate structure rather than a curved link, especially with binary or skewed covariates.","section":"§2.2, §4, Proposition 2","authors_acknowledge":"When the model matrix contains binary covariates, interactions or nonlinear terms, part of a covariate-structure misfit can appear in LINK, and a covariate-structure misfit may remain after such a repair.","authors_acknowledge_p":0.87}],"minor_comments":[{"comment":"The phrase 'for small departures' is not quantified. Adding a brief reference to the local asymptotic regime (n^{-1/2}) or a sample-size-dependent threshold (e.g., Corollary 4) would improve precision.","section":"Abstract","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The right panel of Figure 2 shows the rate of naming a group with no misfit under fixed departures. The y-axis label could note that the nominal level is 0.05 (grey line). The caption currently says 'grey line is the nominal level 0.05', which is clear, but adding a short explanation of why this rate exceeds the level (Proposition 5) in the caption would help the reader.","section":"§4, Figure 2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"In Figure 3, the panel 'de-aliased link group' appears only for the 'all patients' row. It would be helpful to note in the caption or text whether the de-aliased link group was also applied to the 'random split' and 'transported' rows (it appears not, because external validation sees all parts without aliasing, but a brief clarification would avoid confusion).","section":"§5.1, Figure 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Corollary 2 states that the highest named group equals the highest part present with probability at least 1-α 'as the misfit grows'. This relies on the local alternatives framework and the limit c → ∞. The phrase could be misinterpreted as a finite-sample guarantee; adding 'asymptotically, under local alternatives' would clarify.","section":"§3.4, Corollary 2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Several references are to working papers or preprints (e.g., Ebrahim and El-Kotory, 2026; Ebrahim, 2026; Ebrahim et al., 2026). While acceptable for a preprint, the authors may wish to update or note that these are under review, especially if they are used to support claims (e.g., the behavior of the Hosmer–Lemeshow test under penalized fits).","section":"General","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Colleague,\n\nThis paper does something genuinely new: it gives a principled, error-controlled way to say *where* a logistic risk model fails, not just *that* it fails. The orthogonal four-part decomposition (intercept, slope, link, covariate structure) is clean, the closed-testing framework is sound, and the simulation evidence broadly supports the theoretical guarantees. The code and data are archived, the writing is clear, and the authors acknowledge the scope limitations explicitly. This is the first method I know of that tells an analyst which update the data call for, with a familywise error bound.\n\nThat said, the headline guarantee comes with real strings attached. Strong error control is proved under local alternatives shrinking at n^{-1/2}; for fixed departures—the common case in external validation—the false-naming rate can rise well above alpha (Figure 2 right panel shows 0.74 for the slope group at n=8000). The proposed split-first update-and-retest halves the available sample and requires a second dataset for confirmation. The authors are honest about this (Propositions 5, Theorem 5, Section 3.3), but the practical consequence is that the error-controlled localization claim does not directly apply when an analyst sees a large miscalibration in a single moderate-size validation sample. The abstract says “for small departures,” but no threshold for “small” is given.\n\nThe theory is asymptotic with fixed covariates and an unpenalized MLE; high-dimensional or regularized fits are explicitly out of scope (Remark 5). The in-sample procedure assumes the logistic canonical link and cannot detect intercept or slope errors—well-known but worth restating for applied readers.\n\nWho gets value from this paper? Methodologists working on model validation, especially anyone developing or using calibration tools. It would be a strong conference or journal paper after revision. The central idea is important and the execution is careful. The limitations are not hidden, they are structural to the approach, and the paper would benefit from helping readers decide when the method can be trusted versus when it needs the split-first workaround.\n\nRecommendation: Send to peer review. The paper deserves a serious referee. It advances the conversation on diagnostic testing, even if the guarantees are narrower than a casual reader might hope. The authors will have to address the fixed-departure issue more directly, but the core contribution is solid.","headline":"A serious, well-executed method for localizing misfit in logistic models, with transparent caveats that limit its immediate practical reach.","tokens_in":43563,"tokens_out":903,"duration_ms":10709},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"A procedure splits misfit in logistic risk models into four orthogonal parts and identifies which part needs fixing, with strong error control.","keywords":["Logistic risk model","Goodness of fit","Calibration","Closed testing","External validation","Score test","Model updating","Orthogonal decomposition"],"falsifier":"Simulate a logistic model with a large fixed slope error where the covariate structure part is zero, and test the procedure in external validation with $n=32,\\!000$: the rate of naming the covariate group should rise above $0.05$ (as Proposition 5 predicts), contradicting the claim of error control if it does not.","tokens_in":44193,"feed_emoji":"🔬","tokens_out":3728,"duration_ms":35576,"temperature":0.7,"pith_summary":"This paper argues that a single goodness-of-fit test for a logistic risk model is insufficient because it cannot tell the analyst what is wrong. The authors propose a procedure that decomposes any misfit into four orthogonal parts corresponding to the calibration hierarchy: overall risk (intercept), risk extremity (slope), curved relation (link), and within-group misfit (covariate structure). Each part is tested by a group of score tests, and closed testing identifies which parts are failing while controlling the familywise error rate. The highest named part indicates the simplest update (e.g., update intercept, recalibrate, change link, or revise the model) that would remove the misfit. In external validation, the procedure provides error-controlled localization; in-sample, it cannot detect intercept or slope problems but can identify link and covariate-structure issues.","feed_headline":"Four-part test pinpoints what is wrong with your risk model","feed_subtitle":"A procedure decomposes misfit into intercept, slope, link, and covariate parts, then names the failing ones with strong error control…","key_machinery":"The key machinery is the orthogonal decomposition of the misfit function $g = (\\pi - p_0)/w_0$ into four subspaces of $L^2(w)$: constant (intercept), centered score (slope), functions of score orthogonal to linear (link), and functions orthogonal to all score functions (covariate structure). For each subspace, a group of score statistics is constructed using projected basis functions, and the Cauchy combination test combines members within each group. The closed testing procedure (Marcus et al., 1976) then determines which parts are significantly non-zero while controlling familywise error rate. The Monte Carlo reference (external) or parametric bootstrap (in-sample) provides exact or asymptotically valid calibration.","core_discovery":"The central discovery is that any misfit in a logistic risk model, measured as the difference between true and predicted risk divided by binomial variance, can be uniquely decomposed into four orthogonal components aligned with the calibration hierarchy: calibration-in-the-large (intercept), weak calibration (slope), moderate calibration (link shape), and strong calibration (covariate structure). Using score tests with bases projected into each component and a closed testing procedure, the method achieves strong familywise error control: the probability of falsely naming any part with zero misfit is at most the chosen level. The highest named part corresponds to the lightest model update that eliminates the systematic misfit (up to estimation noise). A key theoretical finding is that in-sample checking can never detect intercept or slope errors, and with binary or skewed covariates, it can mistake covariate-structure misfit for a link issue.","pith_inferences":["The same orthogonal decomposition could be applied to other generalized linear models (e.g., Poisson, probit) by adjusting the inner product and the model's tangent space, potentially extending error-controlled localization to those settings.","The robust option using normal scores suggests a general strategy for reducing the influence of extreme covariate values in model diagnostics, which could be adapted for other regression diagnostics.","The split-first update-and-retest approach introduced for gross miscalibration could serve as a general template for validating model updates in small samples, combining error control on the test half with the lightest update from the training half."],"forward_implications":["Analysts will be able to move beyond a simple pass/fail goodness-of-fit test and instead diagnose the specific nature of misfit in a logistic risk model, leading to targeted model updates.","In external validation, the procedure can be applied to predictions from any model (including machine learning), providing error-controlled localization of misfit across populations.","The decomposition reveals that the Hosmer–Lemeshow test and other partition tests have power only against link misfit and cannot detect covariate-structure misfit, explaining their known blind spots.","In-sample checking is fundamentally limited: it can never detect an error in overall risk or calibration slope, regardless of sample size.","The procedure provides sample size calculations for detecting specific types of miscalibration before any outcomes are collected."],"supporting_citations":[{"why":"Defines the calibration hierarchy (calibration-in-the-large, weak, moderate, strong) that the four parts of misfit map onto.","marker":"Van Calster et al., 2016"},{"why":"Supplies the closed testing principle used to name failing parts with strong familywise error control.","marker":"Marcus et al., 1976"},{"why":"Provides the Cauchy combination method that combines p-values from multiple tests within each group into a single test statistic.","marker":"Liu and Xie, 2020"},{"why":"Establishes the asymptotic effect of parameter estimation on score statistics, which underlies the in-sample blindness to intercept and slope parts.","marker":"Pierce, 1982"},{"why":"Describes the model updating ladder (intercept update, logistic recalibration, flexible recalibration, model revision) that the procedure's verdicts target.","marker":"Steyerberg et al., 2004"}],"fun_headline_variants":["Four-part decomposition finds the exact fix for logistic risk models","Strong error control for locating misfit in logistic models","Internal validation blinds intercept and slope errors","External validation sees all four misfit components; internal misses two"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The error-control guarantees are proved under local alternatives (departures shrinking like $n^{-1/2}$) and assume a fixed number of covariates, unpenalized maximum likelihood fit, and certain moment conditions; for fixed large departures, the rate of naming a null group can exceed the nominal level.","fun_headline_variants_meta":{"raw":{"variants":["Four-part decomposition finds the exact fix for logistic risk models","Strong error control for locating misfit in logistic models","Internal validation blinds intercept and slope errors","External validation sees all four misfit components; internal misses two"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":7.1e-05,"raw_usage":{"cost":7.050568e-05,"is_byok":false,"cost_details":{"upstream_inference_cost":7.050568e-05,"upstream_inference_prompt_cost":3.690232e-05,"upstream_inference_completions_cost":3.360336e-05},"total_tokens":1400,"prompt_tokens":962,"completion_tokens":438,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":374}},"tokens_in":962,"tokens_out":438,"cost_source":"openrouter_usage","duration_ms":5535,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":374,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-14T23:06:23.837150+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":"Simulate a logistic model with a large fixed slope error where the covariate structure part is zero, and test the procedure in external validation with $n=32,\\!000$: the rate of naming the covariate group should rise above $0.05$ (as Proposition 5 predicts), contradicting the claim of error control if it does not.","supporting_citations":[{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Provides the Cauchy combination method that combines p-values from multiple tests within each group into a single test statistic."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}