Grounding & Research
July 6, 2023
bit.ly/mui-asdrp
ETHICS
AGENDA
Logistics
Prompting (review)
Retrieval Augmented Grounding
Research Proposals
Next week
Logistics
Milestones
Proposal Spreadsheet
AGENDA
Logistics
Prompting (review)
Retrieval Augmented Grounding
Research Proposals
Next week
Stochastic Parrots
“The ersatz fluency and coherence of LMs raises several risks, precisely because humans are prepared to interpret strings belonging to languages they speak as meaningful and corresponding to the communicative intent of some individual or group of individuals who have accountability for what is said.”
Problem Statement : An Alignment Problem
“Large language models (LMs) can be ‘prompted’ to perform a range of natural language processing (NLP) tasks, given some examples of the task as input. However, these models often express unintended behaviors such as making up facts, generating biased or toxic text, or simply not following user instructions (Bender et al., 2021; Bommasani et al., 2021; Kenton et al., 2021; Weidinger et al., 2021; Tamkin et al., 2021; Gehman et al., 2020).”
(OpenAI) Ouyang, et al, 2022
Instruction Tuning + Human Feedback : InstructGPT (March 2022)
Zero-Shot Prompting
Few-Shot Prompting
Chain-of-Thought (CoT)
Zero-shot Chain-of-Thought (CoT)
Automatic Chain-of-Thought (Auto-CoT)
Self-Consistency
Tree of Thoughts (ToT)
Tree of Thoughts (ToT)
Tree of Thoughts (ToT)
Tree of Thoughts (ToT)
Single Prompt ToT (2023)
AGENDA
Logistics
Prompting (review)
Retrieval Augmented Grounding
Research Proposals
Next week
Chatbot
LLM
LLM
LLM
response
What are the main factors for a nation to win a war?
Contextualized prompt with the top-k documents
Chatbot
LLM
LLM
LLM
response
Embedding
What are the main factors for a nation to win a war?
Chunk 1
Chunk 2
Chunk 3
Chunk 4
Chunk N
…
Embedding 1
Embedding 2
Embedding 3
Embedding 4
Embedding N
…
Vector database
Contextualized prompt with the top-k documents
Chatbot
LLM
LLM
LLM
response
Embedding
What are the main factors for a nation to win a war?
Retrieval Augmented Generation (Grounding) RAG
Chunk 1
Chunk 2
Chunk 3
Chunk 4
Chunk N
…
Embedding 1
Embedding 2
Embedding 3
Embedding 4
Embedding N
…
Top “2” semantically related document chunks
Vector database
Contextualized prompt with the top-k documents
Chatbot
LLM
LLM
LLM
response
Embedding
What are the main factors for a nation to win a war?
AGENDA
Logistics
Prompting (review)
Retrieval Augmented Grounding
Research Proposals
Next week
Proposal Spreadsheet
AGENDA
Logistics
Prompting (review)
Retrieval Augmented Grounding
Research Proposals
Next week
Milestones
Proposal Guidance
“Can you assign me to a research group?”
“You're not in Kansas anymore.”
This Sunday
Research Projects