Home Technology peripherals AI Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

Jul 24, 2024 am 09:38 AM
Neural Networks industry

This is the first time humans have demonstrated that neural networks can create their own maps. Imagine that you are in a strange town. Even if the surrounding environment is unfamiliar at first, you can explore around and eventually draw a map of the environment in your brain, which includes buildings, streets, signs, etc. that interact with each other. positional relationship between them. This ability to construct spatial maps in the brain underlies higher-order types of cognition in humans: for example, language is theorized to be encoded by map-like structures in the brain. However, even the most advanced artificial intelligence and neural networks cannot build such a map out of thin air. Matt Thomson, assistant professor of computational biology and a researcher at Heritage Medical Research Institute, said: "There is a sense that even the most advanced artificial intelligence models are not truly intelligent. They cannot solve problems like us; they cannot prove unproven Mathematical results also fail to generate new ideas. "We think this is because they cannot navigate in conceptual space; solving complex problems is like moving in conceptual space, like navigation. AI does more like rote learning. Back - you give it an input, and it gives you a response. But it can't synthesize different ideas." Recently, a new paper from the Thomson Laboratory found that neural networks can use an algorithm called "predictive coding." Construct spatial maps. The paper was published in the journal Nature Machine Intelligence on July 18.

Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

1. Paper address: https://www.nature.com/articles/s42256-024-00863-1
  1. Code address: https://github.com/jgornet/predictive-coding-recovers-maps

Graduate student James Gornet led the team to build an environment in Minecraft, incorporating complex elements (such as trees, rivers, caves). They recorded videos of players randomly walking through the area and used the videos to train a neural network equipped with a predictive coding algorithm.

Research has found that neural networks learn how objects in the Minecraft world are organized and can "predict" the environment players will encounter when moving through space.

Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

The combination of the predictive coding algorithm and the Minecraft game successfully "taught" the neural network how to create spatial maps and then use these spatial maps to predict subsequent frames of the video. As a result, the mean square error between the predicted image and the final image was only is 0.094%.

More importantly, the research team "opened" the neural network (equivalent to examining the internal structure) and found that the representations of various objects are spatially stored relative to each other. In other words, they saw a map of the Minecraft environment stored in a neural network.

Neural networks can navigate maps given to them by human designers, such as self-driving cars using GPS, but this is the first time humans have demonstrated that neural networks can create their own maps. This ability to store and organize information spatially will eventually help neural networks become more "smart," allowing them to solve truly complex problems like humans.

This project demonstrates the true spatial awareness capabilities of AI, which is still not seen in technologies like OpenAI’s Sora, which has some weird glitches.

James Gornet is a student in the Computational and Neural Systems (CNS) Department at Caltech, which covers neuroscience, machine learning, mathematics, statistics, and biology.

“The CNS program really provides a place for James to do unique work that wouldn’t be possible elsewhere,” Thomson said. “We are taking a biologically inspired machine learning approach that allows us to reverse-engineer the properties of the brain in artificial neural networks, and we hope to understand the brain in turn. At Caltech, we have a very receptive team to this kind of work. Community. 》

Neural Networks that Perform Predictive Coding

Inspired by the implicit spatial representation in the predictive coding inference problem, the researchers developed a computational implementation of a predictive coding agent and studied the agent's behavior while exploring a virtual environment. Learned spatial representation.

They started by creating an environment using the Malmo environment in Minecraft. The physical environment has dimensions of 40 × 65 tiles and encompasses three aspects of the visual scene: a cave provides a global visual landmark, a forest enables similarity between visual scenes, and a river with a bridge limits the visual scene. How the agent traverses the environment (Fig. 1a).

Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

