Gated Concept Adapters: Layer-Wise Concept Bottlenecks for Auditable Text Understanding
Niloofar Ranjbar, Saeedeh Momtazi, Mohammad Mehdi Homayounpoor
Abstract
Human-facing text understanding systems are used to infer affect, moderate harmful content, and support socially sensitive decisions. However, Transformer predictions are difficult to audit because they are produced from high-dimensional hidden states that do not provide a compact, inspectable interface for human analysis or intervention. We introduce Gated Concept Adapters (GCA), a layer-wise concept bottleneck framework that attaches gated, low-dimensional concept-producing readout adapters to selected outputs of pretrained Transformers. Token representations are mapped into concept activations, filtered by learned gates, pooled into layer-level summaries, and exposed to the prediction head as a concept-mediated interface. The dimensions can be inspected through usage statistics, signature n-grams, post-hoc concept names, and targeted concept interventions. We evaluate GCA on fine-grained emotion classification, toxicity detection, topic classification, and a controlled verb-cloze stress test. In the affective and safety-relevant classification settings, GCA learns comparatively low-redundancy and intervention-sensitive concept representations while retaining useful predictive performance. On toxicity detection, it remains close to an unconstrained ModernBERT baseline while enabling concept-level inspection, targeted intervention, and lightweight post-hoc control. On GoEmotions, the end-to-end concept model incurs a macro-F1 cost relative to unconstrained RoBERTa, while a task-initialized frozen variant substantially reduces this gap. On AG News, GCA remains competitive with recent concept-based baselines, and the Qwen verb-cloze experiment clarifies the limits of concept-mediated full-vocabulary prediction. Overall, GCA provides a neural concept interface for auditable text understanding, prioritizing transparency, diagnosis, and intervention over unconstrained accuracy maximization.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.CL
- Comments
- Preprint. Includes supplementary appendices
Related papers
Measuring Layer-wise Intrinsic Dimensionality of FFNs in LLMs via PCA
Shared title terminologycs.LGDaehee Kim
Sample-Efficient In-Context Adaptation via Sleep
Shared title terminologycs.LGSangyun Lee, Zhang Enyan, Michael Xu et al.
Understanding the Importance of Massive Activations through Adversarial Robustness
Shared title terminologycs.LGTigran Fahradyan, Riccardo Ali, Sergio Calvo-Ordoñez et al.
When Knowledge-Tracing Rankings Depend on Available History: A Source-Correction and Matched-Information Audit on ASSISTments 2009 and 2015
Shared title terminologycs.LGDevis Wawan Saputra
DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM Pretraining
Shared title terminologycs.LGSimin Fan, Martin Jaggi
Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration
Shared title terminologycs.LGJunsoo Oh, Jihun Yun, Junhyuck Kim et al.