/ Модель

Характеристики

Лицензия
MIT
Архитектура
PPO_ActorCritic · dense
Библиотека
pytorch
Опубликована
1 ноя 2026

tesla-roadster-flip-landing-ppo

Обучение с подкреплением3 профессии
85скачиваний за 30 дней1лайквеса обновлены1 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Агент PPO Actor-Critic Hwihwa Lab управляет разворотом и посадкой в аэрокосмической симуляции.

Модель Hwihwa Lab — агент управления на основе PPO Actor-Critic для симуляции переворота и посадки объекта, описанного как Tesla Roadster, на площадку корабля-дрона. Она обучается политике управления ориентацией и тягой: сначала выполнить разворот на 180° из перевёрнутого положения, затем стабилизировать снижение и коснуться площадки с заданными ограничениями по положению, углу и скорости. В README заявлены посадка примерно за 6,7 секунды и успешность 98% в тесте из 50 запусков; это результаты симуляции, приведённые автором.

По карточке используется on-policy PPO с Actor-Critic, clipped surrogate objective и GAE; формат весов — PyTorch. Модель предназначена для задач управления в описанной симуляции, а интерактивная кабина позволяет сравнивать её поведение с D3QN и вручную воздействовать на симуляцию. Документация заявлена на английском и корейском языках. Лицензия — MIT.

Сценарии применения

  • управление разворотом аппарата из положения вверх ногами
  • стабилизация ориентации с помощью RCS-двигателей в симуляции
  • управление снижением и мягкой посадкой на площадку
  • оценка политики автономного управления при боковом ветре и возмущениях
  • сравнение PPO с D3QN в задаче посадки

Ограничения

Описанные метрики относятся к симуляции и не подтверждают работоспособность на реальном аппарате. Карточка не приводит сведений о переносе политики на физическое оборудование.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🏎️ Tesla Roadster Flip-Landing // PPO Mission Control

Language: English Language: 한국어 🤗 Spaces 3D Cockpit 🧠 D3QN Twin Model GitHub License: MIT

PyTorch Gymnasium Benchmark Agile Flight Telemetry Research Lab

“Tesla Roadster Flip-Landing // PPO Mission Control: High-G Ballistic Inversion Recovery & Falcon-Style ASDS Drone-Ship Touchdown | HWIHWA LAB
High-performance on-policy attitude recovery and high-speed vertical touchdown from a 180° upside-down inverted drop using cold-gas RCS thrusters & Proximal Policy Optimization (PPO Actor-Critic).

🌐 English Documentation | 🇰🇷 한국어 매뉴얼 | 🛸 Interactive 3D Space Cockpit”
Developed by Hwihwa Lab · AI × Automation × Aesthetics ✨


🚀 Mission Briefing & Aerospace Challenge

1. 🏎️ The Mission: 180° Inverted High-Speed Ballistic Recovery

  • The Vision: Inspired by SpaceX Falcon 9’s iconic boostback flip maneuver and Tesla’s Starman Roadster cruising through deep space, this project challenges an autonomous AI controller to recover a Tesla Roadster released upside-down ($180^\circ$ pitch) at an altitude of 12 meters.
  • The Objective: Execute an aggressive mid-air attitude inversion, fire cold-gas RCS thrusters to cancel rotational inertia, fire the main retro-rocket, and achieve a soft touchdown on an Autonomous Spaceport Drone Ship (ASDS).
  • The PPO Strategy: Utilizing on-policy Actor-Critic policy gradient with clipped surrogate objective ($L^{CLIP}$) and GAE ($\lambda=0.95$), the PPO agent learns a time-optimal, fuel-efficient ballistic descent profile—snapping 180° in just 1.8 seconds and landing in ~6.7 seconds (53% faster than D3QN) with an agile 98.0% landing rate.

2. 🌪️ The 3 Extreme Aerodynamic Hurdles

  • High-G Attitude Snap Maneuver: Unlike cautious hovering, PPO executes high-torque RCS bursts during the first 2 seconds, inducing intense angular accelerations ($\omega > \pm 3.5\text{ rad/s}$) that require strict policy ratio clipping ($\epsilon = 0.20$) to prevent destructive policy collapse.
  • Ultra-Tight 6.7s Ballistic Timeline: Descending at high speeds leaves zero margin for hovering hesitation. Every actuation step must directly contribute to kinetic energy dissipation and center-pad trajectory lock.
  • Credit Assignment in Terminal Braking: The critical retro-propulsion deceleration occurs within the final 3 meters, requiring Generalized Advantage Estimation (GAE) to balance immediate step penalties with long-horizon touchdown survival.

