The rise of the (modelling) bots: Towards assisted modelling via - - PowerPoint PPT Presentation

the rise of the modelling bots towards assisted modelling
SMART_READER_LITE
LIVE PREVIEW

The rise of the (modelling) bots: Towards assisted modelling via - - PowerPoint PPT Presentation

The rise of the (modelling) bots: Towards assisted modelling via Social Networks Sara P erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut onoma de


slide-1
SLIDE 1

The rise of the (modelling) bots: Towards assisted modelling via Social Networks

Sara P´ erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado

MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut´

  • noma de Madrid (Spain)

Esther Guerra Assisted modelling via Social Networks ASE 2017 1 / 9

slide-2
SLIDE 2

Motivation

Modelling applications are heavyweight (desktop, diagramming) Social networks, like Twitter and Telegram:

increasingly used for work and leisure agile and lightweight means for coordination and information sharing

Goal: exploit social networks for collaborative modelling

social networks as front-end for modelling domain requirements as short messages in natural language a bot interprets the messages and derives a domain model

Esther Guerra Assisted modelling via Social Networks ASE 2017 2 / 9

slide-3
SLIDE 3

Approach

Interaction via messages

Houses have windows

NL description

(ROOT (S (NP (NNS houses)) (VP (VBP have) (NP (NNS windows)))))

parse tree users existing model

parse extract actions add delete connect

actions

update model

traceability model

produce feedback

feedback

2 4

message kind?

Mike! That is wrong!

comment

1a

select NL rule(s)

NL processing rules

3

add class House

NL command

1c

WordNet model update

projects

process

1bmanagement

command feedback social network social network

Users interact by sending messages to social network of choice. Discussion and coordination via regular messages Project management commands (e.g., projects) Domain requirements in natural language:

descriptions: “houses have windows” flexible commands: “add class house”, “create class house”

Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

slide-4
SLIDE 4

Approach

Processing of messages in natural language

Houses have windows

NL description

(ROOT (S (NP (NNS houses)) (VP (VBP have) (NP (NNS windows)))))

parse tree users existing model

parse extract actions add delete connect

actions

update model

traceability model

produce feedback

feedback

2 4

message kind?

Mike! That is wrong!

comment

1a

select NL rule(s)

NL processing rules

3

add class House

NL command

1c

WordNet model update

projects

process

1bmanagement

command feedback social network social network

Bot parses the message (Stanford parser) Rulesa to interpret parse tree and trigger model update actions A picture of the updated model is sent to users

a “Extracting domain models from NL requirements: approach and industrial evaluation”, Arora et al., MODELS 2016.

Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

slide-5
SLIDE 5

Approach

Feedback and traceability

Houses have windows

NL description

(ROOT (S (NP (NNS houses)) (VP (VBP have) (NP (NNS windows)))))

parse tree users existing model

parse extract actions add delete connect

actions

update model

traceability model

produce feedback

feedback

2 4

message kind?

Mike! That is wrong!

comment

1a

select NL rule(s)

NL processing rules

3

add class House

NL command

1c

WordNet model update

projects

process

1bmanagement

command feedback social network social network

Model validation Exporter to Ecore/EMF Trace model

Esther Guerra Assisted modelling via Social Networks ASE 2017 3 / 9

slide-6
SLIDE 6

Example

a goods transport company handles deliveries

Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

slide-7
SLIDE 7

Example

a goods transport company handles deliveries a delivery has a numeric identifier ⇒

Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

slide-8
SLIDE 8

Example

a goods transport company handles deliveries a delivery has a numeric identifier ⇒ a delivery is made of

  • packages. Packets can be

bulky, heavy or fragile ⇒

Esther Guerra Assisted modelling via Social Networks ASE 2017 4 / 9

slide-9
SLIDE 9

Key points

Benefits

Social networks are ubiquitous (low learning curve) Use in mobility, no need to install new applications Lightweight front-end Interaction via short messages can be easier/faster Requirements in natural language (suitable for non-modelling experts) A bot interprets the messages and derives a model Seamless integration of modelling and discussion mechanisms Message history provides trace information

Esther Guerra Assisted modelling via Social Networks ASE 2017 5 / 9

slide-10
SLIDE 10

Key points

Scenarios

Quick prototyping of models when and where needed Sw projects: foster collaboration of engineers and domain experts Education: collaborative resolution of exercises Crowdsourcing of modelling decisions

Esther Guerra Assisted modelling via Social Networks ASE 2017 5 / 9

slide-11
SLIDE 11

Tool support

SOCIO is a bot for assisted modelling over social networks

It works over Telegram and Twitter (@modellingBot) It uses the Stanford parser (parsing) and Wordnet (synonyms) Video and URL: https://saraperezsoler.github.io/ModellingBot

Telegram Twitter

Esther Guerra Assisted modelling via Social Networks ASE 2017 6 / 9

slide-12
SLIDE 12

Evaluation

Participants: 10 post-graduate or last-year degree students of CS Configuration: 4 Telegram groups (2-3 people/group) Task: building model for e-commerce, answering questionnaire Results:

good usability (74%) natural language is suitable to build models (75%) social networks are useful for collaboration (76%) easy-to-use, quicker than other modelling tools

Esther Guerra Assisted modelling via Social Networks ASE 2017 7 / 9

slide-13
SLIDE 13

Summary and next steps

Novel approach to collaborative modelling via social networks Tooling and promising initial evaluation What’s next?

improve natural processing, extend command set of tool define collaboration protocols (e.g., roles, voting)

  • ther bots (e.g., quality assurance bots, gamification bots)
  • ther social networks (e.g., Slack) and communication mechanisms

(e.g., speech recognition using Skype bots)

Esther Guerra Assisted modelling via Social Networks ASE 2017 8 / 9

slide-14
SLIDE 14

The rise of the (modelling) bots: Towards assisted modelling via Social Networks

Sara P´ erez-Soler, Esther Guerra, Juan de Lara, Francisco Jurado

MISO - Modelling & Software Engineering Research Group (miso.es) Universidad Aut´

  • noma de Madrid (Spain)

Questions?

Esther Guerra Assisted modelling via Social Networks ASE 2017 9 / 9