Task-Adaptive Retrieval over Agentic Multi-Modal Web Histories via Learned Graph Memory
Organizations: School of Engineering, Royal Melbourne Institute of Technology University, Melbourne, Australia
Abstract
Retrieving relevant observations from long multi-modal web interaction histories is challenging because relevance depends on the evolving task state, modality (screenshots, HTML text, structured signals), and temporal distance. Prior approaches typically rely on static similarity thresholds or fixed-capacity buffers, which fail to adapt relevance to the current task context. We propose ACGM, a learned graph-memory retriever that constructs task-adaptive relevance graphs over agent histories using policy-gradient optimization from downstream task success. ACGM captures heterogeneous temporal dynamics with modality-specific decay (visual decays faster than text: vs.\ ) and learns sparse connectivity (3.2 edges/node), enabling efficient retrieval. Across WebShop, VisualWebArena, and Mind2Web, ACGM improves retrieval quality to 82.7 nDCG@10 (+9.3 over GPT-4o, ) and 89.2% Precision@10 (+7.7), outperforming 19 strong dense, re-ranking, multi-modal, and graph-based baselines. Code to reproduce our results is available at{\color{blue}Saman Forouzandeh}.
Figures & tables
| WebShop (1,180 tasks) | VisualWebArena (910 tasks) | Mind2Web (2,350 tasks) | |||||||||||||
| Method | nDCG | MAP | MRR | Rec | Prec | nDCG | MAP | MRR | Rec | Prec | nDCG | MAP | MRR | Rec | Prec |
| ColBERT-v2 ( Santhanam et al., 2022 ) | 64.7 | 54.9 | 70 | 75.2 | 71.3 | 60.8 | 51.2 | 66 | 73.1 | 68.4 | 62.4 | 53.6 | 68 | 74.8 | 70.1 |
| ANCE ( Xiong et al., 2021 ) | 66.3 | 56.8 | 72 | 76.9 | 73.2 | 62.4 | 53.1 | 68 | 74.8 | 70.1 | 64.1 | 55.4 | 70 | 76.3 | 71.8 |
| Contriever ( Izacard et al., 2021 ) | 58.9 | 49.3 | 65 | 70.5 | 66.4 | 55.2 | 46.1 | 61 | 68.7 | 63.8 | 57.6 | 48.7 | 63 | 70.2 | 65.3 |
| E5-Large | 67.8 | 58.3 | 73 | 78.1 | 74.6 | 63.7 | 54.6 | 69 | 76.2 | 71.9 | 65.8 | 57.1 | 71 | 77.8 | 73.4 |
| MonoT5 ( Nogueira et al., 2020 ) | 68.4 | 59.1 | 74 | 78.3 | 75.6 | 64.7 | 55.8 | 71 | 76.5 | 72.9 | 66.9 | 58.4 | 73 | 78.9 | 74.8 |
Adaptive Retrieval
Adaptive retrieval adjusts what to retrieve, which strategy to use, and when to stop based on query needs and available evidence.
See all 37 papers