Gen AI: tech du-jour or the next big thing?

massimoreferre 66 views 35 slides May 18, 2024
Slide 1
Slide 1 of 35
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35

About This Presentation

Is generative AI a fundamental improvement in our day-by-day? Or is it just the cool tech trend which shall pass? Are generative AI assistants useful? Can they make us more productive? Can we trust them? Are developers going to be replaced? In this session Massimo will share his perspective on the n...


Slide Content

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gen AI: tech du-jour or the next big thing?
Massimo Re Ferrè
Senior Principal Product Manager
AWS

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.2
Disclaimer: Gen AI is much bigger than this content
•This talk covers Gen AI from the (philosophical) angle of my day-by-day (NGDE)
•I can’t speak to why Gen AI is making Hollywood mad

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.3
Mainframes
Technology wave #1Technology wave #2
Personal Computers
Functions
Technology wave #3
Technology delivery model
Data center
Cloud
The IT world (through my lenses, over 30 years)
Servers
VMs
Containers

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.4
My aha moment for Gen AI

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.5
submit
How does Gen AI work (in simple terms)?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.6
How can I use this knowledge and reason about it to create a new asset?
An asset being a piece of code, a whole program, a blog, an architecture, a troubleshooting
workflow, a db query and more outside of the IT realm (a poem, a picture, a receipt …)
Source of unstructured knowledge
Why is Gen AI a big deal (in my opinion)?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
7You
Read and
memorize it all
(LOL – yeah sure) LLM
Train on it
(doable)
(1)
(2)
(3a)
Natural language
conversation
(3b)
Source of unstructured knowledge
asset
asset
Search engines (possibly
not relevant and still hard
- you are the integrator
and generator of a new
asset – text or code)
The big deal
Why is Gen AI a big deal (in my opinion)?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Generative AI applicability in your stack
Builder
User
The builder writes code
The user interacts with the
application using a query language
The code is a bunch of functions

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Generative AI applicability in your stack
User
https://stackoverflow.com/questions/16864564/complex-sql-select-statement
The user interacts with the
application in English
Builder
The builder writes code
Gen AI @ Consumption Time
The code is a bunch of functions

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Generative AI applicability in your stack
“Create a function that does string comparisons”
Builder
The builder writes in English a
description of the code they need
Gen AI @ Development Time
User
https://stackoverflow.com/questions/16864564/complex-sql-select-statement
The user interacts with the
application in English
Gen AI @ Consumption Time
The code is a bunch of functions

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Generative AI applicability in your stack
https://www.haihai.ai/programming-with-llm/
Gen AI @ Run Time
“Create a function that does string comparisons”
Builder
The builder writes in English a
description of the code they need
Gen AI @ Development Time
User
https://stackoverflow.com/questions/16864564/complex-sql-select-statement
The user interacts with the
application in English
Gen AI @ Consumption Time
The code is a set of English statements
Let’s talk about
“Gen AI
assistants”

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where are these assistants going?
How to measure productivity?
Can you trust them?
Are they going to replace us? Gen AI assistant(s) FAQs
12

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where are these assistants going?
How to measure productivity?
Can you trust them?
Are they going to replace us? Gen AI assistant(s) FAQs
13

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.14
The progression of assistants - inline coding

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.15
The progression of assistants – chat

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.16
The progression of assistants – agents
(1) Prompt
(2) Plan(3) Code

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.17
From “english-to-code” to “code-to-english”
Rewriting a README file
Documenting functions in the code
https://it20.info/2024/3/using-the-amazon-q-feature-development-capability-to-produce-documentation/

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where are these assistants going?
How to measure productivity?
Can you trust them?
Are they going to replace us? Gen AI assistant(s) FAQs
18

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.19
Acceptance rate?This is useful because it doesn’t require explicit feedback (but is it a good proxy?)

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.20
Thumbs up / thumbs down?This is useful because it is a good proxy (but requires explicit feedback)

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.21
SurveysThis is useful because it is a good proxy (but requires time and it’s more work for eveyone)

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.22
Tracking “time to job done”This is one of the best dimension to track (in my opinion), but…

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
From an AWS colleague:
“… they [ customer ] see developers wanting to use this tool [ Q ] to complete their existing tasks faster and get off work early”
23
All we know for sure is…
https://twitter.com/astasiamyers/status/1771344440617246774?s=43
Use a Gen AI assitant if you want to go home early!

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where are these assistants going?
How to measure productivity?
Can you trust them?
Are they going to replace us? Gen AI assistant(s) FAQs
24

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2024 (the emergence of Generative AI)
25
“How can you trust a Gen AI assistant? How can you make sure it’s not hallucinating?
You’d need to verify every answer and every artifact!”

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Throw back to 2001 (the emergence of VMs)
26
“How can you trust a Gen AI assistant? How can you make sure it’s not hallucinating?
You’d need to verify every answer and every artifact!”
VM the bug is not in the hypervisor
reproduce your bug on a physical server

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.27
•Can you trust…
-Consultants?
-Solutions Architects?
-TAMs?
-Me? (hint: you shouldn’t)
•Can you trust a pipeline? A test?
•At the end of the day, it is about controls and risk mitigation
•Can you absorb a certain amount of risk for the value that is being returned?
•What are the controls you have in place to mitigate the risk?
Do you trust everything and everyone?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.28
“Everything fails all the time”
(why Gen AI shouldn’t?)

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.29
•Something I hear regularly: “this is not (entirely) correct”
•A better mental model (IMO): ”did it help me saving time?”
A problem of mindset?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where are these assistants going?
How to measure productivity?
Can you trust them?
Are they going to replace us? Gen AI assistant(s) FAQs
30

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The role of Gen AI assistants
31
https://x.com/AuthorJMac/status/1773679197631701238
“I want AI to do my laundry and
dishes so that I can do art and
writing, not for AI to do my art
and writing so that I can do my
laundry and dishes.”

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.32
IaC Progress over time
Cloudformation template
What if this is just yet another abstraction?
CDK program
Natural language interface Aspirationally

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.33
Developer
Gen AI AssistantBoost zoneLearning zoneDanger zone
The longer this line the riskier it becomes
The longer this line the less useful it becomes
You are out of controlYou are in control
Limited value zone
High returnLow return
A tentative framework for Gen AI assistant adoption (today)
Low task
complexity
High task
complexity
Low level of
knowledge
High level of
knowledge
You are here

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.34
•Keep an open mind
•Proving these things wrong is extremely easy
•But extracting value from them can be very useful
•You can rent a car and drive it into a wall or go to the beach with it
•Where do you want to go?
Conclusions

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Massimo Re Ferrè
Mail: [email protected]
Twitter: @mreferre
35