Skip to main content

Scaling Demand Forecasting at Nikon: Automating Camera Accessories Sales Planning with Databricks

Summary

  • Automated ML model selection: Nikon's framework auto-selects the best algorithm from a suite of ML and time-series models, incorporating anomaly detection to handle sparse demand patterns for camera accessories.
  • Scalable forecasting infrastructure: Using the Databricks Data and AI platform, Nikon deployed a scalable solution for predicting sales across thousands of items across global subsidiaries.
  • MLflow model operations: MLflow automates model logging, versioning, performance tracking, and prediction generation, enabling efficient management and scalable deployment of forecasting models.

Scaling Demand Forecasting at Nikon: Automating Camera Accessories Sales Planning with Databricks

Watch: Scaling Demand Forecasting at Nikon: Automating Camera Accessories Sales Planning with Databricks
Talk by Heya Ouyang, Senior Associate Researcher, Nikon Corporation
At Nikon, camera accessories are essential in meeting the diverse needs of professional photographers worldwide, making their timely availability a priority. Forecasting accessories, however, presents unique challenges including dependencies on parent products, sparse demand patterns, and managing predictions for thousands of items across global subsidiaries. To address this, we leveraged Databricks' unified data and AI platform to develop and deploy an automated, scalable solution for accessory sales planning. Our solution employs a hybrid approach that auto-selects best algorithm from a suite of ML and time-series models, incorporating anomaly detection and methods to handle sparse and low-demand scenarios. MLflow is utilized to automate model logging and versioning, enabling efficient management, and scalable deployment. The framework includes data preparation, model selection and training, performance tracking, prediction generation, and output processing for downstream systems.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

Chapters

FAQs

What forecasting challenges does Nikon face?

Nikon must forecast accessories with dependencies on parent products, sparse demand patterns, and predictions for thousands of items across global subsidiaries. These factors make traditional forecasting methods inadequate.

How does Nikon's hybrid model approach work?

The framework employs a hybrid approach that auto-selects the best algorithm from a suite of ML and time-series models. It incorporates anomaly detection and methods to handle sparse and low-demand scenarios.

How does MLflow enable Nikon's forecasting deployment?

MLflow automates model logging and versioning for efficient management of multiple forecasting models. This enables Nikon to track performance, manage versions, and scale deployment across their global operations.

What does Nikon's complete forecasting framework include?

The framework includes data preparation, model selection and training, performance tracking, prediction generation, and output processing for downstream systems. This comprehensive approach ensures scalable, reliable forecasting.

Full transcript

0:00 Introduction and agenda

So hello everyone, good afternoon. Um so thank you for joining us at data plus AI summit today. Um O Yan and I am a senior associate researcher at Nikon's mathematical science and research lab. Um today I am very very excited to share with you how Nikon is scaling our demand forecasting. So especially how we automatic uh automated the sales planning for our camera accessories business using data bricks. Um so the scaling the forecasting and automating is the three key words for today's presentation.
I think these three were uh well summarized uh what kind of challenges we faced and also the how we address them. Um my colleague Nishino is here with me today uh supporting me just off the stage and our teammates uh he's back in Japan so cannot join us in person today. Um so just a quick note that I haven't had a lot of opportunity to practice my English in the past few years. So if you hear a little Japanese or Chinese sleep out or I just forgot to say something in English by accident, please uh especially in the Q&A section, please forgive me.
I will try my best. Okay, so let's that's all for the intro. So here is what we will cover today. So first I will give you a quick overview of Nikon as a company and also the division that uh and the team I am part of and I will also explain why demand forecasting is so important uh for our uh camera accessories business. And next I will walk you through um I walk you through our uh development journey from the early inspiration to the transformation we achieved.
And next uh I will uh we will take a closer look into the framework we built with data bricks and uh specifically I will dive into how we apply MLflow in this use case. And finally I will share the result we saw uh highlight some um some of the key lessons we learned along the way and wipe up with a quick uh look at what we we are going to do next. So let's begin. Okay. Then so when you hear the name Nikon, you probably think of cameras and for a good reason I believe.
So we are a global leader in high-end cameras and lenses with a very strong share in the professional market. So our innovations in cameras um even reaches beyond the earth I would say. Um some of you might heard that we have been working with NASA for many years. So uh and we are now working with NASA to provide a specially adopted Zenai camera uh for the uh Arteimis lunar mission I believe and recently uh on the other hand we our collaboration with RAD also marks our move into the professional uh video camera market.

