Reposted
Google · Onsite
In processGoogle 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
- Process: an onsite with two coding rounds, a behavioral round and an ML/NLP round, then team match (01).
- Asked recently: top-k videos by multiplicative similarity, simplifying a nested variable expression, transformer latency and fine-tuning, and implementing multi-head attention (01).
- Difficulty: not rated; the candidate passed and started team match, though the first two team chats were not a strong fit.
- Practise first: Top K Videos by Multiplicative Similarity, Simplify a Nested Variable Expression and Implement Multi-Head Attention.
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
- Coding 1: a weighted similarity graph of videos; if
Ais similar toBandBtoC, thenAtoChas weightAB × BC. Return thekmost 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. - Behavioral: PhD research, handling difficulty and other standard topics.
- 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. - 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.
- 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
- Top K Videos by Multiplicative Similarity, Simplify a Nested Variable Expression and Implement Multi-Head Attention: the tasks from report 01.
- Google coding question bank and Google ML design question bank (sign-in needed).
- Google interview guide and Google hiring insights: stages, practice problems and recent hiring signals.
- Experience feed: more interview reports from other companies and roles.
Sources: Anywhere useful interview info can be found.
0 total reactions. Your reactions: none.
0 comments
Comments
0No comments yet — be the first to share what you know.