Twilio66 open jobs

Machine Learning Engineer 2

ML and AIPosted 5 weeks agofrom Twilio's own hiring page

Work type
RemoteIn the US
Experience
Not stated
Pay
$131k–164k a year
Posted
5 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Nice to have

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Machine learning, LLMs and GenAI, Go and 2 more

About the job

Who we are 

At Twilio, we’re shaping the future of communications, all from the comfort of our homes. We deliver innovative solutions to hundreds of thousands of businesses and empower millions of developers worldwide to craft personalized customer experiences.

Our dedication to remote-first work, and strong culture of connection and global inclusion means that no matter your location, you’re part of a vibrant team with diverse experiences making a global impact each day. As we continue to revolutionize how the world interacts, we’re acquiring new skills and experiences that make work feel truly rewarding. Your career at Twilio is in your hands.
.

Hiring and how we work

We use Artificial Intelligence (AI) to help make our hiring process efficient. That said, every hiring decision is made by real Twilions! 

Also, while we are a remote-first company, you may be asked to report in person on an ad-hoc basis for team gatherings, functional off-sites or customer meetings.
.

See yourself at Twilio

Join the team as Twilio’s next Machine Learning Engineer, Customer Memory.

About the job

This position is needed to build and scale the pipelines that turn raw conversation data into structured, searchable customer memory, and the evaluation systems that keep that memory accurate as the product evolves.

You'll join the Conversation Memory team, which builds the memory layer behind Twilio's Conversational AI platform: the systems that extract what matters from millions of conversations, resolve it to the right customer, and retrieve it in milliseconds when an agent needs it. Memory that is wrong, stale, or crossed between customers is worse than no memory at all, so quality measurement is a first-class part of the work.

Responsibilities

In this role, you’ll:

  • Build the extraction pipeline that turns raw data into structured memory, tuning the LLM prompts and schemas that decide what an AI agent remembers about a customer and what it forgets.
  • Own the retrieval path that answers "what do we know about this person?" in milliseconds, working with embeddings, vector search, and ranking
  • Contribute to the eval systems that tell us whether memory is actually getting better, turning a fuzzy question of quality into benchmarks and regression gates that run before every change ships.
  • Diagnose production issues across the ingestion, extraction, and indexing path using logs, metrics, and traces.
  • Partner with Product and ML teams to translate customer problems into system changes and evaluation criteria.

Qualifications 

Twilio values diverse experiences from all kinds of industries, and we encourage everyone who meets the required qualifications to apply. If your career is just starting or hasn't followed a traditional path, don't let that stop you from considering Twilio. We are always looking for people who will bring something new to the table!

Required:

  • Experience building backend services, and a demonstrated ability to pick up new languages, frameworks, and tools as the problem demands.
  • A curious approach to service management: ability to investigate how systems actually behave in production, and desire to continuously learn how to operate them with rigor and accountability.
  • Experience building or working with evaluation/quality-measurement systems, such as regression detection or quality metrics, or the desire to learn.
  • Solid grounding in observability practices: structured logging, metrics, and using them to debug distributed systems in production.
  • Fluency with AI-assisted dev tools (e.g. agents for code generation, review, debugging), applied with deliberate direction and critical thinking.

Desired:

  • Experience with Go and/or Python.
  • Experience with event-streaming systems (e.g. Kafka).
  • Experience building LLM-backed products.
  • Practical experience applying ML, e.g. building, evaluating, or productionizing models.

Location

  • This role will be remote, but is not eligible to be hired in San Francisco, CA, Oakland, CA, San Jose, CA, or the surrounding areas.

Travel

We prioritize connection and opportunities to build relationships with our customers and each other. For this role, you may be required to travel occasionally to participate in project or team in-person meetings.

What We Offer

Working at Twilio offers many benefits, including competitive pay, generous time off, ample parental and wellness leave, healthcare, a retirement savings program, and much more. Offerings vary by location.

Compensation

