Learning when to Attend: Conditional Memory Access for Long-Context LLMs | AMiner