Rewrite workflows as intent, context and actions
Policies written as prose are hard to turn into steps. A different shape helps.
| One workflow, an invented example | |
|---|---|
| INTENT | the guest asks for a refund after a host cancelled |
| CONTEXT | the host cancelled before check-in, and the guest has not been refunded yet |
| ACTIONS | 1. confirm who cancelled, and when. 2. apply the host-cancellation refund rule. 3. offer help to rebook. |
Internal documents are written for people with training. Airbnb's paper says they're typically full of complex terms and jargon that human agents need special training to understand and follow.
So the authors rewrote workflows in an Intent, Context, Action format, ICA for short: when a customer has this intent, under these conditions, take these actions. Here is what it did for their strongest model, Model 1, at choosing the right action offline:
| How the workflows were given to Model 1 | Accuracy |
|---|---|
| As originally written, in rich text | 57% |
| Rewritten as ICA | 70% |
| ICA, plus chain of thought: the model reasons step by step before it answers | 92% |
The format alone was worth 13 points before anything about the model changed.
That maps straight onto ordered instructions. If the source isn't ordered, the output won't be.
In the editor, write pick(intent, facts, workflows): the actions of the first workflow whose intent and context both fit the ticket. Each workflow in workflows is the ICA format as a dict, and facts holds what is known about this ticket.