r/computervision • u/LimitlessSaint • Oct 27 '26
Research Publication I made an open-source Jev for object detection 👀
TypeSafe recently added a Box question type to Jev: you describe something in an image in plain words and get back one bounding box with a confidence. It’s closed and API-only, so I built an open version: LOCUS (Locate Once, Check Until Settled).
The weights are open (2B and 0.8B) so you can run them on your own GPU
The problem: VLMs normally write a box out as text, one token at a time. That’s precise but slow, about 18 steps per box. A small regression head can predict the whole box in one pass, which is fast, but the edges come out loose.
The idea: use both. The head makes a quick draft, then the same model checks every draft token in parallel and fixes the ones it disagrees with, repeating until nothing changes. The final box is exactly what the model would have decoded on its own, in about 5.6 steps instead of 18.
Results (RefCOCO / RefCOCO+ / RefCOCOg):
- Same weights, Acc@0.9 goes from 54.9 → 59.1 with verification
- +4.52 Acc@0.9 over Jag (strongest open regression-head model) at the same size and training budget
- 1.5x faster than vLLM decoding the exact same tokens
Use it on your own data: the released models are trained on RefCOCO, but you can fine-tune them on your own dataset (images, a description and a box for each). The repo covers full fine-tuning and LoRA, so a smaller GPU works too.
Limitations: a pure regression head is still faster, and since it’s trained only on RefCOCO it struggles with very small objects. Fine-tuning on your own domain is the fix there.
- Project page: https://muhammad-talha-ad.github.io/LOCUS/
- Code: https://github.com/muhammad-talha-ad/LOCUS
- Models: https://huggingface.co/MTalha2001/LOCUS-2B
Not affiliated with TypeSafe. Since Jev’s Box is API-only, I couldn’t evaluate it under the same conditions, so all comparisons are against open models. Happy to answer questions.
26
u/hellobutno Oct 27 '26
This is quite a bit different from JEV
7
u/bykof Oct 27 '26
I did something similar https://github.com/bykof/peekaboolean
3
u/I-am_Sleepy Oct 27 '26
So vLLM + CenterNet?
1
u/cleversmoke Oct 27 '26
Awesome work!! I have some ideas to apply a lightweight Jev model like this. Thank you!
1
u/MultiheadAttention Oct 27 '26
Interesting. Did you test it on more nuanced data? E.g. medical imaging, engineering blueprints.. Also how does it handle false requests? What it will answer if you ask for a "man on the left" on image with the elephants?
1
u/tenkei_01 Oct 27 '26
u/LimitlessSaint I gave you the first start 🎉
What I liked: Decoding is waste of effort for vision tasks, similar to what JEV did, by replace the decode head you can optimize the performance greatly!
What I didn't get: If both grounding and corrections use the same model backbone, then what is the advantage of the correction beside repetition? I didn't check, but I'm betting that you can achieve the same result simply using the very same regression head.
Some Opinion: I think Qwen is a little bit more accurate when outputting the boxes in normalized space [0, 1], though the [0, 1000] space is also very good (it might be bias in my dataset though so please test it yourself).
1
u/metatron7471 Oct 27 '26
Can it only give one bbox per query?
1
u/bfyvfftujijg Oct 27 '26
Can you give us the really basic tldr?
My interpretation of the whole Jev thing is you take a standard VLLM and replace its heavy token-generating decoder with a lightweight decoder that only outputs a specific shape (like 4 numbers equating to a bounding box) AND a calibrated confidence number. It can run multiple times with different random seeds to produce a distribution weighted by confidence of each output.
Is that roughly correct?
And what’s the advantage over a traditional object detection model trained on tons of classes?
1
u/bguberfain Oct 27 '26
Looks good. Tnks for sharing. I only missed a comparison chart with acc vs timing (or fps). Also, it is worth polishing a bit more and publish on Hacker News.
1
u/agonizerq Oct 27 '26
I'll try it, don't hack me :v
1
u/Flyward_Aerospace Oct 28 '26
The number I'd want before putting this near a device is the pass count distribution, not the mean. Check Until Settled means the work per image is data dependent, so 5 to 6 on average is fine on a desktop and rough on a fixed frame budget where you have to size for the worst case. Do you cap the iterations, and what does p99 look like on the small-object Ref-L4 images you mentioned? If the tail runs out to 12 then the comparison against an 18 step decode is a lot closer than it reads.
1
u/Harshit_Ahluwalia 26d ago
If you want to learn more about JEV, here's a workshop for you at 30% discount: https://luma.com/i3qtcion?coupon=HARSH30
1
u/Potential-Quiet-6018 Oct 29 '26
there are drex/laya open weights lol