‹ BackHN Continuity

Thread

Astra for Law

589 points · 689 comments · vertigoruntime

  1. ivraatiems · · focus · HN ↗
    I know someone who works in law and deals particularly with an area of US benefits and healthcare law. One of their workflows for lower-level employees at their firm involves taking in documents from healthcare plans and organizations, analyzing them for certain kinds of data, and then importing that data into an internal system they use to analyze and provide guidance on plans. The internal system can contain hundreds of documents for an individual client. All of the documents have the same information (roughly) but in totally diverse formats and styles. Once it's in the system, it's easy to compare and analyze across documents and the research process is much faster.

    They recently bought a Claude subscription and began using Claude to do the initial read of the documents and output JSON they can import into their internal systems. The work still must be reviewed by an attorney - Claude is nowhere near making the kinds of judgments a lawyer would make about this content - but it has increased their throughput from 2-3 documents an hour to 8-10 documents an hour by killing the busy work.

    LLMs have great advantages for this kind of work - but not for decision-making. I just don't see OpenAI ever admitting that.

    (I've left some details intentionally vague because this is a very specific area of law and I don't want my friends to be identified without their consent.)

    1. refurb · · focus · HN ↗
      I’m curious how this increased throughput happens.

      You’ve accurately stated that AI isn’t as rigorous as a trained attorney. Doesn’t that mean that every single datapoint must be confirmed by a human?

      How is that quicker than just using a human to read the content and make the call? Data entry savings?

      1. juiceland · · focus · HN ↗
        You don’t need a trained attorney to schematize data. The LLMs are used to make the data easier to understand and manipulate.
        1. cromka · · focus · HN ↗
          They'll also hallucinate and change meaning in the process of extraction and "schematization"
          1. margalabargala · · focus · HN ↗
            Not necessarily. Depends how you use it.

            "Write a python script that breaks down this PDF by X feature" would not hallucinate anything in the PDF. Certainly you could trivially double check that all text in the extracted JSON was in the text layer of the PDF.

            1. jeffbee · · focus · HN ↗
              How much experience do you have with LLMs exactly? It would be consistent with my experience if Claude stuck in a line of python that just emits a JSON literal with no justification, potentially buried in a large program where an untrained person might not notice it. I don't even trust them if the output consists of structured data paired with source images from the PDF, because I've experienced LLMs fabricating the source rectangles to match the output. I only use tools like this by asking for programs, because as you note LLMs are good at that, and the verification process consists of tool calls to legitimate PDF manipulation tools so I have some confidence everything is above board. Even then I only do this for hobbies, not anything that matters.
              1. terminalcommand · · focus · HN ↗
                Lawyer here. I used to trust Claude as hallucinations are near non-existent now. However for large volume tasks such as due diligence exercises, they still happen. We also tried Legora's tabular review, there were also numerous halucinated provisions in our due diligence exercise.
                1. rayiner · · focus · HN ↗
                  Junior associates hallucinate too...
                  1. NateEag · · focus · HN ↗
                    And when they do, you can train them or fire them, and they learn not to do it.

                    LLMs change not a whit, and there's no one to take responsibility for the failure (and thus no way to fix it).

                    As the new variation on the old theme has it, "A computer can never be held accountable, and so very many people are trying to get them make management decisions."

                    1. IanCal · · focus · HN ↗
                      You can’t train people to never make a mistake, particularly when doing highly repetitive work like this. You must build your systems to account for that regardless.
                      1. enraged_camel · · focus · HN ↗
                        Yes, exactly. Humans are non-deterministic as well, just in different ways. A tired human can make all sorts of errors for example, regardless of how much training they've had.
                      2. NateEag · · focus · HN ↗
                        For sure.

                        But they do learn and improve.

                        The models don't (yet).

                        1. hollerith · · focus · HN ↗
                          The models learn and improve in the sense that GPT 5.6 can do things GPT 5.5 failed at.

                          It might be that the models learn and improve in this sense faster than a human child does.

                    2. juiceland · · focus · HN ↗
                      > LLMs change not a whit, and there's no one to take responsibility for the failure (and thus no way to fix it).

                      LLM output is nondeterministic and humans take responsibility for the failure the same way they take responsibility of a photocopy is too dark.

                      1. NateEag · · focus · HN ↗
                        > humans take responsibility for the failure the same way they take responsibility of a photocopy is too dark.

                        You mean, they notice it's too dark right after making it, change the settings, do it again, and give you the good copy?

                        Because yes, that's my experience of humans.

                  2. podocarp · · focus · HN ↗
                    You can scold juniors and they will learn. You can't scold Claude.
                    1. stevesimmons · · focus · HN ↗
                      Surely the rate of improvement in new LLM models is the equivalent mechanism?
                    2. eru · · focus · HN ↗
                      You can scold Claude. Just doesn't make a difference.
                      1. chrisjj · · focus · HN ↗
                        [delayed]
                2. egorfine · · focus · HN ↗
                  Is it possible to catch those hallucinations using another LLM with a strong fact checker prompt with sources provided in output for human validation?
                3. mcmcvane · · focus · HN ↗

                  [dead]

            2. chrisjj · · focus · HN ↗
              That's a recipe for disaster in my experience. I tried it (with Claude) on a simple tabular bank statement PDF, and it transposed two amounts, placinh each against the other's description. And the bot assured me the result was cotrect. The chance of a human checker catching such corruption is low.
              1. margalabargala · · focus · HN ↗
                Interesting. Did that PDF have a text layer or did you ask Claude to OCR it? If the latter I'm not surprised at all.
                1. chrisjj · · focus · HN ↗
                  [delayed]
          2. ferngodfather · · focus · HN ↗
            Doing similar-ish things with Claude, it's helpful to have something to ground it.

            For instance, if you can say:

            "Refer to the database schema in x.sql as your source of truth for the database structure we want to import int. Do not invent data, tables or columns that do not exist. Carefully match all output against this database schema and do not create output that doesn't exist if it does not match the schema, simply skip it."

            You will end up with a far better result in my experience.

            Gotta treat it like a child.

            1. chrisjj · · focus · HN ↗
              [delayed]
          3. ivraatiems · · focus · HN ↗
            They do, sometimes. That's why the review still has to happen.

            But now it's comparing already filled columns on a spreadsheet, not copy-pasting every single thing from an (often uncopyable) PDF.

            1. chrisjj · · focus · HN ↗
              [delayed]
              1. ivraatiems · · focus · HN ↗
                "Copyable" in this case means you can highlight and copy paste text instead of manually retyping it.
          4. juiceland · · focus · HN ↗
            But it gets it right like 99% of the time so human attention can be put towards catching the 1%, not entering data from one table to another and then catching that human’s mistakes.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.