OKX241 open jobs

Sr. Software Engineer, Machine Learning & Data Infrastructure

ML and AIPosted 3 weeks agofrom OKX's own hiring page

Work type
On-siteSan Francisco Bay Area
Experience
Not stated
Pay
$179k–268k a year
Posted
3 weeks ago
Before you apply: make your resume fit this job

From the ad

  • Mandarin requiredFluency in Mandarin

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, ETL pipelines, Spark and 7 more

About the job

Who We Are

At OKX, we believe that the future will be reshaped by crypto, and ultimately contribute to every individual's freedom. OKX is a leading crypto exchange, and the developer of OKX Wallet, giving millions access to crypto trading and decentralized crypto applications (dApps). OKX is also a trusted brand by hundreds of large institutions seeking access to crypto markets. We are safe and reliable, backed by our Proof of Reserves. Across our multiple offices globally, we are united by our core principles: We Before Me, Do the Right Thing, and Get Things Done. These shared values drive our culture, shape our processes, and foster a friendly, rewarding, and diverse environment for every OK-er.

About the Opportunity

We are looking for a seasoned engineer to build and improve the ML and data infrastructure behind our risk and fraud prevention systems. You will work hands-on to move models from experimentation into reliable production services, improve model execution performance, and develop data pipelines that support training, evaluation, and real-time decisions. You will take ownership of your work, identify improvements proactively, and deliver with limited guidance

What You’ll Be Doing

  • Improve model inference latency, throughput, resource utilization, and cost. Profile the prediction path—from feature retrieval and preprocessing to model execution—and implement measurable improvements while preserving model quality.
  • Build and maintain infrastructure for model packaging, versioning, deployment, serving, monitoring, and rollback across cloud platforms and regions.
  • Develop and optimize offline data pipelines using Databricks, Apache Spark, and warehouse or lakehouse technologies. Address data modeling, partitioning, joins, shuffles, skew, incremental processing, and cost.
  • Work on offline and online feature pipelines, supporting point-in-time correctness, consistent feature definitions, freshness, lineage, and reproducible backfills.
  • Build and maintain reliable feature services and data integrations for risk models and decision systems.
  • Take ownership of projects and operational issues, communicate progress and tradeoffs, and collaborate with ML, data engineering, cloud infrastructure, security, and product teams.
  • Contribute to technical discussions, share knowledge, and help teammates through code reviews and collaboration.
 

What We Look For In You

  • Experience building and operating distributed systems, ML infrastructure, or data platforms, with ownership of meaningful production components.
  • Hands-on experience improving production model performance, such as latency, throughput, resource utilization, or cost.
  • Strong experience with Databricks and Spark, or comparable offline data platforms, including execution plans, distributed query optimization, storage layouts, data correctness, and workload cost management.
  • Experience with the model lifecycle, including training and serving integration, validation, deployment, observability, and rollback.
  • Strong Python and SQL skills, plus proficiency in at least one backend or systems language such as Java, Scala, Go, or C++.
  • Ability to work independently through loosely defined problems, make sound implementation decisions, and deliver maintainable systems with limited guidance.
 

Nice to Haves

  • SageMaker, Alibaba Cloud PAI/EAS, or comparable ML platforms.
  • Inference optimization using tools such as ONNX Runtime, TensorRT, or Triton.
  • Delta Lake, MLflow, feature stores, Kafka, Flink, and low-latency data stores.
  • Fraud detection or financial risk systems.
  • Fluency in Mandarin
 

Perks & Benefits

  • Competitive total compensation package
  • L&D programs for employees' growth and development
  • Various team building programs and company events
  • Wellness and meal allowances
  • Comprehensive healthcare schemes for employees and dependants
  • More that we love to tell you along the process!
  OKX Statement: OKX is committed to equal employment opportunities regardless of race, color, genetic information, creed, religion, sex, sexual orientation, gender identity, lawful alien status, national origin, age, marital status, and non-job related physical or mental disability, or protected veteran status. Pursuant to the San Francisco Fair Chance Ordinance, we will consider for employment qualified applicants with arrest and conviction records.   The salary range for this position is $178,888 to $268,333 The salary offered depends on a variety of factors, including job-related knowledge, skills, experience, and market location. In addition to the salary, a performance bonus and long-term incentives may be provided as part of the compensation package, as well as a full range of medical, financial, and/or other benefits, dependent on the position offered. Applicants should apply via OKX internal or external careers site.


#LI-HYBRID#LI-ED1#LI-HYBRID Notice:
All official OKX vacancies are published on this website. While roles may appear on selected third-party platforms from time to time, information on other sites may be inaccurate or outdated. If in doubt, please apply directly through our official careers website. Information collected and processed as part of the recruitment process of any job application you choose to submit is subject to OKX's Candidate Privacy Notice.

