A Data-Driven State Aggregation Approach for Dynamic Discrete Choice Models

Sinong Geng, Houssam Nassif, Charlie Manzanares

Abstract

In dynamic discrete choice models, a commonly studied problem is estimating parameters of agent reward functions (structural parameters) using agent behavioral data. This task, also known as inverse reinforcement learning, is often limited by the "curse of dimensionality" in maximum likelihood estimation. We present SAmQ (State Aggregation minimizing Q error), a novel algorithm that provides a data-driven method for selecting and aggregating states to lower computational and sample complexity. Our method estimates agent Q-functions and leverages them alongside a clustering algorithm to select pivotal states for driving changes in Q-functions. We derive finite-sample bounds on the associated estimation error and demonstrate empirical performance in two classic dynamic discrete choice estimation applications: bus engine replacement and airline market entry.

Introduction

In fields like economics and social science, researchers use Dynamic Discrete Choice Models (DDMs) to understand sequential decision-making—such as a company deciding when to enter a new market or a fleet manager deciding when to replace a bus engine. The goal is to estimate the agent's internal reward function based on observed behavior. However, as the number of possible states (e.g., mileage, age, market conditions) increases, the computational cost of solving these models grows exponentially. Traditionally, researchers have used "ad-hoc" state aggregation, manually grouping states based on intuition. This often introduces significant bias by losing the nuances that drive agent behavior.

The SAmQ Framework

The SAmQ algorithm addresses these challenges through a three-step process:

  1. Q-Estimation via IRL: First, the agent's Q-function—representing the "value" of taking a specific action in a specific state—is estimated using Inverse Reinforcement Learning (specifically the Deep PQR algorithm).
  2. State Aggregation by Clustering: Instead of grouping states that look similar in raw value, SAmQ groups states that behave similarly. It defines a distance metric based on the estimated Q-values and uses K-means clustering to find representative states.
  3. Structural Estimation: Finally, standard Maximum Likelihood Estimation (NF-MLE) is performed on this much smaller, aggregated state space.
SAmQ intelligently ignores irrelevant "dummy" states by clustering based on Q-values, focusing only on the "True State" that drives decision-making.

The core innovation is using the Q-function as a "filter" to identify which state differences actually matter to the agent’s utility, allowing the model to ignore irrelevant noise in the data.

Key Insights and Theoretical Bounds

A central contribution of this work is the mathematical proof that the error introduced by state aggregation is bounded by the "Q-error." This provides a theoretical justification for why clustering on Q-functions is superior to clustering on raw state values. The paper highlights a fundamental bias-variance trade-off: while aggregating more states increases bias, it significantly reduces variance, making the model easier to estimate with less data. Furthermore, SAmQ is robust; because the final step re-runs a full MLE on the reduced space, it can correct for some errors made during the initial IRL phase.

Empirical Evaluation

The authors evaluated SAmQ across three distinct setups:

  • Bus Engine Replacement: In a simulated version of the classic "Rust" (1987) problem, SAmQ achieved significantly lower Mean Squared Error (MSE) in parameter estimation compared to standard NF-MLE and other IRL methods.
  • Airline Market Entry: Using real-world data from the US airline industry, SAmQ modeled how airlines decide to enter or exit city-pair markets based on competition and costs.
  • Synthetic Noise Test: In controlled environments with irrelevant "dummy" variables, SAmQ successfully discarded the noise, whereas ad-hoc methods wasted computational resources trying to model it.
In the airline market entry study, SAmQ (orange) consistently achieves lower negative likelihood on hold-out data compared to traditional ad-hoc aggregation (cyan).

Conclusion

SAmQ offers a powerful, data-driven alternative to manual state aggregation, achieving high accuracy with a fraction of the computational burden. By reducing the state space from thousands of points to just 50 or 100 aggregated states, the method maintains behavioral prediction quality while mitigating the curse of dimensionality. Future work may involve iterative aggregation refinement or incorporating domain knowledge to further boost performance in data-sparse environments.

Summary updated

BibTeX
@inproceedings{geng2023data,
  author = {Sinong Geng and Houssam Nassif and Charlie Manzanares},
  title = {{A Data-Driven State Aggregation Approach for Dynamic Discrete Choice Models}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=YDfCU3BQK9},
}
Figure