Pigs can be trained to use computer joysticks, say researchers

Study found pigs were able to move a cursor to hit a wall on a screen and earn a treat

They’ve long been thought of as smarter than your average animal, but now researchers claim they have taught pigs to use a joystick, suggesting they are even cleverer than previously thought.

Pigs have previously been found to be capable of a host of tasks, including solving multiple-choice puzzles, and learning commands such as “sit”.

Now researchers in the US say they have successfully trained four pigs to manipulate a joystick and control a cursor on a monitor.

“Potentially there may be more that pigs are capable of learning and understanding and responding to than we have previously envisaged,” said Prof Candace Croney of Purdue University, who co-authored the research.

Writing in the journal Frontiers in Psychology, Croney and co-author Dr Sarah Boysen report how they used tasty treats to train the pigs to move the joysticks using their snouts while watching a computer screen.

The researchers then presented the quartet with a video game in which the pigs had to use the joystick to manoeuvre a cursor until it collided with one of four wall-like structures on screen. Upon collision the game made a “bloop” sound and the pig received a treat.

The more successful the pig was, the fewer the number of walls presented in the game.

The team analysed the last 50 trials by each pig on the three-, two- and one-wall scenarios in turn, determining how often the pig hit a target wall with their first cursor movement.

The results reveal Hamlet and Omelette, three-month-old male Yorkshire pigs, were able to complete the task better than chance when presented with two walls or a single wall on screen, but not when presented with three walls.

However the pigs grew out of gaming.

“After 12 weeks of training, Hamlet and Omelette were terminated from the experiment because they had grown too large to stand long enough to complete sessions, and also no longer fit within the constraints of the test pen,” the team write.

The picture was more mixed for Ebony and Ivory, two-year-old male Panepinto micro pigs who had 15 months of training and testing: both did better than chance when presented with three walls or one wall, but only Ivory did better than chance on the two-wall condition.

“That the pigs achieved the level of success they did on a task that was significantly outside their normal frame of reference is in itself remarkable, and indicative of their behavioural and cognitive flexibility,” the researchers write, adding that encouragement from the pigs’ trainer seemed as important as treats, if not more so, in spurring the animals on.

However, the pigs didn’t do as well overall at the game as previously found for non-human primates such as rhesus monkeys.

While the researchers say this could be down to differences in ability to grasp the concept of the game, other factors might be at play, including that the pigs were far-sighted, had limited dexterity, and had to keep looking down and up during the task as a result of moving the joystick with their snout.

The team suggest that touchscreens, rather than joysticks, might prove valuable in further probing the porcine cognitive capabilities.

Dr Emily Bethell, a senior lecturer in primate social cognition, behaviour and welfare at Liverpool John Moores University, who was not involved with the work, agreed it was necessary to adapt experimental set-ups to the animals involved, but said the study added to what many experts already know: “Pigs are smart,” she said.


Nicola Davis Science correspondent

The GuardianTramp

Related Content

Article image
Cockatoo choreographs his own dance moves, researchers believe
New study of Snowball the prancing parrot points to bird at peak of his creative powers

Ian Sample Science editor

08, Jul, 2019 @3:00 PM

Article image
UK researchers hope dogs can be trained to detect coronavirus
£500,000 government funding for project that ‘could revolutionise’ screening

Frances Perraudin

15, May, 2020 @11:01 PM

Article image
You can teach an old dog new words, researchers find
Canines in Hungarian study appear to pick up unfamiliar terms through play

Nicola Davis Science correspondent

26, Jan, 2021 @10:00 AM

Article image
Dogs trained to detect prostate cancer with more than 90% accuracy
The ability of two German shepherds to identify the most common form of cancer in British men has sparked hopes of finding a practical application

James Meikle

10, Apr, 2015 @11:00 PM

Article image
Dogs mirror stress levels of owners, researchers find
Scientists find higher cortisol levels in owners matched by raised levels in canine companions

Ian Sample Science editor

06, Jun, 2019 @1:29 PM

Article image
Meaty meals and play stop cats killing wildlife, study finds
Millions of pet cats are estimated to kill billions of animals a year but grain-free food can change cat behaviour

Damian Carrington Environment editor

11, Feb, 2021 @4:00 PM

Article image
'What's that Skip?' Researchers say kangaroos can communicate with people
Study shows animals with no long history of domestication show patterns of interaction with humans similar to that of dogs or horses

Matilda Boseley

16, Dec, 2020 @1:25 AM

Article image
Injured ants get rescued after sending chemical SOS, researchers find
Human army like behaviour of rescuing mates observed in ants raiding termite mounds where pheromone secretion acts as distress call

Nicola Davis

12, Apr, 2017 @6:00 PM

Article image
Dogs communicate different feelings with right or leftward tail wagging
A dog can distinguish a happy, friendly pooch from an anxious, threatening one from the way it wags its tail

Ian Sample, science correspondent

31, Oct, 2013 @5:19 PM

Killer whale Tilikum to be spared after drowning trainer by ponytail

Dawn Brancheau was playing with the animal, which she had known for 16 years, when it pulled her underwater

Ed Pilkington in New York

25, Feb, 2010 @8:56 PM