PLEASE NOTE: UiPath Communications Mining's Knowledge Base has been fully migrated to UiPath Docs. Please navigate to equivalent articles in UiPath Docs (here) for up to date guidance, as this site will no longer be updated and maintained.

Knowledge Base

Model Training & Maintenance

Guides on how to create, improve and maintain Models in Communications Mining, using platform features such as Discover, Explore and Validation

Introduction to Explore


 

What's in this article?


 



The second phase of model training is known as 'Explore' (as each step is completed in the Explore page). In this phase, you will build on the foundations of the taxonomy that you created by reviewing clusters and searching for different terms and phrases in Discover.


The objective of the Explore phase is to provide each of the labels that are important to you with enough varied and consistent training examples, so that the platform has sufficient training data from which to make accurate predictions across the entire dataset.


Explore is the core phase of model training, and requires the most time and effort. That being said, the more time you spend on completing the Explore phase in a thorough and consistent manner, the less time you will need to spend on the 'Refine' phase, which focuses on improving the performance of your model.


Key steps

 

The Explore page has various training modes, and this phase focuses primarily on three of them:


'Shuffle' - shows a random selection of verbatims for users to label. It's vital to complete a significant chunk of training in Shuffle, in order to create a training set of examples that is representative of the wider dataset.


'Teach' (for unreviewed verbatims) - as soon as the platform is making some reasonable predictions for a label, you can improve its' ability to predict the label for more varied examples by reviewing verbatims in the default Teach mode (which is for unreviewed verbatims). This will show you verbatims where the platform is unsure whether the selected label applies or not.


'Low Confidence' - shows you verbatims that are not well covered by informative label predictions. These verbatims will have either no predictions or very low confidence predictions for labels that the platform understands to be informative.


This section of the Knowledge Base will also cover training using Search in Explore, which is very similar to training using Search in Discover.


There is another training mode in Explore - Teach (for reviewed verbatims) - that is explained in the 'Refining Models & Using Validation' section of the Knowledge Base here.


Layout

 


Layout explained:

A

Adjust the date range or period of verbatims shown 
B
Add various other filters based on the metadata of the verbatims, e.g. score or sender 
C
Add an entity filter
DToggle from all verbatims to either reviewed or unreviewed verbatims, also adjusts pinned vs predicted label counts
EAdd a label filter
F
Search for specific labels within your taxonomy 
G
Add additional labels 
HExpand verbatim's metadata
I
Refresh the current query 
J
Switch between different training modes such as recent, shuffle, teach and low confidence, and select label to sort by
KSearch the dataset for verbatims containing specific words or phrases
L
Download all of the verbatims on this page or export the dataset with applied filters as a CSV file 

How much training should you do for each label?

 

The number of examples required to accurately predict each label can vary a lot depending on the breadth or specificity of a label concept. 


It may be that a label is typically associated with very specific and easily identifiable words, phrases or intents, and the platform is able to predict it consistently with relatively few training examples. It could also that a label captures a broad topic with lots of different variations of language that would be associated with it, in which case it could require significantly more training examples to allow the platform to consistently identify instances where the label should apply.


The platform can often start making predictions for a label with as little as five examples, though in order to accurately estimate the performance of a label (how well the platform is able to predict it), each label requires at least 25 examples.


When labelling in Explore, the little red dials (examples shown below) next to each label indicate whether more examples are needed to accurately estimate the label's performance. The dial starts to disappear as you provide more training examples and will disappear completely once you reach 25.


Label training dials


This does not mean that with 25 examples the platform will be able to accurately predict every label, but it will at least be able to validate how well it's able to predict each label and alert you if additional training is required.


During the Explore phase, you should therefore ensure that you've provided at least 25 examples for all of the labels that you are interested in, using a combination of the steps mentioned above (mostly Shuffle and Teach + Unreviewed). 


During the 'Refine' phase it may become clear that more training is required for certain labels to improve their performance, and this is covered in detail here.


Label performance warnings

 

In Explore, once you reach 25 pinned examples for a label, you may see one of the below label performance indicators in place of the training dial:

 

  • The grey circle is an indicator that the platform is calculating the performance of that label - it will update to either disappear, or an amber or red circle once calculated
  • Amber is an indicator that the label has slightly less than satisfactory performance and could be improved
  • Red is an indicator that the label is performing poorly and needs additional training / corrective actions to improve it
  • If there is no circle, then this means that the label is performing at a satisfactory level (though still may need improving depending on the use case and desired accuracy levels)
  • To understand more about label performance and how to improve it, you can start here



Label performance indicators


Predicted label counts vs. pinned label counts

 

If you click the tick icon (as shown below) at the top of the label filter bar to filter to reviewed verbatims, you will be shown the number of reviewed verbatims that have that label applied. 

If you click the computer icon to filter to unreviewed verbatims, you will be shown the total number of predictions for that label (which includes the number of reviewed examples too).


In Explore, when neither reviewed or unreviewed is selected, the platform shows the total number of pinned verbatims for a label as default. In Reports, the default is to show the total predicted.


 


Pinned vs. predicted Label count


Please Note: the predicted number is an aggregation of all the probabilities that the platform calculates for this label. For example, 2 verbatims with a confidence level of 50% would be counted as 1 predicted label.


Helpful tips for using Explore

 

  • The model can start to make predictions with only a few labelled verbatims, though for it to make reliable predictions, you should label at a minimum of 25 verbatims per label. Some will require more than this, it will depend on the complexity of the data, the label and the consistency with which the labels have been applied
  • In Explore, you should also try and find verbatims where the model has predicted a label incorrectly. You should remove incorrect labels and apply correct ones. This process helps to prevent the model from making a similar incorrect prediction in future


Don't forget! During this phase you will be applying a lot of labels so remember to adhere to the key labelling best practices of adding all labels that apply, applying them consistently, and labelling what you see in front of you

Next: Reviewing label predictions

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Sections

View all