2022 Developer Survey is open! Take survey.

Questions tagged [architecture]

For questions related to the architecture of AI models, e.g. the architecture of neural networks.

Filter by
Sorted by
Tagged with
3 votes
1 answer
60 views

How do I design the network for Deep Q-Network?

I am playing with deep q-learning and I am thinking about what the proper architecture of a network used for deep q-learning is. I have a very simple environment, basically a 18x18 matrix, where 3 ...
user avatar
  • 133
0 votes
0 answers
19 views

Where Can I Find Resources on Extracting Meaningful Content From Web Pages?

I am in the process of conducting a literature review for my thesis. Currently, I am struggling when it comes to developing a theoretical framework/methodology or to even correctly outline an approach ...
user avatar
1 vote
0 answers
40 views

How many layers do GPT-3, AlphaFold 2, and DALL-E 2 have?

Unsuccessfully, I tried to find out the "depth" (definition below) in large neural networks such as GPT-3, AlphaFold 2, and DALL-E 2. Formally, my question is about their computational graph:...
user avatar
0 votes
0 answers
12 views

Transformers for regression on permutation of fixed size sequence?

Transformers have shown remarkable performance operating on sequences, but are equivariant to the order in the input sequence. Positional Encoding alleviates that problem, but how good is it? In my ...
user avatar
  • 246
0 votes
0 answers
30 views

How to learn a neural network with equivalent constraints on the weights

Let $f(x)$ be an output of a neural network with input $x$. My data is a pair $(x,y)$ and my loss function is a function of $f(x)$ and $f(y)$, i.e., $g(f(x),f(y))$. What kind of architecture enables ...
user avatar
0 votes
0 answers
29 views

Learning a quasi-convex function that passes the origin

I am trying to learn a function $y=f(x)$ through samples $(x_i,y_i)$, where $x$ is $n$-dimensional. We know that the function $f$ is quasi-convex and passes through the origin, i.e., $f(0)=0$. Is ...
user avatar
0 votes
0 answers
19 views

Is it possible that a deep neural network, with some variations, can be used for multiple tasks?

I am asking this question on deep neural network architectures only. If you want to restrict the domain of tasks then you can choose computer vision for this question. Suppose there is an architecture ...
user avatar
  • 3,029
2 votes
0 answers
27 views

Is there any way to force one input have more effect on model?

Now I am working on building a deep learning model for a regression problem. I used 50 inputs and try to add one new categorical input. The problem is that this one input is much more important than ...
user avatar
0 votes
1 answer
77 views

Are the output dimensions of the first and second convolutional layer in YOLO paper correct?

I was reading the last version of the YOLO paper available in Arxiv, and I don't fully understand the output dimensions (I understand width and height, but not depth) of the first and second ...
user avatar
2 votes
2 answers
196 views

Why do Transformers have a sequence limit at inference time?

As far as I understand, Transformer's time complexity increases quadratically with respect to the sequence length. As a result, during training to make training feasible, a maximum sequence limit is ...
user avatar
1 vote
1 answer
79 views

CNN Architectures for local features vs global context

Kaparthy in his blog post said [this] hints at the kinds of architectures we’ll eventually explore. As an example - are very local features enough or do we need global context? I'd like to gain ...
user avatar
0 votes
0 answers
41 views

Is there any deepfake detectors with multiple deep learning models in the classifier component?

I observed that the deepfake detectors are of two types as Deep learning-based (DL-based) and machine learning-based (Non-DL methods) models. In those DL-based deepfake detectors, the model consists ...
user avatar
0 votes
0 answers
33 views

How to select dimensions of kernel and stride for pooling?

Consider a tensor of size $512 \times 512$. I need to reduce it to $32 \times 32$. There are several ways to do it. There are a lot of possibilities. Each possibility has its own kernel dimensions and ...
user avatar
  • 3,029
0 votes
0 answers
21 views

How to get Attention Maps from Attention Gates in Attention UNET?

Contex I have Attention UNET for image segmentation. I use it for humans segmentation. Question Everything works fine. I want to get attention maps from my network, so I could see what my UNET is ...
user avatar
0 votes
0 answers
31 views

Which Neural Network Topology to choose, are Transformers suitable?

I have a regression problem and I am not quite sure which architecture to choose. I never worked with transformers before, but I generally understand how they work and I think they might be suitable. ...
user avatar
0 votes
1 answer
99 views

What is the difference between a vision transformer and image-based relational learning?

