About the Project: ArangoLens AI ๐
๐ Inspiration
The project was inspired by the growing need for intelligent crime analysis systems in metropolitan areas. With crime data being generated at massive scales, law enforcement agencies require advanced systems that can not only store and retrieve information but also reason and generate meaningful insights.
The Chicago Crime Records Dataset provided a rich, real-world dataset to explore how GraphRAG could revolutionize crime data analytics. Our objective was to leverage:
โ
GraphRAG (Graph-based Retrieval-Augmented Generation)
โ
GPU-accelerated graph analytics
By combining these, we built an Agentic Application capable of answering natural language queries related to crimes, criminals, locations, and other connected information with high precision.
๐ What It Does
ArangoLensAI is an AI-powered crime intelligence agent that allows users to query, analyze, and visualize crime patterns using natural language. It integrates GraphRAG, ArangoDB, and GPU-accelerated graph analytics to generate structured and interpretable insights from complex crime networks.
๐๏ธ With ArangoLensAI, users can:
๐ Find crime hotspots based on location and time trends.
๐ Identify criminal associations through graph-based relationship analysis.
๐ Retrieve historical crime records and related insights using natural language queries.
๐ฃ๏ธ Run shortest path analysis between criminals, crime types, and districts.
This solution enhances law enforcement investigations by providing an interactive and AI-driven approach to crime intelligence.
๐๏ธ How We Built It
To transform raw crime data into an intelligent AI-powered crime analysis system, we followed a structured approach integrating graph databases, GPU acceleration, and natural language processing.
๐๏ธ 1. Data Preparation
๐ฅ Extracted crime data from the Chicago Crime Records Dataset.
๐ ๏ธ Cleaned and filtered the dataset to remove inconsistencies.
๐ญ Added synthetic names to simulate real-world criminal tracking.
๐ 2. Graph Construction & Storage
๐ Converted crime data into a graph representation using NetworkX.
๐๏ธ Persisted the graph into ArangoDB, ensuring efficient query execution.
๐ Validated graph structure through centrality and connectivity analysis.
๐ค 3. Agentic App Development
โก Built an LLM-powered agent using LangGraph.
๐ Integrated AQL queries for structured data retrieval.
๐ Leveraged cuGraph for fast, GPU-accelerated graph computations.
๐ฅ๏ธ Developed an interactive UI with Gradio for seamless user interaction.
โ ๏ธ Challenges We Ran Into
๐งน Data Cleaning โ The original dataset contained inconsistent and missing values.
๐ฎ GPU Integration โ Setting up cuGraph with NetworkX for accelerated graph analytics.
๐ Hybrid Query Optimization โ Merging AQL queries with NetworkX analytics without compromising performance.
๐ซ Hallucination Mitigation โ Ensuring that the agentโs responses were factually correct and grounded in the graph data.
๐ Accomplishments That We're Proud Of
โ Successfully implemented GraphRAG, reducing AI hallucinations in retrieval tasks.
โก Optimized complex graph queries using a hybrid AQL + cuGraph approach.
๐ก Built a scalable, multi-modal crime intelligence system that can be extended to real-world law enforcement.
โณ Enabled real-time querying of crime relationships using natural language.
๐ Created a visually interactive experience that makes graph-based AI insights accessible to all users.
๐ What We Learned
Throughout the journey, we gained profound insights into:
๐ Graph Data Modeling โ Understanding how to represent crime data as nodes and edges for enhanced retrieval.
๐ค GraphRAG โ Implementing graph-based RAG systems to mitigate hallucinations in AI responses.
๐ NetworkX & ArangoDB โ Transforming tabular data into graph structures and persisting them into a graph database.
โก GPU-Accelerated Graph Analytics โ Utilizing NVIDIA cuGraph for large-scale graph processing.
๐๏ธ Agentic Applications โ Building interactive AI agents using LangGraph and AWS Bedrock for natural language querying.
๐ฎ What's Next for ArangoLensAI?
๐ Advanced Path Analysis โ Identifying criminal networks and co-occurrence patterns.
๐ Generating Interactive Graphs โ Based on results generating user interactive graphs
โณ Real-Time Querying โ Integrating streaming data pipelines for live crime analysis.


Log in or sign up for Devpost to join the conversation.