Tag neural networks