TLDR: AgentSense is a new framework that uses large language models (LLMs) and a multi-agent system to improve web-based participatory urban sensing. It addresses challenges in adapting to dynamic city conditions and explaining its decisions. By combining an initial plan with iterative refinement from Solver, Eval, and Memory Agents, AgentSense provides dynamic, personalized, and transparent task assignments for data collection. Experiments show it outperforms traditional and single-agent LLM methods in adaptability and interpretability across various urban disturbances.
Our cities are constantly evolving, and managing them effectively requires a deep understanding of their dynamics. This is where urban sensing comes in, using various methods to collect data about our environment. Traditionally, this has involved fixed sensors or dedicated vehicles. However, a more flexible approach, known as web-based participatory urban sensing (WPUS), leverages everyday individuals – like commuters, ride-hailing drivers, and couriers – as mobile sensors, contributing valuable real-time data through their daily activities.
While WPUS offers immense potential for applications like traffic monitoring, environmental sensing, and infrastructure management, it faces two significant hurdles: adapting to diverse and changing urban scenarios (generalization) and providing clear reasons for its decisions (interpretability). Existing systems often struggle to re-optimize task assignments when traffic changes, weather shifts, or worker availability fluctuates. They also tend to be ‘black boxes,’ offering no explanation for why a particular route or task was assigned, which can erode trust.
Introducing AgentSense: A Smart Solution for Urban Sensing
A new framework called AgentSense has emerged to tackle these challenges. It’s a hybrid, training-free system that brings the power of large language models (LLMs) into urban sensing through a clever multi-agent collaboration. Think of it as a team of intelligent assistants working together to make urban sensing smarter, more adaptable, and easier to understand.
How AgentSense Works
AgentSense operates in a dynamic, iterative way. It starts by using a classical planner to create an initial, basic plan for sensing tasks, ensuring fundamental requirements like budget and coverage are met. This initial plan then goes through a continuous refinement process driven by three specialized LLM-powered agents:
-
Solver Agent: This agent is the primary problem-solver. It takes the current plan and, in response to new information (like a road closure or a worker’s preference change), proposes updates. It works by making small, understandable modifications and then verifying that the new plan is still valid and improved.
-
Eval Agent: Acting as a quality checker, the Eval Agent assesses the Solver Agent’s proposed solutions. It uses quantitative metrics (like how much data is covered and how much it costs) and even visualizes coverage patterns to identify gaps or inefficiencies. It then provides clear, actionable feedback and suggestions to the Solver Agent in natural language.
-
Memory Agent: This agent is all about learning from experience. It records and analyzes past adjustments made by the Solver Agent, noting which changes led to significant improvements. By building a database of these ‘meta-operations,’ it helps the Solver Agent learn successful strategies and avoid repeating mistakes, accelerating the refinement process.
This multi-agent loop allows AgentSense to continuously adapt task assignments to real-time urban conditions and individual worker preferences, all while generating natural language explanations for its decisions. This transparency builds trust and makes the system more accountable.
Key Advantages of AgentSense
The research highlights several distinct benefits of AgentSense:
-
Dynamic and Personalized Task Assignment: It can efficiently and fairly allocate tasks, adapting to real-time urban changes and the unique preferences of participants.
-
Zero-Shot Generalization: Thanks to LLMs, AgentSense can apply its intelligence to new urban sensing tasks and environments without needing extensive retraining, making it quick to deploy in new cities or scenarios.
-
Transparency and Interpretability: By generating step-by-step reasoning and human-readable feedback, it makes the decision-making process clear and understandable.
-
Robust Performance: Extensive tests on large-scale mobility datasets (T-Drive and Grab-Posisi) and under various disturbances (like budget changes, blocked areas, or bad weather) show that AgentSense consistently outperforms traditional methods and even single-agent LLM approaches in both effectiveness and adaptability.
Balancing Performance and Understanding
Compared to traditional rule-based systems, which are efficient but inflexible, or learning-based methods that require lots of data, AgentSense strikes a balance. It combines the reliability of classical planning with the adaptability and explainability of LLMs. While LLMs can be computationally intensive, AgentSense uses the initial plan to guide the LLMs, making the refinement process more efficient.
Also Read:
- Boosting AI Teamwork: How Verification-Aware Planning Enhances Multi-Agent Systems
- Adaptive Search: How Reinforcement Learning Powers Intelligent AI Agents
Looking Ahead
The development of AgentSense marks a significant step towards deploying adaptive and explainable urban sensing systems on the web. Future work aims to incorporate more detailed geographical attributes for even more personalized path planning and to adapt the framework to smaller, more resource-efficient language models, making it even more practical for widespread real-world use. You can read the full research paper here: AgentSense: LLMs Empower Generalizable and Explainable Web-Based Participatory Urban Sensing.