2:29 Nikon company overview

So maybe soon in the future you will be able to watch a movie uh that is shoot by a camera that with with one of our technologies on it. Uh but our expertise in optics and positions uh goes far beyond just cameras. So we have um so Nikon solution is play a key roles in many different fields including semiconductor manufacturing healthc carees and also the advanced measurement uh systems. So all of it all of these works we are helping to drive the breakthrough in a wide range of industries.
Okay. So then I would like to take a moment to briefly introduce the division and the team I am part of. Um so I work in the advanced technology research and development uh development division which oversees several global research centers and labs. So for example here in US we have the Nikon's research cooperation of America. So I believe it's located in Belmont. So just an hour drive just from here. Uh and on the other side my home base though is the mathematical science research laboratory uh which is located at the Nikon's headquarters and the innovation center in back in Tokyo.
Um so our lab is made of four different specialized teams which we focus on areas like uh mathematical modeling, simulation, data science, machine learning, uh robotics and image processing etc. So this collaborative environment is where we tackle some of the Nikon's toughest uh technical challenges and help to drive the new innovations uh forward. Okay. to support all of these innovation we built a very strong partnership with data bricks.
So today just in my team so there's 10 people in my team we have uh about 10 active projects running on data bricks and we maintaining 19 resource group and workspaces I don't know if that's a lot but that's a lot for us I would say and our uh data bricks uh powered projects covers a wide range of areas so from the productivity improvement uh back in the factory for the production line and to the marketing and supply chain optimization and uh even the genai.
So we have a big project uh using the genai to do the accident analysis for the product design. So among all these topics demand forecasting uh which we will be covering today is a key pillar of our work with data. Okay. So next I will go into the main part of this presentation. So when you think of camera, you probably picture the main device like just in the middle of this pictures. Uh but the accessories like flashes, cables, adapters, batteries, um they are also essential to our overall user experience.

6:11 Demand forecasting challenges

So my colleague Nishino, he is holding uh well Z52 camera. I believe it is the uh our latest full-size mirrorless camera that just launched last month. Um so but onto that camera we have you can see a big uh speed light and also a big uh battery pack onto it and also with this little blue strip and which said the Nikon's professional service. So um all of those are examples for accessories we provide and other than besides that uh Nikon offers nearly 500 uh different kinds of accessories serving both the professionals and the hobbyists around the world.
Um so accurately forecast the demand for all these accessories is very important for both the customer satisfication and for our operational efficiency. Okay. So, but making sure these accessories are available when and where they're needed is not always a easy task. So, first there is a very huge diversity across the uh across the categories comparing to the cameras and lenses. Um and many accessories they just have very long lead time from our suppliers.
Um and for the accessories uh many of them are really in low volume but still they are very important to our customers. So you do want to have the stock when someone really need it. Uh so while on the other hand um you can imagine that there is attached relationship between the main body the prim primary product the cameras and the access some accessories and on the top of all of these um the demand for many of these uh accessories are actually very picky.
So you might have like zero sales for months and suddenly experience a surge. So all of these factors make the traditional demand forecasting methods uh really challenging in this specific use case. Okay. So adding to the complexity uh we Nikon we consolidate the sales plans from 10 different global subsidiaries and covering nearly 3,000 SKUs. So after collecting all these plans from the south subsidiaries, we place order with our suppliers and then distribute the accessories to each region after they arrive.
So most of these SKUs they have very low average monthly sales. So usually less than five units per months and on average each SKU they have zero cells for more than half of the monthes of uh half of the years. uh but we still need 18 to 24 monthses of sales plan mainly because of the long lead time uh especially since the covid um so and the planner around the world they spend over 30 hours per months to uh on this specific task and the accuracy of those accessories are mostly just unknown before uh since there's really just uh there's not much time for the planners to double check all the SKUs uh in details.
But we do know what we do know is that the planners tend to overestimate demand. Uh as you can imagine there the planners are from the sales subsurgery. So uh they really want to avoid stockout when and they want to sell whenever they can sell. Um but that usually leads to the excess inventory and on the other other hand underestimate uh combining with the long lead time means that we cannot fulfill customers needs on time.
So getting the right balance between uh those under and over is a real challenge not only in this case but I believe in uh demand forecasting in general. Okay. So our journey began with early attempts at very simple automation. So we start with AutoML and other very classic uh machine learning method but they could not handle the diversity um of the accessories uh especially for the low demand items and then we tried segmentation. suit.

