Generative AI for formulation, regulatory review and packaging design

GENERATIVEFOOD II project

Picture of César Asensio
César Asensio

26 Nov 2026

Developing a new food product involves making decisions about formulation, regulations and packaging, which are usually addressed separately using scattered information. The GENERATIVEFOOD II project, developed by AINIA with the support of IVACE+i and co-funded by the European Union, has investigated how to integrate generative artificial intelligence into this process without requiring companies to change the way they work. The result is a range of tools tested in real-world cases in collaboration with companies from the Valencian agri-food sector.

A project designed around business needs

Generative AI is now accessible to everyone, but a generic assistant does not know a company’s formulations, may provide plausible but incorrect answers, and does not know which regulations apply to each product. In food product development, an error of this kind can result in incorrect labelling or a formulation that cannot be manufactured.

GENERATIVEFOOD II addresses this problem. Its objective was to develop and validate generative AI-based tools to optimise formulations and packaging designs, while ensuring their industrial feasibility, regulatory compliance and consumer acceptance.

The project arose from the need to introduce artificial intelligence into the Valencian industrial sector without completely changing the way companies work.

To this end, four specific use cases were defined, focusing on three areas of product development: formulation, packaging design and verifying that both decisions comply with legislation.

Formulation based on a natural language request

The first result is a formulation assistant. The R&D technician describes what they want to achieve, for example reducing the fat content of a product or making it suitable for people with coeliac disease, and the system translates that request into an optimisation problem with its objective and constraints relating to composition, ingredients and internal requirements.

The calculation is not performed by the language model, but by an optimiser. This ensures that the proposed formulation is numerically consistent and can be justified. The system works with ingredients from the company’s database or those available to AINIA, and displays the composition before and after the change.

The final decision rests with the technician, who reviews the limits, decides whether to accept the new formulation and can activate the regulatory compliance check within the same workflow. The assistant has been tested in real-world reformulation cases across different product categories.

Automatically check regulatory compliance

The second result is a legal assistant that answers questions about food legislation in natural language. Before responding, it searches official sources, primarily the BOE and EUR-Lex, and indicates the legislation on which each answer is based, together with a link to the relevant text.

This allows the technician to verify the source of each answer rather than simply taking it on trust. Connected to the company’s systems, the assistant can also check whether the products and packaging proposed by the AI comply with applicable regulations. The answers have been validated by AINIA’s food regulatory advisory team.

Consumer-driven packaging design

Generating packaging images with AI is straightforward; the challenge is ensuring they comply with brand guidelines, mandatory labelling and the technical constraints of the packaging, while also appealing to consumers. To address this, the project has created a workflow in which the company’s brief is converted into instructions that the AI follows in every proposal.

Each cycle generates dozens of designs, which are screened against technical and regulatory criteria. The shortlisted designs are evaluated by consumers through online tests and eye-tracking, and their feedback is fed back into the system to guide subsequent proposals towards designs with the greatest likelihood of acceptance. The workflow has been validated with consumers in a real-world packaging redesign case.

Retrieving what the company already knows

Many companies have accumulated years of formulations and test results scattered across folders and documents that are difficult to search. Another area of the project focused on making this information accessible to product development technicians: they can ask questions in natural language and find what has already been done, always within a controlled environment.

At Manufacturas Taberner, the tool makes it possible to search and compare documentation on previous developments and access information more efficiently. The time saved on these searches can be devoted to research and development tasks.

Along the same lines, the project has tested lightweight language models that run on in-house infrastructure. The aim is to ensure that companies’ sensitive information does not have to be sent to external services.

Developed in collaboration with companies

The tools have been built around real challenges faced by Valencian agri-food companies, which contributed their use cases and the expertise of their technical teams. Follow-up meetings with the companies helped guide the solutions to ensure they meet the needs of the Valencian industrial sector.

In the following video, we present the project’s results and feature a testimonial from Manufacturas Taberner on using the tool to consult documentation from previous developments.

How AINIA can help you

If your company wants to explore how to apply generative AI to formulation, regulatory compliance or packaging design, at AINIA we can help you identify the use cases with the greatest impact and test them using your own data. You can request more information about the results on the project page.

 

The GENERATIVEFOOD II project (IMDEEA/2025/82) is supported by the Generalitat Valenciana through IVACE+i and co-funded by the European Union through the ERDF.

 

Share this article
Picture of César Asensio
César Asensio

Técnico de proyecto

Investigador y tecnólogo especializado en la aplicación de inteligencia artificial y ciencia de datos a entornos complejos y multidisciplinares. Licenciado en Ciencias de la Computación y Telecomunicaciones por la Universidad de Valencia (2007) y Máster en Telecomunicaciones (2010), comenzó su trayectoria en el Instituto de Investigación en Robótica de Valencia, donde participó durante siete años en proyectos nacionales e internacionales centrados en tecnologías inteligentes y sistemas de comunicación avanzada.

En 2017 obtuvo su Doctorado por la Universidad de Agder (Noruega), donde profundizó en el desarrollo de modelos de aprendizaje automático aplicados a sistemas inalámbricos dentro del prestigioso laboratorio WISENET. Posteriormente, como investigador en el I2SysBio (Instituto de Biología Integrativa de Sistemas) en Valencia, combinó modelos predictivos y simulación computacional para desentrañar la dinámica de sistemas biológicos, integrando la IA con la biología y la bioinformática.

Autor de más de 25 publicaciones científicas entre artículos, proceedings y capítulos de libro, su trabajo refleja una constante búsqueda de sinergias entre la inteligencia artificial, la modelización matemática y la ingeniería de datos.

Actualmente, en AINIA, aplica su experiencia en IA, machine learning y análisis de datos al sector agroalimentario, impulsando la digitalización y el desarrollo de soluciones inteligentes que contribuyen a una producción más eficiente, sostenible y basada en el conocimiento.

Interested in this topic?

Leave us your details and we will contact you to answer your questions or continue the conversation.

César Asensio
Técnico de proyecto

Related news

Access to AINIA Network

This area is exclusive to AINIA Network members. If you are already a member, log in with your password. If not, you can request access.