XPeng Machine Learning Engineer interview questions

4 Machine Learning Engineers have shared notes from their XPeng interviews, with the questions they were asked in each round. That is 44% of the 9 XPeng interview notes on Screna AI.

4 Machine Learning Engineer interview notes

XPeng·Machine Learning Engineer·Technical Phone Screen

Jul 2026
XPeng ML Engineer interview that went pretty deep into classical DP. The main problem was matrix chain multiplication and they kept piling on follow-ups until I was basically rewriting the whole solution live.
  • Given an array of dimensions representing a chain of matrices, compute the minimum number of scalar multiplications needed to multiply them all together. Return both the minimum cost and one valid optimal parenthesization.
  • Can you reduce the space complexity of your solution, and what are the tradeoffs involved?
  • How would your solution change if each multiplication also had a fixed setup cost on top of the scalar multiplication count?
  • Compare bottom-up dynamic programming versus top-down memoization for this problem. When would you prefer one over the other?

“I knew the classic DP solution going in but fumbled the parenthesization reconstruction part.”

View Post

XPeng·Machine Learning Engineer·Technical Phone Screen

May 2026
Technical screen for an ML Engineer role at XPeng, heavy on RL fundamentals and Transformer architecture. The questions went pretty deep, felt more like a research discussion than a standard interview.
  • What are the main advantages of PPO compared to vanilla policy gradients and TRPO?
  • Write out the Bellman equation for value functions and explain how it fits into actor-critic methods.
  • Compare on-policy and off-policy learning in terms of data reuse, stability, and sample efficiency. Where does PPO fall and why?
  • Describe the clipped surrogate objective in PPO. What roles do clipping, entropy bonus, advantage normalization, and GAE each play in keeping training stable?
  • Explain how self-attention works in Transformers, including positional encodings, computational complexity relative to RNNs and CNNs, and when you'd prefer Transformers in RL or sequence modeling.

“I had a decent answer here.”

View Post

XPeng·Machine Learning Engineer·Technical Phone Screen

May 2026
Technical phone screen for an ML Engineer role at XPeng, focused almost entirely on one deep PPO implementation question. It was the kind of question where you can tell they actually want to see if you've run the thing end-to-end, not just read a paper about it.
  • Walk through how you implemented PPO end-to-end in a project: environment setup, observation and action spaces, reward shaping, rollout collection, horizon length, and advantage estimation. Then cover your key hyperparameters, normalization strategy, parallelization, checkpointing, evaluation protocol, and how you handled sim-to-real transfer if applicable.

“This was basically one question that kept expanding.”

View Post

XPeng·Machine Learning Engineer·Technical Phone Screen

May 2026
Interviewed for an ML Engineer role at XPeng. Two questions, both pretty standard for this kind of screen, one resume walkthrough and one 'why us' with a forward-looking twist about what you'd actually do in the first year.
  • Walk me through your resume, focusing on projects that are relevant to reinforcement learning or systems engineering.
  • Based on what you know about where the company is headed, why do you want to join, and what would you actually contribute in your first 6 to 12 months?

“I had prepped a general resume walkthrough but the RL angle threw me a bit since my strongest projects lean more toward supervised learning pipelines.”

View Post