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.

Filter by
Sorted by
Tagged with
2
votes
1answer
22 views

Is it necessary to skip two or more layers in ResNets?

I was watching Andrew Ng's video about ResNets and in that video he skipped 2 layers while "short cutting" them. For example, if we have input $a^{l}$, next layer will be $a^{l+1} = g(z^{l+1}...
5
votes
1answer
74 views

Are there any weight matrices of residual connections in ResNet?

In the resnet and its variants, such as (taken from here) Do these shortcut connections have any weight matrices (and bias) associated with them or do they simply copy the same output and transfer it ...
0
votes
0answers
8 views

equal error rate increasing while training speaker recognition model

I'm training a ResNet-based speaker recognition model. This is a fixed-data training protocol. I am validating my model on a different test set. The issue is the more I am training it seems the VEER ...
0
votes
0answers
19 views

Look ahead bias in the skip connection of the Transformer-decoder/GPT2 architecture

How come the residual connection on the attention module in Decoder-Transformers/GPT2 does not cause a look ahead bias? This is my current understanding: GPT is similar to the decoder side of the ...
0
votes
0answers
6 views

How does Residual Shift work in the Temporal Shift Paper?

While reading this paper, I came across the paragraph, "Instead of inserting it in-place, we put the TSM inside the residual branch in a residual block. We denote such version of shift as ...
1
vote
0answers
15 views

Why are shrinkage methods not effective for regularizing CNN?

This is going to be a very specific question. TLDR: I tried to use various shrinkage methods (L1, L2,...) to "emulate" what ResNet does, but they all sucked. Why? I'd like to start with a ...
0
votes
0answers
64 views

Max Pooling vs Average Pooling for residual/skip connections

I've implemented a CNN with skip connections; some connections skip across residual blocks with no spatial downsampling but some connections skip across blocks that have convolutions with a stride of ...
2
votes
0answers
27 views

Why is the block size in ResNets usually 2 or 3 layers and not more?

Is there a reason why only 2 or 3 layers are skipped by a shortcut connection? What benefits would it have to skip more than 3 layers? I do not find an obvious answer besides that increasing the block ...
3
votes
1answer
202 views

Is a Residual Network a Feedforward Network?

I am really confused about people comparing feedforward networks to residual networks. This is done in several papers I have read into (just one for example, first line in this paper: https://arxiv....
1
vote
0answers
121 views

Does the 'skip' in a residual network actually happen in the backward pass?

The following is a question regarding a residual block. Let $A^{[l-1]\{t\}}$ denote the activation of the $(l-1)^\mathrm{th}$ layer of a particular fully connected neural network, given the $t^\mathrm{...
2
votes
1answer
14 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
0answers
108 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 ...
-1
votes
1answer
102 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 ...
1
vote
1answer
439 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? ...
3
votes
1answer
1k 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 ...
1
vote
0answers
121 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 ...
0
votes
1answer
91 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 ...
0
votes
1answer
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 ...
3
votes
0answers
84 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
0answers
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
1answer
174 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 ...
0
votes
1answer
308 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
1answer
463 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 ...
1
vote
1answer
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 ...
2
votes
1answer
855 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 ...
5
votes
1answer
410 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 ...
3
votes
1answer
440 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 ...
3
votes
1answer
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 ...
0
votes
1answer
431 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 ...
2
votes
1answer
5k 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 ...
26
votes
4answers
34k 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 ...
2
votes
1answer
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, ...
11
votes
3answers
8k 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 ...
1
vote
0answers
134 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 ...
0
votes
1answer
378 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, ...
4
votes
1answer
640 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 ...
11
votes
1answer
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 ...
9
votes
3answers
6k 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 ...
3
votes
2answers
423 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 ...
5
votes
2answers
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 ...
13
votes
2answers
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 ...
6
votes
1answer
1k views

Residual network dimension changing blocks identity function

In trying to implement ResNet with bottleneck blocks for myself, I got very confused about the identity function residual blocks with different dimensions. They compared identity, conv projections on ...