Cosine Normalization: Using Cosine Similarity Instead of Dot Product in Neural Networks

AI-generated keywords: Cosine Normalization

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors propose a new technique for normalizing multi-layer neural networks called cosine normalization
  • Traditional dot product between output vector and incoming weight vector increases risk of large variance in neurons, resulting in poor generalization
  • Cosine normalization uses cosine similarity or centered cosine similarity instead of dot product to address this issue
  • Experiments show that cosine normalization outperforms other normalization techniques in terms of performance on fully-connected neural networks and convolutional networks using various datasets
  • Cosine normalization helps bound dot product, decrease variance, improve generalization, and training speed by reducing internal covariate shift.
  • The proposed technique has potential applications across various domains where deep learning is used.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Chunjie Luo, Jianfeng Zhan, Lei Wang, Qiang Yang

Abstract: Traditionally, multi-layer neural networks use dot product between the output vector of previous layer and the incoming weight vector as the input to activation function. The result of dot product is unbounded, thus increases the risk of large variance. Large variance of neuron makes the model sensitive to the change of input distribution, thus results in poor generalization, and aggravates the internal covariate shift which slows down the training. To bound dot product and decrease the variance, we propose to use cosine similarity or centered cosine similarity (Pearson Correlation Coefficient) instead of dot product in neural networks, which we call cosine normalization. We compare cosine normalization with batch, weight and layer normalization in fully-connected neural networks as well as convolutional networks on the data sets of MNIST, 20NEWS GROUP, CIFAR-10/100 and SVHN. Experiments show that cosine normalization achieves better performance than other normalization techniques.

Submitted to arXiv on 20 Feb. 2017

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 1702.05870v5

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "Cosine Normalization: Using Cosine Similarity Instead of Dot Product in Neural Networks," authors Chunjie Luo, Jianfeng Zhan, Lei Wang, and Qiang Yang propose a new technique for normalizing multi-layer neural networks. Traditionally, dot product between the output vector of the previous layer and the incoming weight vector is used as input to the activation function. However, this unbounded dot product increases the risk of large variance in neurons, making models sensitive to changes in input distribution and resulting in poor generalization. To address this issue, the authors propose using cosine similarity or centered cosine similarity (Pearson Correlation Coefficient) instead of dot product in neural networks - a technique they call cosine normalization. The authors compare cosine normalization with batch, weight, and layer normalization techniques on fully-connected neural networks as well as convolutional networks using datasets such as MNIST, 20NEWS GROUP, CIFAR-10/100 and SVHN. Their experiments show that cosine normalization outperforms other normalization techniques in terms of performance. The proposed technique helps bound dot product and decrease variance while improving generalization and training speed by reducing internal covariate shift. Overall, this paper presents a promising new approach to normalizing multi-layer neural networks that has potential applications across various domains where deep learning is used.
Created on 10 May. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.