Hierarchical Long-Term Semantic Memory for LinkedIn's Hiring Agent
About
Large Language Model (LLM) agents are increasingly used in real-world products, where personalized and context-aware user interactions are essential. A central enabler of such capabilities is the agent's long-term semantic memory system, which extracts implicit and explicit signals from noisy longitudinal behavioral data, stores them in a structured form, and supports low-latency retrieval. Building industrial-grade long-term memory for LLM agents raises five challenges: scalability, low-latency retrieval, privacy constraints, adaptability, and observability. We introduce the Hierarchical Long-Term Semantic Memory (HLTM) framework, which organizes textual data into a schema-aligned memory tree that captures semantic knowledge at multiple levels of granularity, enabling scalable ingestion, privacy-aware storage, low-latency retrieval, and transparent provenance; HLTM further incorporates an adaptation mechanism to generalize across diverse use cases. Extensive evaluations on LinkedIn's Hiring Assistant show that HLTM improves answer correctness by more than 5% and retrieval F1 by more than 10%, while significantly advancing the Pareto frontier between query and indexing latency. HLTM has been fully deployed in LinkedIn's Hiring Assistant to power core personalization features in production hiring workflows.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Long-form Question Answering | Summary-style queries | Token-F163.5 | 29 | |
| Long-form Question Answering | Retrieval-style queries | Precision79.7 | 29 | |
| Retrieval-style Queries | LinkedIn's Hiring Agent dataset Retrieval-style queries v1.0 (test) | Latency (s)4 | 29 | |
| Summary-style Queries | LinkedIn's Hiring Agent Summary-style queries v1.0 (test) | Latency (s)3.36 | 29 | |
| Summary-style Question Answering | LinkedIn Hiring Agent Summary-style Queries | Token-F163.5 | 10 | |
| Retrieval-style Question Answering | LinkedIn Hiring Agent Retrieval-style Queries | Precision76.1 | 10 |