SMIC: Shared Multiscale Input-Reference Conditioning across Transformer Layers for Natural Language Inference
Xin Zhang, Victor S. Sheng
Abstract
Natural Language Inference models can be sensitive to localized lexical changes. We introduce Shared Multiscale Input-Reference Conditioning (SMIC), which constructs a single input-dependent multiscale reference and reuses it across Transformer layers. Each layer applies its own multiscale transformation to the shared reference and injects the resulting conditioning feature before the attention update. We instantiate SMIC in a token--context Transformer (TCT) and conduct from-scratch comparisons against decoder-based and Multi-Layer Perceptron (MLP) baselines across all three ANLI rounds. TCT-SMIC attains the highest observed ten-seed mean accuracy on all three ANLI rounds. The ablations further support the contribution of SMIC. We evaluate a real-valued Llama-style plug-in and extend deletion/insertion diagnostics to pretrained ModernBERT encoder and Llama decoder models with and without SMIC. Across the evaluated perturbation protocols, TCT-SMIC exhibits comparatively low pooled-attention redistribution and smaller signed accuracy changes. We further establish a finite-sample bound on average subset-mass redistribution in terms of the mean Jensen--Shannon divergence between the restricted and renormalized attention distributions.
Create a lesson
Related papers
A Multi-Layered AI Pipeline for BPMN Generation from Natural Language
Shared title terminology · Alexandru Rancea, Ionut Anghel, Tudor Cioara et al.
The Assistant Persona Differs Across Languages in Activation Space
Shared title terminology · Daniel Yoo, Naama Rozen, Evan Harris
Non-Expanding Gated Continued Fraction Architecture for Feedforward Layers in Language Models
Shared title terminology · Amit Dhurandhar, Vijil Chenthamarakshan, Karthikeyan Natesan Ramamurthy et al.
What Helps Language-Model Agents Review Violent Video? A Controlled Comparison with a Human Evidence Reference
Shared title terminology · Mohammed El Amine Mokhtari, Matei Mancas, Virginie Vandenbulcke
Energy estimates of open-weight large language models across stated food weights: a dose-response evaluation
Shared title terminology · Donato Riccio, Fabrizio Maturo, Iulia Brezeanu
Closing Performance Gap for Diffusion Language Models under Low Inference Budgets
Shared title terminology · Hao Wu, Sipeng Chen, Jingwen Fu et al.