Word Salad: Relating Food Prices and Descriptions

Victor Chahuneau, Kevin Gimpel, Bryan R. Routledge, Lily Scherlis, Noah A. SmithEMNLP 2012

TL;DR

This paper explores the relationship between how restaurants describe their food and its price, and how this language is perceived by customers. By building predictive models, the authors quantify how descriptive language on menus and in reviews correlates with actual menu prices and customer sentiment, offering a data-driven approach to understanding the economics of food descriptions.

What Problem Does This Paper Address?

Understanding how language influences economic and social phenomena is a long-standing goal in NLP. Specifically, this paper tackles the question of how the language used to describe food on restaurant menus and in customer reviews relates to concrete external variables like menu prices and customer sentiment. While previous work has looked at language and economics (e.g., stock market predictions) or language and sentiment in reviews, this paper uniquely bridges these by investigating the interplay between menu descriptions, prices, and reviewer sentiment within the restaurant domain. The challenge lies in quantifying these relationships at scale and understanding the subtle linguistic cues that justify price points or influence customer perception.

Methods

The core methodology involves building predictive models using natural language processing (NLP) techniques. The authors employ l₁-regularized linear regression for most of their tasks, a standard approach for feature-rich models where sparsity is desirable. They extract various features from restaurant menus and customer reviews, including:

  • Menu Item Features:
    • Normalized menu item names (e.g., collapsing "coffee black" and "black coffee").
  • n-grams (unigrams, bigrams, trigrams) from menu item names.
  • n-grams from menu item descriptions.
  • Restaurant Metadata: Binary features for restaurant attributes like location, services, and ambience.
  • Review Features:
    • n-grams from user reviews.
  • Features derived from matching menu items to review sentences, weighted by similarity.
  • Part-of-speech tags (adjectives, adverbs) from review text.

A novel aspect is the use of review features to predict menu item prices and restaurant price ranges, and the joint prediction of price and sentiment. They also introduce visualization techniques (Figure 3) to interpret the learned feature weights, mapping them onto a sentiment-price space.

Datasets

The study utilizes a large dataset collected from Allmenus.com and Yelp.com.

  • Menus: Collected from thousands of restaurants across seven U.S. cities (Boston, Chicago, Los Angeles, New York, Philadelphia, San Francisco, Washington, D.C.). Each menu includes item names, descriptions, and prices.
  • Reviews: User reviews from Yelp, including star ratings (1-5) and text.
  • Restaurant Metadata: Information from Yelp, such as location, services, and price range ($ to $$$$).

The dataset was split into training, development, and evaluation sets (80%/10%/10%) independently for each city.

Key Insights and Ideas

  • Language as a Price Justifier: The study demonstrates that descriptive language on menus is not arbitrary but correlates with price. For instance, words associated with organic or locally-sourced ingredients tend to appear with higher-priced items, while comfort food descriptions are linked to lower prices.
  • Sentiment and Price Interplay: Customer reviews reflect both sentiment and price. The authors show that language used in reviews can predict both the restaurant's price range and the overall sentiment, suggesting a complex relationship where price influences how customers express their experience and vice-versa.
  • Review Text is Richer for Price: For predicting overall restaurant price range, review text proved more informative than menu features alone, likely because reviewers often discuss price more generally.
  • Subtle Linguistic Cues Matter: Even minor variations in wording (e.g., "real mashed" vs. "mashed potatoes," "crisp" vs. "crispy") can have distinct correlations with price, highlighting the sensitivity of language to economic value.
  • Visualization for Interpretability: The proposed visualization technique (Figure 3) is crucial for making sense of complex models, revealing how specific words and phrases are positioned in a sentiment-price space, offering intuitive insights into their economic and affective connotations.

Key Results

  • Menu Item Price Prediction: The best model achieved a 50-cent reduction in Mean Absolute Error (MAE) and a nearly 10% reduction in Mean Relative Error (MRE) compared to baselines. Menu name features (MENUNAMES) contributed the most to this improvement.
  • Restaurant Price Range Prediction: The best model, combining metadata and review features, achieved an accuracy of over 80% in predicting the restaurant's price range (1-4).
  • Review Polarity Prediction: A logistic regression model trained on review text achieved 87% accuracy in predicting review polarity (positive/negative based on star rating).
  • Feature Analysis: The analysis revealed that words related to "organic," "local," and "natural" are associated with higher prices, while "traditional" and "fashioned" are linked to lower prices. Similarly, phrases like "hand picked" and "wild caught" correlate with higher prices than more generic terms.

Limitations and Future Work

  • Noisy Mentions: The authors found that directly extracting features from menu item mentions in reviews (MENTIONS feature set) was hampered by noise and resulted in coincidental rather than generic feature weights. They suspect a better linking method could improve effectiveness.
  • Limited Extrinsic Variables: While the study uses price and sentiment, the authors suggest that future work could explore richer extrinsic variables to drive model building and achieve more nuanced semantic understanding.
  • Causality vs. Correlation: The study primarily establishes correlations. While they note that "better" restaurants might charge higher prices, a deeper causal analysis is not performed.
  • Future Directions: The authors propose using their techniques to determine "true" star ratings (if provided ratings are noisy) and to identify the most positive/negative reviews. They also suggest exploring more fine-grained analysis of review text by examining the influence of word position on predicted sentiment and price.

Summary updated

BibTeX
@inproceedings{chahuneau2012word,
  author = {Victor Chahuneau and Kevin Gimpel and Bryan R. Routledge and Lily Scherlis and Noah A. Smith},
  title = {{Word Salad: Relating Food Prices and Descriptions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2012},
  url = {https://openreview.net/forum?id=SJ4uRbGObr},
}
Figure