The National AI Competition (NAIC) 2026 1st Runner-up
RetinaScope AI
(1) Introduction
The National AI Competition (NAIC) 2026 was organized by Sunway University and Rakan Tutor, culminating in the live Grand Finals at Sunway University on Saturday, June 13, 2026. I participated in this prestigious national hackathon with a team of 4. We joined the competition to push our boundaries in applied machine learning, test our collaborative engineering skills against real-world data constraints, and build a meaningful AI solution to address modern healthcare bottlenecks.
(2) The Task & Preparation
The Task
Competing in the Computing Track under the theme Smart City Healthcare, our challenge was to build an automated 5-stage screening system for Diabetic Retinopathy (DR) using retinal fundus images, grading them from Stage 0 (No DR) to Stage 4 (Proliferative DR). The competition provided thousands of realistic images plagued by lighting variations, blurring, camera differences, and heavy class imbalance, and strictly prohibited external training data. The task demanded pure engineering pragmatism: maximizing the Quadratic Weighted Kappa (QWK) evaluation metric through smart preprocessing, architectural efficiency, fast inference, and lightweight deployment.
Preparation
With a team of 4, we were able to divide and conquer the problem as a rigorous engineering challenge:-
Data & Preprocessing Strategy: We utilized Ben Graham preprocessing to normalize lighting variations across different fundus cameras and applied heavy data augmentations to make our networks robust against blur and artifacts.
Validation Strategy: To ensure our model generalized perfectly to unseen data without any data leakage, we engineered a strict Stratified Group K-Fold validation split loop.
Model Iteration: We spent weeks iterating from simple baselines to a sophisticated heterogeneous dual-stream architecture combining ConvNeXt-Tiny (for spatial hierarchies and global structures) and EfficientNet-B0 (for fine-grained textures like microaneurysms). We framed the problem as a regression task and calibrated classification boundaries using Nelder-Mead threshold optimization to squeeze out every bit of QWK performance.
(3) The Experience
The journey was intense, demanding, and highly rewarding. The true test of our teamwork came when bridging the gap between a trained model notebook and a deployable application. While optimizing the core model script (newmain.py) and building a CLI (infer.py), we concurrently built a production-ready Flask backend with a Vanilla JS web dashboard.
Ensuring the app could seamlessly handle batch processing of up to 200 images simultaneously with real-time GPU acceleration was nerve-wracking but exciting. Pitching our technical report and demo live to a panel of expert AI/ML judges during the Grand Finals was an unforgettable experience that required all four of us to be completely aligned and confident in our defense.
(4) The Results
Our solution, RetinaScope AI, successfully stood out during the preliminary rounds, qualifying us as one of the Top 6 finalist teams in the country. After a rigorous round of live presentations and answering tough technical questions from the judges, our team conquered the podium and was crowned 1st Runner-Up! Along with a Certificate of Commendation, we walked away with a RM12,000 Bursary—though it is not applicable to us since we are and do not plan on pursuing education with Sunway University but it is still an incredible validation of our sleepless nights and hard work.
(5) What You Learned
Participating in NAIC 2026 was a transformative milestone for our team. Beyond expanding our technical skill sets in PyTorch, feature fusion, and post-hoc threshold optimization, we learned that applied AI engineering is about deployability and pragmatism, not just raw accuracy. Managing this project across 4 members taught us how to effectively separate training logic from inference pipelines and work like a real engineering unit. I am incredibly glad I joined this competition; it gave us hands-on experience building an end-to-end AI system, forged tight bonds across our team, and rewarded us with a fantastic national victory!