JNTU

JNTU B.Tech IV ARTIFICIAL NEURAL NETWORKS AND FUZZY SYSTEMS Previous Question Paper (July - 2021 - R16)

B.Tech | IV | IV-II | R16 | July - 2021

Answer PaperPaper Code: 138ARMaximum Marks: 75Time: 3 hours

Answer any Five Questions

All Questions Carry Equal Marks

Main

115 marks
a

Justify the statement “Neuron Inhibition depends on Activation function” using different types of activation functions.

8 marks

Answer

JNTU

B.Tech EEE IV-II SEMESTER - ARTIFICIAL NEURAL NETWORKS AND FUZZY SYSTEMS

R16 Regulation - May 2023 Exam

Justify the statement “Neuron Inhibition depends on Activation function” using different types of activation functions.

The statement “Neuron Inhibition depends on Activation function” is fundamentally correct. Neuron inhibition refers to the process where a neuron's firing rate is decreased or suppressed. This suppression is not solely an intrinsic property of the neuron itself but is heavily influenced by how the neuron's output is processed and interpreted, which is directly governed by the activation function. The activation function determines the final output of a neuron based on its weighted input and bias. Different activation functions have different characteristics that affect how inhibition is manifested.

Let's consider various types of activation functions and how they relate to neuron inhibition:

  • Step Function (Binary Step Function):

    The step function outputs either 0 or 1. If the weighted sum of inputs plus bias is below a certain threshold, the output is 0 (representing no activation or inhibition). If it's above the threshold, the output is 1. In this case, inhibition is a binary state: either the neuron is 'off' (output 0) or 'on' (output 1). The activation function directly maps the input to this inhibited or non-inhibited state.

    $$ f(x) = \begin{cases} 1 & \text{if } x \ge 0 \\ 0 & \text{if } x < 0 \end{cases} $$
  • Sigmoid Function (Logistic Function):

    The sigmoid function squashes the input into a range between 0 and 1. It's a smooth, differentiable function. While it doesn't have a sharp threshold like the step function, it can still represent inhibition. If the weighted sum of inputs is very negative, the sigmoid output approaches 0. This low output can be interpreted as a form of inhibition, indicating a weak response or suppression. The degree of inhibition is continuous and depends on how far the input is from the 'firing' region. The activation function's shape dictates this continuous suppression.

    $$ f(x) = \frac{1}{1 + e^{-x}} $$
  • Hyperbolic Tangent (Tanh) Function:

    Tanh is similar to sigmoid but squashes the input into a range between -1 and 1. Outputs close to -1 can be interpreted as strong inhibition, while outputs close to 1 represent strong activation. Outputs near 0 indicate a neutral state. The activation function's ability to produce negative outputs directly allows for a more explicit representation of inhibition compared to sigmoid. The degree of inhibition is mapped by the function's output in the negative range.

    $$ f(x) = \tanh(x) = \frac{e^x - e^{-x}}{e^x + e^{-x}} $$
  • Rectified Linear Unit (ReLU) and its variants (Leaky ReLU, Parametric ReLU):

    ReLU outputs 0 for all negative inputs and the input value for positive inputs. This means ReLU neurons are either 'on' or 'off' (outputting 0), similar to the step function in terms of representing inhibition as a zero output. However, the transition is smooth for positive values. Leaky ReLU and PReLU introduce a small, non-zero slope for negative inputs, meaning they don't completely 'turn off' but rather have a very small output, which can be seen as a weak form of inhibition. The activation function's definition for negative inputs directly dictates the inhibitory behavior.

    $$ f(x) = \max(0, x) \quad \text{(for ReLU)} $$
    $$ f(x) = \max(\alpha x, x) \quad \text{(for Leaky ReLU, where } \alpha \text{ is small, e.g., 0.01)} $$

In summary, the activation function acts as a gatekeeper. It takes the neuron's aggregated input and transforms it into an output signal. The nature of this transformation—whether it's a hard cutoff, a smooth squashing, or a linear response—determines how the neuron's response to inhibitory inputs is represented. A function that maps negative inputs to zero or negative values inherently supports the concept of inhibition, while functions that only produce positive outputs might represent inhibition simply as a lack of activation (outputting zero).

b

With a supervised learning algorithm, specification of target output values may be done, but at the end of the learning, target values are not achieved. Discuss the reasons why it happens.

7 marks

Answer

JNTU

B.Tech EEE IV-II SEMESTER - ARTIFICIAL NEURAL NETWORKS AND FUZZY SYSTEMS

R16 Regulation - May 2023 Exam

With a supervised learning algorithm, specification of target output values may be done, but at the end of the learning, target values are not achieved. Discuss the reasons why it happens.

