Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning for Individual Heterogeneity

Max H. Farrell, Tengyuan Liang|arXiv (Cornell University)|Oct 28, 2020
Monetary Policy and Economic ImpactEconomics, Econometrics and Finance49 references7 citations
TL;DR

This paper proposes a deep learning framework that recasts economic model parameters as flexible, nonparametric functions of observable covariates to capture individual heterogeneity while preserving interpretability and structural integrity. It enables valid inference via a novel, automatic influence function calculation that requires no manual derivation, covering diverse models from treatment effects to multinomial choice and production functions with provably consistent convergence rates.

ABSTRACT

This paper integrates deep neural networks (DNNs) into structural economic models to increase flexibility and capture rich heterogeneity while preserving interpretability. Economic structure and machine learning are complements in empirical modeling, not substitutes: DNNs provide the capacity to learn complex, non-linear heterogeneity patterns, while the structural model ensures the estimates remain interpretable and suitable for decision making and policy analysis. We start with a standard parametric structural model and then enrich its parameters into fully flexible functions of observables, which are estimated using a particular DNN architecture whose structure reflects the economic model. We illustrate our framework by studying demand estimation in consumer choice. We show that by enriching a standard demand model we can capture rich heterogeneity, and further, exploit this heterogeneity to create a personalized pricing strategy. This type of optimization is not possible without economic structure, but cannot be heterogeneous without machine learning. Finally, we provide theoretical justification of each step in our proposed methodology. We first establish non-asymptotic bounds and convergence rates of our structural deep learning approach. Next, a novel and quite general influence function calculation allows for feasible inference via double machine learning in a wide variety of contexts. These results may be of interest in many other contexts, as they generalize prior work.

Motivation & Objective

  • To develop a methodology that combines machine learning flexibility with the interpretability and structure of classical economic models.
  • To enable estimation and inference of fully nonparametric parameter functions that vary with individual characteristics, capturing rich heterogeneity.
  • To provide a general-purpose inference framework that works with any smooth loss function and second-stage parameter of interest, without requiring manual influence function derivation.
  • To extend deep learning beyond prediction by embedding economic structure into network architecture for improved estimation and interpretability.
  • To ensure valid inference under weak regularity conditions using a novel orthogonal score function derived via automatic differentiation.

Proposed method

  • Reframe classical economic models by replacing fixed parameters with nonparametric functions of covariates, allowing flexible heterogeneity while preserving economic structure.
  • Design a deep neural network architecture that mirrors the global structure of the economic model, ensuring interpretability and improved convergence rates.
  • Use deep learning to estimate the parameter functions θ₀(x) from data, leveraging modern optimization and representation learning.
  • Derive a novel orthogonal influence function for second-step inference using automatic differentiation, enabling valid inference without manual derivation.
  • Apply the influence function directly to data using automatic differentiation, allowing the researcher to specify only the original model and parameter of interest.
  • Ensure robustness via Neyman orthogonality by constructing a score function that is insensitive to small perturbations in the first-step estimator.

Experimental results

Research questions

  • RQ1How can deep learning be used to estimate flexible, nonparametric parameter functions in economic models while preserving interpretability and structure?
  • RQ2What is the convergence rate of the estimated parameter functions when using deep learning in this framework?
  • RQ3Can a general-purpose influence function be derived that enables valid inference across diverse models without manual derivation?
  • RQ4How does the proposed framework extend beyond prediction to support structural modeling and policy-relevant inference?
  • RQ5In what ways can the framework be adapted to handle high-dimensional treatment variables or shape constraints?

Key findings

  • The proposed deep learning architecture achieves improved convergence rates for estimating parameter functions θ₀(x) by aligning network structure with the economic model's global form.
  • The framework enables valid inference for any second-stage parameter of interest, such as average treatment effects, price elasticities, willingness-to-pay, and surplus measures, via a single, reusable influence function.
  • The influence function is automatically computed using automatic differentiation, eliminating the need for manual derivation and enabling plug-and-play inference.
  • The method applies to a broad class of models, including binary and multinomial choice, fractional outcomes, count data, and heterogeneous production functions.
  • The framework successfully handles complex data, as demonstrated in a large-scale advertising experiment for short-term loans, yielding economically meaningful and reliable estimates.
  • Theoretical results establish that the influence function satisfies Neyman orthogonality, ensuring robustness to first-step estimation errors under mild conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.