*Please note the salary range information provided applies only to candidates residing in California, Colorado, Hawaii, Illinois, Maryland, Massachusetts, Minnesota, New Jersey, New York, Vermont, Washington D.C., and Washington State due to local requirements. Compensation for candidates in other locations will be discussed during the hiring process. Please note that hiring for this role is not restricted to the locations listed above.

The estimated pay ranges for this role are as follows:

  • Based in Colorado, Hawaii, Illinois, Maryland (outside of the DC area), Massachusetts, Minnesota, or Vermont: $131,440 - $164,300
  • Based in New York (outside of the NYC area), New Jersey (outside of the NYC area), Washington State (outside of the Seattle area), Washington D.C., Washington D.C. area, Maryland, or California (outside of the San Francisco Bay area): $139,200 - $174,000
  • Based in California (within the San Francisco Bay area), New York (within the NYC area), New Jersey (within the NYC area), or Washington State (within the Seattle area): $154,640 - $193,300
  • This role may be eligible to participate in Twilio’s equity plan and corporate bonus plan. All roles are generally eligible for the following benefits: health care insurance, 401(k) retirement account, paid sick time, paid personal time off, paid parental leave.

The successful candidate’s starting salary will be determined based on permissible, non-discriminatory factors such as skills, experience, and geographic location.

Application deadline information

Applications for this role are intended to be accepted until November 13, 2026 but may change based on business needs. 

.

Twilio thinks big. Do you?

We like to solve problems, take initiative, pitch in when needed, and are always up for trying new things. That's why we seek out colleagues who embody our values — something we call Twilio Magic. Additionally, we empower employees to build positive change in their communities by supporting their volunteering and donation efforts.

So, if you're ready to unleash your full potential, do your best work, and be the best version of yourself, apply now! If this role isn't what you're looking for, please consider other open positions.
.

Stay alert to recruitment fraud

We care about your safety. Scammers sometimes impersonate Twilio recruiters through fake job postings, emails, websites, or messages. Please ensure you are engaging with an official @twilio.com email address. We will never ask for payment, gift cards, cryptocurrency, or banking information during the recruiting process. We do not make job offers without a formal interview process or conduct interviews exclusively through text-based messaging apps.
.

Twilio is proud to be an equal opportunity employer. We do not discriminate based upon race, religion, color, national origin, sex (including pregnancy, childbirth, reproductive health decisions, or related medical conditions), sexual orientation, gender identity, gender expression, age, status as a protected veteran, status as an individual with a disability, genetic information, political views or activity, or other applicable legally protected characteristics. We also consider qualified applicants with criminal histories, consistent with applicable federal, state and local law. Qualified applicants with arrest or conviction records will be considered for employment in accordance with the Los Angeles County Fair Chance Ordinance for Employers and the California Fair Chance Act. Additionally, Twilio participates in the E-Verify program in certain locations, as required by law.

Interested?Machine Learning Engineer 2 at Twilio

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, Go and 2 more

Interview questions for this job

For the skills the ad mentions: Machine learning, LLMs and GenAI, Go, Python and Kafka.

