vix.ing · top · new · best · stats

Idea-Gated Transformers: Enforcing Semantic Coherence via Differentiable Vocabulary Pruning

2025/12/03 by Darshan Fofadiya, Fofadiya, Darshan · 1 voice
Computer Science · #Domain Adaptation and Few-Shot Learning #Machine Learning in Healthcare #Topic Modeling #cs.AI #cs.CL

paper · pdf · doi:10.48550/arxiv.2512.03343

arxiv published 2025/12/03 · arxiv updated 2025/12/11

Abstract

Autoregressive Language Models (LLMs) trained on Next-Token Prediction (NTP) often suffer from Topic Drift where the generation wanders away from the initial prompt due to a reliance on local associations rather than global planning. While scaling model size mitigates this, the fundamental myopia of the NTP objective remains. In this work, we introduce the Idea-Gated Transformer, a novel architecture that separates semantic planning from syntactic generation. We introduce an auxiliary Idea Head trained to predict the bag-of-words distribution for a future context window, creating a latent ``Concept Vector'' that actively gates the main vocabulary during generation. We propose a differentiable gating mechanism that suppresses semantically irrelevant tokens, effectively pruning the search space in real-time. Experiments on WikiText-103 demonstrate that while the Idea-Gated model achieves comparable validation perplexity to a standard GPT-2 baseline, it exhibits significantly superior Domain Retention. Qualitative and quantitative analysis reveals that the gating mechanism successfully locks generation into specific semantic clusters (e.g., Finance, Science) and resists associative drift, offering a parameter-efficient path toward more controllable language modeling.

Citations

Discussions

Related