Discovering Chunks in Neural Embeddings for Interpretability

Shuchen Wu, Stephan Alaniz, Eric Schulz, Zeynep Akata
2/3/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Understanding neural networks is challenging due to their high-dimensional, interacting components. Inspired by human cognition, which processes complex sensory data by chunking it into recurring entities, we propose leveraging this principle to interpret artificial neural population activities.

Show full abstract

Biological and artificial intelligence share the challenge of learning from structured, naturalistic data, and we hypothesize that the cognitive mechanism of chunking can provide insights into artificial systems. We first demonstrate this concept in recurrent neural networks (RNNs) trained on artificial sequences with imposed regularities, observing that their hidden states reflect these patterns, which can be extracted as a dictionary of chunks that influence network responses. Extending this to large language models (LLMs) like LLaMA, we identify similar recurring embedding states corresponding to concepts in the input, with perturbations to these states activating or inhibiting the associated concepts. By exploring methods to extract dictionaries of identifiable chunks across neural embeddings of varying complexity, our findings introduce a new framework for interpreting neural networks, framing their population activity as structured reflections of the data they process.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2025discovering,
  title  = {Discovering Chunks in Neural Embeddings for Interpretability},
  author = {Shuchen Wu and Stephan Alaniz and Eric Schulz and Zeynep Akata},
  year   = {2025},
  eprint = {2502.01803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.01803v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.01803.svg)](https://codeofpaper.com/paper/2502.01803)

Discussion