<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Todd Schiller - Machine Learning</title><link href="https://toddschiller.com/" rel="alternate"></link><link href="https://toddschiller.com/feeds/machine-learning.atom.xml" rel="self"></link><id>https://toddschiller.com/</id><updated>2024-09-02T00:00:00-04:00</updated><subtitle>Human ✘ Artificial Intelligence</subtitle><entry><title>Co-pilots, not chatbots: highlights from a TaskUs Forward webinar</title><link href="https://toddschiller.com/blog/operationalizing-ai-at-scale-highlights.html" rel="alternate"></link><published>2024-09-02T00:00:00-04:00</published><updated>2024-09-02T00:00:00-04:00</updated><author><name>Todd Schiller</name></author><id>tag:toddschiller.com,2024-09-02:/blog/operationalizing-ai-at-scale-highlights.html</id><summary type="html">Highlights from the September 2024 TaskUs Forward webinar with Manish Pandya and host Alp Uguray on what it takes to operationalize generative AI in CX.</summary><content type="html">&lt;p&gt;I joined Manish Pandya (SVP of Digital at TaskUs) and host Alp
Uguray (Masters of Automation) for a &lt;a href="https://www.youtube.com/watch?v=G03VU4w5ixc"&gt;TaskUs Forward webinar&lt;/a&gt;
on operationalizing generative AI in customer experience. A few
moments from the conversation worth pulling out — the &lt;a href="/transcripts/operationalizing-ai-at-scale-transcript.html"&gt;full
transcript is here&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;On AI looking like the early days of the internet&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Todd:&lt;/strong&gt; I think in a lot of ways AI looks like the early days of
the internet. It's subsidized by an ample wave of investment from
the venture capitalists. You have providers like Google, Amazon,
and Facebook fighting to create this excess amount of
infrastructure and capacity due to competitive pressure. We also
see a very low barrier to entry to build prototypes. So ultimately
I think AI is the future, but definitely not all the ideas and the
companies and the headlines that you see are going to stick.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On human-driven AI&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Manish:&lt;/strong&gt; At TaskUs we believe in the power of human-driven AI,
or human-in-the-loop, where the technology is amplifying the
capabilities of the human as they deliver — not necessarily
replacing them. This has potential to deliver empathetic,
personalized, and nuanced responses that only a human can deliver,
and not necessarily something that an AI can replicate, although
AI can assist.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On chatbots vs. the natural flow of work&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Todd:&lt;/strong&gt; Chatbots are the fastest way to deliver AI to everyone
at your company — and if you remember, ChatGPT was actually the
fastest-growing consumer product of all time — but there's
actually little consistency with outcomes when you just roll out a
chatbot. […] What we're really seeing is companies figuring out
how to embed AI into the natural flow of work, and as Manish said,
it's really about making AI a true co-pilot for teammates.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On a true co-pilot, not just chatbots and search&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Manish:&lt;/strong&gt; What we're seeing is that clients are expecting the
generative AI solutions to complement our teams so they can be
freed up to perform high-value tasks. Essentially what they're
looking for is a true co-pilot for our teams, not just chatbots
and search.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On systems thinking and second-order effects&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Todd:&lt;/strong&gt; We've seen a lot of companies deploying, for example,
customer-facing chatbots, and then running around with their
deflection rate metrics saying, &amp;quot;hey, we did a great job,&amp;quot; but
then they see drops in their customer loyalty and lifetime
customer value. So for me the key is to think holistically about
your company and value chain — try to apply what a lot of people
call systems thinking — and really try to understand what is
unique about AI as a technology and therefore where it can best be
applied.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On agentic AI and the next few quarters&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Manish:&lt;/strong&gt; Rather than talking about the next few years, let's
talk about the next few months and next few quarters. […] You will
also see that not just one-shot question and response with some
follow-up queries, but being able to form a chain — which is what
is called agentic AI — will emerge, where you provide a task and
the generative AI solution is able to string together multiple
automation capabilities together.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On building trust between humans and AI&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Alp:&lt;/strong&gt; We're introducing more automation to remove the mundane
tasks that people hate to do, while bringing explainable AI — why
AI does certain things and what the impact is, the transparency in
execution. […] It's going to build a new trust between humans and
AI. That trust is going to be really important and has its own
requirements, and of course it has to bring business value —
measuring the ROI where it needs to be, while we are driving
meaningful work of the future.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr /&gt;
&lt;p&gt;The full webinar is on &lt;a href="https://www.youtube.com/watch?v=G03VU4w5ixc"&gt;YouTube&lt;/a&gt;. A lightly edited
&lt;a href="/transcripts/operationalizing-ai-at-scale-transcript.html"&gt;transcript is on this site&lt;/a&gt;.&lt;/p&gt;
</content><category term="Machine Learning"></category><category term="webinar"></category><category term="pixiebrix"></category><category term="generative ai"></category><category term="llm"></category><category term="customer experience"></category><category term="taskus"></category></entry><entry><title>AI frees humans to be more human: highlights from Success League Radio</title><link href="https://toddschiller.com/blog/generative-ai-customer-success-highlights.html" rel="alternate"></link><published>2023-09-19T00:00:00-04:00</published><updated>2023-09-19T00:00:00-04:00</updated><author><name>Todd Schiller</name></author><id>tag:toddschiller.com,2023-09-19:/blog/generative-ai-customer-success-highlights.html</id><summary type="html">A few moments from my conversation with Kristen Hayer on Success League Radio about where generative AI fits in customer success.</summary><content type="html">&lt;p&gt;I joined Kristen Hayer on &lt;a href="https://open.spotify.com/episode/6CKWkeleNyadeMNoKjrqYH?si=dda355fc83ec4537"&gt;&lt;em&gt;Innovations in Leadership&lt;/em&gt;, the Success
League Radio podcast&lt;/a&gt;, to talk through where generative AI
fits in customer success. A few moments from the conversation worth
pulling out — the &lt;a href="/transcripts/generative-ai-customer-success-transcript.html"&gt;full transcript is here&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;On AI freeing humans to be more human&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;We think that AI frees humans to be more human. There are three
areas. First, with AI you can automate a lot of the low-value
activities… The second area is that AI can also be your personal
trainer or coach… And then beyond that, there's the pure power to
have AI upskill workers. It's a bit akin to that scene in &lt;em&gt;The
Matrix&lt;/em&gt; where Keanu plugs in, connects to the desk, and then
suddenly downloads all the kung-fu knowledge.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On treating ChatGPT like an intern&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;The way I like to frame it is: let's say you were to hire an intern.
What would you have them do? I say &amp;quot;intern&amp;quot; because interns require
instruction. They're not experts in customer support. And they're
not always perfect — sometimes you're going to have to check their
work, or you might have to make some corrections.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On defusing hallucinations&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Instead of saying &amp;quot;ChatGPT, go generate a response for me,&amp;quot; what
you instead do is you give it a list of things to choose from, or
you give it some content and you say &amp;quot;summarize this content.&amp;quot; When
you're giving it those sorts of tasks, it's much better able to
identify that it's only supposed to be using &lt;em&gt;that&lt;/em&gt; as the source
material, versus giving it all human knowledge and saying &amp;quot;what's
relevant out of this entire space of human knowledge?&amp;quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On capabilities, not maturity&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;A maturity model is a model that looks at what sort of level of
tools or processes you have in place — level one, two, three, or
four. A capability model looks at specific capabilities and
outcomes. When an agent picks up a ticket, do they have the context
of prior interactions? Do we have alerting in place to make sure
we're actually able to meet our SLAs about response times, even
when someone's on vacation?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;On the disclosure bright line&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;If it's fully automated, you should definitely be disclosing — not
even just for ethical reasons, but for expectation-setting and
maintaining trust with your customer. And then really, it's the
&lt;em&gt;assistant&lt;/em&gt; that becomes more of a gray area. We wouldn't disclose
if I was using grammar check to write an email. I wouldn't
necessarily disclose if I was using Google Translate to help
translate a message to you. So that's kind of my bright line: if
there is a human involved, I don't think you necessarily need to
disclose. But if it's fully automated, it's probably both ethical
and also just best practice to disclose there.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr /&gt;
&lt;p&gt;The full episode is on &lt;a href="https://open.spotify.com/episode/6CKWkeleNyadeMNoKjrqYH?si=dda355fc83ec4537"&gt;Spotify&lt;/a&gt; and &lt;a href="https://www.buzzsprout.com/1900538/episodes/13579815-innovations-in-leadership-todd-schiller-generative-ai-in-customer-success"&gt;Buzzsprout&lt;/a&gt;. A
lightly edited &lt;a href="/transcripts/generative-ai-customer-success-transcript.html"&gt;transcript is on this site&lt;/a&gt;.&lt;/p&gt;
</content><category term="Machine Learning"></category><category term="podcast"></category><category term="pixiebrix"></category><category term="generative ai"></category><category term="llm"></category><category term="customer success"></category></entry><entry><title>Markov logic networks for fun and profit: NBA playoffs edition</title><link href="https://toddschiller.com/blog/markov-logic-network-nba-playoffs.html" rel="alternate"></link><published>2016-04-19T00:00:00-04:00</published><updated>2016-04-19T00:00:00-04:00</updated><author><name>Todd Schiller</name></author><id>tag:toddschiller.com,2016-04-19:/blog/markov-logic-network-nba-playoffs.html</id><summary type="html">&lt;p&gt;Markov Logic Networks (MLNs) are a tool for capturing your beliefs
about the world and then calculating the likelihood of outcomes based
on those beliefs. Since it's the NBA playoffs, let's use MLNs and our beliefs
about the NBA to predict the 2016 NBA championship.&lt;/p&gt;
&lt;h2&gt;Specific Beliefs (Predicates)&lt;/h2&gt;
&lt;p&gt;To get …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Markov Logic Networks (MLNs) are a tool for capturing your beliefs
about the world and then calculating the likelihood of outcomes based
on those beliefs. Since it's the NBA playoffs, let's use MLNs and our beliefs
about the NBA to predict the 2016 NBA championship.&lt;/p&gt;
&lt;h2&gt;Specific Beliefs (Predicates)&lt;/h2&gt;
&lt;p&gt;To get us started, I know for a fact that the Golden State Warriors won the 2015
championship. In MLN-speak &lt;a href="#tuffy"&gt;[1]&lt;/a&gt;, we write this fact as:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;champion(2015, Warriors)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here, &lt;code&gt;champion(...)&lt;/code&gt; is a called a predicate. A predicate is either
&lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt; depending on its arguments (in this case, the year and
the team).&lt;/p&gt;
&lt;p&gt;With MLNs, we can also state beliefs that aren't certain. For example,
I'm 60% sure the Warriors will win the 2016 championship. In
MLN-speak, we write this belief by assigning a probability to the
predicate:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;0.6 champion(2016, Warriors)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;General Beliefs (Rules)&lt;/h2&gt;
&lt;p&gt;In addition to statements about specific things, we can use MLNs to
capture rules about how the world works. For example, in the NBA, we
know there's exactly one NBA champion each year. We write this in
MLN-speak with two statements:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;champion(year, team!)
EXIST team champion(year, team).
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;team!&lt;/code&gt; in the first statement says that, by definition, there is
at most one team for which the predicate &lt;code&gt;champion(year, team)&lt;/code&gt; holds.
The second statement says that, by definition, there exists at least
one championship team each year. Together, these two statements encode
that there's exactly one championship team per year.&lt;/p&gt;
&lt;p&gt;In reality (and fantasy sports), we also have beliefs that are
generally true, but are not hard-and-fast rules, e.g.:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A team that wins the championship will also win the next year&lt;/li&gt;
&lt;li&gt;A team with an injured starter won't win the championship&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In MLN-speak, we write these rules as:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;??? champion(year1, team), year2 = year1 + 1 =&amp;gt; champion(year2, team)
??? hasInjuredStarter(year, team) =&amp;gt; !champion(year, team)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;=&amp;gt;&lt;/code&gt; symbol indicates that the predicates on the left imply the predicates
on the right. That is, if the left side is true,
then the right side is also true (&lt;em&gt;but not necessarily vice versa&lt;/em&gt;). The
&lt;code&gt;!&lt;/code&gt; symbol in the second statement is negating the predicate &lt;code&gt;champion&lt;/code&gt; —
that &lt;code&gt;team&lt;/code&gt; is NOT the &lt;code&gt;champion&lt;/code&gt; for &lt;code&gt;year&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;But what probabilities should we assign these rules? If we did have
probabilities, what would the relative importance of the rules be?
Are the Golden State Warriors more likely to win even if Stephen Curry
is out with an injured ankle? For rules, instead of assigning a
probabilities, we assign them relative weights. Relative weights allow
the MLN to handle multiple, possibly conflicting, rules.&lt;/p&gt;
&lt;h3&gt;Learning Rule Importance (Weights)&lt;/h3&gt;
&lt;p&gt;If you have good historic evidence (data), a good way to assign the
weights is to have the MLN learn the weights automatically from the
evidence. The MLN will pick the weights that make the historical
outcomes most likely. In our case, it's going to pick
weights that made the previous NBA champions the most likely champions
according to our rules (upsets be damned).&lt;/p&gt;
&lt;p&gt;If the NBA just had 4 teams, the Heat, the Spurs, Warriors, and the
Cavaliers, the historic evidence for 2015 would be:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;hasInjuredStarter(2015, Cavaliers)
!hasInjuredStarter(2015, Heat)
hasInjuredStarter(2015, Spurs)
!hasInjuredStarter(2015, Warriors)
!champion(2015, Cavaliers)
!champion(2015, Heat)
!champion(2015, Spurs)
champion(2015, Warriors)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Learning the weights based on the 2013-2015 seasons, the MLN finds the
following weights:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;-3.7 champion(year1, team), year2 = year1 + 1 =&amp;gt; champion(year2, team)
4.2 hasInjuredStarter(year, team) =&amp;gt; !champion(year, team)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here the negative weight for the first rule indicates that our
intuition was incorrect — based on the evidence, winning the
championship makes a team less likely to win the next year! Indeed,
there was no back-to-back champion in the 2013-2015 seasons (the Heat
won in 2012 and 2013). The size of the weights indicate the two rules are
roughly equally important, but in opposite directions.&lt;/p&gt;
&lt;h2&gt;Predicting the 2016 Championship (Inference)&lt;/h2&gt;
&lt;p&gt;Once we've assigned weights to the rules in our model, we can have the
MLN infer (estimate) the probability of uncertain predicates. In our
case, we want to know the probability of each team winning the 2016
championship. This is called our query:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;champion(2016, team)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Before we query our model, though, we need to provide our beliefs about
the likelihood of injury for each team in the 2016 playoffs. We provide
these beliefs by adding the predicates, with their probabilities,
to the evidence:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;0.9 hasInjuredStarter(2016, Warriors)
0.8 hasInjuredStarter(2016, Heat)
0.4 hasInjuredStarter(2016, Spurs)
0.2 hasInjuredStarter(2016, Cavaliers)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The MLN can then infer the probability of each team winning the championship.
The inferred probabilities will be consistent with the rules we captured, our
beliefs about the probability of injury, and the historical evidence:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;0.3500 champion(2016, Cavaliers)
0.3400 champion(2016, Spurs)
0.3000 champion(2016, Heat)
0.0100 champion(2016, Warriors)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The probabilities sum to 100%, which is a good sign. Our model is bearish
on the Warriors, giving them only a 1% chance of winning the championship.
The low probability is due to fact they won in 2015 and we assigned them a high
likelihood of injury this year.&lt;/p&gt;
&lt;h2&gt;Next Steps&lt;/h2&gt;
&lt;p&gt;There's a lot of different directions we could go to improve our model. We could
capture our beliefs about anything from match ups to
home court advantage to backup players to mascot popularity. In general
you'll want to target the areas that will likely have the largest
impact. These will be beliefs that either you haven't accounted for
yet, or that your current model is most sensitive to (i.e., rules with
large weights).&lt;/p&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;Markov Logic Networks (MLNs) are a tool for capturing your beliefs and
inferring the likelihood of events based on those beliefs. In this
post, we used an MLN to capture our beliefs about the NBA playoffs. We
had the MLN learn the relative importance of general rules based on
historic evidence, and then inferred the probability of each team
winning the 2016 championship.&lt;/p&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;p&gt;[1] &lt;a name="tuffy"&gt;&lt;/a&gt; This post uses the
&lt;a href="http://i.stanford.edu/hazy/tuffy/"&gt;Tuffy&lt;/a&gt;
syntax for Markov Logic Networks.&lt;/p&gt;
</content><category term="Machine Learning"></category><category term="Markov Logic Networks"></category><category term="MLNs"></category><category term="sports"></category><category term="betting"></category></entry></feed>