Introduction
Numerical analysis tools like MATLAB, R, and SAS are indispensable for heavy computation but often lack robust interactive visualization capabilities. A significant hurdle is that these environments treat data as abstract numerical vectors or matrices, losing the "semantic meaning" of the source data—such as specific words in a document or pixels in an image—once processing begins. This disconnect makes exploratory data analysis difficult; for instance, a researcher cannot easily click an outlier in a scatter plot to retrieve the original document it represents.
To bridge this gap, this paper introduces a system that augments MATLAB with "semantic objects." By maintaining the link between raw numbers and their real-world origins, the system enables powerful interactive features like brushing-and-linking and "details-on-demand" directly within the standard data analysis workflow.
System Architecture and Methods
The proposed system is not a replacement for MATLAB but an augmentation layer built using the Java Matlab Interface (JMI) and Beanshell for dynamic execution. The core components include:
- Semantic Objects: A new data type for storing meaningful entities (text, images, or CSV rows) in a dedicated workspace.
- Visual Objects: Explicit representations of graphical elements (dots, lines, bars) programmatically linked to semantic data.
- The Interpreter: A custom command-line interface that intercepts commands. Standard MATLAB commands are passed to the engine, while "dotted" commands (e.g.,
.scatter,.imagesc) invoke interactive visual objects. - Binding Operations: Commands like
.vbindand.mbindcreate "communication channels" between visual elements, matrix indices, and semantic objects.
Interactive Visual Analytics
The system's primary innovation is treating interactivity as a feedback loop. By maintaining a unified workspace of semantic IDs, the system synchronizes multiple views automatically. If two visual objects share the same semantic ID, they are inter-linked for brushing operations. This allows for "semi-supervised" analysis: a user can inspect a cluster, identify unrelated items via "details-on-demand," and immediately refine their MATLAB algorithms based on those insights.
Case Studies and Results
The authors evaluated the system using two real-world scenarios:
Movie Recommendation Analysis
Using a dataset of 300 movies from Rotten Tomatoes, the authors employed heatmaps and scatter plots to explore similarity scores. They identified a cluster labeled "Animation" but, through interactive inspection, found a movie that didn't fit the genre yet was closely related as a Disney film. This discovery allowed them to use semi-supervised Non-negative Matrix Factorization (NMF) to refine clusters in real-time.
Document Topic Modeling
Analyzing 515 research papers from InfoVis and VAST conferences, the authors visualized term distributions as line graphs. The interactive environment allowed them to quickly identify "noise" words (e.g., "information") appearing across all clusters. By seeing the semantic labels of these top terms, they could delete non-informative words and re-run the analysis, resulting in significantly clearer topic models.
Limitations and Future Work
While powerful, the system currently requires users to learn a new set of command-line instructions. The authors acknowledge that the binding operations can be complex and suggest that a more intuitive Graphical User Interface (GUI) for linking objects would be a major improvement. Future work also includes adding a "summary panel" to help users manage the complexity of multiple semantic and visual bindings.
Summary updated