News for hackers. Stuff that matters.
Re:Google speakers are listening to more than just voice com... by paul_f on Saturday August 08, 2020 @09:18AM (#24091420)
There is a big difference between smoke alarm detection built into the wake-up-word circuitry, versus every sound sent to Google's servers for analysis. I am not bothered by the former, but would be aghast at the latter. Does anyone know for sure?
Re:Google speakers are listening to more than just voice com... by chaboud on Saturday August 08, 2020 @11:17AM (#24092276)
It’s easy enough to test, but I don’t really need to.

Alexa Guard has had this functionality for a while, and I’d expect the folks here at HN to be able to infer a few things from the support link and basic reasoning.

Support link https://support.ring.com/hc/en-us/articles/360028205592-Usin...

So: 1) if an event is detected, you can listen to a 10 second clip or drop in (2-way call) to listen in or look. 2) Echo devices have relatively small amounts of RAM 3) Echo devices aren’t constantly hammering WiFi connections

From this, one should be able to deduce that the wakeword engine detects events and streams clips to servers only in situations that match events and settings to support these features. Why? Because processing, transit, and storage aren’t free, and one can’t store data in RAM that isn’t there or transmit data over WiFi without the physical layer showing signs of it. Furthermore, Amazon hasn’t cracked the code on hyper-efficient GB into KB lossless compression only to squirrel it away only for use in voice assistants.

Take the number of Alexa devices sold and run the numbers for all of those devices sending audio data to AWS all the time. The costs would be astronomical. The same goes for Google (though not with AWS). They’re no doubt incorporating the detectors into their on-device models.