In supervised learning, the goal is to train a model to map input data to corresponding target output values. When a supervised learning algorithm fails to achieve the specified target values even after training, it indicates a problem in the learning process or the model's capacity. Several reasons can contribute to this:

  1. Insufficient Model Capacity (Underfitting):

    The model might be too simple to capture the underlying complexity of the data and the relationship between inputs and targets. For instance, using a linear model for a highly non-linear problem. The model lacks the necessary parameters or structure (e.g., too few neurons, too few layers) to represent the target function accurately. This leads to a high bias error.

  2. Inappropriate Model Architecture:

    Even with sufficient capacity, the architecture might be unsuitable. For example, a Convolutional Neural Network (CNN) might be used for time-series data where a Recurrent Neural Network (RNN) would be more appropriate. The chosen architecture may not effectively process the specific type of data or learn the relevant features.

  3. Poor Choice of Hyperparameters:

    Hyperparameters (e.g., learning rate, batch size, number of epochs, regularization strength, optimizer choice) significantly influence the training process. A learning rate that is too high can cause the optimization algorithm to overshoot the minimum of the loss function, while a rate that is too low can lead to extremely slow convergence or getting stuck in local minima. An insufficient number of epochs means the model hasn't trained long enough to converge.

  4. Local Minima or Saddle Points:

    The optimization process (e.g., gradient descent) aims to minimize a loss function. However, the loss landscape can be complex, with many local minima and saddle points. The algorithm might converge to a suboptimal solution (a local minimum) instead of the global minimum, resulting in performance that is far from the target values. This is particularly true for non-convex loss functions common in deep learning.

  5. Data Issues:
    • Noisy or Incorrect Target Values: If the target values provided during training are inaccurate or contain significant noise, the model will learn to approximate these erroneous targets, leading to poor performance on clean data or even failing to reach the intended targets.
    • Insufficient Training Data: A lack of sufficient, representative training data can prevent the model from learning the general patterns. The model may overfit to the limited data it has seen, failing to generalize to unseen examples or achieve the desired accuracy.
    • Data Distribution Mismatch: If the distribution of the training data significantly differs from the distribution of the data the model is tested on, performance will degrade.
  6. Vanishing or Exploding Gradients:

    In deep neural networks, gradients can become extremely small (vanishing) or extremely large (exploding) during backpropagation. Vanishing gradients prevent weights in earlier layers from being updated effectively, hindering learning. Exploding gradients can cause unstable updates, leading to divergence. This is often mitigated by techniques like gradient clipping, careful weight initialization, and using activation functions like ReLU.

  7. Overfitting:

    While underfitting leads to not achieving targets due to simplicity, overfitting means the model has learned the training data too well, including its noise and specific idiosyncrasies. This results in poor generalization to new, unseen data. The model performs well on training data but fails to meet targets on validation or test sets, or even fails to converge to the true underlying function.

  8. Non-Separable Problem:

    In some cases, the relationship between inputs and targets might be inherently non-separable or contain contradictions. The target values might not be achievable given the input features, or the problem itself might be ill-posed, making it impossible for any algorithm to learn a mapping that satisfies the targets.

Addressing these issues typically involves a combination of model selection, hyperparameter tuning, data preprocessing, architectural adjustments, and employing advanced training techniques.

215 marks
a

Discuss the implementation of Boolean function using network of perceptrons.

8 marks

Answer

Sign in to view the complete answer paper.

b

A neuron with 4 inputs has the weight vector w = [4, 1, 2, 3]T and a bias = 0 (zero). The activation function is given by f(net) = 2 × net. If the input vector is x = [4, 8, 5, 6]T then find the output of the neuron.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Use outer product rule to store the vectors [1 1 -1 1] and [1 1 1 -1] in an auto-associative Network. Also find the weight matrix and test the vector using [1 -1 1 -1], [-1 1 1 -1] and [0 1 1 1] as different inputs.

7 marks

Answer

Sign in to view the complete answer paper.

b

Find the weight matrix in bipolar form for the BAM using outer product rule for the following input-output vector pairs: S(1) = (1 0 1 0), S(2) = (0 1 1 1) and t(1) = (0 1), t(2) = (1 0). Test the response of the network on each of the input pattern using the unit step function as the output unit’s activation function.

8 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Justify the following statement: “Partial membership is allowed in fuzzy sets”.

7 marks

Answer

Sign in to view the complete answer paper.

b

Using intuition, assign the membership function for i) population of men and ii) library.

8 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Consider the discrete fuzzy set defined on the universe X = {a, b, c, d, e} as Ḛ = 1/a + 0.8/b + 0.5/c + 0.3/d + 0/e. Using Zadeh’s notation, find the λ cut sets for λ = 1, 0.8, 0.5, 0.3, 0+ and 0.

8 marks

Answer

Sign in to view the complete answer paper.

b

Prove that λ-cut relation of a fuzzy tolerance relation results in crisp equivalence relation.

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

“The generalized Delta rule solves the credit assignment problem in the training of multi-layer Feed forward networks.” Discuss.

8 marks

Answer

Sign in to view the complete answer paper.

b

Construct a two node continuous Hopfield network. Assume the conductance is gr1 = gr2 = 5mho. The gain parameter is λ = 1.3 and the external inputs are zero. Calculate the Accurate energy value of the state y = [0.1 0.1]T.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Using inference method find the membership values of the triangular shapes for each of the Following triangles:

  • i) 30°, 60°, 90°
  • ii) 45°, 65°, 70°
  • iii) 85°, 55°, 40°
7 marks

Answer

Sign in to view the complete answer paper.

b

Design a Hebb net to implement logical AND function with i) binary inputs and targets and ii) binary inputs and bipolar targets.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Use Madeline network, implement XOR function with bipolar inputs and targets. Assume the required parameters for training the network.

8 marks

Answer

Sign in to view the complete answer paper.

b

Find the weight matrix required to store the vectors [1 -1 1 1 -1], [1 1 -1 1 -1], [-1 1 1 1 -1] and [1 1 -1 -1 1] in w1, w2, w3, w4 respectively. Calculate the total weight matrix to store all the vectors and check whether it is capable of recognizing the same vectors presented. Perform the association for weight matrix with no self-connection.

7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of ARTIFICIAL NEURAL NETWORKS AND FUZZY SYSTEMS from JNTU for B.Tech EEE IV IV-II, July - 2021, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in ARTIFICIAL NEURAL NETWORKS AND FUZZY SYSTEMS

Loading Question Papers

Fetching data from database...