Back to News
Advertisement
ffrabonacci about 6 hours ago 4 commentsRead Article on github.com

HI version is available. Content is displayed in original English for accuracy.

Hello HN! We're Dillon and Francesco from Cua.

We were wondering how many computer use tasks actually need a full general purpose LLM (e.g. gpt-6-astra, claude-opus-5 etc.) to think through all their decisions and steps. Some tasks require thinking about a plan, exploring different paths, recovering from failure. Other tasks are a question of making local decisions, like this value should go in this box, or should I check this box, or this element should be ignored.

We wondered how far we could go with a small model trained to only make these kinds of decisions.

Our inspiration was Typesafe's Jev and its System One Model framing. This is a nod to the dichotomy between thinking quickly, automatically, and intuitively (system 1) vs. thinking slowly, analytically (system 2), as described by Daniel Kahneman.

The interesting question for us was: what happens if you give a model an interface of current context, and a set of possible choices, and you ask it to return a probability for each choice? This kind of model does not generate output token by token like most LLMs do, but rather scores the options you give it, which you can check, trust, and use to drive your app's behavior.

CUA-S1 is our answer for narrow, specialized decision models for computer use. Our first release is CUA-S1-FORMS. We built this from ideas and code in jevlike, and then trained a second model just to handle form interactions. It has 706k parameters, and the original checkpoint is 2.8 MB.

The first training iteration took less than 30 minutes on synthetic data. Given a set of structured elements and values extracted from a document, it predicts whether to use the given value, CHECK, CLICK, or SKIP for each element. It does not predict new values for text fields, and does not consider screenshots. Element decisions are scored together, and your code can order the actions, and Cua Driver will execute them one at a time.

A first evaluation of this specialist vs. hosted Jev on our form task:

- For the whole decision set: 99.7% correct vs 83.6%.

- For the subset of steps that require an action: 100% correct vs 96%.

- For the subset of steps that are just leaving already-filled fields alone: 100% correct vs 74%.

The specialist was trained specifically for this task and convention (just press skip for already filled boxes), while hosted Jev has not been fine-tuned for it, so this is an experiment in scoped specialization.

We measured 7-9 ms to score a form locally vs. 260-280 ms per call to hosted Jev including network latency, though those samples measure different things and are not end-to-end form completion times.

Our interest here is in the space between a brittle script and a general agent loop. The content and layout of form fields vary enough that scripts get unwieldy, but the set of available decisions can remain narrow and well scoped. We want to explore the possibility of a general agent encountering something novel, and passing well understood decisions over to specialists like this.

That is a direction we are looking into. The current release is for forms only. We're open sourced the synthetic data generation, training, evaluation, and Driver integration under libs/cua-s1 with an MIT license.

Comments welcome! Especially if you are building computer-use agents and have run into a recurring decision that is too variable to script but is too narrow to call another LLM for.

Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 73 words in the discussion.

Trending Topics

#specialist#idea#models#model#read#nod#typesafe#jev#implying#rlcd

Discussion (4 Comments)Read Original on HackerNews

hbarka8 minutes ago
I read the nod to Typesafe Jev. Are you implying use of RLCD or still RLHF?
badatnamesabout 2 hours ago
Please give us a hyper general cookie consent popup dismissal add-on :)
AM1010101about 1 hour ago
Would the idea be to have many specialist models (forms, wikipedia, final cut, etc) and have a parent model choose which is best (potentially also a specialist model for selecting specialist models) with the idea an llm would give a larger goal and trigger this cascade of specialists to quickly do the task?
Axsuulabout 1 hour ago
Are we able to use CUA to build a system similar to Grok Bot?