Skip to main content
GeorbitTECHNOLOGY & RESEARCH WING
ResearchPublicationsBlogTeamFellowships
Join Research Wing →
ResearchPublicationsBlogTeamFellowships
Join Research Wing →
GeorbitTECHNOLOGY & RESEARCH WING
Open Computer Science, Autonomous Intelligence & Systems Research.

Georbit's primary technology research wing advancing open scientific inquiry across autonomous intelligence, latent precursor modeling, and spatio-temporal informatics. Dedicated to reproducible preprints and open code.

Looking for product-based work? Visit the dedicated Product Division.

Research Navigation
ResearchPublicationsBlogTeamFellowships
Faculty Laboratories
LAB-TAProf. Tanvir AhmadLAB-MAProf. Musheer AhmadLAB-AMProf. Mohammad AmjadLAB-SGSachin Gaur
Open Research & Code
GitHub / georbit-orgPublications & Preprintsresearch@georbit.orgJoin Research Wing / Fellowships →
Georbit Technology & Research Wing · New Delhi & Dehradun · © 2026 · Site content CC BY 4.0 · Code under MIT / Apache-2.0Apply for Research Fellowship →
← Back to Blog
CORESafetyBERTIndustrial Safety

How We Built a 14-Layer Safety Intelligence Pipeline to Catch Industrial Incidents Before They Happen

Most incident reporting systems are reactive — they record what went wrong after the fact. ASCENSION takes the opposite approach: extracting latent precursor signals from years of narrative incident logs before they escalate into catastrophes. Here's the architecture behind it.

AS

Ayaan Saifi

Co-Founder & Systems Architect

12 March 2025

9 min read

Industrial safety intelligence has long been trapped in a reactive loop. An incident occurs, a report is filed, and the data sits in a siloed database — rarely cross-referenced with similar near-misses from three years prior. ASCENSION was built to break that loop.

The Core Problem

OIL India's HSSE database contains thousands of incident narratives written by field engineers in natural language. Each report describes a hazard, the barriers that failed, and the outcome. The challenge is that the same barrier failure — say, a defective pressure relief valve — might be described in 40 different ways across 40 different reports. No keyword search can reliably find them all.

The 14-Layer Architecture

We designed a pipeline that moves from raw text to calibrated risk intelligence in 14 discrete, auditable stages:

  1. Ingestion & Deduplication — Raw reports are normalised, deduplicated by fuzzy hash, and loaded into a PostgreSQL medallion store.
  2. Domain Embedding — We fine-tuned a BERT checkpoint on HSSE corpora (SafetyBERT) to encode incident narratives into 768-dimensional semantic vectors stored via pgvector.
  3. Barrier Ontology Matching — A critical barrier ontology (derived from IEC 61511 and OIL internal standards) is matched against each narrative using RapidFuzz token-set ratio with a tuned threshold of 82.
  4. Platt-Calibrated Classification — An XGBoost ensemble classifies each extracted segment as a confirmed barrier degradation, potential precursor, or noise. Platt scaling corrects the overconfident raw probabilities.
  5. Dual-Threshold Abstention — Segments with confidence between the low and high threshold are routed to a human-in-the-loop queue rather than being force-classified.
  6. Precursor Density Shrinkage — Bayesian Beta-Binomial shrinkage estimates the true recurrence rate of each precursor class across the corpus, dampening noise from low-count events.

What We Found

Across the first 3,200 incident reports processed, ASCENSION surfaced 14 distinct precursor chains that had not been captured by manual review. Three of them involved repeated partial failures of the same barrier category across geographically separate sites — the kind of pattern that is invisible in a siloed, per-site reporting system.

Open Code

The full pipeline is available on GitHub under Apache 2.0. We welcome contributions from safety engineers, ML researchers, and domain experts.

SafetyBERTIndustrial SafetyNLPPrecursor IntelligenceASCENSION

More from the Lab

LAB-MA

Why Chaotic Dynamical Systems Make Better S-Boxes — And Why That Matters for Modern Cryptography

Prof. Musheer Ahmad11 min
CORE

Predicting Disaster Risk Across India Using 11 Years of Climate Data — What We Built, What We Learned

Matrika Regmi8 min
LAB-AM

Using Genetic Algorithms to Automatically Generate Test Cases — From Research to Practical Software Testing

Prof. Mohammad Amjad10 min
View All Posts →