-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Summary
Currently, the regression model used for gaze estimation is manually selected by the UX researcher/admin from the frontend and passed to the backend for training during calibration.
This requires users to understand the differences between available regression models, which may not always be realistic or optimal.
This feature proposes adding an “Auto” model selection option that automatically determines the best-performing model during calibration using validation error metrics (currently computed as RMSE per axis).
Problem
- Model selection is manual and exposed to non-ML users.
- There is no guarantee that the selected model produces the lowest validation error for a given user.
- Calibration performance may vary across users due to lighting, device setup, camera position, and facial geometry.
- When multiple calibration documents exist for a user, there is no systematic way to determine which calibration/model combination performs best.
Proposed Solution
Introduce an “Auto” model selection option with the following behavior:
1. During Calibration
- Use training phase data to train all candidate regression models.
- Use validation split (currently 80/20) to evaluate each trained model.
- Compute validation performance using the existing RMSE-based metric (currently labeled as “accuracy”).
- Aggregate validation error across all calibration points.
- Select the model with the lowest validation error (RMSE).
2. Persist Calibration Metadata
Store the following in the calibration document:
- Selected model name
- Validation error (RMSE)
- Per-model validation metrics (optional but recommended)
- Timestamp and calibration metadata
3. During Gaze Analysis
- Use the selected model associated with that calibration.
- If a user has multiple calibration documents, allow selecting or automatically reusing the calibration with the lowest stored validation error.
Benefits
- Removes ML decision burden from UX researchers.
- Ensures per-user model optimization using objective validation metrics.
- Enables data-driven reuse of the most accurate calibration.
Would appreciate feedback on this approach
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels