AI

Improving Rasa’s results with artificial training data. Part I

The well-known Rasa chatbot-building platform is gaining weight day after day. But, in all platforms, chatbots are as good as their training material.

Rasa, as other chatbot platforms, still relies on manually written, selected and tagged query datasets. This is a time-consuming and error-prone process, hardly scalable or adaptable.

As everyone with bot training experience knows, it can take months to have enough content to be able to successfully train a conversational bot.

Linguistics-based Natural Language Generation (NLG) is Bitext’s solution to that problem. Bitext NLG solution takes as input a seed query, like “what’s your return policy?” and automatically produces query variants like “information about your return policy”, “tell me about your return policy”, “I want to know about your return policy”, and so on.

This provides a rich and consistent training dataset that is easy to integrate and free of manual errors. It will dramatically improve the NLU performance of your bot.

What are the advantages of this process? Bitext NLP framework is able to take your training set, extract each sentence’s intents and slots, and generate hundreds of variants for each sentence that keep the same meaning but are expressed in a different way.

All these sentences are returned correctly tagged with intents and slots, and come in the same format your bot will requires (the Rasa format).

If you build bots, you must trust process automation, so why wouldn’t you automate the AI training phase as well?

We have tested how Rasa can benefit from this approach, comparing a chatbot trained with a pack of hand-tagged sentences, and a second one trained with the thousands of sentences generated with no manual work via Bitext’s NLG.

Our tests show at least a 30% improvement in the tests done against Rasa when we add NLG variants to the bot’s training dataset.

Do you want to reproduce our test? You can ask for both our training sets and see how a Rasa training corpus can be vastly improved via Bitext’s NLG.

 

admin

Recent Posts

Bitext Linguistic Analyzer Improves Elasticsearch’s English Search Quality

Our earlier German MIRACL benchmark showed that linguistic analysis can substantially improve lexical search in…

18 hours ago

Hybrid Search Is the New Baseline: Better Lexical Search Is the Next Advantage

Vector search, also known as semantic search, has transformed enterprise search in the past few…

2 months ago

Bitext Linguistic Analyzer beats every Elasticsearch Configuration on German Search Quality

In a search benchmark for German, Bitext Linguistic Analysis SDK returned more relevant results and…

2 months ago

Stemming kills AI Accuracy: Why German Search Needs Lemmatization

Search systems have relied on stemming for decades. The reason is simple: stemming is fast,…

3 months ago

Some of your RAG-related issues have an easy & quick solution: decompounding

Most teams working with Elasticsearch, OpenSearch or RAG pipelines focus on ranking, embeddings or model…

5 months ago

Some of your RAG-related issues have an easy & quick solution: lemmatization

Some RAG issues have a simpler fix than people think: better text normalization. One common…

5 months ago