Researchers at Mohamed bin Zayed University of Artificial Intelligence replace training with weight writing: solving mazes for $19 tests computing alternatives
When the Claude Opus 5.5 model was asked to extract the shortest path in the complex maze tests “Maze-Hard”, its direct success rate did not exceed 26 percent. This result prompted researchers at Mohamed bin Zayed University of Artificial Intelligence in Abu Dhabi to try a unfamiliar engineering route: instead of training a neural network with data, they tasked the model with manually writing the weights of a ring-transformer model and specifying each weight without any gradient-descent training.
The experiment, which took only 39 minutes via the API and cost about $19, produced a single-block transformer containing 19,936 weights. With repeated ring passes,The model solved 100 percent of the test mazeswithout needing a single training round or later weight adjustment, overcoming the algorithmic deficit that appears when trying to solve long paths by direct generation.
This result puts resource efficiency in direct comparison with traditional training methods; the Energy-Based Reasoners system, one of the strongest in the field, trains 1.8 million weights consuming up to 1,160 petaflops to achieve a 94.1 percent solve rate on the same maze benchmark. While the cost of traditional training runs ranges from $11 to $284 in GPU-processor time priced at $5.13 per hour for a H200 processor, writing the weights by hand reduced the entire operation to a limited call costing no more than $19 and without repeated training cycles on accelerated hardware.
The ability to generalise proved effective when the test was scaled up, as the transformer model was initially evaluated on 1,000 training mazes of size 30×30 and on self-generated mazes up to 45×45. The researchers then ran tests on 50 mazes of size 60×60 and 40 mazes of size 100×100, areas that contain cells eleven times larger than the original mazes. The result wassolving all the mazes completely without any retrainingusing the same weights, as the transformer relies on ring iteration with 1,800 cycles for a 30×30 maze, 7,200 cycles for a 60×60 maze, and 20,000 cycles for the larger 100×100 mazes.
What this means for the region
This Abu Dhabi-originated experiment opens a practical path for development teams and research labs in the Gulf and Egypt that face costly bills for reserving cloud H200 processors, whose hourly price exceeds five dollars and whose traditional models require open-ended training budgets. Engineering the weight architecture directly at a cost below $19 means that solving complex computational and algorithmic problems in institutions can be achieved without constantly relying on massive computing clusters.
The shift also requires reorienting the skills of engineers and researchers in regional tech firms, as the operational priority moves from managing statistical training and tuning hyperparameters to structurally programming logical systems and writing looped logic directly into the parameters. This enables institutions to build specialised, resource-efficient solutions in cost- and time-sensitive work environments, giving local companies a higher competitive edge in precise algorithmic solutions.