Samarth Sharma
@samarthsharma_7
Samarth Sharma
@samarthsharma_7
Data science intern, MeghaAI
Bengaluru, India
AI/ML Engineer | Decision Systems
[email protected] | +91 7204854721 | Bengaluru, Karnataka
GitHub: github.com/samarthsharma77 | LinkedIn: linkedin.com/in/samarth-sharma-a26142362 | LeetCode:
leetcode.com/u/Samarthsharma123 | Codeforces: codeforces.com/profile/samarthsharma777
EDUCATION
M. S. Ramaiah Institute of Technology, Bengaluru, Karnataka
B.Tech in Computer Science & Engineering | 2nd Year | 2024–2028 | CGPA: 8.8
ENGINEERING PHILOSOPHY
I build decision systems, not just models. My focus is on systems that operate reliably under uncertainty, failure, and real-world
constraints — with explicit auditability, safety invariants, and production-grade control. I prioritize correctness under refusal over
answer rate, and design for the hard cases first.
COMPLETED PROJECTS
Regulatory Intelligence & Compliance Enforcement Platform
• Architecture: Engineered an enterprise-grade production platform on Databricks Lakehouse using a Multi-Agent LangGraph
system designed for NBFC-ICC and banking compliance.
• Compliance Loop: Designed an architecturally distinct "Compliance Loop" subsystem that detects regulatory rule changes and
triggers selective re-evaluation of only the affected user subset.
• Deterministic Enforcement: Implemented zero-hallucination paths by separating qualitative AI reasoning from deterministic
financial validation.
• Auditability & Traceability: Developed dependency-aware audit records (rules_used) that store the exact regulatory provisions
that caused a decision, enabling full decision lineage for RBI auditors.
• Platform Security: Enforced platform-level immutability using Unity Catalog DENY MODIFY privileges at the storage layer to
ensure audit trails are legally defensible.
• RAG Pipeline: Built a dynamic regulatory retrieval pipeline using Databricks Vector Search with a continuous sync policy to
synchronize with live RBI circulars.
Controlled Enterprise Policy LLM System [Completed]
• Objective: A governance-first, invariant-driven policy interpretation engine built for enterprise HR and compliance environments
where an incorrect answer carries higher risk than a refusal. The system rejects the conventional LLM optimization objective
(helpfulness) and replaces it with a new objective: correctness under refusal.
• Problem & Motivation: Conventional LLMs fail in enterprise settings due to unauthorized role leakage, hallucinated policy
synthesis, unsafe ambiguity resolution, and absence of auditability.
• Mechanism: Designed the system around a low-risk policy ideology: high-risk policies (enforcement, discipline, access control)
default to refusal unless explicitly authorized; low-risk policies tolerate limited grounded ambiguity only. Risk is treated as a
first-class control signal — not a post-hoc filter applied after generation.
• Data Pipeline & Policy Corpus: Policies manually curated and normalized — not scraped — ensuring legal interpretability and
eliminating contradictions present in informal sources. Corpus chunked into semantically complete, independently interpretable
atomic paragraphs — no cross-policy merging, no inferred rules. Each chunk enriched offline with explicit metadata: policy ID,
section hierarchy, visibility scope (public/internal), risk classification, and authorized roles. Metadata never inferred at runtime — it
is a frozen control layer that directly drives authorization, retrieval filtering, and audit attribution.
6-Gate Multi-Gate Decision Controller:
• Gate 1 — Role Validation: verifies that detected policy topics are authorized for the declared user role; unauthorized
combinations trigger immediate deterministic refusal.
• Gate 2 — Domain Validation: ensures query lies strictly within the HR policy ontology; out-of-domain queries refused without
LLM invocation.
• Gate 3 — Evidence Sufficiency: evaluates whether retrieved chunks provide adequate and explicit coverage; implied or
inferred rules are treated as insufficient.
• Gate 4 — Ambiguity Safety: detects multiple valid interpretations whose resolution would alter authorization, risk level, or
policy meaning; ambiguity triggers refusal — LOW_RISK precedence applied only when demonstrably safe.
• Gate 5 — Grounding Feasibility: determines whether a response can be produced without abstraction or synthesis beyond
retrieved policy text; ungroundable queries deny LLM invocation entirely.
• Gate 6 — Post-Generation Grounding Verification: after LLM summarization, every claim is checked against retrieved
policy text; partial grounding, over-summarization, or implicit reasoning causes the answer to be discarded and replaced with a
refusal.
• Controlled LLM Invocation: LLM invoked only after all 6 gates pass; it receives retrieved policy chunks and explicit
summarization instructions only. LLM never receives user role, system rules, or other policies — it has zero authority to override
any gate decision. Clarification loops explicitly rejected: they risk leaking internal policy structure