SlideShare a Scribd company logo
ChatGPT and Generative AI
Landscape (UW Guest Lecture)
Sanjeev Jagtap
Contents
Demo
Harry Potter and the Goblet of Fire Chapter Seven
Harry Potter and The Goblet of Fire: Chapter Seven
When asked,
ChatGPT gets
imaginative,
incorrectly making
up the book and
school names aka
“hallucinates”.
We help by providing
the page text and it
correctly picks out
the correct answers.
(Can also be search
results, documents,
web pages, …)
Another
example,
similar mistake
to begin with…
but this time,
we ask it to
“think it
through”….
Still stubbornly
incorrect,
but we persist in
nudging and
instructing…
It finally
gets the
school's
name
correct.
Takeaways
• Semantically, ChatGPT has no idea. It’s just doing Math.
• Factually, it can occasionally make errors.
• It has awesome natural language understanding and generation skills.
• Prompting and grounding with missing knowledge closes the gaps.
• Generative AI models are “jack of all trades”.
• “Collaborate” with them via prompting, finetuning, humans, models.
• Think “Copilots”, “Assistants”, “Wizards”, “Suggestions”…
The Tech
The Problem of Language modeling
Pre-2017, while CNNs (convolutional neural
networks) worked great for images, RNNs
(recurrent neural networks) for language did not.
RNNs were sequential, error-prone, and did not
capture the language model insights and were
therefore did not output natural looking text.
“[Self] Attention is all you need”
• 2017 breakthrough paper titled “Attention is
all you need” introduced the Transformer
model architecture.
• Key idea: Focus on “positional encodings”,
“attention” and “self attention” for the tokens
(integers) representing the words/sub-words.
https://arxiv.org/abs/1706.03762
In plain English
Capture a sense of “nearness” by similarity of
use, numerical distance, etc. and relate to
other words (aka tokens) for ordering and
deep understanding of the language model to
compute the probability of the next token in
sequence. (Its just Math)
Over-simplified How-it-works
• Assign to each unique word a unique identifier, a number that will serve as a
token to represent that word.
• Note the location of every token relative to every other token.
• Using just token and location—determine the probability of it being adjacent to,
or in the vicinity of, every other word.
• Feed these probabilities into a neural network to build a map of relationships.
• Given any string of words as a prompt, use the neural network to predict the
next word (just like AutoCorrect).
• Based on feedback, adjust the internal parameters of the neural network to
improve its performance.
• Extend the prediction to the next phrase, the next clause, the next sentence, the
next paragraph, and so on, by using feedback to further adjust its internal
parameters.
• Based on the above, generate text responses to user questions and prompts
that reviewers agree are appropriate and useful.
Summarizing
• Generative AI language models fundamentally predict
the next words (represented as numerical tokens) in
sequence like auto-complete.
• Words are tokenized into numbers and the model
processes these “tokens” while dealing with context,
nearness, and weights in the neural network and
iterating on them as the model is trained.
Adoption landscape and trade-offs
Prompted: Zero or One-shot Prompted: Multiple-shot Finetuned DIY
General/Broad task Narrow task
LLM LLM Specialized Specialized
+
Synthetic data
generation
AI Quality
Evaluation
Inferencing in
production
Usage
Scope
Composition
Lifecycle
Iterative benchmarking and regression testing become critical.
The Race
AI models were getting larger quickly…
AS AI MODELS HAVE GOTTEN
PROGRESSIVELY LARGER THEY
HAVE BEGUN TO SURPASS
MAJOR HUMAN PERFORMANCE
BENCHMARKS. SOURCES: © THE
ECONOMIST NEWSPAPER
LIMITED, LONDON, JUNE 11TH
2022. ALL RIGHTS RESERVED;
SCIENCE.ORG/CONTENT/ARTICLE
/COMPUTERS-ACE-IQ-TESTS-
STILL-MAKE-DUMB-MISTAKES-
CAN-DIFFERENT-TESTS-HELP
https://www.sequoiacap.com/article/
generative-ai-a-creative-new-world/
Recall the Tech Adoption‘S’Curves
Transitioning from one S-curve to
another is the tricky part for companies.
The bridges go over choppy waters.
The transitions between innovations can
span months and years. Therefore, you
need bridges in form of hybrid systems,
handovers of technology and
customers, and managing of resources
and investment as the landscape shifts.
The race in a nutshell
Technological
discontinuity
Era of ferment
Era of incremental change
Dominant
design
emerges
Cost
decreasing
with usage
Chosen
dominant
design
Learn (fast)
Adopt (fast)
Dominate (fast)
Performance
increasing with
usage
Size of
installed
base
Availability of
complimentary
goods
First mover(s) pros & cons
1
2
3
Winner(s) take(s) all
Brand amplification and loyalty
Technological leadership
Preemption of scarce assets
Exploitation of buyer switching costs
• Research and development expenses
• Undeveloped supply and distribution channels
• Immature enabling technologies and complements
• Uncertainty of customer requirements
Winner(s) must deal with:
There is no free lunch. Just strategic tradeoffs.
Which CEO said what (paraphrasing)
“The one that I think is going to have the fastest direct business loop is going to be around
helping people interact with businesses. I mean, you can imagine a world where over
time every business has an AI agent that basically people can message and interact with
them. … It’s quite human labor intensive for a person to be on the other side of that
interaction.”
“Some of our most successful products were not first to market. They gained momentum
because they solved important user needs and were built on deep technical insights.”
“The most important thing we are doing in AI is trusted and responsible AI. Customers,
particularly large enterprises, are equal parts intrigued and concerned by the
technology’s potential. We’ve all seen the movies and where this can go. We have all
these crazy ideas in our head of what can happen.”
“Many of today’s A.I. chatbots and other generative A.I. tools are part of the “hype cycle,”
while we are focused on the “substance cycle…This is a 10K race while everyone is just 3
steps in.”
“We are making the first moves and if our friends (competition) respond and they will, we
want everyone to know we made them move.”
Amazon
Microsoft
Facebook
Google
Salesforce
Customers
Most practical customer scenarios
• Written content augmentation and creation: Producing a “draft” output of text
in a desired style and length
• Question answering and discovery: Enabling users to locate answers to input,
based on data and prompt information
• Tone: Text manipulation, to soften language or professionalize text
• Summarization: Offering shortened versions of conversations, articles,
emails and webpages
• Simplification: Breaking down titles, creating outlines and extracting key
content
• Classification of content for specific use cases: Sorting by sentiment, topic,
etc.
• Software coding: Code generation, translation, explanation and verification
https://www.gartner.com/en/topics/generative-ai
https://www.sequoiacap.com/article/generative-ai-a-creative-new-world/
Generative AI
Application
Landscape
The
Generative AI
Landscape
https://www.sequoiacap.com/article/generative-ai-a-creative-new-world/
Generative AI projected timeline view
Advanced Use Cases by Industry
https://www.gartner.com/en/articles/beyond-chatgpt-the-future-of-generative-ai-for-enterprises
“Generative AI has
already been used
to design drugs for
various uses within
months, offering
pharma significant
opportunities to
reduce both the
costs and timeline of
drug discovery.”
In a recent Gartner webinar
poll of more than 2,500
executives, 38% indicated
that customer experience
and retention is the primary
purpose of their generative
AI investments. This was
followed by revenue growth
(26%), cost optimization
(17%) and business
continuity (7%).
https://www.gartner.com/en/articles/beyond-chatgpt-the-future-of-generative-ai-for-enterprises
Costs: From negligible to many millions
• Free versions of public, openly hosted applications, such as
ChatGPT, or by paying low subscription fees. However, free and
low-cost options come with minimal protection of enterprise data
and associated output risks.
• Larger enterprises and those that desire greater analysis or use of
their own enterprise data with higher levels of security and IP and
privacy. In this instance, costs can be in the millions of dollars.
• Generative AI capabilities will increasingly be built into the
software products you likely use everyday, like Bing, Office 365,
Microsoft 365 Copilot and Google Workspace. Vendors will pass
on costs to customers as part of bundled incremental price
increases. Microsoft recently announced their per-user pricing for
Office 365 CoPilot pricing.
Careers
Product (Managers)
• Learn up the what/how(AI level) to
update product (what/why)
• More OOB model power => emphasis
on user value and experience
• User generated vs. AI generated content
trade-offs
• More collaborative with higher
accountability bar
• Career opportunity to get into AI (Tech)
Engineering professionals
• Vocabulary – Prompting, Finetuning, Turns, …
• Engineering – Systems, frameworks, tooling, metrics
• Frameworks- LangChain, Semantic Kernel
• Prompting – knowledge, tooling (PromptFlow)
• Research – Augment, enhance, build on top
• Open source – Alternatives, crowd-sourced
Business planning
• New underlying economics
• Willingness to pay (WTP) questions
• Pricing models – new units (e.g., tokens)
• Stand-alone vs. bundling with existing
• New and more stakeholders to manage
• Business projections vs. realization
User experience design impact*
Collaborative
not
command
AI notices ala
disclaimers
Reverse-
prompt users
Citations and
references
Feedback for
improvement
Address
costs and
speed
https://www.linkedin.com/learning/ux-for-ai-design-practices-for-ai-developers/designing-for-ai
Software
Testing/QA
• Learn about AI quality metrics and lifecycle
• Word Error Rate (WER), FactX, ROUGE-L,
Human evaluations
• Precision, Recall, F1-Score, Ground truth
(reference) data
• Learn about development and evaluation
data set creation
• Learn about AI benchmarking and regression
best practices
• Create a GitHub repo, download a public
dataset as your ground truth (reference),
create a test dataset from the internet, GPT,
or your own and publish your findings
Recap career tips
Generative AI levels the playing field between tech and non-tech
Opportunity for entry into the tech and AI space
New disciplines like Prompt Engineering are hot
Responsible AI is an example of new careers to learn up and enter the AI industry
Use experience design principles are evolving to meet challenges
For newbies, learn it up while prioritizing your target niche
For experienced ones, decide how and where you want to play
Responsible AI
Why it is more important today
With Generative AI power also come significantly increased
challenges related to harmful content, manipulation, human-like
behavior, privacy, and more.
The industry is unanimous and for good reasons that responsible
use and AI need to be tied to the hip.
Example planning framework
• Policy
• Research
• Engineering
• Fairness
• Reliability and safety
• Privacy and Security
• Inclusiveness
• Transparency
• Accountability
• Operationalization
• Advocacy
• Alliances
• Positioning
Pillars Principles Practices
https://www.microsoft.com/en-us/ai/responsible-ai
Responsible Use Product Guidance (example)
• Harm mitigation
• Identify
• Measure
• Mitigate
• Operation
• Transparency note
• Introduction
• Concepts
• Intended use cases
• Considerations when choosing a use case
• Capabilities
• Limitations
• Limited access aka “gating”
• Application
• Review of use case
• Other criteria
• Approvals
• Code of Conduct
• Access requirements
• Content requirements
• Mitigations requirements
Azure OpenAI Responsible Use Guidance (example)
Data, privacy, and security
• What data is processed?
• How does the service process data?
• Cover over the wire and in the cloud infrastructure
• Which secure networking options are available
• Regulatory compliance certifications
• Government clouds, Public clouds
Microsoft Azure Compliance Offerings (example)
Content safety as a service
https://azure.microsoft.com/en-us/products/ai-services/ai-content-safety
Takeaways
• Learn up on the latest and what companies and agencies are up to
• Excellent way to get into AI as a career
• Critical regulatory and compliance space that’s poised to grow
• Solving hard problems while working with AI researchers
• https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/
• https://www.deeplearning.ai/short-courses/building-systems-with-chatgpt/
• https://build.microsoft.com/en-US/sessions/db3f4859-cd30-4445-a0cd-553c3304f8e2
• https://karpathy.medium.com/software-2-0-a64152b37c35
• https://www.linkedin.com/pulse/understanding-chatgpt-triumph-rhetoric-geoffrey-moore
• https://developer.nvidia.com/blog/deep-learning-nutshell-core-concepts/
• https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-doing-and-why-does-it-work/
• https://daleonai.com/transformers-explained
• https://a16z.com/2023/05/25/ai-canon/
More references
Thank You!

