Help me understand Voice Recognition tech

I am interested in getting an app that would allow me to make notes via voice-to-text. I work in a field with HIPAA protections. I’m having trouble figuring out the nuances of privacy related to these apps.

First off, is this kind of software considered “AI”? How does it even recognize that a sound equals a word? Do they use LLM tech? Does the tech learn to recognize my voice better over time? Does it use my recordings to learn to understand other’s voices? Is this all a black box? How can I take precautions such that no one except me hears the things I transcribe?

This is just such confusing tech! It seems like it’s fairly old and common but the more I think about it in relation to current age AI, the more creeped out I get! And yet my doctor uses one regularly… I’ll be asking her about it too, don’t worry.

Thank you!

  • Diabolo96@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 months ago

    It’s AI and your voice won’t be used for training if you use a local model.

    Use Whisper stt. It run on your computer so nothing will be out. You can adapt the model size based on how powerful your computer is. The bigger the model the better at transcribing it will be.

    • TimewornTraveler@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      8 months ago

      That sounds interesting. I was hoping for something that I could use on a mobile app. I’m not sure what “adapting the model size” means so this might be more complicated than I’m looking for.

      • Diabolo96@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 months ago

        I was hoping for something that I could use on a mobile app.

        Record then transcribe later ? But you can try https://whisper.ggerganov.com ( this runs on your browser but nothing is sent. So works even on your Android/IOS phone.) the website owner is a trusted dev that made whisper.cpp and llama.ccp, the latter basically being the backbone of the entire LLM industry.

        I’m not sure what “adapting the model size” means so this might be more complicated than I’m looking for.

        A bit of complexity is generally the price to pay for freedom from the constant surveillance and data gathering. Plus, It’s actually super easy. Bigger model means better transcription quality, but the smaller ones are really good already. The base.en is probably all you need anyway.

        On pc, you can generally try any app from github. They basically all use the same backend.

        I found a few : https://whishper.net/ https://github.com/chidiwilliams/buzz

  • abhibeckert@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    8 months ago

    I work in a field with HIPAA protections.

    Definitely need to be careful then.

    is this kind of software considered “AI”?

    The best voice recognition is based on AI — yes.

    Before AI, voice recognition existed but it was generally pretty shit and really struggled with accents, low quality microphones, background noise, people saying things that don’t strictly make sense. E.g. if you say “We’ll burn that bridge when we get to it.” a good AI might replace “burn” with the word “cross”… it will at least have the capability to do that, wether or not it will would depend on your settings - is “accuracy” about what someone said or what someone actually meant? That’s configurable in the best systems.

    Does the tech learn to recognize my voice better over time?

    Old software did. These days systems work so well that would just add cost with zero benefit. Good speech recognition will understand your speech perfectly as long as your microphone is decent and “learning” wouldn’t help much with that one potential problem area.

    Some speech systems do learn in order to recognise/identify people (for example, a voice assistant might use it to figure out who “me” is in a command like “remind me to do get milk when I get to the shops”. And a good transcription service will recognise different people talking in a single recording, and provide an appropriately annotated transcript. That’s about the extent of “recognising” your voice, it doesn’t generally learn from you over time.

    Is this all a black box?

    Kinda yeah. The researchers paid a huge number of people in third world countries to compare recordings to transcriptions, and make a “correct / incorrect” judgement call. Then fed all of that, and a whole bunch of other things (it’s believed every YouTube video ever uploaded might have been involved…) into a very complex model.

    Tweaks are made but it’s just too much data (OpenAI says they used 680,000 hours of audio) to fully get your head around all of it. A bit like trying to understand how the human brain recognises speech — we have a broad idea but don’t really know.

    Does it use my recordings to learn to understand other’s voices? How can I take precautions such that no one except me hears the things I transcribe?

    Check the privacy statement for the service. They might, for example, send your recordings to be assessed for accuracy by employees/subcontractors. AFAIK (not a lawyer) that would be a breach of HIPAA.

    AFAIK some Apple speech recognition features are HIPAA compliant. Look that up to verify it but in general iPhones and Macs Apple have AI speech processing hardware on the device allowing fully local processing… but not all features are done locally and in some cases they may transmit “anonymised” (useless if you speak someone’s name…) speech to employees/contractors to improve the software. That can be disabled in settings.

    Amazon and OpenAI do everything in the cloud but have fully HIPAA compliant versions of their services (I assume those are not cheap…)

    You could try open source models — I don’t know how good they are in practice.

  • King_Bob_IV@startrek.website
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months ago

    I work for a Canadian EMR company and we deal with a couple of options for medical voice software. I know Dragon naturally speaking has a medical offering that likely would meet any regulatory requirements. There are also some subscription based ones that I don’t know if there are US versions of, but If you google the medical options you should be able to find some options.

  • Brokkr@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 months ago

    My kid’s doctor had service to transcribe the visits. Patients may opt out verbally. This is all through the hospital, so presumably it is HIPAA compliant.

    Instead of creating your own solution that complies with HIPAA, it is probably easier to use one that already exists.

    • TimewornTraveler@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 months ago

      Well that’s why I said I will be asking my doctor what she uses! And I likely wont be transcribing anything professional, but I do still have my phone on me in those settings. It’s more about the fact that I don’t want my own personal notes to be automatically handed to an LLM and regurgitated out into the world without my knowledge. If it can recognize and transcribe my speech, what’s to stop it from using that to train an LLM, which in turn notoriously plagiarizes its training data?

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Since this is for work, I would start by asking whoever does IT stuff. You really don’t want to be sending HIPAA data off to who knows where without permission.

        • TimewornTraveler@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          Makes sense. I think my main concern is how can I be certain it doesn’t listen to stuff when I dont let it.

          Ever have that weird phenomenon when you’re discussing something and somehow what you were talking about is the first suggested search result?

          • catloaf@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            At least on my phone, with Android 14, there is an indicator when an app is using the microphone or camera.