Manuscript Offprint
arXiv:2610.11146Ranking Prior Alignment for Credit Risk Modeling: When Do External Priors Matter?
Abstract
Cold-start credit scoring – deploying models with scarce labeled data, weak features, or minimal capacity – is a recurring problem in financial machine learning. When a new lending product launches, labeled default data is scarce, feature pipelines are immature, and models must be deployed with minimal capacity to avoid overfitting. Standard defenses operate on the same limited data; what is needed is a source of external regularization grounded in domain knowledge.
We propose Ranking Prior Alignment, a model-agnostic framework that distills external ranking priors (from domain experts, teacher models, or LLMs) into any scoring model via a temperature-scaled KL divergence loss. The framework unifies neural (MIL attention) and tree-based (XGBoost custom objective) architectures through a single formulation: , where follows an exponential decay schedule. The method requires no external model at inference, and its tree-based instantiation tolerates annotation noise up to .
On an industrial dataset of over 1.5M merchants, MIL alignment achieves 7/7 positive evaluation cells at 3K bags (1 ID + 3 OOT + 3 degradation metrics; peak AUC = +0.020 on OOT-1), and XGBoost ablation achieves 9/9 positive metrics at 300 bags. Cross-dataset validation on public Amex shows 5/5 positive folds (avg AUC = +0.041). Four model families (MIL, XGBoost, LightGBM, Logistic Regression) and four teacher architectures show that the framework is both model-agnostic and prior-source-independent.
We further observe that alignment gains exhibit an inverse-scaling pattern: benefits grow as data abundance N, model capacity C, and feature quality Q decrease, helping practitioners decide when to invest in prior annotation.
CCS Concepts
• Computing methodologies → Neural networks; Machine learning; • Applied computing → Economics.
1 Introduction
Cold-start credit scoring, where models must be deployed with scarce labeled data, weak features, or minimal capacity, is a common challenge in financial machine learning. When a new lending product launches, labeled defaults are sparse, feature pipelines are immature, and models must be kept simple to avoid overfitting . Standard defenses (regularization, early stopping, temporal cross-validation) provide partial protection but operate on the same limited data. What is needed is a source of external regularization, grounded in domain knowledge rather than the statistics of the moment.
External ranking sources (domain experts, teacher models, or large language models) can provide such knowledge: which merchants exhibit anomalous behavior, how temporal patterns indicate gaming, and which characteristics signal instability. Recent work has demonstrated that LLM-derived priors improve tabular model performance . However, an open question remains: how to incorporate such priors into the training objective of diverse model architectures, without requiring external model access at inference.
We propose Ranking Prior Alignment, a model-agnostic framework that distills external ranking priors into the training objective of any scoring model via a Bayesian-inspired KL divergence regularizer. The framework unifies two instantiations, Multiple Instance Learning (MIL) attention alignment and XGBoost ranking alignment, through a single formulation: , where follows an exponential decay schedule. The method requires no external model at inference, is robust to annotation noise up to for tree-based models, and generalizes across four model families on two datasets. We further observe that alignment gains follow a consistent inverse-scaling pattern with data abundance, model capacity, and prior quality (Eq. 3), which helps practitioners decide when to invest in prior annotation (Figure 1).
Contributions
(1) Ranking Prior Alignment. We propose a model-agnostic, prior-source-agnostic framework for cold-start credit scoring, applicable to both neural (MIL) and tree-based (XGBoost/LightGBM) models with Bayesian -decay; requiring no external model at inference; validated on an industrial dataset of over 1.5M merchants (7/7 positive MIL cells; 9/9 XGBoost metrics) and public Amex (5/5 positive folds).
(2) Cross-Family Validation. Four model families (MIL, XGBoost, LightGBM, Logistic Regression) and four teacher architectures show improvements across all settings; the framework is prior-source-independent (Pearson , ).
(3) Empirical Inverse-Scaling Pattern. We further observe that alignment gains follow an inverse-scaling relationship with N, C, Q, and , helping practitioners decide when prior annotation is worth the cost.
2 Related Work
2.1 Multiple Instance Learning in Finance
Multiple Instance Learning [5] was originally introduced for drug activity prediction. The attention-based MIL framework [6] enables instance-level interpretability critical for regulatory compliance. In finance, MIL has been applied to credit scoring [7], fraud detection [8], and anomaly detection [9]. However, prior work has
Qiye Lu, Jiang Ji, and Liang Zhang
(a) Benefit shrinks with sample size

(b) Benefit diminishes with capacity

(c) Benefit scales with prior quality

