visualization: goals and philosophy and the icsi realization group

16
ICSI Visualization & Demos - Dan Ellis 1998feb12 - 1 Visualization tools & demos and the ICSI Realization group Dan Ellis International Computer Science Institute, Berkeley CA <[email protected]> Outline Visualization: Goals and philosophy Tour of existing tools Using recogviz Future developments & demos 1 2 3 4

Upload: others

Post on 12-Sep-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 1

Visualization tools & demosand the ICSI Realization group

CA

ICSI Visualization & Demos - Dan Ellis 1998

Dan EllisInternational Computer Science Institute, Berkeley

<[email protected]>

Outline

Visualization: Goals and philosophy

Tour of existing tools

Using recogviz

Future developments & demos

1

2

3

4

Page 2: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 2

Visualization: Goals and philosophy

nalyses

ena

are

use

1

ICSI Visualization & Demos - Dan Ellis 1998

Why work on visualization tools?

• Visual representations give insights- able to scan large amounts of data- a perspective different from other a

• Interactive exploration gives insights- ‘chasing down’ anomalous phenom

• Graphical, interactive demonstrationsaccessible & appealing- for giving demos to visitors- for communicating to colleagues

BUT

• Visualization is often non-critical→tools must be prefabricated, easy to

Page 3: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 3

Goals of visualization tool development

ures

ICSI Visualization & Demos - Dan Ellis 1998

• “A demo on every desk”- facilitate understanding/insight

& diagnose problems/anomalies- support presentations & provide fig- promote ‘demo culture’→minimize barrier?

• Tomorrows demos......can’t be predicted, so- establish framework- provide modules

• UI coding is tedious & short-lived- prefer high-level, portable solution

• Flexibility to twist to new ends?

Page 4: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 4

Choosing an infrastructure

e

matlab

xwaves, lyre

ICSI Visualization & Demos - Dan Ellis 1998

• Special purpose vs. scripting languag- need expandability- want to be able to modify

• Choice of scripting language:

→ Tcl/Tk + extensions framework

sh perl Tcl/Tk java

graphics ? √ √

command shell √ √

run programs √ √ √

sig.proc. support

user extensions √ √ √

‘nice’ syntax √ √? √?

local expertise √ √ ? ?

Page 5: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 5

Tour of existing tools

lay

ctrograms

ognition

h application

comparison

2

ICSI Visualization & Demos - Dan Ellis 1998

• Early experiments

- netviz - neural-net weights disp

- hmmviz - HMM model display

• Old but useful

- sgramImg - on-demand web spe

- pfview - pfile inspection

- simpleui - basic interactive rec

• The current generation

- berpdemo98 - interactive speec

- recogviz - recognizer display &

Page 6: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 6

netviz

&

hmmviz

nsion)viz

ICSI Visualization & Demos - Dan Ellis 1998

• Early experiments

• Advantages of Tcl- netviz is 300 lines (+ floatArray exte- clean postscript generated by hmm

Page 7: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 7

sgramImg.cgi

nd

i-bin/128.wav.gz”>

on

soundview.cgi

ICSI Visualization & Demos - Dan Ellis 1998

• CGI script: spectrogram GIF on-dema<img src=”http://montoya.icsi.berkeley.edu:8080/~dpwe/cgsgramImg.cgi?filename=/u/stp/data/ws97hr1/wav/2085-B-0

• Automatically includes xlabel annotati• Try it:http://montoya.icsi.berkeley.edu:8080/~dpwe/cgi-bin/

Page 8: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 8

pfview

S output

e=<pfile>

ICSI Visualization & Demos - Dan Ellis 1998

• Display contents of pfiles as images

• Provision for multiple panels, labels, P

• Try it:> ~dpwe/projects/pfview/pfview.tcl pfil

[idlist=<utid file>]

Page 9: Visualization: Goals and philosophy and the ICSI Realization group

feb12 - 9

simpleui

• Minimal interactive demo of recognizer

ognizer

features

end_afe_msg

ICSI Visualization & Demos - Dan Ellis 1998

• Just connects audio_frontend to a rec- easy to modify for other grammars,

• Simple structure:

• Try it:> /u/drspeech/share/bin/simpleui

audio_frontend rasta qnsfwd noway s

tcp socket

unix pipes

Page 10: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 10

berpdemo98

• Our ‘old’ application plus recogviz modules

ICSI Visualization & Demos - Dan Ellis 1998f

• Try it:> /u/drspeech/share/bin/berpdemo98

Page 11: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 11

recogviz

iques

tures, probs)

