# How Hershey uses AI in manufacturing

> 1 sourced AI use case in the AI Agents for Manufacturing library where Hershey is named, with the reported result, evidence level, AI tools and sources.

- Canonical URL: https://aiagentsformanufacturing.com/companies/hershey/
- Use cases: 1
- Last updated: 2026-12-02
- Publisher: AI Agents for Manufacturing (https://aiagentsformanufacturing.com)
- Evidence levels explained: https://aiagentsformanufacturing.com/evidence/
- All manufacturers: https://aiagentsformanufacturing.com/companies.md
- All cases: https://aiagentsformanufacturing.com/llms.txt

Figures are as reported by each case's sources (often the vendor or the company itself) and are not independently verified; each case page says who reports them.

## [Machine learning predicts the fill or piece weight from upstream process data and adjusts the filler or extruder before the checkweigher sees a drift: overfill giveaway cut by 50% on Unilever's Hellmann's mayonnaise line, weight variability cut by 50% on a Hershey Twizzlers line (Unilever, Hershey)](https://aiagentsformanufacturing.com/use-cases/ai-fill-weight-giveaway-reduction-overfill-filler-extruder-control-unilever-hellmanns-hershey/)

- Markdown: https://aiagentsformanufacturing.com/use-cases/ai-fill-weight-giveaway-reduction-overfill-filler-extruder-control-unilever-hellmanns-hershey.md
- Evidence level: Verified
- Department: Production
- Role: Prediction of the next jar, bottle or piece weight (or fill level) from upstream process variables, with automatic adjustment of the filler or extruder settings to run closer to the declared quantity without underfills
- AI tools deployed: Rockwell Automation FactoryTalk LogixAI (https://aiagentsformanufacturing.com/tools/rockwell-automation-factorytalk-logixai.md), Microsoft Azure Machine Learning (https://aiagentsformanufacturing.com/tools/microsoft-azure-machine-learning.md)
- Other manufacturers in this case: Unilever (https://aiagentsformanufacturing.com/companies/unilever.md)
- Added: 2026-12-02

Unilever Pouso Alegre (Packaging World report of a Unilever and Rockwell Automation presentation at Automation Fair, November 2024): finished goods overfill giveaway on the Hellmann's line reduced by 50%, with a tighter fill distribution closer to 500 g without going under. Hershey (CNBC, May 2017, quoting Hershey's George Lenhart): the line adjusts itself about 240 times a day instead of 12 manual adjustments, and weight variability fell by 50%; Lenhart told TechRepublic that every 1% of size brought closer to the precise weight in a 14,000-pound batch saves $500,000 in ingredients, and the sensors also revealed a tank level that caused variability, fixed by reprogramming the tank. Krones (Krones magazine, November 2024): the AI fill level control has been field-tested and is in use at a major unnamed customer on a Dynafill filling about ten products; a new product was set up in 15 minutes instead of the half hour planned; no reject or giveaway figure is published.

Sources:
- https://www.packworld.com/trends/digital-transformation/article/22926775/unilever-optimizes-hellmanns-mayo-fill-levels-with-rockwells-aibased-predictive-analytics
- https://www.cnbc.com/2017/05/21/hersheys-pennsylvania-twizzler-factory-uses-microsoft-artificial-intelligence.html
- https://www.techrepublic.com/article/how-hershey-used-the-cloud-to-deploy-iot-and-machine-learning-without-a-data-scientist/
- https://www.krones.com/en/company/press/krones-magazine/innovation/ai-ensures-accurate-fill-levels/

---
Please cite the canonical URL: https://aiagentsformanufacturing.com/companies/hershey/
