Manuscript Offprint
arXiv:2610.25801Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities
Jinze Wang
Swinburne University of Technology
Melbourne, VIC, Australia
Gaoyuan Du
University of Tennessee
Knoxville, Tennessee, USA
Yuze Liu
Swinburne University of Technology
Melbourne, VIC, Australia
Xiaohang Xu
University of Tokyo
Tokyo, Japan
Liang Yuan
Australian Catholic University
Sydney, NSW, Australia
Yong Xiang
Deakin University
Melbourne, VIC, Australia
Jiong Jin
Swinburne University of Technology
Melbourne, VIC, Australia
Abstract
Next point-of-interest (POI) recommendation uses visit histories and POI content, but text and images are often missing. Large language model agents have been applied to recommender systems for preference modeling and evidence acquisition. The challenge is to select agents that can jointly analyze the available evidence for each request. We propose CATH (Complementary Agents via Task Hypergraphs), which learns to select agent groups for tasks such as comparing candidates or analyzing a POI with missing content. Agents with distinct processing roles are the task hypergraph nodes; each hyperedge connects the selected group and records its analysis goal and target POIs. The policy selects members conditioned on the request, task, and agents already selected. During execution, members share candidate-linked results that guide their subsequent operations. Completed tasks update candidate states and agent memories within the request. A shared ranking head converts candidate states into corrections to a fixed base ranking. Supervised ranking trains the executor, followed by policy optimization that accounts for computation cost. Experiments under natural missingness on Gowalla-CA, Foursquare-NYC, and Foursquare-TKY show 8.4–9.1% relative NDCG@20 gains over HyperAgent4POI, the strongest prior baseline evaluated. Additional analyses compare group-selection and execution designs, test ranking under additional masking, and characterize quality-cost tradeoffs.
CCS Concepts
• Information systems → Personalization; Social recommendation.
ACM Reference Format:
Jinze Wang, Yuze Liu, Liang Yuan, Gaoyuan Du, Xiaohang Xu, Yong Xiang, and Jiong Jin. 2018. Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities. In . ACM, New York, NY, USA, 10 pages. https://doi.org/XXXXXXX.XXXXXXX
1 Introduction
Location-based Web services rank places using users' visit histories and heterogeneous point-of-interest (POI) content [3, 6, 20, 21, 28, 35]. Conventional next-POI recommenders learn sequential and spatiotemporal patterns from check-in histories [2, 14, 18]. Multimodal methods add POI text and images to enrich these signals [7, 9, 29, 34]. Such content can distinguish nearby candidates with similar categories, but is often incomplete. Missing content leaves a choice about how to analyze the remaining evidence: which historical visits or POI attributes matter for the current request, and which analyses should work together?
Large language models (LLMs) support semantic analysis of POI content and user histories [15, 24, 37]. Recommendation research has explored LLM-based agents for preference modeling [27, 33], evidence acquisition through tools [8, 10, 23, 25], and request-conditioned POI representations [4, 22, 26]. In our setting, an agent is a decision unit that chooses operations and maintains state, using an LLM for semantic analysis. Its role specifies its processing capabilities, accessible inputs, and permitted operation types.
Within one prediction request, a task specifies an analysis goal and target candidates, such as summarizing preferences for the full pool, comparing two POIs, or examining a candidate with missing content. An agent group contains agents selected for that task. Members may perform several operations; all tasks contribute to the same next-visit prediction.
Consider the same coffee-shop candidate with a missing image (Figure 1a). Repeated nearby morning visits make trajectory and spatiotemporal analysis useful for one user. For another user unfamiliar with the area, available text can reveal POI attributes, and preference analysis can relate them to past visits. A modality mask identifies
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
Conference'17, Washington, DC, USA
© 2018 Copyright held by the owner/author(s). Publication rights licensed to ACM. ACM ISBN 978-1-4503-XXXX-X/2018/06 https://doi.org/XXXXXXX.XXXXXXX
Trovato et al.
(a)

