Problem Statements Analysis

From what to build to how to build it — our platform helps you understand, plan, and solve SIH 2026 problem statements with complete insights into requirements, solution approaches, technology stacks, architecture, AI/ML, and implementation roadmaps.

Scroll down
01 / SIH 2026

PS: SIH26165

AI/NLP Engine to Detect Serious Injury & Fatality (SIF) Precursors in OIL's Unsafe-Act/Unsafe-Condition and Near-Miss Reports

Description: • Background OIL collects large volumes of UA/UC observations, near-miss and incident reports through its HSSE platform but these are triaged manually after certain time intervals such as monthly, quarterly etc.However, Global best practice (DEKRA Martin & Black 2015; EEI SIF Precursor model; VelocityEHS 2024 PSIF classifier) has established that low-severity incidents do not share the same causes as fatalities - non-fatal US accidents fell 51% over 15 years while fatalities fell only 25.5%.Leading operators therefore separately flag the ~20–25% of reports carrying genuine fatal potential. Problem Description Build a prototype that ingests OIL's free-text safety reports and automatically a) Classifies each as SIF-potential vs non-SIF-potential b) Tags it to the relevant IOGP Life-Saving Rule (e.g., Energy Isolation, Hot Work,Confined Space, Line of Fire) c) Surfaces recurring precursor patterns (activity, location, barrier failure) via a dashboard. Expected Outcome/Solution A working AI/NLP with an interactive dashboard that ranks sites/activities by SIF-precursor density and auto-maps to Life-Saving Rules, enabling HSE to focus interventions where fatal potential is highest. Relevant Data Availability (if any) OIL's UA/UC observations, near-miss and incident reports.
Organization: Oil India Limited
Department: Oil India Limited
Category: Software
Theme: Smart Automationtd>
Youtube Link: Not provided
Dataset Link: Not provided
Contact info: Not provided

1. Executive Snapshot

Oil India Limited (OIL) captures significant volumes of Unsafe Act / Unsafe Condition (UA/UC) observations, near-misses, and incident reports across onshore and offshore installations via its Health, Safety, Security, and Environment (HSSE) platform [PS]. However, these safety logs are currently triaged manually at periodic intervals (monthly or quarterly) [PS]. This batch-processing latency creates a critical safety vulnerability: high-energy hazards with fatal potential remain unaddressed until after manual review [INFERENCE]. Modern safety science (DEKRA Martin & Black 2015; EEI SIF Precursor Model; VelocityEHS 2024 PSIF Classifier) proves that non-fatal minor accidents and fatal incidents stem from fundamentally different root causes [PS]. While non-fatal US industrial accidents decreased by 51% over 15 years, fatalities fell by only 25.5% [PS]. Leading oil and gas operators separately isolate and prioritize the ~20–25% of safety reports that contain genuine Serious Injury and Fatality (SIF) potential [PS]. This proposal presents "SIF-Guard AI", an intelligent, offline-capable NLP engine and spatial-temporal safety dashboard designed for OIL [ASSUMPTION]. SIF-Guard AI automatically ingests free-text safety reports, classifies SIF-potential vs. non-SIF-potential incidents, maps records to the official 9 IOGP Life-Saving Rules [RESEARCHED], pinpoints barrier failures, and ranks operational assets by precursor density to enable real-time, proactive HSE interventions [PS].

Attribute Value
PS Number SIH26165 [PS]
Title AI/NLP Engine to Detect Serious Injury & Fatality (SIF) Precursors in OIL's Unsafe-Act/Unsafe-Condition and Near-Miss Reports [PS]
Organization Oil India Limited (OIL) [PS]
Department Oil India Limited (HSSE Directorate) [PS]
Category Software [PS]
Theme Smart Automation [PS]
Deadline 30 September 2026 [PS]
Ideas Counter 0/500 [PS]
Fundamental System Objective Ingest free-text safety reports in real time to automatically detect SIF-potential events (~20-25%), map them to IOGP Life-Saving Rules, identify recurring barrier failures, and visualize precursor density on an interactive risk dashboard for immediate HSE intervention [PS].

2. Problem Deconstruction