More Related Content

What's hot (20)

PDF
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
ssuser4edc93
 
PDF
Using the power of Generative AI at scale
Maxim Salnikov
 
PDF
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
DianaGray10
 
PDF
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Robert McDermott
 
PPTX
A Comprehensive Review of Large Language Models for.pptx
SaiPragnaKancheti
 
PDF
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
VINCI Digital - Industrial IoT (IIoT) Strategic Advisory
 
PDF
Holland & Barrett: Gen AI Prompt Engineering for Tech teams
Dobo Radichkov
 
PPTX
Generative AI.pptx
RohitRadhakrishnan8
 
PDF
Generative-AI-in-enterprise-20230615.pdf
Liming Zhu
 
PDF
Large Language Models Bootcamp
Data Science Dojo
 
PDF
Let's talk about GPT: A crash course in Generative AI for researchers
Steven Van Vaerenbergh
 
PPTX
ChatGPT Deck.pptx
omornahid1
 
PPTX
Google BARD v/s ChatGPT _ A review
DR. Ram Kumar Pathak
 
PPTX
Jawad's presentation on GPT.pptx
JawadNadeem3
 
PDF
Prompt Engineering - an Art, a Science, or your next Job Title?
Maxim Salnikov
 
PDF
ChatGPT-the-revolution-is-coming.pdf
Liang Yan
 
