WhoBuilt

360Brew: LLM-based Personalized Ranking and Recommendation

Jul 16, 2025· 22 min· 3.2K views·Watch on YouTube

Speakers

Ahmed, Maziar, and Hamed from LinkedIn AI explain how they built and served 360Brew, an LLM-based personalization and ranking model, at AI Engineer.

One model for LinkedIn personalization

Ahmed describes a goal of using one model across recommendation and ranking tasks instead of developing separate systems for each surface. The team wanted it to support zero-shot use on new tasks, learn from a few examples for cold-start users, and follow members’ stated interests.

Turning member activity into model training

Maziar explains how the team converts a member’s profile, history, and interactions into prompts that describe a task and ask the model to predict a response to an item. The training pipeline starts with an open-source model, then uses continued pretraining, fine-tuning, instruction tuning, and alignment. Hamed says the team trained a 150-billion-parameter model, then distilled it into smaller models suitable for production; training a small model from scratch performed worse.

Scaling quality and testing generalization

Hamed describes data volume, model size, and context length as levers for improving quality. More user history helped in experiments, though performance eventually fell as the model struggled to generalize to longer contexts. Maziar reports that 360Brew performed better than production models for users with few interactions and matched or beat task-specific systems on four unseen tasks; Hamed says the team used roughly 50 to 60 internal and external benchmarks.

Making the model practical to serve

Hamed describes distillation, gradual pruning, quantization, and sparse attention as ways to reduce serving costs. He says gradual pruning preserved quality better than aggressive pruning, while mixed precision kept the language model head in FP32 to maintain accurate output probabilities. Across four or five releases, the team reduced latency sevenfold and increased queries per GPU thirtyfold.

Serving details and engineering workflow

In the Q&A, Hamed says candidate items are scored together in one prefill pass, with an attention mask preventing them from attending to each other while still using the member’s history and profile. For history selection, the team tried retrieval and chronological ordering, and found chronological order adequate for many applications because recommendations favor freshness. Maziar says automation lets engineers change experiment settings, such as quantization parameters, and run the end-to-end workflow with one click.

Takeaways

  • Use a large teacher model to transfer capability into smaller models when starting small produces weaker results.
  • Treat data volume, model size, and context length as separate quality levers, and measure how performance changes at longer contexts.
  • Evaluate generalization with a broad benchmark set that includes tasks absent from training.
  • Apply pruning gradually and use mixed precision where output probability accuracy matters.
  • Automate experiments end to end so engineers can compare model and serving changes efficiently.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • built
    “build a large foundation model”
    YouTube
    Unverified1 source· Talk
  • feature
    360Brew: A single foundation model intended to solve LinkedIn personalization tasks, with zero-shot capability, in-context learning, and instruction following.
    “solve all of LinkedIn's personalization tasks with just one model”
    YouTube
    Unverified1 source· Talk
  • metric
    Blue XL: 150 billion parameters
    “a large model with 150 billion parameters”
    YouTube
    Unverified1 source· Talk
  • metric
    360Brew: Latency reduced by 7× and throughput increased by 30× across four or five releases.
    “reduce latency by 7x while increasing throughput ... by 30x”
    YouTube
    Unverified1 source· Talk
  • uses
    “we leverage IFEval to make sure the model still follows instructions well”
    YouTube
    Unverified1 source· Talk
  • metric
    360Brew: Evaluated on around 50 to 60 benchmarks.
    “We have around 50 to 60 benchmarks.”
    YouTube
    Unverified1 source· Talk
  • uses
    “we developed a special kernel in SGLang and VLM”
    YouTube
    Unverified1 source· Talk

Related talks