# Questions tagged [residual-networks]

A type of neural network architecture suggested in 2015 that allows to train very deep networks with 100s or 1000s of layers.

49 questions
Filter by
Sorted by
Tagged with
9 views

### Different convergence rate between two different data representations with same neural net

I am currently training a ResNet18 on audio data recordings using Mel Spectrograms which are of shape $(128,6025)$ and a different, less known audio data representation - the Multi-Resolution ...
• 71
1 vote
7 views

### How does the fixed point interation in invertible resnets work?

I feel like I am missing some easy point about this invertible resnet paper which is making it hard for me to grasp how the fixed point iteration works. stated simply, the residual connection in a ...
• 639
59 views

### How to architect an encoder-decoder architecture using ResNets?

I am trying to implement my own encoder/decoder architecture in Pytorch. Specifically I am trying to use ResNet-18, both for encoding and decoding part. While by following the paper I believe I ...
• 213
1 vote
16 views

### Backprop in Residual neural network?

I'm trying to build a Residual neural network with 2 layers , and I'm having difficultiy understanding what are the equations for the backprop for the following : $$W_{2}x+tanh(W_{1}x+b_1)+b_2$$ ...
1 vote
61 views

### Derive the gradient matrices w.r.t. W1 and W2 and backprop equation in a Residual Network [closed]

