Questions tagged [neural-networks]

Network structure inspired by simplified models of biological neurons (brain cells). Neural networks are trained to "learn" by supervised and unsupervised techniques, and can be used to solve optimization problems, approximation problems, classify patterns, and combinations thereof.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Risk score from Neural Network classifier (more than 2 categories)

I am trying to use a Neural Network to perform multiclass classification. The classes represent Insurance Risk Level. The most risky level is Level 1, the least risk corresponds to Level 10. The ...
0
votes
0answers
8 views

Deep Learning Technique for Image to Video Conversion

I'm trying to build an engine for the following task: I have n videos, from which I've taken 1 snapshot each. I am trying to train a classification algorithm on these n snapshots. Till now I have ...
1
vote
2answers
78 views

Best practices for normalizing up training, validation, and test sets

I was reading up on how to normalize my training, validation, and test sets for a neural network, when I read this snippet: An important point to make about the preprocessing is that any ...
0
votes
0answers
17 views

Graph neural network

I'm trying to build GNN model that classify images , the first step is to model each image with graph , each node represents one pixel , now how can I define the edges in my case ? does the spatial ...
0
votes
1answer
21 views

Which algorithm for predicting the next word(s) based on previous words, given a sentence?

I want to input some words, and out comes the next word(s). Neural nets are really hot at the moment, and I'm afraid of throwing a neural net at something, when one is not really needed. Or... maybe ...
2
votes
1answer
20 views

Neural network game players and incremental updates

Neural networks in recent years have been successfully used for gameplaying. A difference between games and e.g. image processing is that the game boards get updated incrementally. Do any neural ...
0
votes
1answer
14 views

Neural network for PDE: Should we train the PDE using more initial and boundary data at the beginning?

I was trying to solve a partial differential equation (PDE) using a neural network. The solution to the PDE is not unique unless the boundary condition is determined. In my case, the neural network ...
2
votes
2answers
98 views

How deep do neural networks need to be?

My question is a bit on the philosophical side, and there is probably not one single 'correct' answer on this. Nonetheless, I'm curious to hear your opinion... I'm currently designing a convolutional ...
0
votes
1answer
21 views

How to initialize the first h in an RNN?

Take a Vanilla RNN represented by the function $h_t = f(h_{t-1}, x_t)$, how do you determine $h_0$? Edit: This answer over on the stats page has helped.
0
votes
0answers
15 views

On the growth rate of Leela Zero compared to AlphaGoZero

There are not many sources online, but one reference from January says of Leela Zero (LZ) that: The strength depends on the hardware and on thinking time, but from the thread "LeelaZero ...
0
votes
1answer
50 views

How can we get small test error reducing only train error?

My question is about mathematical part of machine learning algorithms, especially about using it in neural networks. We train network reducing train error and I was thinking about how then test error ...
5
votes
1answer
188 views

Why does the effectiveness of my reinforcement based neural network recede after a while?

I have a reinforcement based neural network training on the OpenAI gym CartPole-v1 environment. For the structure and training algorithm, assume it is the same as the one in this article. Typically, ...
0
votes
0answers
16 views

How to transform an arbitrary graph into a fixed vector representation?

Actuality I work in computer vision, specifically on a problem known as "scene graph modeling." This problem aims to convert an image $I$ in a graph $G=(V,E)$ where the nodes $V$ represent the objects ...
0
votes
0answers
7 views

train mlp (input x, outpu y) with a blackbox labeling any x-y pair good/bad

Standard MLP (map x to y) is trained with a set of x-y data points. My question: What if there is no train data, the only supervisor lables any x-y pair with 0 or 1. The goal is that the x-y pair ...
5
votes
1answer
166 views

Predicting next action to take to reach a final state

Does anyone know of an algorithm that could be used to determine the next action to take to reach a desired state when trained on time-series data? For example, a robot starts at a certain state, ...
0
votes
1answer
31 views

How do we fix area of detectors in object detection?

I have gone through various articles on medium and also some from other sites trying to understand SSD. I am able to figure out most of the things from articles except this one. They always say that ...
0
votes
1answer
1k views

How to feed videos to a neural network

I have been coding and testing Neural Networks for a while but as of now I have only used IMAGE datasets. (i.e. I have M training images and N testing images). Some datasets are video datasets. The ...
1
vote
2answers
49 views

