Applying PECOS to product retrieval and text autocompletion

Two KDD papers demonstrate the power and flexibility of Amazon’s framework for “extreme multilabel ranking”.

In April, our research team at Amazon open-sourced our PECOS framework for extreme multilabel ranking (XMR), which is the general problem of classifying an input when you have an enormous space of candidate classes. PECOS presents a way to solve XMR problems that is both accurate and efficient enough for real-time use.

At this year’s Knowledge Discovery and Data Mining Conference (KDD), members of our team presented two papers that demonstrate both the power and flexibility of the PECOS framework.

Retrieved products.png
A comparison of the top ten products returned by the PECOS-based product retrieval system and two predecessors for the query "rose of jericho plant". Products outlined in green were purchased by at least one customer performing that search; products outlined in red were not purchased.

One applies PECOS to the problem of product retrieval, a use case very familiar to customers at the Amazon Store. The other is a less obvious application: session-aware query autocompletion, in which an autocompletion model — which predicts what a customer is going to type — bases its predictions on the customer’s last few text inputs, as well as on statistics for customers at large.

In both cases, we tailor PECOS’s default models to the tasks at hand and, in comparisons with several strong benchmarks, show that PECOS offers the best combination of accuracy and speed.

The PECOS model

The classic case of XMR would be the classification of a document according to a handful of topics, where there are hundreds of thousands of topics to choose from.

We generalize the idea, however, to any problem that, for a given input, finds a few matches from among a large set of candidates. In product retrieval, for instance, the names of products would be “labels” we apply to a query: “Echo Dot”, “Echo Studio”, and other such names would be labels applied to the query “Smart speaker”.

PECOS adopts a three-step solution to the XMR problem. First is the indexing step, in which PECOS groups labels according to topic. Next is the matching step, which matches an input to a topic (which significantly shrinks the space of candidates). Last comes the ranking step, which reranks the labels in the matched topic, based on features of the input.

PECOS-framework.png
The three-stage PECOS model.
Credit: Stacy Reilly

PECOS comes with default models for each of these steps, which we described in a blog post about the April code release. But users can modify those models as necessary, or create their own and integrate them into the PECOS framework.

Product retrieval

For the product retrieval problem, we adapt one of the matching models that comes standard with PECOS: XR-Linear. Details are in the earlier blog post (and in our KDD paper), but XR-Linear reduces computation time by using B-ary trees — a generalization of binary trees to trees whose nodes have B descendants each. The top node of the tree represents the full label set; the next layer down represents B partitions of the full set; the next layer represents B partitions of each partition in the previous layer, and so on.

Connections between nodes of the trees have associated weights, which are multiplied by features of the input query to produce a probability score. Matching is the process of tracing the most-probable routes through the tree and retrieving the topics at the most-probable leaf nodes. To make this process efficient, we use beam search: i.e., at each layer, we limit the number of nodes whose descendants we consider, a limit known as the beam width.

Beam search.gif
An example of linear ranking with a beam width of two. At each level of the tree, two nodes (green) are selected for further exploration. Each of their descendant nodes is evaluated (orange), and two of those are selected for further exploration.
Credit: Giana Bucchino

In our KDD paper on product retrieval, we vary this general model through weight pruning; i.e., we delete edges whose weights fall below some threshold, reducing the number of options the matching algorithm has to consider as it explores the tree. In the paper, we report experiments with several different weight thresholds and beam widths.

We also experimented with several different sets of input features. One was n-grams of query words. For instance, the query “Echo with screen” would produce the 1-grams “Echo”, “with”, “screen”, the 2-grams “Echo with” and “with screen”, and the 3-gram “Echo with screen”. This sensitizes the matching model to phrases that may carry more information than their constituent words.

Similarly, we used n-grams of input characters. If we use the token “#” to denote the end of a word, the same query would produce the character trigrams “Ech”, “cho”, “ho#”, “with”, “ith”, and so on. Character n-grams helps the model deal with typos or word variants.

Finally, we also used TF-IDF (term frequency–inverse document frequency) features, which normalize the frequency of a word in a given text by its frequency across all texts (which filters out common words like “the”). We found that our model performed best when we used all three sets of features.

