RaahiSense is an MTech Data Science research project focused on developing an on-device vehicle intelligence system that can understand vehicle behaviour and road-user activity using heterogeneous, time-dependent data.
The project explores how data from vehicle sensors, automotive systems, camera-based perception, ADAS events and diagnostic records can be aligned, structured, analysed and retrieved to generate evidence-grounded explanations in natural language.
RaahiSense is inspired by the VehicleGPT concept and extends it toward road-user activity understanding in Indian driving environments.
Modern vehicles generate data from multiple sources, including sensors, Electronic Control Units (ECUs), Advanced Driver Assistance Systems (ADAS), cameras and diagnostic systems. However, these data sources are often handled independently.
RaahiSense aims to connect these sources through a common temporal representation and an evidence-retrieval pipeline.
Instead of providing raw vehicle data directly to a language model, the system first processes and organizes the data into structured signals, events and contextual information. Relevant evidence is then retrieved before an on-device Small Language Model (SLM) generates an explanation.
Core workflow:
Vehicle and Road-User Data
|
v
Data Collection
|
v
Protocol Adapters
|
v
Timestamp Alignment and Normalization
|
v
Common Data Model
|
v
Event and Context Understanding
|
v
Local Storage
|
v
Search and Analytics
|
v
Evidence Retrieval and Ranking
|
v
On-Device SLM
|
v
Evidence-Guided Explanation
The project focuses on the following objectives:
- Develop a common temporal representation for heterogeneous vehicle and road-user data.
- Investigate methods for timestamp alignment, data normalization and multimodal data fusion.
- Represent road-user activity and driving conditions as structured events.
- Identify temporal relationships between road-user activity and vehicle behaviour.
- Develop historical event retrieval and evidence-ranking methods.
- Generate natural-language explanations grounded in retrieved evidence.
- Evaluate retrieval quality, explanation grounding, response latency and resource consumption on constrained edge hardware.
The research is guided by the following questions:
- RQ1: How can heterogeneous automotive and road-user data sources be temporally aligned into a common representation?
- RQ2: Can structured event and context abstraction improve historical vehicle-information retrieval compared with raw-signal search?
- RQ3: Can temporal evidence ranking identify relevant factors behind observed vehicle behaviour?
- RQ4: How accurately can a lightweight SLM generate explanations grounded in retrieved vehicle evidence?
- RQ5: Can the evidence-guided pipeline satisfy edge memory and response-latency constraints?
The research follows a hybrid strategy involving publicly available datasets, simulation, data replay and selected physical hardware.
| Dataset | Research role |
|---|---|
| IDD Multimodal | Primary dataset for multimodal data inspection and validation |
| TIAND Multimodal Dataset | Additional dataset for sensor-structure and synchronization analysis |
The current Phase 1 work focuses on inspecting dataset structure, identifying available modalities, validating file contents, examining timestamp information and assessing synchronization-related metadata.
Dataset characteristics and sensor semantics will be documented based on inspection and available dataset documentation. The presence of a directory or file extension alone is not treated as proof of a sensor modality or data format.
- CAN / CAN-FD vehicle signals
- SOME/IP service events
- Android Vehicle HAL (VHAL) properties
- QNX logs and service events
- ADAS warnings and interventions
- Camera-based road-user and scene metadata
- UDS / DoIP diagnostic information
- CARLA-generated driving scenarios
- Recorded and generated vehicle-data streams
The availability and implementation status of individual sources will be tracked separately.
RaahiSense is organized into the following logical layers.
| Layer | Responsibility |
|---|---|
| Data Sources | Collect vehicle signals, sensor data, road-user observations and diagnostic information |
| Protocol Adapters | Read and interpret source-specific data |
| Data Fusion | Timestamp alignment, decoding, validation and normalization |
| Understanding | Event detection, road-user activity representation and driving-context analysis |
| Storage | Maintain recent vehicle state and indexed historical records |
| Retrieval | Process queries and retrieve relevant historical evidence |
| Evidence Ranking | Rank signals, events and contextual records by relevance |
| VehicleGPT | Generate explanations using a local or quantized SLM |
| Interface | Provide query-based access to vehicle information |
The proposed common data model will include fields such as:
- Timestamp
- Source and sensor identifier
- Trip or session identifier
- Signal or event name
- Observed value and unit
- Event severity
- Road context
- Driving context
- Source-file or observation reference
This representation will support temporal correlation across different data sources while retaining the provenance of each observation.
Consider a vehicle experiencing repeated braking and increased energy consumption in dense traffic.
RaahiSense aims to retrieve and correlate relevant evidence:
- Road-user or traffic activity is identified.
- Vehicle signals indicate repeated braking.
- Driving context identifies stop-and-go conditions.
- Energy-consumption records show a change during the same period.
- Relevant observations are retrieved and ranked.
- The SLM generates an explanation based on the retrieved evidence.
The system should distinguish observed evidence from inferred relationships. Temporal association alone does not establish causation.
The language model is not expected to process or remember weeks of raw sensor streams.
Instead, RaahiSense follows a retrieval-before-generation approach:
- Interpret the user's natural-language query.
- Convert the query into a structured search request.
- Retrieve relevant signals, events, diagnostics and contextual records.
- Rank evidence according to temporal and contextual relevance.
- Prepare a compact evidence context.
- Generate a concise explanation using an on-device SLM.
- Preserve references to the supporting records.
This approach is intended to reduce the model's workload and support local processing without requiring continuous cloud connectivity.
The prototype follows a hybrid development and deployment strategy rather than requiring a complete physical vehicle.
| Component | Purpose | Priority |
|---|---|---|
| Development workstation | Simulation, dataset processing, model preparation and replay | Essential |
| Raspberry Pi 4 (2 GB) or equivalent ARM board | Constrained edge deployment | Essential |
| CAN / CAN-FD interface | Physical automotive-bus communication and replay | Essential |
| Ethernet connection | Workstation-to-edge communication | Essential |
| 64/128 GB SSD | Local historical data and application storage | Recommended |
| USB / CSI camera | Camera and perception demonstration | Recommended |
| OBD-II interface | Optional vehicle diagnostics and signal experiments | Optional |
| GNSS receiver | Location and route context | Optional |
| IMU | Motion and orientation context | Optional |
CARLA or equivalent simulation and recorded-data replay can provide scenarios for development and evaluation. Selected physical interfaces will be used to validate the pipeline where available.
The repository contains the initial dataset-inspection and Phase 1 validation work.
Current work includes:
- IDD primary, secondary and supplement inventory generation.
- TIAND dataset inventory generation.
- Dataset file-structure inspection.
- File-content and data-format validation.
- IDD LiDAR data profiling.
- Camera and LiDAR frame-index inspection.
- OBD timestamp and signal inspection.
- TIAND radar file-structure analysis.
- Calibration-file inventory.
- Camera-LiDAR and camera-radar synchronization analysis.
- Dataset audit visualizations and summary reports.
The scripts and generated inventory manifests are maintained separately from the raw datasets.
Important: Initial inspection and validation do not imply that every sensor's physical semantics, calibration parameters or clock synchronization have been fully verified. These require further documentation review and validation.
| Phase | Focus |
|---|---|
| Phase 1 | Dataset audit, structure inspection and validation |
| Phase 2 | Data preprocessing, timestamp alignment and common data representation |
| Phase 3 | Event and road-user activity understanding |
| Phase 4 | Temporal correlation, analytics and anomaly detection |
| Phase 5 | Evidence retrieval and ranking |
| Phase 6 | On-device SLM integration and explanation generation |
| Phase 7 | Edge deployment, testing and research evaluation |
The implementation status of each phase will be updated as the research progresses.
The repository is organized around dataset inspection, data processing, research experiments and prototype development.
RaahiSense/
│
├── data/
│ ├── raw/
│ │ └── README.md
│ ├── manifests/
│ │ ├── tiand/
│ │ └── phase1/
│ └── generated/
│
├── scripts/
│ ├── inspect_tiand_structure.py
│ ├── phase1_dataset_audit.py
│ ├── phase1_content_validation.py
│ ├── phase1_sensor_structure.py
│ ├── phase1_remaining_validation.py
│ └── phase1_dataset_visualisations.py
│
├── R/
│ └── tiand/
│
├── database/
│
├── temporal/
│
├── detector/
│
├── generator/
│
├── tests/
│
├── VIRA_Demo_Prototype/
│
├── configs/
│
├── requirements.txt
└── README.md
The structure may evolve as additional research components are implemented.
- Python 3.10 or a compatible Python version
- Git
- NumPy
- Pandas
- Matplotlib
- Required packages listed in
requirements.txt
git clone https://github.com/jenishborah/RaahiSense.git
cd RaahiSenseWindows PowerShell:
python -m venv .venv
.venv\Scripts\Activate.ps1Linux / macOS:
python3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtIf you only need the basic Phase 1 Python audit dependencies:
pip install numpy pandas matplotlibpython scripts/phase1_dataset_audit.pypython scripts/phase1_content_validation.py
python scripts/phase1_sensor_structure.py
python scripts/phase1_remaining_validation.pypython scripts/phase1_dataset_visualisations.pyNote: These scripts use local dataset paths and directory structures. Before running them, download the relevant datasets separately and configure their paths to match your local environment. Check each script's configuration before execution.
The raw datasets are not included in this GitHub repository.
Users must obtain datasets from their respective official sources and place them in the configured local directories.
The repository may contain:
- Dataset inventory manifests
- Dataset inspection scripts
- Validation summaries
- Research code
- Selected reproducible visualizations
- Application and prototype source code
Large raw sensor files, private credentials, database files and temporary outputs should not be committed.
The proposed evaluation will consider the following dimensions:
| Evaluation area | Measurement focus |
|---|---|
| Data quality | Missing values, invalid records and timestamp consistency |
| Temporal alignment | Alignment error and synchronization quality |
| Event understanding | Event classification and detection performance |
| Temporal correlation | Accuracy of identified event relationships |
| Retrieval | Precision, recall, ranking quality and relevance |
| Explanation grounding | Whether generated explanations are supported by retrieved evidence |
| Edge performance | Memory usage, response latency and computational requirements |
Evaluation metrics and experimental protocols will be finalized as the corresponding methods are implemented.
The research aims to develop and evaluate an evidence-guided temporal intelligence pipeline for heterogeneous vehicle and road-user data under edge-computing constraints.
The expected contributions include:
- A common representation for heterogeneous vehicle and road-user observations.
- Temporal alignment and event-context abstraction methods.
- Methods for correlating road-user activity with vehicle behaviour.
- Evidence retrieval and ranking for historical vehicle queries.
- Grounded natural-language explanations using a resource-constrained SLM.
- An evaluation of the pipeline under edge hardware limitations.
These are research objectives, not claims of completed experimental results.
Project: RaahiSense
Research Title: Evidence-Guided Road-User Activity Understanding in the Indian Environment
Programme: MTech Data Science
Department: Department of Computer Science
Institution: Tezpur University, Assam, India
Product Concept: RaahiSense / VehicleGPT
Researcher: Jenish Ali Borah
This repository is intended for academic research and prototype development.
Dataset ownership, licensing, usage restrictions and citation requirements remain with the respective dataset providers. Users should consult the original dataset documentation before using or redistributing any dataset.
A repository-level license should be added only after the project's code and third-party dependencies have been reviewed for licensing compatibility.
RaahiSense — Evidence before explanation.