← Latest papers
⚛️ high-energy theory

Pre-Strings Lectures on Artificial Intelligence

These lecture notes from the Pre-Strings 2026 school in Shanghai present a comprehensive overview of the bidirectional relationship between artificial intelligence and string theory, covering neural network fundamentals through a field-theoretic lens, the application of neural networks to define and solve field theories, and the use of AI techniques to advance research in string theory and related mathematical physics.

Original authors: James Halverson

Published 2026-07-07
📖 6 min read🧠 Deep dive

Original authors: James Halverson

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: A Three-Day Workshop

Imagine a physicist giving a three-day workshop to students who study the very fabric of the universe (string theory). The goal is to teach them how to use Artificial Intelligence (AI) not just as a calculator, but as a new way of thinking about physics.

The lectures are divided into three distinct days, moving from understanding the AI, to using AI to build physics, and finally using AI to solve physics problems.


Day 1: Understanding the AI Machine

The Analogy: The "Ensemble" of Dice Rollers

Usually, when we think of a neural network (the brain of modern AI), we think of one specific computer program. But the lecturer asks us to think differently. Imagine you don't just have one person rolling dice; you have a stadium full of people rolling dice.

  • Expressivity (How powerful is it?): The lecture explains that these networks are like a giant Lego set. With enough pieces (neurons) and the right connections, you can build almost any shape you can imagine. It mentions a famous math rule (Universal Approximation) that says even a simple network can mimic complex curves. It also introduces "Transformers" (the tech behind chatbots) as a way to read a story word-by-word, paying attention to how words relate to each other, rather than just looking at them in isolation.
  • Statistics (The Crowd's Opinion): Instead of asking one network what it thinks, we ask the whole stadium. If you start with random settings, the "average" answer of the whole crowd follows a very predictable pattern, like a bell curve. In physics terms, this is like a "free field theory"—a simple, calm state where everything is independent.
  • Dynamics (How it learns): When the network learns, it's like a hiker walking down a mountain to find the lowest valley (the best answer). The lecture explains that if the network is huge, the hiker barely moves the mountain; they just slide down a smooth, pre-determined path. However, if we tune the network just right, the hiker can actually reshape the mountain (learning new features), which is how deep learning really works.

Key Takeaway: AI isn't magic; it's a statistical system. If you look at a huge network as a crowd, its behavior follows the same math rules as gases or fluids in physics.


Day 2: Using AI to Build Physics

The Analogy: The "Reverse-Engineered Universe"

On the second day, the lecturer flips the script. Instead of using physics to understand AI, they use AI to create physics.

  • The Concept: Imagine you want to build a universe. Usually, you start with a rulebook (an equation) and see what happens. Here, you start with a neural network architecture and a set of random numbers (parameters). You treat the network's output as the "field" of your universe.
  • The Results:
    • Free Theories: By setting up the network correctly, they can recreate simple, non-interacting particles (like a calm sea).
    • Interacting Theories: By tweaking the rules of the network, they can create "interactions" (like waves crashing). They successfully recreated Liouville theory (a complex 2D universe) and the Bosonic String (a model of vibrating strings).
    • The "Magic" Number 26: One of the biggest mysteries in string theory is why the universe needs 26 dimensions to work mathematically. Using this AI approach, the lecturer derived the number 26 simply by counting the "modes" or settings of the network. It's like discovering a secret code by counting the buttons on a remote control.
    • Topological Defects: They even showed how to create "vortices" (swirls in a fluid) and phase transitions (like water freezing) by adding special "discrete" switches to the network.

Key Takeaway: You don't need a traditional equation to define a universe. You can define a universe by the architecture of a neural network and the probability of its settings. It turns out, AI is a valid way to construct the laws of physics.


Day 3: AI as a Research Assistant

The Analogy: The "Super-Intern"

The final day is about practical tools. The lecturer introduces AI Agents.

  • What is an Agent? Imagine a very smart intern who can read papers, write code, run simulations, check its own work, and ask for help if it gets stuck. It doesn't just answer a question; it does the work.
  • The Applications:
    • Solving Geometry: String theory requires complex shapes called Calabi-Yau manifolds. We know these shapes exist, but we don't know their exact "metric" (how to measure distances on them). The AI uses a technique called "Physics-Informed Neural Networks" to guess the shape and then corrects itself until the math works out perfectly.
    • Searching the Landscape: There are billions of possible universes (vacua) in string theory. Finding the one that looks like our world is like finding a needle in a haystack. The AI uses "Reinforcement Learning" (trial and error with rewards) to navigate this haystack much faster than a human could, even inventing new strategies to find the needle.
    • Untying Knots: In math, deciding if a knot is actually just a loop (the "unknot") is hard. The AI learned to untie knots by learning a set of moves, effectively solving a math problem and providing a proof that a human can check.
    • Conjecture Generation: The AI can look at data and spot patterns that humans miss. It can suggest a new mathematical rule (a conjecture), which a human mathematician can then try to prove.

Key Takeaway: AI agents are changing the workflow of physics. They handle the tedious "plumbing" (coding, checking, searching), allowing human physicists to focus on the big ideas and the "why."


Summary

This paper argues that the relationship between AI and Physics is a two-way street:

  1. Physics explains AI: The math of neural networks is surprisingly similar to the math of quantum fields.
  2. AI explains Physics: We can use neural networks to define new physical theories and solve problems that were previously too hard to calculate.
  3. AI helps Physicists: By using "agents" that can think, act, and verify, the barrier to doing complex physics research is lowering, making it possible for researchers to tackle bigger questions faster.

The lecturer concludes that we are at the very beginning of a new era where AI is not just a tool, but a partner in the discovery of how the universe works.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →