Real-Time Media Intelligence at the Scale of the Modern News Cycle
How Stagwell Marketing Cloud transformed 800,000 articles per run
The Situation
For Stagwell Marketing Cloud, a leading media intelligence provider serving major global brands, the challenge was immense: ingesting hundreds of thousands of news articles, social posts, and broadcast transcripts per batch — continuously, across dozens of languages and markets. Their clients — PR teams, brand managers, and marketing strategists — needed answers that went far beyond keyword matching: which organizations were discussed alongside their brand, how sentiment around a product launch was evolving, and which journalists had a history of covering their category favorably. The raw data existed. The infrastructure to make it answerable did not.
The Complication
The existing architecture treated articles as isolated text blobs. Keyword indices handled simple lookups but were blind to context and relationships. Entity fragmentation meant "Apple", "Apple Inc.", and "Apple Computer" created three separate records — breaking aggregations and making relationship queries return nonsense. Query diversity was another challenge: sentiment trends, co-mention relationships, and exact journalist lookups each require fundamentally different retrieval strategies. On top of this, routing proprietary client data through third-party LLM APIs introduced unacceptable privacy risk. An initial attempt with a 270M parameter model failed — producing Spanish-language responses regardless of input, hallucinating entities, and exhibiting high variance across all configurations.
Media organizations today need fast, responsive, and narrative intelligence to make decisions so that they can tackle crisis comms, PR announcements, and market shifts with speed, accuracy, and information at their fingertips from multiple data sets. AI platforms like Dataworkz gets them there with the right infrastructure.
The Solution
The team built a GraphRAG pipeline treating relationships as first-class citizens. A fine-tuned Llama 3.2-3B (LoRA, 100K domain-specific samples) outperformed larger general-purpose models on entity extraction and JSON schema compliance — keeping all data on-premise. An entity normalization layer resolves surface-form variants into single Neo4j graph nodes before any writes. An LLM intent classifier routes each query to the optimal index: Neo4j for relationships, pgvector/MongoDB Atlas for semantic queries, and Elasticsearch for exact lookups. FP8 quantization, H200 GPUs, and Spark batch scaling (5K → 20K articles per batch) transformed the pipeline from proof of concept to production.
The Impact
Marketing teams can now ask relationship-centric questions in plain English — "which outlets covered our brand alongside a competitor in the last 30 days?" — and receive sourced answers in seconds instead of hours. Journalist affinity graphs replaced static media databases for outreach targeting. Emerging negative coverage clusters surface hours before they trend, giving communications teams time to respond proactively. The pipeline eliminated all dependency on third-party LLM APIs — delivering complete data sovereignty, predictable per-document cost, and the ability to evolve the extraction schema without renegotiating vendor contracts.