A future for pigs

How AI might be the future for pig farming and pork production

Artificial intelligence could provide a future for smart pig farming <i>(Image: Aryanne Finnie)</i>
Artificial intelligence could provide a future for smart pig farming (Image: Aryanne Finnie)
This article is brought to you by our exclusive subscriber partnership with our sister title USA Today, and has been written by our American colleagues. It does not necessarily reflect the view of The Herald.

When thinking of pork production, most people would imagine pigs roaming in open muddy fields. Modern pig farming has moved indoors allowing for greater numbers of pigs to be farmed in a reduced space. Within the US and China, the agricultural industry is rapidly changing to take advantage and moving to a more indoor mechanised approach to expand production and meet ever increasing demands. Most pig housing in the UK is over ten years old highlighting the need to invest, innovate and take advantage of advancements to stay competitive.

Recently, the advent of artificial neural networks and artificial intelligence (AI) have been touted as advances that most if not all industries can benefit from. AI has the potential to drive the pork industry into a data-driven machine-lead operation. The capability of current monitoring technology combined with AI may offer interesting farming approaches allowing farmers to improve yield without compromising animal welfare while also reducing manpower requirements.

 AI may be used to monitor a variety of aspects of pig farming ranging from animal health to supply chain management:

·       Pig vocalizations offer the capabilities to monitor a multitude of behaviours and respiratory disease. Use of AI in monitoring of pig vocalizations has been used to identify important audio cues such as pig coughs, behaviours such as feeding as well as tail biting and piglet crushing. Importantly, the accuracy of these techniques varies from 90% in coughs down to 25-50% for tail biting/piglet crushing. It is important to note that these sounds are heavily affected by farm environments, factors such as the base noise of farms to the humidity to the current season affects the vocalizations of pigs and may need monitoring for an effective analysis of vocalizations.

·       Further monitoring of pigs can be achieved through visual monitoring of pig health though the impact of AI on this has not been fully explored. A sow estrus detection system has been developed with accuracy ranging between 80-90%. Beyond external monitoring of conditions, use of AI has been suggested in combination with artificial insemination to ensure that the highest possible fertility is achieved as the conditions required for training AI have been generated.

·       AI also has potential in monitoring and supplying feed to pigs, optimising the nutrition and feed quantities with the potential to reduce costs to farmers whilst maximising the meat output of pigs.


Despite the potentially high value of AI models, there are many potential downsides for these. The models described and techniques used need a significantly greater deal of validation to confirm that they can improve pig farming and the degree of improvement is unclear. Expanding on this, the accuracy of these models, particularly those involving audio and visual sampling, is heavily dependent on the farm environment due to variation in farms and environments. AI models may need training on the specific farm thereby adding to costs and raising ethical questions in who owns any data generated by these models. Requirements also include somewhat specialised equipment in the form of cameras, microphones and potentially consistent internet connections. Installation of these devices will likely need farms to be indoor farms to maintain constant surveillance of pigs, which, given that a large proportion of UK pig farms are outdoor, makes this costly and likely unfeasible in their current state.

Overall current AI models may offer increased efficiency within pig farming and improve overall yields, however further validation is required, and costs will likely need to go down before adoption into current farming techniques.

Get involved
with the news

Send your news & photos