News for hackers. Stuff that matters.
Re:20B-parameter Alexa model sets new marks in few-shot lear... by Closi on Tuesday August 02, 2022 @04:58PM (#32324227)
These are all subtly different problems I think, but in general most of these architectures currently assume there is a single intent.

> 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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by omega3 on Tuesday August 02, 2022 @06:50PM (#32325282)
> 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.

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?

Re:20B-parameter Alexa model sets new marks in few-shot lear... by dietr1ch on Tuesday August 02, 2022 @07:47PM (#32325821)
The deferred execution makes this more complex as now the yet to be executed part needs to be queued somewhere

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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Shorel on Wednesday August 03, 2022 @05:45AM (#32329604)
Just put everything in queues, even immediate things.

The AI feeds the action queues, and another isolated component performs the actions, including delays and follow ups.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by shepherdjerred on Wednesday August 03, 2022 @01:01AM (#32327832)
> 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.

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

Re:20B-parameter Alexa model sets new marks in few-shot lear... by hmryehbut on Tuesday August 02, 2022 @08:06PM (#32325978)
So it requires things software engineers do all the time.

Where is the hard part?

Re:20B-parameter Alexa model sets new marks in few-shot lear... by NLPlatypus on Tuesday August 02, 2022 @08:37PM (#32326233)
But you can apparently tell it “remember I put my keys upstairs”, and when you ask where your keys are, it tells you upstairs.

There is storage going on already

Re:20B-parameter Alexa model sets new marks in few-shot lear... by eru on Tuesday August 02, 2022 @10:52PM (#32327093)
> You're still executing two distinct actions, first being the waiting for x amount of time?

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?

Re:20B-parameter Alexa model sets new marks in few-shot lear... by ajnin on Wednesday August 03, 2022 @05:32AM (#32329509)
It's not distinct, the second action depends on the first one being finished.

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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by avsteele on Tuesday August 02, 2022 @07:19PM (#32325558)
notwithstanding voice->text part:

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?

Re:20B-parameter Alexa model sets new marks in few-shot lear... by nl on Tuesday August 02, 2022 @08:08PM (#32325993)
> 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).

[1] https://support.google.com/googlenest/answer/7029585?

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Closi on Thursday August 04, 2022 @10:54AM (#32343702)
I think the issue is the number of permutations of the tasks.

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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by visarga on Tuesday August 02, 2022 @05:12PM (#32324357)
Language models can generate code from text instructions. It just needs a training set to learn the target APIs. I expect in the next couple of years to see automated desktop operation (RPA) from text commands, generalising access over human interfaces.

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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Closi on Tuesday August 02, 2022 @05:39PM (#32324598)
It also depends what's the biggest priority - I would assume there is a bigger 'quick win' from becoming more reliable at single-intent actions from a market/customer experience perspective rather than pursuing highly complex multi-intent statements.

>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).

Re:20B-parameter Alexa model sets new marks in few-shot lear... by petra on Tuesday August 02, 2022 @07:39PM (#32325725)
I'm curious: what's the leading edge in commercial chatbots?
Re:20B-parameter Alexa model sets new marks in few-shot lear... by speed_spread on Tuesday August 02, 2022 @10:28PM (#32326943)
Hello, I'm Gretta! I'm here to help. It seems you're looking for information on enterprise chatbots geometry. Answer "yes" to access your account's balance or press # for more options.
Re:20B-parameter Alexa model sets new marks in few-shot lear... by nomel on Tuesday August 02, 2022 @07:46PM (#32325811)
> turn off the bedroom light in 5 minutes

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.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by sib on Tuesday August 02, 2022 @07:55PM (#32325876)
The iOS reminders app already has a concept of "remind user <x> at <y> time" so Siri is just creating one of those.

The bedroom light may not have such a structured concept already existing (or may not expose the full-featured API to Siri).

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Gordonjcp on Wednesday August 03, 2022 @03:52AM (#32328820)
If it can turn lights on and off, and separately play some sort of reminder sound after five minutes, then it can turn the lights off after five minutes.
Re:20B-parameter Alexa model sets new marks in few-shot lear... by cypress66 on Wednesday August 03, 2022 @05:05AM (#32329350)
It just pipes the command to the appropriate app/service. That's why it doesn't work. Reminder service supports that, but lights service doesn't.

There is no "general ai" doing stuff in the background.

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Gordonjcp on Wednesday August 03, 2022 @10:54AM (#32332588)
The lights service doesn't have to know anything about the reminder service.

The reminder service needs "one line of code (tm)" to go "After five minutes, send <this> to the lights service".

Re:20B-parameter Alexa model sets new marks in few-shot lear... by Closi on Thursday August 04, 2022 @11:03AM (#32343847)
The problem is that there are so many different permutations of this that the reminder service (and every other service) would then need to accomodate for hundreds of other scenarios, such as:

- 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).

Re:20B-parameter Alexa model sets new marks in few-shot lear... by DangitBobby on Wednesday August 03, 2022 @12:04AM (#32327545)
Google assistant/home supports it. Just tried it.