<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pbaldriga on Medium]]></title>
        <description><![CDATA[Stories by Pbaldriga on Medium]]></description>
        <link>https://medium.com/@pbaldriga?source=rss-394ec11e619b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ydXUFbNIK4nVFhAw</url>
            <title>Stories by Pbaldriga on Medium</title>
            <link>https://medium.com/@pbaldriga?source=rss-394ec11e619b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:22:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pbaldriga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Your MMM Priors are being set by the platforms you’re trying to measure.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@pbaldriga/your-mmm-priors-are-being-set-by-the-platforms-youre-trying-to-measure-54d9be00adcf?source=rss-394ec11e619b------2"><img src="https://cdn-images-1.medium.com/max/1536/1*9eu_lG0JBqQ-jMcEE5-ppQ.png" width="1536"></a></p><p class="medium-feed-snippet">Why transaction spending data , not Meta Lift or Google Geo Experiments , should anchor your Bayesian Marketing Mix Model calibration.</p><p class="medium-feed-link"><a href="https://medium.com/@pbaldriga/your-mmm-priors-are-being-set-by-the-platforms-youre-trying-to-measure-54d9be00adcf?source=rss-394ec11e619b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@pbaldriga/your-mmm-priors-are-being-set-by-the-platforms-youre-trying-to-measure-54d9be00adcf?source=rss-394ec11e619b------2</link>
            <guid isPermaLink="false">https://medium.com/p/54d9be00adcf</guid>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[media-mix-modeling]]></category>
            <category><![CDATA[bayesian-statistics]]></category>
            <dc:creator><![CDATA[Pbaldriga]]></dc:creator>
            <pubDate>Mon, 11 May 2026 07:31:00 GMT</pubDate>
            <atom:updated>2026-05-11T07:31:00.623Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How AI Agents Are Transforming Loyalty Programs]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@pbaldriga/how-ai-agents-are-transforming-loyalty-programs-ecaee94fba5f?source=rss-394ec11e619b------2"><img src="https://cdn-images-1.medium.com/max/1536/1*8KCoKe-goLDqv9llHZz-rg.png" width="1536"></a></p><p class="medium-feed-snippet">In today&#x2019;s competitive landscape, loyalty programs have become a fundamental strategic asset. However, the traditional approach to loyalty&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@pbaldriga/how-ai-agents-are-transforming-loyalty-programs-ecaee94fba5f?source=rss-394ec11e619b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@pbaldriga/how-ai-agents-are-transforming-loyalty-programs-ecaee94fba5f?source=rss-394ec11e619b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecaee94fba5f</guid>
            <category><![CDATA[loyalty]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[loyalty-program]]></category>
            <dc:creator><![CDATA[Pbaldriga]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 15:44:27 GMT</pubDate>
            <atom:updated>2025-04-22T15:44:27.549Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Rethinking Market Research: A Glimpse Into the AI-Powered Future]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@pbaldriga/rethinking-market-research-a-glimpse-into-the-ai-powered-future-521a7a86fba3?source=rss-394ec11e619b------2"><img src="https://cdn-images-1.medium.com/max/627/1*egPfnVGsLMRTlD4ep2IhYg.png" width="627"></a></p><p class="medium-feed-snippet">I recently had the opportunity to delve into a groundbreaking paper that discusses the role of Large Language Models (LLMs), specifically&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@pbaldriga/rethinking-market-research-a-glimpse-into-the-ai-powered-future-521a7a86fba3?source=rss-394ec11e619b------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@pbaldriga/rethinking-market-research-a-glimpse-into-the-ai-powered-future-521a7a86fba3?source=rss-394ec11e619b------2</link>
            <guid isPermaLink="false">https://medium.com/p/521a7a86fba3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[market-survey]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[Pbaldriga]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 18:59:51 GMT</pubDate>
            <atom:updated>2023-10-30T18:59:51.737Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Cashback Use Case: A Complex Problem in Causal Inference]]></title>
            <link>https://medium.com/@pbaldriga/the-cashback-use-case-a-complex-problem-in-causal-inference-8c694f5f38e4?source=rss-394ec11e619b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c694f5f38e4</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[loyalty]]></category>
            <category><![CDATA[cashback]]></category>
            <category><![CDATA[causal-inference]]></category>
            <category><![CDATA[merchant]]></category>
            <dc:creator><![CDATA[Pbaldriga]]></dc:creator>
            <pubDate>Sun, 29 Oct 2023 12:03:41 GMT</pubDate>
            <atom:updated>2023-10-29T12:03:41.743Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Cashback Use Case: A Complex Problem in Causal Inference</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*SfH-Bj4tx8bktavObyw9Dg.png" /></figure><p>In the domain of cashback offers, one of the most critical questions is whether offering cashback genuinely increases customer spending or engagement. The challenge here is that the data often comes with confounding variables, such as previous spending habits or income levels. These variables can create a bias, making it difficult to isolate the effect of the cashback offer itself.</p><p><strong>Data Structure</strong></p><p>- Treatment Group: Customers who availed of the cashback offer.</p><p>- Control Group: Customers who did not avail of the cashback offer.</p><p>- Covariates: Features like previous spending habits, income level, frequency of transactions, etc.</p><p>- Outcome Variable: Customer spending or engagement level.</p><p><strong>Traditional Machine Learning Limitations</strong></p><p>Traditional machine learning models are excellent at finding correlations but not causation. For example, a regression model might find that customers who avail of cashback offers tend to spend more. However, this doesn’t mean the cashback offer caused the increased spending. It could be that customers who were already inclined to spend more are the ones who take advantage of the cashback offers.</p><p>Confounding Variables<br>In the cashback offers scenario, several confounding variables can affect the outcome, such as the customer’s income level, previous spending habits, or even the time of the year. Traditional ML models generally do not have built-in mechanisms to control for these confounding variables, which can lead to biased or misleading results.</p><p>Generalization to New Data<br>Traditional models often require retraining when applied to new data or different merchant categories. This is not efficient and can be time-consuming, especially when you want to generalize findings across multiple merchants within the same merchant category or across multiple merchant categories.</p><p>Inability to Isolate Impact<br>Traditional machine learning models can’t isolate the impact of the cashback offer from other potential influencing factors. For instance, if a customer spends more during a holiday season and also avails a cashback offer, a traditional model might incorrectly attribute the increased spending solely to the cashback offer.</p><p>Lack of Counterfactual Analysis<br>Traditional models do not provide a way to answer “what-if” questions. For example, “What would have happened to customer spending if the cashback offer was not available?” This is crucial for understanding the true impact of the cashback offer, and traditional ML models fall short here.</p><p>Why These Limitations Matter<br>For merchants, these limitations could mean the difference between running a successful campaign that genuinely increases customer spending and running one that simply attracts customers who would have spent money anyway. For issuers, it could mean the difference between creating an offer that genuinely increases card usage and one that does not.</p><p>By understanding these limitations, both merchants and issuers can better appreciate the need for more advanced techniques like Causal Inference with Attention (CInA) for making more informed decisions.</p><p><strong>Importance of Causal Inference for Cashback Offers</strong></p><p>Merchants are interested in maximizing the return on investment (ROI) for their cashback offers. The primary metric of interest is usually increased customer spending. Issuers are interested in maximizing card usage and overall customer engagement.</p><p>Both merchants and issuers face the challenge of confounding variables — factors like income level, previous spending habits, and more — that can cloud the true impact of cashback offers. Traditional machine learning models can provide predictive insights but fail to establish causality.</p><p><strong>Why Causal Inference?</strong></p><p>Causal inference goes beyond correlation to establish a cause-and-effect relationship. It isolates the impact of the treatment (cashback offer) from other confounding variables, providing a more accurate measure of its effectiveness.</p><p>For Merchants ROI Measurement: By isolating the causal impact of cashback offers, merchants can accurately measure their ROI. This enables data-driven decision-making for future campaigns.</p><p>Customer Segmentation: Understanding which variables actually influence increased spending allows for more targeted marketing, thus maximizing ROI.</p><p>For Issuers Card Usage: By understanding the causal relationship between cashback offers and card usage, issuers can design more effective engagement strategies.</p><p>Customer Lifetime Value: Accurate causal inference can help in predicting the long-term engagement levels of customers, which is crucial for calculating Customer Lifetime Value (CLV).</p><p>Technical Solution for Cashback Offers: Applying Causal Inference with Attention (CInA)</p><p>Understanding the causal impact of cashback offers on customer spending and engagement is a complex problem that traditional machine learning models often fail to address adequately. The paper “Towards Causal Foundation Model: on Duality between Causal Inference and Attention” by Zhang et al. (2023) introduces Causal Inference with Attention (CInA) as a novel method to tackle such causal inference problems. The paper establishes that there is an equivalence between optimal covariate balancing and self-attention mechanisms in transformer models. This primal-dual connection serves as the theoretical backbone for the CInA method, enabling zero-shot causal inference on new, unseen data (Zhang et al., 2023).</p><p><strong>Step 1: Self-Supervised Learning for Covariate Balancing</strong></p><p>In the context of cashback offers, the first step involves using self-supervised learning to balance covariates like previous spending habits and income levels between the treatment group (those who availed the cashback) and the control group (those who did not). The attention mechanism in a transformer model is employed to weigh these covariates, effectively balancing them across both groups. The attention mechanism is mathematically formulated as a weighted sum of these covariates. The weights are learned to minimize the difference in covariate distributions between the two groups, as established in the paper (Zhang et al., 2023).</p><p><strong>Step 2: Zero-Shot Causal Inference</strong></p><p>Once the model is trained to balance the covariates, it is capable of performing zero-shot causal inference. This means the model can be applied to different sets of data from various merchants or issuers without requiring retraining. The model uses key-value pairs extracted from the last layer of the transformer to make causal inferences. The keys represent the balanced covariates, and the values signify the potential outcomes, such as spending levels (Zhang et al., 2023).</p><p><strong>Step 3: Empirical Validation</strong></p><p>The final step involves empirically validating the model’s causal inferences using real-world data. This could involve methods like A/B testing or statistical techniques like propensity score matching. Metrics like the Average Treatment Effect (ATE) could be used to quantify the causal impact of cashback offers on customer spending. By applying the principles of CInA, organizations can offer a robust, data-driven answer to the critical question: <strong>“Do our cashback offers actually work?” </strong>This is invaluable for optimizing offers, improving relationships with merchants and issuers, and enhancing overall customer engagement.</p><p><strong>Source Citation</strong></p><p>Zhang, J., Jennings, J., Zhang, C., &amp; Ma, C. (2023). Towards Causal Foundation Model: on Duality between Causal Inference and Attention. Microsoft Research Cambridge; Massachusetts Institute of Technology. September 29, 2023.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c694f5f38e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>