Improving forecasting by learning quantile functions

Learning the complete quantile function, which maps probabilities to variable values, rather than building separate models for each quantile level, enables better optimization of resource trade-offs.

The quantile function is a mathematical function that takes a quantile (a percentage of a distribution, from 0 to 1) as input and outputs the value of a variable. It can answer questions like, “If I want to guarantee that 95% of my customers receive their orders within 24 hours, how much inventory do I need to keep on hand?” As such, the quantile function is commonly used in the context of forecasting questions.

In practical cases, however, we rarely have a tidy formula for computing the quantile function. Instead, statisticians usually use regression analysis to approximate it for a single quantile level at a time. That means that if you decide you want to compute it for a different quantile, you have to build a new regression model — which, today, often means retraining a neural network.

In a pair of papers we’re presenting at this year’s International Conference on Artificial Intelligence and Statistics (AISTATS), we describe an approach to learning an approximation of the entire quantile function at once, rather than simply approximating it for each quantile level.

Related content
Konstantinos Benidis talks about his experience as an intern at Amazon, and why he decided to pursue a full-time role at the company.

This means that users can query the function at different points, to optimize the trade-offs between performance criteria. For instance, it could be that lowering the guarantee of 24-hour delivery from 95% to 94% enables a much larger reduction in inventory, which might be a trade-off worth making. Or, conversely, it could be that raising the guarantee threshold — and thus increasing customer satisfaction — requires very little additional inventory.

Our approach is agnostic as to the shape of the distribution underlying the quantile function. The distribution could be Gaussian (the bell curve, or normal distribution); it could be uniform; or it could be anything else. Not locking ourselves into any assumptions about distribution shape allows our approach to follow the data wherever it leads, which increases the accuracy of our approximations.

In the first of our AISTATS papers, we present an approach to learning the quantile function in the univariate case, where there’s a one-to-one correspondence between probabilities and variable values. In the second paper, we consider the multivariate case.

The quantile function

Any probability distribution — say, the distribution of heights in a population — can be represented as a function, called the probability density function (PDF). The input to the function is a variable (a particular height), and the output is a positive number representing the probability of the input (the fraction of people in that population who have that height).

Cumulative distribution function.png
The graph of a probability density function (blue line) and its associated cumulative distribution function (orange line).

A useful related function is the cumulative distribution function (CDF), which is the probability that the variable will take a value at or below a particular value — for instance, the fraction of the population that is 5’6” or shorter. The CDF’s values are between 0 (no one is shorter than 0’0”) and 1 (100% of the population is shorter than 500’0”).

Technically, the CDF is the integral of the PDF, so it computes the area under the probability curve up to the target point. At low input values, the probability output by the CDF can be lower than that output by the PDF. But because the CDF is cumulative, it is monotonically non-decreasing: the higher the input value, the higher the output value.

If the CDF exists, the quantile function is simply its inverse. The quantile function’s graph can be produced by flipping the CDF graph over — that is, rotating it 180 degrees around a diagonal axis that extends for the lower left to the upper right of the graph.

Quantile function animation.gif
The quantile function is simply the inverse of the cumulative distribution function (if it exists). Its graph can be produced by flipping the cumulative distribution function's graph over.

Like the CDF, the quantile function is monotonically non-decreasing. That’s the fundamental observation on which our method rests.

The univariate case

Quantile estimator architecture.png
The architecture of our quantile function estimator (the incremental quantile function, or IQF), which enforces the monotonicity of the quantile function by representing the value of each quantile as an incremental increase in the value of the previous quantile.

One of the drawbacks of the conventional approach to approximating the quantile function — estimating it only at specific points — is that it can lead to quantile crossing. That is, because each prediction is based on a different model, trained on different local data, the predicted variable value for a given probability could be lower than the value predicted for a lower probability. This violates the requirement that the quantile function be monotonically non-decreasing.

Quantile function, five knots.png
An approximation of the quantile function that (mostly) uses linear extrapolation.
Quantile function, 20 knots.png
An approximation of the quantile function with 20 knots (anchor points).

