With the development of computational technology, neural network has attracted the more and more attentions to reveal the relationships between the process parameters and welding geometry. However, the Gas Metal Arc (GMA) welding is complex and of multiple interactions so that mathematical model for welding parameters has not been achieved. Neural networks have been noted as being particularly advantageous for modeling systems which contain noisy, fuzzy and uncertain elements, while a sufficient algorithm is employed. In this study, Levenberg-Marquardt algorithm was employed into GMA welding process. Mahalanobis Distance (MD) was measured to determine the on-line welding quality to avoid joint failure as welding quality. To get an optimal neural network, cases with different configurations were carried out. The Root of the Mean sum of Squared (RMS) error was adopted to evaluate the accuracy of the prediction by neural networks with LM algorithm. The results presented that the proposed algorithm had the superiority of high accuracy that can be used in the on-line welding process.