Professional Documents
Culture Documents
Creating Intelligent Products Meap V01 Generative Ai Advanced Analytics Smart Automation Leo Porter Online Ebook Texxtbook Full Chapter PDF
Creating Intelligent Products Meap V01 Generative Ai Advanced Analytics Smart Automation Leo Porter Online Ebook Texxtbook Full Chapter PDF
https://ebookmeta.com/product/learn-ai-assisted-python-
programming-meap-v01-leo-porter/
https://ebookmeta.com/product/generative-ai-for-data-analytics-
meap-artur-guja/
https://ebookmeta.com/product/data-storytelling-with-python-
altair-and-generative-ai-meap-v01-angelica-lo-duca/
https://ebookmeta.com/product/ai-assisted-testing-meap-v01-mark-
winteringham/
Generative AI in Action (MEAP V02) Amit Bahree
https://ebookmeta.com/product/generative-ai-in-action-
meap-v02-amit-bahree/
https://ebookmeta.com/product/the-ai-powered-developer-
meap-v01-nathan-b-crocker/
https://ebookmeta.com/product/llms-in-production-meap-v01-from-
language-models-to-successful-products-christopher-brousseau/
https://ebookmeta.com/product/the-complete-obsolete-guide-to-
generative-ai-meap-10-of-11-chapters-available-edition-david-
clinton/
https://ebookmeta.com/product/smart-log-data-analytics-
techniques-for-advanced-security-analysis-florian-skopik/
Creating Intelligent Products
1. 1_Creating_better_products_with_AI
2. 2_Mapping_out_the_modern_AI_landscape
3. 3_How_AI_is_transforming_industries
4. index
1 Creating better products
with AI
This chapter covers
When and how to get started on your AI journey
The mental model of an AI system
How to structure your team and steer it toward AI success
What the product development process looks like in AI
Figure 1.1 The “Ask AI” feature was introduced in Notion to speed up
users’ work with their content
1.1.2 Vertical and horizontal use cases for AI
To further define and position your product, you need to understand
whether it addresses horizontal or vertical use cases. A horizontal
use case is one that is relevant across many different industries and
occupations. For example, a spell-checking tool like Grammarly
addresses a rather universal need of writing correctly. It can not only
be used by workers in many different industries, but also by
students and other individuals. By contrast, a vertical use case is
focussed on a specific industry. Examples are drug discovery in
healthcare, autonomous driving in the automotive industry, and
algorithmic trading in the finance industry.
When using Netflix, users may find that the platform recommends
shows and movies that align with their preferences, often
introducing them to unexpected content they turn out to enjoy. The
recommendation system achieves this by analyzing not only the
behavior of a specific user but also of other users with similar tastes.
The analyzed data includes viewing history, duration, and user
interactions. As users engage with the platform, the AI continually
refines its recommendations, aiming to improve user satisfaction.
This book will help the readers to understand the building blocks
behind decision-making for AI features and products, embracing the
whole journey from the MVP to a mature AI-driven product:
Making these strategic considerations will force you and your team
to learn “on the job” and acquire AI knowledge that can be reused
for many different AI features in the future. The more thoughtful
and systematic you are about these aspects from the beginning, the
more straightforward your journey will be.
With this broader picture in the background, let’s now consider three
factors to assess whether your market-side opportunities can be
successfully addressed with AI: the availability and differentiation of
your data, the nature of your learning problems, and a couple of ‘red
flags' that are indicators that AI might not be the right solution.
How does the data flywheel work? First, a model is trained based on
the available data. Once in production, this model helps you
generate useful AI outputs. These outputs increase the value of your
product and attract more users, which in turn create more data,
better outputs, and even more users - and on it goes:
Sentiment label: ?
1.3.1 Opportunity
You might be excited by all the cool stuff you can now do with AI -
but to create value with a new feature or product, you need to back
it with a market opportunity and build something your customers
need and love. In the ideal world, opportunities arise from
customers who say what they need or want. These can be unmet
needs, pain points with the current way of doing things, or desires, i.
e. those “wishlist” items that customers are willing to pay for. You
can dig for this information in existing customer feedback, as found
in product reviews and the notes from your sales and success teams.
For example, you might find that users of your streaming site are
complaining that there is no reliable way to rank movies by quality
criteria. Beyond this, you can also conduct proactive customer
research using tools like surveys and interviews. For a detailed walk-
through of the discovery of customer-facing opportunities, you can
consult Teresa Torres’s book Continuous Discovery Habits.
1.3.2 Value
To dig out the value of your AI offering, you first need to map it to a
specific business problem that you framed accordingly (use case)
and figure out the ROI (return on investment). ROI can be measured
along different dimensions. It forces you to shift away from the
technology and the specific features and focus on the user-side
benefits of the solution. These can be:
1.3.3 Data
For any kind of AI and machine learning, you need to collect and
prepare your data so it reflects the real-life inputs and provides the
right learning signal for your model (cf. Section 1.2.2). There are
different ways to get your hands on a decent dataset:
Once the data is assembled, your technical team will engage in data
cleaning. It is good to keep an eye on these activities and make sure
you understand the various steps and their purpose. Most
importantly, you should make sure that semantically relevant
information is kept, while useless information is discarded to reduce
the noise and ease the follow-up learning.
1.3.4 Intelligence
The actual learning power and intelligence of your AI system resides
in the models you are using. In terms of the core AI models, there
are several approaches that you can use individually or in
combination.
Using rules
In general, this approach works well for simpler but highly specific
problems for which you own distinguished know-how or decent
datasets. Simple problems can often be solved with simple machine
learning methods such as logistic regression, which are
computationally less expensive than fancy deep learning methods.
However, there are other cases where your problem will be more
complex, so you might also consider training a deep neural network
from scratch. In the case of sentiment analysis, training sentiment
models from scratch was a widespread and performing approach
before the rise of pre-trained foundational models, and both simple
ML algorithms and deep learning can yield good accuracy.
The effort you invest into the UI will depend on how much of a task
you are automating. If you are doing full automation without giving
the user options to correct and iterate, the UI can be relatively
simple. However, in most scenarios, AI will assist or augment the
user, who will still be required to make the final decisions and
perform parts of the task (“augmented intelligence”). In that case,
the user interface will be more complex: it should clearly show the
labor distribution between human and AI, highlight error potentials,
and allow the user to iteratively get to the desired outcome. As part
of your preparation, you should carefully study the original workflow
of the user into which your applications will be introduced. This also
requires a clear understanding of the steps it will replace in the
workflow, but also the new steps it might introduce, like prompt
engineering for generative AI applications.
To get inspiration for your UX, you can start broadly and look at the
best practices from different areas of design such as HMI (human-
machine interaction) and industrial design. You can then narrow
down your perspective and look at comparable implementations by
competitors. When you do this, a range of design patterns will
emerge, like autocomplete, command palettes, copilots, and direct
chat. To identify the most suitable pattern, consider the following
questions and requirements:
How could a possible user interface look for our sentiment analysis
example? You could display aggregated (averaged) sentiment scores
on the detail page of each movie and also offer rankings and fine-
grained filters. You can use pop-ups and textual elements to make
the user aware and alert of the AI functionality. And while this
feature is purely analytical and does not involve iteration and error
fixing on the part of the user, you can try and collect feedback after
the user watches the movie, and think of attractive incentives and
rewards for users that provide high-quality feedback.
Role Description
Not all of these roles are required on every team, and some of them
will be needed only during specific stages of development. For
example, conversational designers are only needed if you are
building applications with a chat or voice interface. If you are
building a product in knowledge-intensive domains such as medicine
or law, recruiting and employing domain experts can be pretty
expensive. Often, you might want to get their input mainly at the
beginning to make sure your data and knowledge structures are on
the right track, and at more advanced stages for testing and
evaluating the system.
The depth - and cost - of the required AI development expertise will
depend on many factors, like the competitive situation, the
complexity of your AI endeavors and your data, and the envisioned
scale. However, by far the most important factor will be whether you
gravitate towards building or buying most of your AI stack. Doing it
yourself can help you create a moat and a competitive advantage,
but it is an advanced exercise for which you will need to have AI
ninjas on your team. On the other hand, keep in mind that more and
more AI infrastructure, tooling, and models are becoming available
via managed cloud services. You can leverage those to reduce the
internal effort and recruiting overhead, speed up time-to-market,
and follow a more agile approach to AI.[7]
Beyond data talent, you might also need to involve domain experts.
This is especially important for domains where tasks are highly
individual and require rich knowledge (e. g. medical treatments) or
practical experience (e. g. financial advisory).
Finally, plan your data annotation. The resources will depend on the
degree of automation you can build into your data annotation effort,
as well as the required level of expertise. Data labeling has grown
into an industry and in the case of standardized tasks like sentiment
analysis, you can consider outsourcing your annotation tasks, in
which case you will also need to supply clear guidelines for the
annotation. You can also build up an internal workforce for data
annotation and manage the whole lifecycle of your training data
internally. However, especially when using sample-efficient learning
methods like few-shot learning, your existing team might as well
come up with the required training examples without the additional
cost and overhead of a dedicated annotation team. Lastly, you might
need more specialized expertise if you are building highly industry-
specific applications. For instance, imagine that you want to detect a
rare type of cancer from X-rays. In this case, you will need to recruit
subject-matter experts if they are not available internally. When
doing this, you should understand that data annotation is a tedious
task and most highly qualified experts will not want to spend months
of their time, so try to keep your sample size manageable.