Research

Research Areas

My work sits where cryptography meets deployed systems, and lately where both meet generative models. The question underneath all of it is the same: how do you prove something is trustworthy without having to hand over everything you know?

Security and Authorization of AI Systems and Agentic AI

Large language models and the agents built on them are now exposed directly to untrusted input, which makes them an attack surface rather than just a capability. I work on defences that are cheap enough to run in the request path: dense semantic embeddings for prompt-safety guardrails, benign-anchored methods for cutting false alarms in intrusion detection, and identity mechanisms that let autonomous agents prove who they are acting for.

LLM prompt safetyguardrails agentic AISSI for AI agents explainable AIintrusion detection

Key publications

LLMs, Generative AI models, and Agentic AI architectures

Current direction — work in progress

Most of my work so far has treated large language models as something to defend. I have recently started working on building them instead: autoregressive LLM architectures, and diffusion-based generative models as an alternative to left-to-right generation. The two paradigms trade off differently on sample quality, controllability and inference cost, and those differences matter for the safety questions in my other work — a model you can steer during generation is a model you can constrain.

autoregressive modelsdiffusion models generative modellingLLM pretraining model architecture

Current-direction contributions

  • 2026

    Autoregressive Transformer Language Model — git repo

    GPT-style decoder-only transformer built from scratch in PyTorch — 13.9M parameters, 6 layers, trained CPU-only on TinyStories in under 10 hours to a test perplexity of 5.74 — with a hand-written causal-attention implementation and a comparison of seven decoding strategies and their effect on narrative coherence.

  • 2026

    A Small Diffusion Language Model — git repo

    Masked diffusion language model that generates stories by iteratively unmasking tokens instead of writing left-to-right, with configurable reveal order and 4–32 step sampling. Underperforms an equally sized autoregressive baseline (perplexity ≤11.7 vs 5.2), with local incoherence in 97% of outputs from tokens revealed simultaneously.

  • 2026

    Autoregressive vs. Diffusion Language Models — git repo

    Controlled benchmark of autoregressive and masked-diffusion language models under identical conditions — same 13.9M-parameter size, same 163.8M training tokens, same TinyStories data. The autoregressive model is 6.3× more fluent by an independent scorer (perplexity 8.5 vs 54.1) and wins on blind quality rubrics; diffusion is competitive only under aggressive step reduction.

  • 2026

    Knowledge Distillation — git repo

    Distills a 13.9M-parameter teacher into a 5.3M-parameter student via combined cross-entropy and KL-divergence loss — 2.6× smaller, roughly 1.8× faster inference, closing about 27% of the quality gap (test perplexity 9.63 to 8.59).

  • 2026

    Adaptive Generation Scheduling for Diffusion Language Models — git repo

    Decides which blanks a masked diffusion model fills first, and never fills two neighbouring tokens in the same pass. This removes doubled words and broken grammar at little cost.

  • 2026

    Parallel Decoding for Diffusion Language Models — git repo

    Fills many blanks at once instead of one pass per token. A simple trick makes generation 2.2× faster at no cost in quality.

  • 2026

    Distillation of Diffusion Language Models — git repo

    Teaches a diffusion model to finish generation in 8 passes instead of 16. The 8-pass student matches the 16-pass teacher.

  • 2026

    GRPO Arithmetic Post-Training — git repo

    Applies reinforcement learning (GRPO) to simple arithmetic in a tiny model, and compares it against spending the same compute on supervised training. From a weak start, the equal-compute supervised run gains more than GRPO does.

  • 2026

    Synthetic Data Generation and Training for LLMs — git repo

    A larger model writes extra training stories when real ones are scarce. Compared with the same amount of new real data, the synthetic stories deliver about half the gain, and data variety matters more than data quantity.

  • 2026

    Flow-Matching Language Model — git repo

    Generates text by moving random points in embedding space toward words. At matched size and training budget it produces word salad, with a scorer perplexity far above both autoregressive and masked-diffusion models.

  • 2026

    Diffusion vs. Flow-Matching Language Models — git repo

    Controlled comparison of the masked-diffusion and flow-matching language models under the same conditions, measuring quality, speed and memory.

  • 2026

    Efficient LLM Inference — git repo

    Faster text generation through a key-value cache, smaller weights, a draft model for speculative decoding, and vLLM serving.

  • 2026

    Reflex-Guard — preprint, under review

    A low-latency LLM prompt-safety guardrail pairing jailbreak-aware preprocessing with a 33M-parameter BGE encoder — the defence side of the same steer-and-constrain question that motivates the architecture work above. Submitted to IEEE Access.

  • 2026

    Grounded Intent Compilation — article, under review

    Fine-grained, least-privilege access control for clinical LLM agents, compiling LLM-extracted intent into deterministic OPA policies at tool-call and record level. Submitted to IEEE Open Journal of the Computer Society.

  • 2025

    The Role of Large Language Models in Cyber Security — book chapter, submitted

    Survey chapter on LLM applications and risks in cyber security, for AI-IoT-6G Enabled Smart Environment for Industry 5.0 and Society 5.0 (CRC Press).

  • 2026

    AgentRed — git repo

    Open-source red-teaming framework for automated security evaluation of LLM agents, covering prompt injection, tool misuse and data/system-prompt leakage.

