Skip to content
Talha ZainApplied AI Engineer

Intelligent Search · Advertising · production

MediaX

Semantic and geospatial OOH recommendation engine.

LLM-driven system that transforms natural-language campaign requirements into structured geographic intent, retrieves inventory, and ranks placements across 290+ UAE categories in under five seconds.

MediaX map interface for finding optimal outdoor media spaces across the UAE.

Geospatial OOH media discovery

Visual grammar / semantic spatial
GEO
INTENT
FOOTFALL
30%
TRAFFIC
30%
POI DENSITY
20%
PROXIMITY
20%

My role

Applied AI / Search Systems

  • AI Architecture
  • Retrieval
  • Backend Engineering
  • Data Pipelines
  • Productionization

Period / 2025

01Overview

Overview

LLM-driven system that transforms natural-language campaign requirements into structured geographic intent, retrieves inventory, and ranks placements across 290+ UAE categories in under five seconds.

02Problem

Problem

OOH campaign planning requires translating vague location language into validated geo-intent and ranking inventory against footfall, traffic, POI density, and proximity—manually and inconsistently.

03System

System

An intent parser plus geospatial retrieval and weighted ranking pipeline with enrichment, caching, retries, and idempotent upserts for reliable recommendation responses.

04System anatomy

System anatomy

Architecture

Intent → geo resolution → retrieval → weighted ranking.

  • Intent parser
  • Geo/POI resolution
  • Ranking engine
  • API enrichment
05Architecture

Architecture

Natural-language campaigns flow through intent parsing, geo/POI resolution, semantic validation, geospatial retrieval, and a weighted ranking engine into inventory recommendations.

NL Campaign
Intent Parser
LLM
Geo + POI Resolution
Semantic Validation
Geospatial Retrieval
Ranking Engine
30/30/20/20
Inventory Recommendation
  • NL CampaignIntent Parser
  • Intent ParserGeo + POI Resolution
  • Geo + POI ResolutionSemantic Validation
  • Semantic ValidationGeospatial Retrieval
  • Geospatial RetrievalRanking Engine
  • Ranking EngineInventory Recommendation
06Engineering decisions

Engineering decisions

Structured geo-intent extraction

Campaign language is ambiguous. Parsing into validated locations and POI types makes retrieval deterministic and auditable.

Weighted business ranking

Inventory quality is multi-signal. Explicit weights (30/30/20/20) encode business priorities instead of opaque model scores alone.

Caching, retry/backoff, idempotent upserts

External APIs and enrichment steps fail. Retry/backoff, caching, conflict resolution, and idempotent writes keep the pipeline production-safe under load.

07Reliability / production

Reliability / production

  • Retry / backoff
  • Caching
  • Conflict resolution
  • Idempotent upserts
  • Location semantic validation
08Stack

Stack

PythonFastAPILLMsSemantic SearchGeospatial RetrievalRedisPostgreSQLMongoDBCaching
09Outcomes

Outcomes

  • Natural-language campaigns mapped to structured geo-intent and POI types.
  • Weighted ranking across footfall, traffic, POI density, and proximity.
  • Optimized recommendations returned in under five seconds.
290+
UAE POI categories
< 5s
Recommendation response
30%
Footfall weight
30%
Traffic weight
20%
POI density
20%
Proximity
10Links

Links

MediaProduct visuals

Product visuals

MediaX map interface for finding optimal outdoor media spaces across the UAE.
Geospatial OOH media discovery