Learn Before
Applying a Recurrent Cache to User Session Tracking
A web application needs to maintain a real-time, fixed-size summary of a user's browsing session to provide personalized recommendations. The session consists of a long sequence of events, where each event is a (product_ID, action_type) pair (e.g., ('P123', 'view'), ('P456', 'add_to_cart')). Given the constraint of using a constant amount of memory regardless of session length, explain how the recurrent cache mechanism, defined by the formula New_Memory = Update(Current_Event, Previous_Memory), would be applied to solve this problem. In your explanation, specify what Current_Event, Previous_Memory, and New_Memory would represent in this specific scenario.
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Critique of a Compressive Memory System
A memory system is designed to process a long sequence of key-value pairs. At each step, it updates a single, fixed-size memory state using the formula:
New_Memory = Update_Function(Current_Pair, Previous_Memory). What is the most significant trade-off inherent in this design?Applying a Recurrent Cache to User Session Tracking