Welcome to ITP 459 - Generative AI and Natural Language Processing (NLP) at the University of Southern California. This course is designed to immerse students in the rapidly evolving fields of Generative AI and NLP, providing hands-on experience with cutting-edge Machine Learning Techniques & LLMs. Throughout the semester, you'll explore how generative models are transforming industries, from text generation to conversational agents. By the end of the course, you'll have developed a solid understanding of the theoretical foundations and practical applications of Generative AI & AI in NLP, equipping you with the skills to tackle real-world challenges in this exciting domain.

Instructor

Instructor Photo
Prof. Allen Bolourchi

Email: bolourch@usc.edu
LinkedIn

Lead Course Assistant

TA Photo
Rajeev Singh

Email: rajeevdh@usc.edu
LinkedIn

Course Assistant

TA Photo
Nitin Sai Bommi

Email: nbommi@usc.edu
LinkedIn

Office hours

Instructor/Course Assistant Mode Day Time Slot Location Meeting Link
Rajeev Singh Online Monday 10am - 11am Google Meet meet.google.com/rmc-qqom-vsb
Rajeev Singh In Person + Online Thursday 11:30am - 12:30pm OHE Patio meet.google.com/rmc-qqom-vsb
Rajeev Singh Online Friday 10am - 11am Google Meet meet.google.com/rmc-qqom-vsb

Weekly Course Topics

Please visit the course syllabus on Brightspace for the latest changes to the syllabus.

Date Lecture
Module 1: Introduction to Text Processing, NLP and AI
Week 1 Lecture 1: Introduction to NLP and AI
  • Course Overview
  • Historical Evolution of AI and NLP
  • Key Concepts in Machine Learning and NLP
  • Overview of NLP Applications in Various Domains
  • Basic Text Processing and Language Understanding
  • Challenges and Limitations in NLP
Week 2 Lecture 2: Text Cleaning and Preprocessing
  • Text Cleaning and Preprocessing
  • Techniques for Noise Reduction
  • Text Normalization and Tokenization
  • Lemmatization and Stemming
  • Co-occurrence Matrix in Text Analysis
  • Feature Extraction from Text
  • Regular Expressions in Text Processing
  • Basic Overview of Word Embeddings
  • Overview of python libraries such as NLTK, Spacy, regex etc.
Module 2: Fundamentals of Machine Learning for NLP
Week 3 Lecture 3: Fundamentals of Machine Learning for NLP
  • Supervised Learning and Unsupervised Learning - Key Algorithms for NLP
  • Evaluation Metrics for NLP Models
  • Training, Validation, and Test Sets in Model Development
  • Overfitting and Underfitting in NLP
  • Cross-Validation Techniques
  • Introduction to Python ML Libraries
Week 4 Lecture 4: Neural Networks and Deep Learning in NLP
  • Neural Networks and Deep Learning in NLP
  • Activation Functions and Network Topologies
  • Backpropagation and Gradient Descent
  • CNNs and RNNs for NLP
  • Advanced RNNs: LSTM and GRU
  • Sequence Modeling in NLP
  • Challenges in Deep Learning for NLP
  • Case Studies in Deep Learning for NLP
Week 5 Lecture 5: Transformer Models and Attention Mechanisms
  • Transformer Models and Attention Mechanisms
  • Understanding the Transformer Architecture
  • Concepts of Self-Attention and Positional Encoding
  • Overview of BERT, GPT, and Transformer Variants
  • Applications of Transformer Models in NLP
  • Training Transformer Models for NLP Tasks
  • Challenges and Solutions with Transformer Models
Module 3: NLP Techniques and Applications
Week 6 Lecture 6: Syntax, Parsing, Word Embeddings, and POS Tagging
  • Syntax, Parsing, Word Embeddings, and POS Tagging
  • Syntax in Natural Language Processing
  • Dependency and Constituency Parsing
  • Deep Dive into Word Embeddings
  • Word2Vec, GloVe, and FastText Embeddings
  • Using Embeddings in NLP Tasks
  • Part-of-Speech (POS) Tagging: Importance, Methods, and Tools
  • Practical Parsing, Embedding, and POS Tagging Techniques
  • Vector Database
Week 7 Lecture 7: Semantic Analysis, Language Models, and Question Answering
  • Semantic Analysis, Language Models, and Question Answering
  • Semantic Role Labeling (SRL)
  • Knowledge Graphs in Semantic Analysis
  • Advances in Contextual Embeddings
  • Overview of Language Models in NLP
  • Introduction to Question Answering System and Utilizing Language Models
  • Challenges in QA and Semantic Analysis
  • Word Sense Disambiguation Techniques
Week 8 Lecture 8: Text Classification and Machine Translation + Midterm Exam
  • MidTerm Exams!!
  • Text Classification and Machine Translation
  • Fundamentals of Text Classification
  • Techniques and Algorithms for Classification
  • Introduction to Machine Translation
  • Neural Machine Translation (NMT) models
  • Challenges and Evaluation Metrics for MT
  • Practical Implementation of MT Systems
Module 4: Specialized Topics and Advanced Techniques in NLP
Week 9 Lecture 9: Advanced Topics in Machine Learning and NLP
  • Advanced Topics in Machine Learning and NLP
  • Deep Transfer Learning in NLP
  • Strategies for Addressing Data Imbalance
  • Model Interpretability and Explainability in NLP
  • Advanced Optimization Techniques in NLP
  • Utilizing Pre-Trained NLP Models
  • Case Studies of Advanced ML in NLP
Week 10 Lecture 10: Named Entity Recognition, Information Retrieval and Search
  • Named Entity Recognition, Information Retrieval and Search
  • Advanced Techniques in NER
  • Contextual NER and Its Applications
  • Fundamentals of Information Retrieval
  • Deep Dive into TF-IDF and Co-occurrence Matrix
  • Search Engines and Indexing Techniques
  • Evaluation Metrics in Information Retrieval
  • Case Studies and Real-World Applications
Week 11 Lecture 11: Advanced Machine Translation and Summarization
  • Advanced Machine Translation and Summarization
  • Advanced Techniques in Machine Translation
  • Handling Low-Resource Languages in MT
  • Text Summarization
  • Extractive vs. Abstractive Summarization
  • Challenges in Summarization
  • Evaluation of Summarization Techniques
  • Current Trends in MT and Summarization
Week 12 Lecture 12: Speech Processing and Conversational AI
  • Speech Processing and Conversational AI
  • Basics of Speech Recognition
  • Challenges in Automatic Speech Recognition (ASR)
  • Design and Development of Conversational Agents
  • Evaluating Dialogue Systems in Conversational AI
  • Multimodal Interaction in Conversational AI
  • Natural Language Understanding in Conversational AI
  • Case Studies in Speech Processing and Conversational AI
Module 5: Generative AI
Week 13 Lecture 13: Generative AI, Products, Techniques, APIs, and Ethical Considerations
  • Generative AI, Products, Techniques, APIs, and Ethical Considerations
  • Generative Models in NLP (ChatGPT, BARD, Gemini, Llama)
  • Advanced Prompt Engineering: Few-shot, Chain-of-thought, and Self-Consistency
  • Expanding LLM Capabilities: Knowledge Generation Prompting and Program-aided (PAL)
  • Developing an API with MongoDB and ngrok, and interfacing via Postman
  • LLM Safety: Prompt Injection, Prompt Leaking, Jailbreaking
  • Responsible AI, Data Privacy, Ethical Considerations, and Governance in AI
  • Business Intelligence, Marketing, Analytics, and Brand Analysis Use Cases
  • Introduction to Product Management and Business Considerations
Week 14 Lecture 14: Training and Fine-Tuning LLMs, Hugging Face, LangChain, and RAG
  • Training and Fine-Tuning LLMs, Hugging Face, LangChain, and RAG
  • RAG: Retrieval Augmented Generation
  • Training of Chat GPT with Reinforcement Learning, HITL, and Proximal Policy Optimization
  • Evaluation of LLMs: MMLU, HellaSwag Benchmark, ARC, WinoGrade, GSM-8k, Truthful QA, PIQA
  • LoRA and QLoRA for Efficient Model Adaptation
  • Fine Tuning LLMs, Best Practices and Challenges
  • Fine-Tuned LLMs Application
  • Overview and Practical Use of Hugging Face in NLP Based Products
  • Utilizing LangChain and Llama for Customized Language Models
Week 15 Lecture 15: Course Review, Future Trends, and Project Presentations + Final Exam
  • Course Review, Future Trends, and Project Presentations + Final Exam
  • Recap of Key NLP and Generative AI Concepts
  • Discussion on the Future Trends in NLP and Generative AI
  • Student Project Presentations
  • Feedback and Review of Projects
  • Resources for Advanced Learning
  • Closing Remarks and Course Evaluation