each previous example confirming the pattern attends to the ith example, and adds a constant update term (equivilant to log(c)+norm) to the ith example.
Nit: should be \log(c) - norm
Nit: should be \log(c) - norm