1. The agent follows a path determined by an A* search to find the shortest path between randomly sampled locations and receives a visual image on each path.
  1. To perform predictive coding, the author built an encoder-decoder convolutional neural network, the encoder adopts ResNet-18 architecture, and the decoder adopts transposed convolutional ResNet-18 architecture (Figure 1b). The encoder-decoder architecture uses the U-Net architecture to pass the encoded latent units into the decoder.
  2. Multi-head attention processes encoding latent unit sequences to encode past visual observation history. The multi-headed attention has h = 8 heads. For a coding latent unit of dimension D = C × H × W, with height H, width W, and channel C, the dimensions of a single head are d = C × H × W/h.

    Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

    The predictive encoder adopts the mean square error minimization strategy to fit the difference between the predicted observation value and the real observation value.

Training details:

  • Number of samples: 82,630
  • Evolutions: 200
  • Optimizer: Nesterov Momentum Gradient Descent
  • Weight decay: 5 × 10^(-6)
  • Initial learning rate: 10^( -1)
  • Learning rate scheduling: After OneCycle

training, the predictive encoder achieves good visual fidelity, and the mean square error between the predicted image and the real image is 0.094 (shown in Figure 1c).

Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine

Please see the original paper for more details.

Reference link:

https://techxplore.com/news/2024-07-neural-network-minecraft.html

https://www.tomshardware.com/tech-industry/artificial-intelligence/neural- network-learns-to-make-maps-with-minecraft-code-available-on-github

The above is the detailed content of Neural networks also have spatial awareness! Learn to create maps in Minecraft, published in Nature sub-magazine. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1671
14
PHP Tutorial
1276
29
C# Tutorial
1256
24
DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners Aug 09, 2024 pm 04:01 PM

But maybe he can’t defeat the old man in the park? The Paris Olympic Games are in full swing, and table tennis has attracted much attention. At the same time, robots have also made new breakthroughs in playing table tennis. Just now, DeepMind proposed the first learning robot agent that can reach the level of human amateur players in competitive table tennis. Paper address: https://arxiv.org/pdf/2408.03906 How good is the DeepMind robot at playing table tennis? Probably on par with human amateur players: both forehand and backhand: the opponent uses a variety of playing styles, and the robot can also withstand: receiving serves with different spins: However, the intensity of the game does not seem to be as intense as the old man in the park. For robots, table tennis

The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home Aug 21, 2024 pm 07:33 PM

On August 21, the 2024 World Robot Conference was grandly held in Beijing. SenseTime's home robot brand "Yuanluobot SenseRobot" has unveiled its entire family of products, and recently released the Yuanluobot AI chess-playing robot - Chess Professional Edition (hereinafter referred to as "Yuanluobot SenseRobot"), becoming the world's first A chess robot for the home. As the third chess-playing robot product of Yuanluobo, the new Guoxiang robot has undergone a large number of special technical upgrades and innovations in AI and engineering machinery. For the first time, it has realized the ability to pick up three-dimensional chess pieces through mechanical claws on a home robot, and perform human-machine Functions such as chess playing, everyone playing chess, notation review, etc.

Claude has become lazy too! Netizen: Learn to give yourself a holiday Claude has become lazy too! Netizen: Learn to give yourself a holiday Sep 02, 2024 pm 01:56 PM

The start of school is about to begin, and it’s not just the students who are about to start the new semester who should take care of themselves, but also the large AI models. Some time ago, Reddit was filled with netizens complaining that Claude was getting lazy. "Its level has dropped a lot, it often pauses, and even the output becomes very short. In the first week of release, it could translate a full 4-page document at once, but now it can't even output half a page!" https:// www.reddit.com/r/ClaudeAI/comments/1by8rw8/something_just_feels_wrong_with_claude_in_the/ in a post titled "Totally disappointed with Claude", full of

At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded Aug 22, 2024 pm 10:35 PM

