More than one in four people currently integrate speech recognition into their daily lives. A new algorithm developed by a University of Copenhagen researcher and his international colleagues makes it possible to interact with digital assistants like “Siri” without any internet connection. The innovation allows for speech recognition to be used anywhere, even in situations where security is paramount.

[…]

Until now, speech recognition has relied upon a device being connected to the internet. This is because the algorithms typically used for this process require significant amounts of temporary random access memory (RAM) which is usually provided by powerful data center servers. Indeed, try switching your smartphone to airplane mode and see how far your voice commands get you. But change is in the air.

A new algorithm developed by Professor Panagiotis Karras from the University of Copenhagen’s Department of Computer Science, together with linguist Nassos Katsamanis of the Athena Research Center in Greece, and researchers from Aalto University in Finland and KTH in Sweden, allows even smaller devices like smartphones to decode speech without needing substantial memory—or internet access.

The code, recently presented in a scientific article, employs a clever strategy: it “forgets” what it doesn’t need in real-time.

[…]

This maneuver may sound simple, but it involves an entirely new and unique code for which the researchers have sought a patent. This algorithm reduces the need for critical memory without sacrificing recognition quality. And though it requires slightly more time and computational power, the researchers assure that the difference is negligible vis-à-vis the muscular capabilities of modern devices.

Moreover, it works without an internet connection, thus enabling speech recognition—and potentially real-time language translation in the future, hope the researchers—anywhere, even in the depths of the Amazon jungle.

[…]

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      9 days ago

      I think that’s based on OpenAI’s Whisper model. (Which seems to be the defacto standard these days.)

    • Gormadt@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      9 days ago

      I’ve only had issues on days when I swap my aligners but even my friends have a hard time those days lol

      10/10 highly recommended

      I also dig their keyboard, I just wish it supported like searching for gifs to put directly into messenger apps.

      9/10

    • Steve@communick.news
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 days ago

      That’s what I was thinking.
      I’m pretty sure FUTO isn’t the only one either.
      This doesn’t seem like new tech.

  • dan@upvote.au
    link
    fedilink
    arrow-up
    13
    ·
    9 days ago

    I think the Home Assistant community has been working on offline speech recognition too, as a fully open replacement to things like Google Assistant.

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 days ago

      Pretty sure they use Whisper, which is what FUTO Keyboard already uses on Android to keep it local to the phone.

      I use Heliboard as a keyboard, then FUTO Voice connected to the mic button.

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    This article may have been right 2 years ago, but not so much today.

    I have an offline stt keyboard on my phone that uses Vosk. I used to have a stt digital assistant, too (can’t remember which model), but I didn’t need a “siri” and ended up uninstalling.

  • B0rax@feddit.org
    link
    fedilink
    arrow-up
    5
    ·
    8 days ago

    What? Local speech recognition is already integrated in most phones. Open source options are also freely available… I am not sure what the news is here…

    • Nalivai@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      8 days ago

      Maybe it’s iPhone thing? Usually when I see the news like “this amazing innovative feature will be finally available and will change the world”, and it’s something mundane that I was able to use for years, it means that iPhone is getting this feature finally.

      • B0rax@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        7 days ago

        The iPhone also had local speech recognition for quite a while now. It is available since the iPhone 6s and the iPhone SE. Both of which came out in 2015 - 9 Years ago.

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    5
    ·
    9 days ago

    I wonder how many of those one in four people are even aware that everything they say gets uploaded to a data centre somewhere. I had a phone with speech recognition as a prominent feature until I wiped it and installed a different OS, and I don’t remember seeing any warning at all about that.

  • brisk@aussie.zone
    link
    fedilink
    arrow-up
    4
    ·
    8 days ago

    This maneuver may sound simple, but it involves an entirely new and unique code for which the researchers have sought a patent.

    How to make your discovery worthless in a single, idiotic move.

    • Verito@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 days ago

      But it saves so much money on server time and data costs to just send the final transcript!
      /s

  • Markaos@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    8 days ago

    Indeed, try switching your smartphone to airplane mode and see how far your voice commands get you.

    Did that (or rather disabled mobile data and WiFi, because airplane mode would still keep the WiFi on), and then I dictated this sentence after the parentheses. So Google’s voice input works offline just fine.

    Or do they mean something like a smart assistant? In that case fair, but it’s not like it will work with text input either.

    It is true, however, that Google Translate doesn’t do offline voice translation even if the language you’re trying to translate from is downloaded for system-wide voice recognition.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 days ago

    I think the real deal would be to have that available as open source. Maybe integrated directly into the core AOSP. I mean the technology is available. And my phone has like 8GB of RAM. The only issue is that all of that isn’t really integrated into my phone. And I think I’d ocassionaly use speech to text, text to speech and machine translation… But I want it locally and Free Software… Same for my computer. All the software is there. But it isn’t integrated into the desktop and takes half a day to set up all the different Python projects, and then I can launch some commands via the terminal. But I’d rather have something that’s integrated into the rest of my tools…

  • jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    3
    ·
    8 days ago

    I don’t think I’ve ever desired to have speech as an interface for a device.

    Yeah, I could yell at it “Open the browser and go to uhh the order of the stick comic index page” and maybe it would get it right. Or I could just… click on the browser, type oot and pick it from the drop down. Faster, no error, no expensive processing.

    I don’t drive (cars are a bad form of transit and I’m lucky enough to not need one) and I’m not hands-full in the kitchen often.