Published February 6, 2023 | Version v1

Tradeoffs in Discovering Latent Design Topics

Authors/Creators

  • 1. Anonymous

Description

Latent topic discovery has a rich history in software research. Statistical tools such as Latent Dirichlet Allocation (LDA) promise to uncover the latent topics in unstructured text. One such source is Stack Overflow, a rich if well-tapped vein of questions and answers about software development and design. However, while efficient and scalable, the topics produced can be hard for humans to interpret, and statistical tools are stochastic and unstable. We consider tradeoffs between degree of human supervision, algorith- mic efficiency, and their impact on the validity of latent topics extracted from unstructured texts about software design on Stack Overflow. We compare these algorithmic approaches to a more costly inductive coding approach. Software design is a good case study because design discussions typically require significant expert input in order to contextualize the abstract design information. We find that the semi-supervised (BERTopic) approach best balances cost, efficiency, and has the highest validity compared with the other approaches including LDA.

Files

bertopic-3.ipynb

Files (2.5 GB)

Name Size
md5:20c5474fe9298d4c683a2d18553076fa
147.1 kB Preview Download
md5:9d78b719ffe091bbe6c6780c3d167e9e
571.6 MB Preview Download
md5:b213a4361fbe3e723e3c3ad25499206b
570.8 MB Preview Download
md5:d3ae289397d3e5f71d5f2ef010bf47ac
889.2 kB Preview Download
md5:b7d78253d340324590e41a3f01e3da76
50.4 kB Preview Download
md5:8423f18de4e2d8dd8de96ad0a9cef0b2
337.9 kB Preview Download
md5:1f3064f3be0f988a4203d4fa331c3eb3
1.5 MB Preview Download
md5:60805137166bc01f4a10f5086a15c424
416.9 MB Preview Download
md5:d718ea279f16f6907f9b567fc6cdcea0
10.9 kB Download
md5:f82fe592a2f6b2874b3ec9b503a354e3
2.7 MB Download
md5:04616c3cf4a604381ba2e7a2fe316b36
414.3 MB Download
md5:7b662ec5f0b62a5080c52c94d322640d
527.8 MB Download