Productionizing Generative AI Applications: From Exploration to Scale

linkedin · Tech · 2023 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production generative AI product development at LinkedIn scale

LinkedIn needed to move generative AI features from exploration to production for millions of users while balancing user research, prompt iteration, GPU capacity, hallucination risk, user trust, adoption measurement, and the prompt-engineering versus fine-tuning decision.

Constraints:

Architecture

The talk presents a three-stage production framework: Explore, Build, and Measure. Explore starts with user research and broad prototyping across large, small, and open-source models. Build emphasizes prompt engineering first for most use cases, treating prompts like ML models with validation datasets and quantifiable evaluation criteria. Measure focuses on trust, hallucination protection, adaptive feedback, adoption funnel analysis, and scaling only after product-market fit.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  user-research-process["User research process"] --> prototype-workspace["Prototype workspace"]
  prototype-workspace["Prototype workspace"] --> prompt-engineering-loop["Prompt engineering loop"]
  prototype-workspace["Prototype workspace"] --> model-selection["Model selection"]
  prompt-engineering-loop["Prompt engineering loop"] --> prompt-evaluation-framework["Prompt evaluation framework"]
  prompt-engineering-loop["Prompt engineering loop"] --> model-selection["Model selection"]
  prompt-evaluation-framework["Prompt evaluation framework"] --> validation-dataset["Validation dataset"]
  prompt-evaluation-framework["Prompt evaluation framework"] --> trust-and-safety-layer["Trust and safety layer"]
  model-selection["Model selection"] --> gpu-capacity-planning["GPU capacity planning"]
  gpu-capacity-planning["GPU capacity planning"] --> launch-measurement["Launch measurement"]
  trust-and-safety-layer["Trust and safety layer"] --> launch-measurement["Launch measurement"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
User research process Validates pain points, product direction, and AI interaction patterns before build-out. Prototype workspace
Prototype workspace Explores feature ideas across large, small, proprietary, and open-source models. User research process, Prompt engineering loop, Model selection
Prompt engineering loop Iterates prompts as production artifacts using validation datasets and measurable criteria. Prototype workspace, Prompt evaluation framework, Model selection
Prompt evaluation framework Quantifies criteria such as format, language, structure, diversity, hallucination risk, and policy behavior. Prompt engineering loop, Validation dataset, Trust and safety layer
Validation dataset Consistent examples used to compare prompt versions and measure iteration gaps. Prompt evaluation framework
Model selection Chooses between GPT-3.5 Turbo, GPT-4, smaller/open models, or fine-tuning based on quality, cost, latency, and UX. Prototype workspace, Prompt engineering loop, GPU capacity planning
GPU capacity planning Tracks resource implications after experience quality is established. Model selection, Launch measurement
Trust and safety layer Handles hallucination protection, content policy transparency, feedback, and bias/inclusion adaptation. Prompt evaluation framework, Launch measurement
Launch measurement Tracks adoption, funnel dropoff, user trust, and learnings after release. GPU capacity planning, Trust and safety layer

Data flow

A product team begins with user research to validate pain points and interaction patterns, then prototypes feature candidates across model types. During build, prompts are iterated against validation datasets with explicit criteria such as structure, language, diversity, and policy behavior. Once launched, funnel/adoption metrics, hallucination reports, user trust signals, and feedback loops guide prompt changes, model selection, GPU-cost optimization, and eventual scaling/monetization.

3 supporting quotes
“The speaker presents a structured framework divided into three stages: Explore, Build, and Measure.”summary, stated
“The key recommendation is to treat prompts like machine learning models with proper evaluation frameworks.”summary, stated
“Measuring adoption through funnel analysis helps identify bottlenecks and understand where users drop off.”summary, stated

Why this architecture

LinkedIn's framework is product-first: research avoids building impressive but unwanted features, prompt evaluation makes prompt iteration systematic, and cost optimization waits until experience quality is proven. The architecture reflects a belief that model costs and capabilities move quickly, while user trust and adoption are the durable constraints.

3 supporting quotes
“The speaker emphasizes that "LLMs are just a tool" and the core focus should remain on solving user pain points.”summary, stated
“The recommendation is nuanced: "First build a good experience, then worry about GPU cost."”summary, stated
“Trust and hallucination prevention are identified as critical operational concerns that directly impact user retention and product success.”summary, stated

Models used: GPT-3.5 Turbo · GPT-4 · GPT-4 Turbo · MedPaLM 2 · open-source models · foundational models

Scale

Alternatives considered (roads not taken)

Lead with chatbot UI for every GenAI feature

Rejected because: The talk argues there are many ways to embed GenAI into existing products beyond chat.

“while chatbots are common, they are not the only way to integrate generative AI—there are many ways to embed GenAI features into existing products.”summary, stated

Fine-tune models for most use cases

Rejected because: Prompt engineering was faster, cheaper, easier to enter, and sufficient for many production use cases.

“The prompt engineering approach is validated as sufficient for most production use cases, with fine-tuning reserved for niche applications”summary, stated

Optimize GPU cost before proving user value

Rejected because: Cost and model capabilities are improving quickly, while premature optimization can delay learning and product-market fit.

“Premature optimization is explicitly warned against—build a good experience first, then address scalability.”summary, stated

Subjective prompt review

Rejected because: Production prompt iteration needs quantifiable criteria, validation datasets, and gap measurement.

“Removing subjectivity from output evaluation by establishing clear, quantifiable criteria”summary, stated

Patterns

eval-driven-development (quality)

LinkedIn treats prompt versions as ML artifacts evaluated against validation datasets and quantifiable criteria.

“Treating prompt development with the same rigor as ML model development—complete with evaluation frameworks, validation datasets, and systematic iteration”summary, stated

model-routing (architecture)

Teams prototype broadly across large, small, open, prompt-engineered, and fine-tuned models before choosing based on use case needs.

“experiment broadly with both large and small models, including open-source options, without being too prescriptive early on.”summary, stated

cost-aware-routing (operations)

LinkedIn compares GPT-3.5, GPT-4, GPT-4 Turbo, prompt engineering, and fine-tuning with GPU capacity and cost implications in mind.

“the smaller GPT-3.5 Turbo model could perform at par with—and sometimes better than—GPT-4 for their specific use cases.”summary, stated

safety-policy-enforcement (trust)

Trust-building includes hallucination protection, content-policy transparency, adaptive feedback, and inclusion-focused responses.

“Protecting against hallucinations: When models output nonsensical content, user trust erodes and retention suffers.”summary, stated

human-in-the-loop-gate (product)

User research and feedback shape which GenAI experiences are built, launched, measured, and iterated.

“This research helped the team decide between different approaches and ultimately saved significant development time”summary, stated

Tradeoffs

Prefer prompt engineering for most production use cases

Chose Systematic prompt engineering over Fine-tuning by default.

Rationale: Prompt engineering is faster to market, easier to adopt, uses fewer GPU resources, and can achieve sufficient quality for many use cases.

“Faster time to market • Lower technical barrier to entry • Significantly fewer GPU resources required • Sufficient quality for the majority of production use cases”summary, stated

Optimize user experience before GPU cost

Chose Find product-market fit first over Early GPU/resource minimization.

Rationale: Model costs and capabilities are improving, while user learning and product fit determine whether scaling matters.

“The recommended progression is: find product-market fit first, then scale (addressing GPU costs and serving millions of users), and finally monetize.”summary, stated

Use quantitative prompt evaluation

Chose Validation datasets and explicit criteria over Subjective human impression of generated outputs.

Rationale: Quantified criteria function like a loss function for prompt optimization.

“• Setting up a comprehensive evaluation framework that serves as the "loss function" for prompt optimization”summary, stated

Gotchas (what bit them)

Demos can hide prompt failures that appear at scale.

Root cause: A prompt that looks good on a few examples may hallucinate or fail edge cases across large user populations.

Resolution: Use validation datasets, quantifiable criteria, and iterative prompt evaluation.

“The speaker emphasizes that prompt engineering requires rigorous iteration, noting that while demos may look impressive on the first few data points, problems emerge at scale—hallucinations and edge cases become apparent when prompts are used across tens of thousands or millions of users.”summary, stated

Technology-first GenAI projects can miss user pain.

Root cause: LLM capabilities are exciting enough to distract teams from actual user needs and interaction fit.

Resolution: Run modified UX research and validate product assumptions before committing to an approach.

“A key theme throughout the talk is maintaining user-centricity despite the exciting capabilities of LLMs. The speaker emphasizes that "LLMs are just a tool" and the core focus should remain on solving user pain points.”summary, stated

Hallucinations are product trust failures, not just model errors.

Root cause: Generated content represents the product/brand to users.

Resolution: Design hallucination protection and transparent policy/feedback mechanisms into production systems.

“The final stage focuses on post-launch operations, with particular emphasis on user trust in the age of generative AI. The speaker notes that trust is "more important than ever" because AI now generates content that represents the brand to users.”summary, stated

Evaluation

LinkedIn evaluates prompt iterations with consistent datasets and explicit criteria, then measures launched features through adoption funnels, trust signals, hallucination prevention, and user feedback.

Metrics: article length · language match · article structure · interest diversity · price diversity · hallucination rate · adoption funnel · drop-off points · user trust

“For generating travel articles like "10 Things You Can Only Buy in Spain," evaluation dimensions might include:”summary, stated
“Measuring adoption through funnel analysis helps identify bottlenecks and understand where users drop off.”summary, stated

Outcomes

The relevant scale anchors are millions of users, January 2023 user research, prompt evaluation across tens of thousands/millions of users, and GPT-4 Turbo's cited 3x cost / 4x context shift.

“The talk references several LinkedIn generative AI features that the speaker worked on, including:”summary, stated
“The user research conducted in early 2023 highlights the importance of validating assumptions before committing to specific technical approaches”summary, stated