IDEAS home Printed from https://ideas.repec.org/a/inm/ormnsc/v71y2025i7p5767-5787.html
   My bibliography  Save this article

A Structural Topic and Sentiment-Discourse Model for Text Analysis

Author

Listed:
  • Li Chen

    (Samuel Curtis Johnson Graduate School of Management, Cornell University, Ithaca, New York 14853)

  • Shawn Mankad

    (Poole College of Management, North Carolina State University, Raleigh, North Carolina 27695)

Abstract

We consider the common setting where one observes a large number of opinionated text documents and related covariates, such as the text of online reviews along with the date of the review and the author demographic information. In this setting it can be of interest to understand how the covariates determine the text composition, as well as the prevalence, sentiment, and/or discourse of various discussion themes. Yet, most topic modeling methods in the machine learning literature are designed to summarize the text for the purpose of exploratory analysis and not to perform this type of formal statistical inference. Further, topic modeling methods generally do not try to estimate the sentiment or discourse of discussion along separate topics that can be critical in business applications (e.g., for summarizing service or product quality). We develop a topic model called the structural topic and sentiment-discourse (STS) model that introduces a new document-level latent variable that captures the sentiment and/or discourse (termed as “sentiment-discourse”) for each topic, which modulates the word frequency within a topic. These latent topic sentiment-discourse variables are controlled by document-level covariates to allow for experimental control and regression analysis. We also introduce new computational methods to resolve scalability issues that have forced previous models to restrict to a small number of categorical covariates. We benchmark the STS model on three real-world data sets from surveys, blogs, and Yelp restaurant reviews around the COVID-19 pandemic. Our model recovers meaningful results including rich insights about how COVID-19 affects online reviews, demonstrating that the STS model can be useful for regression analysis with text data in addition to topic modeling’s traditional use of descriptive analysis.

Suggested Citation

  • Li Chen & Shawn Mankad, 2025. "A Structural Topic and Sentiment-Discourse Model for Text Analysis," Management Science, INFORMS, vol. 71(7), pages 5767-5787, July.
  • Handle: RePEc:inm:ormnsc:v:71:y:2025:i:7:p:5767-5787
    DOI: 10.1287/mnsc.2022.00261
    as

    Download full text from publisher

    File URL: http://dx.doi.org/10.1287/mnsc.2022.00261
    Download Restriction: no

    File URL: https://libkey.io/10.1287/mnsc.2022.00261?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:inm:ormnsc:v:71:y:2025:i:7:p:5767-5787. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Chris Asher (email available below). General contact details of provider: https://edirc.repec.org/data/inforea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.