How would I go about deriving gradient matrices w.r.t. W1 and W2 and backpropagation equation in a residual block that is a part of a larger ResNet network with forward propagation expressed as:  F(...
• 11
2k views

### Why are residual connections needed in transformer architectures?

Residual connections are often motivated by the fact that very deep neural networks tend to "forget" some features of their input data-set samples during training. This problem is ...
6 views

### How does ResNet perform identity shortcut when the number of channels needs to be adjusted? [duplicate]

I'm reading the research paper of Resnet: https://arxiv.org/pdf/1512.03385.pdf When testing various ways to perform shortcut connections, they start off with this option: (A) zero-padding shortcuts ...
99 views

18 views

### Residual Networks - Non-image use cases

I've been doing some research into computer vision lately and constantly come across the ability of residual networks to improve performance. Intuitively I think I grasp them, however, I struggle to ...
1 vote
168 views

### How to calculate number-of-ops used in the backward pass of the neural net in training phase?

I'm trying to study a basic model like ResNet and how many operations it does and memory usage during backward-pass. For forward pass for layer like 1x1 conv or 3x3 conv, i was able to easily compute ...
• 309
113 views

### Where is BatchNorm performed in ResNeXT https://github.com/facebookresearch/ResNeXt neural network?

In the original paper that described ResNeXT (variation of Resnet) at https://arxiv.org/pdf/1611.05431.pdf. On Page-5 top right column, it says: ReLU is performed right after eachBN, expect for ...
• 309
576 views

### how is this Bottleneck design the same as original residual block in resnet?

This paper/link talks about resnet's bottleneck design. It's totally not clear to me how the bottleneck design on the right is equivalent to the left-diagram and how is it reducing the parameters? ...
• 309
2k views

### Why does residual block in resnet shown as skipping not just 1-layer (conv + relu) but also the next weight layer?

I was reading about resnet at this link. This link and others say that residual block skips 1-layer, but then all of them show a diagram where there is an additional weight layer (i think it can be ...
• 309
1 vote
183 views

### How to pad skip connections when using transposed / deconvolutional layers

if you have a standard CNN architecture with convolutional layers there are 2 reasons why the identity of the skip connection can't be added with the current output. 1) There was pooling between the ...
• 158
134 views

### Can residual connection affect the learning of skipped layers?

My understanding of residual connection is it could help avoid degradation by making $F(x)$, the skipped layers, close to 0 so that when $F(x)$ become redundant it won't hurt the performance. What ...
• 307
22 views

### How do Residual layers not inhibit the learning?

My understanding of residual layers is that we can take a layer and branch it into two paths. One going the typical path for a network, and the other is an identity mapping forward over the ...
108 views

### How harmful is a wide Dense layer after a narrow?

My CNN-LSTM EEG Keras classification model includes a Dense 'shortcut' connection for residual sequence learning as shown below; to match dimensionality, the Dense layer's set to ...
1 vote
239 views

### Why is my keras resnet50 model overfitting? [duplicate]

I have applied Keras ResNet-50 on a small x-ray image dataset. I tried making layers both trainable and non-trainable, but my model validation accuracy doesn't improve above 50%. I don't understand ...
1 vote
266 views

### Why resolution is not important for pre-trained models

As far as I understand (and even successfully applied in Kaggle competition), it's possible to feed images of any resolution into the pre-trained model (e.g. ResNet34). But I do not understand, why it ...
• 113
384 views

### Residual Network: Is small deviation of layer response good? What's the point of resnet?

I have 2 questions... In the paper Deep Residual Learning for Image Recognition, it says We show by experiments (Fig. 7) that the learned residual functions in general have small responses, ...
1 vote
520 views

### ResNet 34 training with custom dataset

I am a beginner in Neural Networks and wanted to implement ResNet34 for a pet project at my workplace. Due to confidentiality issues, I do not want to use ImageNet trained weights. I have a dataset ...
• 111
1 vote
3k views

### How does backpropagation in residual network works?

i am studying the deep residual network currently, and i cannot fully understand how backpropagation in residual network works. Here some parts of the paper that i read. so, how does the ...
932 views

### ResNet: What is the content of the second skip-connection?

I have a question regarding the second skip connection in ResNet. Here is a part of the image of the architecture as it was presented in the paper: As I understand the output of the pool layer gets ...
• 158
484 views

### Can a residual neural network be interpreted as a form of ensemble learning?

I stumbled over this paper: "Veit, A., Wilber, M. & Belongie, S. Residual Networks Behave Like Ensembles of Relatively Shallow Networks. (2016).". In it, they argue that residual neural ...
617 views

### How to initialize weights in the presence of skip connections?

Weight initialization is an important parameter for success in large networks, in the absence of techniques such as batch normalization that reduces their impact. There are known initialization ...
• 147
1k views

### How do the residual blocks prevent exploding gradients?

I am reading Roger Grosse's lecture notes on ResNet and I have a question regarding the explanation on how residue blocks prevent gradient explosion, see the screenshot below: My confusion is: this ...
• 51
469 views

### Residual connection in Xception [closed]

I am trying to understand residual connection in Xception. If I am getting right, there's nothing really happen in residual connection (right figure) because it is just addition. But, I could not ...
• 3
6k views

### How resNet increasing the dimension?

In the above image, It is the part of the resNet Architecture, here they have used dotted line to increase the dimension, but my question is How they are increasing the dimension?? or this dotted line ...
• 181
38k views

### What are "residual connections" in RNNs?

In Google's paper Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation, it is stated Our LSTM RNNs have $8$ layers, with residual connections between ...
1k views

### Residual network: why is each block learning residual error with respect to identity mapping?

In original version of neural network, it learns H(x) from input x, and in the residual network, it is said that learning is improved by learning only residual error with respect to identity mapping, ...
• 301
9k views

### Shortcut connections in ResNet with different spatial sizes

If I take Fig.3 of the paper "Deep residual learning for image recognition", and look at the following piece of the residual network: $3\times3$ conv, 64 filters ...
• 211
1 vote
140 views

### Validation error smaller than training error in Deep Residual Learning for Image Recognition paper

At one of the examples of Deep Residual Learning for Image Recognition paper, figure 4, leftmost graph it's said that thin curves denote training error and bold curves validation error. Throughout ...
• 111
406 views

### How neural networks manages to learn 0 class for sigmoidal Cross-Entropy loss function using ReLU as activation unit?

Let's say we have binary classification problem: 0 vs 1. Some set of images needs to be mapped to those labels by convolutional neural network. Main trend for now is to use ReLu as activation unit, ...
• 211
690 views

### Are shortcut connections with stride > 1 still "identity mappings" in ResNets?

In Deep Residual Learning for Image Recognition, I am trying to understand better the "dotted shortcuts" from Figure 3, where the first convolutional layer in those shortcuts is applied with stride of ...
10k views

### What exactly is a Residual Learning block in the context of Deep Residual Networks in Deep Learning?

I was reading the paper Deep Residual Learning for Image Recognition and I had difficulties understanding with 100% certainty what a residual block entails computationally. Reading their paper they ...
• 6,106
7k views

### Why do residual networks work?

I have a few questions about the paper Deep Residual Learning for Image Recognition by Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun. The building blocks of residual networks can be viewed as ...
• 211
426 views

### Do ResNets from Microsoft experts represent convolutional neural nets?

I am talking about the article of Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun (Microsoft Research team): "Deep Residual Learning for Image Recognitione (2015)" ResNets won the 1-st place at ...
2k views

### How does the Identity connection in ResNets work

I am currently going through the Research paper "Deep Learning for Image recognition" by Kaiming He. I don't quite understand the concept of shortcut connections. Suppose the input to the residual ...
• 408
2k views

### Are Residual Networks related to Gradient Boosting?

Recently, we saw the emergence of the Residual Neural Net, wherein, each layer consists of a computational module $c_i$ and a shortcut connection that preserves the input to the layer such as the ...
• 970