During a migration to a cheaper vision workload on Amazon Bedrock, Property Finder realized that 96.8 % of their evaluation labels originated from the predictions of their existing model rather than from independent human review. This hidden bias prevented any new model from appearing superior, prompting a complete overhaul of their testing methodology.
Why Evaluation Bias Matters
When a team treats model outputs as ground truth, the evaluation loop becomes circular: alternatives are judged against the incumbent’s behavior instead of against actual correctness. In Property Finder’s case, the biased dataset caused systematic under‑performance reports for every candidate model, even though the underlying model quality could have been better. Practitioners who rely on automated labeling for large‑scale image pipelines face the same risk of masking true model improvements.
Building a Trusted Ground‑Truth Set
The team assembled a fresh annotation effort, selecting 356 property images from the UAE market and annotating them without reference to any model output. A domain‑expert with real‑estate knowledge performed the labeling, ensuring that categories matched the business taxonomy. The first 256 images formed a development set for prompt tuning, while the full 356‑image collection—augmented later with 100 additional samples—served as the final evaluation set. This size was deemed sufficient to surface moderate performance differences across models, though rare classes may still require larger samples for statistical confidence.
Iterative Prompt Optimization on Bedrock
Using the expert‑annotated development set, the team launched a prompt‑optimization loop on Amazon Bedrock. Each iteration sent a property image to Bedrock, received attribute predictions in JSON, and scored them with a Micro F1 metric against the ground truth. Error analysis of mis‑predicted images identified visual patterns that informed the next prompt version. The cycle progressed from version v0 to v27, initially guided by AI assistants and later by automated optimization scripts. The final prompt achieved higher classification accuracy while reducing inference cost by 86 % compared with the incumbent model.
Operational and Architectural Takeaways
- Separate labeling and inference pipelines. Keep the data used for evaluation isolated from any production model outputs to avoid contaminating ground truth.
- Invest in domain‑expert annotation. Even a modestly sized, high‑quality set can break bias loops and provide a reliable benchmark.
- Leverage iterative prompt tuning. Scoring against a stable development set and feeding error patterns back into prompt revisions yields measurable gains without changing the underlying model.
- Monitor cost versus accuracy. The Bedrock loop demonstrated that a well‑tuned prompt can deliver both higher accuracy and lower compute spend.
Related CloudNinjas coverage: AWS.
What This Means For Practitioners
Before adopting a new vision model or generative AI service, verify that your evaluation data is free from model‑generated bias. Build a small, expert‑annotated benchmark, use it to drive prompt or model selection, and continuously measure cost impact. This disciplined approach prevents hidden performance cliffs and ensures that migration to cheaper services like Amazon Bedrock delivers real value.



