← All work

AI · physical AI capstone · Sejong University

S5 Language Verifier

Our team builds scene understanding for a tabletop RGB-D camera. I own module S5: it turns a plain-English question into structured JSON with a local LLM, then checks the answer against real 3D positions in the scene graph.

Role
Owner of module S5
Team
Team of 7
Platform
Local, on a laptop
Links
AI DevelopmentAI Agents & RAG
  • Python
  • Ollama
  • Qwen2.5 3B
  • JSON Schema
  • Scene graph
  • RGB-D

› Which free chair is closest to the scanner?

{
  "task": "closest",
  "target": "chair",
  "filter": { "state": "free" },
  "anchor": "scanner",
  "verified": true,
  "confidence": 0.94
}

checked against 3D positions · 1.4 s

7 / 7parser questions pass
1.4 sper question on a laptop
1.9 GBmodel, runs fully offline

From question to verified answer

  1. 01Question"Which free chair is closest to the scanner?"
  2. 02Local LLMOllama · Qwen2.5 3B → structured JSON
  3. 03Normalizefix small-model slips
  4. 04Verifierclosest / not-near / locate on 3D positions
  5. 05ResultJSON answer + confidence → robot module (S6)

Key decision

Why a local model

The capstone rules: zero training and local models only. A 1.9 GB model runs on a laptop, and because the verifier checks every answer against geometry, a small model is good enough.

Troubleshooting

01

A small model that slips

Problem
The 3B model sometimes put the target object in the "exclude" slot, or invented fields like {"red": true}.
Fix
A normalize step for known slips, a verifier guard against self-comparison, and a stricter parser test set.
Result
7 / 7 parser questions pass at about 1.4 s each on a laptop.
Next projectSeniorFriendsCommunity and live-streaming app for Korean senior models and their fans, on iOS and Android.