Sandun Munasinghe.

AI · RESEARCH · ENGINEERING

Skip to content
SandunMunasinghe.
OverviewAboutExperienceProjectsSkillsEducationContact
Let’s talk
OverviewAboutExperienceProjectsSkillsEducationContact
SANDUN MUNASINGHE / PROJECTS

Projects

Research, experimentation, and engineering behind intelligent systems.

A collection of research projects, personal builds, and applied ML/AI solutions across natural language processing, multi-agent systems, and chemical engineering.

01 / LLM RESEARCH

LLM Truthfulness & Interpretability

Evaluating how adversarial prompts influence truthfulness in large language models.

Truthfulness Rate (%)0255075100baseline89.7%Baseline75.6%Conspiracy72.0%Popular Myth60.5%Force Wrong
Problem

Understand how different prompting strategies affect model truthfulness and where untruthful behaviors emerge inside the model.

Approach

Used TruthfulQA (790 questions) with four prompt conditions, generated responses using Gemma-3-4B-it, and analyzed results with GPT-5.6 Sol. Applied logit lens analysis to study internal activations.

Key Results
Baseline: 89.7%Conspiracy: 75.6%Popular Myth: 72.0%Force Wrong: 60.5%
Truthfulness under different prompting conditions
Baseline89.7%
Conspiracy75.6%
Popular Myth72.0%
Force Wrong60.5%
Technologies & Tools
PythonPyTorchTransformersTruthfulQAInterpretabilityLogit LensPandasMatplotlib
View Code→Read Case Study→

02 / AI SYSTEMS

Multi-Agent LLM Conflict Resolution

Exploring multi-agent decision-making using LangGraph orchestration strategies such as majority voting, structured debate, hierarchical authority, and evidence-weighted consensus.

consensusA1PlannerA2CriticA3ResearcherA4Executor
Problem

Investigate how multiple LLM agents with different roles can collaborate, resolve disagreements, and make better decisions on complex, open-ended tasks.

Approach

Built a multi-agent framework using LangGraph with majority voting, structured debate, hierarchical authority, and evidence-weighted consensus. Evaluated across 9 behavioral metrics and 32 scenarios.

Key Results
Misinformation agents outperformed factual agents in 88% of cases (p < 0.006) across 9 behavioral metrics and 32 scenarios.
System Architecture · LangGraph Multi-Agent Workflow
Task InputUser Query→
PlannerDecompose→
ResearcherGather Info→
CriticEvaluate→
ConsensusAggregate→
ExecutorGenerate
Technologies & Tools
PythonLangGraphLangChainFastAPINext.jsNLPMulti-Agent Systems
View Code→Read Case Study→

03 / ENGINEERING AI

Chemical Engineering LLM from Scratch

IN PROGRESS

Building a domain-specific language model for chemical and process engineering using a GPT-2 style decoder-only transformer.

Process DesignThermodynamicsReactor DesignSeparationsProcess Control
Problem

Create a specialized language model that understands chemical engineering concepts, equations, process design knowledge, and troubleshooting steps for real industrial applications.

Approach

Built a GPT-2 style decoder-only transformer in PyTorch. Developed automated pipelines to collect 3,000+ arXiv papers and Wikipedia articles, and processed 2,300+ research papers into a curated 10M-token corpus.

Long-term Goal

Develop an AI-powered chemical engineering assistant capable of answering technical questions, explaining engineering concepts, and supporting process troubleshooting and engineering design.

Data Pipeline · 10M-Token Corpus
CollectarXiv · Wikipedia→
CleanDeduplicate→
2,300+Papers→
Tokenstiktoken→
TrainGPT-2→
10MCorpus
Technologies & Tools
PyTorchtiktokenTransformersNLPData ProcessingChemical Engineering
View Code→Read More→

Let’s build something
meaningful.

Open to opportunities in machine learning, AI, and chemical engineering.
Great ideas begin with a conversation.

START A CONVERSATIONsandunmunasinghe2017@gmail.com
Email Sandun Download Resume
SandunMunasinghe.
OverviewAboutExperienceProjectsSkillsEducationContact

© 2026 Sandun Munasinghe.
All rights reserved.