Multiplicative Feature Interaction with Tensor Networks

21 concepts16 papers1 proposal

In standard deep learning architectures, layers combine features additively. When we pass two feature vectors, $x$ and $y$, into a standard Multi-Layer Perceptron (MLP), we typically concatenate them and compute a weighted sum: $z = \sigma(W_1 x + W_2 y + b)$.

While this approach is a universal approximator in theory, it has a glaring limitation in practice: features do not interact directly in the linear step. Any cross-dimensional relationship (such as how a specific word in a search query modifies the meaning of a word in a document) must be painstakingly learned downstream through layers of non-linear activation functions. As Ido Ben-Shaul et al. demonstrate, relying purely on additive combinations forces networks to expand exponentially in size to capture complex smooth functions, falling victim to the curse of dimensionality.

To bypass this bottleneck, a powerful alternative paradigm has emerged: explicit multiplicative feature interaction. By replacing vector concatenation with tensor products and bilinear layers, models can compute multi-way interactions directly at the initial processing stage.


The Core Intuition: From Addition to Outer Products

To understand why multiplicative interactions are inherently more expressive, consider the difference between vector concatenation and an outer product.

If we concatenate two $d$-dimensional vectors $x$ and $y$, we get a $2d$-dimensional vector. A linear layer applied to this concatenation evaluates each element of $x$ and $y$ independently. However, if we compute the outer product $X = x \otimes y$, we generate a $d \times d$ matrix where every single element $X_{ij} = x_i y_j$ represents an explicit pairwise product between a dimension of $x$ and a dimension of $y$.

Concatenation (Additive Layer):
[ x1, x2, x3 ]  ++  [ y1, y2, y3 ]  -->  [ w1*x1 + w2*x2 + w3*x3 + w4*y1 + w5*y2 + w6*y3 ]
                                         (No direct x_i * y_j terms)

Outer Product (Tensor Layer):
               [ y1,   y2,   y3 ]
[ x1 ]  -->  [ x1y1, x1y2, x1y3 ]
[ x2 ]       [ x2y1, x2y2, x2y3 ]
[ x3 ]       [ x3y1, x3y2, x3y3 ]        (Every pairwise interaction captured explicitly)

As Rashmi Gangadharaiah et al. show in the context of query refinement, this matrix representation allows one input vector to dynamically weight the features of another. Instead of a static ranking, the query modifies the suggestion features directly across every dimension, bridging lexical gaps that simple concatenation misses.

To map this matrix back to a hidden representation, we use a Bilinear Tensor Layer. For an output dimension $k$, the network computes:

$$h_k = x^T W_k y$$

where $W_k$ is a learnable weight matrix. By stacking multiple such matrices into a three-way tensor $\mathcal{W}$, the layer outputs a vector where each unit is a weighted sum of all pairwise products of the inputs. Dong Yu et al. leveraged this exact mechanism in Deep Tensor Neural Networks (DTNNs) for speech recognition, demonstrating that modeling the multiplicative interactions between latent factors—like speaker identity and background noise—explicitly captures non-linear dependencies that standard additive layers fail to resolve.


Making Tensors Practical via Factorization

The primary challenge with full tensor layers is computational complexity. Computing $x^T W_k y$ for an output dimension $m$ requires $O(m \cdot d^2)$ parameters, which quickly becomes unsustainable for large hidden dimensions.

To make this mechanism practical, researchers integrate the principles of low-rank tensor decomposition directly into the network layers. Instead of learning a massive, unconstrained tensor, the weights are factorized into smaller, low-rank matrices.

For instance, Tao Lei et al. introduced non-linear, non-consecutive convolutions for text processing by replacing standard linear concatenation with low-rank tensor products. This allows the network to efficiently capture multi-way interactions between words separated by long distances (e.g., matching "not" and "good" in a sentiment analysis task) without exploding the parameter count.

Similarly, Saanjali Maharaj et al. proposed replacing fixed activation functions like ReLU with learnable, product-structured activations. By computing a product of learnable univariate functions rather than additive combinations, their architecture embeds low-rank tensor decomposition directly into the network's neurons, drastically reducing the parameters needed to solve complex partial differential equations.