At the World Robot Conference being held in Beijing, the display of humanoid robots has become the absolute focus of the scene. At the Stardust Intelligent booth, the AI ​​robot assistant S1 performed three major performances of dulcimer, martial arts, and calligraphy in one exhibition area, capable of both literary and martial arts. , attracted a large number of professional audiences and media. The elegant playing on the elastic strings allows the S1 to demonstrate fine operation and absolute control with speed, strength and precision. CCTV News conducted a special report on the imitation learning and intelligent control behind "Calligraphy". Company founder Lai Jie explained that behind the silky movements, the hardware side pursues the best force control and the most human-like body indicators (speed, load) etc.), but on the AI ​​side, the real movement data of people is collected, allowing the robot to become stronger when it encounters a strong situation and learn to evolve quickly. And agile

ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award Aug 15, 2024 pm 04:37 PM

At this ACL conference, contributors have gained a lot. The six-day ACL2024 is being held in Bangkok, Thailand. ACL is the top international conference in the field of computational linguistics and natural language processing. It is organized by the International Association for Computational Linguistics and is held annually. ACL has always ranked first in academic influence in the field of NLP, and it is also a CCF-A recommended conference. This year's ACL conference is the 62nd and has received more than 400 cutting-edge works in the field of NLP. Yesterday afternoon, the conference announced the best paper and other awards. This time, there are 7 Best Paper Awards (two unpublished), 1 Best Theme Paper Award, and 35 Outstanding Paper Awards. The conference also awarded 3 Resource Paper Awards (ResourceAward) and Social Impact Award (

Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Sep 03, 2024 pm 05:18 PM

Deep integration of vision and robot learning. When two robot hands work together smoothly to fold clothes, pour tea, and pack shoes, coupled with the 1X humanoid robot NEO that has been making headlines recently, you may have a feeling: we seem to be entering the age of robots. In fact, these silky movements are the product of advanced robotic technology + exquisite frame design + multi-modal large models. We know that useful robots often require complex and exquisite interactions with the environment, and the environment can be represented as constraints in the spatial and temporal domains. For example, if you want a robot to pour tea, the robot first needs to grasp the handle of the teapot and keep it upright without spilling the tea, then move it smoothly until the mouth of the pot is aligned with the mouth of the cup, and then tilt the teapot at a certain angle. . this

Distributed Artificial Intelligence Conference DAI 2024 Call for Papers: Agent Day, Richard Sutton, the father of reinforcement learning, will attend! Yan Shuicheng, Sergey Levine and DeepMind scientists will give keynote speeches Distributed Artificial Intelligence Conference DAI 2024 Call for Papers: Agent Day, Richard Sutton, the father of reinforcement learning, will attend! Yan Shuicheng, Sergey Levine and DeepMind scientists will give keynote speeches Aug 22, 2024 pm 08:02 PM

Conference Introduction With the rapid development of science and technology, artificial intelligence has become an important force in promoting social progress. In this era, we are fortunate to witness and participate in the innovation and application of Distributed Artificial Intelligence (DAI). Distributed artificial intelligence is an important branch of the field of artificial intelligence, which has attracted more and more attention in recent years. Agents based on large language models (LLM) have suddenly emerged. By combining the powerful language understanding and generation capabilities of large models, they have shown great potential in natural language interaction, knowledge reasoning, task planning, etc. AIAgent is taking over the big language model and has become a hot topic in the current AI circle. Au

Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Aug 08, 2024 am 07:02 AM

This afternoon, Hongmeng Zhixing officially welcomed new brands and new cars. On August 6, Huawei held the Hongmeng Smart Xingxing S9 and Huawei full-scenario new product launch conference, bringing the panoramic smart flagship sedan Xiangjie S9, the new M7Pro and Huawei novaFlip, MatePad Pro 12.2 inches, the new MatePad Air, Huawei Bisheng With many new all-scenario smart products including the laser printer X1 series, FreeBuds6i, WATCHFIT3 and smart screen S5Pro, from smart travel, smart office to smart wear, Huawei continues to build a full-scenario smart ecosystem to bring consumers a smart experience of the Internet of Everything. Hongmeng Zhixing: In-depth empowerment to promote the upgrading of the smart car industry Huawei joins hands with Chinese automotive industry partners to provide

See all articles