The Agentic Edge Podcast

Aampe

Conversations about agentic workflows, tools, and infrastructure! edge.aampe.com

  1. Your CMS is a gold mine: time to dig

    10/23/2024

    Your CMS is a gold mine: time to dig

    Schaun Wheeler and Arpit Choudhury talk about Content Management Systems (CMS) and how they are a treasury of information that can be leveraged for hyper-personalization. They explore how generative AI is transforming CMS, the importance of data quality, and the potential of LLMs in enhancing user experiences. The discussion also covers the challenges of implementing AI in recommendation systems, the significance of integrating external data, and the future of personalization in various applications, including food delivery and travel. KEY POINTS * CMSs are often seen as repositories of content to present on webpages but they can be structured to use data for purposes beyond webpage display such as personalization, communication, and discovery. LLMs can significantly improve CMS data management. * There are opportunities in what you bring in and what you take out of the CMS. Information provided by vendors can be better used by turning it into structured data. * Generative AI can be leveraged to dynamically change the way content is displayed to users each time. * Cleaning your CMS can allow you to extract additional value from it. LLMs enable on-the-fly data cleaning and enhancement without the massive manual effort previously required. They can also analyze content tone, create detailed sub-categories, and generate descriptive tags. This data can power features like sophisticated filters and AI-driven personalization through agentic learning. * The alignment problem in AI is when there is a gap between user expectations and AI recommendations. The hardest part of aligning input to output in an LLM is getting the context right.  * In a CMS, an input is anything that resides in the CMS, such as item IDs, item names, and item descriptions. An output is information that is presented to the user. * LLMs work when choosing between a limited number of options. When there are hundreds of thousands of items, LLMs aren't able to sort through all of the information consistently and coherently. * LLMs can be used to clean your CMS data and to further personalize the presentation of information. They can extract tone, feel, and other metadata that enhance both recommendations and browsing experiences. * Lots of information can be pulled in from various sources to address the discovery problem, but it must be presented selectively. Companies that help users find relevant information quickly will retain users better than those who don't. * A/B testing tells you what works for the largest minority of users, so giving everyone that experience is a bad idea. We can use AI agents to learn recommender preferences and cater to the changing needs of each user, as they are scalable and can give each user the required attention. CHAPTERS: * 00:00 Introduction * 01:22 Developments in CMS technology * 03:45 Clean your CMS * 07:34 Leveraging tags for recommendation * 09:42 The alignment problem * 14:53 Applications of LLMs * 19:14 Data extraction capabilities of LLMs * 25:29 Value propositions in food delivery * 28:36 The potential of CMS * 31:34 Integrating external data * 33:45 Agentic applications in CMS * 40:13 Inputs and outputs This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit edge.aampe.com

    43 min
  2. Get comfortable with Decision Automation

    10/07/2024

    Get comfortable with Decision Automation

    Paul Meinshausen and Schaun Wheeler talk about the key components behind decision-making and what goes into automating it in this discussion hosted by Arpit Choudhury. They emphasize that successful decision automation includes understanding the nuances of decision repeatability, outcome evaluation, user preferences, and business constraints. They discuss the importance of designing systems that can learn effectively from user interactions, the limitations of current approaches, and the ongoing need for human input to provide crucial context. KEY POINTS: 1. Decisions can be broken down into three components: * The decision set (options of the decision) * The outcome set (what happens based on decisions) * The information set (data relevant to making decisions) 2. Decisions can be described to see how they can be handed to machines. This can be done based on criteria such as whether the decision is answer set constrained and the repeatability and frequency of the decision. 3. Recognizing which problems are constrained and repeatable can help leverage past experience to tackle them systematically and save a lot of time. 4. Identifying the information relevant to making a decision helps constrain the decision set. 5. Recommender Systems are well suited for large decision sets with thousands of options. They should share relevant information to learn about users while not overwhelming them. The way information is presented affects both user decisions and system learning. 6. In decision automation, humans are needed to provide context and business constraints, and design interfaces that capture meaningful signals from users. We can show AI agents how to make decisions like we do. 7. Challenges in Decision Automation: * There's often a mismatch between available data and user preferences. * Business problems often involve opinions rather than facts, making outcome evaluation difficult. * Most software are built so that the burden of making something repeatable and learning from that repetition falls on humans.  * When relevant information is not shared with users, it can make it difficult for agents to understand the information influencing users’ preferences and limit effectiveness. CHAPTERS: * 00:00 Machines and decisions * 04:30 What is a decision? * 06:32 Constrained, repeatable problems * 08:00 Components of a decision * 09:03 The answer set * 12:00 Constrained resources * 12:58 Repeatability and frequency * 15:21 Delivering recommendations * 16:55 Evaluating outcomes * 19:44 LLMs making decisions * 22:03 Facts and inference * 24:13 Not just for users * 27:14 The information set * 28:33 How recommender systems evaluate answers * 31:12 Relevant information and why we automate decisions This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit edge.aampe.com

    37 min
  3. Transforming distributions to encode business priorities

    10/04/2024

    Transforming distributions to encode business priorities

    Agentic learners aren't tools or systems or programs. They're additional headcount. As with a a human team, one of the most important aspects of managing a team agentic learners is to know how you can give feedback and instruction. I made a video recently (link the comments) about representing user preferences as two parameters in order to do a random draw from a beta distribution. The probability parameter tells the agent how much an intervention is expected to positively impact user behavior, and the signal parameter tells the agent how confident it should be about that probability.Draw from a beta distribution that has high probability but low signal, and the result may very possibly be a low number. This is what keeps agents from getting stuck in local maxima.However, all of that deals with the explore/exploit tradeoff. That's a common tradeoff of agents to make, because an agent needs to know whether to continue to try as-yet unexplored options, or focus on options that have already proven successful (even if still other options might be even more successful). But in any realistic business context, agents also need to navigate a tradeoff between what a user prefers and what a business needs. While it doesn't do a business any good to push options on a user if the user really hates those options, it can often make sense to give a user their second- or third-choice option if doing so can meet a business objective. To do that, remember this simple formula:v ** (log(t) / log(a))Three parameters:v: the actual value drawn from the beta distribution.a: the anchor value of the distribution - I usually use 0.5, because it's central and intuitive.t: the target value to which to move the anchor.So if v = 0.5 and a = 0.5 and v = 0.66, then using that formula would transform a draw of 0.5 to 0.66. The value of the formula is that is transforms any draw from the distribution, whether it's 0.5 or 0.98 or 0.00023. It effectively uses the anchor and target values to shift the entire distribution.So if you're a business and you need your agents to prioritize the selling of a particular product line, you can raise the target value of the distribution for that product line and agents will prioritize interventions about that product, even if the user's probabilities for that product tend to be lower than the probabilities for other products. By the way, this video mentions a previous video on parameterizing beta distributions. You can find that here: This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit edge.aampe.com

    5 min
  4. 09/02/2024

    You can't Google your way to a recommender system

    Schaun Wheeler and DJ Rich delve into the intricacies of building recommender systems in this podcast hosted by Arpit Choudhury. The discussion highlights the steps to developing a recommender system, practical advice for startups, and the evolving landscape of recommender technologies.  KEY POINTS:  * Identify the Problem: Recommender systems address the "discovery problem" by helping users sift through vast amounts of options to find relevant content quickly. Recognizing this problem is crucial before diving into solutions. * System Components: Recommender systems are complex and involve multiple components such as: * Item Inventory: Detailed metadata about items (e.g., descriptions, categories). * User Interaction History: Data on user interactions with items (e.g., views, purchases). * Recommendation Model: The core model that filters and ranks items based on user preferences. * The Learner: An important component, which trains the model and separates it from the model's deployment phase. * Build vs. Buy: Should one build a recommender system from scratch or use existing solutions? For many startups, buying an off-the-shelf system can be more practical due to advances in data infrastructure and the complexity of developing a bespoke system. Buying a system can also free up resources for other critical areas. * Practical Recommendations for Startups: Instead of getting bogged down by complex models initially, startups are encouraged to start with simpler models and leverage existing infrastructure to implement a functional recommender system. * Innovations in Recommender Systems: Schaun is interested in combining traditional methods with reinforcement learning to enhance system performance. DJ is excited about research addressing causal questions and handling sequential recommendations. REFERENCES: * "Are we really making progress?" This paper is a replication study on recommender algorithms and shows that many DL approaches couldn't be reproduced or could be beaten with linear methods. * "Deep Exploration for Recommender Systems" This paper talks about sequential decisioning for RSs (where you consider more than just one item recommendation). * "Two Decades of Recommender Systems at Amazon" This paper is a retrospective on what's work well at Amazon. This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit edge.aampe.com

    29 min

About

Conversations about agentic workflows, tools, and infrastructure! edge.aampe.com