Interdisciplinary NLP: Language Modeling in the Wild
Fall 2026 Tuesdays & Thursdays, 12:30-1:50pm in Wean Hall 6403
Instructors: Emma Strubell, Clara Na, and Sireesh Gururaja
Table of Contents
Overview
Recent advances in natural language processing (NLP), primarily powered by large language models (LLMs) show great potential for enabling advanced analysis of unstructured and semi-structured documents across a diverse array of applications – from accelerating scientific discovery by automatically analyzing materials science research literature, to facilitating a study of the evolution of narrative arcs in 20th century literature.
Historically, successful real world deployment has often required deliberate adaptation: careful definition of the task, curation of new or existing datasets, experimentation to identify strengths and limitations of existing off-the-shelf affordances, and/or consideration of computational and financial feasibility. On the other hand, recent developments in language technologies have included both 1) meaningful capability improvements in many settings that until recently were outside the scope of existing tools, and 2) lowered barriers to use and adaptation of language technologies.
In this class, students with concentrations outside of NLP (e.g. degree programs in materials science, English, …) and students with concentrations in or near NLP (LTI, MLD or equivalent expertise) will work with and learn from each other, to characterize and bridge gaps between the promise of modern language technologies and the successful deployment of these tools for real-world applications. Together, students will explore:
- Technical foundations for using language technologies, AI literacy and effective science communication;
- Identifying strengths and limitations of various approaches for adaptation to a specific domain or setting, and;
- Acquiring and curating data appropriate to a specific task or evaluation;
- Devising and executing a plan to accomplish research and analysis tasks given a goal.
Who are you?
This class is likely a good fit for you if either of the following descriptions apply to you.
Group A: You are a student in a discipline outside of ML/NLP (e.g. a sufficiently different discipline within computing such as programming languages, or an entirely separate discipline such as English, biology or design), and you are interested in using language technologies (e.g. machine learning with text data, LLMs) for your work. You do not need to have a specific use case yet– part of the course’s objective will be to refine a research question in the context of available resources and technology. However, you should have an understanding in general of what it looks like to do research in your discipline
Group B: You are a student “in NLP” i.e. actively engaged in NLP research through LTI faculty and/or coursework or similar, and interested in any or all of: 1) interdisciplinary research and communication, 2) domain adaptation and generalization, especially in practice, and 3) understanding common gaps between research and practice. You do not need to have a specific domain of interest yet, but you should be open to working with domain experts to accomplish a shared goal.
There may be other, more appropriate courses for you if:
- You are more interested in a general survey of data science and statistical analysis tools; this course has an explicit emphasis on text as data.
- You are more interested in a general introduction to NLP (take 11-611 or 11-711), without having a specific domain or tentative domain-specific goal in mind. (That being said, 11-611/711 is not a prerequisite for this course.)
A note on programming experience. Previous programming or coding experience is greatly helpful, but not a strict requirement. For example, students who have experience using statistical analysis software but have not spent time writing scripts or programs themselves may find the material approachable. It is explicitly not a requirement that you have completed a degree in computing or significant computational coursework, but all students will be expected to write code and conduct quantitative analyses throughout the course. We plan to support learning of the same throughout the semester. Both course staff and willing students will be available to assist with some challenges such as debugging software installations. If you are unsure of whether this course is fit for you, please feel free to contact the instructors!
A detailed syllabus is forthcoming. Please feel free to reach out to the instructors with any questions in the meantime!
Logistics
| Lecture | Tuesdays & Thursdays, 12:30-1:50pm, Wean Hall 6403 |
| Office Hours | See Piazza |
| Canvas | Canvas course page |
| Piazza | Piazza course page |
| Contact | Please use Piazza for questions. For private matters, make a private post on Piazza and/or email the instructors. |
Topics
In this course, students will do natural language processing “in the wild” to conduct research in a specialized domain: they will build a text-based dataset, measure and make claims about their data, and adapt language technologies to their dataset.
Part 1: Text as data and language technologies
Students will begin by exploring general techniques and tools for analyzing text as data. Students will consider a historical perspective of natural language processing, learning about assumptions and tools for language processing that have evolved throughout the years, as well as underlying paradigms and constraints that have persisted even as our methods and surroundings have shifted.
Students will implement and compare various ways to encode language and text as information that one can study with a computer; by the end of the unit, students will be familiar with common use cases and limitations of methods for exploratory text data analysis, spanning command line tools, programming language-native functions, off-the-shelf libraries for natural language processing, and custom implementations. In particular, students will gain an understanding of differences in common methods and assumptions’ relevance across different settings; certain differences in domain or motivation may simply call for adjusted hyperparameters, while others may warrant entirely different toolsets or additional processing of text.
Examples of concepts and tools students will encounter:
- How to represent and model language, and at what level?
- Bytes, subwords, words, sequences, documents, and corpora
- Syntax, semantics, and discourse
- Vectorized representations of language such as bag-of-words representations (unweighted, weighted), static word embeddings (e.g. GloVe), contextual word embeddings (e.g. BERT)
- Graph representations of language such as dependency parses and HTML
- Processing language given a representation
- Finding and/or transforming text using regular expressions, string functions, fuzzy matching, and Unix commands such as jq, sed, and grep
- Tagging language with predetermined labels (e.g. named entity recognition or sequence classification), or describing language in relative terms (e.g. LDA topic models)
Part 3: Data curation and evaluation
In the next section, students will choose appropriate evaluation protocols, assess the quality and suitability of evaluation protocols themselves, and both specify and perform data annotation labor as they consider ways to answer their specific research questions.
Examples of concepts and tools students will engage with:
- Annotation tasks and labor
- Measures of annotator agreement
- Benchmarks, metrics, and metric validity and reliability
- Quantitative and qualitative analysis
- “In domain” vs out-of-distribution data
Part 4: Adapting models to domains
In the final section of the course, students will consider and try various methods for adapting existing models to their use cases, with a deep focus on LLMs. Methods discussed will span light-weight context augmentation (e.g. in-context learning), resource-intensive pre-training from scratch, and many techniques in-between. Notably, techniques do not fall along a universal one-dimensional scale in either cost or complexity.
Examples of concepts and tools students will engage with:
- In-context adaptation (e.g. few-shot learning, system prompts, agent skills, retrieval augmented generation)
- Parametric adaptation (e.g. supervised fine-tuning, “mid-training”, reinforcement learning, offline or online model merging)
- Synthetic data generation
- Lifelong / continual learning
Schedule
Dates are tentative and subject to change. In-class exercise materials, assignment links, and readings will be posted here as the semester progresses. Unless stated otherwise, all assignments are due at 11:59pm Eastern (ET) on the listed date.
| Wk | Date | Lecture | In-class activity | Assignments | Readings & resources |
|---|---|---|---|---|---|
| 1 | Tue Aug 25 | L1 Course overview, syllabus | Introductions | ||
| Thu Aug 27 | L2 A brief history of NLP | Exercise 2: Software setup + Python textercises | Info form (expertise, background, goals) due Fri 8/28 | Day 2 readings | |
| 2 | Tue Sep 1 | L3 Representing and encoding text | lab Lab 1 released | Day 3 readings | |
| Thu Sep 3 | L4 Guest lecture: What is meaning? (Yonatan Bisk) | Reflection assignment introduced | Day 4 readings | ||
| 3 | Tue Sep 8 | L5 Representing and modeling meaning | Reflection 1 due (pre-registered hypotheses) | Day 5 readings | |
| Thu Sep 10 | L6 Families of problems | Exercise 6: Open-ended corpus exploration | lab Lab 1 Part 1 due Fri 9/11 | Day 6 readings | |
| 4 | Tue Sep 15 | L7 Pre- and post-processing | Project group formation | Day 7 readings | |
| Thu Sep 17 | L8 The Internet | Intro presentation prep begins | lab Lab 1 Part 2 due Fri 9/18 lab Lab 2 released Presentation schedule out | Day 8 readings | |
| 5 | Tue Sep 22 | L9 Storing and navigating data | Post-Lab 1 activity | prj Project group registration form due | |
| Thu Sep 24 | Intro presentations I | Intro presentation slides due 12:30pm Reflection 2 due (post-Lab 1 activity) | |||
| 6 | Tue Sep 29 | Intro presentations II | prj Project proposal due | ||
| Thu Oct 1 | L10 Choosing tools | Exercise 10: LLM inference | lab Lab 2 due lab Lab 3 released | ||
| 7 | Tue Oct 6 | L11 Evaluation | Post-Lab 2 activity | ||
| Thu Oct 8 | L12 Guest lecture: Annotation (Nupoor Gandhi) | Project workshop | Reflection 3 due (post-Lab 2 activity) | ||
| 8 | Tue Oct 13 | Fall Break (no class) | |||
| Thu Oct 15 | Fall Break (no class) | ||||
| 9 | Tue Oct 20 | L13 Evaluation of evaluation | Exercise 13: Annotation and agreement | ||
| Thu Oct 22 | Project workshop | Reflection 4 due (annotation and agreement) | |||
| 10 | Tue Oct 27 | L14 Qualitative analysis | Exercise 14: Developing a codebook | ||
| Thu Oct 29 | L15 Assessing data and metric fit | Propose your own project rubric | lab Lab 3 due lab Lab 4 released | ||
| 11 | Tue Nov 3 | Election Day (no class) | |||
| Thu Nov 5 | Post-Lab 3 activity Project workshop |
prj Project rubric due (propose your own) | |||
| 12 | Tue Nov 10 | L16 Leveraging existing models and data | Exercise 16: ICL vs. RAG vs. fine-tuning | Reflection 5 due (post-Lab 3 activity) | |
| Thu Nov 12 | L17 Domain adaptation vs. generalization | Cross-disciplinary writing exercise | |||
| 13 | Tue Nov 17 | Project workshop (check-ins) | prj Cross-disciplinary writing exercise due | ||
| Thu Nov 19 | L18 Synthetic data | Exercise 18: Training on synthetic data | lab Lab 4 due | ||
| 14 | Tue Nov 24 | L19 Lifelong learning | Post-Lab 4 activity | ||
| Thu Nov 26 | Thanksgiving (no class) | ||||
| 15 | Tue Dec 1 | L20 What's not covered in this class? | TBD | Reflection 6 due (post-Lab 4 activity) | |
| Thu Dec 3 | Final presentations | ||||
| 16 | Finals week | prj Final report due |
Assignments
Grades are based on a combination of individual and group work.
| Component | Weight |
|---|---|
| Reflections | 20 |
| Introductory Presentations | 8 |
| Labs | 36 |
| Project | 36 |
Reflections (20 points). (6 assignments; 4 points each. Lowest grade dropped. Individual.) Reflections are meant to encourage engagement in and reflection on class lectures, especially with respect to goals and interests the student originally entered the class with. Specific prompts and questions will vary from reflection to reflection. More details below and in class.
Introductory Presentations (8 points). (1 assignment. Individual.) Students introduce themselves, their research interests, and their goals for the class, with a focus on communicating their research area’s norms and practices to be legible to their classmates and a braoder academic audience. See Introductory Presentations for details.
Labs (36 points). (4 assignments; 9 points each. First lab is individual, the rest are group.) Labs are implementation- and analysis-heavy assignments (mostly Python/PyTorch) designed to give hands-on experience implementing the methodologies discussed in class. After the first lab, labs will be group assignments to be completed with project teams using the codebase being developed for your course project. All labs will have “tracks” or components for NLP students and non-NLP students.
Project (36 points). (Group.) A semester-long 2-4 person team project focused on carrying out a research goal within a particular domain of interest to people in a non-NLP discipline. There will be intermediate assignments and exercises (project proposal, project sharing, writing abstracts for each other’s publication audiences) as well as a final presentation and report. More details below and in class.
Labs and project
Lab 1 – due Sep 18, 2026, 11:59pm ET, 9 pts
Part 1 is due Friday, September 11 at 11:59pm ET.
In Part 1 you will set up a local uv environment, load and explore the 20 Newsgroups corpus, and train and tune topic models on it.
Part 2 is due Friday, September 18 at 11:59pm ET.
In Part 2 you will download and parse the Folger Shakespeare corpus from its TEI XML source, vary what counts as a document (play, scene, speech, character), and compare the resulting topic models against 20 Newsgroups.
Lab 2 – due Oct 1, 2026, 11:59pm ET, 9 pts
Lab 3 – due Oct 29, 2026, 11:59pm ET, 9 pts
Lab 4 – due Nov 19, 2026, 11:59pm ET, 9 pts
Course Project – due TBD, 36 pts
Reflections
Throughout the semester, students will be asked to submit short written reflections based on ongoing work they have done for the class, through in-class activities, lab assignments, and course project work. Specific formats will vary, but many reflections will mirror the following format:
Given a language technology discussed in class, that you used during an assignment or in your project,
- what are some things you initially imagined it could be useful for?
- what are some limitations you imagined you would encounter? and
- after using the technology, how well did the technology’s empirical performance align with or diverge from your hypothesized strengths and limitations? (+ bonus, propose alternative ways to address the limitations)
Policies
Late Work: Unless stated otherwise, assignments are due at 11:59pm Eastern (ET) on the date listed in the schedule. Every student begins the semester with 5 late days to use across individual assignments over the semester, and every project group receives a separate 5 late days to use across group assignments. One late day extends a deadline by 24 hours, and late days are used in whole-day increments. Late work beyond late days will be accepted only in extenuating circumstances. Late days will be applied automatically (no need to ask ahead of time or state a specific reason!) and are meant to cover most situations that would warrant an extension, including but not limited to conference travel, minor illness, competing deadlines, and (minor) personal emergencies. For extenuating circumstances beyond what standard late days can cover, contact the instructors.
Academic Integrity: Throughout the semester, students will be asked to complete work individually, in groups, and using various types and amounts of technology, e.g. generative AI. Different components of the same assignment may vary in expectation; expectations and learning objectives will be explicitly communicated to students. In general, students are asked to uphold the spirit of each assignment. When in doubt, ask the instructors
Accommodations: If you have a disability and require accommodations but do not already have them approved by the Office of Disability Resources, please apply for accommodations through the Application section of the Disability Resources Online Portal. If you already have accommodations approved with Disability Resources, please use the Accommodations Management section of the Disability Resources Online Portal to notify me about your accommodations, and discuss your accommodations and needs with the instructors as early in the semester as possible. We will work with you to ensure that accommodations are provided as appropriate.
Wellness: As a student, you may experience a range of challenges that can interfere with learning, such as strained relationships, increased anxiety, substance use, feeling down, difficulty concentrating and/or lack of motivation. This is normal, and all of us benefit from support during times of struggle. There are many helpful resources available on campus and an important part of a healthy life is learning how to ask for help. Asking for support sooner rather than later is almost always helpful. CMU services are available free to students, and treatment does work. You can learn more about confidential mental health services available on campus through Counseling and Psychological Services (CaPS). Support is always available (24/7) at: 412-268-2922.
FAQ (ongoing)
Do I need my own dataset or research question already?
No, but you are more than welcome to join the class with a specific dataset or research question in mind already! All students will be asked to refine a research question in the context of the resources and technology available to them, and to acquire or develop resources in service of their project.
Do expectations for Group A and Group B students differ?
All students will be expected to complete all assignments. Already having experience with a particular topic or tool (e.g. setting up an annotation study, or training a model) may put a student in a position to assist other students with some in-class exercises. However, in general, the course and its assignments are designed to emphasize reflection, collaboration, and critical engagement with tools and their limitations. By design, assignments will be non-trivial to complete regardless of previous experience– in fact, students will often be provided implementations of tools to use in assignments, and in many cases a majority of the work expected of students will be reflective and interpretative.
Course projects will be assessed on a case-by-case basis, in collaboration with students. Expectations will be calibrated to a variety of factors, where depth of previous NLP experience will be just one of multiple factors, alongside considerations such as ambition of project goals, availability of existing tools and resources, and difficulty of acquiring or developing additional relevant tools and resources.