Interested?Sr. Software Engineer, Machine Learning & Data Infrastructure at OKX

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Machine learning, ETL pipelines, Spark and 7 more

Interview questions for this job

For the skills the ad mentions: Machine learning, ETL pipelines, Spark, Python, SQL, Java, Scala, Go, C++ and Kafka.

1,001 questions
  • Why the sudden fascination with tensors?Machine learning

    This is not an answer to your question, but an extended comment on the issue that has been raised here in comments by different people, namely: are machine learning "tensors" the same thing as tensors in mathematics?

    Now, according to the Cichoki 2014, Era of Big Data Processing: A New Approach via Tensor Networks and Tensor Decompositions, and Cichoki et al. 2014, Tensor Decompositions for Signal Processing Applications,

    A higher-order tensor can be interpreted as a multiway array, [...]

    A tensor can be thought of as a multi-index numerical array, [...]

    Tensors (i.e., multi-way arrays) [...]

    So in machine learning / data processing a tensor appears to be simply defined as a multidimensional numerical array. An example of such a 3D tensor would be $1000$ video frames of $640\times 480$ size. A usual $n\times p$ data matrix is an example of a 2D tensor according to this definition.

    This is not how tensors are defined in mathematics and physics!

    A tensor can be defined as a multidimensional array obeying certain transformation laws under the change of coordinates (see Wikipedia or the first sentence in MathWorld article). A better but equivalent definition (see Wikipedia) says that a tensor on vector space $V$ is an element of $V\otimes\ldots\otimes V^*$. Note that this means that, when represented as multidimensional arrays, tensors are of size $p\times p$ or $p\times p\times p$ etc., where $p$ is the dimensionality of $V$.

    All tensors well-known in physics are like that: inertia tensor in mechanics is $3\times 3$, electromagnetic tensor in special relativity is $4\times 4$, Riemann curvature tensor in general relativity is $4\times 4\times 4\times 4$. Curvature and electromagnetic tensors are actually tensor fields, which are sections of tensor bundles (see e.g. here but it gets technical), but all of that is defined over a vector space $V$.

    Of course one can construct a tensor product $V\otimes W$ of an $p$-dimensional $V$ and $q$-dimensional $W$ but its elements are usually not called "tensors", as stated e.g. here on Wikipedia:

    In principle, one could define a "tensor" simply to be an element of any tensor product. However, the mathematics literature usually reserves the term tensor for an element of a tensor product of a single vector space $V$ and its dual, as above.

    One example of a real tensor in statistics would be a covariance matrix. It is $p\times p$ and transforms in a particular way when the coordinate system in the $p$-dimensional feature space $V$ is changed. It is a tensor. But a $n\times p$ data matrix $X$ is not.

    Read the rest at the sourceFrom Cross Validated: asked by Y. S., answered by amoeba (CC BY-SA 3.0)

  • What are the three types of data models?ETL pipelines

    Entity models, relational and dimensional

    From Tech Vault (Apache 2.0)

  • What are the benefits of Apache Beam over Spark/Flink for batch processing?Spark

    There's a few things that Beam adds over many of the existing engines.

    • Unifying batch and streaming. Many systems can handle both batch and streaming, but they often do so via separate APIs. But in Beam, batch and streaming are just two points on a spectrum of latency, completeness, and cost. There's no learning/rewriting cliff from batch to streaming. So if you write a batch pipeline today but tomorrow your latency needs change, it's incredibly easy to adjust. You can see this kind of journey in the Mobile Gaming examples.

    • APIs that raise the level of abstraction: Beam's APIs focus on capturing properties of your data and your logic, instead of letting details of the underlying runtime leak through. This is both key for portability (see next paragraph) and can also give runtimes a lot of flexibility in how they execute. Something like ParDo fusion (aka function composition) is a pretty basic optimization that the vast majority of runners already do. Other optimizations are still being implemented for some runners. For example, Beam's Source APIs are specifically built to avoid overspecification the sharding within a pipeline. Instead, they give runners the right hooks to dynamically rebalance work across available machines. This can make a huge difference in performance by essentially eliminating straggler shards. In general, the more smarts we can build into the runners, the better off we'll be. Even the most careful hand tuning will fail as data, code, and environments shift.

    • Portability across runtimes.: Because data shapes and runtime requirements are neatly separated, the same pipeline can be run in multiple ways. And that means that you don't end up rewriting code when you have to move from on-prem to the cloud or from a tried and true system to something on the cutting edge. You can very easily compare options to find the mix of environment and performance that works best for your current needs. And that might be a mix of things -- processing sensitive data on premise with an open source runner and processing other data on a managed service in the cloud.

    Designing the Beam model to be a useful abstraction over many, different engines is tricky. Beam is neither the intersection of the functionality of all the engines (too limited!) nor the union (too much of a kitchen sink!). Instead, Beam tries to be at the forefront of where data processing is going, both pushing functionality into and pulling patterns out of the runtime engines.

    • Keyed State is a great example of functionality that existed in various engines and enabled interesting and common use cases, but wasn't originally expressible in Beam. We recently expanded the Beam model to include a version of this functionality according to Beam's design principles.
    • And vice versa, we hope that Beam will influence the roadmaps of various engines as well. For example, the semantics of Flink's DataStreams were influenced by the Beam (née Dataflow) model.
    • This also means that the capabilities will not always be exactly the same across different Beam runners at a given point in time. So that's why we're using capability matrix to try to clearly communicate the state of things.

    From Stack Overflow: asked by bluenote10, answered by Frances (CC BY-SA 3.0)

  • What are metaclasses in Python?Python

    Classes are objects

    Before delving into metaclasses, a solid grasp of Python classes is beneficial. Python holds a particularly distinctive concept of classes, a notion it adopts from the Smalltalk language.

    In most languages, classes are descriptions of how to create an object. That is somewhat true in Python too:

    >>> class ObjectCreator(object):
    ...     pass
    >>> my_object = ObjectCreator()
    >>> print(my_object)
        <__main__.ObjectCreator object at 0x8974f2c>
    

    But classes are more than that in Python. Classes are objects too.

    Yes, objects.

    When a Python script runs, every line of code is executed from top to bottom. When the Python interpreter encounters the class keyword, Python creates an object out of the "description" of the class that follows. Thus, the following instruction

    >>> class ObjectCreator(object):
    ...     pass
    

    ...creates an object with the name ObjectCreator!

    This object (the class) is itself capable of creating objects (called instances).

    But still, it's an object. Therefore, like all objects:

    • you can assign it to a variable1

      JustAnotherVariable = ObjectCreator
      
    • you can attach attributes to it

      ObjectCreator.class_attribute = 'foo'
      
    • you can pass it as a function parameter

      print(ObjectCreator)
      

    1 Note that merely assigning it to another variable doesn't change the class's __name__, i.e.,

    >>> print(JustAnotherVariable)
        <class '__main__.ObjectCreator'>
    >>> print(JustAnotherVariable())
        <__main__.ObjectCreator object at 0x8997b4c>
    

    Creating classes dynamically

    Since classes are objects, you can create them on the fly, like any object.

    First, you can create a class in a function using class:

    >>> def choose_class(name):
    ...     if name == 'foo':
    ...         class Foo(object):
    ...             pass
    ...         return Foo # return the class, not an instance
    ...     else:
    ...         class Bar(object):
    ...             pass
    ...         return Bar
    >>> MyClass = choose_class('foo')
    >>> print(MyClass) # the function returns a class, not an instance
        <class '__main__.Foo'>
    >>> print(MyClass()) # you can create an object from this class
        <__main__.Foo object at 0x89c6d4c>
    

    But it's not so dynamic, since you still have to write the whole class yourself.

    Since classes are objects, they must be generated by something.

    When you use the class keyword, Python creates this object automatically. But as with most things in Python, it gives you a way to do it manually.

    Remember the function type? The good old function that lets you know what type an object is:

    >>> print(type(1))
        <class 'int'>
    >>> print(type("1"))
        <class 'str'>
    >>> print(type(ObjectCreator))
        <class 'type'>
    >>> print(type(ObjectCreator()))
        <class '__main__.ObjectCreator'>
    

    Well, type also has a completely different ability: it can create classes on the fly. type can take the description of a class as parameters, and return a class.

    (I know, it's silly that the same function can have two completely different uses according to the parameters you pass to it. It's an issue due to backward compatibility in Python)

    type works this way:

    type(name, bases, attrs)
    

    Where:

    • name: name of the class
    • bases: tuple of the parent class (for inheritance, can be empty)
    • attrs: dictionary containing attributes names and values

    e.g.:

    >>> class MyShinyClass(object):
    ...     pass
    

    can be created manually this way:

    Read the rest at the sourceFrom Stack Overflow: asked by Bite code, answered by Bite code (CC BY-SA 4.0)

  • What is the difference between JOIN and INNER JOIN?SQL

    They are functionally equivalent, but INNER JOIN can be a bit clearer to read, especially if the query has other join types (i.e. LEFT or RIGHT or CROSS) included in it.

    From Stack Overflow: asked by driis, answered by palehorse (CC BY-SA 3.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

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)