A Review : Artificial Neural Networks as Tool for Control Food Industry Process

In the last year, interest in using Artificial Neural networks as a modeling tool in food technology is increasing because they have found extensive utilization in solving many complex real world problems. Due to this and as previous step at development of some project, this paper intends to introduce the reader inside neural networks: general characteristics of the ANN, their architectures, their rules of learning, types of networks and ANN’s create process. Also this paper presents a comprehensive review of food industrial applications of artificial neural networks in the last year. ANN industrial applications are grouped and tabulated by their main functions and what they actually performed on the referenced papers with except the applications in the olive oil industry that are described with special emphasis.


Introduction
In the last decades important researches in the area of artificial intelligence were developed.One of the main objectives of the science is the implementation of new technologies with capacities approaching the human being, and even better.Artificial intelligence is a powerful accomplishment in various fields, since it can supplement the human being in various activities, both easy to perform, how complex and even impossible to make as it is carrying out an activity without interruption for long periods of time and where knowledge is required.
In the search on the nature of intelligent mechanisms to try to develop machines that perform complex tasks, it is important to observe certain characteristics of human brain that can be considered crucial to the development of artificial neural networks (ANN).
Artificial neural networks are control systems necessary to solve problems in which the analytical methods are difficult to apply and their results have to be in a specific interval, e.g., in real time.The main objective of ANN is the development of mathematical algorithms that will enable ANNs to learn by mimicking information processing and knowledge acquisition in the human brain.ANN models contain layers of simple computing nodes that operate as nonlinear summing devices.These nodes are richly interconnected by weighted connection lines, and the weights are adjusted when data are presented to the network during a "training" process.Successful training can result in artificial neural networks that perform tasks such as predicting an output value, classifying an object, approximating a function, recognizing a pattern in multifactorial data, and completing a known pattern [1] [2].The objective of this paper is to provide a preliminary understanding of ANNs and answer why and when these computational tools are needed, how they are used and their possible applications inside food industry and giving as example the field of the olive grove and olive oil industry.A field of olive oil which is undergoing a constant technological evolution.

Similarities between Biological Neural Networks (BNN) and Artificial Neural
Networks (ANN)

Biological Neuron
The human nervous system consists of billions of neurons of various types and lengths relevant to their location in the body.Every neuron shares many characteristics with other cells of the human body but it has particular and special properties to receive process and transmit an electric signal through all the interconnections of the brain communication system [3].Some neurons are connected with receivers or effectors and others are connected to transmit and process information.The area of connection is called a synapse and binds the axon of a neuron with dendrites of the adjacent as shown in Figure 1.
The information is transmitted from one neuron to another.This information is transmitted in the form of impulses through the dendrites.Impulses tend to excite the cell.When the excitation accumulated exceeds a threshold value, the neurons send a signal through the axon to other neurons.The majority of the ANN models present the basic operation of the neuron [4].

Artificial Neuron
Artificial neurons are models that attempt to simulate the behavior of biological neurons.Each neuron is represented by processing unit that forms a part of one greater entity: the neural network.In general, each neuron sends its output to others by its axon and the axon takes information through potential differences or waves of power, which depends on the potential of the neuron.The input signals are produced by its synapse, adding all excitatory influences [ANN simulates it by positive weights and inhibit by negative weights].If positive Figure 1.Structure ofa biological neuron.To can compare the performance of artificial neural it must know the structure of a biological neuron [4].excitatory influences dominate, the neuron gives a positive signal and sends this message to other neurons by its output synapse.According to Figure 2, this unit of process (artificial neuron) consists of a series of entries Xi (x 1 , x 2 ,…x n ), which are equivalent to the dendrites where they receive information in the form of stimulation.The weights that exist in the synapses Wi are equivalent in biological neuron to transmit mechanisms.The union of these values (Xi and Wi) equals the inhibitory and excitatory chemical signals that occur in the synapses and to induce neuron to change their behavior.These values are the gateway of the network weighting function that converts these values in potential.
This potential is equivalent to the total number of signals that arrive on a neuron in the biological neuron by their dendrites.The weighting function is a weighted sum of the inputs and the synaptic weights.The output of weighting function comes from the activation function that transforms this value into another form that the outputs neurons can work.The output network is evaluated in the activation function that gives rise to this neuron signal output to another neighbor.The activation function will be given by the potential of resulting that can be of different ways (Table 1).In summary, the artificial neuron behaves as a biological neuron but in a very simplified way [3].

