# W1 Quiz: Inconsistent grading logic applied to Question 9: Update Gate and Forget Gate

I believe the grading logic applied to Question 9 is correct on two of the quizzes, but incorrect on one of them.

The incorrect version has the following question:
Q. “True/False: Using the equations for the GRU and LSTM below the Update Gate and Forget Gate in the LSTM play a different role to Γu and 1- Γu.

A. False

Grader says: “Incorrect! Instead of using Γu to compute 1 - Γu, LSTM uses 2 gates (Γu and Γf) to compute the final value of the hidden state. So, Γf is used instead of 1 - Γu.”

The grader is incorrect here, because in this question – on the other versions of this quiz at least – the order of the answer is strict.

In the question the order is:
“Update Gate and Forget Gate” which corresponds to Γu and 1- Γu, respectively. Meaning they play the same role. However the T/F statement declares they play a different role, so when we apply the same strict-order logic as the other versions of this question, is False, not True.

I think that the person who applied grading logic got confused because it looks like there are variables used which switch both the word same/different and the order of Γu and 1- Γu (but I can’t be sure as I can’t access the other versions, only the latest one).

update gate and forget related to LSTM, so the two gates uses ru and rf, I am sharing an image from the same week mentioned i.r.t. LSTM

The other question you are talking about mentions the update and forget date in the LSTM plays similar role in the GRU layer, there the answer ru and 1-ru holds correct, see the below image

The forget gate applies a sigmoid activation function to the input and previous hidden state, producing a value between 0 and 1 for each element in the cell state. A value close to 1 indicates that the corresponding element in the previous cell state to remember and a value close to 0 indicates that the element should be forgotten when it comes to LSTM layer.

Regards
DP

1 Like

Got it. Apologies for the mistake, and thank you for the quick response!

No problem!!

Keep Learning!!

Regards
DP

1 Like