T1 Large companies and unicorns Ant Group Internship Round 1
Ant Group AI Infra internship first round (2)
Real Ant Group AI Infra internship first-round interview questions covering inference optimization, training optimization, operator optimization, and related topics
Inference optimization Training optimization Operator optimization
Fundamentals
- What do W8A8 and W4A16 mean? When weights are quantized to 4-bit, why do activations usually still need higher precision?
- Traits of uniform versus non-uniform quantization? What costs does non-uniform quantization pay in compute complexity, scale/zero-point storage, and hardware acceleration fit?
- How do you analyze bottlenecks on an inference path? What optimizations work best? If you still miss the target after optimizing, where does the gap usually come from?
- How do you decide whether a set of operators is worth fusing? What criteria? (chain length, frequency, dependencies, whether intermediate outputs are referenced by other branches)
- Which metrics matter most when profiling? (total time breakdown, warp divergence, pipeline efficiency under multiple streams)
Project experience
- Single-operator optimization practice: how you replaced a hand-written impl with a high-performance library; how you unit-tested and tested the full network
- Locating and fixing stability issues across multi-turn inference (root-cause analysis for random crashes and OOM)
- In a static graph, how do you pick operator groups that are good fusion candidates?
Coding (CUDA)
- Implement a Histogram operator: input is integers in 0–9; output is counts per bucket. Discuss performance issues of a naive atomic impl, and an optimization that reduces via local histograms in shared memory.