Models of Artificial Neural Networks
In the Table 2 it can find the principal and known models of artificial neural networks.

Characteristics of an Artificial Neural Network
Artificial neural networks have a large number of features similar to the brain due to its constitution and its foundations, as it can be to learn from the experience [4].The artificial neural networks are increasingly used in new technologies in various areas, and present a lot of advantages such as: • Adaptive learning capacity consists on learning how to perform some tasks by training with illustrative examples.Neural networks are dynamic adaptive systems, due to their process units.The neurons can adjust themselves and change depending on the new conditions that appear.In fact, a neural network can generate its own weight distribution by means of learning and even after this continue learning.When designing a neural network must be given the appropriate structure for its learning and training with pattern.It is necessary to develop a good algorithm of learning that provides the network the ability to discriminate, by training with patterns. ) • Self-organization.The neural networks employ their ability to adaptive learning for to autoorganize the information they receive during learning and/or the operation.In this way, neural networks are able to give an answer to a new situation, solve problems in which the input information is not very clear or incomplete.• Tolerance to failures.Neural networks tolerate failures with respect to the data that extract or abstract the essential features of the learned entries, so they can properly process incomplete or distorted data.Furthermore, networks can continue their function (with some degradation) although destroyed part of the network.This is because the neural networks have their information distributed in the connections between neurons.These connections will have their values according to received stimuli, and an output pattern that represents the information stored that will generate.• Operation in real time.Neural computations can be performed in parallel.Most of the networks can operate in a real-time environment, the need for change in weights connections or training is minimal.• Easy insertion into existing technology.A network can be rapidly trained, tested, verified and transferred to a hardware implementation [5].

Architecture of a Neural Network
The artificial neuron is an element of simple processing that produces a single output from an inputs vector.When talk about architecture of an ANN, must be taken into account: • Number of level or layers: the distribution of neurons in the neural network is done forming levels or layers of a determined number of nodes each one.There are input, output and hidden layers.• Connection patterns depending on the links between the elements of the different layers.The ANN can be classified as totally connected when all the outputs from a level get to all and each one of the nodes in the following level.In this case, there will be more connections than nodes.When some links in the network are lost, the network is partially connected.• The direction of the information flow through the layers.The connectivity between the nodes of a neural network is related with the way in which the exits of neurons are directed to become into entrances other neurons.The output signal of a node can be one of the entrances another element of process, or even be an entrance to it.When any output of the neurons is input of neurons of the same level or preceding levels, the network is described as feedforward.By the contrary, if there is at least one connected exit as entrance of neurons of previous levels or of the same level, including themselves, the network is denominated of feedback.The feedback networks that have at least a closed loop of back propagation are called recurrent.

Process of Learning
Learning ANN consists in determining precise values of weights for all connections, all trained for the efficient resolution of a problem.During the training session, the weights converge gradually to the values that make each entry to produce the desired output vector [3].
The end of the learning period can be determined: • using a number fixed cycles, • when the error falls below a preset amount, • when the modification of the weights is irrelevant.
Depending on the scheme of learning and the problem to be solved, three types of learning schemes can be distinguished [4]: • Supervised learning.In the supervised knowledge the training is controlled by an external agent (supervisor, teacher), which watches the answer that the network is supposed to generate from a determined entrance.The supervisor compares the output of the network with the expected one and determines the amount of the modification to be made in the weight.The objective is to decrease the difference between the answer of the network and the desired values.For example the ANN that uses this type of learning is Adaline, MPL, BP, and Associative Memory Bi-directional.• Unsupervised learning.The ANNs with unsupervised learning (also known as self-supervised) do not require any external element to adjust the weight of the communication links to their neurons.The main problem in the unsupervised classification is to divide the space where the objects are in groups or categories.The ANN that use this type of learning are Hopfield, Machines Boltzmann and Cauchy, networks with competitive learning, such as SOM and ART.

ANN: Models, Characteristics, Architecture, Learning
The development of a successful ANN project has to be constituted for a number of stages, as illustrated in Figure 3.

