natural language question answering with visualizations
play

Natural Language Question-Answering with Visualizations Bianca Yu, - PowerPoint PPT Presentation

Natural Language Question-Answering with Visualizations Bianca Yu, Hannah DeBalsi CS 294W Spr 2020 Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization


  1. Natural Language Question-Answering with Visualizations Bianca Yu, Hannah DeBalsi CS 294W Spr 2020

  2. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  3. Outline Visualization + Natural Natural Language Application in The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  4. THE PURPOSE OF VISUALIZATION What is visualization ? ● “ Transformation of the symbolic into the geometric” (McCormick et al. 1987) Slide content from Maneesh Agrawala’s slides in CS 448B

  5. THE PURPOSE OF VISUALIZATION What is visualization ? ● “ Transformation of the symbolic into the geometric” (McCormick et al. 1987) ● “... finding the artificial memory that best supports our natural means of perception .” (Bertin 1967) Slide content from Maneesh Agrawala’s slides in CS 448B

  6. THE PURPOSE OF VISUALIZATION What is visualization ? ● “ Transformation of the symbolic into the geometric” (McCormick et al. 1987) ● “... finding the artificial memory that best supports our natural means of perception .” (Bertin 1967) ● “The use of computer-generated, interactive, visual representations of data to amplify cognition .” (Card, Mackinlay, and Shneiderman 1999) Slide content from Maneesh Agrawala’s slides in CS 448B

  7. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information Slide content from Maneesh Agrawala’s slides in CS 448B

  8. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information http://galileo.rice.edu/sci/observations/moon.html Slide content from Maneesh Agrawala’s slides in CS 448B

  9. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information http://galileo.rice.edu/sci/observations/moon.html Getty Images Slide content from Maneesh Agrawala’s slides in CS 448B

  10. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information ● Analyze information Slide content from Maneesh Agrawala’s slides in CS 448B

  11. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information ● Analyze information ○ See data in context Make a decision ○ Slide content from Maneesh Agrawala’s slides in CS 448B

  12. THE PURPOSE OF VISUALIZATION See data in context ● Example: Cholera outbreak, 1854 Tufte. Visual and Statistical Thinking 1997 Slide content from Maneesh Agrawala’s slides in CS 448B

  13. THE PURPOSE OF VISUALIZATION See data in context ● Example: Cholera outbreak, 1854 Tufte. Visual and Statistical Thinking 1997 Slide content from Maneesh Agrawala’s slides in CS 448B

  14. THE PURPOSE OF VISUALIZATION Make a decision ● Example: Challenger space shuttle launch, 1986 Wikipedia Slide content from Maneesh Agrawala’s slides in CS 448B

  15. THE PURPOSE OF VISUALIZATION Make a decision ● Example: Challenger space shuttle launch, 1986 Tufte. Visual and Statistical Thinking 1997 Slide content from Maneesh Agrawala’s slides in CS 448B

  16. THE PURPOSE OF VISUALIZATION Make a decision ● Example: Challenger space shuttle launch, 1986 Tufte. Visual and Statistical Thinking 1997 Slide content from Maneesh Agrawala’s slides in CS 448B

  17. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information ● Analyze information ○ See data in context Make a decision ○ Slide content from Maneesh Agrawala’s slides in CS 448B

  18. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information ● Analyze information ○ See data in context Make a decision ○ ● Convey information Slide content from Maneesh Agrawala’s slides in CS 448B

  19. THE PURPOSE OF VISUALIZATION We use visualization to ... ● Record information ● Analyze information ○ See data in context Make a decision ○ ● Convey information Rosalind Franklin and RG Gosling Slide content from Maneesh Agrawala’s slides in CS 448B

  20. THE PURPOSE OF VISUALIZATION Graphs in statistical analysis “Graphs can have various purposes, such as: (i) to help us perceive and appreciate some broad features of the data, (ii) to let us look behind those broad features and see what else is there .” (Anscombe 1973)

  21. Outline Visualization + Natural Natural Language Application in The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  22. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  23. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION Why implement natural language interaction?

  24. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION Why implement natural language interaction? ● “Natural language interaction allows users to ask questions directly in complex programs without having to learn how to use an interface .” (Gao et al.) ● Users of sophisticated visual analytic tools are “... usually domain experts with marginal knowledge of visualization techniques .” (Sun et al.)

  25. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION Types of current natural language interfaces 1 2 Those that Those that answer questions create a new about existing visualization visualizations

  26. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION 1) Answering questions about existing visualizations Kim et al. Answering Questions about Charts and Generating Visual Explanations

  27. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION 2) Creating new visualizations

  28. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION 2) Creating new visualizations ● Commercial IBM ○ ○ Microsoft Wolfram Alpha ○

  29. NATURAL LANGUAGE INTERFACES FOR VISUALIZATION 2) Creating new visualizations ● Commercial IBM ○ ○ Microsoft Wolfram Alpha ○ Research Projects ● ○ Articulate DataTone ○

  30. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  31. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  32. APPLICATION IN CONVERSATIONAL VIRTUAL ASSISTANTS Motivation ● Current tools created for data analysts, not the general, curious public Understanding from single ● “ Amplify cognition ” verbal response (Card, Mackinlay, and Shneiderman 1999) + chart ● Provide context to numerical responses to Understanding from single increase comprehension verbal response Encourage curiosity and “see what else is ● there” (Anscombe 1973)

  33. APPLICATION IN CONVERSATIONAL VIRTUAL ASSISTANTS Challenges ● Ambiguity ? ? What is the user asking for specifically? ○ Inferring when to include a chart in the response ● ○ When does a user benefit from viewing a chart? ● Determining what to display ○ What kind of additional data should be displayed? What kind of chart is most effective? ○ CUI vs GUI ●

  34. Question #1 Besides standard graphs, what other types of visualizations do you think would be helpful to integrate into a virtual assistant? For what domain(s)?

  35. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  36. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  37. Outline Visualization + Natural Language Application in Natural The Purpose of Interfaces for Conversational Language Visualization Visualization Virtual Assistants NLP Query to From Answer Backend Database Query to Display Implementation

  38. NLP Query to Database Query DataTone System Architecture Slide content from https://dl.acm.org/doi/pdf/10.1145/2807442.2807478

  39. NLP Query to Database Query Client Side: Web-based interface that operates in standard web browsers Slide content from https://dl.acm.org/doi/pdf/10.1145/2807442.2807478

  40. NLP Query to Database Query Client Side Example Slide content from https://dl.acm.org/doi/pdf/10.1145/2807442.2807478

  41. NLP Query to Database Query Server Side: handles translation of user input to a visualization Slide content from https://dl.acm.org/doi/pdf/10.1145/2807442.2807478

  42. NLP Query to Database Query Query Analyzer Slide content from https://dl.acm.org/doi/pdf/10.1145/2807442.2807478

Recommend


More recommend