Live data from Hacker News

Using “underdrawings” for accurate text and numbers

samcollins.blog

111–120 of 140 posts

Re: Using “underdrawings” for accurate text and numbers

#111

I found a simple technique to get reliable text and numbers in AI generated images. I’m surprised the image models aren’t already doing this, so wanted to share since I’m finding this so useful

In some ways, this is similar to use of a Control Net. I've been doing this same technique for a while, using only SVGs as the base image. Works well.

Re: Using “underdrawings” for accurate text and numbers

#112
post #109

Earlier quoted context omitted.

> character counting The models now whaste a vast amount of useless neurons memorising the character count the entire English language so that people can ask how many r's are in strawberry and check a tickbox in a benchmark. The architecture cannot efficiently or consistently represent counting letters in words. We should never have forced trained them to do it. This goes for other more important "skills" that are un…

> The models now whaste a vast amount of useless neurons memorising the character count the entire English language No they don’t. They only need to know the character count for each token, and with typical vocabularies having around 250k entries, that’s an insignificant number for all but the tiniest LLMs.

Nope. Tokens aren't what you think they are.

Re: Using “underdrawings” for accurate text and numbers

#113

I found a simple technique to get reliable text and numbers in AI generated images. I’m surprised the image models aren’t already doing this, so wanted to share since I’m finding this so useful

Very impressive, simple, and reliable. I'm sure it will be picked up by image generation labs soon.

Re: Using “underdrawings” for accurate text and numbers

#114

> Transform this image into a photographed claymation diorama of assorted artisan chocolates and candies […] viewed from a low-angle Side note: whenever I read prompts for image generation, I notice very specific details which the model obviously ignored. Here the chocolates / candies in the last two images look anything but artisanal. They look very "sterile" and mass-produced. The viewing angle is also not accurate…

[dead]

Re: Using “underdrawings” for accurate text and numbers

#115
interesting that GPT Image-2 managed to 2-shot this with thinking turned on, I didn't save a copy and it disappeared from my window but I first got a failure very similar to the one in the article, but it saw the issue and said it was going to use a reference image, after which it came out with https://i.imgur.com/hlWpQNT.jpeg

Re: Using “underdrawings” for accurate text and numbers

#116

Earlier quoted context omitted.

I wonder how long it took to come up with all this? Because if I wanted a spiral of little "buttons" like the last one at the end (and they don't look very much like sweets) I'd be able to knock that out in Blender in an afternoon, and I'm not very good at Blender.

I remember opening Blender for the first time years ago and thinking it had the steepest learning curve of any software I'd ever used.

It's not perfect, but it's been vastly improved in recent years. If you lost interest in 3D art because of Blender's bad UX in the past, I recommend you give it another shot.

Also, there might be other new 3D software with better UX. I am not a Blender fanboy, but I do love 3D art and graphics programming and want as many people as possible to get into it :^)

Re: Using “underdrawings” for accurate text and numbers

#117
I work on a platform 3dstreet.com that does “underdrawing” but in 3d space which image models also struggle with. Another company intangible.ai does this as well: low poly 3d then image to image model.

It seems to be a very effective pattern. Curious if there are other examples out there. Or other names for this?

Re: Using “underdrawings” for accurate text and numbers

#118

> Transform this image into a photographed claymation diorama of assorted artisan chocolates and candies […] viewed from a low-angle Side note: whenever I read prompts for image generation, I notice very specific details which the model obviously ignored. Here the chocolates / candies in the last two images look anything but artisanal. They look very "sterile" and mass-produced. The viewing angle is also not accurate…

The candies aren’t trying to look artisanal, they’re trying to match training data marketed and labelled by companies as artisanal.

Rustic, homemade, amateur, etc might align better with the tagging.

Re: Using “underdrawings” for accurate text and numbers

#119
post #95
post #85

Earlier quoted context omitted.

What part of "Specifically, we define a formal world where hallucination is defined as inconsistencies between a computable LLM and a computable ground truth function. By employing results from learning theory, we show that LLMs cannot learn all the computable functions and will therefore inevitably hallucinate if used as general problem solvers. " doesn't carry the title, to ask mildly?

I don’t agree with that definition of “hallucination”, for starters.

So substitute another phrase, if you prefer. It doesn't change the logic.

"Specifically, we define a formal world where bungling is defined as inconsistencies between a computable LLM and a computable ground truth function. By employing results from learning theory, we show that LLMs cannot learn all the computable functions and will therefore inevitably bungle if used as general problem solvers."

Re: Using “underdrawings” for accurate text and numbers

#120

Earlier quoted context omitted.

No, tokenization is not the only reason. A next-word predictor has fundamentally a hard time executing algorithms, even as simple as counting.

Counting is one of the algorithms that can be expressed by a RASP program, which transformers closely approximate.

Close famously counts in horseshoes and hand grenades. Algorithms, just as famously, are a domain where off-by-one is still wrong.
Post reply on HN