Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Confidence Score is one of the most important factors in Knowledge search. It reflects how confident the system is that the Knowledge Artifact answers the user’s query. The confidence score for an Artifact is calculated based on the metadata matches. It determines the final search results displayed to end-users.

In Luma Knowledge, Artifact search is based on ontology match. When an end-user searches for Knowledge, the system generates metadata from the user query. The query metadata is matched with the metadata of the Artifacts in Knowledge Base to filter the relevant artifacts. Each Metadata type is assigned a specific confidence score weightage, which is used to calculate the Confidence score for the matching artifact. As matching metadata is found, the respective score is awarded to the artifact. More the number of matching metadata, the better is the confidence score.

Confidence Score and Confidence Score Thresholds are used to classify the matched artifacts in Confidence Bands. The Confidence bands determine the Knowledge artifacts displayed to the end-user as result.

In Luma Knowledge, there are two ways to calculate the Confidence score:

Static Confidence Weightage Allocation

This is the default confidence weightage allocation method used in Luma Knowledge. In 'Static' allocation, the confidence score weightage assigned to each Metadata Type is fixed and the Artifacts Confidence score is evaluated accordingly. By default, the following weightage is assigned to each metadata type:

Topic

Path (Parent Topics if Artifact Topic does not match)

Subject

Action

Motivation

40

35

30

25

5

For a user query, confidence score weightage is assigned based on the ontology generated from the user phrase. This means, the more metadata types are identified from the user phrase, the more confidence score is available for allocation to matching Artifacts.

Let us discuss the following example to understand how the Confidence score is calculated:

Example 1: “Describe Knowledge Management”- Query generates Metadata Topic, Subject, and Action

From the user query 'Describe Knowledge Management', metadata types Topic, Subject, and Action are generated. Based on the identified Metadata, the confidence score weightage is allocated to each metadata type. Since Motivation is not identified from the user phrase, it is not used for confidence score evaluation.

Metadata type

Ontology generated

Weightage assigned based on the user phrase

Topic

Knowledge Management*

40

Subject

Knowledge Management, Knowledge Management*

30

Action

Describe

25

Motivation

NA

Path

0

Luma Knowledge identifies Artifacts that match with the ontology generated from the user query. Based on the metadata type and number of metadata matches, the confidence score for the matching Artifacts is calculated.

Artifact

Matched Metadata

Confidence Score

What is Luma Knowledge

path : Luma Knowledge Management, Knowledge Management
topic : Knowledge Management
action : describe
subject : Luma knowledge, Knowledge

0.95 (40+30+25)

What is the intent of the Retrieval Accuracy Graph

path : Luma Knowledge Management, Knowledge Building

0.35 (35)

What is the intent of the Feedback Response Rate Graph

path : Luma Knowledge Management, Knowledge Building

0.35 (35)

Example 2: Multiple Subject match

If a search query generates multiple Subjects and more than one matching subject is available in the Artifacts, an additional weightage of 3% is assigned to the metadata type ‘Subject’. The additional weightage for the 'Action' metadata is reduced and assigned to the Subject. The identified metadata is used to calculate the confidence score.

For user query “How to create a dropbox account“, metadata types Topic, Subject, Motivation, and Action are generated.

Metadata type

Ontology generated

Weightage assigned based on the user phrase

Topic

dropbox*, Dropbox Account*

40

Subject

dropbox account, dropbox*, Dropbox Account*

30

Action

create

25

Motivation

how

5

Path

0

Based on the identified metadata, the confidence score for the matching Artifacts is calculated.

Artifact

Matched Metadata

Confidence Score

ChangePassword-Dropbox

path : Dropbox
topic : Dropbox
subject : dropbox account, dropbox

0.73 (40+33)

How to Sign in to Dropbox

path : Dropbox
topic : Dropbox
subject : Account
motivation : How to

0.75 (40+30+5)

How to change your password for Dropbox

path : Dropbox
topic : Dropbox
motivation : How to

0.45 (40+5)

Dynamic Confidence Weightage Allocation

In Dynamic confidence score allocation, the confidence score is allocated based on the ontology generated from the user query. The confidence score is always calculated based only on the metadata identified. This ensures that Luma Knowledge can find relevant Knowledge Artifacts even if the queries are ambiguous or do not generate all the types of metadata.

