Week 1: Introduction & Set-up

AI for Social Science Research · Fall 2026

Di Zhou

2026-09-02

Plan of Today

  • Lecture: course logistics ~20min
  • Getting to know each other: ~10min
  • Break: 15min — form groups for reading presentations
  • Lecture: Generative AI in social science research ~30 min
  • Break: 15min — form groups for reading presentations
  • Lecture: Statistical learning & machine learning basics ~15 min
  • Lab ~55 min — environment setup, version control, Python basics, and first steps in data wrangling & machine learning

Part I. Course Intro & Logistics

Course Logistics

  • Course: 16:920:574:M1 Topics in Sociology — AI and Social Science Research
  • Term: Fall 2026, 7-week minicourse (Sep. 2 – Oct. 14)
  • Meeting time: Wednesdays 2:00–4:40 pm, Davison 128
  • Office hours: Wednesdays 1:00–2:00 pm, Davison 137 — sign up link on syllabus & course website
  • Office hours: Contact me via email: di.zhou@rutgers.edu
  • Course website: https://di-zhou.github.io/ai_for_socsci_fall2026/

Add/drop: This is a 7-week minicourse: Consult the DGS for add/drop policies.

Course Objectives

By the end of this course, you should be able to:

  1. Understand current applications of genAI tools in sociological research, and form your own evaluations on their effectiveness.
  1. Know how to use genAI tools for your own research.
  1. Understand what genAI can and cannot do for producing high-quality research.

7-Week Roadmap

Week Date Topic Format
1 Sep. 2 Introduction & Set-up Lecture + Lab
2 Sep. 9 Computational Methods & LLM Basics Lecture + Lab
3 Sep. 16 Text, Image & Video Annotation Presentation + Lecture + Lab
4 Sep. 23 Simulating Subjects & Agents Presentation + Lab + Co-work
5 Sep. 30 AutoResearch Presentation + Lab + Discussion
6 Oct. 7 Qualitative Research Presentation + Co-work
7 Oct. 14 Final Presentations Presentations
Oct. 18 Final Project Deliverables Due

Assessment

Component Share How to earn points
Participation 15% Attend, ask questions, share thoughts on readings → use guiding questions on syllabus
Lab Assignments 15% Complete lab exercises in class; submit evidence of completion after class if you need extra time
Reading Presentation 20% Group of 2–3, ~20 min, Weeks 3–6 — sign up today!
Final Project Presentation 20% ~10 min + 5 min Q&A, Week 7
Final Project Deliverables 30% Proposal or report

Final Project: Three Tracks

Your project must fulfill at least one of the requirements:

  1. The research uses genAI/LLM as part of its research methods.
  2. The research is about the usage or applications of genAI/LLM.
  3. The research tests/pilots genAI/LLM tools for one of your ongoing research projects.

Deliverables:

  • Types (1) or (2): project proposal, ≥8 pages (double-spaced, 12pt)
  • Type (3): project report (~5 pp.) + reflection (~5 pp.) + code/appendix

Timeline: Co-work on Weeks 4 & 6 → Presentations on Week 7 → Final deliverable due on Oct. 18th.

Come talk to me if you are unsure about your project idea or which track to choose.

AI Usage Policy

AI writing is strictly banned

You are not allowed to use AI to generate any writing assignments for this course.

Permitted:

  • Grammar corrections only: see syllabus for allowed scenarios.
  • Using genAI as a research tool or subject of research.

Rule of thumb: Do not automate the process of learning, thinking, and writing.

Forming a AI-free writing habit

Turn off AI writing features & word suggestions in your browsers & word processors (e.g., Grammarly/Copilot extensions for Outlook, Gmail, Microsoft Word, Google Docs, etc.). It is “easy” to let AI write for you, but difficult to go back. Thinking & writing clearly is a scholar’s most important weapon, and you do not want to let it rust!

You are held responsible to follow this AI policy. See syallbus for more details on the AI usage policy.

Some Prerequisites

  • Bring your laptop to every lab.
  • Purchase Claude Pro or ChatGPT Plus: if you don’t want to commit — sign up ~mid-September for 1 month ($20) & cancel after.
  • Python proficiency not required, but since it is the language used for most computational tasks in this course, you are expected to be able to understand Python scripts. A good learning resource is the Think Python book. You can also use genAI to help you learn Python codes.

Questions?

Getting to Know Each Other

Please share:

  1. Your name, department/program, and what year are you in;
  2. Your research interests;
  3. What you want to learn from this course.

Break

  • Come back in 15 minutes
  • During break: please take some time to form groups of 2–3 and sign up for reading presentations!

Part II. GenAI in Social Science Research

What is Generative AI?

Generative AI: Models that have learned patterns from training data, and can generate new content (text, image, video, code, audio) that is probable based on the training data.

  • Text generation models: Large Language Models, LLMs. Text is generated based on the probability of word sequences learned from training data. → GPT-5/5.5, Claude, DeepSeek, LLaMA…
  • Image generation models: Image is generated using a denoising process based on the probability of visual patterns learned from training data. → DALL-E/GPT Image, Google Imagen, Flux, Midjourney, Stable Diffusion…
  • Video generation models: Similar to image generation models, but with an additional temporal dimension. → Seedance, Google Veo, Runway, Kling…
  • Multimodal models: models that handle multiple types of input & output (text/images/video/audios) → GPT-5/5.5, LLaMA 4…

Frontier Models & Open-Weight Models

Frontier (proprietary) models:

Open-weight models:

  • Open-weight models can be downloaded for free and run locally (although we often use them through APIs for a fee); their weights are publically accessible - best for creating replicable models.
  • Proprietary models offer higher capability but less transparency; they also cost more. Model updates frequently and access to older versions is not guaranteed. Providers tend to offer easy-to-use chat/cowork interfaces - best for assisting research tasks as long as you keep detailed documentations/records.

