Salons & Methods
Methods
Large Language Models for Sentiment Analysis
Friday, March 13, 8:30-9:30am
Jeffrey Girard, University of Kansas
Large language models for sentiment analysis
This 60-minute workshop introduces Large Language Models (LLMs) as an accessible, state-of-the-art tool for estimating sentiment in unstructured text data, including essays, social media posts, and transcripts. We will explore how modern LLMs can outperform traditional methods by utilizing “zero-shot in-context learning,” a technique that yields highly accurate sentiment estimates without requiring labeled training data, advanced programming skills, or specialized hardware. Participants will learn practical workflows for applying this technique using two approaches: cloud-based models for speed and power, and locally hosted models for strict data privacy and security. The session will also demonstrate how to leverage the R programming language to automate these tasks, enabling the efficient processing of large file batches. Furthermore, we will review findings from the instructor’s recent publication in Affective Science, which provides a rigorous validation and fairness audit of LLM-based sentiment analysis across naturalistic speech datasets from social and clinical psychology. The workshop will conclude with a dedicated Q&A period to address specific implementation queries, ensuring attendees leave with the rationale and technical know-how to apply these methods in their own research.
Subjective Measurement of Affect
Friday, March 13, 4:15-5:15pm
Vlad Chituc, Yale University
Computational Modeling of Emotion
Saturday, March 14, 8:30-9:30am
Joey Heffner, Yale University
(Beginner-Friendly) Computational Modeling of Emotion
How do our choices and their outcomes translate into subjective feelings? How does our happiness depend on our choices and what happens to us? Computational accounts of emotion aspire to answer these questions with a rigorous framework informed by formal principles. This methods workshop provides an accessible introduction to modeling emotion within the context of decision-making. We will cover how momentary happiness and affect ratings can be modeled during risky decision-making tasks, while discussing applications to other domains.
This workshop is aimed at graduate students and researchers who are new or interested in the field and want to learn how to use computational approaches to better understand emotions. Prior programming experience is helpful but not required. The workshop focuses on a popular computational model of happiness (Rutledge et al., 2014), using interactive Shiny apps to show how expectations, rewards, and prediction errors combine to influence happiness. By gaining an intuition for the abstract logic used in computational modeling, participants will leave with a clearer understanding of how to implement these tools in their own research. Example data and programming scripts will be provided.

Jeffrey Girard, University of Kansas
Vlad Chituc, Yale University
Joey Heffner, Yale University