ICSI Visualization & Demos - Dan Ellis 1998f

• Motivation: compare recognition techn- at each stage in process (signal, fea

• Try it:> /u/dpwe/projects/recogviz/recogviz

Page 12: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 12

Using

recogviz

3

ICSI Visualization & Demos - Dan Ellis 1998f

• System structure

Control

Spectrogramdisplay

rasta

Featuredisplay

qnsfwd

Posteriorsdisplay

noway

Labelsdisplay

wavfiles

featurepfile

‘lna’prob. file

Tcl/TkRecog object

Spectrogramdisplay

rasta

Featuredisplay

qnsfwd

Posteriorsdisplay

noway

Labelsdisplay

wavfiles

featurepfile

‘lna’prob. file

Tcl/TkRecog object

Page 13: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 13

Using recogviz (cont.)

efinitions

"

y)

ICSI Visualization & Demos - Dan Ellis 1998f

• Configuration files: (Tcl syntax)- defaults=./defaults.def - common d

set NUMBERSDIR "/u/drspeech/data/NUMBERS95"set listfile "$NUMBERSDIR/list/numbers95-cs-dev.utids"set wavfilecmd "numbers95_findfile prefix=$NUMBERSDIR/ utid=%uset samplerate 8000set frametime 0.010# Standard network geometry/typeset mlp3_hidden_size 500set mlp3_output_size 56# Other common valuesset ftr_start 0...

- recog1=./recog1.defset title "Rasta-plp cepstra"set DPWE "/u/dpwe/projects/NUMBERS95"set ftr_file "$DPWE/pfiles/n95dev-lras-plp-cep.pf"set ftr_width 27set norm_file "$DPWE/pfiles/n95tr-lras-plp-cep.norm"set weights "$DPWE/results/1997sep17/n95tr-embed+iter2.weights"...

+ recog2=./recog2.def

• Use dr_recog params files? (y0/nowa

Page 14: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 14

Future developments & demos

message

4

ICSI Visualization & Demos - Dan Ellis 1998f

• “A demo on every desk”- but demos are more than graphics:

• Illustrations for research advances- feature domains- recognizer combinations

• Application-scale demos- grandson of BeRP- ?

Page 15: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 15

Creating new demos

ICSI Visualization & Demos - Dan Ellis 1998f

• Available pieces:

• Get bits via Tcl package systemsee also: http://www.tcltk.com, ...

Tcl/Tk loadable extensions

Binary programs

[incr Tcl] classes Tcl source files

embeddable Tcl programs

hackable top-level scripts

simpleui

audio_frontend.tcl

libaprllibfarray_otcllibsound_otcl

Recog.itcl CanvLabels.tcl

recogviz

probs.tcl

itkwish rastaqnsfwdnoway

CanvFA.itcl... ...

...

...

cgiutils.tcl

libpfif_otcl

berpdemo

Page 16: Visualization: Goals and philosophy and the ICSI Realization group

eb12 - 16

Future work

ICSI Visualization & Demos - Dan Ellis 1998f

• Improving the existing bits- cleaning up modules- better example shells- documentation

• Generating new demos- .. within existing tools (recogviz)- .. employing existing pieces

• Collaborative applications- ThisL- Daedelus

• Wider questions:- distributable demos?- cross-platform demos?- applications vs. basic research?