As benchmarks in our experiments, we used the state-of-the-art linear model and the state-of-the-art neural model and found that our linear approach outperformed both, with a recall@10 — that is, the number of correct labels among the top ten — that was more than double the neural model’s and almost quadruple the linear model’s. At the same time, our model took about one-sixth as long to train as the neural model.

We also found that our model took an average of only 1.25 milliseconds to complete each query, which is fast enough for deployment in a real-time system like the Amazon Store.

Session-aware query autocompletion

Session-aware query autocompletion uses the history of a customer’s recent queries — not just general statistics for the customer base — to complete new queries. The added contextual information means that it can often complete queries accurately after the customer has typed only one or two letters.

To frame this task as an XMR problem, we consider the case in which the input is a combination of the customer’s previous query and the beginning — perhaps just a few characters — of a new query. The labels are queries that an information retrieval system has seen before.

In this case, PECOS didn’t work well out of the box, and we deduced that the problem was the indexing scheme used to cluster labels by topic. PECOS’s default indexing model embeds inputs, or converts them into vectors, then clusters labels according to proximity in the vector space.

We suspected that this was ineffective when the inputs to the autocompletion model were partial phrases — fragments of words that a user is typing in. So we experimented with an indexing model that instead used data structures known as tries(a variation on “tree” that borrows part of the word “retrieve”).

A trie is a tree whose nodes represent strings of letters, where each descendant node extends its parent node’s string by one letter. So if the top node of the trie represents the letter “P”, its descendants might represent the strings “PA” and “PE”; their descendants might represent the strings “PAN”, “PAD”, “PEN”, “PET”, and so on. With a trie, all the nodes that descend from a common parent constitute a cluster.

Clustering using tries dramatically improved the performance of our model, but it also slowed it down: the strings encoded by tries can get very long, which means that tracing a path through the trie can get very time consuming.

So we adopted a hybrid clustering technique that combines tries with embeddings. The top few layers of the hybrid tree constitute a trie, but the nodes that descend from the lowest of these layers represent strings whose embeddings are near that of the parent node in the vector space.

Tree, Trie, Trie-tree hybrid.cloned.png
Three different ways of clustering the eight strings "a", "ab", "abc", "abd", "abfgh", "abfgi", "bcde", and "bcdf". At left is a conventional tree; in the center is a trie; and at right is a trie-tree hybrid.

To ensure that the embeddings in the hybrid tree preserve some of the sequential information encoded by tries, we varied the standard TF-IDF approach. First we applied it at the character level, rather than at the word level, so that it measured the relative frequency of particular strings of letters, not just words.

Then we weighted the frequency statistics, overcounting character strings that occurred at the beginning of words, relative to those that occurred later. This forced the embedding to mimic the string extension logic of the tries.

Once we’d adopted this indexing scheme, we found that the PECOS model outperformed both the state-of-the-art linear model and the state-of-the art neural model, when measured by both mean reciprocal rank and the BLEU metric used to evaluate machine translation models.

The use of tries still came with a performance penalty: our model took significantly longer to process inputs than the earlier linear model did. But its execution time was still below the threshold for real-time application and significantly lower than the neural model’s.

Related content

