effective semantics for engineering nlp systems211.109.9.33/images/(2-1)effective semantics for...

73
Exobrain Symposium, 2018 Effective Semantics for Engineering NLP Systems Andre Freitas

Upload: others

Post on 26-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Exobrain Symposium, 2018

Effective Semantics for

Engineering NLP

Systems

Andre Freitas

Page 2: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Outline

• Motivation

• From Text to Knowledge Graphs (KGs)

• Knowledge Graphs & Distributional Semantics

– (A marriage made in heaven?)

• Using KGs for building AI applications

• Explainability

• Take-away Message

Page 3: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Coping with the long tail of data

variety frequency of use

# of entities and attributes

relational NoSQL

schema-less unstructured

Consumption (Querying, Software)

Formalization

Semiotic breakdown

Exponential growth of

vocabulary size

Page 4: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

“On our best behaviour”

“We need to return to our roots in Knowledge

Representation and Reasoning for language and from

language.”

Levesque, 2013

“We should not treat English text as a monolithic

source of information. Instead, we should carefully

study how simple knowledge bases might be used to

make sense of the simple language needed to build

slightly more complex knowledge bases, and so on.”

Page 5: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Explainable AI

“The right to explanation”

“… such processing should be

subject to suitable safeguards,

… to obtain an explanation of

the decision …”

Page 6: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Building Knowledge Graphs

Page 7: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Open Information Extraction

• Extracting unstructured facts from text.

• TextRunner [Banko et al., IJCAI ’07], WOE [Wu & Weld,

ACL ‘10].

• ReVerb [Fader et al., EMNLP ‘11].

• OLLIE [Mausam et al., EMNLP ‘12].

• OpenIE [Mausam et al., IJCAI ‘16].

• Graphene [Niklaus et al, COLING 17].

Page 8: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Graphene

• Captures contextual relations.

• Extends the default Open IE representation in

order to capture inter-proposition relationships.

• Increase the informativeness and

expressiveness of the extracted tuples.

Niklaus et al., A Sentence Simplification System for Improving Relation Extraction,

COLING (2017)

Page 9: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Simplification/

Transformation Stage

Page 10: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Rhetorical Relations

Page 11: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Input Document

Page 12: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Transformation Stage

Page 13: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Relation Extraction

Page 14: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Asian stocks fell anew and the yen rose to session highs

in the afternoon as worries about North Korea simmered,

after a senior Pyongyang official said the U.S. is

becoming ``more vicious and more aggressive'' under

President Donald Trump .

Asian stocks fell anew

The yen rose to session highs in the afternoon

spatial

attribution

after

Worries simmered about North Korea

The U.S. is becoming becoming `` more vicious and more aggressive '' under Donald Trump

A senior Pyongyang official said

background

and

Page 15: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 16: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 17: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Precision:

Recall:

Improving Open Relation Extraction

using Clausal and Phrasal

Disembedding, Under Review, (2017)

What to expect

(Wikipedia & Newswire)

Page 18: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

https://github.com/Lambda-3/Graphene

Niklaus et al., A Sentence Simplification System for Improving Relation Extraction,

COLING (2017)

Software: Extracting Knowledge

Graphs from Text

Page 19: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Argumentation Structures

Stab & Gurevych, Parsing Argumentation Structures in Persuasive

Essays, 2016.

Page 20: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Argumentative Discourse

Unit Classification

Stab & Gurevych, Parsing Argumentation Structures in Persuasive

Essays, 2016.

Page 21: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Argumentation Schemes

Page 22: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Argument Mining Approaches

What to expect?

F1-score: 0.74

Stab & Gurevych, Parsing

Argumentation Structures in

Persuasive Essays, 2016.

Page 23: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Emerging perspectives

• The evolution of parsing and classification methods in NLP

is inducing a new lightweight semantic representation.

• This representation dialogues with elements from logics,

linguistics and the Semantic/Linked Data Web (especially

RDF).

• However, they relax the semantic constraints of previous

models (which were operating under assumptions for

deductive reasoning or databases).

Page 24: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Emerging perspectives

• Knowledge graphs as lexical semantic models operating

under a semantic best-effort mode (canonical identifiers

when possible, otherwise, words).

• Possibly closer to the surface form of the text.

• Priority is on segmenting, categorizing and when

possible, integrating.

• A representation (data model) convenient for AI

engineering.

Page 25: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Categorization

A fact (main clause):

* Can be a taxonomic fact.

s p o

term, URI term, URI term, URI

instance,

class,

triple

type, property,

schema property

instance,

class,

triple

Page 26: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Categorization

A fact with a context:

s0 p0 o0

p1

o1

reification

e.g.

• subordination

(modality, temporality,

spatiality, RSTs)

• fact probability

• polarity

Page 27: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Categorization

Coordinated facts:

s0 p0 o0

s1 p1 o1

p2 e.g.

• coordination

• RSTs

• ADU

See all ›

18 References

