Top
Best
New

Posted by gmays 2 days ago

Structured outputs create false confidence(boundaryml.com)
150 points | 66 commentspage 4
noreplydev 2 days ago||
I don’t know if 0,42 should be the quantity
villgax 2 days ago||
Skill problem not an LLM problem
Der_Einzige 2 days ago||
No, structured outputs do NOT degrade output quality, at least not in the ways you claim. How many times do we have to debunk this FUD, old man?

https://blog.dottxt.ai/say-what-you-mean.html

The blog post is doubly bad because any "failures" involving images and image understanding can't necessarily be traced back to structured generation at all!!!

learningmore 2 days ago||
“However, with the same model, if you just use the completions API and then parse the output, it will return the correct quantity…”
IshKebab 1 day ago||
This seems pretty silly to me. Their solution for how do get structured output is pretty much just "don't". Well we still need the structured output so what do we do then?

> you need a parser that can find JSON in your output and, when working with non-frontier models, can handle unquoted strings, key-value pairs without comma delimiters, unescaped quotes and newlines; and you need a parser that can coerce the JSON into your output schema, if the model, say, returns a float where you wanted an int, or a string where you wanted a string[].

Oh cool I'm sure that will be really reliably. Facepalm.

> Allow it to respond in a free-form style: let it refuse to count the number of entries in a list, let it warn you when you've given it contradictory information, let it tell you the correct approach when you inadvertently ask it to use the wrong approach

This makes zero sense. The whole point of structured output is that it's a (non-AI) program reading it. That program needs JSON input with a given schema. If it is able to handle contradictory-information warnings, or being told you're using the wrong approach then that will be in the schema anyway!

I think the point about thinking models is interesting, but the solution to that is obviously to allow it to think without the structuring constraint, and then feed the output from that into a query with the structured output constraint.

observecauti 2 days ago||
[dead]
mikert89 2 days ago|
please i cant take anymore anti ai hot takes.
emp17344 2 days ago||
Sounds like a you problem. I’m all for people investigating the boundaries of model capability - if you take that as a personal attack, you’re going to have a bad time over the next few years.
Leynos 2 days ago|||
While I suspect "hot take" is apt, this wasn't exactly anti-AI. Rather, the author is advocating for their particular way of doing genAI output parsing (as opposed to constrained decoding structured output, they advocate unconstrained decoding with a permissive parsing framework)
swiftcoder 2 days ago||
How is this an "anti AI hot take"? It's discussing using one type of LLM output versus another...