All models

deepctr_torch.ONN

ONN gives every sparse feature a separate embedding per operation, then feeds products and copies to an MLP for CTR.

Tabular and recommender · 2,479 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,479 operations (2.7 MB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
424K
Operations
2,479
Framework
PyTorch
Recurrent
No
Published
Neural Networks (arXiv 2019)
Cited by
88 (as of 19 October 2026)
Authors
Yi Yang, Baile Xu, Furao Shen, Jian Zhao
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4139
Graph hash
e211b6171e8db9ebdb057fbc37faaa92e52056ab4e3fafe6467ec41d8879283d
Skeleton hash
bbc91eb37e8f596db0bc74d2e351559b79e3dbe2f01668f3cfcdbd036105acbc
Architecture hash
9eb26e0e4bddbb3b02ae35e39d4dd1f0b3da6bec6c47d7a93e1b4fcc411dd32e
Diagram SHA-256
7dcbaa1d003b5a73b92c3f933e103fbad404557d40b00eb12a4740e4e4147dbe
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

ONN, the Operation-aware Neural Network, is a click and conversion prediction model for advertising and recommendation built around one observation: a feature should not have to use the same embedding for every operation performed on it. Most deep CTR models embed each sparse feature once and share that vector across operations, but the best representation for different operations may be different. Both traced members come from DeepCTR-Torch, a package of deep-learning based CTR models with reusable core component layers.

The fix is operation-aware embedding: for each feature, a separate embedding vector is learned for each operation performed on it. Operations of the same type on different features count as different operations, so the inner product of feature i with feature j and with feature p each get their own vector. On top of the embeddings, an incipient feature extraction layer keeps the copied embeddings and adds pairwise inner products, which the authors chose as the default operation while stopping at second-order interactions. A multi-layer perceptron then mines higher-order patterns, with a batch normalization layer added at every MLP layer. Seen against factorization models, ONN deepens FFM: the bottom layers are the same, but ONN adds non-linear layers on top. Seen against PNN, whose network structure ONN inherits, the change is swapping the normal embedding for the operation-aware one.

In the offline-training setting on the two datasets, the results show ONN outperforming all the other models on all metrics. The gap is clearest in online training, where each sample is seen once: the authors argue that because each operation has its own representation, the embeddings are simply easier to learn. They also report using ONN to win first prize in the Tencent Social Advertising College Algorithm Competition among about 1000 teams. One smaller finding: once batch normalization was in place, dropout stopped helping any of the deep models.

Key idea. Operation-aware embedding: each sparse feature learns a distinct representation for every operation applied to it, so copy and inner-product paths stop sharing one compromised vector.

  • ONN
  • Operation-aware Neural Network
  • Operation-aware Neural Networks
  • NFFM
  • operation-aware embedding
  • CTR prediction
  • click-through rate
  • user response prediction
  • field-aware factorization
  • DeepCTR-Torch
  • DeepCTR

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yang2019operationawareneuralnetworksuser,
      title={Operation-aware Neural Networks for User Response Prediction}, 
      author={Yi Yang and Baile Xu and Furao Shen and Jian Zhao},
      year={2019},
      eprint={1904.12579},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/1904.12579}, 
}