Kanghee Park

dblp:129/4392 · DBLP profile ↗
← Back
16ranked-venue papers
8as first author
11since 2021 · last 2025
—ORCID · conflict

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 13 · 5 first-author · 8 since 2021Software engineering, systems software and programming languages · 3 · 3 first-author · 3 since 2021Theory of computation · 1 · 1 first-author · 1 since 2021
YearPublicationVenuePosition
2025 Flexible and Efficient Grammar-Constrained Decoding
abstract
Large Language Models (LLMs) are often asked to generate structured outputs that obey precise syntactic rules, such as code snippets or formatted data. Grammar-constrained decoding (GCD) can guarantee that LLM outputs matches such rules by masking out tokens that will provably lead to outputs that do not belong to a specified context-free grammar (CFG). To guarantee soundness, GCD algorithms have to compute how a given LLM subword tokenizer can ``align'' with the tokens used by a given context-free grammar and compute token masks based on this information. Doing so efficiently is challenging and existing GCD algorithms require tens of minutes to preprocess common grammars. We present a new GCD algorithm together with an implementation that offers 17.71x faster offline preprocessing than existing approaches while preserving state-of-the-art efficiency in online mask computation.
Kanghee Park, Timothy Zhou, Loris D'Antoni
ICML1
2025 Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective
abstract
Constrained decoding enables Language Models (LMs) to produce samples that provably satisfy hard constraints. However, existing constrained-decoding approaches often distort the underlying model distribution, a limitation that is especially problematic in applications like program fuzzing, where one wants to generate diverse and valid program inputs for testing purposes. We propose a new constrained sampling framework based on Markov Chain Monte Carlo (MCMC) that simultaneously satisfies three core desiderata: constraint satisfying (every sample satisfies the constraint), monotonically converging (the sampling process converges to the true conditional distribution), and efficient (high-quality samples emerge in few steps). Our method constructs a proposal distribution over valid outputs and applies a Metropolis-Hastings acceptance criterion based on the LM’s likelihood, ensuring principled and efficient exploration of the constrained space. Empirically, our sampler outperforms existing methods on both synthetic benchmarks and real-world program fuzzing tasks.
Emmanuel Anaya Gonzalez, Sairam Vaidya, Kanghee Park, Ruyi Ji, Taylor Berg-Kirkpatrick, Loris D'Antoni
NeurIPS3
2025 LOUD: Synthesizing Strongest and Weakest Specifications
abstract
This paper tackles the problem of synthesizing specifications for nondeterministic programs. For such programs, useful specifications can capture demonic properties, which hold for every nondeterministic execution, but also angelic properties, which hold for some nondeterministic execution. We build on top of a recently proposed spyro framework in which given ( i ) a quantifier-free query Ψ posed about a set of function definitions (i.e., the behavior for which we want to generate a specification), and ( ii ) a language ℒ in which each extracted property is to be expressed (we call properties in the language ℒ-properties), the goal is to synthesize a conjunction ∧ 𝑖 𝜑 𝑖 of ℒ-properties such that each of the 𝜑 𝑖 is a strongest ℒ -consequence for Ψ: 𝜑 𝑖 is an overapproximation of Ψ and there is no other ℒ-property that over-approximates Ψ and is strictly more precise than 𝜑 𝑖 . This framework does not apply to nondeterministic programs for two reasons: it does not support existential quantifiers in queries (which are necessary to expressing nondeterminism) and it can only compute ℒ-consequences, i.e., it is unsuitable for capturing both angelic and demonic properties. This paper addresses these two limitations and presents a framework, loud , for synthesizing both strongest ℒ -consequences and weakest ℒ -implicants (i.e., under-approximations of the query Ψ) for queries that can involve existential quantifiers . We devise algorithms for handling the quantifiers appearing in loud queries and implement them in a solver, aspire , for problems expressed in loud which can be used to describe and identify sources of bugs in both deterministic and nondeterministic programs, extract properties from concurrent programs, and synthesize winning strategies in two-player games.
Kanghee Park, Xuanyu Peng, Loris D'Antoni
Proc. ACM Program. Lang.1
2024 Grammar-Aligned Decoding
abstract
Large Language Models (LLMs) struggle with reliably generating highly structured outputs, such as program code, mathematical formulas, or well-formed markup. Constrained decoding approaches mitigate this problem by greedily restricting what tokens an LLM can output at each step to guarantee that the output matches a given constraint. Specifically, in grammar-constrained decoding (GCD), the LLM's output must follow a given grammar. In this paper we demonstrate that GCD techniques (and in general constrained decoding techniques) can distort the LLM's distribution, leading to outputs that are grammatical but appear with likelihoods that are not proportional to the ones given by the LLM, and so ultimately are low-quality. We call the problem of aligning sampling with a grammar constraint, grammar-aligned decoding (GAD), and propose adaptive sampling with approximate expected futures (ASAp), a decoding algorithm that guarantees the output to be grammatical while provably producing outputs that match the conditional probability of the LLM's distribution conditioned on the given grammar constraint. Our algorithm uses prior sample outputs to soundly overapproximate the future grammaticality of different output prefixes. Our evaluation on code generation and structured NLP tasks shows how ASAp often produces outputs with higher likelihood (according to the LLM's distribution) than existing GCD techniques, while still enforcing the desired grammatical constraints.
Kanghee Park, Taylor Berg-Kirkpatrick, Nadia Polikarpova, Loris D'Antoni
NeurIPS1
2024 Network based Enterprise Profiling with Semi-Supervised Learning
Sunghong Park, Kanghee Park, Hyunjung Shin
Expert Syst. Appl.2
2024 In-house data adaptation to public data: Multisite MRI harmonization to predict Alzheimer's disease conversion
Sunghong Park, Sangjoon Son, Kanghee Park, Yonghyun Nam, Hyunjung Shin
Expert Syst. Appl.3
2024 Mutual Domain Adaptation
Sunghong Park, Myung Jun Kim, Kanghee Park, Hyunjung Shin
Pattern Recognit.3
2023 Modular System Synthesis
Kanghee Park, Keith J. C. Johnson, Loris D'Antoni, Thomas W. Reps
FMCAD1
2023 Prospective classification of Alzheimer's disease conversion from mild cognitive impairment
Sunghong Park, Changhyung Hong, Dong-Gi Lee, Kanghee Park, Hyunjung Shin
Neural Networks4
2023 Synthesizing Specifications
abstract
Every program should be accompanied by a specification that describes important aspects of the code's behavior, but writing good specifications is often harder than writing the code itself. This paper addresses the problem of synthesizing specifications automatically, guided by user-supplied inputs of two kinds: i) a query posed about a set of function definitions, and ii) a domain-specific language L in which the extracted property is to be expressed (we call properties in the language L-properties). Each of the property is a best L-property for the query: there is no other L-property that is strictly more precise. Furthermore, the set of synthesized L-properties is exhaustive: no more L-properties can be added to it to make the conjunction more precise. We implemented our method in a tool, Spyro. The ability to modify both the query and L provides a Spyro user with ways to customize the kind of specification to be synthesized. We use this ability to show that Spyro can be used in a variety of applications, such as mining program specifications, performing abstract-domain operations, and synthesizing algebraic properties of program modules.
Kanghee Park, Loris D'Antoni, Thomas W. Reps
Proc. ACM Program. Lang.1
2021 Customer sentiment analysis with more sensibility
Sunghong Park, Kanghee Park, Hyunjung Shin
Eng. Appl. Artif. Intell.3
2013 Stock Price Prediction Based on Hierarchical Structure of Financial Networks
Kanghee Park, Hyunjung Shin
ICONIP (2)1
2013 Prediction of movement direction in crude oil prices based on semi-supervised learning
Hyunjung Shin, Tianya Hou, Kanghee Park, Chan-Kyoo Park, Sunghee Choi
Decis. Support Syst.3
2013 Robust predictive model for evaluating breast cancer survivability
Kanghee Park, Amna Ali, Do Kyoon Kim, Yeolwoo An, Minkoo Kim, Hyunjung Shin
Eng. Appl. Artif. Intell.1
2013 Stock price prediction based on a complex interrelation network of economic factors
Kanghee Park, Hyunjung Shin
Eng. Appl. Artif. Intell.1
2013 Sharpened graph ensemble for semi-supervised learning
abstract
The generalization ability of a machine learning algorithm varies on the specified values to the model parameters and the degree of noise in the learning dataset. If the dataset has an enough amount of labeled data points, the optimal value for the model parameter can be found via validation by usi ng a subset of the given dataset. However, for semi-supervised learning – one of the most recent learning algorithms, this is not as available as in conventional supervised learning. In semi-supervised learning, it is assumed that the dataset is given with only a few labeled data points. Therefore, holding out some of labeled data points for validation is not easy. The lack of labeled data points, furthermore, makes it difficult to estimate the degree of noise in the dataset. To circumvent the addressed difficulties, we propose to employ ensemble learning and graph sharpening. The former replaces the model parameter selection procedure to an ensemble network of the committee members trained with various values of model parameter. The latter, on the other hand, improves the performance of algorithms by removing unhelpful information caused by noise. The experimental results demonstrate the applicability of the proposed method for many real-world problems with no concern for the technical difficulties, by selecting the best parameter values and mitigating the influence of noise.
Inae Choi, Kanghee Park, Hyunjung Shin
Intell. Data Anal.2