The problem statement provides specific requirements for automated SIF detection [PS]. Below is the atomic breakdown, mapping each explicit requirement to its technical and operational implications:

  1. Inbound Safety Report Ingestion [PS]

    • Source Text: "Build a prototype that ingests OIL's free-text safety reports..." [PS]
    • Interpretation: The system must accept unstructured, multi-lingual (English, Hindi, Assamese) free-text data submitted by field personnel via OIL's HSSE portal, mobile apps, or batch CSV/JSON uploads [INFERENCE].
    • Implementation Implication: Ingestion pipeline requiring textual preprocessing, multi-lingual normalization, OCR for scanned forms, and handling of field jargon/abbreviations (e.g., "LOTO", "SWL", "Derrick", "DG Set", "BOP") [INFERENCE].
    • Confidence Tag: [PS]
  2. Requirement (a): Binary SIF-Potential Classification [PS]

    • Source Text: "...and automatically a) Classifies each as SIF-potential vs non-SIF-potential..." [PS]
    • Interpretation: A binary machine learning / NLP classification model must evaluate every report description, assessing exposure to high-energy sources and control effectiveness to isolate the ~20–25% of reports carrying SIF potential [PS].
    • Implementation Implication: Supervised Fine-Tuned NLP Transformer (e.g., DeBERTa-v3 / RoBERTa) combined with high-energy hazard rule heuristics (EEI/DEKRA SIF decision logic) [INFERENCE].
    • Confidence Tag: [PS]
  3. Requirement (b): Tagging to IOGP Life-Saving Rules [PS]

    • Source Text: "...b) Tags it to the relevant IOGP Life-Saving Rule (e.g., Energy Isolation, Hot Work, Confined Space, Line of Fire)..." [PS]
    • Interpretation: Multi-label classification to map each report to one or more of the 9 standardized IOGP (International Association of Oil & Gas Producers) Life-Saving Rules [RESEARCHED].
    • Implementation Implication: Multi-label NLP classifier trained on standard IOGP definitions (Bypassing Safety Controls, Confined Space, Driving, Energy Isolation, Hot Work, Line of Fire, Safe Mechanical Lifting, Work Authorisation, Working at Height) [RESEARCHED].
    • Confidence Tag: [PS]
  4. Requirement (c): Recurring Precursor Pattern & Barrier Failure Extraction [PS]

    • Source Text: "...c) Surfaces recurring precursor patterns (activity, location, barrier failure) via a dashboard." [PS]
    • Interpretation: Information extraction (NER + Intent Mining + Topic Modeling) to extract structured entities: Activity (e.g., pipe racking, welding), Location (e.g., Rig #4, Duliajan Wellhead 12), and Barrier Failure (e.g., uncalibrated gas detector, missing safety latch, bypassed interlock) [INFERENCE].
    • Implementation Implication: Entity extraction pipeline using Named Entity Recognition (NER), dependency parsing, and semantic clustering (HDBSCAN / Sentence-BERT) [INFERENCE].
    • Confidence Tag: [PS]
  5. Expected Outcome: Interactive Safety Ranking & Risk Heatmap Dashboard [PS]

    • Source Text: "A working AI/NLP with an interactive dashboard that ranks sites/activities by SIF-precursor density and auto-maps to Life-Saving Rules, enabling HSE to focus interventions where fatal potential is highest." [PS]
    • Interpretation: A Web/GIS dashboard displaying real-time precursor density metrics, geographical heatmaps across OIL fields, drill-down analytics, and automated HSE alert triggers [INFERENCE].
    • Implementation Implication: React.js/Deck.gl/Leaflet interactive dashboard backed by PostgreSQL/PostGIS and FastAPI analytical endpoints [INFERENCE].
    • Confidence Tag: [PS]

3. Stakeholders & User Needs

Stakeholder Goal Current Pain System Need
Field Safety Officers & Roustabouts Quickly report observations without complex multi-step drop-down menus in remote field conditions [INFERENCE]. High administrative burden; forms require complex taxonomy selection; remote sites lack reliable 4G/5G connectivity [INFERENCE]. Mobile-friendly, voice-to-text / quick free-text input with offline draft caching and multi-lingual voice input (Assamese, Hindi, English) [INFERENCE].
Installation HSE Managers (Rig/Plant Level) Immediately identify critical high-energy hazards on their active rig or plant floor before an accident occurs [INFERENCE]. Manual review delays mean high-risk near-misses remain unreviewed for weeks in monthly/quarterly batches [PS]. Automated real-time SIF flagging, instant SMS/WhatsApp/Push high-priority alerts for SIF-potential reports [INFERENCE].
Corporate HSE Directorate (OIL HQ, Duliajan & Noida) Identify macro trends, system-wide barrier degradation, contractor risk profiles, and resource allocation targets [RESEARCHED]. Drowning in thousands of low-severity reports (e.g., slip-trip-fall, minor scratches) masking critical ~20% SIF signals [PS]. Interactive executive dashboard ranking fields/activities by SIF precursor density, barrier failure trends, and IOGP compliance heatmaps [PS].
Contractor Safety Supervisors Ensure contractor workers adhere to IOGP Life-Saving Rules and correct unsafe conditions on lease rigs [RESEARCHED]. Lack of granular visibility into recurring unsafe behaviors specific to contractor crews [INFERENCE]. Granular activity-wise breakdown, contractor-specific SIF precursor density metrics, and automated Root Cause analysis suggestions [INFERENCE].
Statutory Authorities (OISD / DGMS Inspectors) Verify OIL's adherence to safety norms (OISD-STD-105 / PNG Rules 2008) and high-potential incident reporting [RESEARCHED]. Audit trails are paper-heavy or scattered across static spreadsheets [INFERENCE]. Exportable, OISD-compliant audit logs, traceable SIF decision trees, and historical precursor density reports [INFERENCE].

4. Requirements Traceability

Proposed Feature / Component Justification Requirement [PS] Expected Operational Impact
Free-Text Ingestion Pipeline (REST API / CSV Batch / Offline PWA) Ingest free-text safety reports from OIL's HSSE platform [PS]. Eliminates manual data entry bottlenecks and enables real-time ingestion from field workers [INFERENCE].
Hybrid NLP SIF Classifier (Fine-Tuned DeBERTa-v3 + EEI Rules) Classify each report as SIF-potential vs non-SIF-potential [PS]. Automatically filters ~75–80% low-potential clutter, highlighting the critical ~20–25% SIF precursors [PS].
Multi-Label IOGP LSR Mapper (9 Standard Rules) Tag each report to relevant IOGP Life-Saving Rules [PS]. Standardizes risk classification across all OIL assets in accordance with international oil & gas standards [RESEARCHED].
Information Extraction Engine (Activity, Location, Barrier Failure NER) Surface recurring precursor patterns (activity, location, barrier failure) [PS]. Converts raw narrative text into structured safety intelligence without requiring manual form fill [INFERENCE].
Interactive Spatial-Temporal Dashboard (PostGIS + Deck.gl) Rank sites/activities by SIF-precursor density via an interactive dashboard [PS]. Directs corporate HSE resources to high-risk rigs, wells, and operational activities in real time [PS].
Human-in-the-Loop Audit & Feedback Loop Triage reports manually after time intervals / enable HSE verification [PS]. Ensures model explainability, continuous learning, and zero unverified AI-driven safety interventions [INFERENCE].
Low-Bandwidth Sync & Local Cache (IndexedDB) Deployment across remote oilfields in Assam/North East India [RESEARCHED]. Ensures field workers in connectivity-blind oilwell locations can log reports seamlessly [INFERENCE].

5. Constraints & Environment Realities

  1. Geographic & Field Conditions: OIL's primary operations are concentrated in Assam (Duliajan, Moran, Digboi), Arunachal Pradesh, Tripura, KG Basin, and offshore assets [RESEARCHED]. Operating environments include dense jungles, heavy rainfall regions, riverine areas, and active drill sites with classified hazardous zones (Zone 0, Zone 1, Zone 2 explosion risks) [KNOWN].
  2. Connectivity Constraints: Remote production wells, seismic survey sites, and exploratory drilling rigs frequently suffer from non-existent or patchy 2G/cellular connectivity [KNOWN]. Centralized cloud-only inference will fail in field conditions. Edge caching and offline-first capabilities are strictly required [INFERENCE].
  3. Language & Literacy Realities: Field technicians, contractor labor, and roustabouts report incidents in mixed languages—Hinglish, Assamese, Benglish, or non-standard English with local oilfield terminology (e.g., "derrick man", "BOP pressure", "mud pump spill", "LOTO not applied") [INFERENCE].
  4. Hardware Constraints: Field personnel use low-to-mid-tier Android smartphones (2GB–4GB RAM) or shared ruggedized industrial tablets [KNOWN]. AI models cannot run raw multi-billion parameter LLMs locally on field devices; lightweight web-based sync and efficient cloud server-side inference (or lightweight edge models) are required [INFERENCE].
  5. Regulatory & Statutory Constraints: Oil Industry Safety Directorate (OISD) guidelines (OISD-STD-105) and Petroleum & Natural Gas (PNG) Safety Rules 2008 mandate strict records for "High Potential (Hi-Po) Near Misses" [RESEARCHED]. All data must reside within sovereign Indian cloud infrastructure or OIL on-premise servers [KNOWN].

6. Research Questions

  1. What specific text schema and field structures exist in OIL's current HSSE software platform? [NEEDS VALIDATION]
  2. What is the baseline distribution of unstructured free-text lengths (word count) in historical UA/UC reports at OIL? [NEEDS VALIDATION]
  3. How accurately do fine-tuned small language models (e.g., DeBERTa-v3-base) perform on industrial safety text compared to large commercial LLMs (GPT-4o / Claude 3.5)? [RESEARCHED]
  4. What set of high-energy hazard indicators (e.g., electrical > 50V, fall > 1.8m, suspended load, pressurized fluids > 100 PSI) defines SIF potential under the EEI Safety Classification & Learning (SCL) model? [RESEARCHED]
  5. What are the specific network security protocols (firewalls, VPNs, API gateways) required to integrate with OIL's corporate SAP/Oracle enterprise systems? [NEEDS VALIDATION]

7. Data Requirements & Sources

Data Type Purpose Ideal Real-World Source Hackathon Substitute Access Method Availability Privacy Sensitivity Confidence
UA/UC & Near-Miss Text Reports Model training & evaluation for SIF detection and LSR tagging [PS]. OIL HSSE enterprise database (Duliajan HQ) [PS]. Synthetic dataset generated via open OSHA/IOGP incident logs & LLM seed expansion [ASSUMPTION]. CSV / JSON upload pipeline [ASSUMPTION]. Publicly unavailable (OIL proprietary) [PS]. High (contains employee names, contractor info, rig IDs) [INFERENCE]. [PS] / [ASSUMPTION]
IOGP Life-Saving Rules Taxonomy Standardized ground-truth labeling schema for multi-label classification [RESEARCHED]. IOGP Report 459 (2018 Revision) [RESEARCHED]. Official IOGP Report 459 rule definitions & icon definitions [RESEARCHED]. Public PDF / JSON parsing [RESEARCHED]. Publicly available [RESEARCHED]. Public domain [KNOWN]. [RESEARCHED]
OIL Asset & Location Registry Geospatial mapping of drilling rigs, wells, production stations, pipelines [RESEARCHED]. OIL Geographic Information System (GIS) portal [RESEARCHED]. Anonymized spatial coordinate list of Assam/KG basin oilfield clusters [ASSUMPTION]. GeoJSON file upload [ASSUMPTION]. Proprietary to OIL [NEEDS VALIDATION]. Medium (critical infrastructure locations) [INFERENCE]. [ASSUMPTION]
EEI / DEKRA SIF Decision Trees Rule-based heuristics for validating SIF-potential logic [RESEARCHED]. EEI Safety Classification & Learning (SCL) Model 2024 [RESEARCHED]. Published EEI SCL decision tree logic & high-energy precursor list [RESEARCHED]. Open academic PDF conversion [RESEARCHED]. Public academic/industry research [RESEARCHED]. Public domain [KNOWN]. [RESEARCHED]

8. Existing Solutions & Gap Analysis

                      +-------------------------------------------------------------+
                      |                 EXISTING SAFETY SYSTEMS                     |
                      +------------------------------+------------------------------+
                                                     |
                   +---------------------------------+---------------------------------+
                   |                                                                   |
                   v                                                                   v
+------------------------------------+                               +------------------------------------+
| Traditional Enterprise EHS Portals |                               | Standard Generic LLM API Wrappers  |
| (SAP EHS, Enablon, Gensuite)       |                               | (Generic ChatGPT / Claude Prompts) |
+------------------------------------+                               +------------------------------------+
| Strengths:                         |                               | Strengths:                         |
| • Robust workflow management       |                               | • Fast natural language parsing    |
| • Scalable database infrastructure |                               | • Zero initial training required   |
| Weaknesses:                        |                               | Weaknesses:                        |
| • Manual reporting categorization  |                               | • Hallucination of safety rules    |
| • Batch review latency             |                               | • Data privacy compliance risks    |
| • Ignores SIF precursor science    |                               | • High latency & API costs         |
| • High false positive clutter      |                               | • Fails offline in remote fields   |
+------------------------------------+                               +------------------------------------+
                   |                                                                   |
                   +---------------------------------+---------------------------------+
                                                     |
                                                     v
                      +-------------------------------------------------------------+
                      |                   PROPOSED SYSTEM GAP                       |
                      | No offline-capable, domain-tuned, SIF-precursor specialized |
                      | NLP platform tailored for Indian O&G operational realities. |
                      +-------------------------------------------------------------+
  1. Traditional Enterprise EHS Platforms (SAP EHS, Enablon, Intelex)

    • Description: Comprehensive corporate EHS management tools used for regulatory compliance and incident tracking [KNOWN].
    • Strengths: Reliable database tracking, integrated CAPA (Corrective and Preventive Action) workflows [KNOWN].
    • Weaknesses: Relies heavily on manual dropdown inputs by field workers; lacks NLP-driven automatic SIF classification; processes incident reports in batch intervals [PS].
    • Gap: Fails to isolate the ~20% high-energy SIF precursor reports from thousands of minor observations [PS].
    • Source: Industry EHS platform standards [KNOWN]. Confidence: [KNOWN]
  2. Commercial AI PSIF Classifiers (VelocityEHS AI PSIF Insights, EHS Insight SIF Detection)

    • Description: Proprietary SaaS solutions incorporating machine learning models to detect Potential SIF (PSIF) in Western industrial plants [RESEARCHED].
    • Strengths: Validated ML pipelines; multi-factor risk scoring; integration with Western OSHA standards [RESEARCHED].
    • Weaknesses: Expensive SaaS subscription models; cloud-dependent (fails in offline oilfield sites); non-compliant with local Indian sovereign cloud mandates; lacks support for Assamese/Hindi code-switched free-text [INFERENCE].
    • Gap: Cannot operate in remote, low-bandwidth Indian oilfield environments (e.g., Duliajan fields) with localized language nuances [INFERENCE].
    • Source: VelocityEHS Press Release 2025 / EHS Insight [RESEARCHED]. Confidence: [RESEARCHED]
  3. Generic LLM-Based Safety Summarizers (Wrapper Applications)

    • Description: Basic OpenAI/Claude API prompt-based wrappers that summarize safety logs [INFERENCE].
    • Strengths: Quick to implement during hackathons [INFERENCE].
    • Weaknesses: High hallucination risk; non-deterministic SIF tagging; privacy violation (sending OIL proprietary safety data to external public APIs); expensive token costs; slow inference speed [INFERENCE].
    • Gap: Unsuitable for safety-critical industrial decision support where deterministic, auditable decisions are required [INFERENCE].
    • Source: Empirical AI research [KNOWN]. Confidence: [INFERENCE]

9. Candidate Solution Approaches

+---------------------------------------------------------------------------------------------------+
|                                candidate solution approaches                                     |
+----------------------------------+----------------------------------+-----------------------------+
| Approach 1: Deterministic Rules  | Approach 2: Pure Cloud LLM       | Approach 3: Hybrid Fine-    |
| & Regex Classifier               | API Pipeline                     | Tuned SLM + Rule Engine     |
+----------------------------------+----------------------------------+-----------------------------+
| • High explainability            | • High natural language understanding| • Domain-tuned accuracy    |
| • Zero ML infrastructure         | • Expensive API tokens           | • Fully offline capable     |
| • Fails on complex free-text     | • High latency & cloud dependency| • Zero API vendor lock-in   |
| • High false negative rate       | • Data privacy compliance risks  | • Real-time deterministic   |
|                                  | • Non-deterministic outputs      |   safety decision fallback  |
+----------------------------------+----------------------------------+-----------------------------+

Approach 1: Deterministic Keyword & Rule-Based Regex Engine

  • Mechanism: String matching, dictionary lookups (e.g., "height", "gas release", "crane"), and IF-THEN heuristic decision trees based on EEI rules.
  • Problem Fit: Low. Field safety reports use non-standard phrasing, regional jargon, and spelling errors ("scafold unsecure", "gas leak near DG set").
  • Accuracy Potential: Poor (<60% F1-score) [INFERENCE]. High false negatives for subtle SIF precursors.
  • Data Requirements: Minimal (dictionary lists).
  • Complexity: Very Low.
  • Explainability: 100% transparent.
  • Cost: Very Low ($0).
  • Scalability: High speed, but brittle maintainability.
  • Hackathon Feasibility: High.
  • Production Feasibility: Unacceptable due to poor accuracy.

Approach 2: Pure Cloud LLM API Pipeline (e.g., GPT-4o / Claude 3.5 Prompting)

  • Mechanism: Direct REST API calls passing safety reports to a commercial cloud LLM with structured JSON output prompts.
  • Problem Fit: Medium. High language understanding, but introduces data privacy and connectivity bottlenecks.
  • Accuracy Potential: High (~85–90% zero-shot accuracy) [INFERENCE].
  • Data Requirements: Zero training data required; requires prompt engineering.
  • Complexity: Low implementation effort, high operational complexity (network dependency).
  • Explainability: Low (black-box API).
  • Cost: High (recurring per-token API fees across thousands of daily OIL reports) [INFERENCE].
  • Scalability: Limited by API rate limits and network bandwidth at remote rig sites.
  • Hackathon Feasibility: High.
  • Production Feasibility: Unacceptable due to OIL data sovereignty policies, recurring API costs, and lack of offline connectivity in field operations [INFERENCE].

Approach 3 (RECOMMENDED): Hybrid Architecture — Fine-Tuned Transformer (DeBERTa-v3 / RoBERTa) + Deterministic High-Energy Heuristic Rule Engine

  • Mechanism: A dual-stage hybrid engine. Stage 1 uses an explicit rule engine implementing the EEI Safety Classification & Learning (SCL) decision tree to flag obvious high-energy precursors (e.g., falls > 1.8m, voltage > 50V, unisolated pressure > 100 PSI). Stage 2 uses a fine-tuned, quantized lightweight NLP Transformer (DeBERTa-v3-base) trained on domain-specific safety text to perform multi-task SIF-potential classification and IOGP LSR multi-label tagging. Stage 3 utilizes HDBSCAN & Sentence-Transformers for clustering recurring precursor patterns.
  • Problem Fit: Perfect fit for OIL requirements.
  • Accuracy Potential: Excellent (>90% Precision/Recall on SIF potential) [INFERENCE].
  • Data Requirements: Requires ~1,000–2,000 labeled safety report training samples (synthesized/augmented for hackathon).
  • Complexity: Medium-High.
  • Explainability: High (Rule stage is 100% transparent; ML stage outputs confidence scores & attention highlight maps).
  • Cost: Low (Open-source model deployed on local GPU/edge server; zero recurring API token fees).
  • Scalability: High throughput (>100 reports/second per GPU node) [INFERENCE].
  • Hackathon Feasibility: High (Can be trained using Google Colab/Kaggle GPUs and deployed via FastAPI + ONNX Runtime).
  • Production Feasibility: Excellent. Fully compatible with OIL on-premise servers and offline edge deployments.

10. Recommended Approach & Why

The Hybrid Architecture (Approach 3) is selected as the winning approach for the SIH solution.

Justification:

  1. Safety-Critical Reliability: Pure machine learning models can occasionally hallucinate or miss critical edge cases. Integrating deterministic EEI High-Energy Rule filters ensures that explicit fatal hazards (e.g., "worker inside vessel without gas test") are flagged 100% of the time, regardless of NLP confidence scores [INFERENCE].
  2. Data Sovereignty & On-Premise Compliance: OIL is a Navratna Public Sector Undertaking (PSU) under the Ministry of Petroleum & Natural Gas [RESEARCHED]. Transferring operational hazard reports containing exact rig locations and personnel names to external commercial APIs violates national data sovereignty guidelines [INFERENCE]. Approach 3 runs completely on-premise or on sovereign Indian cloud instances.
  3. Offline Field Capability: Fine-tuned Transformer models compressed via ONNX Runtime / INT8 quantization can run locally on field laptops or edge gateways situated at remote drilling sites without active internet access [INFERENCE].
  4. Superior Cost-Efficiency: Eliminates recurring per-token cloud API bills, allowing OIL to process millions of historical reports cost-effectively.

Rejection of Alternatives:

  • Approach 1 (Rules Only) was rejected because regex/keywords fail to capture complex semantic context, syntax errors, and informal field descriptions, leading to dangerously high false-negative rates [INFERENCE].
  • Approach 2 (Cloud LLM API) was rejected due to data security policy violations, high recurring operational costs, latency, and complete failure in remote, zero-bandwidth oilfield locations [INFERENCE].

11. Technical Architecture

Layered System Architecture Diagram

+---------------------------------------------------------------------------------------------------+
|                                  SIF-GUARD AI SYSTEM ARCHITECTURE                                 |
+---------------------------------------------------------------------------------------------------+

[ PRESENTATION LAYER - WEB & MOBILE UI ]
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
  |   Field Officer PWA / Mobile App  |  |  Interactive HSE Command Center   |  |   Executive GIS Precursor Map     |
  |  (React / PWA / Offline IndexedDB)|  |   (React.js / Tailwind / Recharts)|  |     (Deck.gl / Leaflet / PostGIS) |
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
                                                        |
                                                        v (REST / WebSockets / HTTPS)
[ API GATEWAY & SECURITY LAYER ]
  +-------------------------------------------------------------------------------------------------+
  |  FastAPI Gateway | OAuth2 / JWT Auth | Rate Limiter | Data Scrubbing & PII Anonymizer           |
  +-------------------------------------------------------------------------------------------------+
                                                        |
                                                        v
[ INGESTION & DATA PROCESSING LAYER ]
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
  |   Real-Time Field Stream Ingestion|  |    Batch CSV / SAP EHS Ingest     |  | Multi-Lingual Text Preprocessing  |
  |      (RabbitMQ / Kafka / Celery)  |  |      (Pandas / Polars Pipeline)   |  | (Spacy /IndicNLP / FastText)      |
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
                                                        |
                                                        v
[ HYBRID AI / NLP HYBRID INFERENCE ENGINE ]
  +-------------------------------------------------------------------------------------------------+
  |  STAGE 1: Deterministic EEI High-Energy Hazard Rule Filter (IF-THEN Precursor Logic)            |
  +-------------------------------------------------------------------------------------------------+
                                                        |
  +-----------------------------------------------------+-------------------------------------------+
  |                                                                                                 |
  v                                                                                                 v
  |  STAGE 2A: SIF-Potential Classifier                 |  STAGE 2B: IOGP Life-Saving Rule Classifier |
  |  (Fine-Tuned DeBERTa-v3 ONNX Runtime)               |  (Multi-Label Transformer Model)          |
  +-----------------------------------------------------+-------------------------------------------+
                                                        |
  +-----------------------------------------------------+
  |  STAGE 3: Entity & Pattern Extraction Engine (Spacy NER + HDBSCAN Semantic Clustering)          |
  +-------------------------------------------------------------------------------------------------+
                                                        |
                                                        v
[ DATA ARCHITECTURE & STORAGE LAYER ]
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
  | PostgreSQL + PostGIS (Metadata)   |  | Vector DB (Qdrant / pgvector)     |  | Redis Cache & Task Queue           |
  | (Reports, Assets, Audit Logs)     |  | (Semantic Search & Clustering)    |  | (Real-time Alert Distribution)    |
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
                                                        |
                                                        v
[ INTEGRATION & NOTIFICATION LAYER ]
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+
  |  SMS / WhatsApp / Email Gateway   |  |   SAP EHS / Oracle Sync Adapter   |  |  OISD Statutory Audit Export      |
  |   (Twilio / Local SMS Gateway)    |  |       (REST / Enterprise Bus)     |  |   (PDF / Excel Report Generator)  |
  +-----------------------------------+  +-----------------------------------+  +-----------------------------------+

Detailed Step-by-Step Data Flow Narrative:

  1. Ingestion: A field worker submits an Unsafe Act/Unsafe Condition (UA/UC) report narrative (e.g., "Worker seen operating welding torch on gas pipeline without hot work permit and gas test near Derrick Rig #3") via the offline-first Progressive Web App (PWA) or batch CSV upload [INFERENCE].
  2. Preprocessing & Anonymization: The FastAPI backend receives the report. The PII Anonymizer strips personnel names, phone numbers, and employee IDs using Spacy NER. Text is standardized, removing typos and translating regional Assamese/Hindi terms to standardized English [INFERENCE].
  3. Stage 1 — Rule-Based Filtering: The text is passed through the EEI High-Energy Heuristic Rule Filter. It checks for hardcoded critical keywords and energy thresholds (e.g., "hot work", "gas pipeline", "no permit"). If an explicit life-threatening rule violation is triggered, it is instantly tagged as SIF-Potential = High (Rule-Triggered) [INFERENCE].
  4. Stage 2 — Deep Transformer Inference: Concurrently, the preprocessed text is tokenized and processed by the fine-tuned DeBERTa-v3 ONNX model.
    • Head A: Predicts probability of SIF Potential ($P_{SIF} \in [0,1]$). If $P_{SIF} \ge 0.5$, classified as SIF-Potential [INFERENCE].
    • Head B: Multi-label classification predicts applicable IOGP Life-Saving Rules (e.g., Hot Work, Work Authorisation) [INFERENCE].
  5. Stage 3 — Information & Barrier Extraction: The NER engine extracts structured entities:
    • Activity: Welding / Hot Work
    • Location: Derrick Rig #3
    • Barrier Failure: Missing Work Permit & Omission of Gas Test [INFERENCE].
  6. Storage & Analytics Ingestion: Results are committed to PostgreSQL (relational metadata + PostGIS location tags) and vector embeddings are stored in pgvector/Qdrant for similarity clustering [INFERENCE].
  7. Precursor Density Calculation: The analytics engine recalculates the SIF Precursor Density Metric for "Derrick Rig #3" and the "Welding/Hot Work" activity category: $$\text{SIF Precursor Density} = \frac{\sum \text{SIF-Potential Reports in Last 30 Days}}{\text{Total Reports in Asset Cluster}} \times 100$$
  8. Real-time Alerting & Visualization: If the asset's precursor density exceeds the threshold (>25%), an automated alert is pushed to the Installation HSE Manager via SMS/WhatsApp, and the location glows red on the Executive GIS Dashboard [INFERENCE].

12. Technology Stack

Layer Selected Technology Why Selected Alternative Considered Why Alternative Rejected
Frontend UI React.js (TypeScript) + Vite + TailwindCSS Lightning-fast rendering, modular component library, excellent PWA support [KNOWN]. Angular / Vue.js Slower build times, steeper learning curve for a 4-6 student team [INFERENCE].
GIS & Mapping Deck.gl + Leaflet + MapLibre GL High-performance WebGL rendering of thousands of spatial oilwell points and heatmaps [KNOWN]. Google Maps API Proprietary licensing fees, external API dependency, potential data exposure [INFERENCE].
Backend API Framework FastAPI (Python 3.12) High throughput (async/await), automatic OpenAPI documentation, native Pydantic validation [KNOWN]. Django / Flask Flask is synchronous and slow; Django is overly monolithic for ML API pipelines [INFERENCE].
AI/ML Core Model DeBERTa-v3-base / RoBERTa (Fine-Tuned) State-of-the-art accuracy on text classification tasks, compact size (125M params), fast inference [RESEARCHED]. Llama-3-8B / GPT-4o API Llama-8B requires heavy GPU memory; cloud APIs introduce privacy and offline failures [INFERENCE].
Model Inference Acceleration ONNX Runtime + INT8 Quantization 3-4x faster inference speed on CPU/GPU, low memory footprint [KNOWN]. PyTorch Native Eager Execution High memory usage, slower CPU inference rates in field deployments [INFERENCE].
Primary Database PostgreSQL 16 + PostGIS Extension Industrial-grade relational storage with native spatial/geospatial queries for oilfield locations [KNOWN]. MongoDB Poor spatial indexing, lack of ACID transactional guarantees for safety audit logs [INFERENCE].
Vector Database pgvector (PostgreSQL Extension) Keeps vector embeddings and relational metadata in a single PostgreSQL engine; eliminates multi-DB overhead [KNOWN]. Pinecone / Milvus Pinecone is a cloud SaaS (privacy violation); Milvus adds cluster management complexity [INFERENCE].
Task Queue & Caching Redis + Celery Fast asynchronous task processing for batch CSV ingestion, model scoring, and background alerts [KNOWN]. RabbitMQ + Custom Workers Higher operational setup overhead for a hackathon timeframe [INFERENCE].
Offline Storage (PWA) IndexedDB via Dexie.js Browser-native NoSQL storage capable of holding hundreds of offline reports until network reconnects [KNOWN]. LocalStorage Extremely limited capacity (5MB ceiling), synchronous blocking API [KNOWN].
Containerization & Hosting Docker + Docker Compose Ensures reproducible deployment environments across local dev machines and OIL target servers [KNOWN]. Bare-metal VM scripts High configuration drift, deployment inconsistencies during live judging [INFERENCE].

13. AI/ML Justification

1. SIF-Potential Binary Classifier

  • Purpose: Classify whether an unstructured safety report description carries genuine fatal potential (~20-25%) or is a low-severity event [PS].
  • Model Type: Fine-Tuned Transformer (microsoft/deberta-v3-base) [RESEARCHED].
  • Input: Unstructured text string (e.g., "Scaffolding plank slipped from 15ft height while worker was passing tools without safety harness").
  • Output: SIF-Potential Flag (True/False) + Probability Score (e.g., 0.92).
  • Data Required: ~2,000 safety report descriptions annotated with ground-truth SIF labels based on EEI SCL criteria [ASSUMPTION].
  • Why AI is Preferable: Simple rules fail to comprehend linguistic variations, implied context, and complex interactions between hazards and missing controls [INFERENCE].
  • Evaluation Metric: Precision, Recall, F1-score, ROC-AUC (Target: Recall $\ge 90%$ to minimize false negatives on fatal risks) [INFERENCE].
  • Failure Mode & Mitigation: If model yields a false negative on an ambiguous report, the Stage 1 Rule Filter acts as a safety net [INFERENCE].
  • Human Oversight: All reports flagged as SIF-Potential require mandatory sign-off/review by the Installation HSE Manager [INFERENCE].

2. Multi-Label IOGP Life-Saving Rules Classifier

  • Purpose: Automatically map safety reports to one or more of the 9 official IOGP Life-Saving Rules [PS].
  • Model Type: Multi-Label Classification Transformer Head attached to DeBERTa-v3 [RESEARCHED].
  • Input: Unstructured text narrative.
  • Output: Binary vector representing presence of 9 IOGP LSRs (e.g., [Energy Isolation: 0, Hot Work: 1, Confined Space: 0, Line of Fire: 1, ... ]).
  • Data Required: Multi-label dataset categorized by certified HSE domain experts [ASSUMPTION].
  • Why AI is Preferable: Safety reports frequently involve multiple overlapping rules (e.g., Hot Work in a Confined Space). Standard keyword search cannot accurately distinguish primary context [INFERENCE].
  • Evaluation Metric: Micro/Macro F1-score, Hamming Loss [INFERENCE].
  • Failure Mode & Mitigation: Low confidence predictions (<0.4) trigger a prompt for manual tagging by the HSE reviewer [INFERENCE].
  • Human Oversight: HSE Officers can manually modify auto-tagged LSR labels on the dashboard UI [INFERENCE].

3. Precursor Entity & Pattern Extraction (NER & Clustering)

  • Purpose: Extract specific Entities: Activity, Location, Barrier Failure, and cluster recurring patterns [PS].
  • Model Type: Custom Spacy Named Entity Recognition (NER) + Sentence-BERT (all-MiniLM-L6-v2) + HDBSCAN Density-Based Clustering [RESEARCHED].
  • Input: Text narrative.
  • Output: Extracted Entity JSON + Cluster ID (e.g., Cluster #12: Recurring Gas Detector Calibration Failures in Moran Rig #2).
  • Data Required: Entity-annotated safety text + pre-computed semantic embeddings.
  • Why AI is Preferable: Automatically discovers emerging systemic failures without predefined categories [INFERENCE].
  • Evaluation Metric: Silhouette Coefficient, Cluster Density Score [INFERENCE].
  • Failure Mode & Mitigation: Outlier reports assigned to Noise Cluster (-1) for manual inspection [INFERENCE].
  • Human Oversight: HSE Directors review auto-generated cluster summaries [INFERENCE].

Explicit Non-AI Component Identification:

  • Precursor Density Calculation: Pure mathematical calculation ($\frac{\text{SIF Reports}}{\text{Total Reports}}$) executed directly in PostgreSQL SQL queries. AI MUST NOT be used for statistical aggregation [INFERENCE].
  • User Permission & Access Control: Role-Based Access Control (RBAC) managed strictly via standard JWT authentication logic. AI MUST NOT participate in security decisions [INFERENCE].

14. Data Architecture & Offline/Low-Network Design

Database Schema (PostgreSQL DDL Concept)

-- Core Table: Safety Reports
CREATE TABLE safety_reports (
    report_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    report_code VARCHAR(50) UNIQUE NOT NULL,
    field_asset_id UUID REFERENCES field_assets(asset_id),
    report_timestamp TIMESTAMPTZ NOT NULL,
    raw_narrative TEXT NOT NULL,
    cleaned_narrative TEXT,
    reporter_role VARCHAR(50),
    is_sif_potential BOOLEAN NOT NULL,
    sif_confidence_score FLOAT NOT NULL,
    classification_source VARCHAR(20) CHECK (classification_source IN ('RULE_ENGINE', 'ML_MODEL', 'HYBRID')),
    extracted_activity VARCHAR(100),
    extracted_location VARCHAR(100),
    barrier_failure_type VARCHAR(150),
    status VARCHAR(20) DEFAULT 'PENDING_REVIEW',
    created_at TIMESTAMPTZ DEFAULT NOW()
);

-- Junction Table: Multi-Label IOGP LSR Tags
CREATE TABLE report_iogp_tags (
    report_id UUID REFERENCES safety_reports(report_id) ON DELETE CASCADE,
    lsr_id INT CHECK (lsr_id BETWEEN 1 AND 9),
    confidence_score FLOAT NOT NULL,
    PRIMARY KEY (report_id, lsr_id)
);

-- Spatial Table: Field Assets (Rigs, Stations, Wells)
CREATE TABLE field_assets (
    asset_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    asset_name VARCHAR(100) NOT NULL,
    asset_type VARCHAR(50) CHECK (asset_type IN ('DRILLING_RIG', 'PRODUCTION_STATION', 'PIPELINE', 'REFINERY')),
    region VARCHAR(50) NOT NULL, -- e.g., 'Duliajan', 'Moran', 'KG Basin'
    location GEOMETRY(Point, 4326) NOT NULL,
    is_active BOOLEAN DEFAULT TRUE
);

Offline & Low-Network Design Strategy

+---------------------------------------------------------------------------------------------------+
|                               OFFLINE-FIRST SYNCHRONIZATION FLOW                                  |
+---------------------------------------------------------------------------------------------------+

 [ FIELD USER DEVICE ]                                           [ OIL CENTRAL SERVER ]
  +-----------------------+                                       +-----------------------+
  | Submit UA/UC Report   |                                       |                       |
  +-----------+-----------+                                       |                       |
              |                                                   |                       |
              v                                                   |                       |
  { Network Available? } --(YES)--> [ Direct FastAPI REST POST ] -------> [ Ingest & Process ]
              |                                                   |                       |
            (NO)                                                  |                       |
              v                                                   |                       |
  [ Save to IndexedDB ]                                           |                       |
  [ Queue for Sync    ]                                           |                       |
  [ Display Offline UI]                                           |                       |
              |                                                   |                       |
  (Background Listener Checks Network)                            |                       |
              |                                                   |                       |
   { Connectivity Restored }                                       |                       |
              |                                                   |                       |
              +-------------------> [ ServiceWorker Sync Task ] -> [ Batch Sync Endpoint  |
                                    (Exponential Backoff Retry)   |  with Conflict Log ]  |
                                                                  +-----------------------+
  1. Local Storage Mechanism: The PWA UI uses Dexie.js (IndexedDB wrapper) to store unsubmitted reports locally on field smartphones/tablets [INFERENCE].
  2. Bandwidth Reduction: Inbound text reports are light (~1–2 KB per record). Attachments/photos are compressed client-side (WebP format, max 800x600 resolution) before queueing [INFERENCE].
  3. Synchronization & Conflict Resolution:
    • Uses a background ServiceWorker (BackgroundSync API) that detects network restoration [KNOWN].
    • Reports are sent in compressed batch JSON payloads (gzip).
    • Conflict Handling: Every offline report generates a client-side UUID and timestamp. Server accepts all unique client UUIDs. Duplicate timestamps from the same user are deduplicated automatically [INFERENCE].
  4. Retry Strategy: Exponential backoff with jitter (initial retry 5s, doubling up to max 5 minutes) to avoid overloading gateway upon network reconnection [INFERENCE].

15. Security, Privacy & Governance

  1. PII Anonymization & Data Protection: Safety reports frequently contain employee names, contractor agency details, and supervisor identities. An automatic Named Entity Recognition (NER) scrubber replaces individuals' names with tokens ([PERSONNEL_ANONYMIZED]) prior to model ingestion and vector embedding storage [INFERENCE].
  2. Authentication & Role-Based Access Control (RBAC):
    • OAuth2 with JSON Web Tokens (JWT) and SHA-256 signatures [KNOWN].
    • Roles: Field_Reporter (Create reports), Rig_HSE_Manager (Review/verify local SIF flags), Corporate_HSE_Director (View system-wide analytics/heatmaps), System_Admin (Manage user roles) [INFERENCE].
  3. Data Encryption Standard:
    • Data at Rest: AES-256 bit encryption for PostgreSQL tables and disk volumes [KNOWN].
    • Data in Transit: TLS 1.3 encryption across all REST/WebSocket API endpoints [KNOWN].
  4. Data Ownership & Regulatory Compliance:
    • All safety data, trained model weights, and analytics remain the 100% exclusive property of Oil India Limited [PS].
    • System complies with Oil Industry Safety Directorate (OISD) Incident Reporting Guidelines (OISD-STD-105) and Indian Digital Personal Data Protection (DPDP) Act 2023 [RESEARCHED].
  5. AI Failure & Human-in-the-Loop Governance:
    • The system operates explicitly as a Decision Support System (DSS), NOT an autonomous safety enforcement tool [INFERENCE].
    • AI-generated SIF flags and IOGP LSR tags serve as recommendations. No site shutdown or disciplinary action can occur without human HSE verification [INFERENCE].
    • Full Audit Logging: Every modification to an AI prediction by a human manager is logged with user ID, timestamp, and justification reason for auditing [INFERENCE].

16. MVP Scope (Hackathon Build)

+---------------------------------------------------------------------------------------------------+
|                                      HACKATHON MVP BUILD SCOPE                                    |
+---------------------------------------------------------------------------------------------------+

                         MUST BUILD (Core Value Proposition)
                         ------------------------------------
                         • Free-text report ingestion (Single/Batch CSV)
                         • Dual SIF Classifier (Fine-Tuned DeBERTa-v3 + EEI Rules)
                         • Multi-label IOGP Life-Saving Rules Tagging Engine (9 Rules)
                         • Interactive GIS Risk Heatmap (Deck.gl / PostGIS)
                         • Precursor Density Ranking (Site / Activity)
                         • Human-in-the-Loop Feedback & Audit UI

                         SHOULD BUILD (High Impact Differentiators)
                         ------------------------------------------
                         • Offline-first PWA submission form (IndexedDB sync)
                         • Entity Extraction Engine (Activity, Location, Barrier)
                         • Automated PDF/Excel OISD Report Generator

                         NICE TO HAVE (Time Permitting)
                         ------------------------------
                         • Assamese/Hindi Voice-to-Text reporting
                         • Real-time WhatsApp/SMS alert simulation

                         DO NOT BUILD DURING HACKATHON
                         -----------------------------
                         • Production SAP/Oracle ERP Deep Connectors
                         • Biometric Login / Enterprise Active Directory Sync
                         • Autonomous Drone/CCTV Video Analytics Integration
+---------------------------------------------------------------------------------------------------+

In Scope (Hackathon Build)

  • Core NLP Engine: Fine-tuned Transformer model + EEI heuristic rule filter for binary SIF detection [PS].
  • IOGP LSR Mapper: Automated tagging across all 9 IOGP Life-Saving Rules [PS].
  • Entity Extraction: Basic NER model extracting Activity, Location, and Barrier Failure [PS].
  • Interactive Dashboard: Web UI displaying spatial asset heatmaps, precursor density rankings, and drill-down audit views [PS].
  • Offline Demo Mode: Functional PWA demonstrating offline report logging and re-sync upon toggling offline/online mode [INFERENCE].
  • Dataset Engine: Realistic synthetic dataset of 1,500+ Indian O&G safety reports generated and annotated for training and live demo testing [ASSUMPTION].

Described Only / Out of Scope (Production System)

  • Live direct database connector to OIL's production SAP EHS / Oracle enterprise deployment [INFERENCE].
  • Full integration with OIL's internal Single Sign-On (SSO) / Active Directory infrastructure [INFERENCE].
  • Hardware-level integration with intrinsically safe explosion-proof handheld mobile terminals [INFERENCE].

17. Live Demo Simulation Plan

To present a convincing demonstration to SIH judges without exposing proprietary OIL data or requiring live oilfield connectivity, the team will implement the following simulation protocol:

+---------------------------------------------------------------------------------------------------+
|                                     LIVE DEMO SIMULATION FLOW                                     |
+---------------------------------------------------------------------------------------------------+

 [ STEP 1: REAL-TIME NARRATIVE INPUT ]
 Inject complex free-text report (e.g., "Rig #4 Duliajan: Gas monitor alarm beeped during grinding.
 Operator bypassed detector and continued work without permit.")

                                   |
                                   v
 [ STEP 2: LIVE HYBRID INFERENCE VISUALIZATION ]
 Display side-by-side processing execution:
   • Rule Engine: Triggers "Bypassing Safety Control" & "Hot Work" Rules.
   • DeBERTa-v3 Model: Outputs SIF Probability = 96.4% (SIF-Potential).
   • Multi-Label Head: Highlights IOGP LSR Icons (#1 Bypassing Controls, #5 Hot Work).

                                   |
                                   v
 [ STEP 3: DYNAMIC MAP & DENSITY RE-RANKING ]
 Dashboard map updates instantly: Duliajan Rig #4 glows RED.
 Precursor Density Metric jumps from 18% to 28% (Exceeds Threshold).

                                   |
                                   v
 [ STEP 4: OFFLINE PWA SYNC SIMULATION ]
 Disconnect laptop Wi-Fi -> Submit new report on mobile PWA UI -> Reconnect Wi-Fi.
 PWA automatically pushes queued payload; dashboard updates without page refresh via WebSockets.
+---------------------------------------------------------------------------------------------------+
  1. Simulated Ingestion Feeds: A real-time "Stream Simulator" tool built into the UI that injects synthetic field reports at a controlled rate (1 report every 3 seconds) to demonstrate live background streaming, queueing, and processing [INFERENCE].
  2. Realistic Ground-Truth Test Cases: Prepare 5 distinct test scenarios representing diverse oilfield operational contexts:
    • Case A (High-Energy SIF Precursor): Gas detector bypass during hot work near gas separator [INFERENCE].
    • Case B (Low-Severity Non-SIF): Trip hazard over tripping hazard tape on walkway (Minor UA/UC) [INFERENCE].
    • Case C (Complex Multi-LSR Event): Unisolated valve opening during confined space vessel entry [INFERENCE].
    • Case D (Jargon/Regional Phrasing): Hinglish description ("Derrick man missed safety latch on pipe elevator") [INFERENCE].
    • Case E (False Positive Stress Test): Worker dropped a plastic coffee cup from 2-meter platform (Height present, but low mass/energy) -> Model correctly classifies as Non-SIF [INFERENCE].
  3. Data Transparency Statement: Explicitly state to judges: "This live demo utilizes a realistic synthetic dataset designed according to OISD/IOGP standards to preserve operational confidentiality." [INFERENCE]

18. Implementation Roadmap

Target Deadline: 30 September 2026 [PS].

+---------------------------------------------------------------------------------------------------+
|                                      IMPLEMENTATION ROADMAP                                       |
+---------------------------------------------------------------------------------------------------+

 [ PHASE 1: DATA PIPELINE & RULE ENGINE ] (Duration: 2 Weeks | Target: Sept 10, 2026)
   • Finalize taxonomy for IOGP 9 Life-Saving Rules and EEI high-energy criteria.
   • Synthesize and curate 2,000 annotated O&G safety reports (SIF vs Non-SIF, LSR tags).
   • Build Stage 1 EEI High-Energy Rule Engine in Python.

                                   |
                                   v
 [ PHASE 2: MODEL TRAINING & NLP OPTIMIZATION ] (Duration: 2 Weeks | Target: Sept 18, 2026)
   • Fine-tune DeBERTa-v3-base multi-task model on synthetic dataset.
   • Train Spacy NER model for Activity, Location, Barrier Failure extraction.
   • Quantize models to INT8 ONNX format for accelerated inference.

                                   |
                                   v
 [ PHASE 3: BACKEND API & DATABASE ARCHITECTURE ] (Duration: 1.5 Weeks | Target: Sept 23, 2026)
   • Set up PostgreSQL + PostGIS database schema and `pgvector` indexing.
   • Build FastAPI REST endpoints, Celery async background processing, and WebSocket stream.
   • Implement IndexedDB offline sync logic in ServiceWorker.

                                   |
                                   v
 [ PHASE 4: FRONTEND DASHBOARD & GIS VISUALIZATION ] (Duration: 1 Week | Target: Sept 28, 2026)
   • Develop React.js UI with Deck.gl spatial mapping, risk heatmaps, and ranking tables.
   • Integrate Human-in-the-Loop review panel and export capabilities.

                                   |
                                   v
 [ PHASE 5: SYSTEM TESTING, SIMULATION & FREEZE ] (Duration: 2 Days | Target: Sept 30, 2026)
   • Perform end-to-end stress testing, offline sync verification, and false-positive evaluation.
   • Code Freeze & Final Presentation rehearsed for SIH judging panel.
+---------------------------------------------------------------------------------------------------+

19. Testing & Validation Plan

Test Category Target Metric / Benchmark Testing Methodology
Functional SIF Accuracy Precision $\ge 88%$, Recall $\ge 92%$, F1 $\ge 90%$ [INFERENCE]. Evaluated against a hold-out test set of 300 expert-annotated safety reports [INFERENCE].
False Negative Rate (Safety Critical) $\le 5%$ False Negative Rate on High-Energy events [INFERENCE]. Stress testing with 50 severe SIF precursor scenarios; zero missed high-energy events allowed [INFERENCE].
False Positive Rate (Efficiency) $\le 12%$ False Positive Rate [INFERENCE]. Evaluating low-severity trip/scratch reports to ensure system does not trigger alarm fatigue [INFERENCE].
Multi-Label IOGP Tagging Accuracy Hamming Loss $\le 0.05$, Micro-F1 $\ge 87%$ [INFERENCE]. Multi-label evaluation across all 9 IOGP LSR classes [INFERENCE].
API Latency & Throughput $< 150\text{ ms}$ per report inference time on CPU [INFERENCE]. Load testing FastAPI endpoints using Locust with 50 concurrent requests [INFERENCE].
Offline Sync Reliability 100% data preservation during offline-to-online state transition [INFERENCE]. PWA offline testing: Queueing 50 reports in airplane mode, restoring network, verifying database consistency [INFERENCE].
Geospatial Query Speed $< 50\text{ ms}$ spatial heatmap rendering time for 10,000 points [INFERENCE]. PostGIS spatial index testing (ST_DWithin, spatial clustering) [INFERENCE].

20. Risk Register

Risk Event Likelihood Impact Severity Mitigation Strategy
Lack of Real Proprietary OIL Training Data High High HIGH Build a high-quality synthetic dataset based on OSHA, IOGP, and EEI public safety logs; construct a modular pipeline so OIL can retrain the model on-premise in 1-click using their real data [ASSUMPTION].
Alarm Fatigue from High False Positives Medium High HIGH Implement dual-stage scoring (EEI High-Energy rules + Transformer probability threshold tuning at 0.65) to suppress minor UA/UC noise [INFERENCE].
Model Failure on Local Assamese/Hinglish Field Jargon High Medium MEDIUM Augment training dataset with domain-specific oilfield glossaries (e.g., "BOP", "derrick", "Christmas tree", "mud pit") and multi-lingual dictionary normalization [INFERENCE].
Offline Sync Data Loss on Field Smartphones Low High HIGH Use persistent IndexedDB storage combined with client-side transaction logs and server-side deduplication UUIDs [INFERENCE].
Resistance from Field HSE Officers (User Adoption) Medium Medium MEDIUM Design zero-friction UI requiring free-text only; auto-fill all drop-downs automatically; highlight time saved [INFERENCE].

21. Cost & Scalability

Hackathon Prototype Cost

  • Compute / GPUs: $0 (Utilizing free Google Colab T4 / Kaggle GPUs for model training) [ASSUMPTION].
  • Database & Hosting: $0 (Local Docker deployment on developer laptops) [ASSUMPTION].
  • Mapping API: $0 (Open-source Leaflet / Deck.gl + OpenStreetMap tiles) [ASSUMPTION].
  • Total Hackathon Cost: ₹0 / $0 [ASSUMPTION].

Production Deployment Cost (Oil India Limited On-Premise / Sovereign Cloud)

  • On-Premise Compute Hardware: 2x GPU Server Nodes (NVIDIA L4 24GB or A10G) for real-time inference & batch retraining ~ ₹8,000,000 (One-time capital expenditure) [INFERENCE].
  • Database & Application Server Infrastructure: Existing OIL Private Cloud VMs (PostgreSQL + Redis + FastAPI Docker nodes) ~ ₹0 incremental hardware cost [INFERENCE].
  • Software Licensing: 100% Open-Source Stack (Linux, PostgreSQL, DeBERTa, FastAPI, React) ~ ₹0 recurring vendor software license fees [INFERENCE].
  • Scalability Capability:
    • Single GPU node handles >150 reports/second [INFERENCE].
    • Horizontal API scaling via Docker Swarm / Kubernetes to support thousands of concurrent field workers across all OIL operational assets [INFERENCE].

22. Differentiation

Capability Generic Hackathon Submission Proposed SIF-Guard AI Platform Justification / Requirement Tie-in
SIF Detection Methodology Generic keyword matching or raw ChatGPT prompts [INFERENCE]. Hybrid Engine: EEI High-Energy Heuristic Rules + Fine-Tuned Transformer [INFERENCE]. Aligns with global best practice research (DEKRA Martin & Black 2015; VelocityEHS) cited in PS [PS].
IOGP Life-Saving Rules Taxonomy Random or arbitrary safety categories [INFERENCE]. Strict Multi-Label Mapping to official 9 IOGP Life-Saving Rules [RESEARCHED]. Directly fulfills Requirement (b) of Problem Statement [PS].
Offline Capability Fails completely without internet connectivity [INFERENCE]. Offline-first PWA with IndexedDB caching and background ServiceWorker sync [INFERENCE]. Essential for remote Assam/Arunachal oilwell locations [RESEARCHED].
Actionable Intelligence Static chart displays [INFERENCE]. Spatial-Temporal Precursor Density Metric ranking sites/activities in real time [PS]. Fulfills Expected Outcome: "ranks sites/activities by SIF-precursor density" [PS].
Data Privacy & Compliance Sends data to external commercial APIs [INFERENCE]. 100% On-premise execution, PII NER anonymization, OISD compliant [RESEARCHED]. Complies with Indian sovereign cloud and PSU security mandates [RESEARCHED].

23. Future Scope

  1. Multimodal Incident Reporting: Extend model to accept field photographs and audio voice notes, utilizing lightweight Vision Transformers (ViT) to detect missing PPE / safety barrier breaches in images [INFERENCE].
  2. Predictive Root Cause & CAPA Recommendation: Integrate Retrieval-Augmented Generation (RAG) over OIL's historical Corrective and Preventive Action (CAPA) database to automatically suggest past successful mitigation strategies for newly detected SIF precursors [INFERENCE].
  3. Wearable IoT & Geofencing Integration: Connect real-time SIF precursor alerts to field workers' intrinsically safe smartwatches/beacons to trigger proximity warnings when entering high-density SIF hazard zones (e.g., under active suspended loads) [INFERENCE].

24. Assumptions & Open Items Log

Consolidated [ASSUMPTION] Items:

  1. Synthetic Dataset Baseline: Assumed a synthetic dataset of 2,000 O&G safety reports generated from OSHA/IOGP public domain logs is sufficient for prototype fine-tuning [ASSUMPTION].
  2. Spatial Asset Coordinates: Assumed anonymized geospatial coordinates representing Assam oilfield clusters for GIS heatmap demonstration [ASSUMPTION].
  3. Zero Software Budget: Assumed open-source software stack and free tier development tools are used for hackathon build [ASSUMPTION].
  4. User Persona & Hardware: Assumed field workers possess basic Android smartphones capable of running modern WebPWAs [ASSUMPTION].

Consolidated [NEEDS VALIDATION] Items:

  1. OIL HSSE Database Schema: Exact schema and API interfaces of OIL's existing HSSE reporting software platform [NEEDS VALIDATION].
  2. Historical Report Length: Mean word count and exact language distribution (English vs Assamese vs Hindi) in OIL historical safety logs [NEEDS VALIDATION].
  3. Corporate Firewall Protocols: Network integration and VPN clearance requirements for deploying containerized services inside OIL's intranet [NEEDS VALIDATION].

Final Recommendation

Build Approach 3 (Hybrid Fine-Tuned SLM + EEI Rule Engine). It provides high precision on SIF detection, strictly adheres to IOGP standards, operates offline in remote oilfields, ensures 100% data privacy for OIL, and directly answers all explicit requirements of SIH26165 [PS].

Recommended Stack

  • Frontend: React.js + Vite + TailwindCSS + Deck.gl + Dexie.js (PWA IndexedDB) [KNOWN].
  • Backend: FastAPI (Python 3.12) + Celery + Redis + Spacy NER [KNOWN].
  • AI/ML: Fine-Tuned DeBERTa-v3-base + ONNX Runtime + EEI Rule Engine [RESEARCHED].
  • Database: PostgreSQL 16 + PostGIS + pgvector [KNOWN].

Biggest Dependency

Acquisition or high-fidelity synthesis of realistic Indian oil & gas free-text safety reports annotated with ground-truth SIF and IOGP Life-Saving Rule labels [INFERENCE].

Biggest Risk

Alarm fatigue caused by high false-positive rates, leading HSE officers to ignore dashboard warnings [INFERENCE].

Biggest Technical Challenge

Fine-tuning a lightweight, quantized NLP Transformer model that achieves $>90%$ SIF recall while correctly handling mixed English/Hinglish field jargon and spelling anomalies [INFERENCE].

First 5 Actions

  1. Action 1: Construct and validate the standard 9 IOGP Life-Saving Rules JSON taxonomy and EEI High-Energy decision tree rules [RESEARCHED].
  2. Action 2: Generate and annotate a high-quality synthetic dataset of 2,000 O&G UA/UC reports [ASSUMPTION].
  3. Action 3: Build and validate the Stage 1 EEI High-Energy Python Rule Engine [INFERENCE].
  4. Action 4: Fine-tune microsoft/deberta-v3-base on the annotated dataset for SIF binary classification and multi-label LSR tagging [RESEARCHED].
  5. Action 5: Develop the React.js + Deck.gl interactive spatial dashboard and integrate the FastAPI ONNX inference engine [INFERENCE].

Validation Before Coding

  • Validate that the synthetic training dataset accurately reflects the 20–25% SIF distribution ratio cited in research literature (DEKRA / VelocityEHS) [PS].
  • Verify that ONNX Runtime inference latency on standard x86 CPU is under 150 ms per report [INFERENCE].

Buildability Score /100

92 / 100 Reasoning: Excellent alignment with open-source stack and standard NLP classification techniques. The primary effort lies in dataset annotation and UI dashboard development, which are completely achievable within the hackathon timeline by a 4-6 student team [INFERENCE].

Confidence

HIGH [INFERENCE]

Research Sources

  1. Title: Safety Classification and Learning (SCL) Model

  2. Title: IOGP Life-Saving Rules (IOGP Report 459)

    • URL: https://www.iogp.org/workstreams/safety/safety/life-savingrules/
    • Source Type: International Industry Standard Organization [RESEARCHED]
    • Supported Claim: Standardized definitions of the 9 IOGP Life-Saving Rules (Bypassing Controls, Confined Space, Driving, Energy Isolation, Hot Work, Line of Fire, Safe Lifting, Work Authorisation, Height) [RESEARCHED].
    • Reliability: High (Global oil & gas industry consensus standard) [RESEARCHED]
  3. Title: Automatic Identification of Incidents Involving Potential Serious Injuries and Fatalities (PSIF)

    • URL: https://pmc.ncbi.nlm.nih.gov/articles/PMC10998882/
    • Source Type: Academic Journal Publication / PubMed Central [RESEARCHED]
    • Supported Claim: Proves machine learning (Transformers + XGBoost) combined with NLP effectively automates SIF/PSIF precursor classification from unstructured incident logs [RESEARCHED].
    • Reliability: High (Peer-reviewed scientific journal) [RESEARCHED]
  4. Title: VelocityEHS Launches New "PSIF" AI to Identify Next Serious Injury or Fatality

  5. Title: Incident Reporting Guidelines — Oil Industry Safety Directorate (OISD)

    • URL: https://oisd.gov.in/incident-reporting-guidelines
    • Source Type: Official Indian Government Regulatory Directorate [RESEARCHED]
    • Supported Claim: Outlines statutory definitions for High Potential (Hi-Po) Near Misses, Form 2 / Form 3 quarterly reporting, and OISD safety compliance rules for Indian petroleum operators [RESEARCHED].
    • Reliability: High (Official Government of India Regulatory Body) [RESEARCHED]
02 / What our

DEVELOPERS SAY

" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
Satyam Kumar
Satyam Kumar
CEO , Full Stack Developer
" The platform makes SIH problem statements much easier to understand. Having everything from the problem details to the procedure in one place. "
Rishabh Ranjan
Rishabh Ranjan
COO , Content Writer
" Oh, you got ads? Well, we need to make money too! But, you can use our platform to help you win SIH and take home the prize money. "
Himanshu Kumar
Himanshu Kumar
CMO , Product Reviewer
03 / Are You

READY TO
BUILD?

Get in touch if you need help bringing your ideas to life, or simply have an interesting idea you'd like to talk through. I'm always open to a conversation and exploring new possibilities together.