@article{Jiang_Murrugara-Llerena_Bos_Liu_Shah_Neves_Barbieri_2022, title={Sunshine with a Chance of Smiles: How Does Weather Impact Sentiment on Social Media?}, volume={16}, url={https://ojs.aaai.org/index.php/ICWSM/article/view/19301}, DOI={10.1609/icwsm.v16i1.19301}, abstractNote={The environment we are in can affect our mood and behavior. One environmental factor is weather, which is linked to sentiment as expressed on social media. However, less is known about how integrating changes in weather, along with time and location contextual cues, can improve sentiment detection and understanding. In this paper, we explore the effects of three contextual features--weather, location, and time--on expressed sentiment in social media. Leveraging a large Snapchat dataset, we provide extensive experimental evidence that including contextual features in addition to textual features significantly improves textual sentiment detection performance by 3% over transformer-based language models. Our results also generalize cross-domain to Twitter. Ablation studies indicate the relative importance of weather compared to location and time. We also conduct correlation analyses on 8 million Snapchat posts to highlight the link between past weather and current sentiment, showing that weather has a lasting impact on mood. Users generally exhibit more positive sentiment in better weather conditions as well as in improved weather conditions. Additionally, we show that temperature’s link with mood holds after controlling for time or population density, but there exist geographical differences in how temperature affects mood. Our work demonstrates the effectiveness of including external contexts in linguistic tasks and carries design implications for researchers and designers of social media.}, number={1}, journal={Proceedings of the International AAAI Conference on Web and Social Media}, author={Jiang, Julie and Murrugara-Llerena, Nils and Bos, Maarten W. and Liu, Yozen and Shah, Neil and Neves, Leonardo and Barbieri, Francesco}, year={2022}, month={May}, pages={393-404} }