Automated detection and validation of UI inconsistencies using multimodal AI pipeline
Click above to watch: Real-time AI pipeline detecting UI transition states across dynamic interfaces
Modern applications change constantly, and even small visual differences—like a button color or icon inconsistency—can break user trust or regress functionality. Traditional test scripts often miss these subtle inconsistencies, or require heavy manual labeling.
Consider validating that a heart icon properly transitions from empty to filled when a user likes a TikTok video. Current VLMs face a critical challenge: the heart overlay sits atop constantly changing video content with dynamic backgrounds, motion blur, and varying lighting conditions. These models struggle to isolate the static UI transition state from temporal video frames, often misidentifying background elements as the target interface component or failing to detect the subtle state change entirely. Traditional automated tests lack the visual understanding to validate these transition states. The challenge is to reliably detect UI state transitions across dynamic interfaces where visual context constantly shifts, requiring robust filtering to separate interface changes from content changes.
Our system processes two key inputs:
These inputs pass through a multi-stage AI pipeline designed to detect both obvious and subtle inconsistencies while minimizing computational cost.
We extract candidate UI elements using OmniParser and related detection models, identifying potential points of change across the interface.
Non-maximum suppression removes redundant bounding boxes, reducing hundreds of raw detections to approximately 70 key elements for further analysis.
Elements are encoded using CLIP for semantic similarity analysis. We retain the top 20 most relevant matches to the test case, dramatically reducing computational requirements.
We compare "before" and "after" states across multiple models, running a consensus vote to determine whether the UI maintains consistency or represents a regression.
This approach provides several key advantages:
No Manual Labeling Required: Unlike traditional pipelines that require extensive training data and manual annotation, our system adapts to new UI patterns automatically.
Cost and Speed Optimization: Early-stage filtering dramatically reduces computational requirements. Processing time decreases from 5+ minutes to 15-30 seconds, while API costs drop by approximately 80%.
Robustness Across Variations: The consensus voting mechanism adapts to regional design differences and UI variations while maintaining sensitivity to genuine regressions.
The system integrates four specialized models:
The system processes any UI screenshot through the complete pipeline:
git clone https://github.com/shayaansultan/techjam-2025-final.git
cd techjam-2025-final
# Start backend
cd backend && docker-compose up -d
# Start frontend
cd frontend && pnpm install && pnpm dev
# Demo at http://localhost:3000
UI Regression Testing: Automated detection of visual inconsistencies across app versions without manual test case creation.
Cross-Platform Validation: Verify UI consistency across different devices, regions, or user contexts using the same underlying test logic.
Design System Compliance: Validate adherence to design systems and style guides at scale, catching deviations that manual review might miss.
# Clone repository
git clone https://github.com/shayaansultan/techjam-2025-final.git
cd techjam-2025-final/backend
# Configure environment
cp .env.example .env
# Add OPENAI_API_KEY to .env file
# Start services
docker-compose up -d
# Start frontend
cd ../frontend && pnpm install && pnpm dev
| Metric | Traditional Approach | Our Pipeline |
|---|---|---|
| Processing Time | 5+ minutes | 15-30 seconds |
| API Cost per Validation | $2.40 | $0.48 |
| Manual Labeling Required | Yes | No |
| Concurrent Processing | 1-2 | 100+ |
| Element Type Coverage | Pre-defined | Universal |
Frontend (Next.js) Backend (FastAPI) AI Pipeline
├── Canvas rendering ├── Async routing ├── OmniParser
├── WebSocket client ├── Model management ├── CLIP encoding
├── Progress tracking ├── Cache layer ├── Consensus voting
└── Result display └── Health monitoring └── GPT-4V analysis
backend/README.mdBuilt for TechJam 2025 - automated UI consistency testing through multimodal AI.
2 commits
Python
87.4%
TypeScript
11.1%
Automated detection and validation of UI inconsistencies using multimodal AI pipeline
Click above to watch: Real-time AI pipeline detecting UI transition states across dynamic interfaces
Modern applications change constantly, and even small visual differences—like a button color or icon inconsistency—can break user trust or regress functionality. Traditional test scripts often miss these subtle inconsistencies, or require heavy manual labeling.
Consider validating that a heart icon properly transitions from empty to filled when a user likes a TikTok video. Current VLMs face a critical challenge: the heart overlay sits atop constantly changing video content with dynamic backgrounds, motion blur, and varying lighting conditions. These models struggle to isolate the static UI transition state from temporal video frames, often misidentifying background elements as the target interface component or failing to detect the subtle state change entirely. Traditional automated tests lack the visual understanding to validate these transition states. The challenge is to reliably detect UI state transitions across dynamic interfaces where visual context constantly shifts, requiring robust filtering to separate interface changes from content changes.
Our system processes two key inputs:
These inputs pass through a multi-stage AI pipeline designed to detect both obvious and subtle inconsistencies while minimizing computational cost.
We extract candidate UI elements using OmniParser and related detection models, identifying potential points of change across the interface.
Non-maximum suppression removes redundant bounding boxes, reducing hundreds of raw detections to approximately 70 key elements for further analysis.
Elements are encoded using CLIP for semantic similarity analysis. We retain the top 20 most relevant matches to the test case, dramatically reducing computational requirements.
We compare "before" and "after" states across multiple models, running a consensus vote to determine whether the UI maintains consistency or represents a regression.
This approach provides several key advantages:
No Manual Labeling Required: Unlike traditional pipelines that require extensive training data and manual annotation, our system adapts to new UI patterns automatically.
Cost and Speed Optimization: Early-stage filtering dramatically reduces computational requirements. Processing time decreases from 5+ minutes to 15-30 seconds, while API costs drop by approximately 80%.
Robustness Across Variations: The consensus voting mechanism adapts to regional design differences and UI variations while maintaining sensitivity to genuine regressions.
The system integrates four specialized models:
The system processes any UI screenshot through the complete pipeline:
git clone https://github.com/shayaansultan/techjam-2025-final.git
cd techjam-2025-final
# Start backend
cd backend && docker-compose up -d
# Start frontend
cd frontend && pnpm install && pnpm dev
# Demo at http://localhost:3000
UI Regression Testing: Automated detection of visual inconsistencies across app versions without manual test case creation.
Cross-Platform Validation: Verify UI consistency across different devices, regions, or user contexts using the same underlying test logic.
Design System Compliance: Validate adherence to design systems and style guides at scale, catching deviations that manual review might miss.
# Clone repository
git clone https://github.com/shayaansultan/techjam-2025-final.git
cd techjam-2025-final/backend
# Configure environment
cp .env.example .env
# Add OPENAI_API_KEY to .env file
# Start services
docker-compose up -d
# Start frontend
cd ../frontend && pnpm install && pnpm dev
| Metric | Traditional Approach | Our Pipeline |
|---|---|---|
| Processing Time | 5+ minutes | 15-30 seconds |
| API Cost per Validation | $2.40 | $0.48 |
| Manual Labeling Required | Yes | No |
| Concurrent Processing | 1-2 | 100+ |
| Element Type Coverage | Pre-defined | Universal |
Frontend (Next.js) Backend (FastAPI) AI Pipeline
├── Canvas rendering ├── Async routing ├── OmniParser
├── WebSocket client ├── Model management ├── CLIP encoding
├── Progress tracking ├── Cache layer ├── Consensus voting
└── Result display └── Health monitoring └── GPT-4V analysis
backend/README.mdBuilt for TechJam 2025 - automated UI consistency testing through multimodal AI.
2 commits
Python
87.4%
TypeScript
11.1%