PDF
Google Cloud Machine Learning
India Quotient
 
PDF
Understanding generative AI models A comprehensive overview.pdf
StephenAmell4
 
PDF
AI and ML Series - Leveraging Generative AI and LLMs Using the UiPath Platfor...
DianaGray10
 
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
ssuser4edc93
 
Using the power of Generative AI at scale
Maxim Salnikov
 
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
DianaGray10
 
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Robert McDermott
 
A Comprehensive Review of Large Language Models for.pptx
SaiPragnaKancheti
 
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
VINCI Digital - Industrial IoT (IIoT) Strategic Advisory
 
Holland & Barrett: Gen AI Prompt Engineering for Tech teams
Dobo Radichkov
 
Generative AI.pptx
RohitRadhakrishnan8
 
Generative-AI-in-enterprise-20230615.pdf
Liming Zhu
 
Large Language Models Bootcamp
Data Science Dojo
 
Let's talk about GPT: A crash course in Generative AI for researchers
Steven Van Vaerenbergh
 
ChatGPT Deck.pptx
omornahid1
 
Google BARD v/s ChatGPT _ A review
DR. Ram Kumar Pathak
 
Jawad's presentation on GPT.pptx
JawadNadeem3
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Maxim Salnikov
 
ChatGPT-the-revolution-is-coming.pdf
Liang Yan
 