In dynamic allocation, the metadata types are not assigned a fixed weightage. It is calculated, dynamically based on the metadata identified and the Base weightage points for each metadata type.

Configure Base points

Base points is the base score allocated to each metadata type. Every phrase/word identified as the metadata is assigned the same score. In other words, if the base score of ‘Action’ metadata is 25, each word identified as ‘Action’ from the query is assigned a weightage of 25.

By default, the base weightage is configured as below and can be updated as required.

Topic, Path and Subject

Action

Motivation

70

25

5

  • The Base points for the metadata types are configurable and can be updated based on your organization’s setup. The configuration is available in the backend. You may contact the Serviceaide support team to update the configuration.

  • A total of 100 Base weightage points can be divided among the metadata types.

Calculate Total Weightage points for the query and matched phrases

Using the Base points per metadata type, the Total Weightage points for the search is calculated.

For the ontology generated from the search query, the Weightage points for each metadata type and the Total Weightage points for the search query is calculated. The Total Weightage points is a cumulation of the weightage points for the identified metadata types. This score is used to derive the Confidence weightage that can be allocated to Artifacts.

For example, if a search query generates metadata Topic, Subject, Action and Motivation:

Base points for Topic and Subjects = 70
Number of words/phrases identified as Topic and Subjects identified = 2
Weightage points for Topic and Subjects = 140 (calculated as 70 x 2 )

Base points for Action = 25
Number of words/phrases identified as Motivation = 2
Weightage points for Motivation = 50 (calculated as 25 x 2 )

Base points for Motivation = 5
Number of words/phrases identified as Motivation = 1
Weightage points for Motivation = 5 (calculated as 5 x 1 )

Total Weightage points for the search = 195 ( calculated as 140+50+5)

Derive Confidence Weightage

Now using the Weightage points for each metadata type and Total Weightage points, we can derive the Confidence weightage for each metadata type. Based on metadata generated from the user query, the confidence weightage is calculated. The weightage is calculated only for the metadata type identified from the query string.

In the above example,

Total Weightage points for the search = 195

Weightage points for Topic and Subjects =140
Confidence Weightage for Topic and Subjects = 0.72 ( calculate as 140/195)
Weightage for each phrase = 0.36 ( calculated as 0.72/2 = 0.36)

Weightage points for Action = 50
Confidence Weightage for Action = 0.26 ( calculate as 50/195)
Weightage for each phrase = 0.13 ( calculated as 0.26/2 = 0.13)

Weightage points for Motivation = 5
Confidence Weightage for Motivation = 0.02 ( calculate as 5/195)
Weightage for each phrase = 0.02 ( calculated as 0.02/1 = 0.02)

Calculate Confidence score for Artifact

Using the confidence weightage for the identified metadata, confidence score for the matching Knowledge artifacts is calculated. Metadata generated from the search query is matched with the Artifact's metadata and confidence score is assigned accordingly.

For an Artifact with matching metadata, the confidence score is calculated as below:

Metadata

Artifact 1

Artifact 2

Artifact 3

Matching phrases/words

Confidence Score

Matching phrases/words

Confidence Score

Matching phrases/words

Confidence Score

Topic, Subject, Path

2

0.72
(calculated as 0.36 * 2)

1

0.36
(calculated as 0.36 * 1)

2

0.72
(calculated as 0.36 * 2)

Action

2

0.26
(calculated as 0.13 * 2)

1

0.13
(calculated as 0.13 * 1)

1

0.13
(calculated as 0.13 * 1)

Motivation

0

0

1

0.02
(calculated as 0.02 * 1)

1

0.02
(calculated as 0.02 * 1)

Total

0.98

0.51

0.87

Examples

Let us discuss the following example to understand how the Confidence score is calculated:

Example 1: “How to login to dropbox“

From the user query 'How to login to dropbox', metadata types Topic, Subject, Action and Motivation are generated. Based on the identified Metadata and configured base point, confidence score is allocated to each metadata type.

Metadata type

Ontology generated

Weightage points per Metadata

Total Weightage points for the query

Confidence weightage per phrase

