Machine Learning Engineer, Enterprise Brain
ML and AIPosted 7 weeks agofrom Glean's own hiring page
- Work type
- HybridSan Francisco Bay Area
- Experience
- 6+ years
- Pay
- $215k–300k a year
- Posted
- 7 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
About the Role:
Glean’s Enterprise Brain team builds applied ML systems that help Glean understand a user’s work and anticipate useful next steps, including task prediction and proactive assistance. The work combines LLMs and traditional ML with signals from the Enterprise Graph, ranking and retrieval, and orchestration. You’ll own production ML problems from problem definition and evaluation through launch and monitoring, with a focus on measurable improvements to product quality.
You will:
- Define and solve applied ML problems involving user-work understanding, task prediction, and proactive assistance.
- Combine LLMs and traditional ML with Enterprise Graph signals, ranking/retrieval, and orchestration to improve product quality.
- Build and ship production ML systems, including the evaluation, benchmarking, and data-quality loops needed to measure their impact.
- Own the lifecycle from problem definition and baseline through launch, monitoring, and iteration.
- Partner with product and engineering to understand customer problems and deliver reliable, production-ready solutions
About you:
- You bring 6+ years of industry experience in machine learning engineering.
- You hold a BA/BS in computer science, math, sciences, or a related field.
- You have a proven ability to design, build, and ship production-ready models and systems.
- You bring demonstrated expertise in ML evaluation, benchmarking, and data quality.
- You are proficient in an ML framework of your choice, such as TensorFlow or PyTorch.
- You thrive in a fast-moving, ambiguous environment, turning open-ended customer and ML problems into clear priorities and production-ready solutions.
- You balance speed with quality, making pragmatic tradeoffs to deliver measurable progress without losing sight of production readiness.
- This role is hybrid (4 days a week in our Mountain View office)
By clicking “Submit Application,” I confirm that I have read the Global Data Privacy Notice and the Applicant Arbitration Agreement, and I agree to the terms.
Interested?Machine Learning Engineer, Enterprise Brain at Glean
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, Embedded systems and 2 more
Interview questions for this job
For the skills the ad mentions: Machine learning, LLMs and GenAI, Embedded systems, TensorFlow and PyTorch.
What is the "dying ReLU" problem in neural networks?Machine learning
A "dead" ReLU always outputs the same value (zero as it happens, but that is not important) for any input. Probably this is arrived at by learning a large negative bias term for its weights.
In turn, that means that it takes no role in discriminating between inputs. For classification, you could visualise this as a decision plane outside of all possible input data.
Once a ReLU ends up in this state, it is unlikely to recover, because the function gradient at 0 is also 0, so gradient descent learning will not alter the weights. "Leaky" ReLUs with a small positive gradient for negative inputs (
y=0.01xwhen x < 0 say) are one attempt to address this issue and give a chance to recover.The sigmoid and tanh neurons can suffer from similar problems as their values saturate, but there is always at least a small gradient allowing them to recover in the long term.
From Data Science Stack Exchange: asked by tejaskhot, answered by Neil Slater (CC BY-SA 3.0)
What are the popular frameworks to implement a RAG system? Justify your choice of framework.LLMs and GenAI
LangChain, LlamaIndex, and Haystack are the most popular frameworks for RAG implementation. LangChain is great for custom pipelines, and LlamaIndex is great for efficient document indexing and retrieval. The Haystack framework provides excellent modularity for building RAG systems.
I would recommend LangChain because of its comprehensive ecosystem, extensive documentation, active community support, and flexibility in handling various data sources and LLM integrations.
From RAG Interview Questions and Answers Hub (Apache 2.0)
What exactly fries the chip when you invert power supply?Embedded systems
Most commercial IC circuits are isolated from the substrate material by a reverse-biased P-N junction (including CMOS parts). The substrate is usually tied to the voltage expected to be most negative.
If it isn't, then that junction becomes forward biased and can conduct a great deal of current, melting metal or heating the junction to the point where it no longer acts as a diode. That is typically at a voltage of about 0.6V, but the IC makers play it safe usually by telling you not to go lower than -0.3V.
(referring to the below diagram, but not shown, the substrate would be tied to pin 5)
Most CMOS parts have another twist that if part of the chip has a normal Vdd and another part sees a big negative current it will trigger a big parasitic SCR that is a side effect of the structure, then the device's power supply draws a large current which causes overheating, melting etc. if the current is not externally limited. That is called latch-up.
From Electrical Engineering Stack Exchange: asked by triplebig, answered by Spehro 'speff' Pefhany (CC BY-SA 3.0)
What's the difference of name scope and a variable scope in tensorflow?TensorFlow
Let's begin by a short introduction to variable sharing. It is a mechanism in
TensorFlowthat allows for sharing variables accessed in different parts of the code without passing references to the variable around.The method
tf.get_variablecan be used with the name of the variable as the argument to either create a new variable with such name or retrieve the one that was created before. This is different from using thetf.Variableconstructor which will create a new variable every time it is called (and potentially add a suffix to the variable name if a variable with such name already exists).It is for the purpose of the variable sharing mechanism that a separate type of scope (variable scope) was introduced.
As a result, we end up having two different types of scopes:
- name scope, created using
tf.name_scope - variable scope, created using
tf.variable_scope
Both scopes have the same effect on all operations as well as variables created using
tf.Variable, i.e., the scope will be added as a prefix to the operation or variable name.However, name scope is ignored by
tf.get_variable. We can see that in the following example:with tf.name_scope("my_scope"): v1 = tf.get_variable("var1", [1], dtype=tf.float32) v2 = tf.Variable(1, name="var2", dtype=tf.float32) a = tf.add(v1, v2) print(v1.name) # var1:0 print(v2.name) # my_scope/var2:0 print(a.name) # my_scope/Add:0The only way to place a variable accessed using
tf.get_variablein a scope is to use a variable scope, as in the following example:with tf.variable_scope("my_scope"): v1 = tf.get_variable("var1", [1], dtype=tf.float32) v2 = tf.Variable(1, name="var2", dtype=tf.float32) a = tf.add(v1, v2) print(v1.name) # my_scope/var1:0 print(v2.name) # my_scope/var2:0 print(a.name) # my_scope/Add:0This allows us to easily share variables across different parts of the program, even within different name scopes:
with tf.name_scope("foo"): with tf.variable_scope("var_scope"): v = tf.get_variable("var", [1]) with tf.name_scope("bar"): with tf.variable_scope("var_scope", reuse=True): v1 = tf.get_variable("var", [1]) assert v1 == v print(v.name) # var_scope/var:0 print(v1.name) # var_scope/var:0UPDATE
As of version r0.11,
op_scopeandvariable_op_scopeare both deprecated and replaced byname_scopeandvariable_scope.From Stack Overflow: asked by Xiuyi Yang, answered by Andrzej Pronobis (CC BY-SA 4.0)
- name scope, created using
Why do we call .detach() before calling .numpy() on a Pytorch Tensor?PyTorch
I think the most crucial point to understand here is the difference between a
torch.tensorandnp.ndarray:
While both objects are used to store n-dimensional matrices (aka "Tensors"),torch.tensorshas an additional "layer" - which is storing the computational graph leading to the associated n-dimensional matrix.So, if you are only interested in efficient and easy way to perform mathematical operations on matrices
np.ndarrayortorch.tensorcan be used interchangeably.However,
torch.tensors are designed to be used in the context of gradient descent optimization, and therefore they hold not only a tensor with numeric values, but (and more importantly) the computational graph leading to these values. This computational graph is then used (using the chain rule of derivatives) to compute the derivative of the loss function w.r.t each of the independent variables used to compute the loss.As mentioned before,
np.ndarrayobject does not have this extra "computational graph" layer and therefore, when converting atorch.tensortonp.ndarrayyou must explicitly remove the computational graph of the tensor using thedetach()command.Computational Graph
From your comments it seems like this concept is a bit vague. I'll try and illustrate it with a simple example.
Consider a simple function of two (vector) variables,xandw:x = torch.rand(4, requires_grad=True) w = torch.rand(4, requires_grad=True) y = x @ w # inner-product of x and w z = y ** 2 # square the inner productIf we are only interested in the value of
z, we need not worry about any graphs, we simply moving forward from the inputs,xandw, to computeyand thenz.However, what would happen if we do not care so much about the value of
z, but rather want to ask the question "what iswthat minimizeszfor a givenx"?
To answer that question, we need to compute the derivative ofzw.r.tw.
How can we do that?
Using the chain rule we know thatdz/dw = dz/dy * dy/dw. That is, to compute the gradient ofzw.r.twwe need to move backward fromzback towcomputing the gradient of the operation at each step as we trace back our steps fromztow. This "path" we trace back is the computational graph ofzand it tells us how to compute the derivative ofzw.r.t the inputs leading toz:z.backward() # ask pytorch to trace back the computation of zWe can now inspect the gradient of
zw.r.tw:w.grad # the resulting gradient of z w.r.t w tensor([0.8010, 1.9746, 1.5904, 1.0408])Note that this is exactly equals to
2*y*x tensor([0.8010, 1.9746, 1.5904, 1.0408], grad_fn=<MulBackward0>)since
dz/dy = 2*yanddy/dw = x.Each tensor along the path stores its "contribution" to the computation:
z tensor(1.4061, grad_fn=<PowBackward0>)Read the rest at the sourceFrom Stack Overflow: asked by Josiah Yoder, answered by Shai (CC BY-SA 4.0)
What do you know about our company?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Founding AI/ML EngineerClera, Remote, San Francisco Bay AreaToday
- Senior Digital Design Engineer (AI Fabric)Astera Labs India, San Francisco Bay Area, on-siteYesterday
- Data Scientist, Experimentation PartnershipsOpenAI, Remote, San Francisco Bay AreaYesterday
- Staff Forward Deployed Engineer, Frontier Engineering - Applied AISnowflake, San Francisco Bay Area, on-siteYesterday
More like this: Machine learning and AI jobs in San Francisco Bay Area (812), Jobs in San Francisco Bay Area (9,193) and Machine learning and AI jobs in the USA (2,015)