(b)
Figure 1: Illustrative agent-group choice and shared evidence. (a) The same missing-image candidate can call for different agents under different histories. (b) A text attribute guides which past visits the trajectory agent compares.
available inputs, but history and task determine which processing capabilities are useful. Our history-stratified analysis illustrates this dependence: the ordering of agent groups changes across request strata under the same masking condition (Section 6.3).
Semantic messages also support missing-modality completion on recommendation hypergraphs [19]. Our focus is how to select agents for a common recommendation task and use their shared evidence to guide subsequent operations on its target candidates.
We aim to select agents whose operations combine useful evidence for the request. Two agents may return overlapping evidence, while another pairing may connect information that neither can assess alone. For example, a text agent can extract a “quiet seating” attribute, but its relevance depends on the user’s behavior. Sharing that attribute lets a trajectory agent focus on related visits before comparing the candidate with alternatives (Figure 1b). We connect member selection to a shared task state, which records collected evidence and guides subsequent operations.
We propose CATH (Complementary Agents via Task Hypergraphs), which represents agent groups with task hypergraphs (Figure 2). Ordinary graph edges connect pairs of nodes; a hyperedge can connect several selected members in one relation. Each request has a task hypergraph whose nodes are agents. Each hyperedge represents a task instance with its selected agent group, goal, and target POIs. The POIs are the objects being analyzed. A learned decision rule, the policy, first chooses a task and targets, then grows the group through invitations conditioned on the existing members. Once membership is fixed, execution begins. Members share candidate-linked results that guide their next retrieval or comparison. Local task states separate these exchanges, while participating agents carry request-level memory into later tasks. A shared scoring function, or ranking head, converts the accumulated evidence into a correction to a fixed base ranking.
The executor, which performs operations and updates states, first learns from observed next visits. With this executor fixed, policy optimization learns task, member, operation, and stopping decisions from ranking utility and computation cost. Budgets bound the work spent on each request. Compared with clustering-derived agent groups [12] or single-controller tool acquisition [23], our core novelty is this task-oriented recommendation interface: candidate targets and goals govern member selection, candidate-aligned shared evidence guides subsequent operations, and joint results directly update a common candidate ranking head.
Our contributions are:
• We introduce CATH, which formulates multimodal next-POI reranking as task-level agent-group selection. Each task links an analysis goal and target candidates to members selected under the available evidence and budget.
• We connect candidate-linked shared results to members’ subsequent operations and a common ranking function. Task-local states organize joint execution, while agent memories carry evidence between tasks within the same request.
• We evaluate the system on three benchmarks under natural and artificial missingness, compare alternative selection and execution designs, and analyze ranking quality against measured computation cost.
2 Related Work
Next-POI recommendation and incomplete content. Flashback retrieves recurrent hidden states using spatiotemporal similarity [30]; STAN attends to spatial and temporal relations [14]; GETNext combines a trajectory flow map with a transformer [31]. MMPOI integrates multimodal semantics and check-in sequences through a trajectory graph and adaptive multi-task transformer [29]. LRMM uses modality dropout and an autoencoder for rating prediction [17]. HyperAgent4POI refines soft incidence and missing-modality representations through semantic messages on user/POI hypergraphs, then caches representations for online ranking [19]. Our task hyperedges represent task instances and their selected agents within an individual reranking request; their shared state guides concrete retrieval and comparison operations.
Request-conditioned processing and agent interaction. Agent4POI constructs request-conditioned multimodal POI representations at recommendation time [22]. Meta-Modal Agent (MMA) formulates reranking as budgeted sequential evidence acquisition: tool returns enter the observation history used for subsequent routing and stopping [23]. AgentCF models users and items as language agents that jointly reflect on interaction records and update their preference memories [33]. Our agents have processing roles and maintain states for a common analysis goal and target candidates. Their candidate-linked shared results enter each member's next operation. Participating agents retain evidence across overlapping tasks within one request, and their memories reset between requests.
Experts and agent groups. HMoRec combines hypergraph construction with mixtures of experts [36], and MAGNET uses interaction-conditioned routing with modality-role experts [5]. DYLAN performs team optimization followed by dynamic task solving [13]. HYGMA groups agents by history similarity and supplies group-aware features to action policies [12]. In contrast to cluster-derived groups or single-agent sequential routing [23], our architecture establishes a concrete recommendation interface: groups are formed dynamically for target candidates and subtask goals, candidate-aligned shared results guide members' subsequent operations within the task hyperedge, and joint task outcomes directly update a common residual ranking head while retaining episodic memory (Sections 4.3–4.5). Set Transformer [11], proximal policy
Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities
Conference'17, July 2017, Washington, DC, USA
optimization (PPO) [16], and learned stopping [1] supply the set encoder and policy components for this formulation.
3 Problem Formulation
One recommendation request asks which POI a user will visit next, using information available at prediction time . We begin with a retrieved pool and improve its ordering through additional analysis. Formally, the request and candidate pool are
where is the user, the observed visit history, and the location and time available at prediction. The unknown next-visit time is excluded. A fixed base sequence recommender supplies and initial scores . Training pools are generated without fitting to the current request's next-visit label. The pool remains unchanged during reranking.
The work for one request forms an episode. An agent is a decision unit that selects operations and maintains state. Its fixed role specifies processing capabilities, permitted inputs, and operations. Within the episode, a task specifies an analysis goal and the candidates to examine. An agent group contains the agents selected for a task. An operation is a concrete action within the analysis, such as retrieving a history segment or comparing candidates. A task may require several operations and exchanges among its members. The index counts task steps within the request, distinct from visit time.
POI content comprises text, images, categories, and geographic attributes. The mask denotes an available modality; collects these indicators for POI . Candidate and historical POIs retain their masks, distinguishing unavailable content from observed zero-valued features. Frozen content encoders, a sequence encoder, and temporal and spatial features supply the initial request and candidate representations. Selection reads these representations, masks, operation availability, and accumulated analysis states. Detailed analysis and targeted retrieval occur after agents are selected.
Evaluation is chronological. Histories, indices, and timestamped content follow the request cutoff. Content without timestamps enters under an explicit static-side-information assumption. Artificial masking precedes caching and indexing. At inference, the policy, target generator, and tools have no access to the held-out next-visit label. The test pool is the unmodified retriever output, so the true next POI appears only if retrieved. Reranking can improve next-visit ranking metrics only for these covered requests. Retrieval coverage, conditional reranking, and end-to-end ranking consequently measure distinct aspects of performance (Section 6).
4 CATH: Agent Groups on Task Hypergraphs
For each request, CATH's policy chooses an analysis task, forms an agent group, and runs that group for one or more rounds. Members share candidate-related results between rounds and use them to choose subsequent operations. Completed tasks update the ranking and agent memories before the policy chooses another task or stops. Figure 2 summarizes input encoding, task and member selection, shared-evidence execution, and state updates for ranking.
Table 1: Task types and target scopes. A task can contain several role-specific operations and exchange rounds.
| Task type | Targets | Analysis goal |
|---|---|---|
| Request-state update | Full pool | Analyze user context for all candidates. |
| Candidate comparison | Legal pair | Compare the relative suitability of two candidates. |
| Semantic compensation | One POI | Analyze an incomplete-content candidate using available evidence. |
4.1 What a task asks the agent group to analyze
A task is a pair : the task type specifies the analysis goal, and the target set specifies the affected candidates. We use three types (Table 1). A request-state update analyzes user context for the full pool. A candidate comparison examines the relative suitability of a legal pair. Semantic compensation examines one candidate whose content is incomplete, using the evidence that remains available. These types separate request-wide context, local ranking ambiguities, and candidate-specific content gaps so the policy can choose the scope of computation.
For example, a request-state update can summarize recurring activities for all candidates. A comparison can examine two adjacent coffee shops. Compensation can examine an image-missing shop using available text and relevant history. Members can perform several operations to answer the task's question. Compensation refines a ranking representation from available evidence; the unavailable raw modality and its mask remain unchanged.
Only executable task–target pairs are offered. Comparison pairs come from adjacent candidates in the current ranking, optionally supplemented by adjacent within-category pairs, with duplicates removed. They are regenerated after reranking. Compensation targets incomplete-content candidates individually, including low-ranked candidates. All routing controls share these rules.
4.2 Agents, task hypergraphs, and states
The set contains six agent nodes, one for each fixed processing role: long-term preference, short-term trajectory, spatiotemporal analysis, text analysis, visual analysis, and collaborative retrieval. Each agent can participate in multiple tasks. Its role determines permitted inputs and operations. Each agent maintains request-level memory and task-local state and uses a shared policy head to choose its operations. A shared frozen LLM backbone, role-specific low-rank adapters (LoRA), and trainable projections implement the agents' analysis interfaces.
The preference agent uses pre-prediction history and available content to match recurring interests with candidates. The trajectory agent examines recent visit order, categories, and legal time gaps, and can retrieve similar segments. The spatiotemporal agent uses known location and time, distances, and historical transitions. The text agent accesses available descriptions and reviews; the visual agent accesses available candidate or historical images. The collaborative retrieval agent searches permitted training histories and POI indices for similar users, trajectories, or related POIs. Thus, the visual agent can remain eligible for an image-missing target.
Trovato et al.