To avoid quantile crossing, our method learns a predictive model for several different input values — quantiles — at once, spaced at regular intervals between 0 and 1. The model is a neural network designed so that the prediction for each successive quantile is an incremental increase of the prediction for the preceding quantile.

Once our model has learned estimates for several anchor points that enforce the monotonicity of the quantile function, we can estimate the function through simple linear extrapolation between the anchor points (called “knots” in the literature), with nonlinear extrapolation to handle the tails of the function.

Where training data is plentiful enough to enable a denser concentration of anchor points (knots), linear extrapolation provides a more accurate approximation.

To test our method, we applied it to a toy distribution with three arbitrary peaks, to demonstrate that we don’t need to make any assumptions about distribution shape.

Distribution and approximations.png
The true distribution (red, right), with three arbitrary peaks; our method's approximation, using five knots (center); and our method's approximation, using 20 knots (right).

The multivariate case

So far, we’ve been considering the case in which our distribution applies to a single variable. But in many practical forecasting use cases, we want to consider multivariate distributions.

For instance, if a particular product uses a rare battery that doesn’t come included, a forecast of the demand for that battery will probably be correlated with the forecast of the demand for that product.

Related content
New method goes beyond Granger causality to identify only the true causes of a target time series, given some graph constraints.

Similarly, if we want to predict demand over several different time horizons, we would expect there to be some correlation between consecutive predictions: demand shouldn’t undulate too wildly. A multivariate probability distribution over time horizons should capture that correlation better than a separate univariate prediction for each horizon.

The problem is that the notion of a multivariate quantile function is not well defined. If the CDF maps multiple variables to a single probability, when you perform that mapping in reverse, which value do you map to?

This is the problem we address in our second AISTATS paper. Again, the core observation is that the quantile function must be monotonically non-decreasing. So we define the multivariate quantile function as the derivative of a convex function.

A convex function is one that tends everywhere toward a single global minimum: in two dimensions, it looks like a U-shaped curve. The derivative of a function computes the slope of its graph: again in the two-dimensional case, the slope of a convex function is negative but flattening as it approaches the global minimum, zero at the minimum, and increasingly positive on the other side. Hence, the derivative is monotonically increasing.

Multivariate quantile function.png
A convex function (blue) and its monotonically increasing derivative (green).

This two-dimensional picture generalizes readily to higher dimensions. In our paper, we describe a method for training a neural network to learn a quantile function that is the derivative of a convex function. The architecture of the network enforces convexity, and, essentially, the model learns the convex function using its derivative as a training signal.

In addition to real-world datasets, we test our approach on the problem of simultaneous prediction across multiple time horizons, using a dataset that follows a multivariate Gaussian distribution. Our experiments showed that, indeed, our approach better captures the correlations between successive time horizons than a univariate approach.

Quantile correlation.png
Three self-correlation graphs that maps a time series against itself. At left is the ground truth. In the center is the forecast produced by a standard univariate quantile function, in which each time step correlates only with itself. At right is the forecast produced using our method, which better captures correlations between successive time steps.

This work continues a line of research at Amazon combining quantile regression and deep learning to solve forecasting problems at a massive scale. In particular, it builds upon work on the MQ-CNN model proposed by a group of Amazon scientists in 2017, extensions of which are currently powering Amazon’s demand forecasting system. The current work is also closely related to spline quantile function RNNs, which — like the multivariate quantile forecaster — started as an internship project.

Code for all these methods is available in the open source GluonTS probabilistic time series modeling library.

Acknowledgements

This work would have not been possible without the help of our awesome co-authors, whom we would like to thank for their contributions to these two papers: Kelvin Kan, Danielle Maddix, Tim Januschowski, Konstantinos Benidis, Lars Ruthotto, and Yuyang Wang, Jan Gasthaus.

Related content

