Offline Deep Reinforcement Learning for Dynamic Pricing of Consumer Credit

Raad Khraishi, Ramin OkhratiarXiv 2022

TL;DR

This paper introduces a method for personalized consumer credit pricing using Offline Deep Reinforcement Learning. By leveraging the Conservative Q-Learning (CQL) algorithm, the authors demonstrate that a lender can learn a profit-maximizing pricing policy from static historical data without risky online experimentation or restrictive assumptions about the functional form of consumer demand.

What Problem Does This Paper Address?

Setting interest rates for products like mortgages and auto loans is a high-stakes balancing act. Lenders must account for immediate rewards (underwriting fees), long-term risks (default), and market competitiveness (price sensitivity).

Traditional approaches fall into two camps:

  1. Risk-based pricing: Adding a fixed margin to the expected cost of default.
  2. Profit-based pricing: Using a price-response model to find the rate that maximizes expected profit.

However, these methods often rely on "myopic" decisions that ignore long-term consequences and make rigid assumptions about how customers respond to prices. While Reinforcement Learning (RL) could theoretically solve this by treating pricing as a sequential decision process, Online RL—learning through trial and error—is practically impossible in finance. Setting "wrong" prices for experimentation would lead to massive financial losses and reputational damage. The challenge, therefore, is learning an optimal policy from a static, historical dataset where the agent cannot interact with the environment to see what happens if it deviates from past pricing.

Methods

The authors formulate credit pricing as a Markov Decision Process (MDP):

  • State ($s$): Loan application details (FICO score, loan amount, term, competitor rates, etc.).
  • Action ($a$): The interest rate (APR) quoted to the applicant.
  • Reward ($r$): A simplified expected profit measure that factors in the probability of acceptance, interest income, capital costs, and the probability of default.

To learn from static data, they employ Conservative Q-Learning (CQL). Standard off-policy RL algorithms often suffer from distributional shift: they become overly optimistic about the value of actions not present in the training data. CQL mitigates this by adding a regularization term that penalizes Q-values for out-of-distribution actions, ensuring the learned policy stays grounded in what has actually been observed.

Datasets

The study utilizes two primary data sources:

  1. Real-World Auto Loan Data: A dataset from a U.S. online lender containing ~200,000 approved applications from 2002–2004. It includes features like FICO scores, loan terms, and whether the customer ultimately accepted the offer.
  2. Synthetic Datasets: To test robustness, the authors created synthetic versions of the auto loan data using various demand models (logistic, segmented, time-varying, and neural networks). This allowed them to evaluate the policy against a "ground truth" optimal return.

Key Insights and Ideas

  • Model-Free Advantage: Unlike traditional profit-based pricing, this RL approach doesn't require an explicit assumption about the "shape" of the demand curve (e.g., assuming it's a logistic function). The agent implicitly learns price responsiveness from the data.
  • The Value of Conservatism: The authors found that without the CQL penalty ($\alpha \approx 0$), the model's performance collapsed due to overestimating unseen actions. Increasing conservatism led to much more stable and effective policies.
  • Personalization through Implicit Estimation: The CQL policy learned to significantly reduce prices for applicants who had previously rejected historical offers (by ~28%) while maintaining prices for those likely to accept (at ~95% of historical levels). This suggests the model successfully identified individual price sensitivity.

Key Results

  • Profit Increase: On the real-world test set, the CQL policy achieved an approximately 21% increase in expected profit compared to the historical pricing policy.
  • Stability: This profit boost was achieved while maintaining a mean absolute percentage deviation in price of less than 15% from the historical baseline.
  • Robustness: In synthetic tests, the CQL policy remained effective even when the underlying demand behavior was complex (e.g., time-varying or non-linear), whereas traditional optimization methods were highly sensitive to model misspecification.
Figure 1: Performance of the CQL policy on the test set for a single seed. Cumulative expected reward is estimated using the baseline logistic regression price-response model.

As seen in Figure 1(a) above, the CQL policy consistently outperforms the historical baseline in cumulative reward over the test period. Figure 1(b) (below) illustrates that the CQL policy tends to shift the price distribution slightly lower to capture more demand, moving the average price from 6.8% to 5.9%.

Price distribution comparison between historical and CQL policies.

Limitations and Future Work

  • Ethical Biases: The authors warn that an RL agent trained on historical data may inadvertently learn and recreate existing biases (e.g., unfair pricing for protected groups). Future work must incorporate fairness constraints.
  • Delayed Rewards: In reality, a loan's true profitability isn't known until the end of its term (which could be years). The current model uses expected rewards; future iterations could better incorporate actual long-term customer behavior.
  • Action Space Expansion: The current study focuses only on interest rates. The authors suggest extending the action space to include the initial underwriting decision (approve/decline) and portfolio-level risk requirements.

Summary updated

BibTeX
@misc{khraishi2022offline,
  author = {Raad Khraishi and Ramin Okhrati},
  title = {{Offline Deep Reinforcement Learning for Dynamic Pricing of Consumer Credit}},
  year = {2022},
  eprint = {2203.03003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.03003},
}
Figure