Figure 2: CATH workflow from available inputs to POI ranking. The policy selects tasks and targets, then forms agent groups represented as task hyperedges. With membership fixed, agents execute operations through a shared frozen LLM and role-specific adapters. Shared results guide subsequent operations. Completed tasks update agent memories and candidate states, which a shared ranking head uses to recompute scores.
when relevant historical images exist, while the target image stays unavailable. Task targets, data permissions, and budget restrict each agent’s legal operations.
Selecting an agent group for creates one task instance . The same group may serve other task instances. We record each instance as a hyperedge connecting its agent members:
Here contains the hyperedges representing task instances formed so far within the request, and is the agent–hyperedge incidence matrix. Each hyperedge stores its task type and targets. A hyperedge can contain any legal nonempty agent group, including a singleton. Membership stays fixed during its execution; later hyperedges can overlap. The incidence relation determines whose messages enter an analysis, who can read its detailed shared results, and whose memory is updated when it finishes.
In Figure 2, hyperedge connects preference and trajectory agents, while connects preference and text agents. The preference agent is a shared node, but the two columns of record different memberships. Each hyperedge retains its own goal, targets, and task state. The task hypergraph therefore records joint analyses and their overlapping participants within one request.
The stored states follow these scopes. The request state summarizes user context, while stores the current representation of candidate . A shared input encoder initializes and from the representations in Section 3. Each agent has request-level memory of its completed work. During task , it also has task-local state for intermediate work. The agent group maintains a task summary and candidate-specific results . Separate local states let a reused agent work on a new task without overwriting another task's intermediate results. Agent memories reset between requests.
The global decision state is
where is the current score and the remaining budget. This state supplies the task and agent selectors. Within a task, each agent observes its permitted inputs, task and targets, shared results, and own state. An agent cannot read another agent's unsent private results.
4.3 Selecting tasks and their members
At task step t, the policy selects STOP or a legal pair . For a selected task, it chooses an initiator and adds members sequentially. The set contains the members selected after invitation step j. A Set Transformer produces a permutation-invariant summary of that set:
Here role(a) encodes agent a's fixed role, and avail(a, , T) describes that agent's availability for the task and targets. The next-member distribution is
where scores the legal choices . They contain unselected eligible agents and EXECUTE. The latter uses a dedicated action embedding and starts the current nonempty agent group. Invited agents join deterministically. Conditioning on lets the next choice account for the selected agents' capabilities, as well as the request and task. Selection uses known capabilities and accumulated states before the unselected agents execute. Training retains the actual invitation sequence although the set summary is permutation
Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities
Conference'17, July 2017, Washington, DC, USA
invariant. Once EXECUTE is chosen, the resulting set becomes and remains fixed throughout the task.
4.4 Shared evidence guides subsequent operations
A task initializes its shared and local states from its targets, members, and available request state. The index r counts execution rounds within this fixed-membership task. Members choose operations from the same round-start snapshot. The system executes them, aggregates their outputs, and broadcasts the updated result before the next round. Feedback conditions the members' subsequent operation choices; member selection resumes only after the task ends. Candidate pairs, history ranges, and other tool parameters come from deterministic legal choices; empty retrievals return an explicit status.
Consider the illustrative comparison of two coffee shops by preference and text agents. The text agent can extract an available attribute, such as quiet seating, while the preference agent examines relevant visits. Neither agent sees the other's unsent output in that round. After broadcast, the preference agent can use the attribute to select more relevant history in its next operation. The candidates and members remain fixed, while the operations respond to the shared result.
Each operation returns a candidate vector , a summary, coverage, status, and measured cost. These outputs use a learned vector interface. Available text enters the executor as tokens, while encoded images and trajectories enter through continuous projections. Hidden states at candidate readout positions are projected into ; a separate readout produces the member's task summary. The vectors carry evidence for aggregation, and the common ranking head produces the scalar scores. Coverage identifies which candidates were actually processed, so a partial result contributes only to its covered candidates.
Let contain the latest valid messages covering p from selected members, with role, operation, and status metadata. A permutation-invariant message encoder SetEnc summarizes them, and a gated recurrent unit (GRU) updates the candidate result:
An uncovered candidate retains its previous result. A new agent-target message replaces its previous message, rather than creating an additional member contribution. The task summary combines candidate results and member summaries. After broadcast, the readout Read combines agent memory with the shared summary and candidate results for the local-state update:
A shared local policy head, separate from the LLM executor, maps the updated member state to its next operation type:
where is an operation type permitted by agent 's role (e.g., attribute extraction, trajectory filtering, candidate comparison, or FINISH). All members share this head evaluated on their respective local states. Tool execution parameters (such as target candidates in and retrieval ranges) are determined deterministically from the task context without stochastic parameter sampling. An agent can also ask an active member to analyze specified candidates in a later round. The task ends when all members finish, no legal work remains, or its execution limit is reached.
When the task ends, gated updates write its summary into the participating members' memories. These memories carry completed analysis to later tasks, while detailed intermediate results remain scoped to their task. Candidate results update the targeted ranking states:
Non-target states remain unchanged. Request-state-update tasks also update and cover the full pool. Compensation uses available evidence while retaining the original missingness masks.
Across multiple tasks, participating agents carry completed analysis in their episodic memories into subsequent tasks, while common candidate states preserve earlier ranking updates.
4.5 Integrating task results into ranking
After each completed task, one shared ranking head reads the request and candidate states. The learnable function produces a scalar correction for each candidate:
(10)
The second term is evaluated at the current states; the final term is the initial-state reference. They cancel at initialization, leaving the base ranking unchanged. Later tasks alter the states, and the head recomputes the correction. All candidates share this scoring function, including candidates untouched by the current task. Their scores depend on the retained candidate state and current request context. Thus, task outputs enter a common ranking through state updates instead of independently calibrated agent scores.
The policy may stop immediately and return the base ranking. Legal-action masks reserve enough budget for an operation, and execution limits bound each task and request. Cost is normalized computation measured in a fixed environment, including routing, aggregation, retrieval, LLM forwards, and content re-encoding. Preprocessing is separated from per-request cost, cache hits incur their actual cost, and tokens, seconds, and calls are reported separately.
5 Learning from Recommendation Feedback
Training separates learning to produce useful evidence from learning to choose computation. Warm-up teaches the role adapters, projections, and ranking modules to translate executed tasks into candidate scores. Policy optimization then learns task, member, operation, and stopping decisions with these modules fixed, providing a stable scoring interface for comparing choices.
Utility and return. The positive item is the user's actual next visit recorded in the training data; it is unknown when making a
Trovato et al.
Table 2: End-to-end ranking at the main missingness condition (natural absence). Cells report means over 3 seeds; subscripts give ± seed std. R/N denote Recall/NDCG; higher is better. D1=Gowalla-CA, D2=Foursquare-NYC, D3=Foursquare-TKY.
| Method | D1 | D2 | D3 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| R@20 | N@20 | MRR | R@20 | N@20 | MRR | R@20 | N@20 | MRR | |
| Frozen base | |||||||||
| Flashback | |||||||||
| STAN | |||||||||
| GETNext | |||||||||
| LRMM (adapt.) | |||||||||
| HMoRec (adapt.) | |||||||||
| MAGNET (adapt.) | |||||||||
| HyperAgent4POI | |||||||||
| MMA-Auto (adapt.) | |||||||||
| Agent4POI (adapt.) | |||||||||
| Independent scoring | |||||||||
| CATH | |||||||||
prediction. For training requests whose positive item is retrieved, define the ranking utility
A higher utility means more probability is assigned to the true next POI, even when its rank is unchanged. After a task completes, the reward is
Here includes selection and execution cost. The coefficient sets the penalty per unit of computation; the episode budget separately caps admissible work. A task earns reward through the change in the shared prediction, giving its members a common outcome rather than separate agent-specific accuracy targets. A request's return sums these rewards across completed tasks and stopping. The undiscounted return equals final utility improvement minus total cost. The next-visit label is read only by the supervised loss and reward evaluator after execution; decision policies, the return estimator, and tools receive prediction-time inputs. Evaluation and validation model selection use ranking metrics rather than this training utility.
Executor warm-up. Legal task trajectories supervise execution parameters (projections and role adapters) and aggregation/ranking parameters (message encoders, gated updates, and scoring head). They minimize at completed task states. Samples cover missingness patterns, singleton and multi-member groups, and no-new-content execution. With discrete actions fixed, gradients pass through execution and aggregation. The base recommender, content encoders, and LLM base weights remain frozen.
Selection warm-up from executed combinations. Executed legal agent combinations provide warm-up records under comparable states, tasks, targets, initiators, and local-operation rules. A set evaluator is fitted to their measured net utility changes and ranks these recorded combinations for policy initialization. Its supervision comes only from combinations that have been executed. Higher-utility combinations supply invitation sequences with a fixed initiator and variable ordering of the other members. The evaluator is used during training; the learned policy selects groups at inference. Complete trajectories can also warm up task, operation, and stopping heads.
Discrete policy optimization. We freeze execution, ranking, and state-update parameters , then optimize the discrete policy with PPO [16]. Agent memories and candidate states still update as tasks execute. A legal-action mask removes unavailable choices under the permitted inputs, current membership, and remaining budget before action probabilities are normalized. A shared critic estimates the expected return from the current state using permitted global information. Advantage estimation compares observed returns with this estimate, connecting earlier invitation, operation, and stopping decisions to later task rewards. Policy encoders are trained separately from the frozen executor.
6 Experiments
We examine four questions: whether agent-group collaboration improves ranking with missing content, how request histories inform group selection, how shared-result execution compares with alternative organizations, and what online computation the resulting ranking requires.
6.1 Experimental Setup
Data and candidate protocol. Following [31], we evaluate on Gowalla-CA, Foursquare-NYC, and Foursquare-TKY, with dataset statistics reported in Table 3. We refer to these datasets as D1, D2, and D3, respectively, throughout the tables. Consistent with prior work on incorporating textual and visual POI content [26, 29, 32], we augment these check-in datasets with matched textual descriptions and static images. Each user's visits are divided chronologically into 80%/10%/10% training, validation, and test partitions. A frozen SASRec retriever supplies the same 100 candidate POIs to every method; targets outside this pool are not inserted. Histories and retrieval indices follow the prediction cutoff. A missingness mask records which content is available. Natural absence persists; artificial masks hide some observed text or images before caching and indexing.
Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities
Conference'17, July 2017, Washington, DC, USA
Table 3: Benchmark scale, content availability, and fixed-pool ranking across three datasets. Content percentages precede artificial masking. Cond./E2E: covered-query/all-query NDCG@20.
| Statistic | D1 | D2 | D3 |
|---|---|---|---|
| Users | 6,442 | 1,083 | 2,293 |
| POIs | 13,889 | 38,333 | 61,858 |
| Visits | 171,623 | 227,428 | 573,703 |
| Test queries | 7,251 | 2,248 | 5,763 |
| Text (%) | 61.3 | 72.1 | 68.4 |
| Image (%) | 34.7 | 41.8 | 38.2 |
| Coverage (%) | 89.2 | 87.6 | 91.3 |
| Base (Cond./E2E) | .215/.192 | .187/.164 | .191/.174 |
| Independent | .316/.282 | .276/.242 | .279/.255 |
| CATH | .337/.301 | .293/.257 | .297/.271 |
Baselines and controls. Flashback, STAN, and GETNext model next-POI trajectories [14, 30, 31]. LRMM, HMoRec, MAGNET, and HyperAgent4POI provide incomplete-content comparisons [5, 17, 19, 36]; MMA-Auto and Agent4POI provide learned evidence routing and request-dependent processing [22, 23]. All adaptations score the common pool using legal next-POI inputs. MMA-Auto has no clarification channel, and Agent4POI receives no extra intent or social annotations. We use author-released code or our adaptations. Selection controls compare choices of members with a shared executor and reward. Execution controls compare organizations for the same task and targets; the exchange/no-exchange pair also fixes membership. Complete-request systems choose their own tasks and groups, so they can visit different states and measure the final behavior of the full system. Table 4 reports parameter counts and realized costs.
Metrics and implementation. For a rank cutoff and evaluated request set , let be the true next-POI rank, with for a retrieval miss:
NDCG rewards ranking the next POI higher; mean reciprocal rank (MRR) averages . All three assign zero to retrieval misses. NDCG@20 is the primary metric, weighting requests equally. Coverage is the fraction of requests whose next POI is retrieved; conditional scores average covered requests, while end-to-end scores average all requests (Table 3). Table 2 reports means and standard deviations over 3 seeds ([42, 123, 456]); differences use percentage points (pp).
We use frozen CLIP ViT-B/16 and SBERT all-mpnet-base-v2 encoders, SASRec, and Llama-3.1-8B-Instruct, with ranking warm-up followed by fixed-executor PPO. Table ?? lists training and execution settings. Online measurements use 4×A100 80 GB GPUs in BF16 with one query per worker; routing, aggregation, and cache access enter the cost. Offline preparation is reported separately from serving.
Table 4: Selection and execution of agent groups. Columns show NDCG@20 on D1–D3 and NYC cost. (a) Joint 30% masking; shared task/executor; selector parameters. (b) Natural absence; fixed tasks/targets, with group fixed for exchange/no-exchange; trainable parameters.
| Configuration | D1 | D2 | D3 | Cost | Params |
|---|---|---|---|---|---|
| (a) Group selection | |||||
| Fixed group | .264 | .226 | .238 | 0.48 | 2.1M |
| Mask-only | .271 | .232 | .245 | 0.51 | 2.4M |
| Independent | .279 | .237 | .251 | 0.54 | 3.8M |
| Direct group | .281 | .240 | .254 | 0.56 | 3.4M |
| CATH (set-cond.) | .293 | .250 | .264 | 0.61 | 4.2M |
| (b) Shared-result execution | |||||
| No exchange + fusion | .284 | .241 | .255 | 0.54 | 4.8M |
| Single controller | .292 | .249 | .263 | 0.58 | 4.5M |
| CATH (exchange) | .301 | .257 | .271 | 0.61 | 4.2M |
Table 5: Complete-request quality and online cost on NYC (natural absence), with shared hardware, batching and concurrency. Tok.: processed tokens (K); Calls: tool/LLM calls.
| Method | N@20 | Cost | p50 (ms) | p95 (ms) | Tok. (K) | Calls |
|---|---|---|---|---|---|---|
| Frozen base | .164 | 0.10 | 18 | 45 | 2.1 | 1 |
| HyperAgent4POI* | .237 | 0.22 | ||||
| MMA-Auto (adapt.) | .226 | 0.46 | 124 | 318 | 18.7 | 4.2 |
| Independent | .242 | 0.54 | 138 | 351 | 21.3 | 5.8 |
| Direct group | .247 | 0.56 | 142 | 361 | 22.1 | 6.1 |
| Single controller | .249 | 0.58 | 148 | 374 | 23.6 | 5.4 |
| CATH | .257 | 0.61 | 156 | 398 | 24.8 | 6.7 |
*HyperAgent4POI excludes offline cache preparation (≈6 h); †cached serving without online LLM calls; ‡offline preprocessing tokens.
6.2 Ranking under Missing Content
Table 2 evaluates complete requests with natural absence and no additional artificial masking. HyperAgent4POI has the highest NDCG@20 among the prior baselines in this comparison. CATH improves NDCG@20 by 2.5pp on Gowalla-CA, 2.0pp on Foursquare-NYC, and 2.1pp on Foursquare-TKY, corresponding to 8.4–9.1% relative gains. Recall@20 and MRR improve by 3.0–3.7pp and 1.6–1.9pp. Independent scoring reaches .282/.242/.255 NDCG@20, placing it between HyperAgent4POI and the full system. The following controls examine the group-selection and execution designs behind this comparison.
Additional masking tests whether the ranking advantage persists when less content can be inspected. Because the frozen SASRec base retriever operates purely on sequential interaction IDs, its candidate ranking is invariant to multimodal masking (.192 across all conditions on Gowalla-CA), serving as a content-agnostic baseline. On Gowalla-CA, gains over HyperAgent4POI range from +2.5 to +2.8pp NDCG@20 across natural, text, image, and joint absence (Figure 3). Our score falls from .301 to .274 under joint 50% masking, while retaining +2.6pp over HyperAgent4POI and +2.1pp over direct group selection. The fixed candidate pools make these ranking differences independent of changes in retrieval coverage.
Trovato et al.
| NDCG@20 | higher is better | |||
|---|---|---|---|---|
| Natural | Text 50% | Image 50% | Joint 50% | |
| Frozen base | .192 | .192 | .192 | .192 |
| HyperAgent4POI | .276 | .261 | .268 | .248 |
| MMA-Auto (adapt.) | .264 | .249 | .254 | .237 |
| Independent | .282 | .266 | .273 | .254 |
| Direct group | .281 | .265 | .271 | .253 |
| CATH | .301 | .289 | .293 | .274 |
.192
.301
Figure 3: Ranking under missing content on Gowalla-CA. Cells show NDCG@20 under natural absence and 50% masking of observed content, with shared requests and seeds. Color uses one scale across all cells. Frozen base relies solely on interaction IDs and is invariant to content masking.