IN, KA, Bengaluru
The Cross-Border (XB) Science & Analytics team is at the heart of Amazon's international marketplace expansion, powering science-driven solutions that enable customers across 20+ countries to discover and purchase products seamlessly across borders. Our work directly impacts millions in annualized business value through ML models, algorithms, and data-driven systems that solve some of Amazon's most complex cross-border challenges. We are a lean, high-impact team of scientists working across various programs spanning search ranking, demand forecasting, pricing optimization, product recommendations, language understanding, and generative AI. We partner closely with product, engineering, and business teams across Amazon's global retail organization to take science from ideation to production at scale. Key job responsibilities We are looking for a passionate and technically strong Applied Scientist to join our team. In this role, you will design, develop, and deploy machine learning models and algorithms that directly improve the cross-border shopping experience for millions of Amazon customers worldwide. You will work on challenging, ambiguous problems—from improving search relevance across languages to building ML-powered pricing and recommendation systems—with significant autonomy and end-to-end ownership. This is a hands-on, high-visibility role. You will publish your research internally and externally, collaborate with world-class scientists and engineers, and see your work go live across Amazon's global marketplaces. A day in the life Research & Experimentation Analyze large-scale datasets to identify patterns, formulate hypotheses, and design experiments Develop and iterate on ML models (deep learning, NLP, ranking, causal inference) to improve cross-border product discovery, relevance, and conversion Design and run A/B experiments on live traffic to measure model impact against business and customer metrics Building & Shipping Write production-quality code (Python, Java/Scala) and work with SDEs to deploy models into real-time and batch inference pipelines Build end-to-end ML pipelines—from data ingestion and feature engineering to training, evaluation, and online serving Own model monitoring, performance debugging, and iterative improvements post-launch Collaboration & Communication Participate in weekly science syncs, design reviews, and cross-functional standups with product managers, engineers, and business stakeholders Translate business problems into well-defined science problems, and communicate results and trade-offs to both technical and non-technical audiences Contribute to technical documentation—architecture wikis, experiment write-ups, and model cards Growth & Community Present at internal ML paper reading sessions and science forums Stay current with state-of-the-art research (NeurIPS, ICLR, ACL, KDD) and bring new ideas to the team Mentor junior scientists and interns; participate in hiring interviews and debriefs Publish findings in top-tier venues and file patents where applicable
US, CA, Sunnyvale
Amazon is looking for an Applied Scientist with a strong deep learning background to help build the training environments that teach large language models to reason, use tools, and complete complex, multi-step tasks. Key job responsibilities You will design, build, and evaluate reinforcement learning environments (RL gyms) for LLM training: realistic, verifiable task environments where models learn through interaction and feedback. This includes defining tasks and reward signals, building the infrastructure to run environments at scale, measuring how well environments transfer into model capability, and developing rigorous methods to verify environment quality and correctness. You will work closely with model training teams to understand where environments are most valuable and iterate based on what the models learn. Your work will directly shape products and services that use generative AI. About the team The Foundational AI (FAI) team has a mission to push the envelope in GenAI with LLMs, in order to provide the best-possible experience for our customers.
US, CA, San Francisco
Join the next revolution in robotics at Amazon's Frontier AI & Robotics team, where you'll work alongside world-renowned AI pioneers to push the boundaries of what's possible in robotic intelligence. As a Member of Technical Staff, you'll be at the forefront of developing breakthrough foundation models that enable robots to perceive, understand, and interact with the world in unprecedented ways. You'll drive independent research initiatives in areas such as perception, manipulation, science understanding, locomotion, manipulation, sim2real transfer, multi-modal foundation models and multi-task robot learning, designing novel frameworks that bridge the gap between state-of-the-art research and real-world deployment at Amazon scale. In this role, you'll balance innovative technical exploration with practical implementation, collaborating with platform teams to ensure your models and algorithms perform robustly in dynamic real-world environments. You'll have access to Amazon's vast computational resources, enabling you to tackle ambitious problems in areas like very large multi-modal robotic foundation models and efficient, promptable model architectures that can scale across diverse robotic applications. Key job responsibilities - Drive independent research initiatives across the robotics stack, including robotics foundation models, focusing on breakthrough approaches in perception, and manipulation, for example open-vocabulary panoptic scene understanding, scaling up multi-modal LLMs, sim2real/real2sim techniques, end-to-end vision-language-action models, efficient model inference, video tokenization - Design and implement novel deep learning architectures that push the boundaries of what robots can understand and accomplish - Lead full-stack robotics projects from conceptualization through deployment, taking a system-level approach that integrates hardware considerations with algorithmic development, ensuring robust performance in production environments - Collaborate with platform and hardware teams to ensure seamless integration across the entire robotics stack, optimizing and scaling models for real-world applications - Contribute to the team's technical strategy and help shape our approach to next-generation robotics challenges A day in the life - Design and implement novel foundation model architectures and innovative systems and algorithms, leveraging our extensive infrastructure to prototype and evaluate at scale - Collaborate with our world-class research team to solve complex technical challenges - Lead technical initiatives from conception to deployment, working closely with robotics engineers to integrate your solutions into production systems - Participate in technical discussions and brainstorming sessions with team leaders and fellow scientists - Leverage our massive compute cluster and extensive robotics infrastructure to rapidly prototype and validate new ideas - Transform theoretical insights into practical solutions that can handle the complexities of real-world robotics applications About the team At Frontier AI & Robotics, we're not just advancing robotics – we're reimagining it from the ground up. Our team is building the future of intelligent robotics through innovative foundation models and end-to-end learned systems. We tackle some of the most challenging problems in AI and robotics, from developing sophisticated perception systems to creating adaptive manipulation strategies that work in complex, real-world scenarios. What sets us apart is our unique combination of ambitious research vision and practical impact. We leverage Amazon's massive computational infrastructure and rich real-world datasets to train and deploy state-of-the-art foundation models. Our work spans the full spectrum of robotics intelligence – from multimodal perception using images, videos, and sensor data, to sophisticated manipulation strategies that can handle diverse real-world scenarios. We're building systems that don't just work in the lab, but scale to meet the demands of Amazon's global operations. Join us if you're excited about pushing the boundaries of what's possible in robotics, working with world-class researchers, and seeing your innovations deployed at unprecedented scale.
US, NY, New York
MULTIPLE POSITIONS AVAILABLE Employer: AMAZON.COM SERVICES LLC Offered Position: Economist III Job Location: New York, New York Job Number: AMZ9674737 Position Responsibilities: Lead pioneering research and collaborate with the chief economist and senior management to architect innovative solutions for complex business problems across retail, international retail, cloud computing, third party merchants, search, Kindle, streaming video, and operations. Drive thought leadership in applying frontier economic thinking to innovate in market design, pricing strategies, forecasting, program evaluation, and online advertising. Design and oversee sophisticated econometric models using extensive data systems, while developing novel methodologies for processing large datasets and contributing to automated system architecture. Lead the advancement of cutting-edge tools from applied micro-econometrics (e.g. experimental design, difference-in-difference, regression discontinuity, and IV) and forecasting (state-of-theart time series models). Drive cross-functional research initiatives leveraging big data tools for complex analysis, mentor junior economists in research excellence, and synthesize groundbreaking findings into presentations for executive leadership. Position Requirements: PhD degree or foreign equivalent in Economics, Finance, or a related field and two years of post-doctoral research or work experience in the job offered or a related occupation. Must have one year of research or work experience in the following skill(s): (1) developing and applying methodologies in program evaluation, forecasting, time series analysis, panel data, and high dimensional problems; (2) using one or more of the following statistical programming languages: Python, Matlab, R, SAS, or Stata to perform data analysis and develop analytical models; and (3) using SQL and big data technologies to design and implement data processing solutions. Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation. 40 hours / week, 8:00am-5:00pm, Salary Range $175,100/year to $236,900/year. Amazon is a total compensation company. Dependent on the position offered, equity, sign-on payments, and other forms of compensation may be provided as part of a total compensation package, in addition to a full range of medical, financial, and/or other benefits. For more information, visit: https://www.aboutamazon.com/workplace/employee-benefits.#0000
US, NY, New York
MULTIPLE POSITIONS AVAILABLE Employer: AMAZON.COM SERVICES LLC Offered Position: Data Scientist III Job Location: New York, New York Job Number: AMZ10563850 Position Responsibilities: Own the data science elements of various products to help with data based decision making, product performance optimization, and product performance tracking. Work directly with product managers to help drive the design of the product. Work with Technical Product Managers to help drive the build planning. Translate business problems and products into data requirements and metrics. Initiate the design, development, and implementation of scientific analysis projects or deliverables. Own the analysis, modelling, system design, and development of data science solutions for products. Write documents and make presentations that explain model/analysis results to the business. Bridge the degree of uncertainty in both problem definition and data scientific solution approaches. Build consensus on data, metrics, and analysis to drive business and system strategy. Position Requirements: Bachelor's degree or foreign equivalent degree in Statistics, Applied Mathematics, Economics, Engineering, Computer Science or a related field and three years of experience in the job offered or a related occupation. Must have three years of experience in the following skills: (1) building statistical models and machine learning models using large datasets from multiple resources; (2) building complex data analyses by leveraging scripting languages including Python, Java, or related scripting language; and (3) communicating with users, technical teams, and management to collect requirements, evaluate alternatives, and develop processes and tools to support the organization. Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation. 40 hours / week, 8:00am-5:00pm, Salary Range $175,100/year to $236,900/year. Amazon is a total compensation company. Dependent on the position offered, equity, sign-on payments, and other forms of compensation may be provided as part of a total compensation package, in addition to a full range of medical, financial, and/or other benefits. For more information, visit: https://www.aboutamazon.com/workplace/employee-benefits.#0000
US, WA, Seattle
MULTIPLE POSITIONS AVAILABLE Company: Amazon Data Services, Inc. Position Title: Applied Scientist II (AMZ1513176) Location: Seattle, WA Position Responsibilities Participate in the design, development, evaluation, deployment and updating of data-driven models and analytical solutions for machine learning (ML) and/or natural language (NL) applications. Develop and/or apply statistical modeling techniques (e.g. Bayesian models and deep neural networks), optimization methods, and other ML techniques to different applications in business and engineering. Routinely build and deploy ML models on available data. Research and implement novel ML and statistical approaches to add value to the business. Mentor junior engineers and scientists. (AMZ1513176) 40 hrs/week, Mon-Fri, 8:00 a.m. - 5:00 p.m. Salary Range: $163,617 - $193,200/yr. Amazon is an Equal Opportunity – Affirmative Action Employer – Minority/Female/Disability/Veteran/Gender Identity/Sexual Orientation
IN, TS, Hyderabad
At Amazon, we strive to be Earth's most customer-centric company, where customers can find and discover anything they want to buy online. Our mission in International Seller Services (ISS) is to provide technology solutions for improving the seller and customer experience, drive seller compliance, maximize seller success, and improve internal workforce productivity. Team's main focus is to build products that are scalable across different regions of the world, while working in partnership with ISS regional stakeholders and multiple partner teams across Amazon. As a Data Scientist, you will be responsible for modeling complex problems, discovering insights, and building risk algorithms that identify opportunities through statistical models, machine learning, and visualization techniques to improve operational efficiency. As a Data Scientist, you will leverage your expertise in Machine Learning, Natural Language Processing (NLP), and Large Language Models (LLM) to develop innovative solutions for Amazon's ISS team. You'll be responsible for modeling complex problems, building innovative algorithms, and discovering actionable insights through statistical models and visualization techniques to enhance operational efficiency in the e-commerce space. The role combines usage of latest AI technology with practical business applications, requiring someone passionate about transforming the way we interact with technology while delivering measurable impact through advanced analytics and machine learning solutions. You will need to collaborate effectively with business and product leaders within ISS and cross-functional teams to build scalable solutions against high organizational standards. The candidate should be able to apply a breadth of tools, data sources, and Data Science techniques to answer a wide range of high-impact business questions and proactively present new insights in concise and effective manner. The candidate should be an effective communicator capable of independently driving issues to resolution and communicating insights to non-technical audiences. This is a high impact role with goals that directly impacts the bottom line of the business. Key job responsibilities Analyze terabytes of data to define and deliver on complex analytical deep dives to unlock insights and build scalable solutions through Data Science to ensure security of Amazon’s platform and transactions Build Machine Learning and/or statistical models that evaluate the transaction legitimacy and track impact over time Ensure data quality throughout all stages of acquisition and processing, including data sourcing/collection, ground truth generation, normalization, transformation, and cross-lingual alignment/mapping Define and conduct experiments to validate/reject hypotheses, and communicate insights and recommendations to Product and Tech teams Develop efficient data querying infrastructure for both offline and online use cases Collaborate with cross-functional teams from multidisciplinary science, engineering and business backgrounds to enhance current automation processes Learn and understand a broad range of Amazon’s data resources and know when, how, and which to use and which not to use. Maintain technical document and communicate results to diverse audiences with effective writing, visualizations, and presentations
US, WA, Bellevue
Alexa+ is Amazon's next-generation, AI-powered virtual assistant. Building on the original Alexa, it uses generative AI to deliver a more conversational, personalized and effective experience. The Alexa Sensitive Content Intelligence (ASCI) team builds responsible AI (RAI) solutions for Alexa+, so it can provide useful information responsibly. We are looking for an experienced Manager, Applied Science with a strong background in NLP and/or CV. You will lead a team that designs and develops generative AI–based ML solutions in the RAI space across all languages and countries. As a Manager, Applied Science, you will lead a team of exceptional scientists who develop novel algorithms and modeling techniques that advance the state of the art in NLP and CV. You will work in a dynamic, fast-paced organization where scientists, engineers and product managers build customer-facing experiences together. You will mentor scientists and raise the bar of scientific research at Amazon. Your work will directly impact customers through products and services that use speech, language and computer vision technologies. We are looking for a leader with strong technical experience and a passion for building science-driven solutions in a fast-paced environment. You should have a good understanding of Artificial Intelligence (AI), Natural Language Understanding (NLU), Machine Learning (ML), generative AI and large language models (LLMs), and know where to apply them in different business cases. You will use deep technical expertise, a sound grasp of Computer Science fundamentals and practical experience with large-scale distributed systems to create reliable, scalable, high-performance products. Beyond technical depth, you must have exceptional communication skills and know how to influence key stakeholders. You will join a select group of people making history with one of the most highly rated products in Amazon's history. If you want a challenging, innovative role where you can solve important problems while growing as a leader, this may be the place for you. Key job responsibilities - Define and own the scientific roadmap for your team, aligning research priorities with organizational goals and annual planning processes to maximize business impact. - Lead, mentor, and grow a team of applied scientists, machine learning engineers, and analysts — creating an environment where team members develop their skills, take smart risks, and deliver high-quality work. - Partner with engineering, product, and business stakeholders to translate complex scientific research into production-ready models and actionable insights, ensuring solutions meet both technical and business requirements. - Evaluate and improve machine learning model performance using rigorous experimentation, feature engineering, and data-modeling techniques, while determining when and how to integrate generative AI tools to augment team productivity. - Communicate scientific strategy, results, and trade-offs clearly to technical and non-technical audiences through well-structured narratives and presentations, driving alignment and informed decision-making across teams. A day in the life As a Manager, Applied Science on the ASCI team, you'll lead scientists and ML engineers who build AI systems that keep Alexa safe and trustworthy for millions of users worldwide. You'll combine technical leadership with strategic decisions, working with product teams, policy experts and data annotators to deliver engaging, safe experiences across Amazon devices. You'll keep up with advances in generative AI to design, develop and own state-of-the-art NLP and CV solutions. You'll coach scientists to spot and reduce risks early and to build more robust ML systems. You'll balance near-term delivery with long-term innovation so solutions stay robust, interpretable and scalable. Your work directly affects delivery reliability, cost efficiency and customer experience at massive scale. About the team The mission of the ASCI team is to (1) minimize negative surprises to customers caused by sensitive content, (2) detect and prevent potential brand-damaging interactions, and (3) build customer trust through appropriate interactions on sensitive topics. "Sensitive content" covers a wide range of categories, such as offensive content (e.g., hate speech, racist speech), profanity, content suitable only for certain age groups, and politically or religiously polarizing content. "Content" means any material Alexa exposes to customers, in both 1P and 3P experiences, including text, speech, audio and video.
US, WA, Bellevue
Fulfillment by Amazon (FBA) lets sellers outsource supply chain and fulfillment to Amazon. Sellers use Amazon's world class science, technology, and logistics infrastructure to deliver billions of products from manufacturing hubs to customers worldwide with a fast delivery promise. As FBA expands into end-to-end supply chain and fulfillment management, its science problems are growing in complexity and strategic importance. FBA is looking for a Senior Applied Science Manager with deep expertise in Operations Research and Reinforcement Learning, plus strong modeling and analytical skills. You will join a cross-domain group of applied scientists, research scientists, economists, and data scientists building the intelligence layer for FBA's supply chain. As a leader in this space, you will manage a team of interdisciplinary scientists developing cutting edge supply chain solutions. These solutions span the full journey: from the moment a seller procures product at origin, through upstream warehousing and distribution, and into Amazon's fulfillment network. Your work will impact millions of third-party sellers globally. You will set the scientific culture (including research, publication, and innovation) and the short-and-long term research vision for the organization. You will manage the execution of science projects, help business and tech partners turn scientific results into policies, programs, and products, and influence other business teams across the Amazon Consumer organization. The role has high visibility with senior Amazon business leaders and involves working with engineering and product teams to integrate science models into production systems. The ideal candidate brings scientific and technical expertise, strong business intuition, and a desire to grow and develop others. You have excellent written and verbal communication skills to influence business direction up to the VP level, frame solutions for non-technical partners, and advocate for science in the organization. You are comfortable with ambiguity and enjoy working in a fast-paced environment. Key job responsibilities - Lead a team of scientists (Data Scientists, Applied Scientists, Research Scientists, BIEs), and hire and develop top science talent. - Own the science development of inventory routing, replenishment, product selection, mechanism design, and transportation distribution algorithms that power FBA's supply chain across Amazon's fulfillment network. - Partner with Sr. Leaders across the organization to frame business problems, establish science vision, and execute roadmap. Partner with Engineering teams to bring modeling solutions to frontline applications across the business. - Set the scientific culture and leadership within the organization, advocating for science innovation and rigor at leadership level - Be a thought leader on modeling engineering, scientific research, and business strategy, be able to make trade off and executive decisions spanning the end-to-end science workflow. - Be able to translate and communicate out data and science driven results - Identify new opportunities to leverage various science techniques within the organization. - Drive and execute scientific projects/products end-to-end: from ideation, analysis, prototyping, development, metrics, and monitoring. Review and audit modeling processes and results. A day in the life You will lead a team of scientists and define a multiyear science and data vision and strategy to support seller fulfillment. You will design and launch new systems that solve real world inventory, transportation, replenishment, pricing, and mechanism design problems. These problems involve millions of unique products, hundreds of thousands of Selling Partners, and tens of millions of customers around the world. You will guide your team as they develop models using data analysis, scientific methods, and experimentation. You will explain the properties of your analysis and models to business partners and fold their feedback and requests into your projects. You will own the research agenda and prioritization for the team and make sure projects address business needs. You will make decisions about technology, models, and methodology, striving for simplicity and showing judgment backed by scientific reasoning and data. You will also work with world class economists and scientists across Amazon's broader decision and research science community to widen the scope of your work, and you will mentor engineers and scientists. About the team Sellers play a vital role in Amazon's ecosystem and are central to our mission of offering Earth's largest selection, lowest prices, and fastest delivery. FBA is an optional service that lets third party sellers outsource order fulfillment to Amazon and use Amazon's world class facilities to offer customers a fast delivery promise. Because we are committed to taking on more supply chain and operational complexity for our selling partners, Amazon now offers an end-to-end suite of supply chain and fulfillment services. This suite helps sellers move products reliably from manufacturing sites to customers worldwide. The FBA team is the core group responsible for warehousing, inventory management, inbound placement, fulfillment, capacity control, reimbursement, inventory defects, and a range of recommendation services for sellers. We learn seller behavior, understand the seller experience, recommend the right actions to sellers, design seller policies and incentives, and build science products and services that help sellers grow their businesses. To do this, we draw on operations research, economics, machine learning, statistics, and data analytics. Our culture centers on rapid prototyping, rigorous experimentation, and data driven decisions.
US, NY, New York
The Sequence Models team builds foundation models of the Amazon customer journey across Stores, Prime Video, Audible, Amazon Music, and Twitch. Teams across the company use these models to decide what to show a customer and when. One shared model does the work that narrow, surface-specific models do today. Our methods span generative sequence modeling, representation learning, recommendation and retrieval, causal inference, and probabilistic inference at scale. Key job responsibilities - Own novel model development end to end. Work backwards from partner and customer needs to extend established methods or invent new ones. - Train and evaluate large-scale sequence models on behavioral data. - Define benchmarks, metrics, and evaluation methodology. - Apply causal inference to measure what your models change, and calibrate model-based estimates against randomized experiments. - Write production-quality code, integrate your models into production systems, and own their accuracy, efficiency, and inference cost at serving scale. - Partner with scientists on other teams to compare models on shared benchmarks, separate real differences from noise, and agree the next steps together. - Develop and document scientific research to be shared with the greater science community at Amazon - Mentor and coach scientists and engineers across the organization, raising the technical bar through knowledge sharing, design reviews, and active participation in the broader scientific community. A day in the life You might start your morning reviewing experiment results from a model you recently proposed, digging into metrics to understand where performance gaps remain. By mid-morning, you are whiteboarding a new approach with engineers to address an ambiguous product challenge that existing methods cannot solve. After lunch, you lead a science review for a colleague's design document, offering constructive feedback and alternative directions. Later, you draft a research proposal for a new initiative, then close the day mentoring a junior scientist on best practices for experiment design and evaluation.