I am trying to figure out the difference between the architecture used in this and this paper. It looks like both used multi-headed self-attention and therefore should be the same in principle.
user avatar
0 votes
0 answers
32 views

Do deep learning researchers generally visualize intermediate steps?

Many researchers in deep learning research come up with new CNN architectures. The architectures are (just) combinations of a few existing layers. Along with their mathematical intuition, in general, ...
user avatar
  • 3,029
1 vote
1 answer
64 views

Where does batch normalization layers present in a neural network?

Batch normalization is a procedure widely used to train neural networks. Mean and standard deviation are calculated in this step of training. Since we train a neural network by dividing training data ...
user avatar
  • 3,029
1 vote
0 answers
30 views

How to learn transition type in a 1-hour extended DJ Mix?

How would you design a model which learns the transitions in a given 1-hour DJ Mix? To be specific, the model should be able to learn transitions, specify the occurring time and the type (Crossfade, ...
user avatar
1 vote
0 answers
32 views

Under what circumstances is a fully connected layer similar to PCA?

I am reading this paper on image retrieval where the goal is to train a network that produces highly discriminative descriptors (aka embeddings) for input images. If you are familiar with facial ...
user avatar
0 votes
1 answer
82 views

What type of ANN architecture to choose?

I have $N$ number of teachers each of which has an input feature vector ($25$ dimensional) consisting of positive numerical values for different quality of aspects (for example: lecturing ability, ...
user avatar
2 votes
1 answer
55 views

How to properly use Flatten layer?

Context I'm trying to create net that will be able to recognize printed-like digits. Something like MNIST, but only for standard printing font. Images are of the size 40x40 and I'd like to put them ...
user avatar
4 votes
1 answer
129 views

Which neural network can I use to solve this constrained optimisation problem?

Let $\mathcal{S}$ be the training data set, where each input $u^i \in \mathcal{S}$ has $d$ features. I want to design an ANN so that the cost function below is minimized (the sum of the square of ...
user avatar
2 votes
1 answer
156 views

How can we get a differentiable neural network to count things?

Imagine I have images with apples in them. I want to train a neural network which can count the number of apples in each image. BUT, I don't want to use a detector, then count the number of bounding ...
user avatar
1 vote
0 answers
47 views

Are there regularisation methods related only to architecture of the CNNs?

Are there any methods of regularisation of deep neural networks, particularly CNNs (or generally ANN but that will also work on CNNs) that are related only to the network's architecture and not the ...
user avatar
  • 1,027
2 votes
2 answers
469 views

In classification, how does the number of classes affect the model size and amount of data needed to train?

When solving a classification problem with neural nets, be it text or images, how does the number of classes affect the model size and amount of data needed to train? Are there any soft or hard ...
user avatar
4 votes
1 answer
170 views

What is a unified neural network model?

In many articles (for example, in the YOLO paper, this paper or this one), I see the term "unified" being used. I was wondering what the meaning of "unified" in this case is.
user avatar
4 votes
1 answer
260 views

What's the difference between architectures and backbones?

In the paper "ForestNet: Classifying Drivers of Deforestation in Indonesia using Deep Learning on Satellite Imagery", the authors talk about using: Feature Pyramid Networks (as the ...
user avatar
1 vote
0 answers
124 views

What exactly are deep learning primitives?

I came across the concept of "deep learning primitives" from the Nvidia talk Jetson AGX Xavier New Era Autonomous Machines (on slide 44). There doesn't seem to be a lot of articles in the ...
user avatar
  • 11
3 votes
1 answer
51 views

Are there deep neural networks that have inputs connected with deeper hidden layers?

Are there any architectures of deep neural networks that connect input neurons not only with the first hidden layer but also with deeper ones (red lines on the picture)? If so could you give some ...
user avatar
  • 1,027
0 votes
1 answer
54 views

How to use a NN for seq2seq tasks?

I am trying to make a NN(probably with dense layers) to map a specific input to a specific output (or basically sequence2sequence). I want the model to learn the relation between the sequences and ...
user avatar
  • 126
2 votes
3 answers
145 views

Why does a neuron in a multi-layer network need several input connections?

For example, if I have the following architecture: Each neuron in the hidden layer has a connection from each one in the input layer. 3 x 1 Input Matrix and a 4 x 3 weight matrix (for the ...
user avatar
  • 21
1 vote
0 answers
42 views

How can one be sure that a particular neural network architecture would work?

Traditionally, when working with tabular data, one can be sure(or at least know) that a model works because the included features could explain a target variable, say "Price of a ticket" ...
user avatar
1 vote
1 answer
40 views

Are there examples of agents that use a more modest number of parameters on Pendulum (or similar environments)?

I'm looking at some baseline implementations of RL agents on the Pendulum environment. My guess was to use a relatively small neural net (~100 parameters). I'm comparing my solution with some ...
user avatar
  • 151
0 votes
1 answer
73 views

Is the size of a neural network directly linked with an increase in its inteligence?

Just came across this article on GPT-3, and that lead me to the question: In order to make a certain kind of neural network architecture smarter all one needs to do is to make it bigger? Also, if that ...
user avatar
2 votes
0 answers
210 views

Merge two different CNN models into one

I have 2 different models with each model doing a separate function and have been trained with different weights. Is there any way I can merge these two models to get a single model. If it can be ...
user avatar
2 votes
1 answer
125 views

Can you explain me this CNN architecture?

I am starting to get my head around convolutional neural networks, and I have been working with the CIFAR-10 dataset and some research papers that used it. In one of these papers, they mention a ...
user avatar
  • 141
9 votes
4 answers
2k views

Should neural nets be deeper the more complex the learning problem is?

I know it's not an exact science. But would you say that generally for more complicated tasks, deeper nets are required?
user avatar
1 vote
2 answers
124 views

Should batch-normalization/dropout/activation-function layers be used after the last fully connected layer?

I am using the following architechture: 3*(fully connected -> batch normalization -> relu -> dropout) -> fully connected Should I add the ...
user avatar
1 vote
1 answer
61 views

Why are denser layers needed in computer vision neural nets?

Many neural net architectures for computer vision tasks use several convolutional layers and then several fully-connected (or dense) layers. While the reasons for using convolutional layers are clear ...
user avatar
0 votes
2 answers
137 views

RL: What should be the output of the NN for an agent trying to learn how to play a game?

Say the game is tic tac toe. I found two possible output layers: Vector of length 9: each float of the vector represents 1 action (one of the 9 boxes in Tic Tac Toe). The agent will play the ...
user avatar
  • 255
2 votes
2 answers
59 views

Heavily mixing signal differentiation from Open Set of backgrounds via CNN

I am currently attempting to detect a signal from background noise. The signal is pretty well known but the background has a lot of variability. I've since come to know this problem as Open Set ...
user avatar
4 votes
2 answers
117 views

Is a basic neural network architecture better with small datasets?

I'm currently trying to predict 1 output value with 52 input values. The problem is that I only have around 100 rows of data that I can use. Will I get more accurate results when I use a small ...
user avatar
1 vote
0 answers
46 views

Using U-NET for image semantic segmentation

I'm getting literally crazy trying to understand how U-NET works. Maybe it is very easy, but I'm stuck (and I have a terrible headache). So, I need your help. I'm going to segment MRI to find white ...
user avatar
1 vote
0 answers
15 views

Can Grad CAM feature maps be used for Training?

I am trying to recreate the architecture of the following paper: https://arxiv.org/pdf/1807.03058.pdf Can someone help me in explaining how are the feature maps coming out of the output of GradCam ...
user avatar
  • 11
5 votes
1 answer
953 views

How to create an AI to solve a word search?

This at first sounds ridiculous. Of course there is an easy way to write a program to solve a wordsearch. But what I would like to do is write a program that solves a word-search like a human. That ...
user avatar
  • 2,024
6 votes
1 answer
265 views

Are there well-established ways of mixing different inputs (e.g. image and numbers)?

I am interested in the possibility of having extra input along with the main data. For instance, a medical application that would rely mostly on an image: how could one also account for sex, age, etc.?...
user avatar
7 votes
2 answers
97 views

Why do very deep non resnet architectures perform worse compared to shallower ones for the same iteration? Shouldn't they just train slower?

My understanding of the vanishing gradient problem in deep networks is that as backprop progresses through the layers the gradients become small, and thus training progresses slower. I'm having a hard ...
user avatar
6 votes
0 answers
100 views

How do neural network topologies affect GPU/TPU acceleration?

I was thinking about different neural network topologies for some applications. However, I am not sure how this would affect the efficiency of hardware acceleration using GPU/TPU/some other chip. If, ...
user avatar
4 votes
1 answer
467 views

Get the position of an object, out of an image

I have some images with a fixed background and a single object on them which is placed, in each image, at a different position on that background. I want to find a way to extract, in an unsupervised ...
user avatar