US, WA, Redmond
Amazon Leo is Amazon’s low Earth orbit satellite broadband network. Its mission is to deliver fast, reliable internet to customers and communities around the world, and we’ve designed the system with the capacity, flexibility, and performance to serve a wide range of customers, from individual households to schools, hospitals, businesses, government agencies, and other organizations operating in locations without reliable connectivity. Minerva is Kuiper's central data lake for manufacturing and testing operations. It integrates Atlas telemetry, SDN logs, manufacturing systems, and Asteria configurations to support carwash, nadir/zenith deck, LRU-level, and satellite qualification testing, delivering ad-hoc root-cause investigations and multivariate statistical/ML models for performance ranking and rapid pass/fail assessments on a scalable, secure, governed, self-serve infrastructure. The Minerva Applied Scientist designs, implements, and delivers solutions for scientifically complex satellite testing systems in production, working semi-autonomously with top-level guidance from senior scientists. They develop and maintain satellite test success criteria and build statistical and ML-based anomaly detection methods to streamline manufacturing. The role collaborates with engineers from Mechanical and Electrical Engineering, Production Operations, Payload Integrated Test, Antenna, Bus and Payload Software, and Mission Operations so integrated vehicle test deliverables meet program requirements, and requires expertise in satellite subsystems (Bus, RF, Optical payload, networking), anomaly detection, statistical process control, signal processing, and multivariate analysis. The scientist develops and measures flight-worthy performance benchmarks across subsystems, working from manufacturing and test through qualification and on-orbit analysis, and supports test teams and subsystem owners with data processing, signal processing, and AI/ML implementations. They build and own the cross-stage data platform these analyses run on (as-built genealogy; LRU, deck, carwash and on-orbit joins) and own projects spanning criteria derivation, criteria health monitoring, and root-cause analysis. They balance immediate engineering needs with applied research, including large language and vision-language models applied to Kuiper engineering records and documentation for knowledge acquisition. Components meet the SDE I coding bar and ship to production with reproducible documentation. Export Control Requirement: Due to applicable export control laws and regulations, candidates must be a U.S. citizen or national, U.S. permanent resident (i.e., current Green Card holder), or lawfully admitted into the U.S. as a refugee or granted asylum. Key job responsibilities * Work with engineering, software and manufacturing teams to understand drivers, impacts, and key influences on satellite performance * Lead the design, build and implementation of production models and make decisions in real time for satellite test results * Drive actions at scale to optimize test methodology and drive increases to satellite reliability * Analysis and modeling of satellite telemetry from test results in lab and on-orbit * Develop models and data pipelines for satellite telemetry * Create and manage datasets for continued pre-training and supervised fine-tuning of LLMs * Develop scalable visualizations for analysis of satellite performance A day in the life As Amazon Leo Applied Scientist you will own the architecture definition and development of data analysis tools to to aid engineering and production teams in deciding flight-worthiness of each Amazon Leo satellite and historical traceability tools to enable simplified discovery and interpretation of past test data. You will work with multiple engineering, software and manufacturing teams across ground and space systems, to specify requirements, define data collection, interpretation strategies, data pipelines and implement data analysis and reporting tools for Integrated Vehicle tests. Your focus will be in optimizing the analysis of test results to enable Amazon Leo production plans. About the team The Automated Vehicle Testing Team is a mix of scientists and software engineers responsible for data infrastructure, tools, and research that serve as the backbone of automated satellite testing operations to enable rapid scaling of manufacturing processes.
US, CA, Santa Clara
Amazon Customer Service (CS) org’s mission is to make customer service interactions so good they become the primary reason customers choose Amazon. Customer Experience Products (CXP) supports this vision by building customer-facing solutions customers prefer because they work - reducing effort, shortening time to resolution, and building trust with every interaction. Our science team evaluates AI and Large Language Models (LLM)-driven solutions for both consumer-facing and CS associates-facing AI applications. We evaluate multi-modal, multi-turn, goal-oriented dialog systems (e.g. chatbot, voicebot) that can resolve customer issues and provide informational answers grounded by Amazon policy and help articles, at Amazon scale across multiple languages, intents and locales. These fine-tuned LLM solutions are designed to adapt to changing company policies and automate solutions to customer problems with conversational intelligence. Additionally, we're exploring with the partner associate-facing org on defining quality of LLM capabilities to improve the productivity of associates. Key job responsibilities - Lead development of Customer Service specific multi modal foundational models that improve chat and voice experiences. - Establish and evaluate rigorous testing and validation protocols for AI-driven systems. - Lead ongoing quality improvements for launched AI solutions - Collaborate closely with Product Managers, UX Designers, Applied Scientists, and Software Development Engineers. - Practice thought leadership and contribute to the overall science vision and strategic direction for AI-driven customer experience transformation initiatives. - Stay at the forefront of AI and machine learning technologies.
US, WA, Seattle
MULTIPLE POSITIONS AVAILABLE Employer: AMAZON.COM SERVICES LLC Offered Position: Applied Scientist III Job Location: Seattle, Washington Job Number: AMZ9898360 Position Responsibilities: Research, design, implement and evaluate complex motion planning, controls, and decision making algorithms integrating across multiple disciplines. Create experiments and prototype implementations of control algorithms, planners, and optimization techniques. Work closely with software engineering team members to drive scalable, real-time implementations. Collaborate with machine learning, perception, and software experts to implement and deploy algorithms, such as motion planning and controls algorithms. Collaborate closely with hardware engineering team members on developing systems from prototyping to production level. Represent Amazon in academia community through publications and scientific presentations. Work with stakeholders across hardware, science, and operations teams to iterate on systems design and implementation. Position Requirements: PhD or foreign equivalent degree in Computer Science, Machine Learning, Engineering, or a related field and one year of research or work experience in the job offered, or as a Research Scientist, Research Assistant, Software Engineer, or a related occupation. Employer will accept a Master’s degree or foreign equivalent degree and four years of research or work experience in the job offered or a related occupation as equivalent to the PhD and one year of experience. Must have one year of experience in the following skills: (1) developing algorithms for robotic motion planning, perception, control, or decision-making. 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 $167,100/year to $226,100/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, CA, Sunnyvale
Come join the Device connectivity team in building the next generation of innovative wireless solution that create a magical experience on our products and services. We actively engage in strategic initiatives, foster partnerships with industry and academia, leverage foundational artificial intelligence and large language models to stay at the forefront of the technological advancements. We are seeking an experienced Senior Applied Scientist to serve as a technical leader in our Device Connectivity team, pushing the boundaries of AI/ML for wireless. In this role, you will combine deep technical expertise with scientific leadership to guide the team's technical direction, develop next-generation wireless technologies, and drive innovation that directly impacts millions of customers worldwide. Key job responsibilities As a Senior Applied Scientist in the team, you will: - Lead the team technically, setting the technical bar through design reviews, code reviews and hands-on contributions, and fostering a culture of scientific excellence, innovation and operational rigor. - Mentor and coach junior applied scientists and engineers, helping them grow their technical depth, scientific judgment and impact. - Define and drive the AI/ML science and technology roadmap for wireless solutions by developing a deep understanding of Amazon's Devices and Services offerings, translating complex business problems into well-defined scientific challenges, and guiding the team's work from conception through production. - Identify and lead the development of next-generation wireless and AI/ML technologies, taking on high-risk, high-impact technical directions and turning them into products for customers. - Collaborate with engineering, product and business partners to drive ML development from research through optimization and onto production devices, aligning science investments with product goals while meeting on-device performance, latency and resource constraints. - Balance exploratory research with production delivery timelines, maintaining scientific rigor while meeting business commitments. - Represent the team's AI innovations to internal leadership and the external scientific community through leadership reviews, publications, patents and conference presentations. About the team Device Connectivity team is empowering possibilities through wireless innovation on our devices and through services, our vision is to design and develop transformative products and services that consistently exceed our customers' expectations.
US, WA, Bellevue
We are seeking a Applied Scientist to push the state of the art in robot learning and help bring capable robots out of the lab and into everyday homes at Fauna Robotics. In this role, you will design novel algorithms across perception, manipulation, sim2real transfer, reinforcement learning, and multi-task learning, closing the gap between research and real-world deployment. You will work where robotics research meets production systems. You'll combine hands-on technical work with scientific leadership to guide the team toward the most promising directions. Working closely with software engineers and scientists, you will turn new ideas into robust solutions for dynamic, unstructured home environments. Homes bring challenges that structured settings like warehouses don't, and consumer-grade sensors and actuators have real limits, so this work calls for creative, out-of-the-box approaches. Key job responsibilities - Lead technical initiatives in areas such as robotics foundation models, reinforcement learning and manipulation - - Design experiments to identify the limitations of current state-of-the-art models and developing new models or techniques that can surpass these models - Design and implement novel deep learning architectures that push the boundaries of what robots can understand and accomplish - Mentor fellow scientists while maintaining strong individual technical contributions - Collaborate with engineering teams to optimize and scale models for real-world applications - Influence technical decisions and implementation strategies within your area of focus - Experienced in communicating complex technical work to a non-technical audience - The ability to work with minimal guidance, be proactive and to handle ambiguity and the challenge of quickly evolving goals About the team Fauna Robotics, an Amazon company, is building capable, safe, and genuinely delightful robots for everyday life. Our goal is simple: make robots people actually want to live and interact with in everyday human spaces. We believe that future won’t arrive until building for robotics becomes far more accessible. Today, too much effort is spent reinventing the fundamentals. We’re changing that by developing tightly integrated hardware and software systems that make it faster, safer, and more intuitive to create real-world robotic products. Our work spans the full stack: mechanical design, control systems, dynamic modeling, and intelligent software. The focus is not just functionality, but experience. We’re building robots that feel responsive, expressive, and genuinely useful. At Fauna, you’ll work at the frontier of this space, helping define how robots move, manipulate, and interact with people in natural environments. It’s an opportunity to solve hard problems across hardware and software with a team focused on making robotics accessible and joyful to build. If you care about making robotics real for everyone and building systems that are as delightful as they are capable, we’re interested in hearing from you.
US, VA, Herndon
Employer: Amazon Data Services, Inc. Position: Manager III, Data Science - AMZ14164.14 Location: Herndon, VA Multiple Positions Available: 1. Lead a team of data scientists in developing and deploying machine learning models for infrastructure capacity planning and demand forecasting at global scale. 2. Design predictive models and statistical frameworks to optimize resource utilization and inform long-term infrastructure investment decisions. 3. Develop risk-based planning approaches utilizing advanced statistical methods and ML techniques to quantify uncertainty and set operational targets. 4. Build and maintain end-to-end ML pipelines for model training, inference, and monitoring in production environments. 5. Collaborate with engineering, product, and finance partners to translate complex business requirements into quantifiable metrics and automated decisionsupport systems. 6. Design experimentation frameworks and model validation methodologies to ensure accuracy and reliability of forecasts. 7. Lead weekly business reviews of model performance, presenting findings and recommendations to senior leadership. 8. Manage and mentor a team of data scientists and engineers across multiple levels, driving best practices in ML development, code quality, and production deployment. 9. Utilize Python, SQL, and cloud-based ML infrastructure to deliver scalable data science solutions. (40 hours / week, 8:00am-5:00pm, Salary Range $175100 - $236900) Amazon.com is an Equal Opportunity – Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation #0000
US, NY, New York
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video subscriptions such as Apple TV+, HBO Max, Peacock, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video team member, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! Are you passionate about building intelligent systems that personalize experiences for hundreds of millions of customers? Do you want to work at the intersection of deep learning, causal inference, and product optimization, where your models directly shape how customers experience advertising on one of the world’s largest streaming platforms? Prime Video Ads is redefining what ad-supported streaming looks like. We launched ads on Prime Video in 2024 and are now in the process of building the science foundation to make our ad experience the most customer-centric in the industry. Unlike traditional digital advertising where clicks and conversions provide direct feedback, streaming presents unique scientific challenges. Indirect signals, heterogeneous customer responses, and the need to balance monetization with long-term engagement, all at massive scale. Key job responsibilities Our team tackles problems that span the full ML lifecycle, from exploratory research and offline modeling to online experimentation and production deployment. The science challenges include: - Heterogeneous customer responses. The same customer responds differently to ads depending on what they’re watching, how engaged they are, and their broader streaming context. We need to understand and predict this variation to make better advertising decisions in real time. - Signal sparsity in streaming. Unlike search or retail advertising, streaming offers no clicks, no conversions, and limited direct feedback. We must develop creative approaches to infer customer preferences, intent, and tolerance from indirect behavioral signals. - Personalization at scale. A one-size-fits-all ad experience leaves value on the table for both customers and the business. We build systems that adapt ad load, placement, and content to individual viewers across 100M+ customers and 100k+ titles. - Small effects, large variance. Ad interventions typically produce 0.1-2% shifts in engagement, effects easily overwhelmed by natural behavioral variance. Measuring, attributing, and optimizing these small signals requires rigorous experimental design and causal methodologies. - Competing objectives. Revenue, customer engagement, long-term retention, and advertiser value are in tension. We develop principled frameworks to navigate these tradeoffs and optimize for sustainable outcomes rather than any single metric. A day in the life - Lead the research and development of ML models that personalize advertising decisions for 100M+ customers across 100k+ titles, with production deployment in mind - Develop deep learning architectures (multi-task learning, embedding-based representations) for customer behavior prediction at scale - Design and analyze large-scale A/B experiments, applying causal inference techniques to measure and optimize the impact of ad strategies on customer engagement and monetization - Partner with engineering to ensure models meet production latency and scalability requirements - Collaborate with product managers to frame business problems as tractable ML problems and translate findings into product decisions - Shape the team’s scientific roadmap, identifying high-impact research directions About the team The PV Ad CX team’s mission is to create the world’s most customer-centric ad experience for video streaming. We build adaptive systems that determine when, how many, and what ads to show each customer, personalized to their viewing behavior, content context, and engagement patterns. We aspire to transform ad breaks from interruptions into moments that feel relevant and thoughtful.
US, WA, Seattle
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video subscriptions such as Apple TV+, HBO Max, Peacock, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video team member, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! Are you passionate about building intelligent systems that personalize experiences for hundreds of millions of customers? Do you want to work at the intersection of deep learning, causal inference, and product optimization, where your models directly shape how customers experience advertising on one of the world’s largest streaming platforms? Prime Video Ads is redefining what ad-supported streaming looks like. We launched ads on Prime Video in 2024 and are now in the process of building the science foundation to make our ad experience the most customer-centric in the industry. Unlike traditional digital advertising where clicks and conversions provide direct feedback, streaming presents unique scientific challenges. Indirect signals, heterogeneous customer responses, and the need to balance monetization with long-term engagement, all at massive scale. Key job responsibilities Our team tackles problems that span the full ML lifecycle, from exploratory research and offline modeling to online experimentation and production deployment. The science challenges include: - Heterogeneous customer responses. The same customer responds differently to ads depending on what they’re watching, how engaged they are, and their broader streaming context. We need to understand and predict this variation to make better advertising decisions in real time. - Signal sparsity in streaming. Unlike search or retail advertising, streaming offers no clicks, no conversions, and limited direct feedback. We must develop creative approaches to infer customer preferences, intent, and tolerance from indirect behavioral signals. - Personalization at scale. A one-size-fits-all ad experience leaves value on the table for both customers and the business. We build systems that adapt ad load, placement, and content to individual viewers across 100M+ customers and 100k+ titles. - Small effects, large variance. Ad interventions typically produce 0.1-2% shifts in engagement, effects easily overwhelmed by natural behavioral variance. Measuring, attributing, and optimizing these small signals requires rigorous experimental design and causal methodologies. - Competing objectives. Revenue, customer engagement, long-term retention, and advertiser value are in tension. We develop principled frameworks to navigate these tradeoffs and optimize for sustainable outcomes rather than any single metric. A day in the life - Lead the research and development of ML models that personalize advertising decisions for 100M+ customers across 100k+ titles, with production deployment in mind - Develop deep learning architectures (multi-task learning, embedding-based representations) for customer behavior prediction at scale - Design and analyze large-scale A/B experiments, applying causal inference techniques to measure and optimize the impact of ad strategies on customer engagement and monetization - Partner with engineering to ensure models meet production latency and scalability requirements - Collaborate with product managers to frame business problems as tractable ML problems and translate findings into product decisions - Shape the team’s scientific roadmap, identifying high-impact research directions About the team Prime Video Ads is pioneering the use of Generative AI, Deep Learning and Causal ML to empower the next generation of Ads experience in Prime Video. Our vision is to build the world’s most valuable and differentiated ad-supported streaming platform: one where every ad is relevant to the viewer, and every dollar spent by an advertiser delivers measurable results. We are seeking lead applied scientists who have demonstrated experience in advancing state of the art ML algorithms, particularly in Personalization, Relevance, Casual Inference and Gen-AI areas. Your role will be to deliver these innovations as production-ready systems at Amazon scale.
IN, KA, Bengaluru
Alexa+ is Amazon's Generative AI powered personal assistant / agent for consumers, and is becoming the conversational AI interface for Amazon services with the launch of Alexa for Shopping on Amazon.com and mobile app. It enables more natural, personalized conversations and is expanding how customers discover products, services, and entertainment across Amazon. The Alexa Ads science team is developing new advertising experiences for conversational and multimodal AI. Our goal is to help customers discover relevant products and content while protecting the usefulness, natural flow, and trustworthiness of their Alexa experience. We are looking for a Senior Applied Scientist to join our growing team in Bengaluru. You will define and solve research problems across generative AI, natural language processing, recommender systems, personalization, computational advertising, and responsible AI. This role combines scientific leadership with hands-on delivery. You will develop new methods, design rigorous evaluations, and work with engineering and product teams to deploy models in high-scale, real-time systems. You will also help shape the team’s scientific roadmap and mentor other scientists. Key job responsibilities ▪ Lead research and development of machine learning and generative AI solutions for conversational and multimodal advertising. ▪ Develop models that understand customer intent and identify useful advertising opportunities across multi-turn interactions. ▪ Advance semantic retrieval, ranking, recommendation, and personalization methods for screen-first experiences. ▪ Build trust-preserving models that recognize sensitive contexts and help ensure advertising is appropriate for the conversation. ▪ Develop scalable evaluation methods, including human-annotated benchmarks and LLM-based evaluators calibrated against human judgments. ▪ Explore efficient modeling approaches such as prompt optimization, fine-tuning, distillation, and lightweight classifiers that meet production latency and cost requirements. ▪ Design offline experiments, A/B tests, and causal measurement methods to evaluate customer experience and advertising effectiveness. ▪ Conduct hands-on data analysis and build scalable machine learning pipelines. ▪ Partner with software engineers to deploy models in high-scale, real-time production environments. ▪ Work with product managers and partner science teams to translate ambiguous customer and business problems into well-defined scientific problems. ▪ Provide technical leadership, mentor scientists, and raise the scientific standard of the team. ▪ Publish research at top-tier conferences and pursue patents for novel methods where appropriate. A day in the life You might begin the day reviewing results from Weblab experiments (A/B testing) from previous day's production data. You could then work with engineers to understand the latency and cost trade-offs involved in deploying different models at Amazon scale. Later, you may collaborate with product managers and annotation teams to refine evaluation criteria for ads relevance, appropriateness, coverage and customer value. You will balance exploratory research with production delivery. Some problems will require adapting recent advances in large language models, while others will require developing new formulations, datasets, metrics, or modeling approaches. You will communicate results to technical and business leaders and help determine which ideas should progress to customer experiments. You will spend time thinking and experimenting about the unsolved problems in this space that can be transformative for the ads business as well as have potential for publications in leading AI and ML conferences. About the team We are a growing science team in Bengaluru solving foundational problems in conversational advertising. The team works across generative AI, natural language understanding, recommendation systems, personalization. Many of our problems do not have established solutions. Advertising in a multi-turn AI conversation requires more than matching an ad to a query. The system must understand the broader context, determine whether an ad would be useful and appropriate, select relevant content, and integrate it without reducing customer trust. Scientists on the team have end-to-end ownership, from defining the research question and creating evaluation datasets through experimentation, production deployment, and measurement. We collaborate with scientists, engineers, and product leaders across Amazon teams in different geographies. 🧪 Greenfield team - you are not joining a mature org with rigid processes. You will shape the science roadmap, pick the problems, and define the culture from day one. 📈 Direct business impact — your models directly drive revenue. No yearly cycles to see if your work matters. 🌏 Global scope, local autonomy — collaborate with scientists and engineers across geographies but own your problem space end-to-end. 🎓 Ship AND Publish: We encourage top-tier publications (NeurIPS, ACL, EMNLP, KDD, ICML, WWW) while ensuring your research hits production.
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.