Building RaceLens XAI: An Explainable AI Platform for Motorsport Intelligence
In motorsport, every millisecond matters—but so does understanding the reason behind every decision.
Modern motorsport generates massive amounts of telemetry, race data, and regulations. While AI can assist engineers and race officials with faster decisions, many systems fail to explain why a recommendation is made. To address this challenge, I built RaceLens XAI, an Explainable AI platform that combines telemetry, FIA regulations, and intelligent reasoning to provide transparent insights for race engineers, stewards, analysts, broadcasters, and fans.
π️ Why I Built RaceLens XAI
The goal behind RaceLens XAI was to make AI recommendations more transparent and trustworthy. Instead of providing black-box predictions, the platform explains every strategy recommendation and steward decision with supporting evidence, confidence scores, and regulation references.
✨ Key Features
- Live Incident Risk Detection
- Explainable Pit Strategy Recommendations
- Rule-Grounded Steward Decision Analysis
- Telemetry-Based Race Intelligence
- Confidence Scores & Evidence Traces
- Fan-Friendly AI Commentary
- Regulation Search & Document Retrieval
- Explainable AI Dashboard
π How It Works
- Collect telemetry data and race events.
- Retrieve FIA regulations and historical steward decisions.
- Analyze race incidents using AI reasoning.
- Generate explainable strategy recommendations with confidence scores.
- Present transparent insights through an interactive dashboard for engineers, officials, and fans.
π€ AI Features
- IBM Granite-powered reasoning engine.
- Retrieval-Augmented Generation (RAG).
- Langflow orchestration for AI workflows.
- Document parsing using Docling.
- Evidence-based explainable AI responses.
- "Why This?" and "Why Not?" decision explanations.
π» Technology Stack
- Frontend: Next.js, React, Tailwind CSS, Framer Motion
- Backend: FastAPI (Python)
- AI: IBM Granite, Langflow, Docling
- Data Sources: FastF1 API, FIA Regulations, Steward Decisions
- Deployment: Vercel & Render
⚙️ Challenges Faced
- Integrating multiple motorsport data sources.
- Building explainable AI workflows instead of black-box predictions.
- Parsing and indexing FIA regulation documents.
- Designing confidence-based reasoning.
- Presenting technical insights in a user-friendly interface.
π Future Improvements
- Live Formula 1 race integration.
- Support for Formula E, IndyCar, and WEC.
- Predictive incident modeling.
- Voice-enabled race assistant.
- Historical race comparison.
- Mobile application.
π Project Links
π― Conclusion
RaceLens XAI demonstrates how Explainable AI can transform motorsport decision-making by combining race telemetry, regulations, and intelligent reasoning into transparent, evidence-backed recommendations. Whether it's assisting race engineers, supporting stewards, or helping fans understand complex race decisions, the platform makes AI both powerful and trustworthy.
Building this project enhanced my understanding of Explainable AI (XAI), Retrieval-Augmented Generation (RAG), FastAPI, Next.js, IBM Granite, Langflow, and intelligent decision-support systems. Most importantly, it reinforced the importance of building AI that not only provides answers but also explains the reasoning behind every recommendation.
Thank you for reading! Feel free to explore the GitHub repository, try the live demo, and watch the project walkthrough to experience RaceLens XAI in action.




Comments
Post a Comment