Staff Machine Learning Product Engineer, AdTech
ML and AIPosted 3 weeks agofrom hellofresh's own hiring page
- Work type
- On-siteToronto
- Experience
- Not stated
- Pay
- Not listedUsually C$100k a yearML and AI, median, all levels, in Canada (Payscale)
- Posted
- 3 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
S'more about the team
The Growth Tech Alliance's goal is to enable HelloFresh to drive smarter marketing through AI-powered automation, intelligent systems, and advanced optimization. We've pioneered cutting-edge approaches to programmatic campaign optimization using state-of-the-art AI/ML technologies and are now scaling these capabilities across our global marketing operations. Our team’s key responsibilities include designing, building, maintaining autonomous decision-making systems, advanced ML models for marketing optimization, and real-time intelligence that drives measurable business impact. We work at the intersection of modern AI architectures, agentic systems, and enterprise-scale ML operations.
We are looking for a Staff Machine Learning & AI Engineer to lead the engineering architecture of our multi-agent AI systems, with a focus on agent-driven products. In this role, you will bridge the gap between our data scientists and backend engineers, connecting internal automation APIs, AI agents, and the supporting ML models into a cohesive production platform.
At HelloFresh, Staff Engineers are hands-on builders. You will spend roughly 50% of your time writing production code and building critical systems, and 50% driving technical direction through architecture reviews, RFCs, and mentoring engineers and data scientists across the team.
Lettuce share what this role will be responsible for
- Design, build, and maintain production multi-agent AI systems and LLM workflows using modern orchestration frameworks such as LangChain and LangGraph.
- Build the APIs, tool-calling interfaces, and MCP integrations that connect our internal marketing automation services with AI agents and third-party platforms.
- Partner with Data Scientists to take machine learning and statistical models from prototype into reliable production, and connect them to the agents that create, launch, and optimize ads.
- Design end-to-end system architectures across our models, databases, and backend services, optimizing for reliability, correctness, and long-running workflows at scale.
- Build evaluation pipelines, guardrails, state management, and human-in-the-loop approval workflows to ensure AI and ML systems run safely in production.
- Author RFCs and Architecture Decision Records (ADRs) to align the team on technical direction and solve cross-team architectural challenges.
- Raise the engineering bar across the team through code reviews, system design guidance, and active mentorship of Senior Engineers and Data Scientists.
- All other duties, as assigned
Sound a-peeling? Here's what we're looking for
- Extensive hands-on experience in Machine Learning Engineering, AI Engineering, or Backend Software Engineering, with a strong track record of building and operating distributed production systems.
- Production proficiency in Python and SQL, with strong fundamentals in software design, API development (e.g., FastAPI), testing, and database optimization.
- Hands-on experience building and deploying production LLM and agentic applications beyond simple prototypes, including agent orchestration (LangGraph/LangChain or similar), tool use, MCP, context management, and automated evaluations.
- Experience with A/B testing or other experimentation methods (e.g., synthetic testing) to validate changes before and after launch.
- Experience with multi-agent systems (e.g., supervisor and sub-agent designs) and the ability to explain the trade-offs between single-agent and multi-agent approaches.
- Experience with multimodal AI models (vision-language models for image or video analysis and generation).
- Experience building systems where predictive ML models and LLM-based agents work together to drive automated decisions.
- Prior background in AdTech, MarTech, e-commerce growth, or high-scale consumer platforms.
- Familiarity with deploying and scaling classical machine learning or deep learning models in production, alongside solid MLOps practices (CI/CD, model monitoring, and automated pipelines).
- Experience working with modern cloud and data platforms such as Databricks, Unity Catalog, MLflow, Docker, and AWS.
- Proven experience operating at a Staff or Principal level—able to think in systems, navigate ambiguity, write clear technical specs, and mentor other engineers.
Let’s cut to the cheese, this is why you'll love it here
- Box Discount - Amazing discounts on 1 box per week! 75% discount on weekly HelloFresh and Chefs Plate meal kits AND 50% off weekly Factor meal box.
- Health & Wellness - Health & Dental benefits from day 1, a Health Spending Account, unlimited access to the Headspace app to meet your self-care needs, and 25% discount on GoodLife fitness memberships!
- RRSP Matching - Competitive RRSP matching program offered
- Vacation & PTO - Time off is also an important part of self-care! We offer generous vacation and PTO to help you create a good work-life balance.
- Family Benefits - A parental leave top-up program for expectant parents.
- Growth & Development - We support your career progression and invest in your continued learning through experiences and initiatives owned by our dedicated L&D team
- Work Hard & Have Fun - From team socials to engaging company days, you’ll have plenty of opportunity to experience the fun!
- Diversity & Inclusion Initiatives - With impactful ERG’s like FreshPride, Women Empowered and LIMES, we are committed to our diversity, equity & inclusion efforts.
- Food Puns - this one is kind of a big dill if you haven’t already noticed. We even have some punny meeting room names!
Flexible Hybrid Approach
At HelloFresh, we know that flexible work arrangements are essential in enabling you to do your best work, while balancing your personal and life needs. Offering remote work flexibility, along with the opportunity to interact and collaborate in the office are all a part of creating a great employee experience.
To meet these needs, we are pleased to provide Flexible Hybrid work. Flexible Hybrid is a people-first approach that is based on choice, trust, personalization, and empowers teams to choose when and how often they work from the office and work from home, in addition to team days and company days. This means a minimum of 2 days in office per week, with most teams in office between 2-3 days a week.
#LI-HYBRID
HelloFresh Canada uses AI-integrated technology to help us process and evaluate applications more efficiently. This includes tools that screen and assess candidate qualifications based on the requirements for this role. While these tools assist our workflow, all final selection decisions are made by our hiring team.
This is a posting for an existing vacancy. We are actively seeking to fill this position.
Interested?Staff Machine Learning Product Engineer, AdTech at hellofresh
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Machine learning, LLMs and GenAI, Statistics and 8 more
Interview questions for this job
For the skills the ad mentions: Machine learning, LLMs and GenAI, Statistics, System design, Python, SQL, FastAPI, Deep learning, CI/CD, Docker and AWS.
What's the difference between fit and fit_transform in scikit-learn models?Machine learning
To center the data (make it have zero mean and unit standard error), you subtract the mean and then divide the result by the standard deviation:
$$x' = \frac{x-\mu}{\sigma}$$
You do that on the training set of the data. But then you have to apply the same transformation to your test set (e.g. in cross-validation), or to newly obtained examples before forecasting. But you have to use the exact same two parameters $\mu$ and $\sigma$ (values) that you used for centering the training set.
Hence, every scikit-learn's transform's
fit()just calculates the parameters (e.g. $\mu$ and $\sigma$ in case of StandardScaler) and saves them as an internal object's state. Afterwards, you can call itstransform()method to apply the transformation to any particular set of examples.fit_transform()joins these two steps and is used for the initial fitting of parameters on the training set $x$, while also returning the transformed $x'$. Internally, the transformer object just calls firstfit()and thentransform()on the same data.From Data Science Stack Exchange: asked by Kaggle, answered by K3---rnc (CC BY-SA 4.0)
Explain how the HyDE query transformation technique works.LLMs and GenAI
The HyDE (Hypothetical Document Embedding) technique improves RAG retrieval by transforming the user query into a hypothetical answer before embedding it. Rather than directly searching with the query embedding, the HyDE technique utilizes a large language model (LLM) to create a brief, plausible document that could potentially answer the query.
This synthetic document is then encoded into an embedding and used for retrieval, leading to better semantic alignment with actual document chunks in the database. As a result, HyDE enhances retrieval quality, especially for vague or underspecified queries.
👨🏻💻 LLM Engineer Toolkit
From RAG Interview Questions and Answers Hub (Apache 2.0)
What is the difference between "likelihood" and "probability"?Statistics
The answer depends on whether you are dealing with discrete or continuous random variables. So, I will split my answer accordingly. I will assume that you want some technical details and not necessarily an explanation in plain English.
Discrete Random Variables
Suppose that you have a stochastic process that takes discrete values (e.g., outcomes of tossing a coin 10 times, number of customers who arrive at a store in 10 minutes etc). In such cases, we can calculate the probability of observing a particular set of outcomes by making suitable assumptions about the underlying stochastic process (e.g., probability of coin landing heads is $p$ and that coin tosses are independent).
Denote the observed outcomes by $O$ and the set of parameters that describe the stochastic process as $\theta$. Thus, when we speak of probability we want to calculate $P(O|\theta)$. In other words, given specific values for $\theta$, $P(O|\theta)$ is the probability that we would observe the outcomes represented by $O$.
However, when we model a real life stochastic process, we often do not know $\theta$. We simply observe $O$ and the goal then is to arrive at an estimate for $\theta$ that would be a plausible choice given the observed outcomes $O$. We know that given a value of $\theta$ the probability of observing $O$ is $P(O|\theta)$. Thus, a 'natural' estimation process is to choose that value of $\theta$ that would maximize the probability that we would actually observe $O$. In other words, we find the parameter values $\theta$ that maximize the following function:
$L(\theta|O) = P(O|\theta)$
$L(\theta|O)$ is called the likelihood function. Notice that by definition the likelihood function is conditioned on the observed $O$ and that it is a function of the unknown parameters $\theta$.
Continuous Random Variables
In the continuous case the situation is similar with one important difference. We can no longer talk about the probability that we observed $O$ given $\theta$ because in the continuous case $P(O|\theta) = 0$. Without getting into technicalities, the basic idea is as follows:
Denote the probability density function (pdf) associated with the outcomes $O$ as: $f(O|\theta)$. Thus, in the continuous case we estimate $\theta$ given observed outcomes $O$ by maximizing the following function:
$L(\theta|O) = f(O|\theta)$
In this situation, we cannot technically assert that we are finding the parameter value that maximizes the probability that we observe $O$ as we maximize the PDF associated with the observed outcomes $O$.
From Cross Validated: asked by Douglas S. Stones, answered by user28 (CC BY-SA 4.0)
Batch or stream processing: how do you choose?System design
Batch processes large, bounded sets on a schedule, and it is simpler and cheaper per record. Streaming processes records as they arrive, with results in seconds. Choose by how fresh the answer must be, because freshness is what you pay for.
From Grokking System Design (open companion) (CC BY 4.0)
Why are default values shared between objects?Python
This type of bug commonly bites neophyte programmers. Consider this function:
def foo(mydict={}): # Danger: shared reference to one dict for all calls ... compute something ... mydict[key] = value return mydictThe first time you call this function,
mydictcontains a single item. The second time,mydictcontains two items because whenfoo()begins executing,mydictstarts out with an item already in it.It is often expected that a function call creates new objects for default values. This is not what happens. Default values are created exactly once, when the function is defined. If that object is changed, like the dictionary in this example, subsequent calls to the function will refer to this changed object.
By definition, immutable objects such as numbers, strings, tuples, and
None, are safe from change. Changes to mutable objects such as dictionaries, lists, and class instances can lead to confusion.Because of this feature, it is good programming practice to not use mutable objects as default values. Instead, use
Noneas the default value and inside the function, check if the parameter isNoneand create a new list/dictionary/whatever if it is. For example, don’t write:def foo(mydict={}): ...but:
def foo(mydict=None): if mydict is None: mydict = {} # create a new dict for local namespaceThis feature can be useful. When you have a function that’s time-consuming to compute, a common technique is to cache the parameters and the resulting value of each call to the function, and return the cached value if the same value is requested again. This is called “memoizing”, and can be implemented like this:
# Callers can only provide two parameters and optionally pass _cache by keyword def expensive(arg1, arg2, *, _cache={}): if (arg1, arg2) in _cache: return _cache[(arg1, arg2)] # Calculate the value result = ... expensive computation ... _cache[(arg1, arg2)] = result # Store result in the cache return resultYou could use a global variable containing a dictionary instead of the default value; it’s a matter of taste.
From Python Frequently Asked Questions (PSF License Version 2)
Why did you leave your last job?Behavioural
The employer may ask you questions about leaving your last job.
If you've been out of work for a long time, explain why. Talk about the positive things you've done while away from work. For example, networking, retraining, volunteering or keeping fit.
If you:
- left by choice: be positive about why you want a new job and describe why their company suits you better
- got made redundant: explain the situation, be positive and describe how you've responded since
- were fired for misconduct or poor performance: explain why your standards dropped, what you've learned and how you've improved since the experience
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Director - Chief Developer and AI AdoptionRoyal Bank of Canada, Toronto, on-siteToday
- Principal AI DeveloperMaintainX, Remote, Toronto +1Yesterday
- Solution Engineer – AI & Digital InnovationCapco, Toronto, on-siteYesterday
- Data Engineer - Corporate Data, Analytics & AILyft, Toronto, on-siteYesterday
More like this: Machine learning and AI jobs in Toronto (142), Jobs in Toronto (1,712) and Machine learning and AI jobs in Canada (405)

