Postdoctoral ResearcherLinköping University

Joonghyuk Hahn

한중혁

Trustworthy AI,
grounded in language and structure.

I am a postdoctoral researcher in the Trustworthy Systems Group (TSG) at Linköping University. Working with Simin Nadjm-Tehrani, I contribute to RESIST, a research center for resilient and secure AI systems.

Joonghyuk Hahn at Griffith Observatory
Currently based inLinköping, Sweden

Now at Linköping

Today's language models read untrusted content and act through tools, so trusting them takes more than a better filter. At Linköping, as part of RESIST, I work where LLM verification meets LLM security: checking what these systems produce, understanding how they fail under attack, and recognizing when they should refuse.

Research directions

From structure
to trust.

My work connects formal language theory with modern AI: evaluating what language models can reliably do, checking the correctness of their outputs, and improving how they reason about programs.

01Verification & safety

Can we check what AI produces?

Formal specifications, verifiable transformations, and symbolic guidance for more reliable generation and repair.

02Code intelligence

Can AI reason about programs?

Structure-aware methods for code analysis, complexity prediction, and evaluation beyond functional correctness.

03Language & foundations

What does structure make possible?

Formal grammars, automata, and symbolic learning as foundations for understanding language and computation.

Selected work

A closer look at the research.

All publications
Query4Regex concept: natural-language and DSL instructions, regex transformation, and DFA equivalence checking.
Verifiable transformationsFindings of EACL 2026

Query4Regex

Query4Regex: Verifiable Regex Transformation through Formal Operations from NL and DSL Queries

Evaluating regex transformations with formal operations and deterministic finite automata equivalence checks.

Joonghyuk Hahn, Yo-Sub Han

Illustrative language-preserving regex simplification: nested repetition (a+)+ becomes a+.
Security-oriented repairEACL 2026

Regex repair

Repairing Regex Vulnerabilities via Localization-Guided Instructions

Localizing vulnerable subpatterns symbolically, then guiding language models to repair regular expressions.

Sicheol Sung*, Joonghyuk Hahn*, Yo-Sub Han

ContractEval evaluates correct results for valid inputs and rejection of contract-violating inputs.
Beyond functional correctnessFindings of ACL 2026

ContractEval

ContractEval: A Benchmark for Evaluating Contract-Satisfying Assertions in Code Generation

Evaluating whether generated code enforces input preconditions, beyond correctness on valid inputs.

Soohan Lim*, Joonghyuk Hahn*, Hyunwoo Park, Sang-Ki Ko, Yo-Sub Han

TCProF concept: symbolic analysis and co-training support code time-complexity prediction.
Learning with code structureNAACL 2025

TCProF

TCProF: Time-Complexity Prediction SSL Framework

Combining symbolic analysis and semi-supervised learning for code time-complexity prediction.

Joonghyuk Hahn, Hyeseon Ahn, Jungin Kim, Soohan Lim, Yo-Sub Han

* Equal contribution. Illustrations describe research concepts; see each paper for methods and results.

Updates

Recently.

Jul 2026

ContractEval, a benchmark for checking whether generated code enforces its input contracts, appears in Findings of ACL 2026. Paper

Mar 2026

Three papers at EACL 2026: Query4Regex in Findings, and work on regex vulnerability repair and regex minimization in the main conference. Read the papers

Earlier updates
Feb 2026

I received my Ph.D. in Computer Science from Yonsei University, advised by Yo-Sub Han. Background

2026

EnCur, our work on curriculum-based in-context learning for code time complexity prediction, appears in Expert Systems with Applications. Paper

Aug 2025

I presented work on the sparsity of M-unambiguous languages at DLT 2025. Conference program

2025

TCProF, our semi-supervised framework for time-complexity prediction, was presented at NAACL 2025. Paper

Background

Along the way.

  1. Sep 2026–present

    Postdoctoral Researcher

    Linköping University · TSG / RESIST

  2. 2019–Feb 2026

    Ph.D. in Computer Science

    Yonsei University
    Advisor: Yo-Sub Han

  3. 2015–2019

    Computer Science

    Bachelor’s degree · Yonsei University

Full background & experience

An open conversation

Good research starts
with a question.

I welcome conversations about trustworthy AI,
formal methods, and code intelligence.