Problem Definition and Formulation
In the first phase, the problem has to definite.There exist engineering problems for which finding the perfect solution requires a practically impossible amount of resources and an acceptable solution would be fine.ANNs can give good solutions for such classes of problems.

System Design
In order to select a good NN configuration, there are several factors to take into consideration.The major points of interest regarding the ANN topology selection are related to network design, training, and practical considerations.Some of the design considerations include determining the number of input and output nodes to be used, the number of hidden layers in the network and the number of hidden nodes used in each hidden layer.The number of input nodes is typically taken to be the same as the number of state variables.The number of output nodes is typically the number that identifies the general category of the state of the system.Each node constitutes a processing element and it is connected through various weights to other elements.In order to predict with the least possible error, these values must be optimized.The data must be enough big to cover the possible known variation in the problem domain.This database into three subsets for training-test and validation.The samples that compose the input and output must have the same format and must be normalized in the range 0 or 1 or −1 to 1 depending on the transfer function used.The initial weights of an NN play a significant role in the convergence of the training method.Knowing input data and output data and objects obtain, we can design ANN.First there was to choose to type of ANN and once defined the topology of the ANN it is required to establish algorithm that allow an adequation of the inner parameters of the network.

System Realization
System realization involves one of two basic steps, training/learning.In this training step, the connection parameters were adjusted with training function showed in

System Verification
Verification is intended to confirm the capability of the ANN based model to respond accurately to examples never used in network development.This stage includes comparing the performance of ANN based model to those of other approaches.For each training function, the matrix of weight must be optimized in its respective learning process.In the verification process, the obtained data by ANN must be compared with the real ones to optimize the parameters of the ANN by statistical tools.The testing/validation process is the final stage of the work.When all ANN parameters are optimized, the validation process is only used to test them.

System Implementation
This phase includes embedding the obtained network in appropriate working system such as hardware controller or computer program, depending of the function have ANN, such as, optimization process or control process or predict on-line.Final testing of the integrated system should also be carried out before its release to the end user.

System Maintenance
This stage includes update of the medium, changes in variables, new data that influence the development of the network.

Applications of Neural Networks
The ANNs are an emerging computer technology that can be used in a large number and variety of applications such as, control, monitoring and modeling, recognition, detection an research for patterns, predicts on-line, image processing, optimization and signal processing.This applications can use in several fields as production of manufacturing, agriculture…, business, marketing, medicine, transports, energy, trade the greater, etc… In this paper, we can see some examples, what use has artificial neural network in different food industry.

Control, Monitoring and Modeling of Industrials Processes
At present, the industry has a number of objectives: improve of quality products, reducing of waste, elimination of toxins, and above all the increase of the benefits.The industry has also to be efficient.For this reason neural networks are implanted in control, modeling and monitoring of existing industrial processes, thus reducing costs process and increasing the outputs, as it can be seen at the various articles referenced in the Table 3.

Recognition, Detection, Classification and Search for Patterns
The ANNs are used for recognition, detection, classification and search for patterns, e.g., for classification of seeds or apples in real time through digital images, analyzing texture and color.Besides defect detection on cherries or pattern recognition of fruit shape quantitatively between others as the Table 4 incanted.

Prediction On-Line Parameters
Predicting the behavior of an even which depends from the time, with base in a group of values that are obtained from different moments.In food industries, the ANNs are very used, overall for predict on-line quality and characteristics of food, parameters of elaboration process, prediction temperatures for food storage.The Table 5 shows some applications of ANN in food industry and kind of ANN used.

Image Processing
More than 200 applications of neural networks in image processing and discuss the present and possible future role of neural networks, especially feed-forward neural networks, Kohonen feature maps and Hop1eld neural networks.The various applications are used in different industries, for example in forest industry or clothe industry to see defects of raw material and final product.In food industry, the image processing method has become very popular and indirectly used to determine the sugar content of fruits.For example, high correlation coefficients have been obtained between the sugar content and the red value in the chromatic coordinates of banana peels [59] or the application of ANN to the color grading of apples [60].