10:43 Development of the framework

So we try to use uh time series statistical model for the independent accessories and also for the uh we use the machine learning methods for the uh items that depends on the primary products. So for dependent one we also try to apply uh try to use the camera cells and camera sales plan related uh as a variable so that hoping that we could increase the accuracy but the fact is that we tried a lot but the accuracy was still low and the ch main challenge was still diversity.
So it turns out that um some of the accessories uh they are their cells are closely related to the camera cells but there's just some of them that is uh that are not just not connected at all. So um this mix make it really difficult for any single methods to perform really well across the board. And then we uh based off all of these saturations, we decided to shift our focus to uh relatively high volume items. So um hoping that we could automate where it could have the most impact.
So along the way we just realized that different SKUs, different accessories, they need different models. Uh there's no oneizefits all solutions in this case. So we build a system that can dynamically evaluate prediction uh accuracy across multiple statistical and machine learning models and uh using the p and mainly using the past sales data from both the accessories and the cameras and it automatically select the uh model that was the best uh performance for each SKU and then generate the forecasts.
Um so for the relatively low volume items we uh our strategy is to aggregate uh the global demand and then we distri uh then we do the same thing uh use the same method to uh generate the forecast and then distribute the forecast uh to each region by shear. And we also added uh abnormally detection and features that uh autofix the outliners to make everything on the right page. So this approach allow us to better match the unique uh demand pattern of each single SKUs and to improve the overall forecast uh accuracy.
And with this approach, we are able to automate the forecast for about 76% of the SKUs. So cutting the planner's workload from over 30 hours per months to uh just three or four. And our uh accuracy also improved. So now 57% of the SKUs are within plus minus 40% of the error margin. Uh which is almost the same as the human planner. And most importantly we saw fewer large mistake compared to the manual forecasts. However uh well we think we are making a good progress but that's not what the planners think because we still couldn't automate the forecast for the remaining 24% of the accessories and most of these accessories are actually super low volume ones.
So the planner they still have to handle those somehow by hand and even though they're just just not as important. Uh another challenge was I would say trust. Um so because the planner they have to handle many of those by hand they will just prefer to uh double check everything especially for the high volume ones and for the uh for the crucial ones. So as a result the system was not fully adopted at that time. H it didn't cover all and it did not fit perfectly with the planners preference and their workflow.
So while we think we made a good progress, there's still more to do to scale uh the automation to all accessories and make the system truly useful. So uh to scale further we simplify our strategy for the super low volume autumn uh items. So after all you have to admit that um no machine learning or statistical method that can reliably predict the extremely low volume uh demand patterns like a sequence of zero zero one one zero etc.
Uh so essentially after careful verification we decided to uh set the future demand the future six months of demand to be equal to the total demand of the past six months. So it's really simple. So if we are doing the 18 months of sales plans we will it will be six times three. If it's 24 months it will be uh six time four. And uh based on the feedback from the planners, we decided to set the first two months plans to be fixed so that it will be uh it should be equals to the plan from the last months.
Uh and the remaining months uh can just be distributed evenly. Uh so it is simple but it actually worked. So now 99% of the accessories are covered which an accur with an accuracy that is comparable to the human planner uh and most uh and it is easy it is fast and uh fast so adding almost no extra uh calculation time and it is uh this kind of uh accuracy is actually good enough because uh usually this ask you all for all the accessories they have the inventory buffer And most importantly, this approach fit our planner's workflow and their preference and because it covered everything.
So the now the planner can finally step back from the manual forecast and entirely. Okay. So uh that's half of the way. So let's look at how it comes together at that time. So we perform all our development journey uh inside the uh data bricks and with a series of data bricks notebook we gather data from multiple uh local and onremise uh sources and we then ingested and clean the data auto select the model uh generate the prediction and process output all within a single workflow and at the end of the pipeline uh everything is set up to feed directly back to uh our own uh planning system for uh uh the system for planning and also ordering uh as well as into the dashboard for the planner.