3. 🎯 Strict Touchdown Success Criteria

To earn a certified touchdown, the vehicle must satisfy three non-negotiable physical constraints simultaneously upon contact:

  • Pad Centering Radius: $|x| \le 0.4\text{ m}$ from drone-ship center (deviation beyond 1.2m results in ocean splashdown).
  • Attitude Alignment: Vehicle pitch $|\theta| \le 5.0^\circ$ (exceeding $12^\circ$ leads to catastrophic deck rollover).
  • Impact Velocity: Touchdown vertical speed $v_y \ge -1.4\text{ m/s}$ (exceeding structural shock limit causes instant chassis destruction; optimal soft touchdown is $\ge -0.85\text{ m/s}$).

📊 Benchmark Achievements

MetricPPO Benchmark ResultPhysical & Operational Meaning
180° Inversion Landing Rate98.0% (49 / 50)Ultra-high reliability recovery under extreme inverted release
Mean Evaluation Reward+300.34 pointsHigh-precision center pad guidance & horizontal attitude lock
Descent Duration~6.7 seconds (133 steps)53% faster than D3QN (Aggressive time-optimal ballistic flight)
Terminal Touchdown Velocity-0.73 m/sIdeal soft landing velocity (well within -1.4 m/s structural threshold)
Attitude Alignment-1.8° (Level)Near-zero pitch angle alignment with autonomous drone-ship deck
                           180° PPO HIGH-SPEED AGILE FLIGHT PROFILE
 =====================================================================================================
  ALTITUDE (Y)
    ▲
12m │  [T+0.0s] 🏎️🔻 180° INVERTED DROP : Released inverted at 12m height (initial vy = -0.5 m/s)
    │           │
 9m │           ▼ [T+1.8s] HIGH-G RCS SNAP : Aggressive dual RCS torque snaps vehicle 180° ➔ 90°
    │           │
 5m │           ▼ [T+3.8s] HORIZONTAL LOCK (0°) : Instant leveling; Main rocket engine ignites
    │           │
 2m │           ▼ [T+5.4s] RETRO-PROPULSION DECEL : Velocity throttled rapidly to -0.7 m/s (|x| ≤ 0.3m)
    │           │
 0m └───[T+6.7s]─▼───────────────────────────────────────────────────────────────────────────────► TIME
        🏆 PINPOINT TOUCHDOWN : Precision touchdown on Starship ASDS Drone-Ship deck (+300.34 Pts)
 =====================================================================================================

⚔️ Dual-Engine Comparison: PPO vs D3QN

Both agents were trained on the exact same 250,000-step curriculum budget under identical 6-DoF aerodynamic physics. Their learned behavioral policies showcase a classic deep RL control dichotomy:

Evaluation Dimension🎯 PPO (Actor-Critic)🧠 D3QN (Value-Based)
Optimization ParadigmOn-Policy Policy Gradient (PPO-Clip)Off-Policy Q-Learning with Experience Replay
Tactical PersonalityAgile & Aggressive (Time-Optimal)Cautious & Hovering (Score-Maximizer)
Descent Duration~6.7s (133 steps)~9.6s (290 steps)
180° Inversion Landing Rate98.0% (49 / 50)100.0% (50 / 50)
Mean Evaluation Reward+300.34 pts+340.26 pts (accumulated via floating)
Touchdown Impact Speed-0.73 m/s-0.81 m/s
Best Mission ScenarioFuel-constrained, time-critical descentMaximum stability, fault-tolerant low-wind landing

Tip: You can dynamically switch between PPO and D3QN in real time using the Interactive 3D Cockpit.


