How we taught AI to write business texts no worse than copywriters

Alexey Makeev17 Jun 2022

Problem

A bank's marketing team produces more than 600 pieces of content a month: SMS, push, e-mail and banners. Customers differ in age, tone preference and interests, so one product offer needs 4 to 10 versions, often urgently. Copywriters tire, creativity drops and time to market grows. Of roughly 12,000 past communications, only a small share showed meaningful variety, so a plain fine-tune would give one standard bank text with minimal variation.

Example from the article: a copywriter must write an SMS offering a new deposit and prepare a separate text for each customer type, taking tone, age and preferences into account.

Solution in brief

The copywriter writes one standard product text and attaches tags (accents such as "quickly", "convenient", "special offer"). A ruGPT-3 model adapted with prefix-tuning on 150 hand-labeled texts returns many variants in seconds. A person picks, edits and approves the text, and the variants go to A/B tests.

Questions this case answers
  • How to generate many diverse, on-brand message variants for different audience segments from a small set of labeled examples, with a human approving the final text
  • How to adapt a pretrained language model to a narrow text style when a plain fine-tune would only reproduce the standard template
  • How to produce many variants of the same SMS or push message for different customer segments without overloading copywriters?
  • How to adapt a large language model to brand-specific marketing text when only a few hundred labeled examples are available?

Tools and methods

  • ruGPT-3 — base generative model for Russian
  • Prefix-tuning — trains the input prefix instead of the model weights, so the model keeps its general knowledge of the world and language
  • Small hand-labeled set — 150 texts were enough for a first usable result
  • A/B tests of messages — compare AI texts with copywriter texts in live campaigns
  • Self Service portal — interface where the copywriter chooses product, channel and tags and approves texts
Continue reading — it's free

Google or a one-time email code. No password.