How Alexa knows “peanut butter” is one shopping-list item, not two
71–80 of 147 posts
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#72What happened if I said "peanuts, butter". I expect two items, but will Alexa give one?
As others have said, there's the pluralization of "peanut[s]" to distinguish between the two. This is a useful feature of English: the adjective-like role of a noun in a complex noun phrase is (almost?) always singular. - Computer engineer - NOT computers* engineer - Toothbrush - NOT teethbrush* - Foot doctor - NOT feet* doctor - Alarm clock - NOT alarms* clock, even when it supports multiple alarms! Additionally, th…
Attorneys general Senators elect
Ahhhhhhh!
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#73Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#74Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#75I also notice a lot of dismissive comments about "black box models" or the simple solutions of just parsing out whitespace. My two cents:
1. Models with hand crafted rules perform WORSE than learned representations, especially when you have an end-to-end model with pre trained embeddings. This is shown by one of the seminal papers on this model, Ma and Hovy (2016) https://arxiv.org/pdf/1603.01354.pdf.
"However, even systems that have utilized dis-tributed representations as inputs have used theseto augment, rather than replace, hand-crafted fea-tures (e.g. word spelling and capitalization pat-terns). Their performance drops rapidly when themodels solely depend on neural embeddings"
2. Human speech and human written text are messy. Having a rule for human speech will inevitably lead to a massive list of rules and exceptions to those rules.
3. This model is multi domain, meaning that you don't just need rules for one domain, but rules for multiple domains and interactions between those domains. Considering Amazon's hefty amount of data, it's much more efficient to learn these represntations though a machine learning model rather than constantly playing cat-and-mouse with keeping your hand crafted rules.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#76Earlier quoted context omitted.
Sentences spoken aloud don't have commas.
Yes, they do. There's evidence to suggest that punctuation marks were devised as pronunciation guides, indicating how to inflect and when to pause, rather than syntactic markers in their own right. Commas in particular indicate a distinctive inflection and short pause in speaking; such would be detectable by Alexa especially if it uses a neural net or similar to analyze human speech.
Back to what I really was getting at: I'm pretty sure the person I replied to was suggesting Alexa could just split(',') and call it a day. With text, yes. With voices this would be irritatingly unreliable. Everyone talks differently and sometimes people stumble weirdly. I am certain humans use a mix of vocal cues and interpretation to place the commas in their heads.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#77Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#78What happened if I said "peanuts, butter". I expect two items, but will Alexa give one?
As others have said, there's the pluralization of "peanut[s]" to distinguish between the two. This is a useful feature of English: the adjective-like role of a noun in a complex noun phrase is (almost?) always singular. - Computer engineer - NOT computers* engineer - Toothbrush - NOT teethbrush* - Foot doctor - NOT feet* doctor - Alarm clock - NOT alarms* clock, even when it supports multiple alarms! Additionally, th…
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#79This seems like a fundamentally hard problem. If I ask Alexa, "Play songs by Simon and Garfunkel", I may want to include their solo work ("Play songs by ([Paul] Simon) and ([Art] Garfunkel)") or not ("Play songs by (Simon and Garfunkel)"). The choice is probably more likely for some artist groups than others. It may even vary by user. It's hard to imagine a single trained AI that can handle that variance without a to…
Humans will also screw this up. They don't have statistics about which you most likely meant but they do have context which an AI may not.
Re: How Alexa knows “peanut butter” is one shopping-list item, not two
#80The German language is superior in this regard because there it would we either "peanut, butter" or "peanutbutter".