Perspectives - Interactive Document Clustering in the Discourse Analysis Tool Suite
Organizations: Language Technology Group, Department of Informatics, University of Hamburg, Germany
Abstract
This paper introduces Perspectives, an interactive extension of the Discourse Analysis Tool Suite designed to empower Digital Humanities (DH) scholars to explore and organize large, unstructured document collections. Perspectives implements a flexible, aspect-focused document clustering pipeline with human-in-the-loop refinement capabilities. We showcase how this process can be initially steered by defining analytical lenses through document rewriting prompts and instruction-based embeddings, and further aligned with user intent through tools for refining clusters and mechanisms for fine-tuning the embedding model. The demonstration highlights a typical workflow, illustrating how DH researchers can leverage Perspectives's interactive document map to uncover topics, sentiments, or other relevant categories, thereby gaining insights and preparing their data for subsequent in-depth analysis.
Figures & tables
| emotion | genre | product | stars | topic | frames | blurbs | stance | bias | |
|---|---|---|---|---|---|---|---|---|---|
| text | 45.10 | 27.20 | 36.72 | 47.54 | 71.17 | 59.78 | 73.84 | 51.19 | 47.20 |
| +inst | 50.60 | 27.50 | 55.76 | 58.86 | 71.24 | 65.00 | 73.25 | 48.21 | 48.51 |
| keyphrases | 49.15 | 34.85 | 54.64 | 46.34 | 65.70 | 60.34 | 76.73 | 61.63 | 50.76 |
| +inst | 49.51 | 34.90 | 60.64 | 49.68 | 65.40 | 58.31 | 76.66 | 63.14 | 50.69 |
| summary | 47.69 | 32.59 | 48.16 | 52.14 | 60.62 | 64.34 | 76.46 | 62.47 | 48.41 |
| +inst | 48.04 | 32.64 | 61.18 | 54.02 | 61.91 | 65.91 | 74.80 | 68.74 | 52.53 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Instruction |
|---|---|
| emotion | Identify the main emotion expressed in the given (summary of a | keyphrases of a) song text |
| genre | Identify the main genre of the given (summary of a | keyphrases of a) song text |
| stars | Identify the sentiment of the given (summary of an | keyphrases of an) Amazon review |
| product | Identify the category of an Amazon product based on the review (summary | keyphrases) |
| topic | Identify the topic or theme of the given (summary of a | keyphrases of a) news article |
| frame | Identify the framing of the given (summary of a | keyphrases of a) news article |
| Dataset | Prompt |
|---|---|
| emotion-summary | Write a concise summary (maximum 5 sentences) that focuses on the emotional |
| tone of the following song lyrics. Analyze the lyrics to determine the main | |
| emotion being conveyed and describe how it is expressed. | |
| Conclude with an emotion categorization: | |
| emotion-keyphrases | Generate keyphrases (max 5 phrases) that describe the emotional tone of |
| the following song lyrics. Focus on phrases that reflect the emotional tone, |
Clustering
Clustering groups data points by shared structure, developing methods to discover, validate, and interpret groups across diverse data and constraints.
See all 345 papers