Bytedance Machine Learning Engineer Interview Experience — XGBoost, DP, and a Fraud-Detection System Design That Didn't Land

Bytedance·Machine Learning Engineer·Mar 2026
Technical ScreenRejectedmedium

Interview time: February this year.
Department: e-commercial team.

Round 1:

  1. Self-introduction, walked through my projects.
  2. A few classic ML Q&A:
    • Q: Why is XGBoost less prone to overfitting than a single decision tree?
    • A: Because it's a gradient-boosting ensemble method (many weak-learner trees), it adds regularization (L1/L2, tree complexity penalties), a learning rate (shrinkage), row/column subsampling (subsample/colsample), depth limits, and more stable split criteria — together these reduce the risk of overfitting.
  3. Algorithm question: dynamic programming (not too hard).

Round 2:

  1. Self-introduction, walked through my projects again.
  2. System design question: detect self-buy-self-sell (fake buy-sell) behavior.
    • I answered with a recommendation-based approach at the time, and it didn't fly. The interviewer said I should use more graph features or a GNN instead.
    • Suggested direction:
      • Build a buyer-seller-item heterogeneous graph, extract graph structural features (degree, triangle count, bidirectional edges, k-core, community detection, etc.)
      • Time-series features: abnormally frequent buying/selling in a short window, repurchase frequency, price/quantity anomalies
      • Association features: shared shipping address/phone number/IP/device, refund rate, similarity in review behavior
      • Graph methods: GNN/GraphSAGE/GCN, graph embeddings (Node2Vec, DeepWalk), anomalous subgraph detection (dense subgraph / bipartite core)
      • Models: rules combined with ML (XGBoost), or a two-stage GNN pipeline (candidate generation + GNN re-ranking)
    • On evaluation: rerank after a high-recall stage, and build positive/negative samples offline using historical labels.

Published

Curated and edited by PracHub

Practice the questions from this interview

Discussion

Sign in to join the discussion. The author is notified of every comment.

Loading comments…

Interview at a glance

Company
Bytedance
Role
Machine Learning Engineer
Rounds
Technical Screen
Outcome
Rejected
Difficulty
medium
Interview date
Mar 2026
Questions from this interview
2 questions

Real Bytedance interview experiences

First-hand reports from Bytedance candidates — the rounds, the questions they were asked, and how it went.

All 32 Bytedance interview experiences