20B-parameter Alexa model sets new marks in few-shot learning
amazon.science
amazon.science
At what point can we say things like “turn off the bedroom light in 5 minutes” or “stop music and turn off all the lights”? Even something like “keep the lights on” in a motion sensor system is impossible it seems. Because to me they feel like low hanging fruit, and yet despite all the advances in machine learning and these systems being around for the better part of a decade, anything but the simplest single-task no-modifier commands result in a “sorry… I didn’t understand that” or completely unpredictable results. Is there something inherently difficult about these types of queries?
Google assistant works fine, for the most part anyways.
> stop music and turn off all the lights
This is probably the easiest of the bunch because you are asking it to perform two distinct actions.
> turn off the bedroom light in 5 minutes
This is much more complex, because you are asking the application to setup some sort of workflow - after it understands what you want it to do, it then has to work out how to execute that, which will be utilising the device API's / services. This is a simple example, but there are lots of permutations of different actions here, for example you might want to say "turn off the sound system once this song finishes playing" which assumes that the assistant has the capability to then understand you want it to create a task specifically waiting for the trigger of a particular song finishing playing, and that it has the ability to setup that trigger.
> "keep the lights on” in a motion sensor system
Now this is where the orchestration gets tricky -
The assistant has to:
* Work out that the lights are being affected by a motion sensor system, which is likely outside it's own platform.
* Work out that your intent is that you want the assistant to override that.
* Understand how to connect to the platform in order to control it.
* Work out what parameter it is supposed to alter to achieve this task.
* Override the existing users settings, and presumably reinstate the settings after some portion of time.
It's really a shame the good language models are not deployed as voice assistants. It would probably be expensive to offer and they don't have the scale necessary. Just to load one of these models you need a $100K computer.
>99% of commands will be single intent, and they probably work 80% of the time at the moment, so getting those to 99% will have a much bigger short-term impact than focussing on solving the 1% (with the added benfit that once you have solved the first case of getting single-intent right all the time, solving the second more complex queries will be easier as you will have built a more robust base).
I don't see conceptually the difference between the first and the second example. You're still executing two distinct actions, first being the waiting for x amount of time?
It could be issuing a command in the same way you do the first, but probably most lights just support switching them on/off right now, and won't take a delay argument.
So, if you can't just do the same you were doing, how do you do it? If there's some kind of local support, you can issue a delay command to some device in the network that will switch the lights on, but you still need to be able to control that action as the user might want to cancel or adjust the delay too.
If the execution need to happen remotely because there's no local support, then you don't even know that you'll be able to reach the device in 5 minutes (Internet down, router not letting random connections in). And keeping this request queued needs some infra in the server side too together with the necessary APIs to allow adjusting and cancelling requests.
Where is the hard part?
There is storage going on already
I'm pretty sure there is some form of local support, at least for Google. Whne I last used it you had to choose a speaker that automations executed from
The AI feeds the action queues, and another isolated component performs the actions, including delays and follow ups.
It's not a fixed amount of time. What if you rewind in the song a bit to catch something you missed in the lyrics?
I think this highlights that AI assistants are not really "I", they are good at doing fuzzy, hard to specify things like understanding speech, but there must still be an engine behind that interprets the text and transforms it into execution steps, and that must still be done by developers so it will be limited.
Is it just me or does it seem like these tasks would be not all that hard if you just, you know, programmed them rather than trying to be so fancy with ML?
That's how you do it at the moment. For example, in Google home you have "Routines"[1] which are a list of sequential actions triggered by a key phrase (or optionally something else).
i.e. you can program the use case "turn off the lights in 5 minutes" but that doesn't cover the use cases of "turn off the lights when i leave the house", "turn off the lights and turn on the tv" or "turn on the lights at 10pm tonight" - and there are so many potential scenarios here that it can quickly scale up.
I can already do something similar with Siri. "Remind me to take out the trash in 5 minutes". Seems odd that "turn off the bedroom light" isn't trivial to support.
The bedroom light may not have such a structured concept already existing (or may not expose the full-featured API to Siri).
There is no "general ai" doing stuff in the background.
The reminder service needs "one line of code (tm)" to go "After five minutes, send <this> to the lights service".
- When I arrive at home, turn on the lights - After five minutes, play this song - Lock the front door at 10pm
And then the reminders service (which is a to-do app!) suddenly becomes 100x more complicated than it was to accoomodate all these strange use-cases that are outside of it's bounded context.
It's easy to implement a single use case, it's practically impossible to manually code every possible use case (which would also probably create a huge amount of tech debt).
Thread.sleep(5 * 60 * 1000); light.off();
Avoids reciting the steps you want and gives you reliability, but I suppose requires any 'variables' to be hardcoded (or for you to create multiple instances)
I'd go for one of those.
It's almost if that natural language thing is highly ambiguous which is why we needed to create a new grammar to give precise instructions for machine-driven processes.
This actually works already with Siri (and as mentioned in a sibling comment with google Home as well). I just tried that for fun a few days ago and was surprised that it actually worked.
“Turn off the lights in 5 minutes did but “turn off the floorstanding lamp in 5 minutes” did not
Honestly that’s more frustrating when it’s not uniform and now I’ve to remember this weird behavior.
In the Phillips* Hue app at least, they have the idea of lights independently, but you can also group them into rooms and stuff like that. So the multiple bulbs in my floor lamp are in a "lamp" grouping but also a "living room" grouping. It all seems quite flexible.
What about something like "all lights" "living room lights" etc etc?
* Or rather, whoever bought that brand from Phillips
This works for me, except when it mishears what I'm saying as "turn off the light for 5 minutes", which gets a bit annoying
I often get ready to leave the house and say "start the robovac in five minutes" and it just works. The Google home gadget confirms and states that it will start robovac "at $time-of-day". I've not got too many things connected but I assumed that it's generic among those things that can be turned on/off.
You had one job, Amazon!
* Not recognize my voice/command
* Load infinitely when I give a command
* Do the wrong thing entirely
Me: already down the hall cursing my smart speaker.
Yes, maybe, gpu cluster server can understand you quickly, but taking whatever model you have and getting it to work quickly enough for people not to be upset is a giant problem.
If I'm understanding the discussion of the Chinchilla paper correctly[0] then this should offer a significantly better boost than increasing the number of parameters would have. Also really cool that they make the model easy(ish) to run and play with!
[0]: https://www.lesswrong.com/posts/6Fpvch8RR29qLEWNH/chinchilla...
Or is it just me and I’ve turned into a get-off-my-lawn curmudgeon when it comes to audio interfaces?
> Find a reservation far from my work location in eight hours for 8 people at Union Auto Company.
Said absolutely no one ever, right? I guess if this is what it’s trained on it’s no wonder.
- (Find a reservation) (far from my work location in eight hours) (for 8 people at Union Auto Company).
- (Find a reservation far from my work location) (in eight hours) (for 8 people at Union Auto Company).
- (Find a reservation far from my work location in eight hours for 8 people) (at Union Auto Company).
lots more options but it is confusing if you start to dig in
Here's how Spacy sees it: [1]
So in that case it thinks the command is "in 8 hours find a reservation that is far from my work location and is for 8 people at Union Auto Company".
This parse is almost certainly incorrect.
[1] https://explosion.ai/demos/displacy?text=Find%20a%20reservat...
Interestingly on iPhone I could copy/paste the text, but on desktop Chrome I can't, and Ctrl-F doesn't work on it. Vector text in a .webp file?
It's not vector text (webp doesn't do that). You are seeing the magic text recognition that iOS can do on images.
Not often am I actually pleasantly surprised by something new in UI. Apple Pay on the Web might have been my last ‘Woah’ moment actually.
They also use an encoder-decoder architecture, which is common for machine translation, unlike most large language models which are decoder-only.
https://community.libretranslate.com/t/alexatm-a-20b-multili...
You could then distill that model and end up with something that’s a fraction of the size (6b parameters for example, just under 1/3, would fit on commercial GPUs like 3090s). There are some interesting examples of this with smaller models like BERT/BART or PEGASUS in Huggingface Transformer’s seq2seq distillation examples.
In general larger models and more data has been an effective strategy for getting better performance but getting the right ratio is also important: https://www.deepmind.com/publications/an-empirical-analysis-...
But you've identified a trend does actually describe large language models for the past few years (they've been getting bigger, and bigger has been better). Like microprocessors have the famous tick/tock cycle (https://en.wikipedia.org/wiki/Tick%E2%80%93tock_model), I think models might see be seeing something similar emerge naturally (make models bigger --> make models better (shrink) --> make models bigger again --> make models better (shink again)).
Also, most of this LLM stuff is probably not trained on NVidia hardware -- at scale it's probably cost prohibitive if not also hard to set up. Google's TPUs, MSFT/Amazon's equivalent custom hardware, or other specialized accelerators are more economical overall.
I assume some kind of infallible automated tooling is used to write tests that validate this monster. I would LOVE to see what that tooling looks like.
You typically don't "test" pairs of inputs/outputs for a model. Instead you measure its performance by defining metrics e.g. "what's the ROUGE-2 score on summarization after fine-tuning AlexaTM 20B using N examples from dataset Y"
You can test some aspects of ML models, like sync testing (if you train on hardware A and run on hardware B, their results are not always the same). But generally you test the code that embeds the model, not the model itself.
It's also good that its announcement excels at having a grammatically correct subtitle.
Extremely theoretically, a consciousness could spontaneously form at any point [1]. In practice, there is no reason to worry about this - it's not a likely event. There is nothing about this model (or any other one in existence) that increases the likelihood of it achieving sentience when compared to anything else ever.
> Should we worry if it achieves sentience?
No, because it's easy to kill.
You can contrive scenarios where the AI is given capabilities that make it hard to kill. But baring such scenarios, if the program scares you then just SIGKILL it.
Is it the presence of a soul, or the presence of capability to learn stuff it is not trained for?