17:20 Databricks and MLOps

Okay. So to conclude the first half uh our framework now uh scales seamlessly across Nikon's entire uh entire accessory portfolio and the data bricks has been a key enabler. So we build this proof of concept model and uh and that is enabled by data bricks for both the uh forecast accuracy and also the scalability. However uh some challenges remains especially moving from the we as the R&D side to the uh full automation in production.
So the system integration is usually very costly and time consuming and uh in the past it's just not every product uh projects has the chance to go into that pilot stage because of that. Um and for us as developer to achieve the real world uh real world impact takes more than just a working model the proof of concept. Um so and when a project does reach the integration stage it often goes beyond our direct reach. So at that time it is very hard for us to continue to uh tuning the parameter or to monitor the performance uh at that time.
So um and last year my colleague and I we attend this very uh summit for the first time and we realized that we were only scratching the surface of what data risk can really do. So we t attended many sessions and we uh learned about uh use case of from many other companies and we really that really opens our eyes for the new possibilities. So this experience inspire us to apply more of the ML loops uh concept and also to apply uh explore more of data bricks uh features uh including unity catalogs and ML flows etc.
And we with these tools and practices we can finally automate uh all the way from the development to deployment and continuously uh monitor the performance our of our model even after the integration. So emalopes has truly been a gamecher for us. Uh I am very sure that many of them have already familiar with the concept uh maybe even more than I do. So I will not go into any details here but uh with data bricks we have set up a automated pipeline for demand forecasting that takes our models from all the way from the development to the production and this allows a faster integration uh than before a better model management and also a more reliable production stage.
Okay. So here is what our current framework looks like. So we start by gathering uh data from multiple variety of sources which is then put onto the Azou blob storage. Uh and then we move to the Azou data bricks workspace where we uh prepare our data in guest and clean the data uh and organizing all of them into a bronze, silver and uh gold delta table. And at the development stage we exper uh we experience with uh different statistical and machine learning models.

21:03 System architecture

So we use MLflow to uh keep track of the experiments and the parameters and to compare the metrics and more importantly to monitor the performance of each model for each SKU. Um so in this environment is all about flexibility. So uh we can update our code, we can run tests, we can adjust the features all in a relatively controlled sta uh environment and when we are ready to move to the production side or what we say a release stage, we transition everything into a more automatic uh automated and more reliable workflow.
Uh so now the system manage uh the entire process end to end. So uh from the data updating to model selection and to um and also to the generating for forecast and pushing the result back to our own planning system and also to the PowerBI dashboards. Um so we use ML uh sorry we use data bricks uh workflows to for the automation also including scheduling the jobs and we use MLflow uh in this stage we use MLflow to monitor the prediction accuracy.

23:01 Monitoring with MLflow

