NEW YORK — In the film "Eternal Sunshine of the Spotless Mind," the characters undergo a scientific procedure to erase their memory. But what if instead of erasing memory, you could restore it? One neuroscientist aims to do just that.

Theodore Berger of the University of Southern California is developing a prosthesis to restore memory, by replacing a circuit in the brain's hippocampus. Berger described the device at the Global Future 2045 International Congress, held here June 15-16. Already successful in rats and monkeys, the prosthesis is now being tested in humans.

Memory machine

The hippocampus, a brain structure tucked deep in the brain's temporal lobe, converts short-term memories to long-term ones. Epilepsy or other neurological disorders can damage the hippocampus, preventing a person from retaining new memories. [5 Crazy Technologies That Are Revolutionizing Biotech]

The device Berger and his colleagues are developing could replace parts of a damaged hippocampus, and even enhance an intact one. A tiny chip of electrodes implanted in the hippocampus records signals representing a short-term memory; the signals are sent to a computer that mathematically transforms them into a long-term memory; and signals representing the long-term memory are sent to a second set of electrodes that stimulates another layer of the hippocampus.

The point of the device is not to identify individual memories, but to learn how they are transformed into long-term memory. "It's like learning rules for translation," Berger said, adding that the memories are like words, and the mathematical transformation is like a translator.

Berger's team tested the device in rats trained in a simple memory task. Each rat (with the prosthesis) was placed in a chamber with two levers. First, the lever on just one side was presented, and the rat would push it. After a short waiting period, the levers on both sides would appear, and if the rat pushed the opposite lever from the one it pushed before, the rat got a sip of water. Performing the task successfully required the rat to remember which lever it pushed originally.

To test their memory prosthesis, the researchers injected some of these rats with a drug that impaired the rats' natural memory function, and tested the animals in the lever experiment. The rats were still able to push the correct lever to receive their drink, suggesting they were able to form new memories. In other words, the rats' brain implant was remembering for them.

Remarkably, the researchers found that the prosthesis could enhance memory function in rats even when they hadn't been given the drug that impaired their memory.

Replacement recall

Berger's team found that the device was similarly effective when they tested it in monkeys. The researchers are now running a human trial on patients with epilepsy. They haven't gotten much data yet, Berger said, but he thinks it will be fascinating.

Figuring out how to mathematically transform a short-term memory into a long-term one is a major challenge, Berger said — you only have one shot at getting it right.

The brain's adaptability, or plasticity, is going to be hugely important for the device's effectiveness in humans, Berger said. "There's going to be more influence of the human on the device than the device on the human."

Ultimately, the hope is that memory prostheses could restore or enhance human memory. But the philosophical implications of meddling with memory are immense: If humans could control memories, could they also alter them? Could memories be decoded and used as evidence in a courtroom? And could people erase memories and replace them with new ones altogether? For now, at least, these are questions for the future.

Follow Tanya Lewis on Twitterand Google+. Follow us @livescience, Facebook& Google+. Original article on LiveScience.com.

Copyright 2013 LiveScience, a TechMediaNetwork company. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Also on HuffPost:

Loading Slideshow...
  • The Brain As Art

    Wellcome Trust employee Zoe Middleton poses for the media by a work entitled 'My Soul' by artist Katherine Dawson, that is a laser etched in lead crystal glass of the artist's own MRI scan, at an exhibition call 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March, 27, 2012. The free exhibition is open to the public from March 29- June 17. (AP Photo/Alastair Grant)

  • French Phrenological Model

    A French Phrenological model, from the mid 19th century, of a head with brain exposed is seen on display at an exhibition call 'Brains - The Mind as Matter' at the Wellcome Collection in London, Tuesday, March 27, 2012. The free exhibition is open to the public from March 29- June 17. (AP Photo/Alastair Grant)

  • Pathologies In Brain Specimens

    A selection of brain specimens preserved in acrylic illustrating different pathologies on loan from the Mutter Museum -The College of Physicians of Philadelphia are seen on display at an exhibition call 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March 27, 2012. (AP Photo/Alastair Grant)

  • Surgical Skull Holes

    A Bronze Age skull from Jericho in the West Bank that shows four holes made by the ancient surgical process of trephination carried out to treat a range of medical conditions, some of which were believed to have been caused by evil spirits, is on display at the exhibition 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March 27, 2012. (AP Photo/Alastair Grant)

  • Diagrams of the Skull

    A member of the media takes an image of diagrams of the human skull at an exhibition call 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March 27, 2012. The free exhibition is open to the public from March 29- June 17. (AP Photo/Alastair Grant)

  • 'Brains - Mind as Matter'

    A Wellcome Trust employee stands in front of a video that journeys through slices of the brain in a kaleidoscope of colour at an exhibition call 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March 27, 2012. (AP Photo/Alastair Grant)

  • Bits of Brilliance: Einstein's Brain

    Two slices of Albert Einstein's brain are seen at an exhibition call 'Brains -The Mind as Matter' at the Wellcome Collection in London, Tuesday, March, 27, 2012. The brain matter was prepared by Dr Thomas Harvey who was working at the hospital where Einstein died in 1955. (AP Photo/Alastair Grant)