Nam et al., SRDF: A Novel Lexical Knowledge Graph for Whole Sentence

Knowledge Extraction, LDK 2017.

https://github.com/Lambda-3/Graphene/blob/master/wiki/RDFNL-Format.md

Page 28: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Knowledge Graphs &

Distributional Semantics

(A marriage made in heaven?)

Page 29: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

• Computational models that build contextual

semantic representations from text.

• Semantic context is represented by a vector.

• Statistical analysis of the linguistic contexts of a

word.

• Semantic similarity/relatedness as the core

operation over the model.

Distributional Semantic /

Word Vector Models

Page 30: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Distributional Semantics as

Commonsense Knowledge

Commonsense is here

θ

car

dog

cat

bark

run

leash

Semantic Approximation is

here

Semantic Model with

low acquisition effort

Page 31: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Context Weighting Measures

Kiela & Clark, 2014

Similarity Measures

x

… and of course, Glove and W2V

Page 32: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Distributional-Relational

Networks

Distributional Relational Networks, AAAI Symposium (2013).

A Compositional-Distributional Semantic Model for Searching Complex Entity

Categories, ACL *SEM (2016)

32

Barack Obama

Sonia Sotomayor

nominated

:is_a

First Supreme Court Justice of Hispanic descent

LSA, ESA, W2V, GLOVE, …

s0 p0 o0

Page 33: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Compositionality of Complex

Nominals

Barack Obama

Sonia Sotomayor

nominated

:is_a

First Supreme Court Justice of Hispanic descent

Page 34: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

On Complex Nominals

34

Page 35: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Building on Word Vector

Space Models

• But how can we represent the meaning of longer phrases?

• By mapping them into the same vector space!

the country of my birth

the place where I was born

Page 36: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Mixture vs Function

Page 37: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Compositional-distributional

model for paraphrases

A Compositional-Distributional Semantic Model for

Searching Complex Entity Categories, *SEM (2016)

Page 38: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Software: Indra

• Semantic approximation server

• Multi-lingual (12 languages)

• Multi-domain

• Different compositional models

https://github.com/Lambda-3/indra

Semantic Relatedness for All (Languages): A Comparative Analysis

of Multilingual Semantic Relatedness using Machine Translation,

EKAW, (2016).

Page 39: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Recursive vs recurrent

neural networks

39

Page 40: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Segmented Spaces vs

Unified Space

s0 p0 o0

s0 p0 o0

• Assumes is <s,p,o> naturally

irreconcilable.

• Inherent dimensional reduction

mechanism.

• Facilitates the specialization of

embedding-based approximations.

• Easier to compute identity.

• Requires complex and high-

dimensional tensorial model.

Page 41: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

How to access Distributional-

Knowledge Graphs efficiently?

s0 p0 o0

s0

q

Inverted index

sharding

disk access

optimization

Multiple Randomized

K-d Tree Algorithm

The Priority Search

K-Means Tree algorithm

Database + IR

Query

planning

Cardinality

Indexing

Skyline

Bitmap

indexes

Structured Queries Approximation Queries

Page 42: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

How to access Distributional-

Knowledge Graphs efficiently?

s0 p0 o0

Database + IR

Structured Queries Approximation Queries

Page 43: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Software: StarGraph

• Distributional Knowledge Graph Database.

• Word embedding Database.

https://github.com/Lambda-3/Stargraph

Freitas et al., Natural Language Queries over Heterogeneous

Linked Data Graphs: A Distributional-Compositional Semantics

Approach, 2014.

Page 44: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Emerging perspectives

• Graph-based data models + Distributional Semantic Models

(Word embeddings) have complementary semantic values.

• Graph-based Data Models:

– Facilitates querying, integration and reasoning.

• Distributional Semantic Models:

– Supports semantic approximation, coping with vocabulary variation.

Page 45: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Emerging perspectives

• AI systems require access to comprehensive background

knowledge for semantic interpretation tasks.

• Inheriting from Information Retrieval and Databases:

– General Indexing schemes,

– Particular Indexing schemes,

• Spatial, temporal, topological, probabilistic, causal, …

– Query planning,

– Data compression,

– Distribution,

– … even supporting hardware strategies.

Page 46: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Emerging perspectives

• One size of embedding does not fit all: Operate with

multiple distributional + compositional models for different

data model types (I, C, P), different domains and different

languages.

• Inheriting from Information Retrieval and Databases:

– Indexing schemes,

– Query planning,

– Data compression,

– Query distribution,

– even supporting hardware.

Page 47: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Effective Semantic Parsing

for Large KBs

Page 48: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

The Vocabulary Problem

Barack Obama

Sonia Sotomayor

nominated

:is_a

First Supreme Court Justice of Hispanic descent

Page 49: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

The Vocabulary Problem

Barack Obama

Sonia Sotomayor

nominated

:is_a

First Supreme Court Justice of Hispanic descent

Latino origins

selected

Judge High

Obama