Remarkably, this low-rank structure is not just an engineering trick; it is an inherent inductive bias of the optimization process itself. Noam Razin et al. provided theoretical proof that gradient descent in tensor factorizations exhibits implicit regularization. When training a network structured around products across dimensions, the optimization trajectory naturally and greedily seeks out low-rank solutions, explaining why these architectures generalize so effectively on structured real-world data.


Applications: Where Multiplicative Fusion Excels

Explicit tensor interactions are uniquely suited for problems where the relationship between two entities is highly non-linear or combinatorial.

1. Cross-Task and Cross-Domain Fusion

In multi-task learning, one task often acts as a contextual modifier for another. For example, literal text meaning changes completely when sarcasm is present. Navonil Majumder et al. utilized a Neural Tensor Network (NTN) to fuse task branches for sentiment and sarcasm classification, showing that a bilinear tensor layer models the mathematical complexity of how sarcasm modifies sentiment far better than attention or concatenation. A similar fusion strategy was deployed by Ranjan Satapathy et al. to capture the non-linear relationships between subjectivity detection and polarity classification.

2. Structural and Relational Text Parsing

In natural language processing, identifying relationships between distinct text spans requires capturing subtle rhetorical dependencies. Qi Li et al. and Fengyu Guo et al. both demonstrated that tensor-based transformation layers are highly effective for discourse parsing. By forcing multiplicative interactions between vector representations of separate text units, these models extract deep semantic patterns and rhetorical relations without requiring handcrafted features.

For sequence labeling and information extraction, Tao Ge et al. used a factorized three-way tensor layer to automate cross-product feature extraction between context tokens and label embeddings for Chinese word segmentation. For complex table-filling tasks, Yice Zhang et al. leveraged tensor operations to model higher-order dependencies between potential aspect and opinion terms across a 2D relational grid, while Ching-Yun Chang et al. used an NTN to fuse hidden states from opposing sequence directions.

3. Continuous Fields and Physical Domains

Multiplicative interactions are equally potent outside of NLP. In recommendation systems, Factorization Machines traditionally struggle with continuous numerical features. Alex Shtoff et al. resolved this by encoding numerical features via basis functions, meaning the interaction between two continuous variables is modeled as a two-dimensional surface defined by the tensor product of their bases.

In political science, Kyungwoo Song et al. applied neural tensor networks to model how combinations of latent political topics interact non-linearly to influence a politician's vote. Finally, in molecular chemistry, Brandon M. Anderson et al. bypassed standard activations entirely, using Clebsch-Gordan tensor decompositions to model physical multipole interactions (like dipole or quadrupole forces) directly within a covariant Fourier-like space.

Conclusion

Whether factorized to save memory or deployed as full bilinear layers, tensor-based architectures fundamentally change how networks process information. By replacing the passive "concatenate-and-activate" pipeline with explicit product operations, they allow deep learning models to capture multi-way, higher-order feature interactions natively, efficiently, and with strong generalization guarantees.

Key Foundational Work

Learning to Re-rank for Interactive Problem Resolution and Query Refinement (2014) — contributed 2 concept elements to this direction.
Large Vocabulary Speech Recognition Using Deep Tensor Neural Networks (2012) — contributed 1 concept elements to this direction.
Max-Margin Tensor Neural Network for Chinese Word Segmentation (2014) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_non_linear_feature_interaction_tensor_ba_b54cf87c,
  title = {non-linear feature interaction (tensor-based feature interaction)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/non-linear-feature-interaction-tensor-based-feature-interaction/rdr_b54cf87c58e849a6b6057730cf6542f9},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_non_linear_feature_interaction_tensor_ba_b54cf87c_v1,
  title = {non-linear feature interaction (tensor-based feature interaction)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/non-linear-feature-interaction-tensor-based-feature-interaction/rdr_b54cf87c58e849a6b6057730cf6542f9/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake