Neural Network Models for Contextual Regression
Organizations: Department of Statistics, Chulalongkorn University, Bangkok 10330, Thailand
Abstract
We propose a neural network model for contextual regression in which the regression model depends on contextual features that determine the active submodel and an algorithm to fit the model. The proposed simple contextual neural network (SCtxtNN) separates context identification from context-specific regression, resulting in a structured and interpretable architecture with fewer parameters than a fully connected feed-forward network. We show mathematically that the proposed architecture is sufficient to represent contextual linear regression models using only standard neural network components. Numerical experiments are provided to support the theoretical result, showing that the proposed model achieves lower excess mean squared error and more stable performance than feed-forward neural networks with comparable numbers of parameters, while larger networks improve accuracy only at the cost of increased complexity. The results suggest that incorporating contextual structure can improve model efficiency while preserving interpretability.
Figures & tables
| Model | Number of parameters |
|---|---|
| Simple contextual neural network | 37 |
| Small feed-forward network | 37 |
| Large feed-forward network | 67 |
Modular Neural Networks
Modular neural networks organize computation into specialized, reusable components that can be routed, composed, or updated independently.
See all 74 papers