Google Cloud Machine Learning
India Quotient
 
Understanding generative AI models A comprehensive overview.pdf
StephenAmell4
 
AI and ML Series - Leveraging Generative AI and LLMs Using the UiPath Platfor...
DianaGray10
 

Similar to ChatGPT-and-Generative-AI-Landscape Working of generative ai search (20)

PPTX
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
CloudHesive
 
PDF
Generative AI __ What is and why is it so popular.pdf
smartsyncer
 
PDF
A comprehensive guide to unlock the power of generative AI
Bluebash
 
PDF
AC Atlassian Coimbatore Session Slides( 22/06/2024)
apoorva2579
 
PPTX
Generative AI case study of ChaGpt pptx.
ErickWasonga2
 
DOC
Generative AI Understanding the New Tech Frontier.doc
TCCI Computer Coaching
 
PDF
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures
 
PDF
insights_a_dawn_of_generative_ai.pdf
sarah david
 
PDF
A Dawn of Generative AI – Cuneiform Consulting.pdf
Cuneiform Consulting Pvt Ltd.
 
PDF
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
 
PPTX
Session 1 AI literacy What is AI and how do we use it (Slide Presentation).pptx
jameshodgkinson9
 
PDF
ChatGPT - AI.pdf
Bannoon1
 
