<?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 Srikanth Kasula on Medium]]></title>
        <description><![CDATA[Stories by Srikanth Kasula on Medium]]></description>
        <link>https://medium.com/@srikanthk123?source=rss-9601b5c9a200------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8jeN0mSrGVesrhJCosVl3g.png</url>
            <title>Stories by Srikanth Kasula on Medium</title>
            <link>https://medium.com/@srikanthk123?source=rss-9601b5c9a200------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:42:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@srikanthk123/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[THE PROGRESSIVE PERSONALISATION ENGINE · PART 3 OF 3 · VALIDATION]]></title>
            <link>https://medium.com/@srikanthk123/the-progressive-personalisation-engine-part-3-of-3-validation-d5e38b1b0071?source=rss-9601b5c9a200------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5e38b1b0071</guid>
            <dc:creator><![CDATA[Srikanth Kasula]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 03:36:28 GMT</pubDate>
            <atom:updated>2026-11-07T03:36:28.974Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Proving the Model Works — Without Deploying It</strong></h3><p><em>How the model learns, then four independent checks that it captured real taste and that the segments hold up over time.</em></p><p>A recommender you cannot trust is worse than none. Before any live test, we validate four ways — using only historical behaviour the model never trained to predict. First, a quick look at HOW it learns.</p><p><strong>How the model learns (in one picture)</strong></p><p>Training starts with random vectors and nudges them, step by step, so that games appearing together end up close. The ‘error’ falls with each pass until the vectors settle — classic gradient descent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPB_NlQoPWDci--l_bIGOQ.png" /><figcaption><em>Gradient descent drives reconstruction error down until the game vectors settle into a stable map.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*zLuSmGUfV_S21yupKniAGA.gif" /></figure><p><strong>Validation 1 · Segment name classification</strong></p><p>If the embedding learned real thematic structure, an independent judge should recognise each segment’s theme. Classifying 30 random games per segment by name/theme alone, then comparing to the embedding’s assignment, gives 88.6% agreement — about 8.9× better than the 10% you’d get by chance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jyZBV7KzYWMJSqpc78VC9Q.png" /><figcaption><em>Validation 1 · AI names games into the embedding’s segments by name alone — 88.6% average.</em></figcaption></figure><p><strong>Validation 2 · The Percentile Bullseye (explained from scratch)</strong></p><p>Unlike NDCG, this isn’t a metric most people have seen — so let’s build it up. It answers a hard question: how do you prove a recommender is good BEFORE showing its recommendations to anyone?</p><p><em>The trick: don’t judge the model by what it recommends — judge it by whether the games players chose next, on their own, land close to what it already predicts</em></p><p><strong>How it works, step by step</strong></p><p><strong>Step 1 — </strong>Pick a player’s favourite game from the training period — the centre of their bullseye.</p><p><strong>Step 2 — </strong>Rank every other game by closeness to that favourite, then convert to a percentile (1st = closer than 99% of all games; 50th = average).</p><p><strong>Step 3 — </strong>Look at the games the player ACTUALLY played next in a later, held-out window, and read off each one’s percentile.</p><p><strong>Step 4 — </strong>If the model captured taste, those real choices sit at LOW percentiles; random games scatter around the 50th as a control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSFaNqKR90IoqQ0I1Vfl-w.png" /><figcaption><em>The idea in three moves: rank by distance → locate the real next game → repeat for everyone.</em></figcaption></figure><p><strong>Tiny worked example: </strong>A player’s favourite is a fishing slot. The model ranks their real next game 90th-closest out of 3,000 — the 3rd percentile, closer than 97% of the catalogue. A random game averages the 1,500th spot (50th). Thousands of players landing in the low single digits would be strong evidence that the geometry captures meaningful behavioural structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*NP5qMl066ouk3OwiZnRODw.png" /><figcaption><em>Real next-choices (dots) huddle in the inner rings; random games (crosses) spray to the edges.</em></figcaption></figure><p>Honest note: this is a rank-based, held-out check in the same family as Expected Percentile Rank (Hu, Koren &amp; Volinsky, 2008) — the ‘bullseye’ is a visual framing, not a brand-new metric. It’s a strong sanity check on taste geometry and complements online A/B testing.</p><p><strong>Validation 3 · Player segments are stable</strong></p><p>Segments are only useful if they persist. Players are clustered on training data, then re-tested on the validation period. The diagonal of the cross-tab — those who stay in the same segment — averages 61.8%, about 3.1× the 20% expected by chance for five groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*UzOFXvzr_UTd-cG_KHpG1g.png" /><figcaption><em>The stability cross-tab: strong diagonal = players stay in their segment across periods.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BoyzMN255CDIP2xon720mA.png" /><figcaption><em>Per-segment stability — most segments retain 62–75% of members.</em></figcaption></figure><p><strong>Validation 4 · Diversity tiers are stable too</strong></p><p>Finally, does a player’s exploration appetite hold? Yes — diversity tiers show 62% average stability (3.0× random), and migration is mostly to adjacent tiers. Players evolve gradually, not randomly — exactly what a progressive engine needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDzC3u8ANBFndaPhsRA_WA.png" /><figcaption><em>Diversity tiers remain stable; players drift to neighbouring tiers, not across the whole range.</em></figcaption></figure><p><strong>The verdict: </strong>Four independent checks agree — the embedding captures meaningful patterns in observed behaviour, and both segments and diversity tiers are stable enough to build on. All from behaviour, all before deployment.</p><p>That completes the Progressive Personalisation Engine: a single model, learned from behaviour alone, that exposes breadth to newcomers, engages with relevance, tests appetite, optimises an individual radius — and can be trusted, because it was validated before it ever went live.</p><p><strong>Thanks for reading. The ideas generalise to any catalogue — games, products, music or video.</strong></p><p><em>Responsible personalisation: In real-world applications, player protection, responsible-gambling policies and regulatory requirements take precedence over commercial or engagement objectives. Recommendations should be suppressed or adapted for at-risk or self-excluded players, with appropriate safety monitoring and human governance.</em></p><p><em>Note: all game names, figures and numbers are illustrative / synthetic, used purely to explain the techniques. Figures are illustrative and generated solely to demonstrate the techniques; they do not represent production results. The percentile idea builds on Expected Percentile Rank (Hu, Koren &amp; Volinsky, 2008).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5e38b1b0071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE PROGRESSIVE PERSONALISATION ENGINE · PART 2 OF 3 · PLAYER JOURNEY]]></title>
            <link>https://medium.com/@srikanthk123/the-progressive-personalisation-engine-part-2-of-3-player-journey-222a75156fd7?source=rss-9601b5c9a200------2</link>
            <guid isPermaLink="false">https://medium.com/p/222a75156fd7</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[hyper-personalization]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Srikanth Kasula]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 14:38:45 GMT</pubDate>
            <atom:updated>2026-11-01T14:38:45.707Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Expose → Engage → Test → Optimise</strong></h3><p><em>A progressive lifecycle that meets a player at their very first session and grows with them — from zero knowledge to a fully personalised plan</em></p><p>With every game carrying a behavioural fingerprint (Part 1), we can meet players wherever they are and deliberately grow their variety. The journey has four stages, each with a clear job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tfUy66_TB9aYSedSSYPSzQ.png" /><figcaption>The four-stage lifecycle — each stage does something different with what the model knows.</figcaption></figure><p><strong>Stage 0 · Pre-player: know the universe first</strong></p><p>Before anyone arrives, map the whole catalogue. Clustering the embeddings arranges thousands of games into coherent, named segments; gaps and over-served areas are visible at a glance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*swgS2PGi-XXe1KrxEQFILQ.png" /><figcaption><em>STAGE 0 · the game universe — know it before players arrive.</em></figcaption></figure><p><strong>Stage 1 · Brand new (Day 1, zero history)</strong></p><p>A brand-new player is the classic cold-start problem. The fix: show the single most popular game from each segment. One screen exposes the full breadth of the catalogue, and the first click already reveals a direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*PAcNACPmFsoOpaz-0On8Fw.png" /><figcaption><em>STAGE 1 · one popular star per segment — guaranteed variety from the first interaction.</em></figcaption></figure><p><strong>Why it works: </strong>In this illustrative example, covering every region of the map makes a player ~5× more likely to hit a match than showing five similar games. One interaction solves cold-start.</p><p><strong>Stage 2 · Initial signals (2–5 games)</strong></p><p>After just one game we compute an embedding and instantly find the neighbourhood. Combine three games into an average vector and it sharpens further. Traditional methods need weeks; this needs three games.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*TvVvSQN05O29MoWPiB87UQ.png" /><figcaption><em>STAGE 2 · after one game, the nearest neighbours light up — closeness = similarity.</em></figcaption></figure><p><strong>Stage 3 · Full personalisation (Week 2+)</strong></p><p>Now we combine two independent signals. Segment gives the DIRECTION of taste; a diversity score gives the RADIUS — how far a player likes to roam. Crucially, game count is not diversity: seven games in one series score LOW; three games from different worlds score HIGH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gxVzVE5kIgKWjPwwvGxLw.png" /><figcaption><em>Diversity measures spread, not count — and splits players into five taste tiers.</em></figcaption></figure><p>Direction × radius produces a 5×5 personalisation matrix, which maps onto five actionable player groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*KQmmj8Qj5ugyTrZc3yc0JQ.png" /><figcaption><em>STAGE 3 · segment × diversity = a 5×5 personalisation matrix.</em></figcaption></figure><p><strong>Five personalisation profiles</strong></p><p>· <strong>Deep Loyalists — </strong>Recommend the top nearest games within their exact series. ‘Because you loved X → try its sequel.’</p><p>· <strong>Genre Growers — </strong>70% safe, 30% new within the same genre — familiar home base, fresh twist.</p><p>· <strong>Cross-Pollinators — </strong>Bridge recommendations connecting the 2–3 clusters they already span.</p><p>· <strong>Thrill Seekers — </strong>New releases and trending games across ALL segments — first to try launches.</p><p>· <strong>Niche Nurturers — </strong>Deep-dive within a niche, same-studio releases; never push mainstream.</p><p>Each segment also has a recognisable ‘taste shape’ across the five named axes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-5dSkib5_m8ylRaJ1k_oQ.png" /><figcaption><em>Radar profiles make each player segment’s taste instantly readable.</em></figcaption></figure><p><strong>The journey, end to end</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rgoDQtsk7vykFUL075_t1w.png" /><figcaption><em>Expose → Engage → Test → Optimise — one model, four deliberate jobs.</em></figcaption></figure><p><strong>Takeaway: </strong>One embedding model powers the whole arc — it simply changes what it does with what it knows, steadily growing each player’s variety (and, from Part 1, their retention).</p><p><strong>Part 3 → does it actually work? Validation without deploying a thing.</strong></p><p><em>Responsible personalisation: In real-world applications, player protection, responsible-gambling policies and regulatory requirements take precedence over commercial or engagement objectives. Recommendations should be suppressed or adapted for at-risk or self-excluded players, with appropriate safety monitoring and human governance.</em></p><p><em>Note: all game names, figures and numbers are illustrative / synthetic, used purely to explain the techniques. Figures are illustrative and generated solely to demonstrate the techniques; they do not represent production results. The percentile idea builds on Expected Percentile Rank (Hu, Koren &amp; Volinsky, 2008).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=222a75156fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE PROGRESSIVE PERSONALISATION ENGINE · PART 1 OF 3 · FOUNDATION]]></title>
            <link>https://medium.com/@srikanthk123/the-progressive-personalisation-engine-part-1-of-3-foundation-b351e050d8b6?source=rss-9601b5c9a200------2</link>
            <guid isPermaLink="false">https://medium.com/p/b351e050d8b6</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[personalization]]></category>
            <dc:creator><![CDATA[Srikanth Kasula]]></dc:creator>
            <pubDate>Fri, 23 Oct 2026 17:17:20 GMT</pubDate>
            <atom:updated>2026-10-23T17:17:20.096Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Teaching a Model Game Taste — and Mapping 3,253 Games</strong></p><p><em>Why game variety drives retention, how a network turns raw plays into 64-dimensional understanding, the game map that results, and the first real payoff.</em></p><p>Personalisation sounds simple: show people more of what they like. But on a catalogue of thousands of titles, “more of what they like” quietly becomes “the same few things again” — and that is exactly where most recommendation systems fail. This series builds a progressive engine that fixes it. It starts with one clean, powerful idea.</p><p><strong>The idea: games are words, sessions are sentences</strong></p><p>If you treat every player session as a sentence and every game as a word, the same mathematics that learns word meaning from text can learn game meaning from play history. The model never sees a game’s name, genre or description — only anonymous IDs — yet it learns which games belong together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1lWwkWpaiiOY5FOEADLZw.png" /><figcaption><em>Games that appear in the same sessions gain similar meaning — learned from millions of these ‘sentences’.</em></figcaption></figure><p><strong>The problem: variety drives retention</strong></p><p>Across a full population over several months, one relationship dominates everything: the more DISTINCT games a player tries, the less likely they are to churn (churn = 21+ days inactive). Not how long they play — how many different games they experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BgpvJZv1U_-iePZWwepeg.png" /><figcaption><em>Churn falls sharply as a player tries more distinct games; the steepest gains are 1→10, then it flattens. </em>The numbers: 1 game → ~80% churn · 5 → ~51% · 10 → ~36% · 25 → ~15% · 50 → ~9%. The biggest wins come early (games 1→10); after ~25 games returns diminish.</figcaption></figure><p><strong>The habit trap</strong></p><p>Players naturally repeat about half their games, so a recommender that just serves up what they already play scores a huge overlap with their real behaviour. It looks brilliant on a dashboard and adds almost zero value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*f2wkVV6oYIza1nc9PWs5Qw.png" /><figcaption><em>Repeat-based recommendations mirror the ~52% players would have done anyway — impressive-looking, near-zero added value.</em></figcaption></figure><p><strong>Is the effect real? A clean split</strong></p><p>Splitting players at the median number of distinct games (10) and comparing churn directly confirms it is no accident.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*Rau0BNssc_uzyiVa3cSAVA.png" /><figcaption><em>Narrow-taste players (&lt;10 distinct games) churn 3.6× more than broad-taste players (10+). </em>The goal is to help players discover more distinct games they genuinely enjoy, while recognising that the observed relationship between variety and retention is correlational, not proof of causation.</figcaption></figure><p><strong>From transactions to understanding</strong></p><p>So how do we recommend genuinely new-but-relevant games across thousands of titles with no metadata? A deep neural network (Skip-gram) reads only anonymous player–game pairs and learns each game’s meaning from the company it keeps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bq_bv9h8DYdK_7JZHFTCdQ.png" /><figcaption><em>Raw transactions in, a 64-dimensional understanding of every game out — discovered automatically.</em></figcaption></figure><p>When we inspect the games associated with different regions of the embedding space, interpretable behavioural themes emerge: Slots vs Live Casino, Adventure vs Bingo, Hold &amp; Win vs Megaways, Edgy vs Family-Friendly, Mainstream vs Niche. Nobody defined them — the model inferred them because those audiences behave differently.</p><p><strong>Building game DNA</strong></p><p>Each game becomes a 64-number fingerprint. Similar games share a similar shape; different games look completely different.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a40ST2hgm3F5vyb8hBs9LA.png" /><figcaption><em>Every game as a 64-bar DNA fingerprint — a similar title mirrors the shape, an unrelated one does not.</em></figcaption></figure><p><strong>The game map — the whole universe at a glance</strong></p><p>Project every fingerprint down to two dimensions and the catalogue arranges itself. Nearby games share a player base; each colour is a behaviour-based segment. This one picture powers portfolio strategy, gap-spotting and new-game positioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*d7Y_JEbSwfLuzfpHqrmycw.gif" /><figcaption><em>The game universe: 3,253 games in 10 behaviour-based segments, positioned by play alone.</em></figcaption></figure><p><strong>The first payoff: ‘games like this one’</strong></p><p>Once every game is a vector, similarity is just cosine distance — instantly giving a ranked list of look-alikes, the backbone of every ‘you might also like’ rail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*wbCpvAul8BovpsRWd_NZ1g.png" /><figcaption><em>Nearest neighbours by cosine similarity — computed with zero metadata.</em></figcaption></figure><p><strong>Takeaway: </strong>Variety in distinct games is the retention lever; behaviour alone gives every game a rich fingerprint, a place on the map, and instant look-alikes. Next: turning this into a personalised journey.<br><strong>Part 2 → the Player Journey: Expose → Engage → Test → Optimise.</strong></p><p><strong>Responsible personalisation: In real-world applications, player protection, responsible-gambling policies and regulatory requirements take precedence over commercial or engagement objectives. Recommendations should be suppressed or adapted for at-risk or self-excluded players, with appropriate safety monitoring and human governance.</strong></p><p><em>Note: all game names, figures and numbers are illustrative / synthetic, used purely to explain the techniques. Figures are illustrative and generated solely to demonstrate the techniques; they do not represent production results. The percentile idea builds on Expected Percentile Rank (Hu, Koren &amp; Volinsky, 2008).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b351e050d8b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When, Not Just How]]></title>
            <link>https://medium.com/@srikanthk123/when-not-just-how-63fc0cc97cd8?source=rss-9601b5c9a200------2</link>
            <guid isPermaLink="false">https://medium.com/p/63fc0cc97cd8</guid>
            <category><![CDATA[frontieraivsnative]]></category>
            <category><![CDATA[whennotjusthow]]></category>
            <category><![CDATA[ai-cost-optimization]]></category>
            <category><![CDATA[datascienceleadership]]></category>
            <category><![CDATA[ai-governance]]></category>
            <dc:creator><![CDATA[Srikanth Kasula]]></dc:creator>
            <pubDate>Fri, 19 Jun 2026 03:27:52 GMT</pubDate>
            <atom:updated>2026-06-19T03:27:52.469Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The evolving functions of the Data &amp; AI Scientist in the age of runaway AI cost.</em></p><p><strong>Describe → Predict → Deploy → Decide → Govern</strong><em> — the job has moved up the value chain.</em></p><p><strong>AI has never been easier to use — or easier to overspend on. </strong>A single line of code calls a frontier model that can summarise, classify, predict or converse. It feels almost free. But multiply one call by millions of requests, across many teams, and a quiet problem turns loud: <strong>AI cost is compounding faster than the value it delivers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*D2OYVn6biGuJsPUBMLUjoA.png" /><figcaption><em>The default reflex — ‘just call the biggest model’ — looks free until the invoice arrives.</em></figcaption></figure><p><strong>PART 1 — THE PROBLEM: CONVENIENCE IS HIDING COST</strong></p><p>In the rush to adopt, most teams optimised for speed: reach for the most powerful model, ship, repeat. That made sense while experimenting. At production scale it is expensive and risky — because <strong>in production, cost multiplies.</strong> A live model is called on every record, every user, every day. Take a deliberately conservative example: a fifth of a cent per prediction, 100,000 predictions a day, all year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*R13OjNTxwOI63E58-0qiZw.png" /><figcaption><em>Even at a conservative fifth-of-a-cent per call, volume x frequency turns a trivial price into a real bill — an offline / native model avoids the per-call fee entirely.</em></figcaption></figure><p>That is around $73,000 a year for a single model — modest alone, but it rarely stays single. Where this realistically bites is high-volume, repetitive scoring, not occasional novel reasoning. A few honest examples:</p><p>· <strong>E-commerce &amp; retail — </strong>product categorisation, review sentiment and recommendations on millions of items daily; a classifier or embedding model does it offline for a sliver of the cost.</p><p>· <strong>Banking &amp; fintech — </strong>transaction risk and fraud scoring on every payment is a classic boosting / logistic model — faster and far cheaper than a per-transaction LLM call.</p><p>· <strong>Customer support — </strong>ticket routing and triage at scale is text classification; reserve generative AI for the few genuinely complex replies.</p><p>· <strong>Telecoms &amp; subscriptions — </strong>daily churn and propensity scoring across a large base is conventional prediction — cheap, calibrated, auditable offline.</p><p><em>The pattern is consistent: the costliest mistakes are not the hard, rare problems — they are the easy, frequent ones solved with the most expensive tool out of habit.</em></p><p><strong>PART 2 — THE EVOLVING ROLE: FROM ‘HOW TO BUILD’ TO ‘WHEN TO USE’</strong></p><p>For years the data scientist’s job was framed as <em>how</em> to build a model that works. As AI commoditises, that is no longer the differentiator. The scarce, valuable skill now is judgement: knowing <em>when</em> to use frontier AI, and <strong>when to replace it with a native method</strong> that does the same job for a fraction of the cost. The role has climbed a staircase — from describing data, to predicting, to deploying, and now to deciding and governing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*hh1ERS8SJWJQBQN_me7kTw.png" /><figcaption><em>The evolving functions of the Data &amp; AI Scientist: each step adds value — and demands more judgement than the last.</em></figcaption></figure><p><strong>Why knowing the native algorithms is the superpower</strong></p><p>You cannot decide <em>when</em> to use frontier AI unless you understand what is happening underneath. A practitioner who knows how the algorithms work can look at a task and recognise it for what it really is — a classification, a forecast, a similarity lookup, an image or a sequence problem — and reach for the right-sized tool. A practitioner who only knows the API reaches for the frontier model every time, and quietly burns the budget. Every technique sits somewhere on a cost-capability spectrum; the skill is placing the task and picking the leftmost tool that still solves it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*OWMKZ2pKPuEnlOVefNuhXA.png" /><figcaption><em>From rules to frontier LLMs: understanding each technique lets you choose the cheapest tool that still does the job.</em></figcaption></figure><p><strong>PART 3 — ONE WORKED DECISION: WHEN VISION MEETS THE INVOICE</strong></p><p>Take a concrete, high-volume task: <strong>image classification</strong> — say, checking product photos for defects, reading a scanned form, or sorting images by content. Strip away the hype and this is exactly what a <strong>convolutional neural network (CNN)</strong> was built for. A CNN learns visual features — edges, textures, shapes — then maps them to a label. Trained once, it runs offline, scores each image in milliseconds, charges no per-call fee, and keeps sensitive images inside your own environment.</p><p>The tempting shortcut is to send every image to a frontier multimodal model through an API. It works — but vision calls are among the <strong>most expensive operations in modern AI</strong>, billed per image. At a handful of images that is fine. At a million images a day it is a runaway invoice for a job a native CNN already does — faster, cheaper, and more privately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*V8LI-_bYAJUe0Z71-ZICXg.png" /><figcaption><em>Image classification with a CNN: a one-off offline model scores at scale for a sliver of the cost of per-image frontier calls. Illustrative, conservative ratio.</em></figcaption></figure><p>This single example captures the whole argument. <strong>Knowing how a CNN works</strong> is precisely what gives you the confidence to say: ‘this is a solved, native problem — we do not need to pay frontier prices per image.’ The practitioner who only knows the API never asks the question, and the cost compounds silently.</p><p>So when <em>does</em> a frontier model earn its cost? When the task is genuinely open-ended — nuanced reasoning, novel generation, low volume but high value per call, or no data to train a native model. Reserve it for that rare hard 20%; serve the routine 80% — like image classification — natively.</p><p><strong>A simple lens to make the call every time</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*68bIkZjwq0JbsGA2TPGJDQ.png" /><figcaption><em>Plot complexity/novelty against cost/volume/sensitivity — the right choice is usually obvious.</em></figcaption></figure><p><strong>THE NEW MANDATE</strong></p><p>The data and AI scientist of the next decade will be judged not on the models they can build, but on the judgement they bring: understanding the algorithms deeply enough to know when a powerful, expensive model is genuinely worth it — and when a simpler, native, in-house method does the job for a fraction of the cost. As AI matures, that judgement becomes the difference between spend that compounds value and spend that compounds waste.</p><p><strong>Know how it works. Know when to use it. Know when to replace it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63fc0cc97cd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Vanilla Reinforcement Learning Fails in Exploit-Heavy Casino Environments — And How Behavioural…]]></title>
            <link>https://medium.com/@srikanthk123/why-vanilla-reinforcement-learning-fails-in-exploit-heavy-casino-environments-and-how-behavioural-2796b1c78c1d?source=rss-9601b5c9a200------2</link>
            <guid isPermaLink="false">https://medium.com/p/2796b1c78c1d</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Srikanth Kasula]]></dc:creator>
            <pubDate>Fri, 27 Feb 2026 11:56:27 GMT</pubDate>
            <atom:updated>2026-02-28T06:18:24.750Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Vanilla Reinforcement Learning Fails in Exploit-Heavy Casino Environments — And How Behavioural Priors Fix It</h3><p><strong>Co-authored by:</strong></p><p><em>Bindu Kumar Pamidi(</em><a href="https://medium.com/@bindukumarpamidi"><em>https://medium.com/@bindukumarpamidi</em></a><em>),</em></p><p><em>Ratnakar Murakonda(</em><a href="https://medium.com/@ratnakar.mrk"><em>https://medium.com/@ratnakar.mrk</em></a><em>)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1IaIjtWUyJfoV9XbSDbHkg.png" /></figure><p><strong>Index</strong></p><ol><li>Business Background: Why Personalisation Matters</li><li>Problem Statement</li><li>The Data Challenge: Extreme Sparsity</li><li>Why Existing Recommendation Models Struggle</li><li>The Core Gap</li><li>Solution Proposal</li><li>Tag Affinity as a Foundation</li><li>A Modular and Explainable Personalisation Layer</li><li>Opportunity Assessment</li><li>Solution Building: From Sparse Interactions to a Tag Affinity Dendrogram</li><li>Solution Validation</li><li>Solution Architecture</li><li>Use Case 1: Rule-Based Recommendations</li><li>Use Case 2: Cluster-Based Exploration</li><li>Use Case 3: Reinforcement Learning with Controlled Exploration</li><li>Final Thoughts</li></ol><p><strong>Business Background: Why Personalisation Matters</strong></p><p>Personalisation has become a core strategic priority for digital-first companies. As user expectations rise, generic experiences are no longer enough — customers increasingly expect products, content, and recommendations to be tailored to their individual preferences.</p><p>Industry leaders clearly demonstrate the impact of getting personalisation right. Amazon reports that nearly <strong>35% of its sales</strong> are driven by personalised recommendations. Netflix estimates that its recommendation system saves over <strong>$1 billion per year</strong> by reducing churn. According to a McKinsey report, companies that excel at personalisation can achieve up to a <strong>25% uplift in revenue</strong>.</p><p>For a deeper industry perspective, see McKinsey’s article:<br> <a href="https://www.mckinsey.com/capabilities/growth-marketing-and-sales/our-insights/the-value-of-getting-personalization-right-or-wrong-is-multiplying"><strong>Clickhere</strong></a></p><p>Together, these examples show that personalisation is not just a product enhancement — it is a proven growth driver and a key competitive differentiator.</p><p>In a large online gambling and casino platform, personalisation is a key strategic priority. Significant investment has been made in building hyper-personalised systems across both casino and sports products. The recommendation ecosystem typically rests on three core pillars: robust model development, seamless front-end integration, and continuous performance evaluation using analytics platforms such as GA4.</p><p>This strong foundation puts us in a position to scale personalisation further. However, as we push for deeper personalisation, we also face new challenges around explainability, scalability, and behavioural understanding — which is where this project begins.</p><p><strong>2. Problem Statement</strong></p><p>Personalisation works best when users naturally explore a wide range of items. In many digital platforms, this assumption holds true — users frequently try new content, generating rich interaction data.</p><p>Online casino gaming behaves very differently.</p><p>Players tend to repeatedly play the same familiar games due to learning curves, comfort, and habit formation. Exploration is limited, while exploitation dominates. This behaviour is intrinsic to the domain, but it creates significant challenges for personalisation systems.</p><p><strong>3. The Data Challenge: Extreme Sparsity</strong></p><p>When player behaviour is represented as a matrix — players as rows and games as columns — the resulting structure is extremely sparse. Most players interact with only a small subset of available games, leaving large portions of the matrix empty.</p><p>This sparsity makes it difficult to:</p><ul><li>Discover meaningful relationships between games</li><li>Encourage controlled exploration</li><li>Build stable and reliable recommendation models</li></ul><p>Repeated interactions with the same games provide limited signals about broader player preferences, making traditional learning approaches fragile</p><p><strong>4. Why Existing Recommendation Models Struggle</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*6Tj3tONWJddvwoVUiubsFw.png" /><figcaption>Recommendation Algorithms Assessment Table</figcaption></figure><p>Most recommendation approaches fall along a spectrum between explainability and hyper-personalisation.</p><p>Simple methods such as top-N recommendations or rule-based systems are highly explainable and stable, but they are too generic and fail to capture nuanced behavioural patterns. More advanced techniques — including collaborative filtering, matrix factorisation, reinforcement learning, and embedding-based models — can offer deeper personalisation but struggle in sparse, exploit-heavy environments.</p><p>As model complexity increases:</p><ul><li>Explainability drops</li><li>Stability decreases</li><li>Business control becomes harder</li><li>Hallucination and overfitting risks increase</li></ul><p>In regulated domains like online gambling, these trade-offs are especially problematic. Personalisation systems must not only perform well, but also remain interpretable, controllable, and consistent over time.</p><p><strong>5. The Core Gap</strong></p><p>The fundamental gap is the absence of an approach that simultaneously:</p><ul><li>Works reliably with sparse, repetitive behaviour</li><li>Preserves explainability and business control</li><li>Captures meaningful relationships between games</li><li>Enables safe and controlled exploration</li></ul><p>Rather than forcing exploration or relying on opaque models, we need a way to uncover behavioural structure that naturally emerges from how players actually play.</p><p><strong>6. Solution Proposal</strong></p><p>At its core, the personalisation problem in gaming comes down to two fundamental challenges: <strong>extreme data sparsity</strong> and <strong>an inherent trade-off between personalisation depth and explainability</strong>.</p><p>Player behaviour in gaming is highly repetitive, which leads to sparse player–game interaction data. At the same time, as personalisation becomes more sophisticated, it often becomes harder to explain and control — something that is particularly problematic in regulated environments.</p><p>To address these challenges, we introduce a <strong>Tag Affinity Base Layer</strong>, designed as a multi-layered behavioural transformation pipeline.</p><p><strong>7. Tag Affinity as a Foundation</strong></p><p>Instead of operating at the individual game level, the solution shifts to <strong>shared metadata — game tags</strong>. Tags are richer than games because they span across multiple titles and capture common behavioural patterns. This shift significantly reduces sparsity while preserving player intent.</p><p>Using this tag-level representation, we construct <strong>player–tag dendrograms</strong> through hierarchical clustering. These dendrograms explicitly capture behavioural similarity between tags, making relationships transparent rather than hidden inside black-box models.</p><p>As a result, sparse player–game interactions are transformed into <strong>dense, explainable user–tag behavioural clusters</strong>, providing both deep personalisation and high interpretability.</p><p><strong>8. A Modular and Explainable Personalisation Layer</strong></p><p>The Tag Affinity Base Layer is designed to be modular. It can function either as a <strong>standalone, fully explainable personalisation engine,</strong> or as a <strong>foundational layer</strong> that supports more advanced approaches.</p><p>Because behavioural structure is separated from decision logic, the same foundation can power:</p><ul><li>Rule-based recommendation strategies</li><li>Traditional machine learning models</li><li>Reinforcement learning with controlled exploration</li><li>Business-driven curation and experimentation</li></ul><p>This flexibility allows personalisation strategies to evolve without rebuilding the core system.</p><p><strong>9. Opportunity Assessment</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*J_MXxEy5giKAnwEnYsHjkg.png" /><figcaption>Opurtunity Assessment</figcaption></figure><p>The solution was evaluated across four key dimensions:</p><ul><li><strong>Desirability:</strong> Does it address a real user problem?<br> → Yes, it respects exploit-heavy player behaviour while enabling meaningful discovery.</li><li><strong>Viability:</strong> Does it deliver business value?<br> → Yes, by balancing personalisation depth with explainability and control.</li><li><strong>Feasibility:</strong> Can it be built?<br> → Yes, using existing data and scalable clustering techniques.</li><li><strong>Operability:</strong> Can it be run and supported long-term?<br> → Yes, the approach is stable, interpretable, and operationally manageable.</li></ul><p>By acting as a stable behavioural backbone, the Tag Affinity Base Layer <strong>delivers immediate value today</strong> while enabling <strong>scalable, future-ready personalisation</strong> for tomorrow.</p><p><strong>10. Solution Building: From Sparse Interactions to a Tag Affinity Dendrogram</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bIO6HsPM1KC-p2NaKfljiw.jpeg" /><figcaption>Solution Building</figcaption></figure><p>The solution is built through a sequence of transformations that progressively convert sparse player–game interactions into a structured and explainable behavioural hierarchy.</p><p><strong>Step 1: Starting with a Sparse Player–Game Matrix</strong></p><p>We begin with a traditional player–game interaction matrix, where rows represent players and columns represent games. Each cell captures whether a player has interacted with a game.</p><p>As expected in a gaming context, this matrix is highly sparse. Most players interact with only a small number of games, leaving large portions of the matrix empty. This sparsity limits the ability to directly discover meaningful relationships between games.</p><p><strong>Step 2: Mapping Games to Tags</strong></p><p>To address sparsity, we move away from individual games and instead map each game to its associated <strong>tags</strong>. A single game can belong to multiple tags, and the same tag can appear across many games.</p><p>This transformation allows us to project player behaviour from the game level to the tag level, where interactions become richer and more informative.</p><p><strong>Step 3: Building a Dense Player–Tag Matrix</strong></p><p>After applying the game-to-tag mapping, we construct a <strong>player–tag matrix</strong>. Compared to the original player–game matrix, this representation is significantly denser, since tag interactions aggregate behaviour across multiple games.</p><p>This dense matrix captures player preferences more effectively while preserving behavioural intent.</p><p><strong>Step 4: Aggregating Millions of Players into Behavioural Micro-Clusters</strong></p><p>Hierarchical clustering does not scale to millions of individual players. To make the problem tractable, we aggregate players into <strong>behavioural micro-clusters</strong> using clustering techniques.</p><p>Each micro-cluster represents a group of players with similar tag interaction patterns. This step compresses the user dimension while retaining the overall behavioural structure of the population.</p><p><strong>Step 5: Final Data View for Hierarchical Clustering</strong></p><p>The result of these transformations is a compact <strong>cluster–tag matrix</strong>, where each row represents a behavioural cluster and each column represents a tag.</p><p>This final data view is dense, stable, and well-suited for hierarchical clustering.</p><p><strong>Step 6: Constructing the Tag Affinity Dendrogram</strong></p><p>Using this transformed dataset, we apply agglomerative hierarchical clustering to build a <strong>Tag Affinity Dendrogram</strong>. The dendrogram reveals how tags are related based purely on player behaviour.</p><p>Tags that appear closer in the hierarchy indicate strong behavioural similarity, while tags that are farther apart represent distinct player preferences.</p><p>An important observation is that, despite using no semantic information, <strong>semantically related tags naturally cluster together</strong>. This provides strong validation that the approach captures genuine behavioural patterns.</p><p>This dendrogram forms the core behavioural structure used for explainable personalisation, enabling controlled exploration and multiple downstream recommendation strategies.</p><p><strong>11. Solution Validation: Measuring Behavioural Consistency Over Time</strong></p><p>A dendrogram is useful only if it captures <strong>stable behavioural structure</strong> rather than short-term noise. To validate this, we evaluated whether the tag affinity hierarchy learned from historical data remains consistent when applied to future player behaviour.</p><p><strong>Train–Validation Setup</strong></p><p>We used a <strong>time-based validation strategy:</strong></p><p><strong>Training period:</strong> One week of player interaction data</p><p><strong>Validation period:</strong> The immediately following week</p><p>Both datasets covered the same set of <strong>51 tags</strong>, representing over <strong>90% of the active player population</strong></p><p>Separate tag affinity dendrograms were built independently for the training and validation periods.</p><p><strong>Neighbourhood-Based Comparison Using Dendrogram Distance</strong></p><p>Instead of comparing cluster labels directly, we focused on <strong>local tag neighbourhoods,</strong> which is how the dendrogram is intended to be used in practice.</p><p>For each tag:</p><p>We extracted the <strong>10 nearest neighbouring tags</strong> from the <strong>training dendrogram</strong>, based on dendrogram distance</p><p>We did the same for the <strong>validation dendrogram</strong>, treating this as the ground truth</p><p>This allowed us to compare whether tags that were behaviourally close in the training period remained close in the validation period.</p><p><strong>Evaluation Metric: NDCG@10</strong></p><p>We used <strong>Normalized Discounted Cumulative Gain (NDCG@10) </strong>to measure similarity between the two rankings.</p><p>NDCG is a ranking-based metric commonly used in recommendation systems. It evaluates not only whether the correct items appear in the list, but also <strong>how high they appear</strong>, giving more weight to top-ranked neighbours.</p><p>In this setup:</p><p><strong>Training dendrogram neighbours</strong> were treated as predictions</p><p><strong>Validation dendrogram neighbours</strong> were treated as the true ranking</p><p><strong>Results</strong></p><p>The <strong>average NDCG@10 score across tags was 94%.</strong></p><p>This indicates that:</p><p>Local tag neighbourhoods are highly consistent week over week</p><p>The dendrogram captures stable behavioural relationships</p><p>The hierarchical structure generalises beyond the training window</p><p>For context, existing baseline systems in similar settings typically achieve much lower alignment, highlighting the robustness of this approach.</p><p><strong>Why This Validation Matters</strong></p><p>This result shows that the dendrogram is not just visually intuitive, but <strong>quantitatively stable. </strong>It can therefore be trusted as a behavioural foundation for downstream use cases such as recommendation, discovery, and controlled exploration.</p><p>Most importantly, this validation confirms that <strong>player behaviour patterns are consistent enough</strong> to support hierarchical, explainable personalisation over time.</p><p><strong>12. Snoflake Solution Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kvE2bFOHy-zU_hikKHrhtA.png" /><figcaption>Solution Architecture</figcaption></figure><p>The solution is implemented as an end-to-end pipeline built entirely on a cloud-native data and machine learning platform(Snowflake). The architecture is designed to support large-scale data processing, iterative experimentation, model validation, and seamless deployment — all within a single ecosystem.</p><p><strong>Data Ingestion</strong></p><p>The pipeline starts with structured data ingestion using SQL-based workflows. Player casino transaction data — including games played and associated tags — is queried and filtered directly from the data warehouse. This layer ensures that only relevant, high-quality data is made available for downstream processing.</p><p><strong>Data Pre-processing</strong></p><p>Once ingested, the data is processed within notebook-based environments. During this stage, inactive games and low-coverage tags are filtered out, and the raw transaction data is transformed into a clean behavioural dataset suitable for modelling.</p><p>This step ensures stability and consistency before any clustering is applied.</p><p><strong>Model Input Data Preparation</strong></p><p>After pre-processing, the behavioural data is transformed into model-ready inputs. Sparse player–game interactions are converted into dense player–tag representations, followed by aggregation into behavioural micro-clusters. This condensed representation allows hierarchical models to scale while preserving behavioural structure.</p><p><strong>Model Training</strong></p><p>Hierarchical clustering is performed using agglomerative methods to construct the tag affinity dendrogram. Training is executed within notebook environments that support iterative experimentation and parameter tuning.</p><p>This stage produces the core behavioural hierarchy that captures relationships between tags based purely on player behaviour.</p><p><strong>Model Validation</strong></p><p>To ensure robustness, the trained dendrogram is validated against future data using a time-based validation approach. Stability is measured using ranking-based metrics such as NDCG, verifying that tag neighbourhoods remain consistent over time.</p><p>This step ensures the model generalises beyond the training window and is safe to deploy.</p><p><strong>Model Registry and Deployment</strong></p><p>Once validated, the final dendrogram model is registered in a centralized model registry. This enables versioning, traceability, and controlled deployment.</p><p>Downstream applications — such as personalisation engines or lobby management tools — can directly consume the registered model to power explainable recommendations and exploration strategies.</p><p><strong>Infrastructure and Runtime</strong></p><p>The entire workflow runs on scalable, ML-optimized compute infrastructure with containerized runtimes. This setup supports both CPU and GPU workloads and allows additional libraries to be installed as needed.</p><p>By consolidating data, modelling, validation, and deployment into a single platform, the architecture ensures operational simplicity, reproducibility, and long-term maintainability.</p><p><strong>Key Architectural Takeaway</strong></p><p>This architecture enables rapid experimentation while maintaining production-grade stability — making it well-suited for explainable, behaviour-driven personalisation at scale.</p><p><strong>13. Use Case 1: Rule-Based Recommendations</strong></p><p><strong>High Explainability, Low Personalisation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mze2Hy6lnKBXPhtSbtCmNg.jpeg" /><figcaption>Tag Affinity Dendogram</figcaption></figure><p>One of the most immediate and practical applications of the Tag Affinity Dendrogram is <strong>rule-based personalisation</strong>. This use case prioritises <strong>clarity, predictability, and business control</strong> over deep individual personalisation.</p><p><strong>Exploitation vs Exploration, Defined Behaviourally</strong></p><p>Using the dendrogram, we distinguish between two types of content purely based on behavioural distance:</p><ul><li><strong>Exploitation games</strong><br> These are games whose tags lie close to the player’s current preference branch in the dendrogram. They represent “safe” recommendations — content the player is highly likely to engage with.</li><li><strong>Exploration games</strong><br> These are games whose tags are farther away in the hierarchy. They are behaviourally different but still related, making them suitable for controlled discovery without overwhelming the player.</li></ul><p>Importantly, this distinction is derived from <strong>player behaviour</strong>, not manually curated categories.</p><p><strong>How It Works in Practice</strong></p><p>On a regular cadence (for example, weekly), a tag affinity dendrogram is generated from recent player behaviour. This dendrogram is then used by product or lobby management teams to define <strong>simple, deterministic display rules</strong> on the front end.</p><p>A typical setup might look like:</p><ul><li><strong>Top rows:</strong> Exploitation games — closely related to what the player already enjoys</li><li><strong>Lower rows:</strong> Exploration games — selected from neighbouring but more distant branches</li></ul><p>Because the structure comes from a stable hierarchy, the explore–exploit balance is <strong>consistent and intentional</strong>, rather than random.</p><p><strong>Why This Is Valuable</strong></p><p>This approach offers several advantages:</p><ul><li><strong>100% explainable:</strong> Every recommendation has a clear behavioural reason</li><li><strong>Easy to govern:</strong> Rules are transparent and auditable</li><li><strong>No hallucination risk:</strong> Recommendations are deterministic, not model guesses</li><li><strong>Regulation-friendly:</strong> Predictable, stable, and compliant by design</li><li><strong>Low engineering overhead:</strong> No complex model training or real-time inference</li><li><strong>Business-controlled:</strong> Data science teams provide the dendrogram; business teams control the rules</li></ul><p>This makes rule-based recommendations an ideal starting point for organisations that want to introduce personalisation safely, without sacrificing trust or control.</p><p><strong>Key Takeaway</strong></p><p>The Tag Affinity Dendrogram enables a <strong>structured, behaviour-driven explore–exploit strategy</strong> that is simple to operate, fully explainable, and immediately deployable — making it a strong foundation for personalisation in regulated environments.</p><p><strong>14. Use Case 2: Cluster-Based Exploration</strong></p><p><strong>High Explainability, High Personalisation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ExzmW-Cz5_tz7_ATr9BVlQ.png" /><figcaption>Clustering of dendograms</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*zxBfQ4vyzJyWcAT7P_vpWQ.png" /><figcaption>Game Recommendations Based on Player Tolerance index</figcaption></figure><p>While rule-based recommendations provide strong control and clarity, they apply the same exploration logic to everyone. The second use case builds on the same Tag Affinity Dendrogram but introduces <strong>player-level adaptiveness</strong>, enabling deeper personalisation without losing explainability.</p><p><strong>Dendrogram-Driven Exploration</strong></p><p>The dendrogram provides a natural hierarchy of tag clusters, ordered by behavioural similarity. Instead of treating exploration as a binary decision, we use this hierarchy to <strong>control how far a player is allowed to explore</strong> from their core preferences.</p><p>Exploration is therefore not random — it is <strong>distance-aware and behaviour-driven</strong>.</p><p><strong>Exploration Tolerance Index</strong></p><p>At the heart of this approach is a simple, interpretable metric:</p><p><strong>Exploration Tolerance Index</strong><br> = (Number of distinct tag clusters a player engages with) / (Total number of clusters)</p><ul><li><strong>High tolerance players</strong> engage across many clusters</li><li><strong>Low tolerance players</strong> stay within a narrow behavioural band</li></ul><p>This single metric allows us to quantify how comfortable each player is with exploration.</p><p><strong>How It Works in Practice</strong></p><ol><li>A tag affinity dendrogram is built from the Tag Affinity Base Layer.</li><li>The dendrogram is cut into hierarchical clusters.</li><li>For each player, we calculate their Exploration Tolerance Index based on historical play.</li><li>Recommendation logic adapts accordingly:</li></ol><ul><li><strong>High-tolerance players</strong> are shown games from sibling or more distant clusters</li><li><strong>Low-tolerance players</strong> are kept within their primary cluster (exploitation)</li></ul><p>This ensures that exploration depth is <strong>personalised, controlled, and explainable</strong>.</p><p><strong>Behaviour-Aware Personalisation</strong></p><p>Two players can receive very different experiences:</p><ul><li>One player may see a broader mix of exploratory content</li><li>Another may consistently see familiar, closely related games</li></ul><p>Both outcomes are derived from observed behaviour, not assumptions.</p><p>Crucially, the system can always explain <em>why</em> a particular game was shown — by pointing directly to the cluster relationships in the dendrogram.</p><p><strong>Why This Is Valuable</strong></p><p>This approach delivers the best of both worlds:</p><ul><li><strong>High explainability:</strong> Every recommendation is tied to a visible cluster relationship</li><li><strong>High personalisation:</strong> Exploration adapts to each player’s tolerance</li><li><strong>No hallucinations:</strong> All clusters are behaviour-driven</li><li><strong>Business-controlled:</strong> Exploration boundaries can be adjusted safely</li><li><strong>Low operational risk:</strong> No black-box models or unstable inference</li></ul><p><strong>Key Takeaway</strong></p><p>Cluster-based exploration turns the dendrogram from a static visualisation into a <strong>dynamic personalisation engine</strong>. It allows the platform to explore confidently with the right players, stay safe with others, and remain fully transparent throughout.</p><p><strong>15. Use Case 3: Reinforcement Learning with Controlled Exploration</strong></p><p><strong>Low Cost, High Rationality</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*fLbMljHnUIXW7T2Xoz7vdg.png" /><figcaption>Reinforcement Learning with controlled Exploration</figcaption></figure><p>Reinforcement Learning (RL) is often seen as the ultimate personalisation engine, but in practice it is expensive, unstable, and risky — especially in sparse, exploit-heavy gaming environments. Random exploration can quickly lead to irrelevant recommendations, poor user experience, and slow convergence.</p><p>This use case shows how the <strong>Tag Affinity Dendrogram</strong> can act as a behavioural prior that makes reinforcement learning <strong>safer, faster, and more explainable</strong>.</p><p><strong>Why Pure RL Falls Short in Gaming</strong></p><p>Traditional RL systems learn through trial and error. In gaming, this means:</p><ul><li>Exploring games a player may never enjoy</li><li>Learning slowly due to sparse reward signals</li><li>Producing actions that are hard to explain or justify</li></ul><p>Without structure, RL spends significant time and cost discovering relationships that already exist implicitly in player behaviour.</p><p><strong>Dendrogram-Guided Exploration</strong></p><p>Instead of allowing RL to explore randomly, we <strong>constrain exploration using behavioural clusters derived from the dendrogram</strong>.</p><p>The dendrogram provides a hierarchy of tag clusters ordered by behavioural similarity. This hierarchy becomes a map that RL can safely navigate.</p><p><strong>Key ideas:</strong></p><ul><li>Exploration starts <strong>within the player’s own cluster</strong></li><li>It expands gradually to <strong>sibling clusters</strong></li><li>Distant branches are explored only when justified</li></ul><p>Exploration is therefore <strong>distance-aware, not random</strong>.</p><p><strong>Using the Dendrogram as Prior Knowledge</strong></p><p>The dendrogram is used to initialise RL with known behavioural structure:</p><ul><li>RL policies begin with <strong>cluster-level priors</strong> instead of starting blind</li><li>Early learning focuses on high-probability actions</li><li>Reward signals are stabilised by cluster proximity</li></ul><p>This dramatically reduces noise during early training.</p><p><strong>Personalised Exploration Intensity</strong></p><p>Exploration depth is adapted per player using the <strong>Exploration Tolerance Index</strong>:</p><ul><li>High-tolerance players are allowed deeper cluster transitions</li><li>Low-tolerance players remain within familiar behavioural regions</li></ul><p>This ensures RL exploration respects individual comfort levels.</p><p><strong>Reward Shaping with Behavioural Distance</strong></p><p>Rewards are adjusted based on dendrogram distance:</p><ul><li>Positive reinforcement for actions within or near the player’s cluster</li><li>Penalties for jumping too far across behavioural branches</li></ul><p>This encourages rational, stepwise discovery rather than risky leaps.</p><p><strong>Why This Is Valuable</strong></p><p>This approach transforms RL from a high-risk black box into a controlled system:</p><ul><li><strong>Faster convergence:</strong> RL starts with behavioural knowledge, not guesswork</li><li><strong>Lower training cost:</strong> Fewer wasted explorations</li><li><strong>Reduced churn risk:</strong> Irrelevant content is avoided</li><li><strong>High explainability:</strong> Every action maps to a visible cluster relationship</li><li><strong>Business control:</strong> Exploration boundaries and penalties are tunable</li><li><strong>Stable under sparse data:</strong> Reliable even with limited player history</li></ul><p><strong>Key Takeaway</strong></p><p>By anchoring reinforcement learning to the Tag Affinity Dendrogram, we replace blind exploration with <strong>behaviour-aware decision-making</strong>. The result is a system that is rational, explainable, cost-efficient, and safe — making RL practical for real-world gaming personalisation.</p><p><strong>16. Final Thoughts</strong></p><p>At its core, the challenge in gaming personalisation is driven by two fundamental constraints: <strong>extreme behavioural sparsity</strong> and a persistent <strong>trade-off between deep personalisation and explainability</strong>. Traditional approaches tend to optimise for one at the expense of the other.</p><p>By shifting the focus from individual games to <strong>shared behavioural tags</strong>, and organising those tags using <strong>hierarchical clustering</strong>, we were able to construct a dense, stable, and interpretable behavioural foundation. The resulting <strong>Tag Affinity Dendrogram</strong> captures how players actually behave — not how we assume they should behave.</p><p>This foundation enables multiple levels of personalisation:</p><ul><li>Simple, rule-based recommendations with full transparency</li><li>Cluster-driven exploration tailored to player tolerance</li><li>Reinforcement learning guided by behavioural structure rather than blind exploration</li></ul><p>Most importantly, the approach restores <strong>business control and trust</strong> in personalisation systems, while still allowing them to scale and evolve.</p><p>Rather than replacing existing recommendation systems, this solution acts as a <strong>behavioural backbone</strong> — one that can support rules, machine learning, and reinforcement learning in a consistent and explainable way.</p><p>In a space where explainability, stability, and control matter as much as accuracy, <strong>dendrogram-driven personalisation offers a practical and powerful alternative</strong> to black-box models.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2796b1c78c1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>