<?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 Houssem Ben Braiek on Medium]]></title>
        <description><![CDATA[Stories by Houssem Ben Braiek on Medium]]></description>
        <link>https://medium.com/@houssem.benbraiek?source=rss-cfef0a050328------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xUi-MD_TuusmtcG5DZLDTw.png</url>
            <title>Stories by Houssem Ben Braiek on Medium</title>
            <link>https://medium.com/@houssem.benbraiek?source=rss-cfef0a050328------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:15:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@houssem.benbraiek/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[Data Bias and Train-Serving Skew: The Hidden Data Traps in AI]]></title>
            <link>https://medium.com/verifia/data-bias-and-train-serving-skew-the-hidden-data-traps-in-ai-d1b1ed7baf94?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1b1ed7baf94</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[bias]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Fri, 20 Jun 2025 20:58:10 GMT</pubDate>
            <atom:updated>2025-06-20T20:58:10.959Z</atom:updated>
            <content:encoded><![CDATA[<p>Discover how hidden data bias and training-serving skew can adversely affect ML models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*feYnd6CVUp78qt3ydTGhcA.png" /><figcaption>Image credit: ChatGPT</figcaption></figure><h3><strong>In-Distribution Data Bias</strong></h3><p>AI models perform only as well as the data they learn from.</p><p>If training data is unrepresentative, models produce biased or flawed outputs. One study of 5,000 Stable Diffusion images found amplified gender and racial stereotypes beyond real-world levels. In high-stakes settings — such as police sketch software — these biases can trigger wrongful suspicion or unequal treatment.</p><p>Unchecked bias can compromise even the most advanced AI algorithms.</p><h3><strong>The Skew Problem: Training vs. Serving</strong></h3><p>In production, data often drifts from what the model saw during training.</p><p>Train-serving skew occurs when feature distributions at inference diverge from training. Causes range from evolving user behavior and hardware degradation to upstream pipeline bugs.</p><blockquote>For example, a pandemic-induced shift in transaction patterns can confuse a fraud detector. An inventory forecaster trained on “clean” data may stumble when sales trends shift — new products, seasons, lockdowns — leading to expired perishables and stockouts of popular items.</blockquote><p>Train-serving Skew erodes statistically validated performance in production.<strong><em> Ignoring it risks both revenue and reputation.</em></strong></p><h3><strong>Double Trouble: Bias Meets Skew</strong></h3><p>Bias and skew are not isolated risks; they compound one another.</p><p>Models trained on historical data inherit past biases, which drifting distributions later amplify. For instance, a model trained on formal text may misinterpret slang or emoji-filled inputs — reinforcing stylistic biases on social media.</p><p>Without proper/targeted model verification, these hidden failure modes can destroy trust in AI predictions.</p><h3><strong>Beyond Static Test Sets</strong></h3><p>Conventional performance metrics and static test sets fall short.</p><p>Traditional testing uses small, randomly sampled test sets that cannot cover all learned behaviors. Domain-aware verification goes further — testing model behavior over broad input regions against predefined, application-specific rules. Examples include:</p><p><strong>Invariance Tests</strong> — apply input perturbations (e.g., swap demographic attributes) and confirm outputs remain stable.</p><ul><li>Loan Example — swapping racial indicators should not change creditworthiness predictions.</li></ul><p><strong>Directional Expectation Tests</strong> — apply known shifts and verify predictions move in the correct direction.</p><ul><li>Demand Forecasting Example — rising sales should trigger higher reorder recommendations and stock purchases.</li></ul><p><strong>Domain-aware verification uncovers hidden bias and drift early.</strong></p><h3><strong>Tailored Checks for your Domain Risks</strong></h3><p>Bias and drift manifest uniquely in each domain; no one-size-fits-all fix exists. You need an intuitive tool that transforms expert insights into automated model checks, guarding against bias and drift before deployment.</p><p><a href="http://www.verifia.ca/"><em>VerifIA</em></a> uses a concise YAML syntax to encode expert rules specifying how your model should — and shouldn’t — behave. It then applies a search-based approach to generate targeted, valid verifications that ensure production model reliability. Additionally, <a href="http://www.verifia.ca/"><em>VerifIA</em></a><em>’</em>s AI-assisted feature can crawl your domain knowledge and sample from your labeled data, helping you craft comprehensive, precise domain definitions.</p><h3><strong>References</strong></h3><p>1. MIT Management, When AI Gets It Wrong: Addressing AI Hallucinations and Bias, <a href="https://mitsloanedtech.mit.edu/ai/basics/addressing-ai-hallucinations-and-bias/">Basics</a></p><p>2. Cem Dilmegani, Bias in AI: Examples and 6 Ways to Fix it in 2025, <a href="https://research.aimultiple.com/ai-bias/">AIMultiple</a></p><p>3. Felipe Almeida and Tiago Magalhães, Dealing with Train-serve Skew in Real-time ML Models: A Short Guide, <a href="https://building.nubank.com/dealing-with-train-serve-skew-in-real-time-ml-models-a-short-guide/">nubank</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1b1ed7baf94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/verifia/data-bias-and-train-serving-skew-the-hidden-data-traps-in-ai-d1b1ed7baf94">Data Bias and Train-Serving Skew: The Hidden Data Traps in AI</a> was originally published in <a href="https://medium.com/verifia">VerifIA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Did the AI Model Predict for the Right Reasons?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/verifia/did-the-ai-model-predict-for-the-right-reasons-4cf45b2a1aee?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/1536/1*qGF1Cu7GuxNxL_3BswkOTw.png" width="1536"></a></p><p class="medium-feed-snippet">Invariance and directional expectation tests uncover hidden logical flaws in model behavior.</p><p class="medium-feed-link"><a href="https://medium.com/verifia/did-the-ai-model-predict-for-the-right-reasons-4cf45b2a1aee?source=rss-cfef0a050328------2">Continue reading on VerifIA »</a></p></div>]]></description>
            <link>https://medium.com/verifia/did-the-ai-model-predict-for-the-right-reasons-4cf45b2a1aee?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cf45b2a1aee</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Wed, 18 Jun 2025 14:45:39 GMT</pubDate>
            <atom:updated>2025-06-19T22:23:03.077Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Verifying ML Across the Risk–Performance Matrix]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/verifia/verifying-ml-across-the-risk-performance-matrix-1342d4a2fc75?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/1251/1*L56RF6jgLa5JMfQyqEMhUA.jpeg" width="1251"></a></p><p class="medium-feed-snippet">Tailor verification strategies to risk levels and performance measurability for every AI system.</p><p class="medium-feed-link"><a href="https://medium.com/verifia/verifying-ml-across-the-risk-performance-matrix-1342d4a2fc75?source=rss-cfef0a050328------2">Continue reading on VerifIA »</a></p></div>]]></description>
            <link>https://medium.com/verifia/verifying-ml-across-the-risk-performance-matrix-1342d4a2fc75?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/1342d4a2fc75</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[verification]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 14:38:24 GMT</pubDate>
            <atom:updated>2025-06-19T22:23:25.069Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Data4ML Preparation Guidelines (Beyond the Basics)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pub.towardsai.net/data4ml-preparation-guidelines-beyond-the-basics-7613ff4282ff?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*R8XrA5Gn6g7WYhzH" width="4078"></a></p><p class="medium-feed-snippet">Data preparation isn&#x2019;t just a part of the ML engineering process&#x200A;&#x2014;&#x200A;it&#x2019;s the heart of it.</p><p class="medium-feed-link"><a href="https://pub.towardsai.net/data4ml-preparation-guidelines-beyond-the-basics-7613ff4282ff?source=rss-cfef0a050328------2">Continue reading on Towards AI »</a></p></div>]]></description>
            <link>https://pub.towardsai.net/data4ml-preparation-guidelines-beyond-the-basics-7613ff4282ff?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/7613ff4282ff</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Fri, 08 Nov 2024 23:30:02 GMT</pubDate>
            <atom:updated>2024-11-09T10:17:54.788Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[LLM Agents underscore one truth: Data is the real differentiator.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pub.towardsai.net/llm-agents-underscore-one-truth-data-is-the-real-differentiator-2a9a0325c546?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/1000/1*ZPZfFJoq0cw26sw_Zcme8Q.png" width="1000"></a></p><p class="medium-feed-snippet">We don&#x2019;t have better algorithms; we just have more data.&#x200A;&#x2014;&#x200A;Peter Norvig, The Unreasonable Effectiveness of Data.</p><p class="medium-feed-link"><a href="https://pub.towardsai.net/llm-agents-underscore-one-truth-data-is-the-real-differentiator-2a9a0325c546?source=rss-cfef0a050328------2">Continue reading on Towards AI »</a></p></div>]]></description>
            <link>https://pub.towardsai.net/llm-agents-underscore-one-truth-data-is-the-real-differentiator-2a9a0325c546?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a9a0325c546</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Fri, 08 Nov 2024 23:29:19 GMT</pubDate>
            <atom:updated>2024-11-09T10:14:46.044Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ensuring the Reliability, Robustness, and Ethical Compliance of LLMs]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pub.towardsai.net/ensuring-the-reliability-robustness-and-ethical-compliance-of-llms-1a2ff28325e1?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*8jj3mq9UUZVbH5iQ" width="3000"></a></p><p class="medium-feed-snippet">Got an LLM-based app ready to launch, or still hustling to make it work? Discover the three essential steps that guarantee reliability&#x2026;</p><p class="medium-feed-link"><a href="https://pub.towardsai.net/ensuring-the-reliability-robustness-and-ethical-compliance-of-llms-1a2ff28325e1?source=rss-cfef0a050328------2">Continue reading on Towards AI »</a></p></div>]]></description>
            <link>https://pub.towardsai.net/ensuring-the-reliability-robustness-and-ethical-compliance-of-llms-1a2ff28325e1?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a2ff28325e1</guid>
            <category><![CDATA[reliability]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[llm-evaluation]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 00:49:23 GMT</pubDate>
            <atom:updated>2024-10-20T17:41:59.050Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Can We Reach Google’s MLOps Level 2 With Solely Self-hosted OSS?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pub.towardsai.net/can-we-reach-googles-mlops-level-2-with-solely-self-hosted-oss-e61562c8883e?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*EVtFIVcac3OV8dyG" width="5713"></a></p><p class="medium-feed-snippet">Achieving Google&#x2019;s MLOps level 2 (or &#x201C;Automation&#x201D;) with only self-hosted open-source software (OSS) is an ambitious goal, but it&#x2019;s&#x2026;</p><p class="medium-feed-link"><a href="https://pub.towardsai.net/can-we-reach-googles-mlops-level-2-with-solely-self-hosted-oss-e61562c8883e?source=rss-cfef0a050328------2">Continue reading on Towards AI »</a></p></div>]]></description>
            <link>https://pub.towardsai.net/can-we-reach-googles-mlops-level-2-with-solely-self-hosted-oss-e61562c8883e?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/e61562c8883e</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[mlops-tool]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Tue, 01 Oct 2024 14:46:03 GMT</pubDate>
            <atom:updated>2024-10-20T17:42:18.231Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[From VGGNet to EfficientNet: Key Milestones in the Evolution of CNN Design]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://pub.towardsai.net/from-vggnet-to-efficientnet-key-milestones-in-the-evolution-of-cnn-design-d778aa1e1bed?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*8hnsIqE3rLqj-LmB" width="3052"></a></p><p class="medium-feed-snippet">Modular, Multipath, Factorized, Compressed, Scalable&#x2026; All in CNN Nowadays, but What Led us Here&#x2026;We&#x2019;ll take you through the major&#x2026;</p><p class="medium-feed-link"><a href="https://pub.towardsai.net/from-vggnet-to-efficientnet-key-milestones-in-the-evolution-of-cnn-design-d778aa1e1bed?source=rss-cfef0a050328------2">Continue reading on Towards AI »</a></p></div>]]></description>
            <link>https://pub.towardsai.net/from-vggnet-to-efficientnet-key-milestones-in-the-evolution-of-cnn-design-d778aa1e1bed?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/d778aa1e1bed</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[convolutional-network]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Sat, 12 Nov 2022 19:09:13 GMT</pubDate>
            <atom:updated>2022-11-16T12:32:54.342Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Are You Aware How Difficult Your Regression Problem Is?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/data-science/are-you-aware-how-difficult-your-regression-problem-is-b7dae830652b?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*RCLHdecd0L3IQzvS" width="3992"></a></p><p class="medium-feed-snippet">Half of the solution is comprehending your problem, but half of the comprehension is knowing how complicated it is</p><p class="medium-feed-link"><a href="https://medium.com/data-science/are-you-aware-how-difficult-your-regression-problem-is-b7dae830652b?source=rss-cfef0a050328------2">Continue reading on TDS Archive »</a></p></div>]]></description>
            <link>https://medium.com/data-science/are-you-aware-how-difficult-your-regression-problem-is-b7dae830652b?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7dae830652b</guid>
            <category><![CDATA[complexity]]></category>
            <category><![CDATA[regression]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[regression-analysis]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 16:18:42 GMT</pubDate>
            <atom:updated>2022-01-31T16:18:42.759Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Make Systematic Choices of Machine Learning Models]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@houssem.benbraiek/how-to-make-systematic-choices-of-machine-learning-models-8efd772c94de?source=rss-cfef0a050328------2"><img src="https://cdn-images-1.medium.com/max/2600/0*O4JoqBxfPBa_2-R3" width="7952"></a></p><p class="medium-feed-snippet">&#x2018;Which ML model to choose?&#x2019; is a perennial question, but believe me, this is one of the simplest yet very practical answer to it</p><p class="medium-feed-link"><a href="https://medium.com/@houssem.benbraiek/how-to-make-systematic-choices-of-machine-learning-models-8efd772c94de?source=rss-cfef0a050328------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@houssem.benbraiek/how-to-make-systematic-choices-of-machine-learning-models-8efd772c94de?source=rss-cfef0a050328------2</link>
            <guid isPermaLink="false">https://medium.com/p/8efd772c94de</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <dc:creator><![CDATA[Houssem Ben Braiek]]></dc:creator>
            <pubDate>Wed, 05 Jan 2022 20:14:50 GMT</pubDate>
            <atom:updated>2022-01-07T17:52:10.484Z</atom:updated>
        </item>
    </channel>
</rss>