Topic

dropbox*

Base points= 70
Number of phrases identified = 1
Weightage score = 70 (calculated as 70*1)

100
(calculated as 70+25+5)

Confidence Weightage = 0.70 ( calculate as 70/100)
Weightage per phrase = 0.70 ( calculated as 0.70/1 = 0.70)

Subject

dropbox, dropbox*

Action

login

Base points= 25
Number of phrases identified = 1
Weightage score = 25 (calculated as 25*1)

Confidence Weightage = 0.25 ( calculate as 25/100)
Weightage per phrase = 0.25 ( calculated as 0.25/1 = 0.25)

Motivation

how

Base points= 5
Number of phrases identified = 1
Weightage score = 5 (calculated as 5*1)

Confidence Weightage = 0.05 ( calculate as 5/100)
Weightage per phrase = 0.05 ( calculated as 0.05/1 = 0.05)

Based on the calculated weightage per phrase, Confidence score for the artifact is calculated.

Artifact

Matched Metadata

Confidence Score

How to change your password for Dropbox

path : Dropbox
topic : Dropbox
motivation : How to

0.75
(calculated as 0.70+0.05)

ChangePassword-Dropbox

path : Dropbox
topic : Dropbox
subject : dropbox account, dropbox

0.7

Dropbox Description

path : Dropbox
topic : Dropbox

0.7

Example 2: “Apply for a Building Permit“

From the user query 'Apply for a Building Permit', metadata types Topic, Subject, and Action are generated. Based on the identified Metadata and configured base point, confidence score is allocated to each metadata type.

Metadata type

Ontology generated

Weightage points per Metadata

Total Weightage points for the query

Confidence weightage per phrase

Topic

permits*, permit*, building permit

Base points= 70
Number of phrases identified = 2
Weightage score = 140 (calculated as 70*2)

165
(calculated as 140+25)

Confidence Weightage = 0.85 ( calculate as 140/165)
Weightage per phrase = 0.425 ( calculated as 0.85/2)

Subject

permits*, permit*, building permit

Action

Apply

Base points= 25
Number of phrases identified = 1
Weightage score = 25 (calculated as 25*1)

Confidence Weightage = 0.15 ( calculate as 25/165)
Weightage per phrase = 0.15 ( calculated as 0.15/1)

Motivation

-

-

-

Based on the calculated weightage per phrase, Confidence score for the artifact is calculated.

Artifact

Matched Metadata

Confidence Score

Apply for a Building Permit

path : Building Permits, Construction Permits, Permits, Licenses, and Inspections
topic : Building Permits
action : apply
subject : permit, building

1.0
(calculated as 0.85+0.15)

Building Permits Online

path : Building Permits, Construction Permits, Permits, Licenses, and Inspections
topic : Building Permits
subject : permit

0.85

Board of Equalization, BOE

path : Sellers Permit, Business Permits, Permits, Licenses, and Inspections
topic : Sellers Permit
action : apply
subject : permit

0.575
(calculated as 0.425+0.15)

Example 3: “Wifi Router“

From the user query 'Wifi Router', metadata types Topic and Subject are generated. Based on the identified Metadata and configured base point, the confidence score is allocated to each metadata type.

Metadata type

Ontology generated

Weightage points per Metadata

Total Weightage points for the query

Confidence weightage per phrase

Topic

router*, wifi router*

Base points= 70
Number of phrases identified = 2
Weightage score = 140 (calculated as 70*2)

140
(calculated as 140+0+0)

Confidence Weightage = 1 ( calculate as 140/140)
Weightage per phrase = 0.5 ( calculated as 1/2)

Subject

wifi router, router*, wifi router*

Action

-

-

-

Motivation

-

-

-

Based on the calculated weightage per phrase, the Confidence score for the artifact is calculated.

Artifact

Matched Metadata

Confidence Score

How do I make my router perform better in an interference-filled environment?

path : WiFi Router
topic : WiFi Router
subject : router

1.0

To add a translated MAC address to your router:

path : WiFi Extenders
topic : WiFi Extenders
subject : router, translated MAC router

1.0

https://www.actcorp.in/contact-us/faq

subject : router

0.5

  • No labels