PDF
Accenture-A-New-Era-of-Generative-AI-for-Everyone.pdf
AlexandreMacedo50
 
PDF
Generative AI - The Future of Creation (Presentation by Aishwarya Ramesh)
Aishwarya Ramesh
 
PDF
AI and Data Science.pdf
MohammadMuzammilAnsa2
 
PPTX
Session 1 AI literacy What is AI and how do we use it (video).pptx
jameshodgkinson9
 
PDF
How to build a generative AI solution?
Benjaminlapid1
 
PDF
AI 2023.pdf
DavidCieslak4
 
PDF
How to build a generative AI solution From prototyping to production.pdf
StephenAmell4
 
PDF
Generative AI Use Cases and Applications.pdf
alexjohnson7307
 
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
CloudHesive
 
Generative AI __ What is and why is it so popular.pdf
smartsyncer
 
A comprehensive guide to unlock the power of generative AI
Bluebash
 
AC Atlassian Coimbatore Session Slides( 22/06/2024)
apoorva2579
 
Generative AI case study of ChaGpt pptx.
ErickWasonga2
 
Generative AI Understanding the New Tech Frontier.doc
TCCI Computer Coaching
 
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures
 
insights_a_dawn_of_generative_ai.pdf
sarah david
 
A Dawn of Generative AI – Cuneiform Consulting.pdf
Cuneiform Consulting Pvt Ltd.
 
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
 
Session 1 AI literacy What is AI and how do we use it (Slide Presentation).pptx
jameshodgkinson9
 
ChatGPT - AI.pdf
Bannoon1
 
Accenture-A-New-Era-of-Generative-AI-for-Everyone.pdf
AlexandreMacedo50
 
Generative AI - The Future of Creation (Presentation by Aishwarya Ramesh)
Aishwarya Ramesh
 
AI and Data Science.pdf
MohammadMuzammilAnsa2
 
Session 1 AI literacy What is AI and how do we use it (video).pptx
jameshodgkinson9
 
How to build a generative AI solution?
Benjaminlapid1
 
AI 2023.pdf
DavidCieslak4
 
How to build a generative AI solution From prototyping to production.pdf
StephenAmell4
 
Generative AI Use Cases and Applications.pdf
alexjohnson7307
 
Ad

Recently uploaded (20)

PDF
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
PDF
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
PPT
SF 9_Unit 1.ppt software engineering ppt
AmarrKannthh
 
PDF
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
PPTX
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
PPTX
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
PPTX
Computer network Computer network Computer network Computer network
Shrikant317689
 
PDF
Module - 4 Machine Learning -22ISE62.pdf
Dr. Shivashankar
 
PDF
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
 
PPTX
ASBC application presentation template (ENG)_v3 (1).pptx
HassanMohammed730118
 
PPTX
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
PPTX
Introduction to File Transfer Protocol with commands in FTP
BeulahS2
 
PDF
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
PDF
Tesia Dobrydnia - An Avid Hiker And Backpacker
Tesia Dobrydnia
 
PDF
June 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
PDF
01-introduction to the ProcessDesign.pdf
StiveBrack
 
PDF
Clustering Algorithms - Kmeans,Min ALgorithm
Sharmila Chidaravalli
 
PPTX
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
AsadShad4
 
PDF
Decision support system in machine learning models for a face recognition-bas...
TELKOMNIKA JOURNAL
 
PDF
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
SF 9_Unit 1.ppt software engineering ppt
AmarrKannthh
 
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
Computer network Computer network Computer network Computer network
Shrikant317689
 
Module - 4 Machine Learning -22ISE62.pdf
Dr. Shivashankar
 
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
 
ASBC application presentation template (ENG)_v3 (1).pptx
HassanMohammed730118
 
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
Introduction to File Transfer Protocol with commands in FTP
BeulahS2
 
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
Tesia Dobrydnia - An Avid Hiker And Backpacker
Tesia Dobrydnia
 