Okay. So let me share a bit more about how we use MLflow in this project. So for us MLflow is all about uh making the model monitoring simple and efficient. So in both uh development and production stage we rely on MLflow to keep track of uh key details and uh to provide clear visualization. So this visualization will help us to um to spot problems and to better understand our model and the result at a glance. Um my apologies that the diagram on the slides is a little bit busy.
So let me walk you through it. So during the development stage um uh during the development stage as we test different models uh MLflow keep track of everything. So from the past uh the past cells to the model setting the training results the performance of each model for each SKUs uh during the model selection. So um this make it easy for us to compare the model to quickly identify which model uh are per performing well and more importantly which one are not performing well.
So as you can see at the top right of this page we have an example of a visualization of the RMSSE of different models uh across the timeline. So uh abs uh absolutely this one is from a simulation so it's not the real time things uh but uh the overall accuracy for in this case is actually decreasing uh for all the models. So we know that we need a bit of analysis on what just happened and that is for the development stage.
And once we move to the production stage, MLflow continue to monitor uh so it mainly monitor the pred uh prediction accuracy as the uh actual uh actual cells comes in so that we can see if the model performance uh is dropping or there's just something that needs our attention. Uh so uh to summarize so in short MLflow for us it's all about uh transparency and uh flexibility. So we can use it to improve our forecast significantly and also to uh respond quickly if uh whenever things change.
Okay. So now our entire framework is fully powered by data bricks. leveraging Unity catalog, sparks, uh, Delta Lake, camel flow and the data bricks workflows and the result is a robust scalable system that can empower our both our planner and us as the developer and now uh this is a timeline for a very simple timeline for the implementation. So this system uh is now ready for the implementation. So we are doing a lot of testing over the past a few years uh and gathering the feedback from the planner all around the world and we expect to have the full scale operations uh in I believe in the coming August and the framework has also become a reference model for how to apply data bricks in our uh day-to-day R&D process um so that uh I believe in the future it will be able to continue to inspire other projects uh across Nikon's uh research divisions.

25:43 Lessons and takeaways

Okay. So uh to wrap up wrap up uh what have we learned from this journey? So first when it comes to forecasting a very diversity of products like uh accessories adaptivity is very crucial. So there is no one-sizefits all solutions and you probably just need different strategy for different uh products and sometimes to be honest you just don't need the most advanced model to get the job done and secondly to truly scale you have to commit to the full automation.
So if you only automate part of the process, it is very possible that uh very likely that just like us that you will end up to have a system that uh does not get used and finally have everything in a single platform. So from the data preparation for to the uh model development and from the development to the production. So all uh in a single platform is quite enough for us in the uh for the full automation. So uh and this end to end in integration has made it possible for us to scale efficiently uh and deliver real world uh values to our planners and our business quickly.
So in short be adoptable, go all in in the automation and uh for us it is very efficient to keep everything uh unified on a single platform. Okay. So looking ahead we still face some challenges. So predicting highly sparse demands remains really difficult for us. uh we are trying to figure out some ways to deal deal with those items either using demand forecasting or some other operational ways and also for uh auto auto logging with MLflow while it's really helpful can sometimes slow a little bit of the overall uh performance uh so other than uh so we are thinking about improving the overall efficiency of using the ML flow uh not only in MLflow but also in we are thinking about maybe trying sparks API or trying the distributed uh calculation or trying the uh some kind of uh UDF.

28:33 Future goals and Q&A

So all kinds of things in order to uh improve the overall performance of the uh deployment and we also uh we also lack of uh explanable AI feature uh which if we have it it will be very helpful for us to justify the uh forecasting results to the stakeholders and our future plans includes uh integrating more extra external data so that we can make the forecast more robust uh and we are also thinking about leveraging MLflow for the continuous development more.
So now since we only forecast once a month, so it is still okay for us to uh do some uh parameter tuning uh after the deployment and even in the production stage. But maybe in the future uh if we want to do the forecast uh more frequently uh for example once a week then I will say it will be better if we shift uh some most of these uh tuning into the uh most of these tuning into the uh the development stage and then smoothly transfer it into the uh production stage. transfer the best features and the best setting into the production stage.
And last but not least, uh I believe this will take many years, maybe five years, many 10 years, but our ultimate goal is to uh build a fully automated end-to-end supply chain optimization system that could connect the uh not only the demand forecast, but the inventory, the sales and operations, logistic or maybe even the production plan back inside the factory and also the scheduling in the factory. So alto together so I believe this uh making the optimization uh this will absolutely make the optimization of the entire process the most smarter and efficient.
Okay and thank you for your attention. So before I take any questions uh I believe uh yeah just a moment I believe uh your feedback is very important. So please take a moment to complete the survey. I I don't know if you can do it now maybe after the section inside the app. Uh that would be very appreciated. Okay. So and thank you for your attention and we are ready to take any questions.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.