Skip to main contentSkip to navigationSkip to navigation
Pig
‘There may be more that pigs are capable of learning and understanding and responding to than we have previously envisaged,’ said the study’s co-author Photograph: DON McPHEE/The Guardian
‘There may be more that pigs are capable of learning and understanding and responding to than we have previously envisaged,’ said the study’s co-author Photograph: DON McPHEE/The Guardian

Pigs can be trained to use computer joysticks, say researchers

This article is more than 3 years old

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.

More on this story

More on this story

  • Birds create barcode-like memories to locate stored food, scientists find

  • Dogs may wag their tails so much due to rhythm-loving humans, scientists say

  • Bats ‘leapfrog’ back to roost to stay safe from predators, study finds

  • A cockatoo: they have so much fun because they are so clever

  • House-proud Welsh mouse may be ‘tidying’ for fun, say scientists

  • Mouse secretly filmed tidying man’s shed every night

  • Can Staten Island learn to love its ‘nuisance’ wild turkeys?

  • Roosters may be able to recognise their reflection, study finds

  • Female frogs appear to fake death to avoid unwanted advances, study shows

Most viewed

Most viewed