News for hackers. Stuff that matters.
Re:Facebook open-sources a speech-recognition system and a m... by sfilargi on Friday December 21, 2018 @03:40PM (#18736433)
Interesting, why does FB need a speech recognition system?
Re:Facebook open-sources a speech-recognition system and a m... by leesec on Friday December 21, 2018 @03:41PM (#18736443)
Because of their many products that support voice features? Messenger, whatsapp, etc...
Re:Facebook open-sources a speech-recognition system and a m... by sfilargi on Friday December 21, 2018 @03:46PM (#18736496)
Why would you need voice recognition for them? What is the use-case?
Re:Facebook open-sources a speech-recognition system and a m... by qeternity on Friday December 21, 2018 @03:47PM (#18736509)
Speech-to-text i.e. dictation? One of the most common use-cases.
Re:Facebook open-sources a speech-recognition system and a m... by hnauz on Friday December 21, 2018 @03:59PM (#18736605)
That's handled by the system on both Android and iOS. I remain unconvinced.
Re:Facebook open-sources a speech-recognition system and a m... by computerex on Friday December 21, 2018 @06:00PM (#18737472)
The built in offline Android speech recognizer is really bad. Giants like Google and Facebook are blessed with data, and so they can train state of the art speech recognition models (much much better than what you get out of the built in Android recognizer) and then provide speech recognition as a service. They can control the recognition because it happens on their servers and is independent of Android or any other OS.

And so FB for instance can send some voice data to their servers and get a text output. And then FB can use text sentiment analysis to get further context about the message.

Sadly, most people don't have the speech data to train their own recognizers on large vocabulary systems, and that's even harder for languages that are not English. With exception of Google/Amazon/FB/Microsoft/Baidu/etc other people have to use the API's offered by the above companies to do high fidelity recognition. Which sucks because there is a cost to each recognition. You have to pay someone else to do it.

Whereas FB/Amazon/MS/Baidu/etc can do high fidelity recognition offline on large vocabulary and offer it as a service. THIS is why FB wants to make speech recognition systems.

Re:Facebook open-sources a speech-recognition system and a m... by a-dub on Friday December 21, 2018 @07:20PM (#18737976)
Labeled data is indeed a problem. The only sizable corpus I know of is TIMIT and it costs $300 and I think has prohibitions on commercial use. That said, phonetic labeling is becoming less important thanks to designs like this...

I wonder if you could bootstrap a sizable speech dataset by trawling audio off YouTube and then using one of the really good cloud speech recognition services to label it. :)

Re:Facebook open-sources a speech-recognition system and a m... by woodson on Friday December 21, 2018 @09:39PM (#18738590)
IMHO, the TIMIT corpus should no longer be used in most application-driven speech recogniton research, as it’s small and completely unrealistic for any real world application. Furthermore, nobody cares about phone error rates, as recognizing phones is not the ultimate goal.

There have been much better, larger datasets available for a long time, for example the Fisher English conversational telephone speech corpus was released in 2004 and contains ~1950h of transcribed speech. There are tons of other datasets in various languages and for various applications (conversational speech, broadcast transcription, etc.).

Re:Facebook open-sources a speech-recognition system and a m... by a-dub on Friday December 21, 2018 @11:42PM (#18738955)
Isn't there some value in being able to bench accoustic models in isolation, no matter how weak they may be, without downstream language models?
Re:Facebook open-sources a speech-recognition system and a m... by dymk on Friday December 21, 2018 @08:31PM (#18738298)
The labeled data is $300? That's basically free, even for somebody who's just a serious hobbyist, much less any funded public or private research group.

Edit: It's even less [1]:

    $0.00 1993 Member
    $250.00 Non-Member
    $125.00 Reduced-License
[1]: https://catalog.ldc.upenn.edu/LDC93S1
Re:Facebook open-sources a speech-recognition system and a m... by rhizome on Friday December 21, 2018 @06:38PM (#18737721)
The built in offline Android speech recognizer is really bad. Giants like Google and Facebook are blessed with data, and so they can train state of the art speech recognition models (much much better than what you get out of the built in Android recognizer) and then provide speech recognition as a service. They can control the recognition because it happens on their servers and is independent of Android or any other OS.

Is the implication that offline Android recognition does not train on the owner's voice at all? I imagine a lot of phones these days are at least as powerful as the Pentium 200s used to train (successfully!) Dragon Dictate et al 20+ years ago.

Re:Facebook open-sources a speech-recognition system and a m... by computerex on Friday December 21, 2018 @08:32PM (#18738301)
Well let's forget the offline android recognizer. That's the one that's built in and doesn't go to Google via the internet to get a better accuracy transcription. It's fairly good for what it is but doesn't come close to the accuracy when you go to the google recognition servers via their API's. That's because the models they offer via the recognition services are much larger, robust and better than what you get straight out of Android. These services offered by companies such as Google do not adapt the acoustic model to individual speakers and are therefore known to be speaker independent.

Secondly, when I say "train", it is in a totally different context than how you seem to be using the term. You are using it in the context of adapting an acoustic model to a individual speaker to improve the performance. I am talking about building the initial model. Typical RNN or even convolution based algorithms require a lot of time and processing power to train. What's even harder to get than the processing power though is of course, data to train off of.

Re:Facebook open-sources a speech-recognition system and a m... by rhizome on Saturday December 22, 2018 @01:05AM (#18739219)
I think you're making a distinction without a difference, since there is (or has been for a long time) an initial model supplied by personal recognition devices/software/etc., too. And sure, if it's not trainable by the user it's going to be using a generalized model. There are tradeoffs there, and the point of my comment was that for a personal speech recognizer it makes sense that it be trainable by the user, especially when the hardware is powerful enough.
Re:Facebook open-sources a speech-recognition system and a m... by computerex on Saturday December 22, 2018 @12:24PM (#18741474)
This is false. The distinction I was making is very real. The "initial models" you are talking about are small and weak, nowhere near as robust or powerful as the models trained and used by Google/Microsoft/etc on their own servers. State of the art neural networks based recognizers need serious hardware for training, orders of magnitudes more than what is available in smart phones/personal commodity hardware (unless it's massively clustered and distributed).

Secondly, the trained model itself is very big just for storage, and inference against the model is also resource intensive. This is why Android/Google maps/search/etc go out to the google's backend recognition servers for speech to text before falling back on the shitty (but relatively good) offline inline model (that may not even be using state of the art speech recognition techniques and may be using old school GMM based recognizers).

Finally, the large models trained on the backend servers using their distributed computing infrastructure are extremely more accurate than the shitty fallback model, so speaker dependent adaptations aren't necessary. If you can get very very good performance from a speaker independent model, why would you put the extra effort to make speaker dependent adaptations if the gain is very marginal? Not to mention the fact that speaker independent models are more useful in more situations and are extremely powerful. Google for instance can caption videos automatically using speech recognition, which is amazing. If the models were speaker dependent they wouldn't be able to do that. That's why the focus has been so much towards speaker independent models.

Re:Facebook open-sources a speech-recognition system and a m... by canada_dry on Friday December 21, 2018 @08:57PM (#18738387)
> The built in offline Android speech recognizer is really bad.

I totally disagree. Compared to Sphinx it is still lightyears better.

To wit I use it for my android based home automation voice recognition and even from a distance with background noise it still works about >90% accuracy. My original tests with Sphinx in a similar environment garnered about 30%.

Re:Facebook open-sources a speech-recognition system and a m... by computerex on Saturday December 22, 2018 @12:31PM (#18741508)
I completely agree with you that it's much better than Sphinx/Pocketsphinx. It's even much better than Microsoft's built in speech recognizer that's been around since XP. But it is still very bad compared to the recognition available via Google's voice API and that was the point. Also, I was trying to explain that given the types of models used today for recognition, inherently models trained and hosted somewhere are going to be bigger and more accurate than ones deployed on the field.
Re:Facebook open-sources a speech-recognition system and a m... by pavlov on Friday December 21, 2018 @04:08PM (#18736664)
Facebook delivers software on many other platforms than just iOS and Android.

There’s also the new Portal hardware.

Re:Facebook open-sources a speech-recognition system and a m... by baq on Friday December 21, 2018 @04:44PM (#18736948)
yeah well facebook wants to know what you said and not what android told it you said.
Re:Facebook open-sources a speech-recognition system and a m... by donjoe on Friday December 21, 2018 @03:48PM (#18736512)
Advertisement based on keywords.
Re:Facebook open-sources a speech-recognition system and a m... by srbijadotokija on Friday December 21, 2018 @04:48PM (#18736982)
this was never confirmed afaik, but it looks like they are doing just that
Re:Facebook open-sources a speech-recognition system and a m... by djohnston on Friday December 21, 2018 @03:48PM (#18736515)
data input that doesn't involve keyboards..
Re:Facebook open-sources a speech-recognition system and a m... by karmasimida on Friday December 21, 2018 @04:07PM (#18736658)
Why not?

Facebook as research arm dedicated to play Go/Starcraft also, what do you think their reason is for doing that?

They can use a speech recognition system to transcribe videos, just like what Youtube is doing to improve ad targeting and recommendation. Why is this hard to understand?

Re:Facebook open-sources a speech-recognition system and a m... by sfilargi on Friday December 21, 2018 @04:11PM (#18736679)
No need to be aggressive, as I am not being cynical. I am genuinely asking, because I couldn't see any immediate need for it in their main product.
Re:Facebook open-sources a speech-recognition system and a m... by dnautics on Friday December 21, 2018 @04:21PM (#18736752)
But also remember that accessibility for visually impaired folk is often. A regulatory imperative in those product lines.
Re:Facebook open-sources a speech-recognition system and a m... by danso on Friday December 21, 2018 @04:45PM (#18736959)
Facebook has its own Alexa/Echo like offering. Not sure if Messenger also has voice functionality.
Re:Facebook open-sources a speech-recognition system and a m... by moneil971 on Friday December 21, 2018 @05:08PM (#18737131)
It does, you can do video and voice calling from the Messenger app
Re:Facebook open-sources a speech-recognition system and a m... by nurettin on Friday December 21, 2018 @04:20PM (#18736750)
that would be a bit creepy and opportunistic if fb did that. Yt videos are by and large uploaded for profit. Fb videos are uploaded for storing birthdays and family vacations.
Re:Facebook open-sources a speech-recognition system and a m... by 52358 on Friday December 21, 2018 @04:30PM (#18736825)
you're forgetting about Facebook Watch, which allows pages to monetize their videos through an ads program just like youtube
Re:Facebook open-sources a speech-recognition system and a m... by dqpb on Friday December 21, 2018 @04:25PM (#18736787)
Could be used for indexing videos for search
Re:Facebook open-sources a speech-recognition system and a m... by rock_hard on Friday December 21, 2018 @04:27PM (#18736806)
To automatically create subtitles for translation is another use case I have seen
Re:Facebook open-sources a speech-recognition system and a m... by yesenadam on Friday December 21, 2018 @06:01PM (#18737481)
Yt videos are by and large uploaded for profit

Is that true? I don't have the stats, but I guess a very small percentage of yt videos were uploaded 'for profit'. Like 1% or less? Maybe much less.

Re:Facebook open-sources a speech-recognition system and a m... by amelius on Friday December 21, 2018 @05:36PM (#18737318)
Interpret the spoken text in posted videos? E.g. for automatic subtitling?
Re:Facebook open-sources a speech-recognition system and a m... by matz1 on Friday December 21, 2018 @04:18PM (#18736734)
speech recognition system is becoming fundamental for all kind of software these days. speech to text input, speech navigation, etc
Re:Facebook open-sources a speech-recognition system and a m... by underwater on Friday December 21, 2018 @03:54PM (#18736556)
I think Portal has voice control, but is currently using Alexa for most functionality.
Re:Facebook open-sources a speech-recognition system and a m... by jka on Friday December 21, 2018 @05:18PM (#18737205)
Sending voice messages is a pretty common form of user-to-user messaging in Asia - i.e. record a brief audio snippet instead of tapping out a sentence on a phone keyboard
Re:Facebook open-sources a speech-recognition system and a m... by xpaulbettsx on Friday December 21, 2018 @05:37PM (#18737326)
Re:Facebook open-sources a speech-recognition system and a m... by bad_good_guy on Friday December 21, 2018 @04:09PM (#18736665)
Potential Oculus control option?
Re:Facebook open-sources a speech-recognition system and a m... by 52358 on Friday December 21, 2018 @04:31PM (#18736838)
isn't Portal supposed to have it's own voice assistant, Aloha or whatnot?
Re:Facebook open-sources a speech-recognition system and a m... by gaius on Saturday December 22, 2018 @12:51AM (#18739169)
So their app can eavesdrop on your conversations to target more ads. Facebook does nothing without an ulterior motive.
Re:Facebook open-sources a speech-recognition system and a m... by Spooky23 on Friday December 21, 2018 @06:35PM (#18737699)
Totally not because they listen to anyone to profile users or target ads.
Re:Facebook open-sources a speech-recognition system and a m... by ArtDev on Friday December 21, 2018 @06:01PM (#18737480)
Perhaps to listen in on your voice conversations and serve you ads so relevant its creepy?

From a software standpoint, this has never been proven. However, its super weird when it happens to you.

For example, I traveled to meet a coworker who was playing a mobile game I had never seen before and we talked about it. I never Googled it or anything like that.

Hours later I checked Instagram and the first ad was for the same mobile game. Coincidence?

Perhaps the game was simply advertised more in his city than my own?

Perhaps our phones being near each other prompted a "friend request suggestion" and then a took that to another level with installed apps?

Or just a coincidence and I am thinking too much about it. lol.

Re:Facebook open-sources a speech-recognition system and a m... by rurban on Friday December 21, 2018 @04:05PM (#18736642)
Their mobile app most likely records everything being said and transmits it encrypted to their servers, so that they can improve ad targeting.
Re:Facebook open-sources a speech-recognition system and a m... by pavlov on Friday December 21, 2018 @04:09PM (#18736668)
That’s a nonsense conspiracy theory. Thousands of people have internal access to the full source code for the mobile app.

“Ah, but there’s an undetectable binary blob that gets linked in and called without being detected by anyone working on the code,” you say. In that case consider the battery life impact. The power consumption of the Facebook app compares favorably to its social media peers. Is everybody else also recording, encoding and encrypting all the time?

Re:Facebook open-sources a speech-recognition system and a m... by gaius on Saturday December 22, 2018 @12:54AM (#18739185)
Thousands of people have internal access to the full source code for the mobile app.

So what? Thousands of the same people have access to the full source code of everything underhanded Facebook do and it hasn’t stopped anything.

Re:Facebook open-sources a speech-recognition system and a m... by sfilargi on Friday December 21, 2018 @04:15PM (#18736709)
I am not saying that the grand-parent is on to something, but I would be careful when calling anything done by them as "nonsense conspiracy theory". They have proved these "conspiracy theories" to be true quite a few times.
Re:Facebook open-sources a speech-recognition system and a m... by traek on Friday December 21, 2018 @04:52PM (#18737022)
> They have proved these "conspiracy theories" to be true quite a few times.

Such as?

Facebook has explicitly denied spying on people's conversations. I can't think of any situations where they have flat out lied about something like that, so I'm curious to hear what conspiracy theories they have proven true.

Re:Facebook open-sources a speech-recognition system and a m... by sfilargi on Friday December 21, 2018 @05:39PM (#18737340)
> Such as?

Shadow profiles for example.

Re:Facebook open-sources a speech-recognition system and a m... by cwkoss on Friday December 21, 2018 @05:13PM (#18737174)
They lied to congress about selling access to users' private messages.
Re:Facebook open-sources a speech-recognition system and a m... by pavlov on Friday December 21, 2018 @05:21PM (#18737218)
You mean this week’s news that Spotify and Netflix had experimental messaging client integrations years ago?

It’s a complete mischaracterisation that Facebook shared private messages with Spotify. By the same logic, you could say Google is sharing your emails with Apple when you access Gmail using the iOS Mail client.

Spotify was offering an integrated client to FB’s chat service. This UI integration was a market failure and was discontinued years ago. Of all the things wrong with Facebook, this wasn’t worth the noise.

Re:Facebook open-sources a speech-recognition system and a m... by rurban on Friday December 21, 2018 @04:50PM (#18737000)
I esp. deleted the Facebook App over its egregious power usage. I don't care that much about being spied on, or getting better ads when I mentioned a certain keyword, but draining the battery was unexcusable. Mobile uptime on my phone with app 3 hrs, without back to 9 hrs.
Re:Facebook open-sources a speech-recognition system and a m... by pavlov on Friday December 21, 2018 @05:14PM (#18737177)
Twitter, Snapchat, Tumblr etc. are also battery hogs. The Facebook app is no worse and generally better (IME).

Scrolling through a social media feed is a heavy activity on a phone (which may be surprising because it seems passive). Constantly fetching more data from servers, decoding incoming images and videos in background threads, shuffling data to GPU-accessible buffers for fast scrolling, etc. — There’s a lot going on all the time when you’re scrolling mindlessly.