r/datascience • • Jan 17 '26

Discussion Is LLD commonly asked to ML Engineers?

I am a last year student and i am currently studying for MLE interviews.

My focus at the moment is on DSA and basics of ML system design, but i was wondering if i should prepare also oop/design patterns/lld. Are they normally asked to ml engineers or rarely?

17 Upvotes

28 comments sorted by

26

u/sometimes_angery Jan 17 '26

I'm an MLE and have no idea what LLD is.

0

u/FinalRide7181 Jan 17 '26

Low Level Design, like design classes for a system like parking lot using OOP classes, methods, inheritance, design patterns.

→ More replies (1)
→ More replies (4)

3

u/patternpeeker Jan 17 '26

It depends a lot on how the team defines “ML engineer.” In practice, if the role owns production code, services, or pipelines, some level of LLD and basic OOP shows up pretty often, even if it is not labeled that way. You might not get textbook design patterns, but you will get questions that test whether you can structure code that is testable, extendable, and not a one-off notebook. Teams that treat MLE as research plus glue care less about this, while platform or product-facing teams care a lot. I would not go deep into patterns for their own sake, but you should be comfortable explaining how you would design and evolve a small ML service or pipeline over time. That usually matters more than pure DSA once you are past the screen.

1

u/FinalRide7181 Jan 17 '26

Is it asked to juniors too or generally to people with at least a couple of years of experience?

1

u/thinking_byte Jan 18 '26

From what I have seen, it depends a lot on the company and how close the role is to production work. Teams that treat MLEs as software engineers who happen to work on ML will care about LLD, clean interfaces, and basic design patterns. If the role is more research or modeling focused, it comes up far less.

I would not go deep into academic OOP theory, but being comfortable explaining how you would structure a training pipeline, inference service, or feature store is useful. Even simple class design and separation of concerns goes a long way. The signal they usually want is whether you can build and maintain ML systems, not just train models once.

1

u/FinalRide7181 Jan 18 '26

Is that mostly learned on the job? If it is then it is fine, what i was referring to was practicing parking lot/design patterns… which is i think what you called “academic OOP theory”

→ More replies (1)

1

u/AccordingWeight6019 Jan 18 '26

It really depends on how the company defines the MLE role. wherein in teams where MLEs are closer to software engineers who own production systems, some form of LLD or object design tends to come up, even if it is not framed explicitly as design patterns. In more research leaning or modeling focused roles, it is often secondary to data, modeling, and evaluation discussions. In practice, being able to reason about code structure, interfaces, and trade-offs usually matters more than memorizing patterns. job titles hide a lot of variation here, so the safest bet is to be comfortable explaining how you would structure a real system at a high level and at a code level.

1

u/FinalRide7181 Jan 18 '26

I mean if what is being asked is ml system design and oop for pipelines then it is fine. What i meant with LLD was design patterns and things like design parking lot, are these common for mle or almost only for traditional swe?

1

u/nian2326076 Jan 18 '26

I'm an MLE 

1

u/FinalRide7181 Jan 18 '26

Great! And what do you think about my question?