Optimization
In general, the objective in optimization is to allocate a limited amount of resources to a set of certain partial tasks such that some objective or costs function is minimized (or maximized).A great number of variables usually enter the problem, and to evaluate and minimize the objective function, a combinatorial problem has to be solved.In the Table 6 we can be observed some examples of optimization of elaboration process conditions of food or optimization of storage conditions of vegetables and fruits between others.

Signal Processing
From a signal processing perspective, it is imperative to develop a proper understanding of basic neural network structures and how they impact signal processing algorithms and applications.A challenge in surveying the field of neural network paradigms is to identify those neural network structures that have been successfully applied to solve real world problems from those that are still under development or have difficulty scaling up to solve realistic problems.When dealing with signal processing applications, it is critical to understand the nature of the problem formulation so that the most appropriate neural network paradigm can be applied.In addition, it is also important to assess the impact of neural networks on the performance, robustness, and cost-effectiveness of signal processing systems and develop methodologies for integrating neural networks with other signal processing algorithms.Because of the ANN are used in different fields and industries.In food industry, we can find several researches.One of all develops two-way classification models using ANN to classify the stored beef meat samples into two groups: "unspoiled" and "spoiled"; based on the microbial population as alternative to electronic noise [67].

Applications in Field of the Olive Oil
In this field, the artificial neural networks have different applications: to classify the olive fruit for their E. Funes et al.Realizing the optimal control of the fruit-storage process.MLPFF Morimoto et al., (1997) [66] processing, to test the ripeness of fruit, to detect frauds or adulterations in the olive oils or to predict the characteristic of olive oil obtained and to optimize the extraction process of olive oil.For example, ANN was employed to fruit classification according to olive cultivar, as a tool to guarantee varietal authenticity.In this study, six olive cultivars of Trás-os-Montes region were collected in different groves and during four crop years.Ten biometrical parameters were measured and used for the linear discriminant analysis (LDA) and ANN classification model development.In this work, single MPLFF classification networks, trained using a supervised learning algorithm was used.The MLP methodology demonstrated to be a practical and effective tool for olive cultivar classification, showing high global sensitivity and specificity, even for unknown samples (76% and 78% for the validation data set, respectively).With this work between others, the olive oil producers can use to prevent possible olive oil adulterations with olives of non-allowed cultivars, according to the Protected Designation of Origin (DPO) or monovarietal olive oil's official regulation [68].
Other investigation described a novel method for rapid, automatic and objective prediction of the ripening index of an olive lot [69].The method used integrates a Machine Vision system, capable of performing a color-based raw prediction of ripening index, with an ANN based algorithm to refine it.Such a refinement was based on a set of chemical parameters (oil content, sugar content and phenol content) which were provided as input to the ANN and which can be obtained by historical curves for the region where the ripening index needs to be predicted.The training of ANN was carried out using rule based on the gradient descent BP algorithm with an adaptive learning rate.For other part, FFBP with Levenberg-Marquardt algorithm is used by Ram et al., (2010) to predict the quantity oil together with model linear regressions (MLR).Both based on quality features derived from known image processing algorithms [70].The ANNs were more accurate than linear regression, resulting in average linear correlations for two varieties of olives.
Due to the most recent changes in purchasing behavior of consumers are markedly affected by the increasing consumer's interest in a reliable geographical declaration of foods.As regards virgin olive oils, this information is deemed an additional warranty of their quality, authenticity, typicality and safety.For this purpose, Garcia-Gonzalez D. et al., (2009) proposed a new methodology based on MLP, a form of ANN that has been applied to the main series of compounds analyzed in oils to identify the geographical origin of virgin olive oil for this time [71].This work made a classification function of country, region, province and PDO.Torrecilla et al., (2013) joined to classification of extra virgin olive oils (EVOO) used ANN.This classification was made inside PDO with its owns olive oils.For this purpose, they used as input several parameters, such as, acidity, peroxide index, K 232 , K 270 , ∆K, moisture and volatile compounds.With this research we can observed the capability of supervised ANN models with smaller topologies to classify very similar EVOO samples, also these techniques can be applied to detect adulterations [72].These researchers used a self-organizing map (SOM) to classify the aforementioned UV-vis signals from pure EVOO and adulterated samples with different additives and signals of pure EVOO with addition of two different types of noises.This can be a tool to detect adulterations although it still requires an optimization.This type of ANN was used by Marini et al., (2007) together with a MLPFF [73].Zupan et al., (1994) already used ANN to classify olive oils.The classification was performed on analysis of eight fatty acids of Italian olive oils.In this research, BP and Kohonen were compared with prediction approximated 95% [74].
ANNs also have other function inside olive oil field, such as, inside extraction process of olive oil.Furferi et al., 2007Furferi et al., , 2008, development artificial neural network to predict of the two parameters: acidity level and peroxides of olive oil extracted by a continuous extraction process.Thus, allowing a real-time control of oil quality during the extraction process.BP was used on two different neural network referring to a 3 phases and 2 phases decanting technology which results obtained were acceptable [75] [76].
On the other hand, ANNs are an adequate tool to estimate the concentration of phenolic compounds, a pollutant with a high environmental impact in olive oil mill wastewater, without any previous phenological knowledge [77].The type of ANN used in this work is a BP with feed-forward connections between neurons or back connections with a prediction horizon and supervised learning.The ANNs developed and optimized was able to predict the caffeic acid concentration value in a waste stream from olive oil extraction.This research had important results because the difference between the real and the predicted values was about 5%.In other study performed by the same investigators, an integrated artificial neural network (ANN)/laccase biosensor is designed to prediction of cathecol concentration of olive oil mill wastewater.The obtained results gave difference between the real and the predicted values less than 1% [78].
Other researchers as Bordons and Cueli in (2004) intended to find an application of a predictive controller that deals with measurable disturbances in extraction process in an olive oil mill.This research was focused on the thermal part of the process and it shown the combination of experimental results with validated results.This work didn't use ANN as tool of work but we can observe as if other researchers used this tool for elaboration process optimization [79].This is the case of Jiménez et al., 2008Jiménez et al., , 2009 [2] [2] [80].In this work the authors built an ANN for real-time prediction of the moisture and fat content in olive pomace using two-phase olive oil processing.With help of AOTF-NIR system that obtained the oil spectrum from horizontal decanter and data analysis, they development an ANN based on the BPFF.These ANN's predictions can be performed quickly during the extraction process, allowing a rapid regulation of technological variables for minimal fat loss.

