Skip to main content

Advertisement

Log in

SentiHawkes: a sentiment-aware Hawkes point process to model service quality of public transport using Twitter data

  • Original Research
  • Published:
Public Transport Aims and scope Submit manuscript

Abstract

Responsive management of public transport nodes relies on constant monitoring of service quality. Social media content provides a unique opportunity to detect and monitor events impacting service quality in these nodes, as well as predicting future occurrences of such events. However, the confined geographic area of transport nodes exacerbates the sparsity of available feeds, raising two major challenges: limited observations—leading to biased models—and the asynchronous nature of observations—impeding the detection of causal patterns. Thus, this paper proposes a framework based on a multivariate Hawkes point process and sentiment analysis. The multivariate Hawkes point process allows effective modelling of events without making them discrete, hence it is less affected by data sparsity compared to time series models while enabling the prediction of how certain events can trigger future events. Besides, the extracted sentiments from social media feeds provide additional knowledge about passengers’ perception and thus, are used in our approach to strengthening the model. Experiments on a real-world dataset demonstrate the effectiveness of the model in identifying causal relations over the public transport nodes. They also show the efficacy of the proposed solution in predicting events over the limited context compared to state-of-the-art approaches.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data availability

The codes that support the findings of this study are available in https://github.com/mmrahimi/SentiHawkes. Due to Twitter terms of service, tweets cannot be directly shared. However, the tweet-IDs as well as their corresponding labels and sentiment scores are available in the provided repository.

Notes

  1. www.aurin.org.au

  2. www.wikidata.org/wiki

  3. www.nominatim.org

  4. www.github.com/HongtengXu/Hawkes-Process-Toolkit

Abbreviations

\(\lambda (t)\) :

The event arrival rate with respect to time t, where \(\lambda \in \mathbb {R}^+\)

\(\mathcal {S}(t)\) :

A set of events occurring up to time t

\(\mu\) :

The background event arrival rate

\(\phi (t)\) :

The effect of past events on the probability of a new event occurring at time t

\(\tau\) :

The time interval between two event arrivals

N(t):

The number of events that have happened up to time t

References

Download references

Acknowledgements

The authors acknowledge assistance and advice from Amir Khodabandeh on statistical analysis.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohammad Masoud Rahimi.

Ethics declarations

Conflict of interest

No potential conflict of interest was reported by the authors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rahimi, M.M., Naghizade, E., Stevenson, M. et al. SentiHawkes: a sentiment-aware Hawkes point process to model service quality of public transport using Twitter data. Public Transp 15, 343–376 (2023). https://doi.org/10.1007/s12469-022-00310-7

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12469-022-00310-7

Keywords