Learning a perceptron from stream data

I want to train a Perceptron using stochastic gradient rulefrom the stream data. I have very limited amount of memory and i can store only $N$ examples. Suppose my population consist of point as ...
0
votes
1answer
37 views

Formal definition of loss surface of multi-layered networks

Let $\mathcal{L}$ be a loss function associated with a multi-layered neural network. So it seems almost everyone in AI/ML community is interested in the Hessian $H=\partial^2 \mathcal{L}$ of $\...
0
votes
0answers
19 views

CNN Predicting One Class and Accuracy Getting Stuck

My model is a binary classifier. With the same exact architecture, the model sometimes gets high accuracy (90% etc), other times it predicts only one class (so accuracy is stuck at one number the ...
0
votes
0answers
11 views

Model suggestion for detection of malware based on multiple api call sequences

I'm trying to build a RNN (LSTM) model for classification of binary as benign/malware. The data structure I've presently looks as follows ...
7
votes
4answers
9k views

Traveling Salesman Problem with Neural Network

I was curious if there were any new developments in solving the traveling salesman problem using something like a Hopfield recurrent neural network. I feel like I saw something about recent research ...
1
vote
1answer
39 views

What does “Temporal extent” mean?

I am reading Long-term Temporal Convolutions for Action Recognition and under the Section 3.1, I read this: To investigate the impact of long-term temporal convolutions, we here study network ...
1
vote
0answers
18 views

Value flow (and economics) in stacked reinforcement learning systems: agent as reinforcement environment for other agents?

There is evolving notion of stacked reinforcement learning systems, e.g. https://www.ijcai.org/proceedings/2018/0103.pdf - where one RL systems executes actions of the second RL system and it itself ...
2
votes
1answer
76 views

Learning the activation function in a neural network?

Neural networks use specific activation functions, commonly used ones are tanh, ReLu. I have seen that people have experimented with continuously parametrices activation functions, for instance here. ...
1
vote
1answer
40 views

What is the most efficient way to test whether a set $X \subset \{0, 1\}^n$ and its complement $\{0, 1\}^n \setminus X$ are linearly separable?

I am interested in algorithms that have optimal running time, and ideally which are also very easy to implement. If you can also give some tips on how to implement the algorithm(s) you mention in the ...
0
votes
0answers
7 views

Query about an equation in GAN-NMT paper

So i was studing the paper Adversarial Neural Machine Translation by Lijun Wu1, Yingce Xia2, Li Zhao3, Fei Tian3, Tao Qin3, Jianhuang Lai1,4 and Tie-Yan Liu. The link to the paper is : https://arxiv....
0
votes
1answer
552 views

Single Layer Perceptron vs Multi Layer Perceptron

Why the single layer perceptron has a linear activation function while the Multi Layer Perceptron has a non-linear activation function ? What is the potential of the Multi Layer Perceptron respect of ...
2
votes
1answer
22 views

Is it still transfer learning if you consider input as well as output? (neural networks)

I'm new to the CS stack exchange, so a fond hello to you all! I joined since I have a question I've been curious about. I have recently been running some experiments in transfer learning - ...
0
votes
0answers
7 views

Constructing a 3D virtual map from 2D Depth Maps and $x, y, z, \theta$ coordinates

Context: I intend on building a quadrotor which can generate a 3D virtual map of an area of which it captures photos with a 2D camera. I plan on first training a Convulational NN to return a depth ...
0
votes
0answers
27 views

Training of two 3x3 convolution layers vs training one 5x5 convolution layer

I'm not 100% sure this is the right stackexchange, please feel free to redirect me to another one. I know that two 3x3 convolution layers can be equivalent to one 5x5 convolution layer. I also know ...
1
vote
0answers
26 views

Solving analytic gradient of loss function for neural networks [closed]

Please note that I am talking in about theory rather than ''what someone would do in a real, practical situation''. Given a multi-layer Perceptron with at least 1 hidden layer, and sigmoid (or other ...
0
votes
0answers
17 views

Computing analytic gradients for NN cost function with 1 hidden layer

Given a simple artificial neural network with 1 hidden layer, I want to compute the analytic gradient, to gain a better understanding. Using a simple loss function L such as: $L=(1/N)\sum_{k=1}^N|| \...
0
votes
0answers
39 views

Can someone explain the difference between MCP neurons and Perceptrons?

I am getting confused with the literature. Is a perceptron simply a network of MCP neurons? From what I understand, in 1957 Rosenblatt developed the perceptron based on relaxed constraints from the ...
1
vote
0answers
355 views

Guided Backpropagation in Deep Neural Networks

I am reading about a method called guided backpropagation. https://ramprs.github.io/2017/01/21/Grad-CAM-Making-Off-the-Shelf-Deep-Models-Transparent-through-Visual-Explanations.html#deconv-and-guided-...
16
votes
2answers
8k views

What are the criticisms regarding the performance of HTM?

I just recently learned about the existence of this hierarchical temporal memory (HTM). I already read the document Hierarchical Temporal Memory: Concepts, Theory and Terminology (by Jeff Hawkins and ...
1
vote
1answer
23 views

List of all possible reasoning tasks - satisfiability and theorem proving only?

What is the exhaustive list of reasoning tasks? As far as I can understand, then any logical reasoning reduces to 2 tasks only: 1) satisfiability problem (finding the assignment of the variables) and ...
0
votes
1answer
43 views

Is it possible to detect cats from dogs in image with single layer perceptron?

I want to make a simple application that input is an image and output must be 0 if image is dog and 1 if image is cat. Is it possible to detect cats from dogs in image with single layer perceptron?
0
votes
0answers
25 views

Interpretation of statement over probability distributions and functions

Consider the following paragraph from this research paper: To learn the generator’s distribution $p_g$ over data $x$, we define a prior on input noise variables $p_z(z)$, then represent a mapping ...
0
votes
0answers
26 views

Question about implementing GAN(Generative Adversial network)?

so most examples I've seen create two NN-s, train them, then they stack them, make the discriminator part untrainable and then train this stacked NN, why do we do this? So loss, that is calculated on ...
0
votes
1answer
56 views

Neural network to detect connected parameters

I have a list of configurations. Each configuration contains a number of parameters. The parameters have the same name but sometimes different values. I now want a neural network, that can detect, ...
0
votes
0answers
10 views

Higher order reinforcement learning - that discovers new states and new actions (possibly in lifelong learning setting)?

Is there higher order reinforcement learning, that can not only find rewards (and hence optimal policy), bet that can also find the necessity to introduce new states and actions to better model the ...
3
votes
1answer
591 views

Analog circuits for neural networks?

Neural networks in machine learning are inherently a continuous model of computation. Yet we use digital logic circuits with floating point numbers to "emulate" this continuity. I am wondering: is ...
3
votes
1answer
61 views

Clustered Regions by Each Neuron in Self Organizing Map (SOM)

I was given a question about SOM. There is a SOM which have 4x4 neurons and each neuron's x1 and x2 values (coordinates) given. Also neighborhood function and weight update rule given. How can i ...
0
votes
0answers
26 views

How to compute the derivative using chain rule of hidden layer (more than 5 neurons for hidden layer) with bias

In the given problem having 8 inputs with 5 hidden layers and 3 output layers and bias(b1) on hidden layers and bias(b2) on ...
0
votes
0answers
41 views

Sorting using AI / neural net

I have a search operation taking place on a server that essentially queries images using OpenCV against other images from a database. Since each image query ...
1
vote
1answer
80 views

backpropagation algorithm seems to be forcing output values to middle than extremes

I have been playing around with artificial neural networks lately, specifically with the prospect of trying to replace the contrastive divergence algorithm with some type of evolutionary metaheuristic ...
2
votes
1answer
245 views

Parameter sharing / weight constraints in Neural Networks

I would like to train a neural network whose parameters (alternatively, weights) are subject to linear constraints such as $w_{i,j} = w_{i',j'}$, where $w_{i,j}$ denotes the weight from input node $...
2
votes
1answer
1k views

Difference Between Residual Neural Net and Recurrent Neural Net?

What is the difference between a Residual Neural Net and a Recurrent Neural Net? As I understand, Residual Neural Networks are very deep networks that implement 'shortcut' connections across ...
2
votes
3answers
212 views

Could neural networks be considered metaheuristics?

A metaheuristic is defined as a metaheuristic is a higher-level procedure or heuristic designed to find, generate, or select a heuristic (partial search algorithm) that may provide a sufficiently ...