Privacy-preserving Identity and Authorization

Identity verification normally works by disclosure: to prove you are eligible, you reveal the document that proves it. My doctoral research attacked that trade-off, building electronic know-your-customer systems where a user proves a claim without surrendering the underlying data — using self-sovereign identity, decentralized identifiers, verifiable credentials and zero-knowledge proofs over Merkle-tree commitments.

SSIDID verifiable credentialseKYC zk-SNARKsZK circuit design MPC

Doctoral dissertation

A Privacy-Preserving Decentralized eKYC Framework Leveraging SSI, DIDs, and Zero-Knowledge Proofs — Graduate School of Informatics, Osaka Metropolitan University, March 2026. Supervised by Prof. Tadashi Nakano and Prof. Thi Hong Tran, with Dr. Kentaroh Toyoda. Results published in IEEE Internet of Things Journal, IEEE Access and IEEE Transactions on Sustainable Computing.

Key publications

Blockchain and secure communication

Distributed ledgers are the substrate for most of this work, so I spend time on the substrate itself: consensus behaviour, smart-contract security, post-quantum-safe design, and what it takes to anchor credentials on-chain without the cost becoming absurd. Applied deployments have covered supply-chain traceability, healthcare authentication, charitable giving and on-chain governance.

consensussmart-contract security post-quantum-safe designWeb3 DeFidApps

Key publications

Software and research artefacts

  • 2026

    Autoregressive Transformer Language Model — GPT-style decoder-only LM built from scratch

    13.9M-parameter decoder-only transformer in PyTorch, trained CPU-only on TinyStories to a test perplexity of 5.74, with a hand-written causal-attention implementation, a byte-level BPE tokenizer, and a comparison of seven decoding strategies. Developer and maintainer.

  • 2026

    A Small Diffusion Language Model — masked-diffusion LM built from scratch

    Bidirectional transformer trained to generate stories by iteratively unmasking tokens rather than writing left-to-right, with configurable reveal ordering and 4–32 step sampling. Benchmarked against an equally sized autoregressive model. Developer and maintainer.

  • 2026

    Autoregressive vs. Diffusion Language Models — controlled architecture benchmark

    Head-to-head comparison of autoregressive and masked-diffusion language models at matched parameter count and training data, scored on fluency, blind quality rubrics and inference latency. Developer and maintainer.

  • 2026

    Knowledge Distillation — teacher-student compression for a small LM

    Distills a 13.9M-parameter language model into a 5.3M-parameter student via combined cross-entropy and KL-divergence loss, trading a small quality gap for smaller size and faster inference. Developer and maintainer.

  • 2026

    AgentRed — AI agent security assessment framework

    Open-source red-teaming framework for automated security evaluation of AI agents, covering prompt injection, tool misuse, sensitive-data leakage and system-prompt leakage. Developer and maintainer.

  • 2026

    LessonQ — learning management system

    Learning management platform built in Kotlin and operated in Bangladesh. Project lead.

  • 2023

    Customised Uniswap V2/V3 deployment

    Testnet implementation and analysis at INFONET Lab, Gwangju Institute of Science and Technology, Republic of Korea.

  • 2022

    ETH-ECC private Ethereum network on AWS

    Network deployment, mining, MetaMask integration and transfer tooling at INFONET Lab, GIST; documented at infonet.gist.ac.kr.

  • 2022

    BTCECC private Bitcoin network and block explorer

    Block parsing and processing pipeline for a customised Bitcoin network, INFONET Lab, GIST.

  • 2022

    Ethereum faucet dApp and ERC token implementations

    React, Truffle and Web3.js faucet with ERC-20, ERC-721 and ERC-1155 reference implementations, INFONET Lab, GIST.

Working on something adjacent?

I am always interested in collaborations on agent security, verifiable credentials and applied zero-knowledge systems.

Get in touch Browse publications

BibTeX