Conclusion
In this review the reader can introduce principal characteristics and the ANN's creation process in the ANN's world.Although the fundamental conclusion is numerous applications that ANNs have as we can observe in this review.In some field the ANNs can be used for their enormous advantages, over all for their ability to learn from examples make them efficient problem solving paradigms.Older artificial neural networks have limitations that should not be overlooked, the interest in ANN's field continues growing and optimizing better for solving, controlling or modeling all class of problems that can appear.

Figure 2 .
Figure 2. Similarity among a biological neuron and an artificial neuron.In this figure it can observe the difference and similarly between both neuron [4].

Figure 3 .
Figure 3.The various phases in an ANN development project.These stages are fundamental to right performance of ANN (own elaboration).

Table 1 .
[4]es of activation of an artificial neural network.These roles are necessary can activate an ANN.According the use of which network the role will be different[4].

Table 2 .
Summarize the well-known neural networks models (own elaboration).

Table 1 ,
such that, for the given dataset the neural network-predicted output dataset matched with real output dataset.The training step is influence for various parameters (network size, learning rate, number of training cycles, acceptable error, etc.) can affect the design and error of the final network.For this, we must considered determining the input and output variables, choosing the size of the training data set, initializing network weights, choosing training parameter values (such as learning rate and momentum rate), and selecting training stopping criteria, are important for several network topologies.In function of ANN type we choose of type supervised or not supervised learning.The number of training examples used to train an ANN is sometimes critical to the success of the training process.If the number of training examples is not sufficient, then the network cannot correctly learn the actual input-output relation of the system.If the number of training examples is too large, then the network training time will be longer.For some applications, such as real-time adaptive neural control, training time is a critical.

Table 3 .
Several examples of application of control, monitoring and modelling of industrial process (own elaboration).

Table 4 .
Several examples of application of recognition, detection, classification and research for patterns (own elaboration).

Table 5 .
Several examples of application prediction on-line parameters (own elaboration).

Table 6 .
Several examples of application optimization (own elaboration).