Figure 4: Usefulness of agent groups across history strata on Gowalla-CA under joint 30% masking. Bars: NDCG@20; errors: ±1 seed std over 3 seeds. Traj/ST/Pref/Text/Vis/Collab denote trajectory, spatiotemporal, preference, text, visual and collaborative retrieval agents. Dashed line: validation mean (.293).
6.3 Which Agents Should Analyze a Request Together?
W
Before comparing selectors, we check their motivation: different histories may benefit from different agent groups. Figure 4 shows that agent group usefulness varies across frequent-local, active-explorer, and activity-streak histories under controlled missingness, with up to 3.3pp NDCG@20 variation for an individual group, motivating history-dependent selection. Table 4(a) compares selection rules with a common executor. Fixed-group selection uses a validation-selected set. Mask-only routing removes observed history, time, and location. Independent scoring reads full requests and masks but scores members unconditioned on the selected set. The

Figure 5: Complete-request quality versus measured computation on Gowalla-CA under natural missingness (matching Table 2). Cost is normalized to single-controller full pipeline cost. Error bars on CATH show seed std over 3 seeds. Shading marks cost range [0.45, 0.65]; operating points (.294 NDCG) and (.301 NDCG) reflect budget caps and .
direct selector evaluates legal sets with the fixed initiator via beam search. Set-conditioned selection achieves the highest NDCG@20, exceeding independent scoring by +1.4pp and direct selection by +1.2pp on Gowalla-CA (NYC cost 0.61 vs. 0.54/0.56), validating request-dependent group formation.
6.4 Shared Results and Subsequent Operations
Holding tasks, targets, and membership fixed, Table 4(b) examines how groups use evidence during execution. Both exchange and no-exchange allow multiple rounds; only exchange provides peer results to subsequent operations. The single controller uses identical operations and ranking interface over a flat history. Exchange outperforms local processing plus fusion by +1.7pp NDCG@20 on Gowalla-CA and the single controller by +0.9pp (NYC costs 0.61 vs. 0.54 and 0.58), confirming the benefit of shared intermediate results. Retrieval targets or comparison sets change in 73% of multi-round executions (365 out of 500 sampled 2-round episodes); in one representative trace, collaborative retrieval switches to a subcategory shortlist after receiving the text agent's POI-attribute summary, demonstrating an actionable path from peer results to subsequent operations.
6.5 Quality and Online Computation
We compare measured online computation across validation budget settings. Figure 5 plots quality–cost pairs on Gowalla-CA under natural missingness across budget caps , normalized to single-controller cost. At normalized cost 0.54 (B = 0.54), CATH exceeds independent scoring by 1.5pp NDCG@20, with diminishing returns at higher budgets. Table 5 reports complete-request quality and online resources on NYC. CATH gains 0.8pp over the single controller and 1.5pp over independent scoring (normalized cost 0.61 vs. 0.58 and 0.54). Latency, processed tokens, and calls scale with this gain; HyperAgent4POI uses cached serving with separate offline preparation. The tradeoff guides budget selection under online constraints.
Learning Complementary Agent Groups via Task Hypergraphs for Next-POI Recommendation with Missing Modalities
Conference'17, July 2017, Washington, DC, USA
7 Conclusion
CATH uses task hypergraphs to structure multi-agent analysis around explicit tasks, connecting selected members, goals, targets, and shared candidate results. Across three benchmarks with incomplete multimodal content, the framework improves next-POI ranking under both natural and artificial missingness while characterizing computation tradeoffs.
Scope. Evaluation examines six agents on fixed candidate pools; retrieval misses remain outside the reranker. Untimestamped content is treated as static side information, and online cost reflects our hardware and caching configuration.
Trovato et al.
References
[1] Pierre-Luc Bacon, Jean Harb, and Doina Precup. 2017. The option-critic architecture. In Proceedings of the AAAI conference on artificial intelligence, Vol. 31.
[2] Jiajie Chen, Yu Sang, Peng-Fei Zhang, Jiaan Wang, Jianfeng Qu, and Zhixu Li. 2025. Enhancing long-and short-term representations for next POI recommendations via frequency and hierarchical contrastive learning. In Proceedings of the AAAI conference on artificial intelligence, Vol. 39. 11472–11480.
[3] Wei Chen, Haoyu Huang, Zhiyu Zhang, Tianyi Wang, Youfang Lin, Liang Chang, and Huaiyu Wan. 2025. Next-poi recommendation via spatial-temporal knowledge graph contrastive learning and trajectory prompt. IEEE Transactions on Knowledge and Data Engineering 37, 6 (2025), 3570–3582.
[4] Jiawei Cheng, Jingyuan Wang, Yichuan Zhang, Jiahao Ji, Yuanshao Zhu, Zhibo Zhang, and Xiangyu Zhao. 2025. Poi-enhancer: An llm-based semantic enhancement framework for poi representation learning. In Proceedings of the AAAI conference on artificial intelligence, Vol. 39. 11509–11517.
[5] Ji Dai, Quan Fang, and Dengsheng Cai. 2026. Modality-Guided Mixture of Graph Experts with Entropy-Triggered Routing for Multimodal Recommendation. arXiv preprint arXiv:2602.20723 (2026).
[6] Yifei Dong, Fengyi Wu, Guangyu Chen, Lingdong Kong, Qiyu Hu, Yuxuan Zhou, Xu Zhu, Jingdong Sun, Jun-Yan He, Qi Dai, Alexander G. Hauptmann, and Zhi-Qi Cheng. 2026. Towards Unified World Models for Visual Navigation via Memory-Augmented Planning and Foresight. In European Conference on Computer Vision. Springer, 276–295.
[7] Yifei Dong, Fengyi Wu, Yilong Dai, Lingdong Kong, Guangyu Chen, Xu Zhu, Qiyu Hu, Tianyu Wang, Johnalbert Garnica, Feng Liu, et al. 2026. Language-conditioned world modeling for visual navigation. arXiv preprint arXiv:2603.26741 (2026).
[8] Yifei Dong, Fengyi Wu, Qi He, Lingdong Kong, Heng Li, Minghan Li, Zebang Cheng, Yuxuan Zhou, Jingdong Sun, Qi Dai, et al. 2025. Ha-vln 2.0: An open benchmark and leaderboard for human-aware navigation in discrete and continuous environments with dynamic multi-human interactions. arXiv preprint arXiv:2503.14229 (2025).
[9] Jiangfeng Du, Silin Zhou, Jie Yu, Peng Han, and Shuo Shang. 2023. Cross-task multimodal reinforcement for long tail next POI recommendation. IEEE Transactions on Multimedia 26 (2023), 1996–2005.
[10] Xu Huang, Jianxun Lian, Yuxuan Lei, Jing Yao, Defu Lian, and Xing Xie. 2025. Recommender ai agent: Integrating large language models for interactive recommendations. ACM Transactions on Information Systems 43, 4 (2025), 1–33.
[11] Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. 2019. Set transformer: A framework for attention-based permutation-invariant neural networks. In International conference on machine learning. PMLR, 3744–3753.
[12] Chiqiang Liu and Dazi Li. 2025. HYGMA: Hypergraph coordination networks with dynamic grouping for multi-agent reinforcement learning. arXiv preprint arXiv:2505.07207 (2025).
[13] Zijun Liu, Yanzhe Zhang, Peng Li, Yang Liu, and Diyi Yang. 2023. A dynamic LLM-powered agent network for task-oriented agent collaboration. arXiv preprint arXiv:2310.02170 (2023).
[14] Yingtao Luo, Qiang Liu, and Zhaocheng Liu. 2021. Stan: Spatio-temporal attention network for next location recommendation. In Proceedings of the web conference 2021. 2177–2185.
[15] Dongyi Lv, Qiuyu Ding, Heng-Da Xu, Zhaoxu Sun, Zhi Wang, Feng Xiong, and Mu Xu. 2026. Reasoning Over Space: Enabling Geographic Reasoning for LLM-Based Generative Next POI Recommendation. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 7322–7336.
[16] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 (2017).
[17] Cheng Wang, Mathias Niepert, and Hui Li. 2018. LRMM: Learning to recommend with missing modalities. In Proceedings of the 2018 conference on empirical methods in natural language processing. 3360–3370.
[18] Dongsheng Wang, Yuxi Huang, Shen Gao, Yifan Wang, Chengrui Huang, and Shuo Shang. 2025. Generative next poi recommendation with semantic id. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2. 2904–2914.
[19] Jinze Wang, Yuze Liu, Tiehua Zhang, Jiong Jin, and Zhu Sun. 2026. HyperAgent4POI: Dynamic Semantic Message Passing on Multi-Agent Hypergraphs for Missing-Modality Recommendation. arXiv preprint arXiv:2608.01846 (2026).
[20] Jinze Wang, Yanxiang Lu, Tiehua Zhang, Lei Zhang, Zhishu Shen, Zhu Sun, Yue Gao, Xingjun Ma, Gong Cheng, Zuxuan Wu, et al. 2026. Large Language Models for Human Mobility: A Survey from an Agent Perspective. Available at SSRN 7591280 (2026).
[21] Jinze Wang, Yongli Ren, Jie Li, and Ke Deng. 2021. The footprint of factorization models and their applications in collaborative filtering. ACM Transactions on Information Systems (TOIS) 40, 4 (2021), 1–32.
[22] Jinze Wang, Yangchen Zeng, Tiehua Zhang, Lu Zhang, Yuze Liu, Yongchao Liu, Xingjun Ma, and Zhu Sun. 2026. Agent4POI: Agentic Context-Conditioned Affordance Reasoning for Multimodal Point-of-Interest Recommendation. arXiv preprint arXiv:2605.15203 (2026).
[23] Jinze Wang, Yangchen Zeng, Tiehua Zhang, Lu Zhang, Yuze Liu, Zhishu Shen, Jiong Jin, and Zhu Sun. 2026. Meta-Modal Agent: Sequential Evidence Routing for Missing-Modality Candidate Reranking. arXiv preprint arXiv:2605.25007 (2026).
[24] Jinze Wang, Lu Zhang, Yiyang Cui, Tiehua Zhang, Zhishu Shen, Yuze Liu, Xingjun Ma, and Jiong Jin. 2025. Do we really need sft? prompt-as-policy over knowledge graphs for cold-start next poi recommendation. arXiv preprint arXiv:2510.08012 (2025).
[25] Yancheng Wang, Ziyan Jiang, Zheng Chen, Fan Yang, Yingxue Zhou, Eunah Cho, Xing Fan, Yanbin Lu, Xiaojiang Huang, and Yingzhen Yang. 2024. Remind: Large language model powered agent for recommendation. In Findings of the Association for Computational Linguistics: NAACL 2024. 4351–4364.
[26] Zehui Wang, Wolfram Höpken, and Dietmar Jannach. 2025. Beyond visit trajectories: enhancing poi recommendation via llm-augmented text and image representations. In Proceedings of the Nineteenth ACM Conference on Recommender Systems. 521–526.
[27] Yuqian Wu, Yuhong Peng, Jiapeng Yu, and Raymond Lee. 2025. Mas4poi: a multi-agents collaboration system for next poi recommendation. In Pacific-Asia Conference on Knowledge Discovery and Data Mining. Springer, 356–367.
[28] Ziqing Wu, Zhu Sun, Dongxia Wang, Lu Zhang, Jie Zhang, and Yew-Soon Ong. 2025. Decentralized next point-of-interest recommendation guided by willingness to share. ACM Transactions on Information Systems 44, 1 (2025), 1–27.
[29] Yang Xu, Gao Cong, Lei Zhu, and Lizhen Cui. 2024. MMPOI: A multi-modal content-aware framework for POI recommendations. In Proceedings of the ACM web conference 2024. 3454–3463.
[30] Dingqi Yang, Benjamin Fankhauser, Paolo Rosso, and Philippe Cudre-Mauroux. 2020. Location prediction over sparse user mobility traces using rnns. In Proceedings of the twenty-ninth international joint conference on artificial intelligence. 2184–2190.
[31] Song Yang, Jiamou Liu, and Kaiqi Zhao. 2022. GETNext: Trajectory flow map enhanced transformer for next POI recommendation. In Proceedings of the 45th International ACM SIGIR Conference on research and development in information retrieval. 1144–1153.
[32] Fan Zhang, Jinpeng Chen, Tao Wang, Huan Li, Senzhang Wang, Feifei Kou, Ye Ji, Kaimin Wei, and Zhenye Yang. 2026. DiMA: Distinguishing Resident and Tourist Preferences via Multi-Modal LLM Alignment for Out-of-Town Cross-Domain Recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 16262–16270.
[33] Junjie Zhang, Yupeng Hou, Ruobing Xie, Wenqi Sun, Julian McAuley, Wayne Xin Zhao, Leyu Lin, and Ji-Rong Wen. 2024. Agentcf: Collaborative learning with autonomous language agents for recommender systems. In Proceedings of the ACM Web Conference 2024. 3679–3689.
[34] Zhipeng Zhang, Mengyao Wang, Yao Zhang, and Yonggong Ren. 2026. MSCL-Tail: Multimodal semantic-augmented contrastive learning for next POI recommendation of long-tail users. Knowledge-Based Systems (2026), 116919.
[35] Ruiqi Zheng, Liang Qu, Tong Chen, Lizhen Cui, Yuhui Shi, and Hongzhi Yin. 2024. Decentralized collaborative learning with adaptive reference data for on-device poi recommendation. In Proceedings of the ACM Web Conference 2024. 3930–3939.
[36] Zihao Zhou, Zhijun Chen, Guofang Ma, Zhenghong Lin, Yanchao Tan, Shipping Wang, and Carl Yang. 2026. Enhanced recommendation with hypergraph mixture of experts. Expert Systems with Applications 297 (2026), 129333.
[37] Zhuang Zhuang, Shanshan Feng, Hangwei Qian, Mingqi Yang, Heng Qi, Yanming Shen, and Baocai Yin. 2026. Think2Go: Generative Next POI Recommendation with LLM Reasoning. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1. 2112–2123.