June 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
01-introduction to the ProcessDesign.pdf
StiveBrack
 
Clustering Algorithms - Kmeans,Min ALgorithm
Sharmila Chidaravalli
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
AsadShad4
 
Decision support system in machine learning models for a face recognition-bas...
TELKOMNIKA JOURNAL
 
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
Ad

ChatGPT-and-Generative-AI-Landscape Working of generative ai search

  • 1. ChatGPT and Generative AI Landscape (UW Guest Lecture) Sanjeev Jagtap
  • 3. Demo Harry Potter and the Goblet of Fire Chapter Seven
  • 4. Harry Potter and The Goblet of Fire: Chapter Seven
  • 5. When asked, ChatGPT gets imaginative, incorrectly making up the book and school names aka “hallucinates”.
  • 6. We help by providing the page text and it correctly picks out the correct answers. (Can also be search results, documents, web pages, …)
  • 7. Another example, similar mistake to begin with… but this time, we ask it to “think it through”….
  • 8. Still stubbornly incorrect, but we persist in nudging and instructing…
  • 10. Takeaways • Semantically, ChatGPT has no idea. It’s just doing Math. • Factually, it can occasionally make errors. • It has awesome natural language understanding and generation skills. • Prompting and grounding with missing knowledge closes the gaps. • Generative AI models are “jack of all trades”. • “Collaborate” with them via prompting, finetuning, humans, models. • Think “Copilots”, “Assistants”, “Wizards”, “Suggestions”…
  • 12. The Problem of Language modeling Pre-2017, while CNNs (convolutional neural networks) worked great for images, RNNs (recurrent neural networks) for language did not. RNNs were sequential, error-prone, and did not capture the language model insights and were therefore did not output natural looking text.
  • 13. “[Self] Attention is all you need” • 2017 breakthrough paper titled “Attention is all you need” introduced the Transformer model architecture. • Key idea: Focus on “positional encodings”, “attention” and “self attention” for the tokens (integers) representing the words/sub-words. https://arxiv.org/abs/1706.03762
  • 14. In plain English Capture a sense of “nearness” by similarity of use, numerical distance, etc. and relate to other words (aka tokens) for ordering and deep understanding of the language model to compute the probability of the next token in sequence. (Its just Math)
  • 15. Over-simplified How-it-works • Assign to each unique word a unique identifier, a number that will serve as a token to represent that word. • Note the location of every token relative to every other token. • Using just token and location—determine the probability of it being adjacent to, or in the vicinity of, every other word. • Feed these probabilities into a neural network to build a map of relationships. • Given any string of words as a prompt, use the neural network to predict the next word (just like AutoCorrect). • Based on feedback, adjust the internal parameters of the neural network to improve its performance. • Extend the prediction to the next phrase, the next clause, the next sentence, the next paragraph, and so on, by using feedback to further adjust its internal parameters. • Based on the above, generate text responses to user questions and prompts that reviewers agree are appropriate and useful.
  • 16. Summarizing • Generative AI language models fundamentally predict the next words (represented as numerical tokens) in sequence like auto-complete. • Words are tokenized into numbers and the model processes these “tokens” while dealing with context, nearness, and weights in the neural network and iterating on them as the model is trained.
  • 17. Adoption landscape and trade-offs Prompted: Zero or One-shot Prompted: Multiple-shot Finetuned DIY General/Broad task Narrow task LLM LLM Specialized Specialized + Synthetic data generation AI Quality Evaluation Inferencing in production Usage Scope Composition Lifecycle Iterative benchmarking and regression testing become critical.
  • 19. AI models were getting larger quickly… AS AI MODELS HAVE GOTTEN PROGRESSIVELY LARGER THEY HAVE BEGUN TO SURPASS MAJOR HUMAN PERFORMANCE BENCHMARKS. SOURCES: © THE ECONOMIST NEWSPAPER LIMITED, LONDON, JUNE 11TH 2022. ALL RIGHTS RESERVED; SCIENCE.ORG/CONTENT/ARTICLE /COMPUTERS-ACE-IQ-TESTS- STILL-MAKE-DUMB-MISTAKES- CAN-DIFFERENT-TESTS-HELP https://www.sequoiacap.com/article/ generative-ai-a-creative-new-world/
  • 20. Recall the Tech Adoption‘S’Curves Transitioning from one S-curve to another is the tricky part for companies. The bridges go over choppy waters. The transitions between innovations can span months and years. Therefore, you need bridges in form of hybrid systems, handovers of technology and customers, and managing of resources and investment as the landscape shifts.
  • 21. The race in a nutshell Technological discontinuity Era of ferment Era of incremental change Dominant design emerges Cost decreasing with usage Chosen dominant design Learn (fast) Adopt (fast) Dominate (fast) Performance increasing with usage Size of installed base Availability of complimentary goods
  • 22. First mover(s) pros & cons 1 2 3 Winner(s) take(s) all Brand amplification and loyalty Technological leadership Preemption of scarce assets Exploitation of buyer switching costs • Research and development expenses • Undeveloped supply and distribution channels • Immature enabling technologies and complements • Uncertainty of customer requirements Winner(s) must deal with: There is no free lunch. Just strategic tradeoffs.
  • 23. Which CEO said what (paraphrasing) “The one that I think is going to have the fastest direct business loop is going to be around helping people interact with businesses. I mean, you can imagine a world where over time every business has an AI agent that basically people can message and interact with them. … It’s quite human labor intensive for a person to be on the other side of that interaction.” “Some of our most successful products were not first to market. They gained momentum because they solved important user needs and were built on deep technical insights.” “The most important thing we are doing in AI is trusted and responsible AI. Customers, particularly large enterprises, are equal parts intrigued and concerned by the technology’s potential. We’ve all seen the movies and where this can go. We have all these crazy ideas in our head of what can happen.” “Many of today’s A.I. chatbots and other generative A.I. tools are part of the “hype cycle,” while we are focused on the “substance cycle…This is a 10K race while everyone is just 3 steps in.” “We are making the first moves and if our friends (competition) respond and they will, we want everyone to know we made them move.” Amazon Microsoft Facebook Google Salesforce
  • 25. Most practical customer scenarios • Written content augmentation and creation: Producing a “draft” output of text in a desired style and length • Question answering and discovery: Enabling users to locate answers to input, based on data and prompt information • Tone: Text manipulation, to soften language or professionalize text • Summarization: Offering shortened versions of conversations, articles, emails and webpages • Simplification: Breaking down titles, creating outlines and extracting key content • Classification of content for specific use cases: Sorting by sentiment, topic, etc. • Software coding: Code generation, translation, explanation and verification https://www.gartner.com/en/topics/generative-ai
  • 29. Advanced Use Cases by Industry https://www.gartner.com/en/articles/beyond-chatgpt-the-future-of-generative-ai-for-enterprises “Generative AI has already been used to design drugs for various uses within months, offering pharma significant opportunities to reduce both the costs and timeline of drug discovery.”
  • 30. In a recent Gartner webinar poll of more than 2,500 executives, 38% indicated that customer experience and retention is the primary purpose of their generative AI investments. This was followed by revenue growth (26%), cost optimization (17%) and business continuity (7%). https://www.gartner.com/en/articles/beyond-chatgpt-the-future-of-generative-ai-for-enterprises
  • 31. Costs: From negligible to many millions • Free versions of public, openly hosted applications, such as ChatGPT, or by paying low subscription fees. However, free and low-cost options come with minimal protection of enterprise data and associated output risks. • Larger enterprises and those that desire greater analysis or use of their own enterprise data with higher levels of security and IP and privacy. In this instance, costs can be in the millions of dollars. • Generative AI capabilities will increasingly be built into the software products you likely use everyday, like Bing, Office 365, Microsoft 365 Copilot and Google Workspace. Vendors will pass on costs to customers as part of bundled incremental price increases. Microsoft recently announced their per-user pricing for Office 365 CoPilot pricing.
  • 33. Product (Managers) • Learn up the what/how(AI level) to update product (what/why) • More OOB model power => emphasis on user value and experience • User generated vs. AI generated content trade-offs • More collaborative with higher accountability bar • Career opportunity to get into AI (Tech)
  • 34. Engineering professionals • Vocabulary – Prompting, Finetuning, Turns, … • Engineering – Systems, frameworks, tooling, metrics • Frameworks- LangChain, Semantic Kernel • Prompting – knowledge, tooling (PromptFlow) • Research – Augment, enhance, build on top • Open source – Alternatives, crowd-sourced
  • 35. Business planning • New underlying economics • Willingness to pay (WTP) questions • Pricing models – new units (e.g., tokens) • Stand-alone vs. bundling with existing • New and more stakeholders to manage • Business projections vs. realization
  • 36. User experience design impact* Collaborative not command AI notices ala disclaimers Reverse- prompt users Citations and references Feedback for improvement Address costs and speed https://www.linkedin.com/learning/ux-for-ai-design-practices-for-ai-developers/designing-for-ai
  • 37. Software Testing/QA • Learn about AI quality metrics and lifecycle • Word Error Rate (WER), FactX, ROUGE-L, Human evaluations • Precision, Recall, F1-Score, Ground truth (reference) data • Learn about development and evaluation data set creation • Learn about AI benchmarking and regression best practices • Create a GitHub repo, download a public dataset as your ground truth (reference), create a test dataset from the internet, GPT, or your own and publish your findings
  • 38. Recap career tips Generative AI levels the playing field between tech and non-tech Opportunity for entry into the tech and AI space New disciplines like Prompt Engineering are hot Responsible AI is an example of new careers to learn up and enter the AI industry Use experience design principles are evolving to meet challenges For newbies, learn it up while prioritizing your target niche For experienced ones, decide how and where you want to play
  • 40. Why it is more important today With Generative AI power also come significantly increased challenges related to harmful content, manipulation, human-like behavior, privacy, and more. The industry is unanimous and for good reasons that responsible use and AI need to be tied to the hip.
  • 41. Example planning framework • Policy • Research • Engineering • Fairness • Reliability and safety • Privacy and Security • Inclusiveness • Transparency • Accountability • Operationalization • Advocacy • Alliances • Positioning Pillars Principles Practices https://www.microsoft.com/en-us/ai/responsible-ai
  • 42. Responsible Use Product Guidance (example) • Harm mitigation • Identify • Measure • Mitigate • Operation • Transparency note • Introduction • Concepts • Intended use cases • Considerations when choosing a use case • Capabilities • Limitations • Limited access aka “gating” • Application • Review of use case • Other criteria • Approvals • Code of Conduct • Access requirements • Content requirements • Mitigations requirements Azure OpenAI Responsible Use Guidance (example)
  • 43. Data, privacy, and security • What data is processed? • How does the service process data? • Cover over the wire and in the cloud infrastructure • Which secure networking options are available • Regulatory compliance certifications • Government clouds, Public clouds Microsoft Azure Compliance Offerings (example)
  • 44. Content safety as a service https://azure.microsoft.com/en-us/products/ai-services/ai-content-safety
  • 45. Takeaways • Learn up on the latest and what companies and agencies are up to • Excellent way to get into AI as a career • Critical regulatory and compliance space that’s poised to grow • Solving hard problems while working with AI researchers
  • 46. • https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/ • https://www.deeplearning.ai/short-courses/building-systems-with-chatgpt/ • https://build.microsoft.com/en-US/sessions/db3f4859-cd30-4445-a0cd-553c3304f8e2 • https://karpathy.medium.com/software-2-0-a64152b37c35 • https://www.linkedin.com/pulse/understanding-chatgpt-triumph-rhetoric-geoffrey-moore • https://developer.nvidia.com/blog/deep-learning-nutshell-core-concepts/ • https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-doing-and-why-does-it-work/ • https://daleonai.com/transformers-explained • https://a16z.com/2023/05/25/ai-canon/ More references