Using GenAI: Chat Interface, API, Command Line Interface

Chat Interface: A conversational web/app interface. Easy to use (no coding). Handles multimodal input easily. Less flexible & difficult to scale for some research purposes.

Claude Co-work Desktop

API: A programming interface to send requests and receive responses. More control over model parameters and easier to integrate into research pipeline. Requires writing, running, and maintaining code.

Using OpenAI’s API

CLI (Command Line Interface): A terminal-based interface. Uses command-line commands. Used to be better than chat interface for agentic workflow, but chat interfaces have caught up.

Claude Code in CLI

Always run in Sandbox environment. Do not grant access to your entire computer.Always backup your data.

Share

  • Which genAI models have you tried?
  • What tasks do you ask them to do?
  • How “good” are they for your purposes?
  • What surprised you — or disappointed you?

GenAI in Scientific Research

The diffusion of LLM-style language in academic publishing…

(Siler 2026)

Sociology is Not an Exception

(Cao 2026)

The Rise of “Auto-Research”

GenAI is not only used in academic writing, but also in conducting end-to-end scientific research, from idea generation to research design, then to data collection/analysis, and finally to research write-up (week 5).

(Yamada et al. n.d.)

Ongoing Debates on Ethical AI Use in Scientific Research

  • The ethics & disclosure of AI usage — Scientists disagree on what count as ethical use of AI. Also, most think AI use should be disclosed, but few actually do.
  • Integrity & quality of academic work — If an LLM “co-writes” a paper, whose ideas are they? What if a fully automated research passes peer review? What about fully automated AI peer review?
  • Inequality in knowledge production — Does AI lower some barriers (language, training) while reinforcing others (access, resources, normative orientations)?

Take the survey yourself & find out how your ethics compare! – Nature’s AI research test (NetID login required)

GenAI in Sociological Research: Methods before GenAI

GenAI in Sociological Research: Potentials of GenAI

GenAI in Sociological Research: Changes brought by GenAI

  1. Same questions & measurement goals , new tools — The same sociological inquries and measurement goals can now be achieved with new tools at a much faster pace and with less manual effort.

    • Deployment of the same measurement strategies can be speeded up with the assitance of genAI tools (writing and running code, data wrangling, organizing data and scripts, etc.)
    • Methodological pipelines designed for specific classification/info. extraction tasks can now be replaced by general-purpose LLMs/MLLMs.
    • Working with big data and computational methods no longer requires the same level of programming proficiency as before.
  2. Same questions & measurement goals, expanded scope — Given the new capabilities of genAI, the same research inquiry can be studies with more and different types of data: images, videos, audio, simulated subject, etc.

  3. New questions generated by genAI — The technology itself becomes the subject of social science research, as well as the effect of the technology on social, economic, and political aspects of social life across different societies.

    • For example, how well do AI mirror human populations? What biases are embedded in genAI models? AI and scientific knowledge production; human-AI interaction; social and ethical implications of genAI –labor markets, monopoly, environmental and geopolitical impact of AI, etc.

This Course

This minicourse mainly focuses on GenAI as a research tool and/or research method:

  • How cutting-edge research has applied this tool to answer their research questions?
  • What are the strengths and limitations of these applications?
  • How you can apply genAI in your own research?
  • We touch a little bit on GenAI as a subject of research but only in the context of exploring its viability as new research methods.

Coming next: In the follow-up minicourse Sociology of AI, we focus on genAI as the subject of social science research.

Break

  • Come back in 15 minutes
  • During break: please take some time to form groups of 2–3 and sign up for reading presentations!
Week Topic Date Group
3 Text, Image & Video Annotation Sep. 16
4 Simulating Subjects & Agents Sep. 23
5 AutoResearch Sep. 30
6 Qualitative Research Oct. 7

Part III. Machine Learning Basics

What is machine learning, and how does it differ from statistical inference?

  • Machine Learning: Training models to make useful predictions or generate content from data.

  • Statistical Inference: Using a sample to make claims about the population, with quantified uncertainty.

  • ML and SI may use the same models (e.g., linear regression, logistic regression, tree-based models), but they have different goals.

What is machine learning, and how does it differ from statistical inference? (Cont.)

Machine learning Statistical inference
Question What is the outcome for this new case? Which features matter, and by how much?
Target The predictions The parameters (for hypothesis testing and interpretations)
Success Low error on held-out unseen data Unbiased estimate + valid uncertainty
Judged on Out-of-sample accuracy (unseen test data) In-sample fit, assumptions, standard errors
Functional form Learned; may stay a black box Specified in advance, interpreted
Main worry Overfitting Bias, confounding, wrong SEs

Overfitting: When a model fits the training data “too well,” learning even the random noise in it, resulting in poor performance on unseen test data.

Viewing Statistical Concepts through the ML Lens

Statistical Inference Machine Learning
Regression model Model
Independent variables / predictors Features
Dependent variable / outcome Label (or target)
Intercept / constant Bias
Coefficients Weights
Squared error (SSE, MSE) Loss
Fitting a model Training a model
Model fit (R², AIC) Model performance (accuracy, F1, etc.)

Supervised vs. Unsupervised Learning

Supervised Unsupervised
Ground truth Known — we have labeled data Unknown — no labels
Goal Predict the label correctly Discover patterns or structure
Data Labeled training and test sets Features only, no labels
Examples Linear regression, logistic regression, tree-based models Principle Component Analysis (PCA), k-means clustering

Source: Devopedia

Lab

Open the lab page: Lab 1: Environment Setup & First Steps