Figure 1: Prior-guided learning is most beneficial under information scarcity. Empirical inverse-scaling relationship: (Eq. 3). (a) Gains diminish with increasing sample size ; (b) diminish with model capacity ; (c) grow with prior quality . The largest improvements occur in low-information regimes.
not addressed temporal distribution shift nor explored whether external domain knowledge can regularize attention against drift.
2.2 LLM-Guided Tabular Learning
Recent work explores LLMs for tabular data. TabLLM [2] uses LLMs as zero-shot tabular classifiers via row serialization. LLM-Boost [10] and ForestLLM [4] use LLM-generated feature representations for boosting and forests. LAAT [3] regularizes models toward LLM-generated feature attributions – the most conceptually similar prior work. Our approach differs fundamentally: we operate at the ranking level (not feature or label level), demonstrate consistent gains across varying conditions, and show model-agnosticism across MIL and XGBoost. Ranking-level operation is more robust under temporal shift than feature-level attribution, since ordinal relations between entities are more stable than absolute feature weights.
Table 1 positions our method against existing LLM-guided tabular approaches. Our approach differs in several respects: we operate at the ranking level (not feature or label level), incur zero LLM inference cost at deployment, show gains across varying conditions, and work across both neural (MIL) and tree-based (XGBoost) architectures.
2.3 Prior-Guided Learning and Distillation
A second line of work injects external knowledge into supervised learning through soft targets or auxiliary regularizers. Knowledge distillation [11] transfers a teacher's softmax distribution; Menon et al. [12] formalize a bias–variance view in which a calibrated teacher prior reduces estimator variance by an term, predicting the largest gains under data scarcity. Curriculum learning [13] provides a prior over example difficulty, and attribution-regularization methods such as LAAT [3] provide a prior over feature importance. For tabular models, Hsieh et al. [14] (Distilling Step-by-Step) and Lu et al. [15] jointly fit labels and LLM-derived rationales. Our work differs in that the prior is used as a cross-sample ranking distribution rather than a per-instance soft label, and we provide a quantitative characterization of when such prior guidance helps (information-scarcity regime) rather than merely that it helps.
Table 1: Comparison with LLM-Guided Tabular Methods
| Method | Align | LLM Inf. | Agnostic | Inv. Scal. | OOT Rob. |
|---|---|---|---|---|---|
| TabLLM | Label | Yes | No | No | No |
| LLM-Boost | Feature | No | Partial | No | No |
| ForestLLM | Feature | No | Partial | No | No |
| LAAT | Attrib. | No | Partial | No | No |
| Ours | Rank | No | Yes | Yes (3D) | Yes |
2.4 Distribution Shift and Credit Scoring
Temporal distribution shift is well-studied [1, 16, 17]. In credit scoring, ensemble methods dominate [18], and tree-based models such as XGBoost [19] and LightGBM [20] remain the industry standard. However, they lack mechanisms for incorporating distribution-independent priors – our framework targets this gap directly.
3 Problem Formulation
3.1 Bag-Level Risk Scoring
In merchant credit scoring, each merchant has multiple monthly transaction snapshots (instances), but default labels are only observed at the merchant level (bag). This natural bag-instance hierarchy makes MIL a structurally fitting choice. Formally, consider a set of entities (merchants or customers). For entity , we observe instances where each is a -dimensional feature vector. Only the bag-level label is available (default vs. non-default). The goal is to learn a function that predicts default probability.
3.2 The Ranking Alignment Problem
Both MIL and XGBoost face a common challenge: ranking without supervision. MIL must learn which instances within a bag are most risk-relevant (attention weights ), while XGBoost must learn which training samples deserve higher prediction scores (). Without external guidance, these rankings are learned solely from bag-level labels – a self-supervision problem. We define the general alignment objective as minimizing KL divergence between the model's learned ranking distribution and an externally-derived ranking distribution:
(1) where is derived from the model's output (attention weights or prediction scores) via softmax with temperature , and is derived from the external prior source.
3.3 Out-of-Time Generalization
Let be the data distribution over time window and be the distribution over for temporal gaps . The OOT degradation is:
3.4 Effective Information
We define the model's effective information as , where N is the number of training bags, C is the model capacity, and Q is the feature quality. Our central hypothesis is:
where is the prior quality. When is high (abundant data, strong model, discriminative features), the data likelihood dominates and the prior has negligible effect. When is low, the prior becomes the dominant force.
3.5 Operational Definitions of Q and C
Feature quality (mean absolute univariate discriminative power). On Amex: , , . Model capacity : for trees; for LR. We acknowledge that 's narrow variance (17%) limits its statistical power in pooled regression (§6.1).
4 The Framework
4.1 Prior Generation
Figure 2 illustrates the framework. An external prior source (LLM agent, teacher model, or domain expert) produces ranking scores on a sampled subset of training instances. For MIL, instance-level soft labels are generated within each bag; for XGBoost, bag-level risk scores serve directly as ranking priors. Annotations are a one-time cost reused across all configurations.
4.2 Ranking Alignment Objective
The core contribution is a model-agnostic alignment loss operating at the ranking level.
MIL Instantiation. The attention distribution is aligned toward the prior's importance scores, added to the standard binary cross-entropy (BCE) task loss:
XGBoost Instantiation. A custom objective aligns prediction rankings with the prior via ListNet-style [21] KL computed across all B training bags per iteration:
where and are min-max normalized predictions and prior scores. Gradients are derived analytically:
where is the chain factor from min-max normalization.
4.3 Two-Phase Training with Dynamic
Both instantiations use a warmup-alignment curriculum: standard task loss ( ) for initial rounds, then alignment with exponential decay:
Strong initial alignment ( ) shapes the model toward prior-informed patterns, then gradual release ( ) allows data-driven refinement.
4.4 Model Family Instantiations
MIL Model. Instance encoder: with Layer-Norm; Gated Attention [6] (dim 64); bag classifier: ; Adam, . XGBoost Model. Standard XGBoost [19] with bag-level features, augmented by the custom objective (Eqs. 6–7). Warmup-to-alignment transition via xgb_model continuation. Figure 3 illustrates how the unified alignment objective is instantiated for each architecture.
5 Experiments
We organize experiments to first validate the method’s effectiveness ( ), then examine cross-family generalization ( ) and ablation robustness ( ).
5.1 Experimental Setup
Datasets. (1) Seller_loan: over 1.5M merchants, millions of transaction instances, 401 features, 18 monthly windows (spanning 2024–2025), default rate ~27%, avg. bag size 3.6. (2) Amex Default Prediction [22]: 25K sampled customers, 188 features (delinquency , spend , payment , balance , risk ), natural MIL structure (avg. 12 monthly statements per customer), default rate 25.9%.
Evaluation. AUC is the primary metric. In-distribution (ID) AUC via 5-fold CV (out-of-fold, OOF), out-of-time (OOT) AUC on three temporally shifted windows (3, 9, 12 month gaps for Seller_loan). Degradation .
Alignment. Exponential decay schedule ( , ), temperature for Seller_loan. Prior source for Seller_loan: a commercial instruction-tuned LLM with (specifics provided upon acceptance). Prior source for Amex: teacher models trained on held-out features ( ).
Reproducibility. All experiments use seed=42 on a single A100 (40GB) GPU; total compute: ~24 GPU-hours (excluding one-time ~18 GPU-hour annotation cost). Anonymized code and Amex pipeline released upon acceptance; all Amex experiments (§5.2–5.3) are fully reproducible from public data.
Qiye Lu, Jiang Ji, and Liang Zhang