Last US president

Page 50: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

“On our best behaviour”

“It is not enough to build knowledge bases without paying

closer attention to the demands arising from their use.”

Levesque, 2013

“We should explore more thoroughly the space of

computations between fact retrieval and full

automated logical reasoning.”

Page 51: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Minimizing the Semantic Entropy

for the Semantic Matching

Definition of a semantic pivot: first query term to be resolved in the database.

• Maximizes the reduction of the semantic configuration space.

• Less prone to more complex synonymic expressions and abstraction-level differences.

• Semantic pivot serves as interpretation context for the remaining alignments.

• Heuristics for ambiguity.

Page 52: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Distributional Inverted Index

Distributional-

Relational Model

Reference

Commonsense

corpora

Core semantic approximation

& composition operations

Semantic Parser

Query Plan

Scalable semantic

parsing

Learn to Rank

Question Answers

Page 53: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

I P C

𝒒 = 𝒕Γ𝟎, … , 𝒕Γ

𝒏

t h0 t m10

t m20

Γ= {𝑰, 𝑷, 𝑪, 𝑽} …

lexical specificity # of senses lexical category

… …

Page 54: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

- Vector neighborhood density

- Semantic differential

I P C

𝒒 = 𝒕Γ𝟎, … , 𝒕Γ

𝒏

t h0 t m10

t m20

Γ= {𝑰, 𝑷, 𝑪, 𝑽} …

lexical specificity # of senses lexical category

… …

𝜌

Page 55: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

- Vector neighborhood density

- Semantic differential

I P C

𝒒 = 𝒕Γ𝟎, … , 𝒕Γ

𝒏

t h0 t m10

t m20

Γ= {𝑰, 𝑷, 𝑪, 𝑽} …

lexical specificity # of senses lexical category

… …

Δ𝑠𝑟

Δ𝑟

Semantic pivoting

Page 56: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

- Vector neighborhood density

- Semantic differential

- Distributional compositionality

I P C

𝒒 = 𝒕Γ𝟎, … , 𝒕Γ

𝒏

t h0 t m10

t m20

Γ= {𝑰, 𝑷, 𝑪, 𝑽} …

lexical specificity # of senses lexical category

… …

t h0 t m10

t m20

o t h0 t m10

t m10 =

… …… …

Page 57: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

What to expect (@ QALD1)

F1-Score: 0.72

MRR: 0.5

Freitas & Curry, Natural Language Queries over Heterogeneous

Linked Data Graphs, IUI (2014).

Page 58: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

• Schema-agnostic / distributional

database.

58

http://stargraph.net

Page 59: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 60: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 61: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Explainability

Page 62: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

T: IBM cleared $18.2 billion in the first quarter.

H: IBM’s revenue in the first quarter was $18.2 billion.

Entailment?

YES

Why?

- To clear is to yield as a net profit

- A net profit is an excess of revenues

over outlays in a given period of time

Recognizing and Justifying Text Entailment

through Distributional Navigation on Definition

Graphs, AAAI (2018).

Explainable AI

Page 63: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 64: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 65: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Explainable Findings

From Tensor Inferences Back to KGs

Page 66: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Explainable Findings

From Tensor Inferences Back to KGs

Page 67: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Entity Linking

Integration

Co-reference Resolution

KG Completion

Natural Language Inference

Named Entity Recognition

Semantic Parsing

KG Construction

Inference

Distributional Semantics

Server

Query By Example

Query

spatial

temporal

probabilistic

causal

Indexes

NL Generation

NL Query

Answers

Explanations

MT

MT

Open IE

Taxonomy Extraction

Arg. Classif.

Definition Extraction

Page 68: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Take-away Message

Page 69: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Take-away Message

• The evolution of methods, tools and the availability of data in NLP

creates the demand for a knowledge representation method to

support complex AI systems.

• A relaxed version of RDF* (SRDF, RDF-NL) can provide this

answer.

– Establishes a dialogue with a standard (with existing data).

– Inherits optimization aspects from Databases.

• Word-embeddings (DSMs) + compositional models + RDF*.

• Moving beyond facts and taxonomies: rhetorical structures,

arguments, polarity, stories.

Page 70: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Take-away Message

• Syntactical and lexical features can go a long way for

structuring text.

– Context-preserving

• KGs can support explainable AI:

– Meeting point between extraction, reasoning and querying.

• Scalable Querying: Inherit infrastructures from DB and IR.

Page 71: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Take-away Message

Opportunities:

• ML orchestrated pipelines with:

– Richer discourse-representation models.

– Explicit semantic representations (centered on KGs).

– Different compositional/distributional models (beyond

W2V & Glove)

• KGs and impact on explainability.

Page 72: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under
Page 73: Effective Semantics for Engineering NLP Systems211.109.9.33/images/(2-1)Effective Semantics for Engineering NLP... · • Knowledge graphs as lexical semantic models operating under

Papers & Software

http://andrefreitas.org/