# Specula

> FDA food-label compliance review: label photo in, cited PASS/FLAG report out, grounded in 21 CFR 101 and openFDA enforcement data. The verifier recomputes every flag, so the reward is exact.

- Tags: AI, Vision, Fine-tuning
- Author: Caio Theodoro (https://caio.theodoro.dev/about.md)
- Canonical HTML: https://caio.theodoro.dev/projects/specula
- Source repository: https://github.com/caiotheodoro/specula

---

Every packaged food launch needs label review, and the rule surface is public law: 21 CFR Part 101 for labeling, Part 104 for nutrient claims, FALCPA for allergens, plus the 2026 "healthy" and front-of-package rules. Specula fine-tunes a multimodal model for the review: label photo in, cited PASS/FLAG report out — per-violation severity, exact CFR citation, the correction.


## Why it can be exact

- The verifier recomputes every flag from the label’s structured fields — the reward is recomputed arithmetic, not a judge
- Public ground truth exists: openFDA recalls, CAERS, published warning letters give real violation patterns with zero proprietary data
- Rule churn (2026 "healthy", front-of-package) makes the review recurring, not one-shot
- Pre-market labels are confidential — on-prem deployability is part of the design, not an afterthought

First of the four-repo compliance family sharing one methodology: seeded synthetic labels, CFR verifier-as-oracle, SFT/GRPO.

---

All projects: https://caio.theodoro.dev/projects.md · About the author: https://caio.theodoro.dev/about.md · Machine-readable index: https://caio.theodoro.dev/llms.txt