Figure 2: Ranking Prior Alignment Framework. (A) Construct a ranking prior from any source and convert scores to a probability distribution. (B) Align the model's ranking distribution with the prior via KL divergence (cross-sample), applicable to MIL attention and tree-based models. (C) Two-phase training with a decaying schedule: strong early alignment followed by gradual release.

Figure 3: Framework instantiation for two architectures. Both map model outputs to a ranking distribution and minimize the same KL divergence against a shared prior , differing only in how the model-side ranking is computed: MIL aggregates instance-level attention weights to bag-level rankings, while XGBoost ranks batch-level tree predictions directly.
5.2 Performance under Varying Sample Size
Main results. On the industrial Seller_loan dataset, MIL alignment achieves 7/7 positive evaluation cells at 3K bags (Table 2), and XGBoost ablation achieves 9/9 positive metrics at 300 bags (Table 10). On public Amex, 5/5 cross-validation folds are positive (avg AUC = +0.041). These results show that alignment improves performance; we now examine how the gain depends on sample size.
Seller_loan (MIL). Reference attention-MIL baseline (Table 2).
The alignment benefit grows from +0.0002 (93K IID) to +0.020 (3K OOT), with the largest gains in the cold-start regime. At 3K bags, the aligned MIL model achieves all-positive gains across ID, 3 OOT windows, and degradation metrics. Conversely, at 10K bags, the benefit drops to +0.002 – the model has sufficient data that the prior becomes redundant. The OOT setting amplifies the effect: distribution shift reduces the effective information in historical data, making the prior relatively more valuable.
Table 2: MIL Performance under Varying Sample Size (Reference Attention-MIL Baseline). The 3K block is the complete 7-cell evaluation: 1 ID + 3 OOT AUC cells plus 3 degradation-reduction cells (, positive = aligned degrades less) – all 7 in Aligned's favor.
| Setting | N Bags | Distribution | Δ |
|---|---|---|---|
| 93K IID | 93,789 | IID | +0.0002 |
| 3K IID | 3,000 | IID | +0.0027 |
| 10K OOT-1 | 10,000 | OOT (3mo gap) | +0.0018 |
| 3K ID (OOF) | 3,000 | Single-month | +0.0083 |
| 3K OOT-1 | 3,000 | OOT (3mo gap) | +0.0202 |
| 3K OOT-2 | 3,000 | OOT (9mo gap) | +0.0087 |
| 3K OOT-3 | 3,000 | OOT (12mo gap) | +0.0150 |
| 3K OOT-1 degr. | 3,000 | δ reduction | +0.0119 |
| 3K OOT-2 degr. | 3,000 | δ reduction | +0.0004 |
| 3K OOT-3 degr. | 3,000 | δ reduction | +0.0067 |
Amex (XGBoost). We validate on the public Amex Default Prediction dataset [22], simulating a realistic cold-start scenario: a new credit product where delinquency history (, , ) is unavailable, and only behavioral features (, ) can be used. We select 10 COLD_START features with moderate individual AUC (0.63–0.70). Following the framework's prior-agnostic formulation (§6.1), we instantiate the prior as a teacher model trained on the full feature set, emulating mature-line expertise transferred to the cold-start sub-product. This instantiation isolates the three-axis relationship from the Seller_loan-specific LLM prior.
At 100 bags with ultra-weak XGBoost (Table 3), – the largest gain across the tree-based experiments. 5-fold cross-validation yields: 5/5 positive folds, avg (fold deltas: +0.002, +0.006, +0.043, +0.103, +0.048). As increases (200 → 500), the benefit diminishes to near zero. Cross-family data scaling is consistent: XGBoost gains shrink from +0.049 (100 bags; Table 3)
Table 3: Data Scarcity and Model Strength (Amex, COLD_START features, teacher prior)
| N Bags | Model | d/n | BL Test | AL Test | Test | |
|---|---|---|---|---|---|---|
| 100 | ultra-weak | 2/15 | 1.5/0.3 | 0.7626 | 0.8119 | +0.049 |
| 200 | ultra-weak | 2/15 | 1.5/0.3 | 0.8368 | 0.8398 | +0.003 |
| 200 | weak | 2/20 | 1.0/0.5 | 0.8540 | 0.8678 | +0.014 |
| 200 | std-weak | 3/30 | 0.8/1.0 | 0.8787 | 0.8806 | +0.002 |
| 300 | ultra-weak | 2/15 | 1.5/0.3 | 0.8586 | 0.8504 | -0.008 |
| 500 | ultra-weak | 2/15 | 1.5/0.3 | 0.8599 | 0.8617 | +0.002 |
to +0.008 (300 bags; Table 5), and LR from +0.091 (30 bags) to -0.001 (1000 bags; Table 9); LightGBM shows the same diminishing pattern along the capacity axis (Table 5).
5.3 Performance across Model Capacities
Seller_loan (XGBoost). Three capacity configurations at 300 bags.
At 3K bags (Table 4), even a weak model has sufficient data for the logloss to dominate, and alignment introduces unnecessary bias (weak_3k: 1/3 wins). But at 300 bags with the same weak XGBoost, alignment produces 3/3 OOT wins with . The strong model (d=6, n=200) at 3K shows only marginal benefit (2/3 wins). This directly supports the capacity axis: the weaker the model relative to the task difficulty, the more alignment helps.
Cross-family model strength gradient (Amex, 300 bags).
All three families show diminishing gains with increasing capacity: decreases monotonically from ultra-weak to strong ( for XGBoost; for LightGBM). LR appears anomalous at standard regularization (, all produce ), but this is a regime artifact: at these settings the linear model's effective capacity is still sufficient for the data likelihood to dominate. Pushing LR into its true ultra-weak regime (, , ) recovers the largest observed gain – supporting the view that the same pattern is consistent across all families.
5.4 Effect of Prior Quality
Feature quality gradient.
Alignment helps at intermediate (Table 6): features too weak cannot leverage the prior; features too strong do not need it. An uninformative (random) prior likewise yields no reliable gain (Table 7), indicating that gains require informative priors.
Prior quality gradient. Six-level prior degradation (100 bags, ultra-weak XGBoost/LightGBM):
XGBoost correlates with (Table 7): Pearson (). The random prior's CI includes zero (). LightGBM is robust: even noise delivers of oracle gain.
Prior source independence. Four architecturally distinct teachers (XGBoost, Random Forest, MLP, Logistic Reg.) on Amex full-feature pool, ultra-weak students (100 bags):
tracks with Pearson (; Table 8); suggests the pattern depends on prior informativeness, not functional form.
5.5 Cross-Family Generalization
LR recovery grid. A 192-cell factorial grid over , , (3 seeds per cell):
Table 4: Performance across Model Capacities (Seller_loan)
| Config | N | Depth | OOT | Wins | Pattern | |
|---|---|---|---|---|---|---|
| strong_3k | 3,000 | 6 | 200 | +0.0032 | 2/3 | Marginal |
| weak_3k | 3,000 | 3 | 30 | -0.0129 | 1/3 | Harmful |
| weakest_300 | 300 | 3 | 30 | +0.0134 | 3/3 | Strong |
Table 5: Cross-Model-Family Alignment (Amex, 300 bags, teacher prior)
| Family | Strength | BL | AL | ||
|---|---|---|---|---|---|
| XGBoost | Ultra-weak (d2/n15) | 1.5/0.3 | 0.832 | 0.840 | +0.008 |
| Weak (d3/n30) | 0.8/0.5 | 0.886 | 0.887 | +0.001 | |
| Strong (d6/n200) | 0.3/1.0 | 0.883 | 0.881 | -0.001 | |
| LightGBM | Ultra-weak (d2/n15) | 1.5/0.3 | 0.840 | 0.859 | +0.019 |
| Weak (d3/n30) | 0.8/0.5 | 0.886 | 0.881 | -0.005 | |
| Strong (d6/n200) | 0.3/1.0 | 0.881 | 0.869 | -0.012 | |
| Logistic Reg. | Default (, ) | 0.5/1.0 | 0.856 | 0.823 | -0.033 |
| Strong (, ) | 0.3/1.0 | 0.864 | 0.852 | -0.012 | |
| Ultra-weak (, , ) | 0.5/1.0 | 0.553 | 0.644 | +0.091 |
Table 6: Feature Quality Gradient (Amex, 200 bags, teacher prior)
| Feature Set | # Feats | Indiv AUC | BL Test | AL Test | Test |
|---|---|---|---|---|---|
| WEAKER | 14 | 0.52–0.59 | 0.7349 | 0.7303 | -0.005 |
| COLD_START | 10 | 0.63–0.70 | 0.8368 | 0.8398 | +0.003 |
| STRONGER | 22 | 0.75–0.84 | 0.8627 | 0.8614 | -0.001 |
Table 7: Prior Quality Gradient (100 bags, ultra-weak models, COLD_START, 3 seeds)
| Prior | (Spearman ) | XGB AUC | LGB AUC |
|---|---|---|---|
| Full teacher | 0.665 | +0.059 | +0.034 |
| Weak teacher | 0.663 | +0.058 | +0.035 |
| Ultra-weak teacher | 0.639 | +0.047 | +0.035 |
| Teacher + 30% noise | 0.637 | +0.054 | +0.036 |
| Teacher + 60% noise | 0.557 | +0.046 | +0.035 |
| Random | 0.005 | +0.007 | +0.025 |
The ridge (Table 9) is monotonic in , matching the XGBoost/LightGBM curves. Across all 192 cells: Pearson (), Spearman (). Top-quartile (low-information) cells average ; bottom quartile: -0.012. This demonstrates that LR exhibits the same pattern once pushed into its own ultra-weak regime – the earlier negative results (, ) are observations from the high-information half of the curve where the relationship predicts .
5-fold cross-validation. 300 bags, COLD_START/, teacher prior, ultra-weak:
-
XGBoost (d2/n15): avg , positive 4/5 folds
-
LightGBM (d2/n15): avg , positive 5/5 folds
-
Logistic Reg. (, ): avg , positive 3/5 folds
Qiye Lu, Jiang Ji, and Liang Zhang
Table 8: Prior Source Independence (Amex, 100 bags, 3 seeds)
| Teacher | XGB | LGB | ||
|---|---|---|---|---|
| XGBoost | 0.663 | +0.029 | +0.028 | 0.044 |
| Rand. Forest | 0.651 | +0.022 | +0.029 | 0.034 |
| MLP | 0.658 | +0.025 | +0.029 | 0.038 |
| Logistic Reg. | 0.663 | +0.029 | +0.028 | 0.044 |
Table 9: Logistic Regression: N-Scan at the Ultra-Weak Ridge , Features
| BL AUC | AL AUC | AUC | |
|---|---|---|---|
| 30 | 0.553 | 0.644 | +0.091 |
| 50 | 0.582 | 0.638 | +0.057 |
| 80 | 0.601 | 0.629 | +0.027 |
| 120 | 0.617 | 0.628 | +0.011 |
| 200 | 0.628 | 0.628 | +0.000 |
| 500 | 0.642 | 0.640 | -0.002 |
| 1000 | 0.648 | 0.647 | -0.001 |
5.6 Ablation Studies
XGBoost all-positive pattern. Ranking alignment on weakened XGBoost (depth=3, ) with 300 bags achieves 9/9 positive metrics (Table 10).
Binomial sign test ; 5-fold mean , 95% bootstrap CI , excluding zero. The OOT-2 gain of +0.0205 is the largest single-window improvement across both model families. This 9/9 sweep is achieved with only 300 bags — 10× fewer than the MIL 7/7 result (3K bags), showing that the method works in low-data settings. Caveat: the 9 cells are not independent (CV folds share training data; OOT windows are temporally adjacent), so the sign test is an aggregate indicator; per-window gains and the 5-fold Amex ablation provide stricter evidence.
schedule comparison. Six schedules on 300-bag weakened XGBoost (Table 11):
Only exponential decay achieves 3/3 OOT wins. Fixed and cosine schedules fail on OOT-3 (0.684 and 0.681 vs. baseline 0.699), suggesting that persistent alignment impairs OOT generalization. High--start + decay schedules (exp, step, linear) tend to dominate low/fixed- on the longest-horizon OOT windows, supporting the “strong initial guidance, then release” principle.
Noise tolerance. Bernoulli noise on prior scores (300-bag XGBoost; Table 12):
All noise levels maintain 3/3 OOT wins. Even at (50% random replacement), OOT-3 remains +0.013 above baseline. This contrasts sharply with MIL, where erases alignment benefit entirely — MIL operates at the instance level (high sensitivity to individual noise) while XGBoost operates at the bag level (aggregated rankings are smoother). This result has practical significance: imperfect priors from noisy LLM annotations remain useful for tree-based models (Figure 4).
Temperature sensitivity. sweep on ultra-weak XGB/LGB at 100 and 300 bags (Table 13):
Sweet spot ; positive across for both families.
Table 10: XGBoost All-Positive Pattern — 300 Bags, Weakened Model (exp_decay : 0.8→0.05)
| Metric | Baseline | Aligned | |
|---|---|---|---|
| ID AUC (5-fold) | 0.7412 | 0.7517 | +0.0105 |
| Fold 1 | 0.8178 | 0.8304 | +0.0126 |
| Fold 2 | 0.7483 | 0.7691 | +0.0208 |
| Fold 3 | 0.7060 | 0.7073 | +0.0013 |
| Fold 4 | 0.7985 | 0.8296 | +0.0311 |
| Fold 5 | 0.6548 | 0.6652 | +0.0104 |
| OOT-1 (3mo gap) | 0.8006 | 0.8075 | +0.0069 |
| OOT-2 (9mo gap) | 0.7517 | 0.7722 | +0.0205 |
| OOT-3 (12mo gap) | 0.6986 | 0.7112 | +0.0126 |
| Total wins | 9/9 |
Table 11: Schedule Comparison — XGBoost, 300 Bags
| Schedule | Range | ID | OOT-1 | OOT-2 | OOT-3 | Wins |
|---|---|---|---|---|---|---|
| Baseline | 0.7412 | 0.8006 | 0.7517 | 0.6986 | — | |
| Fixed | 0.7531 | 0.8076 | 0.7484 | 0.6840 | 1/3 | |
| Cosine warmup | 0.7522 | 0.8074 | 0.7521 | 0.6805 | 1/3 | |
| Linear decay | 0.7470 | 0.8068 | 0.7692 | 0.7080 | 2/3 | |
| Exp decay | 0.7517 | 0.8075 | 0.7722 | 0.7112 | 3/3 | |
| Step decay | 0.7514 | 0.8085 | 0.7716 | 0.7091 | 2/3 |
Table 12: XGBoost Noise Tolerance — Sweep (exp_decay, 300 Bags)
| OOT-1 | OOT-2 | OOT-3 | OOT Wins | |
|---|---|---|---|---|
| 0.0 | +0.0069 | +0.0205 | +0.0126 | 3/3 |
| 0.1 | +0.0070 | +0.0205 | +0.0126 | 3/3 |
| 0.2 | +0.0070 | +0.0205 | +0.0126 | 3/3 |
| 0.3 | +0.0070 | +0.0205 | +0.0125 | 3/3 |
| 0.4 | +0.0047 | +0.0183 | +0.0131 | 3/3 |
| 0.5 | +0.0045 | +0.0183 | +0.0133 | 3/3 |

Figure 4: Robustness checks and ablation studies. Alignment remains beneficial across all prior noise levels for tree-based models, demonstrating tolerance to imperfect priors.
Table 13: Temperature Sensitivity (ultra-weak models, teacher prior, COLD_START)
| 100 bags | 300 bags | |||
|---|---|---|---|---|
| XGB | LGB | XGB | LGB | |
| 0.1 | +0.017 | +0.027 | +0.003 | +0.024 |
| 0.3 | +0.029 | +0.029 | +0.013 | +0.016 |
| 0.5 | +0.035 | +0.022 | +0.009 | +0.010 |
| 1.0 | +0.029 | +0.013 | +0.007 | +0.011 |
| 2.0 | +0.003 | +0.009 | +0.008 | +0.011 |
| 5.0 | -0.005 | +0.009 | +0.008 | +0.011 |
6 Discussion
6.1 Why Does Prior-Guided Learning Work?
Across four model families and two datasets, alignment gains consistently follow the inverse-scaling pattern of Eq. 3. We now ask why this pattern arises.
PAC-Bayes interpretation. Treating as a Bayesian prior over hypotheses and the trained model as a posterior , the McAllester-style bound [23, 24] states that with probability at least :
Three properties of this bound connect directly to our empirical axes: (1) Sample size appears in the denominator: as shrinks, the prior term dominates — explaining . (2) Prior quality corresponds to : a prior aligned with the optimal ranking tightens the bound, while a random prior leaves it large (validated by in our prior-quality gradient). (3) Capacity and feature quality modulate how far can deviate from : higher capacity inflates , shifting the regime from prior-dominated to likelihood-dominated.
Causal chain. The mechanism can be summarized as: Information Scarcity (low the prior becomes the dominant signal Ranking Alignment tightens Generalization Gain (). The dynamic schedule mirrors simulated annealing [25]: acts as an inverse temperature whose decay lets the likelihood progressively dominate, so the prior guides but does not constrain the final solution. This is consistent with the bias-variance view of distillation [12], which derives a complementary variance reduction from a high-quality teacher prior. The bound depends on only through , not its source, explaining why the pattern is prior-source-independent ( across four teacher architectures).
Quantifying the pattern. To quantify each axis's marginal contribution, we fit .
Table 14 reports the results. Both and are negative and significant, providing multivariate support for the observed pattern. is positive but not significant (narrow variance: ). A prior-gradient-only regression yields with (). We emphasize that this regression is intended as a coarse first-order approximation of
Table 14: Log-Linear Scaling Regression (; 95% CI in brackets; *** )
| Term | LR-only (n=194) | Pooled (n=216) |
|---|---|---|
| Intercept | -2.443*** | -2.428*** |
| log N | -0.067*** | -0.072*** |
| log C | -0.059*** | -0.060*** |
| log Q | +0.213 (n.s.) | +0.214 (n.s.) |
| log π | — | +0.064 (n.s.) |
| Family FE | — | All sig. |
| / adj. | 0.266 / 0.255 | 0.424 / 0.402 |
how alignment gain co-varies with the four axes, not a causal model: the cells are not independent samples, and unmodeled interactions (e.g., ) can absorb part of the signal. Figure 5 synthesizes this causal chain into a unified conceptual picture.
6.2 Practical Guidelines and Limitations
When to use. Cold-start scenarios (, new products, thin markets), each family in its ultra-weak regime. Defaults: exponential decay (), ; min 30 bags (LR) or 100 bags (XGB). XGBoost tolerates noise.
When prior alignment fails. The same inverse-scaling pattern predicts where the framework offers little or no benefit, and our experiments make these failure modes explicit. (i) Information abundance: any family outside its ultra-weak regime – LR at with (, Table 5), XGB depth at 3K bags (), MIL at ( vs. at 3K) – where the data likelihood already dominates and the prior introduces unnecessary bias. (ii) Prior-quality collapse: a random (shuffled) prior with yields (XGB, n.s.); gains require informative priors, not mere regularization. (iii) Persistent alignment: fixed and cosine schedules under-perform on OOT-3 (0.684/0.681 vs. 0.699 baseline), indicating that the prior should guide initialization, not constrain the final solution.
Limitations. The Seller_loan dataset is proprietary (public validation limited to Amex); the inverse-scaling relationship is an empirical pattern, not a formal theorem; prior annotation incurs a one-time cost ( GPU-hours). The influence of appears more dataset-dependent than and and warrants further investigation. Amex teacher prior. The teacher model (XGBoost on ) is trained on the same dataset's held-out features – a legitimate prior transfer (full-feature model cold-start sub-product), not data leakage, since the teacher's predictions are used only as ranking targets, not labels. Fully external priors (e.g., from a different dataset's model) remain to be tested.
7 Conclusion
We proposed Ranking Prior Alignment, a framework that injects external ranking knowledge – from domain experts, teacher models, or LLMs – into the training loss of credit scoring models through a decaying KL regularizer, applicable to both neural and tree-based architectures. The framework requires no external model at inference, generalizes across four model families, and is prior-source-independent.
The framework is effective in cold-start credit scoring: an industrial dataset of over 1.5M merchants achieves 7/7 positive cells at
Qiye Lu, Jiang Ji, and Liang Zhang

Unified empirical inverse-scaling pattern
Figure 5: Why does prior-guided learning work? A conceptual synthesis. When information is scarce (low N, C, Q), the prior becomes the dominant signal; a high-quality prior ( large) tightens and produces alignment gain. This chain supports the unified empirical pattern: (Eq. 3).
3K bags, and public Amex validation yields 5/5 positive folds (avg ; peak +0.091 at 30-bag Logistic Regression).
For credit risk practitioners, these findings yield a simple decision rule: invest in external prior annotation when labeled data, model capacity, or feature pipelines are individually weak — the cold-start conditions common to new lending products and thin markets; skip it when any one of these axes is already strong enough to let the data speak for itself. Extending to fully cross-institutional priors from different datasets is left to future work.
References
[1] J. Quionero-Candela, M. Sugiyama, A. Schwaighofer, and N.D. Lawrence. Dataset Shift in Machine Learning. MIT Press, 2009.
[2] S. Hegselmann, A. Buendia, H. Lang, M. Agrawal, X. Jiang, and D. Sontag. TabLLM: Few-shot Classification of Tabular Data with Large Language Models. In Proceedings of AISTATS '23, PMLR 206:5549–5581, 2023.
[3] D. Vukadin, M. Silić, and G. Delač. Large Language Models as Attribution Regularizers for Efficient Model Training. In Proceedings of xAI '25, Springer CCIS, pp. 68–90, 2025.
[4] Z. Yang, J. Wei, X. Zhang, et al. ForestLLM: Large Language Models Make Random Forest Great on Few-shot Tabular Learning. arXiv:2601.11311, 2026.
[5] T.G. Dietterich, R.H. Lathrop, and T. Lozano-Pérez. Solving the Multiple Instance Problem with Axis-Parallel Rectangles. Artificial Intelligence, 89(1-2):31–71, 1997.
[6] M. Ilse, J. Tomczak, and M. Welling. Attention-based Deep Multiple Instance Learning. In Proceedings of ICML '18, PMLR 80:2127–2136, 2018.
[7] W. Zhang, W. Xu, H. Hao, and D. Zhu. Cost-sensitive multiple-instance learning method with dynamic transactional data for personal credit scoring. Expert Systems with Applications, 157:113489, 2020.
[8] D. Babaev, M. Savchenko, A. Tuzhilin, and D. Umerenkov. E.T.-RNN: Applying Deep Learning to Credit Loan Applications. In Proceedings of KDD '19, pp. 2183–2190, 2019.
[9] M. Ahmed, A.N. Mahmood, and M.R. Islam. A survey of anomaly detection techniques in financial domain. Future Generation Computer Systems, 55:278–288, 2016.
[10] M. Jayawardhana, R. Tu, S. Dooley, V. Cherepanova, A.G. Wilson, F. Hutter, C. White, T. Goldstein, and M. Goldblum. Transformers Boost the Performance of Decision Trees on Tabular Data across Sample Sizes. arXiv:2502.02672, 2025.
[11] G. Hinton, O. Vinyals, and J. Dean. Distilling the Knowledge in a Neural Network. arXiv:1503.02531, 2015.
[12] A.K. Menon, A.S. Rawat, S. Reddi, S. Kim, and S. Kumar. A Statistical Perspective on Distillation. In Proceedings of ICML '21, PMLR 139:7632–7642, 2021.
[13] Y. Bengio, J. Louradour, R. Collobert, and J. Weston. Curriculum Learning. In Proceedings of ICML '09, pp. 41–48, 2009.
[14] C.-Y. Hsieh, C.-L. Li, C.-K. Yeh, et al. Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes. In Findings of ACL '23, pp. 8003–8017, 2023.
[15] S. Lu, Y. Su, X. Zhang, J. Chai, and L. Yu. LLM-infused bi-level semantic enhancement for corporate credit risk prediction. Information Processing & Management, 62(4):104091, 2025.
[16] J.G. Moreno-Torres, T. Raeder, R. Alaiz-Rodriguez, N.V. Chawla, and F. Herrera. A Unifying View on Dataset Shift in Classification. Pattern Recognition, 45(1):521–530, 2012.
[17] S. Rabanser, S. Günnemann, and Z. Lipton. Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shift. In Advances in NeurIPS '19, 32, 2019.
[18] S. Lessmann, B. Baesens, H.-V. Seow, and L.C. Thomas. Benchmarking state-of-the-art classification algorithms for credit scoring: An update of research. European Journal of Operational Research, 247(1):124–136, 2015.
[19] T. Chen and C. Guestrin. XGBoost: A Scalable Tree Boosting System. In Proceedings of KDD '16, pp. 785–794, 2016.
[20] G. Ke, Q. Meng, T. Finley, T. Wang, W. Chen, W. Ma, Q. Ye, and T.-Y. Liu. LightGBM: A Highly Efficient Gradient Boosting Decision Tree. In Advances in NeurIPS '17, 30, 2017.
[21] Z. Cao, T. Qin, T.-Y. Liu, M.-F. Tsai, and H. Li. Learning to Rank: From Pairwise Approach to Listwise Approach. In Proceedings of ICML '07, pp. 129–136, 2007.
[22] American Express. American Express - Default Prediction. https://www.kaggle.com/competitions/amex-default-prediction, 2022.
[23] D.A. McAllester. PAC-Bayesian Model Averaging. In Proceedings of COLT '99, pp. 164–170, 1999.
[24] O. Catoni. PAC-Bayesian Supervised Classification: The Thermodynamics of Statistical Learning. IMS Lecture Notes Monograph Series 56, 2007.
[25] D.J.C. MacKay. Bayesian Interpolation. Neural Computation, 4(3):415–447, 1992.