An unofficial, read-only Hacker News reader. Join the beta →

PenGPT: A Generative Transformer for Handwriting and Sketches (opens external site)

407 points by smusamashah 3 days ago | greydanus.github.io | 78 comments on HN

View full thread · View on Hacker News

Comment thread (8)

  1. The most interesting part to me is this mention of the Bitter Lesson [1]

    "The results are interesting and the project was a pleasure to work on. And yet there was no clever architectural idea behind it. About 80% of my effort went into building the biggest, cleanest datasets possible and doing lots of quality control on them."

    I spend way too much time on trying to out-clever existing solutions, when a clean application of known approaches would serve best.

    [1] http://www.incompleteideas.net/IncIdeas/BitterLesson.html

    Replies (2)
    1. As the saying goes, “more data beats clever algorithms, but better data beats more data”.
      Replies (2)
      1. Garbage in garbage out !
      2. I think it's maybe more accurate to say more data beats clever heuristics. Because if you have a well-defined problem and an algorithm that just solves it, well, you don't need training data anymore.

        A whole lot of old ML algorithms (e.g. line detection algorithms in OCR) were really just clever heuristics.

        Replies (1)
        1. Except here we went from a pile of hacks (er, "clever heuristics") to... no algorithms at all? The transformer models really "just solve it", and the problem itself isn't even all that well-defined, at least not in a formal way.
          Replies (1)
          1. It's true. I think the big, big problem with OCR, and HTR in particular, is that people don't agree what a good solution is, and most of the answers have obvious "featherless biped" issues. There is for instance a relatively common opinion in HTR circles, which I can't for the life of me understand, that if the writer forgot to dot his i's and cross his t's, then that should be transcribed as (Turkish dotless i) and l. This is so ingrained that even the large general purpose multimodal LLM which are best at HTR (Gemini), a lot of the time ignore explicit instructions to not do that.
            Replies (1)
            1. I once wanted an image of a person up on people's shoulders with a large crowd around them and a cityscape in the background. Think: political gathering w/ people holding up the "winner." Well, yes this is what I wanted but I did not want any flags or signs. Despite many repeated attempts telling the model "no flags, no signs, of any kind", every image had an American flag in it.

              Maybe they're better now... lol

    2. So I'm guessing it's gonna take another major stock-market crash before anyone gives half a damn about learning from small data again?