Prompt engineering
The craft of writing the instructions, examples and context given to a language model to obtain reliable, reproducible answers. In companies, these texts become versioned, tested and governed documentation, like code.
Kojima and coauthors, "Large Language Models are Zero-Shot Reasoners," May 2022: adding the single sentence "Let's think step by step" lifted InstructGPT from 17.7% to 78.7% correct answers on the MultiArith arithmetic set, and from 10.4% to 40.7% on GSM8K. Prompt engineering designs the texts that steer a language model's behavior. You describe the role and the task, set format constraints, give examples of expected answers, context information and refusal rules, and break a complex task into steps. Small variations in wording can noticeably change the quality, tone or accuracy of answers: this kind of writing is a skill in its own right. In professional use it now belongs to system design, no longer to individual tricks. The instructions of an underwriting or claims assistant are assets. They determine what the tool tells staff and sometimes customers, so they must be versioned, tested on representative case sets before each change, documented and approved. They must also be designed to resist hijacking attempts. For the insurer, governance of instructions joins governance of models. An untested instruction change can alter how thousands of files are analyzed without any model being retrained, and so slip past the usual controls.
A team changes the instruction of its policy analysis assistant so that it also flags communicable disease exclusions. Before going live, the new instruction is tested on 200 already annotated policies. It detects the new exclusions, but drops war exclusion detection from 96 to 88 percent. The flaw is fixed before deployment.
Follow the research
One letter a week. First, the week's underwriting note when one is published, with its dated, reasoned decision. Then what the observatory published on cyber, artificial intelligence, insurance and reinsurance. No account, no tracking.
No spam, one-click unsubscribe, no data ever sold.