clusterability
Perturbation: A simple and efficient adversarial tracer for representation learning in language models
Finding representations in LMs remains an openral language models (LMs) has been studied problem. Early work hypothesized that represen-for decades, but finding representations in LMs remains an unsolved problem. On the one hand, tations would be encoded as activation patterns unconstrained alignments may trivialize the no-and attempted to find representations in specific tion of representation (Sutter et al., 2025); onneurons (Linzen et al., 2016) or by training probthe other, even recently popularized linear aping classifiers (Tenney et al., 2019). Such probing proaches may not always be faithful to natural model behavior (Arora et al., 2024). Here we approaches are fraught (Alain and Bengio, 2017): escape this dilemma by reconceptualizing rep-they are correlational (Geiger et al., 2022), they can resentations not as patterns of activation but aslearn representations directly (Hewitt and Liang, 2019; Belinkov, 2022), and they will fail to find rep-conduits for learning. Our approach is simple: we perturb an LM by fine-tuning it on a sin-resentations outside the classifier's solution space gle adversarial example and measure how this (Adi et al., 2017). There has thus been a shift toperturbation "infects" other examples. Pertur-ward approaches, collectively called mechanistic bation makes no geometric assumptions, andinterpretability (Elhage et al., 2021), that attempt unlike other methods, it does not find representations where it should not (e.g., in untrainedto ground the notion of representation in the causal LMs). But in trained LMs, perturbation re-effects of activation patterns on model behavior veals structured transfer at multiple linguistic (Tucker et al., 2021; Templeton et al., 2024; Saphra and Wiegreffe, 2024; Geiger et al., 2025).grain
TextClusterLab: An Integrated Framework for Reliable Text Clustering Studies
Wan, Daoming, Huang, Yizheng, Huang, Jimmy X.
In recent years, text clustering has become a critical technique for applications including intent discovery, topic mining, and recommendation systems. However, evaluating text clustering algorithms remains challenging since many real-world textual datasets are not suitable for clustering assessment due to ambiguous semantic boundaries, the high dimensionality of embeddings, and inconsistent cluster structure. Current clustering dataset generators are designed for numerical data, providing limited support for text-specific benchmarking. This paper introduces TextClusterLab, a comprehensive framework for text clustering research. TextClusterLab offers a Large Language Model (LLM)-driven text clustering dataset generator to produce synthetic text datasets for evaluating clustering algorithms. This generator supports setting various clustering attributes, such as class imbalance, intra-cluster compactness, and inter-cluster diversity. These generated datasets can serve as practical benchmarks for testing the robustness and versatility of text clustering algorithms in diverse scenarios. Moreover, we introduce a benchmark to verify whether a text dataset is suitable for clustering evaluation. Therefore, TextClusterLab provides an integrated framework for reproducible and comprehensive text-specific clustering research. Our TextClusterLab is publicly available at https://github.com/research-paper-code/TextClusterLab, and some synthetic example datasets with various attributes are publicly available at https://huggingface.co/datasets/DW-irlab/TextClusterLab.
Performance Analysis of Spectral Clustering on Compressed, Incomplete and Inaccurate Measurements
Hunter, Blake, Strohmer, Thomas
Spectral clustering is a tool for extracting meaningful information from data by grouping similar objectsDtogether [1]. The method uses the eigenvector of an adjacency matrix for embedding the data into a space that captures the underlying group structure [2]. High-dimensional signals, magnetic resonance images, and hyperspectral images can be costly to acquire; even simple direct comparisons could be infeasible among such data sets. Our work shows that the meaningful organization extracted from spectral clustering is preserved under the perturbation from making compressed, incomplete and inaccurate measurements. Using bounds on the perturbation of eigenvectors, we establish error bounds of the spectral embedding when matrix completion and compressed sensing measurements are used. Given some error Nวซ in the entries of an affinity matrix A RN N, we show that the space spanned by the first k eigenvector are all within O(Nวซ) of the span of the unperturbed eigenvectors. We prove that the perturbed spectral coordinates are within O(Nวซ)of a unitary transform of the unperturbed coordinates and can give k-means cluster assignments within O(Nวซ) of the unperturbed case. This analysis holds true when the error perturbation in the entries of an affinity matrix |A(i,j) A (i,j)| วซ is caused from making compressed arXiv:1011.0997v1
Incremental Clustering: The Case for Extra Clusters
Margareta Ackerman, Sanjoy Dasgupta
The explosion in the amount of data available for analysis often necessitates a transition from batch to incremental clustering methods, which process one element at a time and typically store only a small subset of the data. In this paper, we initiate the formal analysis of incremental clustering methods focusing on the types of cluster structure that they are able to detect. We find that the incremental setting is strictly weaker than the batch model, proving that a fundamental class of cluster structures that can readily be detected in the batch setting is impossible to identify using any incremental method. Furthermore, we show how the limitations of incremental clustering can be overcome by allowing additional clusters.
Modular Training of Neural Networks aids Interpretability
Golechha, Satvik, Chaudhary, Maheep, Velja, Joan, Abate, Alessandro, Schoots, Nandi
An approach to improve neural network interpretability is via clusterability, i.e., splitting a model into disjoint clusters that can be studied independently. We define a measure for clusterability and show that pre-trained models form highly enmeshed clusters via spectral graph clustering. We thus train models to be more modular using a "clusterability loss" function that encourages the formation of non-interacting clusters. Using automated interpretability techniques, we show that our method can help train models that are more modular and learn different, disjoint, and smaller circuits. We investigate CNNs trained on MNIST and CIFAR, small transformers trained on modular addition, and language models. Our approach provides a promising direction for training neural networks that learn simpler functions and are easier to interpret.
Training Neural Networks for Modularity aids Interpretability
Golechha, Satvik, Cope, Dylan, Schoots, Nandi
An approach to improve network interpretability is via clusterability, i.e., splitting a model into disjoint clusters that can be studied independently. We find pretrained models to be highly unclusterable and thus train models to be more modular using an ``enmeshment loss'' function that encourages the formation of non-interacting clusters. Using automated interpretability measures, we show that our method finds clusters that learn different, disjoint, and smaller circuits for CIFAR-10 labels. Our approach provides a promising direction for making neural networks easier to interpret.
Exploring Beyond Logits: Hierarchical Dynamic Labeling Based on Embeddings for Semi-Supervised Classification
Ma, Yanbiao, Jiao, Licheng, Liu, Fang, Li, Lingling, Yang, Shuyuan, Liu, Xu
In semi-supervised learning, methods that rely on confidence learning to generate pseudo-labels have been widely proposed. However, increasing research finds that when faced with noisy and biased data, the model's representation network is more reliable than the classification network. Additionally, label generation methods based on model predictions often show poor adaptability across different datasets, necessitating customization of the classification network. Therefore, we propose a Hierarchical Dynamic Labeling (HDL) algorithm that does not depend on model predictions and utilizes image embeddings to generate sample labels. We also introduce an adaptive method for selecting hyperparameters in HDL, enhancing its versatility. Moreover, HDL can be combined with general image encoders (e.g., CLIP) to serve as a fundamental data processing module. We extract embeddings from datasets with class-balanced and long-tailed distributions using pre-trained semi-supervised models. Subsequently, samples are re-labeled using HDL, and the re-labeled samples are used to further train the semi-supervised models. Experiments demonstrate improved model performance, validating the motivation that representation networks are more reliable than classifiers or predictors. Our approach has the potential to change the paradigm of pseudo-label generation in semi-supervised learning.
Incremental Clustering: The Case for Extra Clusters
The explosion in the amount of data available for analysis often necessitates a transition from batch to incremental clustering methods, which process one element at a time and typically store only a small subset of the data. In this paper, we initiate the formal analysis of incremental clustering methods focusing on the types of cluster structure that they are able to detect. We find that the incremental setting is strictly weaker than the batch model, proving that a fundamental class of cluster structures that can readily be detected in the batch setting is impossible to identify using any incremental method. Furthermore, we show how the limitations of incremental clustering can be overcome by allowing additional clusters.
DeTiME: Diffusion-Enhanced Topic Modeling using Encoder-decoder based LLM
Xu, Weijie, Hu, Wenxiang, Wu, Fanyou, Sengamedu, Srinivasan
In the burgeoning field of natural language processing (NLP), Neural Topic Models (NTMs) , Large Language Models (LLMs) and Diffusion model have emerged as areas of significant research interest. Despite this, NTMs primarily utilize contextual embeddings from LLMs, which are not optimal for clustering or capable for topic based text generation. NTMs have never been combined with diffusion model for text generation. Our study addresses these gaps by introducing a novel framework named Diffusion-Enhanced Topic Modeling using Encoder-Decoder-based LLMs (DeTiME). DeTiME leverages Encoder-Decoder-based LLMs to produce highly clusterable embeddings that could generate topics that exhibit both superior clusterability and enhanced semantic coherence compared to existing methods. Additionally, by exploiting the power of diffusion model, our framework also provides the capability to do topic based text generation. This dual functionality allows users to efficiently produce highly clustered topics and topic based text generation simultaneously. DeTiME's potential extends to generating clustered embeddings as well. Notably, our proposed framework(both encoder-decoder based LLM and diffusion model) proves to be efficient to train and exhibits high adaptability to other LLMs and diffusion model, demonstrating its potential for a wide array of applications.
A testing-based approach to assess the clusterability of categorical data
Hu, Lianyu, Dong, Junjie, Jiang, Mudi, Liu, Yan, He, Zengyou
The objective of clusterability evaluation is to check whether a clustering structure exists within the data set. As a crucial yet often-overlooked issue in cluster analysis, it is essential to conduct such a test before applying any clustering algorithm. If a data set is unclusterable, any subsequent clustering analysis would not yield valid results. Despite its importance, the majority of existing studies focus on numerical data, leaving the clusterability evaluation issue for categorical data as an open problem. Here we present TestCat, a testing-based approach to assess the clusterability of categorical data in terms of an analytical $p$-value. The key idea underlying TestCat is that clusterable categorical data possess many strongly correlated attribute pairs and hence the sum of chi-squared statistics of all attribute pairs is employed as the test statistic for $p$-value calculation. We apply our method to a set of benchmark categorical data sets, showing that TestCat outperforms those solutions based on existing clusterability evaluation methods for numeric data. To the best of our knowledge, our work provides the first way to effectively recognize the clusterability of categorical data in a statistically sound manner.