An animation shows a stack of boxes slowly reducing in number to arrive at an optimal suite of boxes for packing items as part of Amazon's PackOpt system
By the end of 2022, about 90% of all boxes shipped by Amazon will be sent from an optimized box suite, thanks to implementation of the pioneering web-based PackOpt tool.

How Amazon learned to cut its cardboard waste

Pioneering web-based PackOpt tool has resulted in an annual reduction in cardboard waste of 7% to 10% in North America, saving roughly 60,000 tons of cardboard annually.

In a world of ideal sustainability, every customer order received by Amazon that required a box would ship in a box tailored precisely to the size of its contents to minimize cardboard (corrugate) waste for the customer and maximize the efficiency of order fulfillment.

But with an ever-changing catalogue of hundreds of millions of items and multiple items often shipped in a shared box, this dream scenario would require a near-infinite range of box sizes standing ready at Amazon’s fulfillment centers (FCs).

While Amazon works toward producing right-sized boxes for each shipment, the current solution to minimizing waste is to furnish every fulfillment center with a limited suite of cardboard box options. These suites vary depending on the type of items being fulfilled. For example, some FCs are focused on shipping single or multiple items that have been sorted automatically by robots and packed by Amazon associates.

Related content
A combination of deep learning, natural language processing, and computer vision enables Amazon to hone in on the right amount of packaging for each product.

In North America, single items shipped from sortable FCs that require a box, with some exceptions, are typically shipped within one of a finite number of box sizes. Multiple items being shipped together are packed into a box drawn from a different suite of boxes that are designed for a larger and heavier payload.

Another type of FC, known as non-sortable, deals with larger items that require oversized boxes — patio furniture, for example — and these FCs need yet another suite of boxes.

The question that Amazon has addressed with increasing success over the past few years is this: Given the items typically shipped in a particular Amazon region, marketplace, or FC, what is the optimal box suite?

That answer has now been embodied in a pioneering web-based tool called PackOpt that is being embraced by Amazon managers all over the world.

By the end of 2022, about 90% of all boxes shipped by Amazon will be sent from an optimized box suite. In North America, applying PackOpt technology has resulted in an annual reduction in cardboard waste of 7% to 10%, saving roughly 60,000 tons of cardboard annually. In emerging countries such as Singapore, PackOpt has delivered more than double that percentage efficiency.

Matrix revolutions

David Gasperino, an Amazon principal research scientist, led the technical development of PackOpt, which is helping Amazon’s stakeholders to not only minimize the amount of “air” shipped to customers, but also helping Amazon deliver on its Climate Pledge commitment to reaching net-zero carbon emissions across its business by 2040.

Arriving at the perfect suite of boxes is incredibly difficult, says Gasperino, partly because the number of possibilities is enormous.

This problem belongs to a theoretical class of problems called ‘NP hard’: essentially, no one knows if there's a really efficient algorithm to solve them.
Renan Garcia

To imagine the challenge in the simplest terms, first picture a matrix 100+ million rows deep — these represent shipments over a time period within a given region. Each of the 20,000 or so columns on the matrix, meanwhile, represents a candidate box of various dimensions that might become part of a suite of boxes.

“To create an optimal set of boxes, you need to select a small subset of columns to pack all of the shipments, and those columns must lead to the smallest overall box volume when you sum it all up,” explains Gasperino.

It is a hard challenge — literally.

“This problem belongs to a theoretical class of problems called ‘NP hard’: essentially, no one knows if there's a really efficient algorithm to solve them,” says Renan Garcia, a principal research scientist who helped to design PackOpt’s optimization framework (NP Hard is the same class of problem as the infamous “traveling salesman problem”).

The sheer size of the matrix is a challenge, says Garcia. “The matrix that you need to build is so big, you can't even store it in memory.”

Related content
Amazon joins the US DOE’s Bio-Optimized Technologies to keep Thermoplastics out of Landfills and the Environment (BOTTLE™) Consortium, focusing on materials and recycling innovation.

