RepostedGoogle logo

Google · Onsite

In process

Google PhD NLP New Grad Onsite: 1 Experience

Machine learning engineer · New GradDoctorateMar 2025
Shared by

Google PhD new grad ML/NLP onsite, March 2025: multiplicative video similarity, nested expression simplification, and hand-coded multi-head attention.

At a glance

Coverage: one Google machine learning engineer / SWE PhD new grad (NLP) candidate who applied online; onsite March 17, 2025.

What came up

Topic Reports Last seen
Graph search with weights 1 of 1 Mar 2025
Stacks and expression parsing 1 of 1 Mar 2025
Transformers and LLMs 1 of 1 Mar 2025
Behavioral (research, difficulty) 1 of 1 Mar 2025

Questions we found

Algorithms / Data Structures

Question Reports Last seen
Top K Videos by Multiplicative Similarity 1 Mar 2025
Simplify a Nested Variable Expression 1 Mar 2025
A simple binary-tree task (not remembered) 1 Mar 2025

ML and NLP

Question Reports Last seen
Implement Multi-Head Attention 1 Mar 2025
What affects transformer inference latency, and how to optimize it 1 Mar 2025
When and how to fine-tune; keeping private data from leaking 1 Mar 2025
Collecting structured and unstructured chatbot data 1 Mar 2025

1 detailed candidate timeline

01: Video similarity, signs in a stack, and attention by hand

Onsite date: March 17, 2025 · Role: Machine Learning Engineer / SWE, PhD New Grad (NLP) · Application: online · Result: passed, in team match

  1. Coding 1: a weighted similarity graph of videos; if A is similar to B and B to C, then A to C has weight AB × BC. Return the k most similar videos: Top K Videos by Multiplicative Similarity. The candidate used a greedy graph search; follow-up: what if nodes are remote? (replace local reads with RPC calls). The same round had a simple binary-tree task the candidate no longer remembered.
  2. Behavioral: PhD research, handling difficulty and other standard topics.
  3. Coding 3: simplify expressions such as a - (b + a - (c + a)) to combined coefficients, giving -b + a + c: Simplify a Nested Variable Expression. A stack for inherited signs and a counter for coefficients.
  4. ML/NLP: transformer inference latency, optimizations and trade-offs, when and how to fine-tune, preventing private-data leaks in fine-tuning and production, structured vs unstructured chatbot data, and in the last 15 minutes, implementing multi-head attention by hand.
  5. Pass confirmed March 27; team match began in April, and the candidate kept looking after two early team chats were not a strong fit.

Common questions

What does the Google PhD NLP onsite ask?

Report 01 had a weighted graph top-k task, expression simplification, transformer and fine-tuning questions, and coding multi-head attention by hand.

Keep practicing

Sources: Anywhere useful interview info can be found.

0 total reactions. Your reactions: none.
0 comments

Comments

0

No comments yet — be the first to share what you know.