HomeNews

Claude Writes 115 Weights for Maze-Solving Net Without

Debayan
Debayan
•
Nov 27, 2026 1:30 AM
•
0
 min read
Select Emergent as your Preferred news source
Claude Writes 115 Weights for Maze-Solving Net Without

💡 TL;DR

  • A developer published a live demo showing Claude hand-writing all 115 nonzero weights for a maze-solving neural network.
  • The network solves mazes without any training data, relying entirely on Claude's architectural reasoning and weight specification.
  • The demonstration highlights Claude's ability to reason about network topology and mathematical constraints in real-time problem solving.

A developer has published a live demonstration showing Claude, Anthropic's language model, manually specifying all 115 nonzero weights for a fully functional maze-solving neural network. The achievement, shared on Hacker News today, showcases the model's ability to reason about network architecture and mathematical constraints without relying on traditional training processes. The interactive demo allows users to generate random mazes and watch the hand-crafted network solve them in real time.

How Claude Specified the Weights

The developer worked with Claude to design a minimal neural network architecture capable of solving arbitrary mazes. Rather than training the network on thousands of maze examples, Claude analyzed the mathematical requirements of maze traversal and specified exact weight values for each of the 115 nonzero connections. The approach required Claude to reason about graph connectivity, spatial relationships, and the propagation of signals through multiple network layers.

The resulting architecture uses a sparse weight matrix where most connections are zero, with strategic nonzero values placed to enable pathfinding behavior. Each weight value was chosen to satisfy specific constraints about how information flows through the network during maze solving.

Release Date and Availability

Officially launched on November 26, 2026, the demonstration is publicly accessible through a web interface hosted on Render. Users can interact with the maze solver immediately without installation or configuration. The project represents a novel application of large language models in neural architecture design, moving beyond code generation into direct numerical specification of network parameters.

Technical Implementation Details

The network architecture implements a form of message-passing algorithm, where each neuron represents a cell in the maze grid. The 115 nonzero weights encode rules for propagating path information from the start position to the goal. Key features include:

  • Sparse connectivity pattern matching maze grid topology
  • Weights chosen to satisfy pathfinding constraints mathematically
  • No backpropagation or gradient descent involved in weight selection
  • Deterministic solving behavior for any valid maze configuration

The developer reports that Claude required multiple iterations to refine the weight specifications, debugging edge cases where initial values failed to produce correct solutions. The final weight set represents a convergence of mathematical reasoning and iterative testing.

What This Means

This demonstration illustrates a frontier capability in AI-assisted system design: using language models to directly specify numerical parameters for specialized algorithms. While traditional neural network development relies on learning weights from data, this approach leverages the reasoning capabilities of large language models to engineer weights analytically. The technique could extend to other domains where network topology and mathematical constraints are well-defined, potentially accelerating development of custom neural architectures for specific tasks. The 115-weight maze solver serves as a proof of concept that symbolic reasoning about network behavior can complement or replace data-driven training in certain scenarios.

About the writer

A Growth Operator with 10+ years of experience working across SaaS, Education and AI. Love playing with data and numbers.

Start Building
on Emergent today
Try Emergent