The team addressed this computational tractability issue in several ways. First, to simplify the problem their approach narrows the range of candidate-box dimensions to 2-inch increments in any direction before the first phase of iterative improvements, reducing the initial set of candidate boxes into the hundreds.

After the optimizer discovers the best candidates in this “coarse” set of boxes, it will take those best prospects as a starting point and search again, this time using 1-inch dimensional increments, and so on toward finer dimensions.

“Theoretically, the algorithm will converge on a high-quality box suite no matter where you start,” says Garcia.

The team also employed process parallelization across multiple computational cores to break the problem into smaller chunks.

“Multiple cores can be doing this in parallel, exploring alternate solutions. And every so often they communicate their best solution back to each other,” says Garcia. The result: PackOpt can solve in minutes what previously took weeks of computation time.

3D Tetris

PackOpt for box suites shipping single items launched in 2018. A year later, an enhanced version was capable of identifying the best box suite for shipments containing multiple items in the same box.

For this iteration, the team added a high-performance algorithm that very rapidly determines how the different items to be delivered together can be configured to fit inside a candidate box — think 3D Tetris. PackOpt also knows, for example, that foldable or compressible items such as clothing can easily be slotted in around other, more solid items.

Related content
The story of a decade-plus long journey toward a unified forecasting model.

In theory, this meant packing more items into better-fitting boxes. But did it work in practice?

“One of our colleagues, Neb Getaneh, designed and conducted studies in the Amazon Packaging Lab to quantify the impact of packaging boxes with less air due to size and fitting algorithm optimization,” says Gasperino. “And we did not see any degradation in packing performance.”

But creating a clever algorithm doesn’t automatically translate into real-world impact.

“There are many different steps that must happen between solving this optimization problem and actually delivering optimized packaging to our customers’ doorsteps,” says Gasperino. “We needed the regional packaging leads all over the world, who aren’t scientists, to quickly understand how to use PackOpt and to see the economic value in it for themselves, and eventually become the champions for packaging optimization.”

Democratizing the tool

Ease of use would be critical in the push to democratize the tool.

“PackOpt’s algorithms have about 25 different parameters and they're all scientific in nature,” Garcia says. “We didn’t want the user to worry about that kind of thing, so we abstracted these parameters away, behind the scenes.”

Gasperino and team also partnered with AWS ProServe consultants to design and build a streamlined web app to democratize use of PackOpt. The resulting user interface is simple, essentially requiring two inputs: historical shipment data of the region aiming to optimize their boxes, and the dimensions of the boxes in their current suite.

“PackOpt will then simulate how well your products fit in your current boxes, giving you a total cardboard weight, box utilization rate, and packaging volume — among many other metrics — and compare those metrics with an optimized box suite,” says Chris Collins, a support engineer who helped develop the PackOpt web tool.

Related content
How Amazon’s scientists developed a first-of-its-kind multi-echelon system for inventory buying and placement.

If a significant improvement is revealed, there is an immediate business and sustainability case for optimizing that suite with boxes of more appropriate dimensions. PackOpt can also identify if increasing the number of box options in a given suite will boost efficiency significantly as well as automatically track savings after teams have deployed their suite.

“The savings tracking function was developed to help stakeholders quantify the impacts of their optimized box suites in a scalable manner,” Collins explains. “This function could also be used to help the stakeholder keep their finger on the pulse of the optimized packaging suite, knowing that if the savings metrics begin to fall off it could signal to the team the need to re-optimize the current package selections.”

Another of the key metrics PackOpt reveals is air per shipment.

“It’s understandably a hot topic with Amazon customers who receive an order with too much air in the box compared with the item itself,” says Collins. “PackOpt helps improve our customer experience by really driving down such shipments.”

The word gets out

PackOpt has been embraced in fulfillment centers around the world. After proving the tool’s operational effectiveness in North America, Amazon Japan was first to show a keen interest and develop its own box suite.

“The products going through our Japan FCs are different to those going through North America’s, so there's no reason the box suites should be the same across those two regions,” notes Gasperino.

