Jaehwan Kim
Jaehwan Kim has a total of 2 co-authors. Here are the top co-authors by number of shared publications:
Minjun Kim
1 shared publication- Minjun Kim
Anyang University, Republic of Korea
1 shared publication
Latest Publications
- Open Access
- 21 May 2026
- Published by Elsevier in SSRN Electronic Journal
MIRF: Mahjong-inspired Reasoning Framework for Large Language Models
Large Language Models (LLMs) fundamentally operate in a binary manner, either generating an output or not. Due to this limitation, hallucinations often occur where the model outputs incorrect information with high confidence. In this paper, we discovered that the gameplay of Mahjong and the reasoning methods of LLM are very similar, and we propose MIRF (Mahjong-Inspired Reasoning Framework for Large Language Models), a reasoning framework for large language models inspired by the game of Mahjong. MIRF consists of four core pipelines. First, we formally define Tenpai in LLM reasoning. Tenpai represents an intermediate state where a solution can be reached structurally, but one cannot be perfectly certain. Second, we introduce a new reasoning state called Yakunashi. Yakunashi represents a situation where the model is in a Tenpai state but cannot determine an output because certain preconditions are not met. This is similar to a situation where one possesses a structurally perfect Mahjong set but lacks valid tile combinations, making it impossible to declare victory. Third, we define Beta-Ori as the primary defensive output strategy and distinguish between a principle-based safety-first fold and a final state where all tiles are drawn. Fourth, we propose a MIRF-weighted RLHF reward function that imposes a multiplicatively higher penalty than the standard error on confident hallucinations (Noten's Riichi). We empirically evaluate MIRF on local LLM (qwen3.5:0.6b and gemma4:e4b) for 21 pairs of QAs across 5 question categories. The experimental results show that the Deal-in rate was 0% in all experimental runs, and the Yakunashi state emerged naturally through the interaction of Tenpai and Noten. This is a state discovered through experimentation, not an intentionally designed state. In this study, we propose new evaluation indicators including the Deal-in ratio, Tenpai declaration rate, Betaori precision, and Yakunashi ratio, which better represent the reliability of LLM that cannot be captured by accuracy alone.
- 21 May 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessMIRF: Mahjong-inspired Reasoning Framework for Large Language Models
Large Language Models (LLMs) fundamentally operate in a binary manner, either generating an output or not. Due to this limitation, hallucinations often occur where the model outputs incorrect information with high confidence. In this paper, we discovered that the gameplay of Mahjong and the reasoning methods of LLM are very similar, and we propose MIRF (Mahjong-Inspired Reasoning Framework for Large Language Models), a reasoning framework for large language models inspired by the game of Mahjong. MIRF consists of four core pipelines. First, we formally define Tenpai in LLM reasoning. Tenpai represents an intermediate state where a solution can be reached structurally, but one cannot be perfectly certain. Second, we introduce a new reasoning state called Yakunashi. Yakunashi represents a situation where the model is in a Tenpai state but cannot determine an output because certain preconditions are not met. This is similar to a situation where one possesses a structurally perfect Mahjong set but lacks valid tile combinations, making it impossible to declare victory. Third, we define Beta-Ori as the primary defensive output strategy and distinguish between a principle-based safety-first fold and a final state where all tiles are drawn. Fourth, we propose a MIRF-weighted RLHF reward function that imposes a multiplicatively higher penalty than the standard error on confident hallucinations (Noten's Riichi). We empirically evaluate MIRF on local LLM (qwen3.5:0.6b and gemma4:e4b) for 21 pairs of QAs across 5 question categories. The experimental results show that the Deal-in rate was 0% in all experimental runs, and the Yakunashi state emerged naturally through the interaction of Tenpai and Noten. This is a state discovered through experimentation, not an intentionally designed state. In this study, we propose new evaluation indicators including the Deal-in ratio, Tenpai declaration rate, Betaori precision, and Yakunashi ratio, which better represent the reliability of LLM that cannot be captured by accuracy alone.
- Open Access
- 4 May 2026
- Published by Elsevier in SSRN Electronic Journal
HiMA: Not All Parameters Need Every Step Gradient-Driven Dynamic Parameter Tiering Across Memory Hierarchies
Standard deep learning training updates all model parameters at every optimization step with identical learning rates and update frequencies, regardless of each parameter's contribution to the current loss landscape. We have confirmed that this processing method leads to transient convergence or significant memory or computational waste due to parameters with low contribution. Therefore, we propose a training method called HiMA (Hierarchical Memory-Aware Training), this method performs computations by dividing the parameters into three dynamic tiers-Hot, Warm, and Cold-based on their gradients. Hot parameters participate in computation at every step, just like in existing methods. Warm parameters adjust the learning rate and reduce the frequency of memory updates. They also act as a bridge between HOT and Cold. Cold parameters remain completely removed from memory. In experiments on GPT-2 Small (124 million parameters) trained on the WikiText-103 dataset, HiMA provided a tunable balance between resource efficiency and model performance, reducing parameter update computation time by 31-56% and achieving up to 1.16× execution speed improvement on GPT-2 Medium (345 million parameters). In terms of memory, this HiMA method reduces Adam optimizer state memory by up to 72.8% (from 944 MB to 257 MB) and GPU peak memory by up to 32.4% (from 7,945 MB to 5,369 MB) by evicting the first and second moment tensors of Cold parameters entirely and excluding them from the backward pass. The important point is that while setting parameter freezing to 50% maintains stable learning (val loss 5.49), static random freezing drastically degrades performance (val loss 7.90). This difference of 2.41 points reaffirms that gradient-based selection is essential. Unlike conventional approaches that treat memory hierarchies as passive storage, HiMA utilizes the memory hierarchy as an active learning signal. In other words, the position of parameters within the hierarchy directly determines the learning intensity, employing hardware constraints as an adaptive learning strategy.
- 4 May 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessHiMA: Not All Parameters Need Every Step Gradient-Driven Dynamic Parameter Tiering Across Memory Hierarchies
Standard deep learning training updates all model parameters at every optimization step with identical learning rates and update frequencies, regardless of each parameter's contribution to the current loss landscape. We have confirmed that this processing method leads to transient convergence or significant memory or computational waste due to parameters with low contribution. Therefore, we propose a training method called HiMA (Hierarchical Memory-Aware Training), this method performs computations by dividing the parameters into three dynamic tiers-Hot, Warm, and Cold-based on their gradients. Hot parameters participate in computation at every step, just like in existing methods. Warm parameters adjust the learning rate and reduce the frequency of memory updates. They also act as a bridge between HOT and Cold. Cold parameters remain completely removed from memory. In experiments on GPT-2 Small (124 million parameters) trained on the WikiText-103 dataset, HiMA provided a tunable balance between resource efficiency and model performance, reducing parameter update computation time by 31-56% and achieving up to 1.16× execution speed improvement on GPT-2 Medium (345 million parameters). In terms of memory, this HiMA method reduces Adam optimizer state memory by up to 72.8% (from 944 MB to 257 MB) and GPU peak memory by up to 32.4% (from 7,945 MB to 5,369 MB) by evicting the first and second moment tensors of Cold parameters entirely and excluding them from the backward pass. The important point is that while setting parameter freezing to 50% maintains stable learning (val loss 5.49), static random freezing drastically degrades performance (val loss 7.90). This difference of 2.41 points reaffirms that gradient-based selection is essential. Unlike conventional approaches that treat memory hierarchies as passive storage, HiMA utilizes the memory hierarchy as an active learning signal. In other words, the position of parameters within the hierarchy directly determines the learning intensity, employing hardware constraints as an adaptive learning strategy.
- Open Access
- 3 April 2026
- Published by MDPI AG in Preprints.org
Knowing Before Speaking: In-Computation Metacognition Precedes Verbal Confidence in Large Language Models
We propose the Knowledge Landscape hypothesis: a large language model’s forward pass encodes whether it knows the answer before producing any output token. Well-learned knowledge traverses deep convergence valleys in the activation landscape; unlearned queries traverse flat plains where signals disperse. These geometric properties manifest as two probe-free, single-pass signals—token-level entropy and layer-wise hidden-state variance— that precede and causally influence output uncertainty. Across two architecturally distinct models (Qwen2.5-7B and Mistral-7B) on TriviaQA, token entropy strongly discriminates known from unknown questions with large effect sizes, replicated at 300 samples per condition with a 95% bootstrap confidence interval entirely above 0.64. Hidden-state variance further localises a metacognitive locus in both architectures, consistently at 61–69% of total network depth, suggesting this is a universal structural property of transformer LLMs. Activation patching confirms causality: injecting a known- question hidden state into an unknown-question forward pass monotonically reduces output entropy. A lightweight abstention system built on these signals achieves a ROC-AUC of 0.804 and a 5.6 percentage-point accuracy gain over the unaided baseline, without any fine-tuning or additional training data.
- 3 April 2026
- Published by MDPI AG in Preprints.org
Open AccessKnowing Before Speaking: In-Computation Metacognition Precedes Verbal Confidence in Large Language Models
We propose the Knowledge Landscape hypothesis: a large language model’s forward pass encodes whether it knows the answer before producing any output token. Well-learned knowledge traverses deep convergence valleys in the activation landscape; unlearned queries traverse flat plains where signals disperse. These geometric properties manifest as two probe-free, single-pass signals—token-level entropy and layer-wise hidden-state variance— that precede and causally influence output uncertainty. Across two architecturally distinct models (Qwen2.5-7B and Mistral-7B) on TriviaQA, token entropy strongly discriminates known from unknown questions with large effect sizes, replicated at 300 samples per condition with a 95% bootstrap confidence interval entirely above 0.64. Hidden-state variance further localises a metacognitive locus in both architectures, consistently at 61–69% of total network depth, suggesting this is a universal structural property of transformer LLMs. Activation patching confirms causality: injecting a known- question hidden state into an unknown-question forward pass monotonically reduces output entropy. A lightweight abstention system built on these signals achieves a ROC-AUC of 0.804 and a 5.6 percentage-point accuracy gain over the unaided baseline, without any fine-tuning or additional training data.
- Open Access
- 31 March 2026
- Published by MDPI AG in Preprints.org
HiMA: Not All Parameters Need Every Step
Standard deep learning training updates all model parameters at every optimization step with identical learning rates and update frequencies, regardless of each parameter’s contribution to the current loss landscape. We observe that this uniform treatment wastes significant compute and memory on parameters that are temporarily converged or minimally contributing. We propose HiMA (Hierarchical Memory-Aware Training), a training strategy that partitions parameters into three dynamically managed tiers — Hot, Warm, and Cold — based on gradient magnitude. Hot parameters receive full-precision updates every step, Warm parameters are updated at reduced frequency with scaled learning rates, and Cold parameters are frozen entirely with their optimizer states evicted from memory. In experiments on GPT-2 Small (124M parameters) trained on WikiText-103, HiMA enables a tunable trade-off between resource efficiency and model performance, saving 31–56% of parameter update compute with up to 1.16× wall-clock speedup on GPT-2 Medium (345M). On the memory front, HiMA reduces Adam optimizer state memory by up to 72.8% (from 944 MB to 257 MB) and GPU peak memory by up to 32.4% (from 7,945 MB to 5,369 MB) by evicting the first and second moment tensors of Cold parameters entirely and excluding them from the backward pass. Critically, at 50% parameter freezing, HiMA maintains stable training (val loss 5.49) where static random freezing catastrophically degrades (val loss 7.90)—a gap of 2.41 points, confirming that gradient-based selection is essential. Ablation experiments reveal that the Warm tier’s continuous optimizer momentum serves as a critical bridge between Hot and Cold: removing it degrades loss by 0.60 points, accounting for 75% of the total quality gap. Unlike prior offloading approaches that treat memory tiers as passive storage, HiMA uses the memory hierarchy as an active learning signal: a parameter’s position in the hierarchy directly determines its learning intensity, turning hardware constraints into an adaptive training strategy.
- 31 March 2026
- Published by MDPI AG in Preprints.org
Open AccessHiMA: Not All Parameters Need Every Step
Standard deep learning training updates all model parameters at every optimization step with identical learning rates and update frequencies, regardless of each parameter’s contribution to the current loss landscape. We observe that this uniform treatment wastes significant compute and memory on parameters that are temporarily converged or minimally contributing. We propose HiMA (Hierarchical Memory-Aware Training), a training strategy that partitions parameters into three dynamically managed tiers — Hot, Warm, and Cold — based on gradient magnitude. Hot parameters receive full-precision updates every step, Warm parameters are updated at reduced frequency with scaled learning rates, and Cold parameters are frozen entirely with their optimizer states evicted from memory. In experiments on GPT-2 Small (124M parameters) trained on WikiText-103, HiMA enables a tunable trade-off between resource efficiency and model performance, saving 31–56% of parameter update compute with up to 1.16× wall-clock speedup on GPT-2 Medium (345M). On the memory front, HiMA reduces Adam optimizer state memory by up to 72.8% (from 944 MB to 257 MB) and GPU peak memory by up to 32.4% (from 7,945 MB to 5,369 MB) by evicting the first and second moment tensors of Cold parameters entirely and excluding them from the backward pass. Critically, at 50% parameter freezing, HiMA maintains stable training (val loss 5.49) where static random freezing catastrophically degrades (val loss 7.90)—a gap of 2.41 points, confirming that gradient-based selection is essential. Ablation experiments reveal that the Warm tier’s continuous optimizer momentum serves as a critical bridge between Hot and Cold: removing it degrades loss by 0.60 points, accounting for 75% of the total quality gap. Unlike prior offloading approaches that treat memory tiers as passive storage, HiMA uses the memory hierarchy as an active learning signal: a parameter’s position in the hierarchy directly determines its learning intensity, turning hardware constraints into an adaptive training strategy.