🧠 Neural Architecture & Hyperparameters

                                +---------------------------+
                                |  8D State Observation s   |
                                +-------------+-------------+
                                              |
                                     [Feature Backbone]
                                  Linear(8->128) + LayerNorm + Tanh
                                  Linear(128->128) + LayerNorm + Tanh
                                              |
                       +----------------------+----------------------+
                       |                                             |
              [Critic Head V(s)]                            [Actor Head π(a|s)]
            Linear(128->64) + Tanh                        Linear(128->64) + Tanh
            Linear(64->1, std=1.0)                        Linear(64->4, std=0.01)
                       |                                             |
            State Value Estimate V(s)                     Action Distribution P(a|s)
                       |                                             |
            GAE Advantage Evaluation                      PPO-Clip Loss Optimization

⚙️ Training Specifications & Hyperparameters

  • Architecture: Actor-Critic with Shared Dual LayerNorm Feature Backbone
  • Shared Feature Extractor: Linear(8, 128) -> LayerNorm -> Tanh -> Linear(128, 128) -> LayerNorm -> Tanh
  • Actor Head: Linear(128, 64) -> Tanh -> Linear(64, 4) (Orthogonal init, std=0.01)
  • Critic Head: Linear(128, 64) -> Tanh -> Linear(64, 1) (Orthogonal init, std=1.0)
  • GAE Lambda ($\lambda$): 0.95, Discount Factor ($\gamma$): 0.99
  • Clip Ratio ($\epsilon$): 0.20, Entropy Coefficient: 0.015 -> 0.001 (Dynamic Annealing)
  • Rollout Length: 2,000 steps, Minibatch Size: 100, PPO Epochs: 4
  • Curriculum Schedule: 0° to 180° inversion scaled smoothly over 150,000 steps (60% budget)
  • Total Training Budget: 250,000 environment interaction steps

🔬 Core Theoretical Formulations

1. Clipped Surrogate Objective ($L^{CLIP}$)

  • Policy Ratio Guard: Prevents destructively large policy updates during extreme 180° inversion snap maneuvers by constraining probability ratios within $[1 - \epsilon, 1 + \epsilon]$ ($\epsilon = 0.20$): $$L^{CLIP}(\theta) = \hat{\mathbb{E}}_t \left[ \min\left(r_t(\theta)\hat{A}_t, , \text{clip}(r_t(\theta), 1-\epsilon, 1+\epsilon)\hat{A}_t\right) \right]$$
  • On-Policy Monotonic Convergence: Guarantees stable policy optimization without divergence under chaotic angular velocity bursts ($\omega > \pm 3.0\text{ rad/s}$).

2. Generalized Advantage Estimation (GAE, $\lambda = 0.95$)

  • Variance-Bias Tradeoff: Balances instantaneous TD-error with long-horizon ballistic descent credit assignment using $\gamma = 0.99$ and $\lambda = 0.95$: $$\hat{A}t^{GAE(\gamma, \lambda)} = \sum{l=0}^{\infty} (\gamma \lambda)^l \delta_{t+l}^V$$
  • Terminal Descent Velocity Shaping: Provides dense gradient signals during the final 3-meter retro-propulsion phase to ensure touchdown velocity remains within safe structural limits ($v_y \ge -1.4\text{ m/s}$).

3. Orthogonal Layer Initialization & Dynamic Entropy Annealing

  • Orthogonal Weight Scaling: Feature layers initialized with $\sqrt{2}$, Value head with $1.0$, and Actor logits scaled with $0.01$ to eliminate premature policy collapse.
  • Dynamic Entropy Annealing: Explores aggressive 180° rotation flips with $c_2 = 0.015$ in early curriculum phases, smoothly decaying to $0.001$ for pinpoint terminal landing precision.

🖥️ 3-Column Cyber-Aerospace Cockpit Integration

The trained model seamlessly integrates into the interactive web flight deck:

+---------------------------------------------------------------------------------------------------+
| 🔴 TESLA ROADSTER FLIP-LANDING // PPO & D3QN MISSION CONTROL                       [STATUS: ONLINE] |
| Autonomous 180° Inversion Recovery & Falcon-Style ASDS Touchdown Telemetry | HWIHWA LAB           |
+---------------------------------+---------------------------------+-------------------------------+
| 👈 FLIGHT HUD & GYRO            | 🛸 CENTER: 180° FLIP VIEWPORT   | 👉 NEURAL CLUSTER (DUAL-AI)   |
| - 360° Circular Pitch Ring      | - Cyberpunk Starship Drone-ship | - [🧠 D3QN ⮀ 🎯 PPO] Switcher |
| - Live Dynamics Oscilloscope    | - Midnight Red Roadster Sprite  | - Action Probability Spectrum |
| - Touchdown Quality Rank        | - Flip Arc Ghost Trail          | - Interactive Force Push      |
| - RCS Cold-Gas Pressure Gauges  | - Real-time Thruster Flame      | - Tesla Yoke Flight Cockpit   |
+---------------------------------+---------------------------------+-------------------------------+

