Problem
A support team wants to automate chats with a chatbot. There are hundreds of topics, their content keeps changing, and time and people are limited. Each topic needs ML training, bot logic, answer texts, translations and tests. A chat can hold zero, one or several topics, so topics overlap. When all topics are done the effect is the same whatever the order, but at the cutoff date the order decides how many chats are already automated and how much load has left the agents.
Example from the article: if one topic takes one sprint and only 50 of the 100 sprints are available, the best path for 50 topics ("Path 3") differs from the best path for 100 topics ("Path 1").
Solution in brief
Treat the order of topics as a combinatorial problem and maximize the number of automated chats after topics out of . Estimate each topic's chat count and overlaps from historical chats. Then draw many random topic orders, count automated chats for each at the chosen , and keep the best.
Questions this case answers
- How to choose the order in which to automate overlapping categories of work so that coverage at a fixed resource limit is maximal
- How to rank items by their marginal contribution when the items overlap and a ranking by size alone double-counts
- How to choose which support-chat topics to automate first when the team can only automate part of them in the available time?
- How to plan the stages of chatbot automation so that the load on support agents falls as fast as possible?
Tools and methods
- Coverage function — number of chats closed by a given set of automated topics, with overlaps counted once.
- Monte Carlo search over random permutations — a "nearly exact" answer that improves with the number of trials.
- Genetic algorithms, simulated annealing — suggested replacements for large data.
Google or a one-time email code. No password.