“Using PackOpt has simplified my team’s work significantly,” says Myles Lefkovitz, a customer packaging experience manager in Tokyo. “We’ve been able to accomplish things that simply wouldn’t have been possible without it and driven down our packaging costs.”

Use of the tool quickly spread around the world at the regional level. But such is the power and flexibility of PackOpt, it is increasingly being used at a more granular level by Amazon stakeholders, says Collins.

See Amazon's Bengalaru research office
Research in Bengaluru spans numerous disciplines, including fraud detection, information retrieval, advertising, automatic speech recognition, and operations.

“In India, for example, customers’ purchasing behavior, and the items purchased, vary vastly across the country, so managers at Amazon India have used PackOpt to tailor bespoke box suites for each fulfillment center.”

“Packaging optimization is a crucial part of Amazon’s commitment to The Climate Pledge and reducing waste on behalf of customers,” says Alex Hartford, business lead for packaging optimization. “In a company the scale of Amazon, even seemingly small optimizations in material reduction make a big impact not only in terms of carbon impact, but also on Amazon’s ability to lower our cost structures and spin the Amazon flywheel.”

In addition to different Amazon regions selling different products, as much as a third of a given region’s Amazon catalogue might change from one year to the next, meaning the product profile is forever changing. Moreover, new packaging types — such as recycled padded mailers or poly bags — also affect the optimal box suite. As a result, PackOpt’s monitoring mission is ongoing.

Amazon itself is a nested packing problem, right? You put customer orders inside boxes, you put boxes inside tote bags, you put tote bags inside trucks … we need to optimize the dimensions of all of these.
Renan Garcia

Its creators envision how the technology could usefully spill over to the wider Amazon.

“Amazon itself is a nested packing problem, right?” says Garcia. “You put customer orders inside boxes, you put boxes inside tote bags, you put tote bags inside trucks … We have storage facilities of all shapes and sizes, and we need to optimize the dimensions of all of these.”

In fact, Renan has begun applying the underlying PackOpt concepts to related applications throughout Amazon. For example, he has partnered with colleagues from Last Mile Transportation to redesign Amazon Robotics pods for outbound packages in sortation centers.

The team developed a local search framework to solve this more challenging nested packing variant (products in packages, packages in bins, and bins in pods) which generates designs requiring 33% fewer pods and leads to more efficient use of precious facility space.

“This sort of optimization opportunity exists throughout our supply chain,” says Hartford. “It is critical that we look at other parts of our network to see where we can apply both the fitting algorithms that we've developed and the optimization tools.”

Related content

