Trackmania’s Flying Shortcut Becomes an Extraordinary Test of Machine Learning

Rating

Video Reviewed
Rating9.2/10
AI Learns to Fly in Trackmania

A seemingly ordinary racing course becomes the setting for an extraordinary challenge when a machine-learning system attempts to master one of Trackmania’s most difficult shortcuts. The A-12 track has fascinated competitive players for years because of an unusual combination of physics exploits that allows cars to fly directly toward the finish line. Rather than simply programming a perfect sequence of movements, the creator wants to discover whether a system trained through reinforcement learning can develop the necessary skills, adapt to unpredictable situations, and eventually surpass a remarkable human world record. The result is an engaging combination of technical experimentation, competitive gaming history, and an increasingly suspenseful pursuit of an elusive achievement.

The explanation of reinforcement learning provides an accessible foundation for understanding the experiment. The system uses a neural network to process information from the game, choose driving actions, and improve through rewards associated with progress toward checkpoints. However, the creator recognizes that expecting it to independently discover an exceptionally complicated shortcut would be unrealistic. Instead, the training incorporates trajectories collected from the 100 fastest human runs, creating a guided corridor that helps the system learn the necessary approach. This distinction is important because the experiment demonstrates learned execution and adaptation rather than a completely independent discovery of the original shortcut.

The early training stages offer some of the most satisfying moments as the system gradually develops abilities that initially seem impossible. It learns to strike a precise location, manipulate the car’s orientation, and eventually clear the wall separating the starting section from the finish area. Additional training from randomized positions near the finish helps it complete the final approach. The breakthrough becomes more exciting when the system discovers how to trigger a U-Bug, producing the dramatic speed boost essential for competitive flying shortcuts. Its first successful attempts are far from optimal, but the visible progression makes the learning process understandable without requiring an extensive technical background.

The experiment becomes particularly interesting when the creator deliberately prevents the system from relying on a memorized sequence of actions. Because Trackmania operates deterministically, repeating an identical input sequence can reproduce the same result. Introducing random perturbations to the initial action forces the system to adjust its behavior rather than simply repeat its best run. This decision produces an entertaining variety of unconventional techniques, including driving backward, traveling upside down, exploiting bug slides, and controlling an excessive flight by bouncing off a roof. These examples provide convincing demonstrations of behavioral flexibility within the training environment, although the presentation offers limited detail about the neural network itself, its training parameters, or the precise mechanisms behind individual improvements.

The competitive history surrounding A-12 gives the technical challenge a stronger emotional foundation. The creator explains how discovering the flying shortcut transformed the track into a specialized competition, with dedicated players spending enormous amounts of time refining their approaches. Logica’s world record, achieved after approximately 2,500 hours devoted to the track, establishes a formidable benchmark. When the trained system finally breaks the 12-second barrier after 200 hours of training, its achievement feels significant without diminishing the human effort that preceded it. The comparison also highlights an important limitation: a system capable of making enormous numbers of attempts has advantages that differ substantially from those available to human competitors.

As improvements become increasingly rare, the presentation shifts from demonstrating new learning to exploring the difficulty of obtaining an exceptionally fortunate result. The creator eventually stops updating the neural network and devotes the available computing resources to generating more attempts. This change acknowledges that the system's existing strategy may already be sufficiently developed and that further progress depends heavily on obtaining the right combination of speed, angle, and landing conditions. After more than two million attempts, it finally records a 10.36-second run that surpasses Logica’s record. The payoff is excellent, although more quantitative information about success rates, performance progression, and the computational resources involved would have strengthened the technical evaluation.

The conclusion adds valuable perspective by distinguishing the achievement from tool-assisted speedrunning, where deterministic action sequences can be systematically refined to produce even faster theoretical results. The creator emphasizes that the objective was not to manufacture a single optimized run but to train a system capable of handling different situations. This clarification prevents the record-breaking performance from being presented as the absolute limit of the track. The candid discussion of research difficulties and the uncertainty surrounding the project's eventual success also reinforces the experimental nature of the work. Although the closing Patreon appeal interrupts the technical discussion, it remains relatively brief and provides context for the considerable time invested in producing such an ambitious project.

Pros

  • Makes reinforcement learning understandable through clear explanations of neural networks, rewards, guided training, and repeated experimentation.
  • Demonstrates impressive progression from unsuccessful attempts to sophisticated flying maneuvers and a record-breaking 10.36-second finish.
  • Transparently explains how human racing trajectories and randomized training positions contribute to the system's development.
  • Uses unpredictable physics exploits, unusual driving techniques, and dramatic near misses to make the learning process consistently entertaining.
  • Provides meaningful competitive context through A-12's shortcut history, dedicated player community, and Logica's exceptionally demanding world record.
  • Explains the decision to introduce random perturbations and later freeze network updates, showing how the experimental strategy evolves.
  • Distinguishes adaptive machine learning from deterministic tool-assisted optimization, placing the achievement within the broader possibilities of Trackmania speedrunning.

Cons

  • Provides limited technical information about the neural network architecture, training parameters, and computational resources required for the experiment.
  • Lacks detailed performance statistics that could clarify how consistently the system succeeds and how its capabilities improve over time.
  • The final record depends substantially on generating millions of attempts and obtaining a favorable physics interaction, complicating direct comparisons with human racing skill.
  • The precise contribution of the human-guided training corridor versus independently learned behavior is not explored in sufficient depth.

This fascinating Trackmania experiment successfully transforms an unconventional racing shortcut into an accessible and surprisingly suspenseful demonstration of reinforcement learning. Its combination of technical creativity, unpredictable gameplay, and respect for human competitive achievement makes the eventual record-breaking run particularly satisfying. While additional technical measurements would provide a more complete understanding of the system's performance, the presentation delivers an excellent balance of education, experimentation, and entertainment.

Recent Reviews