Hedonic Prices and Quality Adjusted Price Indices Powered by AI

Patrick Bajari, Zhihao Cen, Victor Chernozhukov, Manoj Manukonda, Suhas Vijaykumar, Jin Wang, Ramón Huerta, Junbo Li, Ling Leng, George Monokroussos, Shan WanJournal of Econometrics 2021

TL;DR

This paper introduces an AI-powered approach to constructing hedonic price indices, leveraging deep learning to automatically extract product features from text and images. This method achieves high predictive accuracy and offers a scalable, cost-effective alternative to traditional hedonic modeling, with implications for measuring inflation and consumer welfare.

What Problem Does This Paper Address?

Economists and policymakers rely on price indices to track inflation, consumer welfare, and the cost of living. Traditional methods like Laspeyres, Paasche, and Fisher indices face challenges with product entry and exit, leading to selection bias and chain-drift bias. Hedonic price models, which attribute product prices to their characteristics, offer a solution by allowing for quality adjustments and consistent comparisons over time. However, traditional hedonic models require extensive manual effort for feature engineering and data collection, limiting their scalability and introducing potential biases. This paper addresses the need for a more automated, scalable, and accurate method for building hedonic price indices, particularly in the face of massive amounts of unstructured data available online.

Methods

The core of the paper's methodology lies in using deep learning to automate the process of hedonic price modeling.

  • Automated Feature Extraction: Instead of relying on human experts, the authors use pre-trained deep neural networks to extract product features from text and images.
  • Text Embeddings: The BERT (Bidirectional Encoder Representations from Transformers) model is used to convert product titles and descriptions into numerical vectors (embeddings). This model is fine-tuned on Amazon's product data.
  • Image Embeddings: The ResNet-50 convolutional neural network is employed to generate embeddings from product images.
  • Hedonic Price Function Estimation: These extracted features (embeddings) are then fed into a multi-task neural network. This network is designed to predict a complete time-series of hedonic prices for each product simultaneously. The network learns a "value embedding" that summarizes product attributes, which is then used to predict prices across different time periods.
  • Price Index Construction: The estimated hedonic prices are then used to construct various types of price indices, including Fisher hedonic price indices (yearly-chained, monthly-chained, and geometric mean). The authors emphasize the yearly-chained Fisher Hedonic Price Index (FHPI) as their preferred measure due to its ability to mitigate chain-drift.

Datasets

The study utilizes Amazon's proprietary data on daily average transaction prices and quantities for first-party apparel sales. This dataset covers the period from January 2013 to December 2018 and includes tens of millions of products. The data is described as being approximately 20 terabytes in size.

Key Insights and Ideas

  • AI for Hedonic Modeling is Scalable and Accurate: The paper demonstrates that deep learning models, specifically BERT and ResNet-50 for feature extraction and a multi-task neural network for price prediction, can achieve high predictive accuracy (R² of 80-90%) in estimating hedonic prices. This suggests that AI can effectively automate a complex and labor-intensive process.
  • Structured Sparsity in Product Data: The authors propose the concept of "structured sparsity," suggesting that high-dimensional product data (images, text) can be effectively represented in a much lower-dimensional space, which AI models can exploit.
  • Yearly Chaining is Crucial for Mitigating Chain Drift: The comparison of different chaining methods highlights that yearly-chained hedonic indices are significantly less susceptible to chain-drift bias compared to monthly-chained indices, especially in markets with high product turnover.
  • Hedonic Indices Show Significant Price Declines in Apparel: The AI-based hedonic indices suggest a notable average annual price decline in apparel over the study period, contrasting with official CPI data which shows a smaller decline. This discrepancy is attributed to factors like quality adjustments, substitution effects, and potential Amazon-specific productivity gains.
  • Image Embeddings Add Less Value Than Text Embeddings (in this context): While image data is used, the paper notes that it adds "very little to prediction accuracy once the text embeddings are included," suggesting that text features are more dominant for price prediction in this specific apparel dataset.

Key Results

  • High Predictive Accuracy: The multi-task neural network models achieved an out-of-sample R² ranging from 80% to 90% for predicting apparel prices.
  • Apparel Price Decline: The yearly-chained Fisher Hedonic Price Index (FHPI) estimated an average annual price decline of -0.98% for apparel from 2014-2019. This is contrasted with the BLS CPI for apparel, which showed a smaller decline of -0.31%.
  • Comparison of Indices: The FHPI showed a slower rate of decline than the matched Fisher index (-3.12%), Jevons posted-price index (-3.01%), and Adobe DPI (-2.02%), underscoring the benefits of hedonic adjustment and long chaining.
  • Model Performance Hierarchy: The study found a clear hierarchy in predictive performance: Multi-task Neural Networks > Single-Task Neural Networks > Gradient-Boosted Trees > Linear Models.

Limitations and Future Work

  • Image Data Contribution: The authors note that while image embeddings are used, they contribute minimally to prediction accuracy when text embeddings are already included. Finding better ways to leverage image data remains an important unresolved problem.
  • Model Explainability: Given the non-linear nature of AI-based hedonic models, explaining price changes in terms of specific attribute valuations is challenging. This is identified as a key area for future research.
  • Retraining for New Data: Multi-task models require retraining the entire model as new data becomes available, which can be computationally intensive.
  • Performance Over Time: The performance of the best multi-task models tends to be better at the beginning of the studied period and may worsen over time, possibly due to increasing product variety.
  • Future Research Directions: The authors suggest exploring the use of vision transformers for image embeddings and developing methods for model explainability. They also mention ongoing work on hedonic GEKS indices.

Summary updated

BibTeX
@article{bajari2021hedonic,
  author = {Patrick Bajari and Zhihao Cen and Victor Chernozhukov and Manoj Manukonda and Suhas Vijaykumar and Jin Wang and Ramón Huerta and Junbo Li and Ling Leng and George Monokroussos and Shan Wan},
  title = {{Hedonic Prices and Quality Adjusted Price Indices Powered by AI}},
  journal = {Journal of Econometrics},
  year = {2021},
  url = {https://openreview.net/forum?id=JzXw-mf08O},
}
Figure