The writing is on the wall for handwriting recognition

(newsletter.dancohen.org)

180 points | by speckx 7 days ago ago

101 comments

  • benterix 9 hours ago

    > If AI can diminish some of the monotony of research, perhaps we can spend more time thinking, writing, playing piano, and taking walks — with other people.

    Whenever any progress is made, this is the logical conclusion. And yet, those who decide about how your time is being used, have an opposing view.

    • notimetorelax 8 hours ago

      I feel that we’re reaching a limit to our context switching. Any further process improvements or optimizations will be bottlenecked on humans. And I don’t think AI will help here as jobs will account for that and we’ll have to do context switching on even broader and more complex scopes.

      • seethishat 8 hours ago

        I think the limit has been exceeded. That's the primary reason everything sort of sucks now. There is no time to slow down and do things right (or better).

        IMO, cyber security, for example, will have to become a government mandate with real penalties for non-compliance (like seat belts in cars were mandated) in order to force organizations to slow down, and make sure systems are built carefully and as correctly as possible to protect data.

        This is in conflict with the hurtling pace of garbage in/garbage out AI generated stuff we see today.

        • hiAndrewQuinn 3 hours ago

          Here in the EU cybersecurity is actually being regulated, with heavy fines to come (15 million euros or 2.5% of global turnover!), if it wasn't already. Look up the CRA and the NIS2.

          Things may well reach a point elsewhere in the world finding out that some software is for sale in the European Union is itself a marker of quality, and therefore justifies some premium.

    • ulbu 8 hours ago

      maybe akin to how faster conputers bred programs that are slower than before.

      • volemo 6 hours ago

        Better “thinking” computers will breed worse thinking people, huh?

        • spiritplumber 4 hours ago

          Dr. Walter Gibbs: Won't that be grand? Computers and the programs will start thinking and the people will stop.

        • palmotea 4 hours ago

          > Better “thinking” computers will breed worse thinking people, huh?

          I actually think that will be the case. We're designing society for the technology, not the technology for the people in it. The human brain wasn't built to fit whatever gap is left by AI, regardless of how many words the technologists spew to claim otherwise.

          For instance: AI already is undermining education by enabling mental laziness students (why learn the material when ChatGPT can do your homework for you). It seems the current argument is that AI will replace entry-level roles but leave space for experienced and skilled people (but block the path to get there). Some of the things LLMs do a mediocre but often acceptable job at are the things one needs to do to build and hone higher-level skills.

        • f3b5 3 hours ago

          Socrates allegedly was opposed to writing since he felt that it would make people lazy, reducing their ability to memorize things. If it wouldn't be for his disciple Plato who wrote down his words, none of his philosophy would have survived.

          So I'm not completely disagreeing with you, but I also am not too pessimistic, either. We will adapt, and benefit through the adoption of AI, even though some things will probably be lost, too.

        • ulbu 3 hours ago

          that, and instead of increases of productivity reducing people's need to work, what might (I think, will) happen is that we will actually have to work more for worse results and lower incomes, for the whims of the executive class and increased energy requirements for LLMs. compound this control over channels of communication (google, facebook, xitter), means of production (microsoft, amazon), with force of social-emotional manipulation of LLMs and we have a really "winner" technology.

          I do not think the executive class is actually in on the power of AI to increase productivity, but rather to increase reliance.

    • palmotea 4 hours ago

      > Whenever any progress is made, this is the logical conclusion. And yet, those who decide about how your time is being used, have an opposing view.

      Exactly. Some people forget we live in a capitalist society, which does not prioritize or support the contentment of the masses. We exist to work for the owners or starve, they're not going to pay us to enjoy ourselves.

    • BJones12 3 hours ago

      Between 1965 and 1995 the average American gained about 6 hours per week of leisure time. They then used most of the additional free time to watch TV.

      • jgeada an hour ago

        And what's happened since 1995 (30 years ago!) ?

        Because all the trends seem to indicate that to make a living people are working longer hours, holding multiple concurrent jobs (eg https://gameofjobs.org/are-americans-now-more-likely-than-ev...), and holding off retirement.

      • robocat 3 hours ago

        Source? Surely depends on the population chosen e.g. does average American include retirees?

        • missedthecue an hour ago

          Pretty sure the figure he's quoting is average hours working. bls.gov tracks this.

          So no, no retirees or students or unemployed or disabled in that figure.

      • financetechbro 3 hours ago

        What’s the problem with that? People are free to use their leisure time how they see fit.

        • dugidugout an hour ago

          They were likely pushing back on the original comment, such that it isn't solely:

          > ...those who decide about how your time is being used...

          which stops individuals from:

          > [spending] more time thinking, writing, playing piano, and taking walks — with other people.

          Which it seems you would agree with. I don't see where they asserted whether this was a problem to address.

    • ecshafer 5 hours ago

      If there is 1 job at a university. And there are 10 researchers applying. And 1 took this improvement in research speed to do more research, and 9 took the change to play more piano and take more walks, then most likely that one will get the job. This competitive nature is what has driven society forward and not kept us at just above subsistence agriculture.

      • throwup238 4 hours ago

        > This competitive nature is what has driven society forward and not kept us at just above subsistence agriculture.

        The UN estimates that around 500 million households or 2 billion people are still subsistence farmers. In 2025.

        Fat lot of good competition has done them, especially when they don’t have enough surplus to participate in a market economy to begin with.

      • swatcoder 5 hours ago

        Not really. It's a very recent fad to treat "research" as some kind of mechanical factory process that need simply optimize units research per unit time.

        When you sit down to think about it, what does it really even mean to do "more research"? What concrete phenomenon are you observing to decide what that is?

        Across the journey from "subsistence agriculture", there have been countless approaches to nurturing innovation and discovery, but abstracting it into an abstract game measured by papers published and citations received is extremely novel and so far seems to correlate more with a waste and noise than it does discovery. Science and research is not in a healthy period these days, and the model that you describe, and seem to take for granted or may even be celebrating, plays a big role in why.

  • coolness 12 hours ago

    Great post and amazing progress in this field! However, I have to wonder if some of these letters were part of the training data for Gemini, since they are well-known and someone has probably already done the painstaking work of transcribing them...

    • lccerina 9 hours ago

      Most likely, and probably inferring the structure on texts with "similar" writing forms. Tried with my handwriting (in italian) and the performance wasn't that stellar. More annoyingly, it is still a LLM and not a "pure" OCR, so some sentences were partially rephrased with different words than the one in the text. This is crucially problematic if they would be used to transcribe historical documents

      • embedding-shape 8 hours ago

        > Tried with my handwriting (in italian) and the performance wasn't that stellar.

        Same here, for diaries/journals written in mixed Swedish/English/Spanish and with absolutely terrible hand-writing.

        I'd love for the day where the writing is on the wall for handwriting recognition, which is something I bet on when I started with my journals, but seems that day has yet to come. I'm eager to get there though so I can archive all of it!

      • butlike 7 hours ago

        So it doesn't work is what you're saying, right?

      • pbronez 5 hours ago

        "it is still a LLM and not a "pure" OCR"

        When does a character model become a language model?

        If you're looking at block text with no connections between letter forms, each character mostly stands on its own. Except capital letters are much more likely at the beginning of a word or sentence than elsewhere, so you probably get a performance boost if you incorporate that.

        Now we're considering two-character chunks. Cursive script connects the letterforms, and the connection changes based on both the source and target. We can definitely get a performance boost from looking at those.

        Hmm you know these two-letter groupings aren't random. "ng" is much more likely if we just saw an "i". Maybe we need to take that into account.

        Hmm actually whole words are related to each other! I can make a pretty good guess at what word that four-letter-wide smudge is if I can figure out the word before and after...

        and now it's an LLM.

      • GaggiX 8 hours ago

        Are you sure to have used the Gemini 3.0 pro model? Maybe try increasing the media resolution on the AI studio if the text is small

    • MrSkelter 11 hours ago

      I have a personal corpus of letters between my grandparents in WW2. My grandfather fighting in Europe and my grandmother in England. The ability of Claude and ChatGPT to transcribe them is extremely impressive. Though I haven’t worked on them in months and this uses older models. At that time neither system could properly organize pages though and chatGPT would sometimes skip a paragraph.

      • vertnerd 10 hours ago

        I've also been working on half a dozen crates of old family letters. ChatGPT does well with them and is especially good at summarizing the letters. Unfortunately, all the output still has to be verified because it hallucinates words and phrases and drops lines here and there. So at this point, I still transcribe them by hand, because the verification process is actually more tiresome than just typing them up in the first place. Maybe I should just have ChatGPT verify MY transcriptions instead.

        • embedding-shape 8 hours ago

          It helps when you can see the confidence of each token, which downloadable weights usually gives you. Then whenever you (your software) detects a low confidence token, run over that section multiple times to generate alternatives, and either go with the highest confidence one, or manually review the suggestions. Easier than having to manually transcribe those parts at least.

          • seidleroni 5 hours ago

            Is there any way to do this with the frontier LLM's?

            • criemen 15 minutes ago

              It used to be that the answer was logprobs, but it seems that is no longer available.

            • red75prime 4 hours ago

              Ask them to mark low confidence words.

              • akoboldfrying 11 minutes ago

                Do they actually have access to that info "in-band"? I would guess not. OTOH it should be straightforward for the LLM program to report this -- someone else commented that you can do this when running your own LLM locally, but I guess commercial providers have incentives not to make this info available.

              • seidleroni an hour ago

                interesting... I'll give that a shot

      • SoftTalker 4 hours ago

        Always seemed strange to me that personal correspondence between two now-dead people is interesting. But I guess that is just my point of view. You could say the same thing about reading fiction, I guess.

        • suddenlybananas 23 minutes ago

          Why on earth wouldn't it be interesting? Do you only care about your own life?

    • dmd 10 hours ago

      Possibly, but given it can also read my handwriting- which is much, MUCH worse than Boole’s - with better accuracy than any human I’ve given it to- that’s probably not the explanation.

    • suddenlybananas 12 hours ago

      Shhhhh no one cares about data contamination anymore.

      • spwa4 10 hours ago

        Then write something down yourself and upload a picture to gemini.google.com or chatgpt. Hell, combine it. Make yourself a quick math test, print it, solve with pen and ask these models to correct it.

        They're very good at it.

        • suddenlybananas 24 minutes ago

          I don't know how to write like a 19th century mathematician, nor anyone earlier. I'm not sure OCR on Carolingian Miniscule has been solved, let alone more ancient styles like Roman cursive or, god forbid, things like cuneiform. Especially since the corpora on these styles is so small, dataset contamination /is/ a major issue!

        • timdiggerm 6 hours ago

          For that to be relevant to this post, they would need to write with secretary hand.

  • sph 9 hours ago

    Any self-hosted open source solution? I would like to digitize my paper notebooks but I do not want to use anything proprietary or that uses external services. What is the state of the art on the FOSS side?

    Ideally something that I can train with my own handwriting. I had a look at Tesseract, wondering if there’s anything better out there.

    • vintermann 9 hours ago

      Regular handwriting there are many.

      Historical handwriting, Gemini 3 is the only one which gave a decent result on a 19th century minutes from a town court in Northern Norway (Danish gothic handwriting with bleed through). I'm not 100% sure it's correct, but that's because it's so dang hard to read it to verify it. At least I see it gets many names, dates and locations right.

      I've been waiting a long time for this.

      • sph 9 hours ago

        > Regular handwriting there are many.

        Please share. I am out of the loop and my searches have not pointed me to the state of the art, which has seen major steps forward in the past 3 or 4 years but most of it seems to be closed or attached to larger AI products.

        Is it even still called OCR?

    • embedding-shape 8 hours ago

      Try various downloadable weights that has Vision, they're all good at different examples, running multiple ones and then finally something to aggregate/figure out the right one usually does the trick. Some recent ones to keep in the list: ministral-3-14b-reasoning, qwen3-vl-30b, magistral-small-2509, gemma-3-27b

      Personally I found magistral-small-2509 to be overall most accurate, but it completely fails on some samples, while qwen3-vl-30b doesn't struggle at all with those same samples. So seems training data is really uneven depending on what exactly you're trying to OCR.

      And the trade-off of course is that these are LLMs so not exactly lightweight nor fast on consumer hardware, but at least with the approach of using multiple you greatly increase the accuracy.

  • zelphirkalt 6 hours ago

    Quite certain my doctor can still produce writing, that the models don't stand a chance to be able to recognize.

    • RationPhantoms 5 hours ago

      Anecdata inbound but my PCP, thankfully, used Nuance's speech-to-text platform remarkably well for adding his own commentary on things. It was a refreshing thing to see and I hope my clinicians use it.

    • stronglikedan 5 hours ago

      I'm just excited that I may finally be able to decipher my meeting notes from yesterday!

  • pjmlp 12 hours ago

    Maybe for English, for the other human languages I use, it is still kind of hit and miss, just like speaking recognition, even with English it suffices to have an accent that is off the standard TV one.

  • macleginn 11 hours ago

    I became convinced of this after the release of KuroNet: https://arxiv.org/pdf/1910.09433 (High-quality OCR of Japanese manuscripts, which look almost impossible to read.)

  • girvo 9 hours ago

    > "transmitted": In the second line of the body, the word "transmitted" is crossed out in the original text

    Am I nuts or is this wrong, not “perfect”?

    It doesn’t look crossed out at all to me in the image, just some bleeding?

    Still very impressive, of course

    • williamscales 4 hours ago

      I agree, I noticed the same thing. To my eye it appears smudged.

  • taeric 5 hours ago

    I confess this largely surprises me for reasons that I think should not surprise me. I would expect current AI is largely best at guessing at what some writing was based on expectations of other things it has managed to "read." As such, I would think it is largely not going to be much better at hand writing than any other tool.

    Yet, it occurs to me that that "guess and check" is exactly what I'm doing when trying to read my 6yo's writing. Often I will do a pass to detect the main sounds, but then I start thinking of what was current on his thoughts and see if I can make a match. Not surprisingly, often I do.

  • __alexs 12 hours ago

    Call me when it can do Russian Cursive.

    • decimalenough 12 hours ago

      Seems to do an OK job:

      https://g.co/gemini/share/e173d18d1d80

      This is a random image from Twitter with no transcript or English translation provided, so it's not going to be in the training data.

      • shatsky 11 hours ago

        No, transcription has nothing to do with written text, it guessed few words here and there but not even general topic. That's doctors note about patient visit, beginning with "Прием: состояние удовл., t*, но кашель / patient visit: condition is OK, t(temperature normal?) but coughing". But unreadable doctors handwriting is a meme...

      • GaggiX 11 hours ago

        That's Gemini 2.5 Flash btw

        The result from Gemini 3 Pro using the default media resolution (the medium one): "(Заголовок / Header): Арсеньев (Фамилия / Surname - likely "Arsenyev")

            Состояние удовл-
        
            t N, кожные
        
            покровы чистые,
        
            [л/у не увел.]
        
            В зеве умерен. [умеренная]
        
            гипер. [гиперемия]
        
            В легких дыха-
        
            ние жесткое, хрипов
        
            нет. Тоны серд-
        
            [ца] [ритм]ичные.
        
            Живот мяг-
        
            кий, б/б [безболезненный].
        
            мочеисп. [мочеиспускание] своб. [свободное]
        
            Ds: ОРЗ [или ОРВИ]" and with the translation: "Arsenyev
        
        Condition satisfactory. Temp normal, skin coverings [skin] are clean, lymph nodes not enlarged. In the throat [pharynx], moderate hyperemia [redness]. In the lungs, breathing is rigid [hard], no rales [crackles/wheezing]. Heart tones are rhythmic. Abdomen is soft, painless. Urination is free [unhindered]. Diagnosis: ARD (Acute Respiratory Disease)."
        • red75prime 3 hours ago

          My first language is Russian. I can't fully understand this dreaded "doctor's cursive", but I can see that some parts of Gemini's text is probably wrong.

          It's most likely "но кашель сохр-ся лающий" ("but barking cough is still present"), not "кожные покровы чистые" ("the skin is clean"). Diagnose is probably wrong too. Judging by symptoms it should be "ОРЗ", but I have no idea what's actually written there.

          Still, it's very, very impressive.

        • __alexs 3 hours ago

          Ok fine I'm impressed

      • myth_drannon 6 hours ago

        This is a historical church document from 19th century and Gemini got it right with common words but completely hallucinated the names of village and people.

        https://gemini.google.com/share/f98de1d5ac55

    • myth_drannon 8 hours ago

      Right, it can do modern writing but anything older than a century ( church records and census)and it produces garbage. Yandex Archives figured that out and have CER in a single digit but they have the resources to collect immense data for training. I'm slowly building a dataset for finetuning TROCR model and the best it can do is CER 18% ... which is sort of readable.

      • coredog64 6 hours ago

        How do you do, fellow TrOCR fine-tuner?

        I'm using TrOCR because it's a smaller model that I can fine tune on a consumer card, but the age of the model and resources certainly make it a challenge. The official notebook for fine tuning hasn't been updated in years and has several errors due to the march of progress in the primary packages.

  • RationPhantoms 4 hours ago

    Wouldn't it be easier to train a vLLM on the handwriting style of the historical person in question? An agent graphologist if you will. Surely there is a lot of pattern matching in the way things are written.

    Then again, getting this result from a heavily-generalized SOTA model is pretty incredible too.

  • DarkNova6 11 hours ago

    > Here’s Transkribus’s best guess at George’s letter to Maryann, above:

    Transkribus got a new model architecture around the corner and the results look impressive. Not only for trivial cases like text, but also for table structures and layouting.

    Best of all, you can train it on your own corpus of text to support obscure languages and handwriting systems.

    Really looking forward to it.

  • zkmon 8 hours ago

    It's painful to see that beautiful hand-writing of the past is now pretty much extinct. For me, handwriting of a person speaks a lot about them, not just their mind, but physical state as well.

    • SoftTalker 4 hours ago

      Penmanship used to be a topic of instruction in school. It hasn't been for quite a long time. Even in the 1970s when we still had to write in cursive, we didn't spend time learning to make it elegant, with a lot of flourishes. We just learned a very plain standard form of writing. By high school everyone had diverged a bit with their own personal style but nothing like the writing of the 19th century.

      I once visited a high school where they had a wall of signatures from every graduating senior going back to the 1920s or so. The "personality" evident in the signatures showed a steady decline, from very stylish in the oldest ones to mostly just poorly printed names in the 2020s.

  • canopi 3 hours ago

    If that's not a proof of the 10/90 rule in machine learning. The last 10% of accuracy are harder than the first 90 (and that goes recursively).

    We almost solved OCR 20 years ago. Then we spent 20 years on the last percentage. We see the same in self-driving cars.

  • nottorp 5 hours ago

    I thought handwriting recognition is on the wall because no one knows how to write cursive any more

  • tigerlily 11 hours ago

    Surely the true prize is to be able to ditch computers altogether and just write with pencil on paper.

    • sph 7 hours ago

      I am writing on paper with the hope that one day I can digitize everything painlessly with 99.99% accuracy.

    • layer8 6 hours ago

      Keyboards are faster.

  • shevy-java 4 hours ago

    I can't recognize my handwriting anymore. :(

  • iamflimflam1 12 hours ago

    If I went back in time to the 90s when I was doing my PhD I would absolutely blow my mind with how well handwriting OCR works now.

  • tokai 7 hours ago

    Anyone knows how the models do on Russian cursive?

  • ferguess_k 8 hours ago

    Don't worry, handwriting itself has diminished throughout the decades since the introduction of computers an especially smart phones.

    Ah, maybe I'll pick up Qin seal when I retire, if I retire.

  • supersrdjan 3 hours ago

    Now, onto the next frontier: handwriting recognition for shorthand. Let's start from Orthic :)

  • th0ma5 12 hours ago

    My question for OCR automation is always which digits within the numbers being read are allowed to be incorrect?

  • lifestyleguru 10 hours ago

    It feels unbelievable that in Europe literacy rate could be 10% of lower. Then I look at documents even as young as 150 years... fraktur, blackletter, elaborate handwritting. I guess I'm illiterate now.

    Hopefully next generations will feel the same about legal contracts, law in general, and Java code bases. They're incomprehensible not because of fonts but because of unfathomable complexity.

    • sph 9 hours ago

      Which Europe and which century do you live in where literacy rate is below 10%?

    • tpm 9 hours ago

      You can learn fraktur or blackletter in a day and cyrillic in a few days, if you already know the latin alphabet.

      • lifestyleguru 9 hours ago

        > learn fraktur or blackletter in a day and cyrillic in a few days

        Not a chance, sorry.

        • tpm 5 hours ago

          Why? The former are just different typefaces (I learned to read them by myself when I was 10 while looking at our old books) and the latter I sort of picked up while travelling through Serbia and Bulgaria (I don't speak the languages).

  • nikanj 11 hours ago

    The writing is on the wall for handwriting. Zoomers use speech recognition or touchscreen keyboards, millennials use keyboards. Boomers use pens

    • sph 7 hours ago

      Silly comment. Handwriting is proven to be correlated with much better memory retention, which ultimately means much greater degree of association with existing memories and the creation of novel ideas.

      "The comparison between handwriting and typing reveals important differences in their neural and cognitive impacts. Handwriting activates a broader network of brain regions involved in motor, sensory, and cognitive processing, contributing to deeper learning, enhanced memory retention, and more effective engagement with written material. Typing, while more efficient and automated, engages fewer neural circuits, resulting in more passive cognitive engagement. These findings suggest that despite the advantages of typing in terms of speed and convenience, handwriting remains an important tool for learning and memory retention, particularly in educational contexts."

      https://pmc.ncbi.nlm.nih.gov/articles/PMC11943480/

      You are literally handicapping yourself by not thinking with pen and paper, or keeping paper notes.

      The future is handwriting with painless digitization for searchability, until we invent a better input device for text that leverages our motor-memory facilities in the brain.

      • debazel 5 hours ago

        This paper just says that handwriting requires more cognitive load?

        Which is exactly my experience with handwriting through my school years. When handwriting notes during lectures all focus goes to plotting down words, and it becomes impossible to actually focus on the meaning behind them.

        • SoftTalker 4 hours ago

          The actual research doesn't back up your personal experience.

      • nikanj 3 hours ago

        Handwriting might be very beneficial, but so are frequent social visits and those are going away too - a 2025 human spends way less time with friends than a 1975 human did. We are not rational actors, and good habits die easily

    • lccerina 9 hours ago

      I call out the Lindy effect. Handwriting survived printed characters, typewriters, and the last 50-70 years of computers and keyboards, it will survive this too.

    • djmips 7 hours ago

      I love how you fit right into the current meme that Gen-X never gets mentioned.

      • shaftway 29 minutes ago

        While I agree (and strongly identify with, and like this position), one could amend the original to be "Gen-X uses pens and print, Boomers use pens and cursive"