The Causal Impact of Credit Lines on Spending Distributions

Yijun Li, Cheuk Hang Leung, Xiangqian Sun, Chaoqun Wang, Yiyan Huang, Xing Yan, Qi Wu, Dongdong Wang, Zhixiang Huang

Abstract

Consumer credit services offered by e-commerce platforms provide customers with convenient loan access during shopping and have the potential to stimulate sales. To understand the causal impact of credit lines on spending, previous studies have employed causal estimators, based on direct regression (DR), inverse propensity weighting (IPW), and double machine learning (DML) to estimate the treatment effect. However, these estimators do not consider the notion that an individual's spending can be understood and represented as a distribution, which captures the range and pattern of amounts spent across different orders. By disregarding the outcome as a distribution, valuable insights embedded within the outcome distribution might be overlooked. This paper develops a distribution-valued estimator framework that extends existing real-valued DR-, IPW-, and DML-based estimators to distribution-valued estimators within Rubin's causal framework. We establish their consistency and apply them to a real dataset from a large e-commerce platform. Our findings reveal that credit lines positively influence spending across all quantiles; however, as credit lines increase, consumers allocate more to luxuries (higher quantiles) than necessities (lower quantiles).

Introduction

Traditional causal inference typically asks: "If we change $X$, how much does the average of $Y$ change?" In the context of "Buy Now, Pay Later" (BNPL) services, this means measuring how a credit line increase affects a customer's average order value. However, "average spending" is a blunt instrument that hides complex consumer behavior.

Figure 1: Comparison of spending distribution shifts for two consumers after a credit line increase. Consumer A shows a simple mean shift, while Consumer B exhibits a change in distribution shape, which a scalar mean would fail to capture.

As shown in Figure 1, two customers might have the same average spending, but vastly different patterns. If a credit increase causes a person to buy more luxury items while keeping spending on necessities constant, a scalar "average" fails to capture this specific behavioral shift. The challenge lies in the fact that classical causal frameworks are designed for scalars. Performing operations on distributions—which are functional objects—requires a geometric approach to ensure that the "mean" of several distributions remains a valid, representative distribution.

Methodology

The researchers extend three standard causal estimators—Direct Regression (DR), Inverse Propensity Weighting (IPW), and Double Machine Learning (DML)—to the Wasserstein space, a mathematical framework for comparing distributions based on optimal transport.

A key innovation is the use of the Wasserstein Barycenter instead of a standard Euclidean mean. As illustrated in Figure 5, a standard Euclidean mean of distributions can destroy their inherent structure (e.g., the average of two Gaussian distributions isn't necessarily Gaussian). The Wasserstein Barycenter preserves the "shape" of consumer behavior, which is essential for accurate causal mapping.

Figure 5: Comparison between Euclidean Mean and Wasserstein Barycenter. The Barycenter preserves the unimodal shape of the underlying distributions, whereas the Euclidean mean creates a distorted, multimodal representation.

To power these estimators, the Neural Functional Regression Net (NFR Net) was developed. Unlike traditional linear functional regressions, NFR Net uses deep learning to capture non-linear relationships between scalar inputs (like age or income) and functional outputs (the spending distribution). The network employs a "continuous layer" with pre-defined basis functions (like B-splines) to ensure the output is a smooth, valid quantile function.

Empirical Results

The framework was tested on a synthetic dataset of 5,000 instances and a real-world dataset of 4,043 users from JD Digits, a major e-commerce platform. The real-world data tracked 24 months of demographic info, purchase history, and assigned credit lines.

The study categorized credit lines into Low ($0–9k$), Middle ($9k–15k$), and High ($>15k$). Key findings include:

  • Universal Increase: Credit lines positively influenced spending across all quantiles.
  • The Luxury Effect: The shift was dramatically skewed toward the high end of the distribution. At the 10% quantile (representing necessities), moving from a Low to a High credit line only increased spending by 9.3%. Conversely, at the 90% quantile (representing luxuries), the same credit increase led to a 167.8% jump in spending.
  • Estimator Performance: The DML estimator proved to be the most effective and robust, successfully correcting for selection biases inherent in platform credit assignment.

Conclusion

This paper introduces a novel framework where the outcome of an intervention is a probability distribution. By applying this to e-commerce data, we demonstrate that increasing credit lines doesn't just raise average spending—it fundamentally shifts spending patterns toward luxury purchases. Future work will explore treating credit lines as a continuous treatment variable and extending the model to multivariate distributions to capture the joint behavior of spending and credit risk.

Summary updated

BibTeX
@inproceedings{li2024causal,
  author = {Yijun Li and Cheuk Hang Leung and Xiangqian Sun and Chaoqun Wang and Yiyan Huang and Xing Yan and Qi Wu and Dongdong Wang and Zhixiang Huang},
  title = {{The Causal Impact of Credit Lines on Spending Distributions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i1.27769},
}
Figure