AI for Social Science Research · Fall 2026
2026-09-09
Reading Presentations Start Next Week!
20~30 min presentation, 10~15 min discussion. Using “guiding questions” on the syllabus as a starting point.
| Week | Topic | Date | Group |
|---|---|---|---|
| 3 | Text, Image & Video Annotation | Sep. 16 | Zakaria, Seukyoung, Daye |
| 4 | Simulating Subjects & Agents | Sep. 23 | Woojung, YJ |
| 5 | AutoResearch | Sep. 30 | Duhui, Chun-Ching, Yujia |
| 6 | Qualitative Research | Oct. 7 | Beichen, Jayla |
| Reading | Measure Targets, Methods |
|---|---|
| Karell & Freedman (2019), Rhetorics of Radicalism | Identifying themes, topic modeling |
| Kozlowski, Taddy & Evans (2019), Geometry of Culture | Quantifying meanings & measuring stereotypes, word embeddings |
| Stuhler (2022), Who Does What to Whom | Extracting information & relations, dependency parsing |
| Lai et al. (2024), Ideology of YouTube Videos | Quantifying meaning (ideologies), BERT Classification |



Source: AIML

Source: Chen et al. 2024
Each word is converted into a vector in a high-dimensional space, with interesting properties:

Source: Huang 2024

Instead of treating a sentence as a bag of words, use its grammar to recover “event structure of texts” (who did what to whom?).


Source: Devopedia
Transformers are a type of neural network architecture that has become the foundation for LLMs and genAI. They are particularly effective at capturing long-range contextual information.
Attention mechanisms are a key component of transformers. They allow the model to weigh the importance of different pieces of the input information when making predictions.
Different genAI models contain billions to hundreds of billions of parameters (weights) that fill in a fixed transformer architecture. These weights are learned during the pretraining phase on large corpora of training data.

Source: 3Blue1Brown
For an input vector, a transformer computes a contextualized embedding for each token in the input sequence. → This step “understands” the meaning of each token in the context it appears in.
This “taking into account the context” step is done by attention: each token’s embedding is reshaped by other tokens in its context, and their weights (importance) are determined by the attention mechanism (via its Query, Key, and Value matrices).
BERT looks at both preceding and following tokens, while GPT models only look at preceding tokens.

Two ways to use BERT for Supervised ML/Classification:
Both are in today’s lab codes.
Key idea: Specify simple rules for individual behavior, run the interaction forward, and see what pattern emerges at the population level.

Open the lab page: Lab 2: Computational Methods in Python
AI for Social Science Research · Week 2