- Updated: January 1, 2026
- 6 min read
Cycling Neuroevolution Simulation: AI‑Driven Race Dynamics and Rider Physiology
The cycling neuroevolution simulation is an AI‑powered platform that evolves virtual riders through evolutionary algorithms, letting them learn optimal pacing, drafting, and power‑output strategies within a realistic physics model of a 2 km race.
🚴♂️ A New Era for AI‑Driven Cycling Simulations
Tech‑savvy cyclists, AI researchers, and developers are constantly hunting for the next breakthrough that blends sport, physics, and machine learning. The cycling neuroevolution simulation does exactly that: it creates a virtual peloton where each rider is controlled by a tiny neural network that evolves race after race. The result is a living laboratory for studying rider control, evolutionary algorithms, and the subtle interplay of aerodynamics and human physiology.
If you’re curious about the original research behind this simulation, you can explore the Cycling Neuroevolution project page from Imperial College London.
What Is the Cycling Neuroevolution Simulation?
At its core, the simulation places a set of identical virtual cyclists on a 2,000‑meter course. While their physical attributes (mass, drag coefficient, power limits) are the same, each rider’s “brain”—a compact neural network—receives sensory inputs and decides how much power to apply at every timestep. After each race, the top performers are selected, cloned, and mutated, allowing the population to gradually improve through neuroevolution.
The system is built on three pillars:
- Physics‑based modeling that captures slope, rolling resistance, and aerodynamic drag.
- Physiological constraints such as aerobic threshold, anaerobic “W′” battery, and sprint power limits.
- Evolutionary learning where neural weights mutate and recombine across generations.
Key Features of the Simulation
Race Distance & Power Multiplier
The default race spans 2,000 m, a distance that forces riders to balance short‑term bursts with long‑term endurance. A Power Multiplier of 5 amplifies the effect of the neural network’s output, making each decision dramatically impact speed and energy consumption.
Evolution Parameters
Two core parameters drive the evolutionary process:
- Mutation Size (σ): Set to
1.0, this controls the standard deviation of weight perturbations. - Number of Weights to Mutate: Each generation mutates
20weights, ensuring enough diversity without destabilizing learned behavior.
Real‑Time Interaction
Users can:
- Select any rider with the up/down arrows to inspect its neural controller.
- Press
rto reset the view to the top‑5 riders. - Force an evolution step with the
Spacebar before the race finishes. - Reload the entire scenario (Ctrl + R / Cmd + R) for fresh terrain and new initial populations.
Rider Controls: Neural Network Inputs & Outputs
Each rider’s brain receives six perceptual inputs that capture both the rider’s state and the environment:
| Input | What It Represents |
|---|---|
| Speed | Current velocity (m/s) |
| Power | Instantaneous power output (W) |
| Battery Level | Remaining anaerobic “W′” energy (J) |
| Avg Gradient (0‑100 m) | Slope ahead over the next 100 m |
| Avg Gradient (0‑1000 m) | Long‑range slope trend |
| Distance to Rider Ahead | Gap to the nearest competitor (m) |
| Race Completion Fraction | Progress from 0 % to 100 % |
The network’s single output is a power‑adjustment factor. Positive values increase throttle, while negative values signal recovery. The red/blue coloration of input nodes (visible in the UI) instantly shows whether a particular input is pushing the rider to accelerate (red) or decelerate (blue).
Physics Model & Physiological Characteristics
The simulation’s realism stems from a well‑tuned physics engine that accounts for three major forces:
- Gravity: Calculated from the slope gradient and total mass (rider + bike = 87 kg).
- Rolling Resistance: Modeled with a coefficient
Cr = 0.004. - Aerodynamic Drag: Determined by a drag area
CwA = 0.32 m²and scales with the square of velocity.
Drafting is explicitly simulated: a rider within 1 m behind another experiences up to a 40 % reduction in aerodynamic drag, encouraging emergent pack‑riding strategies.
Physiological Model
Each virtual cyclist follows a simplified yet powerful physiological model:
- Aerobic Threshold Power: 250 W – sustainable indefinitely.
- W′ (Anaerobic Battery): 15,000 J – depletes when power exceeds the threshold and recovers when below.
- Maximum Sprint Power: 750 W – linearly reduced as the anaerobic battery drains.
These constraints force the neural networks to learn when to push hard (e.g., uphill bursts) and when to coast (e.g., downhill recovery), mirroring real‑world cycling tactics.
Why This Simulation Matters: Real‑World Impact
Beyond being a fascinating visual demo, the cycling neuroevolution platform offers concrete value for several audiences:
For AI Researchers
It provides a sandbox for testing evolutionary algorithms on a continuous control problem with clear performance metrics (average speed, energy efficiency). Researchers can plug in alternative learning paradigms—e.g., reinforcement learning, neuro‑evolution of augmenting topologies (NEAT)—and compare outcomes.
For Sports Scientists & Coaches
The model’s physiological fidelity enables exploration of pacing strategies, drafting benefits, and equipment trade‑offs without field testing. Insights can inform real‑world training plans or bike design decisions.
For Developers & SaaS Builders
UBOS’s low‑code environment makes it trivial to extend the simulation, embed it in a web portal, or integrate with other AI services. For example, you could connect the simulation to the OpenAI ChatGPT integration to let users query the system in natural language, or use the Chroma DB integration to store and retrieve historic race data for analytics.
The flexibility of the UBOS platform also means you can combine the simulation with voice assistants (ElevenLabs AI voice integration) or messaging bots (ChatGPT and Telegram integration) to create interactive coaching tools.
How to Build or Extend Your Own Cycling Neuroevolution App on UBOS
UBOS offers a complete stack for rapid prototyping:
- Explore the UBOS platform overview to understand the low‑code architecture.
- Kick‑start your project with a ready‑made template such as the AI Article Copywriter or the AI Video Generator for visualizing race replays.
- Use the Web app editor on UBOS to drag‑and‑drop UI components, connect the physics engine, and expose the neural network parameters.
- Automate data pipelines with the Workflow automation studio, for example to trigger a new evolution cycle after each simulated race.
- Leverage the AI marketing agents to promote your simulation to the cycling community.
- Review pricing options on the UBOS pricing plans and select a tier that matches your expected compute load.
Startups can benefit from the UBOS for startups program, while SMBs may find the UBOS solutions for SMBs package ideal for internal training tools. Large enterprises looking for a scalable AI backbone can explore the Enterprise AI platform by UBOS.
Need inspiration? Browse the UBOS portfolio examples to see how other teams have turned simulation concepts into market‑ready products.
Ready to Ride the Future of AI‑Powered Cycling?
Whether you’re a researcher eager to test new algorithms, a coach looking for data‑driven insights, or a developer wanting to showcase AI in motion, the cycling neuroevolution simulation offers a sandbox that grows smarter with every race.
Visit the UBOS homepage today, spin up a prototype, and watch your virtual cyclists evolve from novices to champions.

Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.