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

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
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
Can't use ChatGPT! Explaining the causes and solutions that can be tested immediately [Latest 2025]Can't use ChatGPT! Explaining the causes and solutions that can be tested immediately [Latest 2025]May 14, 2025 am 05:04 AM

ChatGPT is not accessible? This article provides a variety of practical solutions! Many users may encounter problems such as inaccessibility or slow response when using ChatGPT on a daily basis. This article will guide you to solve these problems step by step based on different situations. Causes of ChatGPT's inaccessibility and preliminary troubleshooting First, we need to determine whether the problem lies in the OpenAI server side, or the user's own network or device problems. Please follow the steps below to troubleshoot: Step 1: Check the official status of OpenAI Visit the OpenAI Status page (status.openai.com) to see if the ChatGPT service is running normally. If a red or yellow alarm is displayed, it means Open

Calculating The Risk Of ASI Starts With Human MindsCalculating The Risk Of ASI Starts With Human MindsMay 14, 2025 am 05:02 AM

On 10 May 2025, MIT physicist Max Tegmark told The Guardian that AI labs should emulate Oppenheimer’s Trinity-test calculus before releasing Artificial Super-Intelligence. “My assessment is that the 'Compton constant', the probability that a race to

An easy-to-understand explanation of how to write and compose lyrics and recommended tools in ChatGPTAn easy-to-understand explanation of how to write and compose lyrics and recommended tools in ChatGPTMay 14, 2025 am 05:01 AM

AI music creation technology is changing with each passing day. This article will use AI models such as ChatGPT as an example to explain in detail how to use AI to assist music creation, and explain it with actual cases. We will introduce how to create music through SunoAI, AI jukebox on Hugging Face, and Python's Music21 library. Through these technologies, everyone can easily create original music. However, it should be noted that the copyright issue of AI-generated content cannot be ignored, and you must be cautious when using it. Let’s explore the infinite possibilities of AI in the music field together! OpenAI's latest AI agent "OpenAI Deep Research" introduces: [ChatGPT]Ope

What is ChatGPT-4? A thorough explanation of what you can do, the pricing, and the differences from GPT-3.5!What is ChatGPT-4? A thorough explanation of what you can do, the pricing, and the differences from GPT-3.5!May 14, 2025 am 05:00 AM

The emergence of ChatGPT-4 has greatly expanded the possibility of AI applications. Compared with GPT-3.5, ChatGPT-4 has significantly improved. It has powerful context comprehension capabilities and can also recognize and generate images. It is a universal AI assistant. It has shown great potential in many fields such as improving business efficiency and assisting creation. However, at the same time, we must also pay attention to the precautions in its use. This article will explain the characteristics of ChatGPT-4 in detail and introduce effective usage methods for different scenarios. The article contains skills to make full use of the latest AI technologies, please refer to it. OpenAI's latest AI agent, please click the link below for details of "OpenAI Deep Research"

Explaining how to use the ChatGPT app! Japanese support and voice conversation functionExplaining how to use the ChatGPT app! Japanese support and voice conversation functionMay 14, 2025 am 04:59 AM

ChatGPT App: Unleash your creativity with the AI ​​assistant! Beginner's Guide The ChatGPT app is an innovative AI assistant that handles a wide range of tasks, including writing, translation, and question answering. It is a tool with endless possibilities that is useful for creative activities and information gathering. In this article, we will explain in an easy-to-understand way for beginners, from how to install the ChatGPT smartphone app, to the features unique to apps such as voice input functions and plugins, as well as the points to keep in mind when using the app. We'll also be taking a closer look at plugin restrictions and device-to-device configuration synchronization

How do I use the Chinese version of ChatGPT? Explanation of registration procedures and feesHow do I use the Chinese version of ChatGPT? Explanation of registration procedures and feesMay 14, 2025 am 04:56 AM

ChatGPT Chinese version: Unlock new experience of Chinese AI dialogue ChatGPT is popular all over the world, did you know it also offers a Chinese version? This powerful AI tool not only supports daily conversations, but also handles professional content and is compatible with Simplified and Traditional Chinese. Whether it is a user in China or a friend who is learning Chinese, you can benefit from it. This article will introduce in detail how to use ChatGPT Chinese version, including account settings, Chinese prompt word input, filter use, and selection of different packages, and analyze potential risks and response strategies. In addition, we will also compare ChatGPT Chinese version with other Chinese AI tools to help you better understand its advantages and application scenarios. OpenAI's latest AI intelligence

5 AI Agent Myths You Need To Stop Believing Now5 AI Agent Myths You Need To Stop Believing NowMay 14, 2025 am 04:54 AM

These can be thought of as the next leap forward in the field of generative AI, which gave us ChatGPT and other large-language-model chatbots. Rather than simply answering questions or generating information, they can take action on our behalf, inter

An easy-to-understand explanation of the illegality of creating and managing multiple accounts using ChatGPTAn easy-to-understand explanation of the illegality of creating and managing multiple accounts using ChatGPTMay 14, 2025 am 04:50 AM

Efficient multiple account management techniques using ChatGPT | A thorough explanation of how to use business and private life! ChatGPT is used in a variety of situations, but some people may be worried about managing multiple accounts. This article will explain in detail how to create multiple accounts for ChatGPT, what to do when using it, and how to operate it safely and efficiently. We also cover important points such as the difference in business and private use, and complying with OpenAI's terms of use, and provide a guide to help you safely utilize multiple accounts. OpenAI

See all articles

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

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software