708 questions
  • Difference between isna() and isnull() in pandasMachine learning

    Pandas isna() vs isnull().

    I'm assuming you are referring to pandas.DataFrame.isna() vs pandas.DataFrame.isnull(). Not to confuse with pandas.isnull(), which in contrast to the two above isn't a method of the DataFrame class.

    These two DataFrame methods do exactly the same thing! Even their docs are identical. You can even confirm this in pandas' code.

    But why have two methods with different names do the same thing?

    This is because pandas' DataFrames are based on R's DataFrames. In R na and null are two separate things. Read this post for more information.

    However, in python, pandas is built on top of numpy, which has neither na nor null values. Instead numpy has NaN values (which stands for "Not a Number"). Consequently, pandas also uses NaN values.

    In short

    • To detect NaN values numpy uses np.isnan().

    • To detect NaN values pandas uses either .isna() or .isnull().
      The NaN values are inherited from the fact that pandas is built on top of numpy, while the two functions' names originate from R's DataFrames, whose structure and functionality pandas tried to mimic.

    From Data Science Stack Exchange: asked by Vaibhav Thakur, answered by Djib2011 (CC BY-SA 4.0)

  • What is the purpose of the encoder in a transformer model?LLMs and GenAI

    The purpose of the encoder in a transformer model is to process the entire input sequence and generate context-aware numerical representations. The encoder uses multi-head self-attention and feed-forward neural networks to capture the relationships and dependencies between all the tokens to generate context-rich token representations. These context-rich token representations are then passed to the decoder, which generates the output sequence.

    From LLM Interview Questions and Answers Hub (Apache 2.0)

  • Why does Go not provide implicit numeric conversions?Go

    The convenience of automatic conversion between numeric types in C is outweighed by the confusion it causes. When is an expression unsigned? How big is the value? Does it overflow? Is the result portable, independent of the machine on which it executes? It also complicates the compiler; C's "usual arithmetic conversions" are not easy to implement and inconsistent across architectures. For reasons of portability, we decided to make things clear and straightforward at the cost of some explicit conversions in the code. The definition of constants in Go—arbitrary precision values free of signedness and size annotations—ameliorates matters considerably, though.

    A related detail is that, unlike in C, int and int64 are distinct types even if int is a 64-bit type. The int type is generic; if you care about how many bits an integer holds, Go encourages you to be explicit.

    From Go Frequently Asked Questions (CC BY 4.0)

  • My program is too slow. How do I speed it up?Python

    That’s a tough one, in general. First, here is a list of things to remember before diving further:

    • Performance characteristics vary across Python implementations. This FAQ focuses on CPython.

    • Behaviour can vary across operating systems, especially when talking about I/O or multi-threading.

    • You should always find the hot spots in your program before attempting to optimize any code (see the profile module).

    • Writing benchmark scripts will allow you to iterate quickly when searching for improvements (see the timeit module).

    • It is highly recommended to have good code coverage (through unit testing or any other technique) before potentially introducing regressions hidden in sophisticated optimizations.

    That being said, there are many tricks to speed up Python code. Here are some general principles which go a long way towards reaching acceptable performance levels:

    • Making your algorithms faster (or changing to faster ones) can yield much larger benefits than trying to sprinkle micro-optimization tricks all over your code.

    • Use the right data structures. Study documentation for the Built-in Types and the collections module.

    • When the standard library provides a primitive for doing something, it is likely (although not guaranteed) to be faster than any alternative you may come up with. This is doubly true for primitives written in C, such as builtins and some extension types. For example, be sure to use either the list.sort() built-in method or the related sorted() function to do sorting (and see the Sorting Techniques for examples of moderately advanced usage).

    • Abstractions tend to create indirections and force the interpreter to work more. If the levels of indirection outweigh the amount of useful work done, your program will be slower. You should avoid excessive abstraction, especially under the form of tiny functions or methods (which are also often detrimental to readability).

    If you have reached the limit of what pure Python can allow, there are tools to take you further away. For example, Cython can compile a slightly modified version of Python code into a C extension, and can be used on many different platforms. Cython can take advantage of compilation (and optional type annotations) to make your code significantly faster than when interpreted. If you are confident in your C programming skills, you can also write a C extension module yourself.

    See also

    The wiki page devoted to performance tips.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Can multiple Kafka consumers read same message from the partitionKafka

    It depends on Group ID. Suppose you have a topic with 12 partitions. If you have 2 Kafka consumers with the same Group Id, they will both read 6 partitions, meaning they will read different set of partitions = different set of messages. If you have 4 Kafka consumers with the same Group Id, each of them will all read three different partitions etc.

    But when you set different Group Id, the situation changes. If you have two Kafka consumers with different Group Id they will read all 12 partitions without any interference between each other. Meaning both consumers will read the exact same set of messages independently. If you have four Kafka consumers with different Group Id they will all read all partitions etc.

    From Stack Overflow: asked by shiv455, answered by Lukáš Havrlant (CC BY-SA 4.0)

  • Why do you think you're a good fit for 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

More like this: Machine learning and AI jobs in the USA (2,015) and Remote Machine learning and AI jobs in the USA (1,177)