Re:Google speakers are listening to more than just voice com... by MiroF on Saturday August 08, 2020 @01:37PM (#24093488)
Why can't they just have full on-device transcription models? It's lossy, but extremely compressed.
Re:Google speakers are listening to more than just voice com... by jankiehodgpodge on Saturday August 08, 2020 @06:14PM (#24095674)
Because they're cheap, low powered devices.
Re:Google speakers are listening to more than just voice com... by MiroF on Saturday August 08, 2020 @09:38PM (#24096608)
Even cheap devices can run transcription inference.
Re:Google speakers are listening to more than just voice com... by econcon on Saturday August 08, 2020 @11:32AM (#24092394)
> Furthermore, Amazon hasn’t cracked the code on hyper-efficient GB into KB lossless

I thought kbg archiver solved it eons ago.

Re:Google speakers are listening to more than just voice com... by jdc on Saturday August 08, 2020 @11:42AM (#24092478)
Nope, its high compression comes at the cost of similarly high CPU and memory usage.
Re:Google speakers are listening to more than just voice com... by nitrogen on Saturday August 08, 2020 @11:55AM (#24092578)
Compressed audio at speech quality uses miniscule amounts of storage, especially with modern codecs like Opus.
Re:Google speakers are listening to more than just voice com... by ineedasername on Saturday August 08, 2020 @12:51PM (#24093065)
You addressed storage but skipped the CPU portion: Yes, Opus can create good quality audio with low storage requirements, but it cannot do so without a high CPU cost.
Re:Google speakers are listening to more than just voice com... by AsyncAwait on Saturday August 08, 2020 @01:27PM (#24093395)
ARM CPUs can be rather performant, especially for specialist tasks. These things are always plugged in and don't need to save battery, therefore they can always run at maximum performance.

The HomePod for example uses the Apple A8 chip which is a very capable chip used to power the iPhone 6 than did way more than encode/decode audio.

Re:Google speakers are listening to more than just voice com... by fuzxi on Saturday August 08, 2020 @07:02PM (#24095926)
Wouldn't heat generation start to become an issue? As far as I know, none of these assistants have fans. I think the average consumer would notice that their device starts giving off a lot of heat if there's a lot of speech in range of its microphone - "I wonder why my Echo turns into a space heater when I leave the TV on."
Re:Google speakers are listening to more than just voice com... by AsyncAwait on Sunday August 09, 2020 @06:03AM (#24098512)
> I think the average consumer would notice that their device starts giving off a lot of heat if there's a lot of speech in range of its microphone.

Interesting point, my guess would be that not many would notice since a HomePod/Alexa/Google Home would usually sit somewhere in a corner of a room/under the TV and not be regularly touched since you don't need to touch it to control it most of the time.

I am not even sure it would be that much heat, my x86 laptop can play video for a very long amount of time before getting noticeably hot, granted with a fan, however these ARM CPUs get noticeably less hot than your average Intel chip, even without a fan.

Re:Google speakers are listening to more than just voice com... by tinus_hn on Sunday August 09, 2020 @01:57AM (#24097568)
HomePod is not exactly a cheap device.
Re:Google speakers are listening to more than just voice com... by AsyncAwait on Sunday August 09, 2020 @06:05AM (#24098519)
True, but not expensive either. Especially considering it's on sale all the time.

Even for the cheaper devices, the CPU is probably capable enough, (maybe excluding the cheapest Echo Dot/Nest).

The Echo Show devices even have a screen and are actually designed to play videos from all kind of sources, (decode), as well as for videocalling, (encode) and they're £60 right now on Amazon UK.

Re:Google speakers are listening to more than just voice com... by nitrogen on Saturday August 08, 2020 @02:37PM (#24093991)
If Opus/Speex seems too heavy there are also the codecs used for GSM, VoLTE, etc.
Re:Google speakers are listening to more than just voice com... by Ijumfs on Saturday August 08, 2020 @01:25PM (#24093371)
Yet any of the smart home speakers on the market is more than capable of compressing audio.
Re:Google speakers are listening to more than just voice com... by ineedasername on Saturday August 08, 2020 @03:53PM (#24094644)
Look further up the thread. The bandwidth required to transport such data has not been observed. I don't think anyone would argue that these companies wouldn't have the ability to build a device that streamed everything home. It's that to do so would mean there'd be some observable effect in the device's network usage that has not been observed.
Re:Google speakers are listening to more than just voice com... by asfginino on Saturday August 08, 2020 @11:51AM (#24092550)
>Furthermore, Amazon hasn’t cracked the code on hyper-efficient GB into KB lossless compression only to squirrel it away only for use in voice assistants.

They could do speech recognition on the device and then ship off the plain text. I don't think they do this, but it is most certainly within their technical ability.

As a practical example, I have a copy of a 458,045 word audiobook on my computer and I just downloaded a copy of the e-book. The audiobook is just over 1 GiB, while the plain text of the e-book compressed with bz2 comes in at 800 KiB.

Re:Google speakers are listening to more than just voice com... by zachm0 on Saturday August 08, 2020 @01:15PM (#24093270)
Small knit pick, but speech to text isn’t lossless. How someone says the words has a lot of impact on the meaning of those words. It’s possible Amazon doesn’t care about that lost information but that is a completely different conversation.
Re:Google speakers are listening to more than just voice com... by asfginino on Saturday August 08, 2020 @01:19PM (#24093305)
That's true. Speech to text also isn't entirely accurate, which loses some information.

Even when they actually do ship audio off the device for processing, I'd be surprised if it's done losslessly.

Re:Google speakers are listening to more than just voice com... by scollet on Saturday August 08, 2020 @10:52PM (#24096908)
For anyone curious about this, I highly recommend developing on CMU Sphinx for a weekend project. It will really paint some pictures about machine interpretation based on training data and the actual application code.
Re:Google speakers are listening to more than just voice com... by lotu on Saturday August 08, 2020 @04:27PM (#24094947)
> They could do speech recognition on the device and then ship off the plain text

Not with the tiny cheap CPUs that are one these devices they couldn't. Or at least not very effective speech recognition.

Re:Google speakers are listening to more than just voice com... by MiroF on Sunday August 09, 2020 @12:04PM (#24100513)
I think you overestimate how CPU intensive the inference is.
Re:Google speakers are listening to more than just voice com... by Waterluvian on Saturday August 08, 2020 @09:56AM (#24091641)
What does it matter? The bottom line is that once there’s microphones in your home, Google just has to wait out the normalization of deviance until nobody’s surprised or upset that they transfer everything to their servers for analysis.

If they don’t today, they will one day. They don’t have a choice on the matter because it’s a money maker.

Re:Google speakers are listening to more than just voice com... by marricks on Saturday August 08, 2020 @10:23AM (#24091801)
Google did this with “we don’t scan your emails for ads”. Initially, 2009 ish, that was a big line a lot of people cared about but years later here we are, Google scanning emails for targeted ads and that fight is over.

EDIT:

Thanks for the reply exittheone, I see GMail actually stopped this ad scanning practice in 2017[1], likely with google sign in on chrome and so many places it’s very possibly they just don’t that extra info. They still can let third party extensions read your email so I wouldn’t say we’re exactly in a better world...[2]

1. https://variety.com/2017/digital/news/google-gmail-ads-email...

2. https://mashable.com/article/google-reading-your-emails-resp...

Re:Google speakers are listening to more than just voice com... by exitheone on Saturday August 08, 2020 @10:28AM (#24091839)
https://support.google.com/mail/answer/6603?hl=en

This is most definitely false. Google still states that they do not scan your emails for as targeting.

Re:Google speakers are listening to more than just voice com... by jefftk on Saturday August 08, 2020 @01:03PM (#24093167)
Right: this went in the other direction. Initially, GMail scanned messages for ads, and was public in that this was part of how it was funded:

"Google also places advertising on Gmail based on key words that appear in messages transmitted through our system (it’s a good example of ads helping to pay for the free services we all enjoy online) - so if you’re emailing a friend about a trip to Paris, for example, ads might appear on the right hand side of the page for trains to France. Google does this using software similar to the kind that scans emails for viruses, to filter out spam and turn the bits of data received into the characters on the screen. No human being other than the user ever reads the messages sent or received on Gmail – it’s simply a computer matching up key words in peoples’ emails with targeted ads." -- https://static.googleusercontent.com/media/services.google.c... (~2008)

(Disclosure: I work for Google, speaking only for myself)

Re:Google speakers are listening to more than just voice com... by makomk on Saturday August 08, 2020 @07:20PM (#24096014)
Yeah, as far as I can tell this is actually the exact opposite from what was described - in reality people didn't really care about GMail scanning messages for advertising that much back in 2008, but it turned into a big deal later due to worries about Big Tech and then Google dropped it.
Re:Google speakers are listening to more than just voice com... by tunap on Saturday August 08, 2020 @10:54AM (#24092038)
Your words are as spurious as Goog's. Where you state Still means, they STOPPED scanning emails for targeted ads, supposedly in 2017(Did they "pinky-swear"?). So, they always did before, as stated it in plain words in 1st 2 paragraphs of their previous EULAs. Now that they claim they don't "scan emails for ads", they don't state they no longer scan emails and it does not state what they do, currently, scan emails for.

Please don't retort "they don't sell PII", as P2 most definitely is what they use to sell X to 3rd parties in whatever form the ubiquitous NDAs prevent the public from knowing.

https://en.wikipedia.org/wiki/Gmail#Automated_scanning_of_em...

Edit: P2 > PII, am watching motogp & removed unnecessary personal jab.

Re:Google speakers are listening to more than just voice com... by joshuamorton on Saturday August 08, 2020 @12:53PM (#24093087)
Well of course Gmail scans your email. Spam filtering requires scanning, not to mention things like putting labels in the emails.

Why do you think Google would sell pii? It doesn't make business sense.

(I work on Gmail)

Re:Google speakers are listening to more than just voice com... by TeMPOraL on Saturday August 08, 2020 @01:16PM (#24093281)
> Why do you think Google would sell pii? It doesn't make business sense.

In these discussions, "selling PII" is sometimes a short for "providing a service that allows targeting ads based on PII without actually releasing PII itself to the service users", which is only a little less bad.

Re:Google speakers are listening to more than just voice com... by joshuamorton on Saturday August 08, 2020 @01:21PM (#24093335)
Given the context, it's clear that's not what GP means.

Also, from a privacy perspective, there is a vast difference between the two. One person who you trust to keep your data safe (but not to use it in ways you find ethical necessarily) is vastly different from them giving it to other parties who you don't know.

Re:Google speakers are listening to more than just voice com... by TeMPOraL on Saturday August 08, 2020 @01:53PM (#24093647)
I don't think the difference is that vast in practice.

What's currently stopping evil actors from exfiltrating data from Google's PII through buying narrowly targeted ads, each time with slightly different targeting, and intersecting these results to build a more detailed picture of people who viewed the ads?

Re:Google speakers are listening to more than just voice com... by joshuamorton on Saturday August 08, 2020 @09:31PM (#24096583)
I'm combining my response to two comments.

> It's great that they do that, but it's still the bare minimum over here on the Old Continent. We can and should demand more.

Sure, but its been possible to do this since well before the GDPR mandated it. Now maybe you can argue that the threat of regulation is what keeps Google in check here, and ok fine that's an unfalsifiable claim but maybe it's true. But even still, that doesn't actually justify "we should demand more". Maybe more privacy regulation is justified, but "we already have some" isn't actually justification.

> What's currently stopping evil actors from exfiltrating data from Google's PII through buying narrowly targeted ads, each time with slightly different targeting

The snarky answer first. PII has a specific meaning. It means personally identifying information. Your ZIP code isn't PII. Your name is. No matter what ad targeting tricks you do you can't pull my name or address out of what Google sends you. So you don't get PII.

Now the less snarky answer. The actual attack you're describing does this repeated targeting thing, which ties private data to some pseudonymous ID, like a browser fingerprint. At this point they don't have any PII. Then, you get the victim to enter their personal information on your site. Now you can tie the PII to the other information from the shadow profile you've built.

So why isn't this useful? Mostly, cost. To get this to work, you need to have some one or some group click on multiple different ads you control ($ + time cost) and then enter their identifying information on a site you control. Click through isn't assured, and conversion to entering information is very unlikely. When you're, you know, actually selling a product, this is a worthwhile investment.

But this attack is essentially paying to advertise to people with the goal of learning who you are advertising to. As a result, this only really makes sense in the context of targeted attacks or generic blackmail. Targeted attacks don't work because now you need a specific person to enter their PII in your site (and then what?, you've learned that someone is interested in LGBT topics. I'm interested in LGBT topics and straight). And similarly broad blackmail doesn't work.

But I'm interested in how you think an attacker could do something in a cost effective manner.

[dead]
Re:Google speakers are listening to more than just voice com... by rossjudson on Saturday August 08, 2020 @06:17PM (#24095689)
Are you talking about some kind of an "NDA" on employees? I work for Google. I am being frank when I say you are full of it, and you will not find this message in any script.

Shit, I fed a troll.

Re:Google speakers are listening to more than just voice com... by tunap on Saturday August 08, 2020 @03:12PM (#24094244)
That is exactly what I meant. You use PII to create whatever product(s) you sell to 3rds. I read the EULA over a decade ago. Good on Goog for stating it plainly. My answer is still, NO. Even when I go to .govs & other sites using Goog apis(UBO). More people would concur if they had an idea of how much all the minutia the SV giants(& the other alphabets)hoover up about our lives. And how it's used against us in daily commerce.

As for your red herring, I can only guess how mal-scans can be monetized. If anyone can do it, I have no doubt Goog will.

Edit: O-T content removed.

Re:Google speakers are listening to more than just voice com... by joshuamorton on Saturday August 08, 2020 @03:26PM (#24094374)
> As for your red herring, I can only guess how mal-scans can be monetized. If anyone can do it, I have no doubt Goog will.

Well yes, they're very clearly monetized: Google supplies a email service which it sells to businesses as part of GSuite. One of the selling points of this email service is spam protection. Is that a bad thing?

> You use PII to create whatever product(s) you sell to 3rds.

Ok, so if your concern is that a company has your PII, that's a concern I guess. But it makes it difficult to use the internet (or, like, shop at stores), since there are all kinds of companies that gobble up your PII but don't tell you or give you control over it (whereas Google does, for example, let you delete the data it has on you and control collection of much of the data it collects).

If you're going to argue that Google is bad for the same reason that your credit card company and Amazon and CVS are bad, then sure they all have your PII, but I'd still argue that Google behaves more ethically than the others when dealing with it.

Re:Google speakers are listening to more than just voice com... by TeMPOraL on Saturday August 08, 2020 @06:06PM (#24095624)
The problem isn't just with companies having data, but with how they're using that data.

> whereas Google does, for example, let you delete the data it has on you and control collection of much of the data it collects

That's table stakes under GDPR. It's great that they do that, but it's still the bare minimum over here on the Old Continent. We can and should demand more.

Re:Google speakers are listening to more than just voice com... by nkozyra on Saturday August 08, 2020 @10:37AM (#24091890)
And why would they? The data we provide to Google in myriad ways across numerous devices and services is far more fungible.
Re:Google speakers are listening to more than just voice com... by TallGuyShort on Saturday August 08, 2020 @10:40AM (#24091918)
This thread is like Chris Farley's lines from Billy Madison.

"That Veronica Vaughn is one hot piece of ass. And I know from experience."

"No you don't"

"Well not me personally, but this guy I know. Him and her GOT IT ON."

"No they didn't"

"But you can imagine what it would be like if they did."

Re:Google speakers are listening to more than just voice com... by jhardy54 on Saturday August 08, 2020 @11:00AM (#24092094)
No it isn't.

Google didn't originally scan emails. Then they did. Then they didn't.

Countering "Google scanned emails" with "well the don't right now" is the only ridiculous behavior in this thread.

Re:Google speakers are listening to more than just voice com... by joshuamorton on Saturday August 08, 2020 @01:18PM (#24093301)
But they did[0] from the beginning. And then later they stopped. There was no start then stop. There was only a stop.

(I work on Gmail)

[0]: https://privacyrights.org/resources/privacy-and-civil-libert... (from 2004, the year Gmail launched)

Re:Google speakers are listening to more than just voice com... by jhardy54 on Saturday August 08, 2020 @01:53PM (#24093640)
Interesting, thanks for the correction! I could've sworn that Gmail provided some "we don't scan your email" privacy since the beginning but it sounds like I was confused.
Re:Google speakers are listening to more than just voice com... by exitheone on Saturday August 08, 2020 @11:35AM (#24092422)
First of all, thanks for linking to the change in policy. I was not aware of the timeline.

To address both links: 1) As a user I'm actually happy about the tight integration into calendar and other apps. These necessarily require reading my mail though. I'm already trusting Google with my mail so using it for better integration into other Google products is fine with me.

2) They are not randomly handing out access to your emails to third parties, they just have an API that lets third parties read your emails _after you gave explicit consent via the regular oAuth flow_. Which is also completely reasonable for me.

Re:Google speakers are listening to more than just voice com... by pabe on Saturday August 08, 2020 @10:08AM (#24091704)
Most likely, an AI model that detects specific sounds is running directly on those devices. No need to transfer anything to Google's servers for analysis =)
Re:Google speakers are listening to more than just voice com... by _visgean on Saturday August 08, 2020 @12:32PM (#24092905)
From what I have heard you don't need any fancy AI models for detecting either of these sounds. Some of the older alarms were using classic signal processing to to this decades ago.
Re:Google speakers are listening to more than just voice com... by joshvm on Saturday August 08, 2020 @12:57PM (#24093118)
Similarly glass-break detectors for home security systems have done this for years.

The advantage of an ML model is that you can do multi-class prediction for a sound clip with somewhat arbitrary complexity and the cost of execution is more or less the same even if you add an extra class or two. It's just an extra row in your output prediction vector. By complexity I mean signals that don't have an obviously characteristic spectrum, like glass smashing. A typical CNN backbone is capable of classifying hundreds if not thousands of classes with high accuracy - even the edge architectures. Always-on detection tends to use very compact networks (kB in size) that will run on low-power ARM cores, or even specialist ASICs, but even so 20-30 common audio event types seems very feasible.

For people worrying about sending data back, there's no reason why you'd do this off-device. The exception might be that you feedback to Google that there was a false alarm, so they can use your sound clip as a negative training example. Just a guess there, but Tesla does this extensively for Autopilot - they deploy models in your car and specifically ask it to capture images of rare events (Andrej Karpathy gave an example of tree-occluded stop signs).

Re:Google speakers are listening to more than just voice com... by MiroF on Saturday August 08, 2020 @12:53PM (#24093083)
But why wouldn't they have AI models? It's how I would do it.
Re:Google speakers are listening to more than just voice com... by _visgean on Saturday August 08, 2020 @01:47PM (#24093581)
Well they might do it with AI, there are however some issues, constantly running sounds through ML models is power hungry which is as far as i know why devices such as these optimize a lot for commands prompts such as "OK google" which is when the ML loop actually starts.

On the other smoke alarm sound is very easy to detect with classical methods so might be extremely cheap to run it without any ML.

Re:Google speakers are listening to more than just voice com... by MiroF on Saturday August 08, 2020 @01:55PM (#24093661)
> constantly running sounds through ML models is power hungry which is as far as i know why devices such as these optimize a lot for commands prompts such as "OK google" which is when the ML loop actually starts.

How power hungry is it actually? I'd only have to run it on the big model if a pretty dumb model thinks that the voice is even in the audio stream.

Re:Google speakers are listening to more than just voice com... by secabeen on Saturday August 08, 2020 @09:56AM (#24091648)
Now that the feature is disabled, it's hard to know. Once the feature is enabled, it's pretty easy to tell by looking at the network traffic the device generates. Sending every sound to google is going to be obvious.
Re:Google speakers are listening to more than just voice com... by im3w1l on Saturday August 08, 2020 @11:07AM (#24092161)
You could have covert wake-words.
Re:Google speakers are listening to more than just voice com... by secabeen on Sunday August 09, 2020 @12:36PM (#24100763)
You'd still see the network traffic for the audio going back to Amazon's servers for analysis.
Re:Google speakers are listening to more than just voice com... by Androider on Saturday August 08, 2020 @01:50PM (#24093606)
The article makes it unclear, but this feature is available right now for all Nest Aware subscribers (if you have any type of Nest camera, you'll have a Nest Aware subscription). The article mentioned that this feature was "accidentally" available to non-Nest Aware subscribers as well, but it's the same existing feature and not some test of upcoming features.

You can toggle glass break and fire alarm detection on any of your Google Home devices in the Home app, and this includes the old Google Home mini pucks and hubs, as well as new Nest branded minis and hubs.

Re:Google speakers are listening to more than just voice com... by secabeen on Sunday August 09, 2020 @12:38PM (#24100777)
Nest cameras are a completely different system than Echo, all Nest camera devices stream full motion video and audio back to Google 24x7. That's why you buy them.
Re:Google speakers are listening to more than just voice com... by MiroF on Saturday August 08, 2020 @12:54PM (#24093092)
What about transcribing all the audio you get and then sending it as a chunk of stuff every time the Hone is activated. Don't think you could catch that.
Re:Google speakers are listening to more than just voice com... by secabeen on Sunday August 09, 2020 @12:36PM (#24100759)
That would require a lot more computational power than is currently available in an Echo device. It's possible that Amazon could sneak a custom ASIC into the device to do something like this, but it would add quite a bit to the device's Bill of Materials, and would still probably be noticed by the iFixit crowd.