@inproceedings{lim-lauw-2023-disentangling,
title = "Disentangling Transformer Language Models as Superposed Topic Models",
author = "Lim, Jia Peng and
Lauw, Hady",
editor = "Bouamor, Houda and
Pino, Juan and
Bali, Kalika",
booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
month = dec,
year = "2023",
address = "Singapore",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/fix-sig-urls/2023.emnlp-main.534/",
doi = "10.18653/v1/2023.emnlp-main.534",
pages = "8646--8666",
abstract = "Topic Modelling is an established research area where the quality of a given topic is measured using coherence metrics. Often, we infer topics from Neural Topic Models (NTM) by interpreting their decoder weights, consisting of top-activated words projected from individual neurons. Transformer-based Language Models (TLM) similarly consist of decoder weights. However, due to its hypothesised superposition properties, the final logits originating from the residual path are considered uninterpretable. Therefore, we posit that we can interpret TLM as superposed NTM by proposing a novel weight-based, model-agnostic and corpus-agnostic approach to search and disentangle decoder-only TLM, potentially mapping individual neurons to multiple coherent topics. Our results show that it is empirically feasible to disentangle coherent topics from GPT-2 models using the Wikipedia corpus. We validate this approach for GPT-2 models using Zero-Shot Topic Modelling. Finally, we extend the proposed approach to disentangle and analyse LLaMA models."
}
Markdown (Informal)
[Disentangling Transformer Language Models as Superposed Topic Models](https://preview.aclanthology.org/fix-sig-urls/2023.emnlp-main.534/) (Lim & Lauw, EMNLP 2023)
ACL