Re:Replace OCR with Vision Language Models
by ttyprintk on Thursday February 27, 2025 @09:08AM
(#43194504)
It’s not naive; tesseract does this.
[ Parent
| on HN ]
Re:Replace OCR with Vision Language Models
by rafram on Thursday February 27, 2025 @09:18AM
(#43194595)
Tesseract doesn’t use an LLM. LLMs don’t know how confident they are; Tesseract’s model does.
Re:Replace OCR with Vision Language Models
by touisteur on Thursday February 27, 2025 @10:31AM
(#43195258)
With most Machine Learning algorithms I used to get shapley values or other 'explainable AI' metrics (for a large cost compared to simple inference, yes), it's very unsettling and frustrating to work without them now on LLMs.
Re:Replace OCR with Vision Language Models
by hansvm on Thursday February 27, 2025 @10:32AM
(#43195275)
Kind of. Tesseract's confidence is just a raw model probability output. You could easily use the entropy associated with each token coming out of an LLM to do the same thing.
Re:Replace OCR with Vision Language Models
by rafram on Thursday February 27, 2025 @11:07AM
(#43195643)
True, but LLM token probability doesn't map nearly as cleanly to "how readable was the text".
Re:Replace OCR with Vision Language Models
by hansvm on Thursday February 27, 2025 @12:20PM
(#43196376)
Why not though? Both kinds of models jumble around the data and spit out a probability distribution. Why is the tesseract distribution inherently more explainable (aside from the UI/UX problem of the uncertainty being per-token instead of per-character)?