# US 2019/0377795 A1 · Model-agnostic visualizations using linear programming approximation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377795 A1
- Document ID: US20190377795A1
- Status: Published application
- Kind: A1
- Application number: 16/356,091
- Filed: 2019-03-18
- Published: 2019-12-12
- Earliest claimed: 2018-03-19
- Assignees: Verint Americas Inc.
- Applicants: Verint Americas Inc.
- Inventors: Abhinav Aggarwal; Ian Roy Beaver; Cynthia Freeman; Jonathan Patrick Merriman
- Web page: https://patentgrep.com/patent/US20190377795A1

## CPC

- G06F 40/30: Semantic analysis
- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F 17/12: Simultaneous equations {, e.g. systems of linear equations}
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/048: Activation functions
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 5/046: Forward inferencing; Production systems
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of determining influence of language elements in script to an overall classification of the script includes performing a sentiment analysis of the language elements. In some instances, for example, in a conversation, the language elements and turns within the conversation (e.g., in a chat bot) are analyzed for their influence in escalation or non-escalation of the conversation to a higher level of resolution, e.g., to a human representative or manager.

## Claims

### Claim 1

A method of determining influence of language elements in script to an overall classification of the script, the language elements including a plurality of turns, the method including includes:
performing a perturbation of the language elements by removing a subset of the language elements;
analyzing the resulting classification to determine if the removed subset of the language elements causes a change in classifier outcome; and
reporting that the subset is important to the classification if there is a change in the classifier outcome.

### Claim 2 (depends on 1)

The method of claim 1, wherein the script is a conversation with N turns represented by an ordered N-tuple: =(T1, . . . , TN) and the perturbation is performed by removing turns such that Pϵ{0, 1}N is a perturbation of such that P[i]=1 if TiϵP.

### Claim 3 (depends on 1)

The method of claim 1, further comprising defining a set of distinct perturbations such that for every Pϵ, P belongs to only if there does not exist any P′ϵ, such that SIMP(P, P′)=1, such that all perturbations of in the set are distinct with respect to the similarity function SIMP.

### Claim 4 (depends on 1)

The method of claim 1, wherein, given the conversation =(T1, . . . , TN), determining a weight wi>0 for each of the turns Ti such that given any perturbation P of , the linear combination of the weights of the turns in P approximates a probability of escalation (CLASS(P)), and wherein the reporting comprises indicating that there is a probability of escalation.

### Claim 5 (depends on 4)

The method of claim 4, further comprises representing importance of each turn by finding turn weights w={w1, . . . , wN} such that for each perturbation Pϵ, a linear combination as given by the dot product w·PT approximates CLASS(P).

### Claim 6 (depends on 5)

The method of claim 5, further comprising minimizing ΣPϵ|w·PT−CLASS(P)|, where Σ ranges over all distinct perturbations of C, subject to the condition that wi>0 for all turns Ti.

### Claim 7 (depends on 5)

The method of claim 5, further comprising minimizing ΣPϵ(w·PT−CLASS(P))2 over all distinct perturbations of C, subject to the condition that wi>0 for all turns Ti.

### Claim 8 (depends on 5)

The method of claim 5, wherein finding the weights w={w1, . . . , wN} for given a conversation =(T1, . . . , TN), comprises solving:
min
w
∈
{
0
,
1
}
N

∑
P
∈
ℙ


(
w
·
P
T
-
CLASS

(
P
)
)
2
s
.
t
.

w
i
∈
(
0
,
1
]


for


all


i
∈
{
1
,
…

,
N
}
.

### Claim 9 (depends on 5)

The method of claim 5, comprising computing a recurrence-observant weight vector such that:
given =(T1, . . . , TN) is a conversation, w are the weights assigned to each turn in and SIM is a similarity function on the turns; and given an ε>0,
w is (SIM, ε)-recurrence-observant if for every Ti, Tjϵ with i<j, SIM(Ti, Tj)=1 implies wi≤wj−ε.

### Claim 10 (depends on 9)

The method of claim 9, further comprising finding a weight vector according to
min
w
∈
{
0
,
1
}
N

∑
P
∈
ℙ


(
w
·
P
T
-
CLASS

(
P
)
)
2
s
.
t
.

w
i
∈
(
0
,
1
]


for


all


i
∈
{
1
,
…

,
N
}
and wi≤wj−ε for all Ti, Tjϵ with i<j such that SIM(Ti, Tj)=1.

### Claim 10 (depends on 1)

The method of claim 1, wherein analyzing comprises: solving at least one linear programming approximation.

### Claim 11 (depends on 10)

The method of claim 10, further comprising solving two linear programming approximations.

### Claim 12

A non-transitory computer readable storage medium having stored therein software executable to perform steps comprising:
performing a perturbation of the language elements by removing a subset of the language elements;
analyzing the resulting classification to determine if the removed subset of the language elements causes a change in classifier outcome; and
reporting that the subset is important to the classification if there is a change in the classifier outcome.

### Claim 13

A graphical user interface comprising a visual representation of a classifier resulting from performing a perturbation of the language elements by removing a subset of the language elements; and analyzing the resulting classification to determine if the removed subset of the language elements causes a change in classifier outcome; and further comprising a visual scale indicative of the importance of the language elements to the result of the classifier.