US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Applied Scientist; to support the development and implementation of Generative AI (GenAI) algorithms and models for supervised fine-tuning, and advance the state of the art with Large Language Models (LLMs), As an Applied Scientist, you will play a critical role in supporting the development of GenAI technologies that can handle Amazon-scale use cases and have a significant impact on our customers' experiences. Key job responsibilities - Collaborate with cross-functional teams of engineers and scientists to identify and solve complex problems in GenAI - Design and execute experiments to evaluate the performance of different algorithms and models, and iterate quickly to improve results - Think big about the arc of development of GenAI over a multi-year horizon, and identify new opportunities to apply these technologies to solve real-world problems - Communicate results and insights to both technical and non-technical audiences, including through presentations and written reports
LU, Luxembourg
Are you a MS student interested in a 2026 internship in the field of machine learning, deep learning, generative AI, large language models and speech technology, robotics, computer vision, optimization, operations research, quantum computing, automated reasoning, or formal methods? If so, we want to hear from you! We are looking for a customer obsessed Data Scientist Intern who can innovate in a business environment, building and deploying machine learning models to drive step-change innovation and scale it to the EU/worldwide. If this describes you, come and join our Data Science teams at Amazon for an exciting internship opportunity. If you are insatiably curious and always want to learn more, then you’ve come to the right place. You can find more information about the Amazon Science community as well as our interview process via the links below; https://www.amazon.science/ https://amazon.jobs/content/en/career-programs/university/science Key job responsibilities As a Data Science Intern, you will have following key job responsibilities: • Work closely with scientists and engineers to architect and develop new algorithms to implement scientific solutions for Amazon problems. • Work on an interdisciplinary team on customer-obsessed research • Experience Amazon's customer-focused culture • Create and Deliver Machine Learning projects that can be quickly applied starting locally and scaled to EU/worldwide • Build and deploy Machine Learning models using large data-sets and cloud technology. • Create and share with audiences of varying levels technical papers and presentations • Define metrics and design algorithms to estimate customer satisfaction and engagement A day in the life At Amazon, you will grow into the high impact person you know you’re ready to be. Every day will be filled with developing new skills and achieving personal growth. How often can you say that your work changes the world? At Amazon, you’ll say it often. Join us and define tomorrow. Some more benefits of an Amazon Science internship include; • All of our internships offer a competitive stipend/salary • Interns are paired with an experienced manager and mentor(s) • Interns receive invitations to different events such as intern program initiatives or site events • Interns can build their professional and personal network with other Amazon Scientists • Interns can potentially publish work at top tier conferences each year About the team Applicants will be reviewed on a rolling basis and are assigned to teams aligned with their research interests and experience prior to interviews. Start dates are available throughout the year and durations can vary in length from 3-6 months for full time internships. This role may available across multiple locations in the EMEA region (Austria, France, Germany, Ireland, Israel, Italy, Luxembourg, Netherlands, Poland, Romania, Spain and the UK). Please note these are not remote internships.
US, CA, San Francisco
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, San Francisco
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, San Francisco
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, San Francisco
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, San Francisco
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, Sunnyvale
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 add-on subscriptions such as Apple TV+, Max, 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 technologist, 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! We are looking for a self-motivated, passionate and resourceful Sr. Applied Scientists with Recommender System or Search Ranking or Ads Ranking experience to bring diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. You will spend your time as a hands-on machine learning practitioner and a research leader. You will play a key role on the team, building and guiding machine learning models from the ground up. At the end of the day, you will have the reward of seeing your contributions benefit millions of Amazon.com customers worldwide. Key job responsibilities - Develop AI solutions for various Prime Video Recommendation/Search systems using Deep learning, GenAI, Reinforcement Learning, and optimization methods; - Work closely with engineers and product managers to design, implement and launch AI solutions end-to-end; - Design and conduct offline and online (A/B) experiments to evaluate proposed solutions based on in-depth data analyses; - Effectively communicate technical and non-technical ideas with teammates and stakeholders; - Stay up-to-date with advancements and the latest modeling techniques in the field; - Publish your research findings in top conferences and journals. About the team Prime Video Recommendation/Search Science team owns science solution to power search experience on various devices, from sourcing, relevance, ranking, to name a few. We work closely with the engineering teams to launch our solutions in production.
US, WA, Seattle
We are open to hiring candidates to work out of one of the following locations: San Francisco, CA, USA | Santa Clara, CA, USA | Seattle, WA, USA | Sunnyvale, CA, USA Amazon is seeking an innovative and high-judgement Senior Applied Scientist to join the Privacy Engineering team in the Amazon Privacy Services org. We own products and programs that deliver technical innovation for ensuring compliance with high-impact, urgent regulation across Amazon services worldwide. The Senior Applied Scientist will contribute to the strategic direction for Amazon’s privacy practices while building/owning the compliance approach for individual regulations such as General Data Protection Regulation (GDPR), DMA, Quebec 25 etc. This will require helping to frame, and participating in, high judgment debates and decision making across senior business, technology, legal, and public policy leaders. A great candidate will have a unique combination of experience with innovative data governance technology, high judgement in system architecture decisions and ability to set detailed technical design from ambiguous compliance requirements. You will drive foundational, cross-service decisions, set technical requirements, oversee technical design, and have end to end accountability for delivering technical changes across dozens of different systems. You will have high engagement with WW senior leadership via quarterly reviews, annual organizational planning, and s-team goal updates. Key job responsibilities * Develop information retrieval benchmarks related to code analysis and invent algorithms to optimize identification of privacy requirements and controls. * Develop semantic and syntactic code analysis tools to assess privacy implementations within application code, and automatic code replacement tools to enhance privacy implementations. * Leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in generative artificial intelligence for privacy compliance. * Collaborate with other science and engineering teams as well as business stakeholders to maximize the velocity and impact of your contributions. A day in the life Amazon Privacy Services own products and programs that deliver technical innovation for ensuring Privacy Amazon services worldwide. We are hiring an innovative and high-judgement Senior Applied Scientist to develop AI solutions for builders across Amazon’s consumer and digital businesses including but not limited to Amazon.com, Amazon Ads, Amazon Go, Prime Video, Devices and more. Our ideal candidate is creative, has excellent problem-solving skills, a solid understanding of computer science fundamentals, deep learning and a customer-focused mindset. The Senior Scientist will serve as the resident expert on the development of AI agents for privacy. They build on their experiences to develop LLMs to develop AI implementations across privacy workflows. They will have responsibilities to mentor junior scientists and engineers develop AI skills. About the team Diverse Experiences Amazon Security values diverse experiences. Even if you do not meet all of the qualifications and skills listed in the job description, we encourage candidates to apply. If your career is just starting, hasn’t followed a traditional path, or includes alternative experiences, don’t let it stop you from applying. Why Amazon Security? At Amazon, security is central to maintaining customer trust and delivering delightful customer experiences. Our organization is responsible for creating and maintaining a high bar for security across all of Amazon’s products and services. We offer talented security professionals the chance to accelerate their careers with opportunities to build experience in a wide variety of areas including cloud, devices, retail, entertainment, healthcare, operations, and physical stores Inclusive Team Culture In Amazon Security, it’s in our nature to learn and be curious. Ongoing DEI events and learning experiences inspire us to continue learning and to embrace our uniqueness. Addressing the toughest security challenges requires that we seek out and celebrate a diversity of ideas, perspectives, and voices. Training & Career Growth We’re continuously raising our performance bar as we strive to become Earth’s Best Employer. That’s why you’ll find endless knowledge-sharing, training, and other career-advancing resources here to help you develop into a better-rounded professional. Work/Life Balance We value work-life harmony. Achieving success at work should never come at the expense of sacrifices at home, which is why flexible work hours and arrangements are part of our culture. When we feel supported in the workplace and at home, there’s nothing we can’t achieve.
US, WA, Seattle
Amazon's Price Perception and Evaluation team is seeking a driven Principal Applied Scientist to harness planet scale multi-modal datasets, and navigate a continuously evolving competitor landscape, in order to build and scale an advanced self-learning scientific price estimation and product understanding system, regularly generating fresh customer-relevant prices on billions of Amazon and Third Party Seller products worldwide. We are looking for a talented, organized, and customer-focused technical leader with a charter to derive deep neural product relationships, quantify substitution and complementarity effects, and publish trust-preserving probabilistic price ranges on all products listed on Amazon. This role requires an individual with excellent scientific modeling and system design skills, bar-raising business acumen, and an entrepreneurial spirit. We are looking for an experienced leader who is a self-starter comfortable with ambiguity, demonstrates strong attention to detail, and has the ability to work in a fast-paced and ever-changing environment. Key job responsibilities - Develop the team. Mentor a highly talented group of applied machine learning scientists & researchers. - See the big picture. Shape long term vision for Amazon's science-based competitive, perception-preserving pricing techniques - Build strong collaborations. Partner with product, engineering, and science teams within Pricing & Promotions to deploy machine learning price estimation and error correction solutions at Amazon scale - Stay informed. Establish mechanisms to stay up to date on latest scientific advancements in machine learning, neural networks, natural language processing, probabilistic forecasting, and multi-objective optimization techniques. Identify opportunities to apply them to relevant Pricing & Promotions business problems - Keep innovating for our customers. Foster an environment that promotes rapid experimentation, continuous learning, and incremental value delivery. - Deliver Impact. Develop, Deploy, and Scale Amazon's next generation foundational price estimation and understanding system