🎮 Spaces & Web Cockpit Interactive Features

The standalone desktop cockpit and Hugging Face Spaces web app deliver a zero-latency, hardware-accelerated telemetry experience:

  • 🕹️ Dual-AI Architecture Switcher: Dynamically toggle between PPO (Agile 6.7s Ballistic Descent) and D3QN (Cautious 9.6s Hovering) in real time, or take manual flight control (W/↑ Main Rocket Thruster, A/← RCS Left, D/→ RCS Right).
  • 💥 Interactive Force Push & Turbulence: Dynamically disturb the vehicle in mid-air (👈 PUSH L, 🌪️ SPIN, 👉 PUSH R) to test the PPO policy's aggressive, high-G attitude stabilization and recovery.
  • 🌪️ ASDS Droneship Wind Dynamics: Real-time atmospheric cross-wind simulation with 4 presets (🍃 Calm 0.0 m/s, 💨 Breeze +0.4 m/s, 🌬️ Cross -0.45 m/s, 🌪️ Storm +0.85 m/s).
  • ⏱️ Time-Warp Engine: Precision playback control from 0.25x Cinematic Slow-Motion up to 2.0x warp to inspect PPO's high-speed 180° attitude snap frame-by-frame.
  • 🔊 0 KB Procedural Web Audio Engine: Zero external audio assets—pure HTML5 Web Audio API synthesizing live Falcon-style rocket rumble and high-frequency cold-gas RCS thruster hisses.
  • 🎨 Tesla Roadster Paint Shop: Instant vehicle recoloring across 4 factory finishes (Midnight Red, Pearl White, Deep Blue, Cyber Silver).

📂 Repository Contents

  • best_model.pth: Pretrained PyTorch PPO Actor-Critic weights (98.0% landing rate).
  • config.json: Hyperparameters, neural network dimensions, and benchmark metadata.
  • ppo_agent.py: PyTorch module implementing ActorCritic and PPOAgent inference wrapper.
  • roadster_env.py: 6-DoF aerodynamic flight simulator environment.
  • evaluate.py: Standalone CLI benchmark verification script (python evaluate.py --episodes 10).
  • README.md: English documentation and flight profile.
  • README_KR.md: Complete Korean comprehensive technical manual.
  • LICENSE: MIT License.

🚀 Quick Local Verification

# Clone repository
git clone https://huggingface.co/hwihwalab/tesla-roadster-flip-landing-ppo
cd tesla-roadster-flip-landing-ppo

# Run 10-episode benchmark evaluation
python evaluate.py --episodes 10 --difficulty 1.0

👤 About Hwihwa Lab

“AI × Automation × Aesthetics — Crafting tools you'll love ✨”

Hwihwa Lab is an independent AI research & engineering studio dedicated to blending practical on-device intelligence, autonomous operations, and refined aesthetics. We engineer resilient systems that free solopreneurs and indie creators from operational overhead—giving people their time and creative joy back.

🔬 Core Research & Engineering Pillars

  • Zero-Cost Edge Operations: Private, on-device AI pipelines for autonomous business workflows without ongoing cloud API overhead.
  • Autonomous Decision OS & Micro-ERP: Deterministic, prefrontal-cortex-style reasoning architectures designed to orchestrate daily business decisions and operations.
  • Embodied AI & Domain-Specific Robotics: Simulation-driven reinforcement learning, physical control brains, and specialized domain data engineering for real-world service environments.
  • Interactive Creative Aesthetics: Fusing functional automation with refined visual craft and modern design philosophy to build delightful tools.

🌐 Connect & Aerospace RL Ecosystem


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Trained and deployed with Roadster Flip Mission Control by Hwihwa Lab (@hwihwalab)

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Нельзя запустить

RL-агенты не запускаются как сервис инференса.

Ревизия весов
e69ee96

0 моделей