Context on the Imaginary Axis: Input-Conditioned Convolution for Natural Language Inference
Abstract
We propose Input-Conditioned Complex Convolution (IC), an attention-free method for natural language inference. Building on complex token representations whose imaginary part carries context, IC generates both a value sequence and a convolution kernel from each premise--hypothesis pair. The kernel determines how the values are combined across the sequence, and the real part of the complex convolution is used to update the token representations. Zero-padded Fourier transforms compute this convolution exactly. Our analysis characterizes the resulting input-dependent operators, establishes limits on their approximation using fixed operators, and separates the effects of changes in the values and the kernel. To compare architectures without the effect of pretraining, we train all models from scratch on the same data with deterministic training and ten random seeds. IC achieves higher mean accuracy than four decoder architectures with comparable parameter counts on ANLI, FOLIO, and SNLI with reduced training data. With the rest of the model unchanged, FNet-style, Orchid-based, and adaptive frequency filtering mixing reach lower mean accuracy than the IC convolution on all three ANLI rounds. Interventions on the trained model show that prediction depends on input conditioning and on the imaginary part.
Create a lesson
Related papers
Lost in Translation, Found in Other Benchmarks: Cross-Task Transfer for Natural Language Inference
Shared title terminologycs.CLRon Keinan, Reut Tsarfaty
Natural Language Dictionaries: Learning Interpretable Decompositions of LLM Behavior
Shared title terminologycs.CLDaniel Vennemeyer, Saptarshi Ghosh, Yidan Jin et al.
Millie 2: Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context
Shared title terminologycs.CLBen Krause
FOLBench: A Logic-Grounded Evaluation Suite for Evaluating Open-Ended Responses using Graph-Based Semantic Metrics on First-Order Logic form of Natural Language
Shared title terminologycs.CLGosuddin Kamaruddin Siddiqi
Two Views, Two Strengths: Factorized Contrastive Decoding for Context-Faithful Large Language Models
Shared title terminologycs.CLJungseob Lee, Chanjun Park, Heuiseok Lim
SnowballCost: A Systematic Measurement of the Impact of Ultra-Long Responses on Large Language Model Inference Services
Shared title terminologycs.CLXijia Feng, Han Qiu, Jianshuo Dong et al.