Topic modelling is an important text mining method in natural language processing, but its modeling process is complex and can generate results that do not always align with user expectations. To address this issue and enable non-expert users to understand the modelling process and modify model results quickly, we propose the interactive visual analysis system BTVis based on BERTopic. The system enhances the interpretability and usability of BERTopic through the following key features: (1) explored and visualized the intermediate process of hierarchical clustering of BERTopic to intuitively reveal the topic generation mechanism; (2) analyzed the outlier documents to uncover potential relationships between the outlier documents and the topics; (3) proposed the multi-granular local model editing algorithms to enhance the accuracy of the BERTopic model; (4) implemented the interactive hierarchical topic modeling system BTVis in a web environment, allowing users to enhance BERTopic results through visual analysis and interactive exploration. We conducted experiments including qualitative analysis, user experiments and quantitative tests with multiple real datasets. The results show the effectiveness and practicality of the system.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |