Blog Posts

A collection of paper reviews, knowledge, and miscellaneous thoughts.

2025-11-11

Difference-in-Differences (DiD)

Math

"Did the opening of a new subway line raise housing prices in Area A?" "Did the minimum wage increase lower employment rates in State B?" The simple comparison methods that first come to mind when...

#DiD#Difference-in-Differences#Diff-in-Diff
2025-10-17

Cointegration and Error Correction Model: Analyzing Variables That Move Together

Math

Most macroeconomic time series variables such as GDP, consumption, and prices show a common trend of increasing or decreasing together over time. However, when these non-stationary series variables...

#cointegration#VECM#unit root test
2025-10-16

AI-Driven Nudge Optimization: Integration of Behavioral Economics, Two-Tower Networks, and Multi-Armed Bandits

Paper Review

A nudge refers to reminding, prompting, or gently pushing someone's back to make them do something they might have postponed or skipped entirely. One of the fields where nudge power works most...

#nudge#two-tower network#multi-armed bandit
2025-10-15

Extracting Data: How LLMs Solve Schema Problems

Paper Review

Data extraction seems simple, but as it scales, unexpected complexity emerges. This is especially true when extracting information from business documents. For example, imagine needing to extract...

#LLM#prompt engineering#KIE
2025-10-14

The Present and Future of Deep Learning-Dominated Algorithmic Trading

Paper Review

In 2014, Michael Lewis revealed the world of ultra-short-term trading, or high-frequency trading (HFT), through his book 'Flash Boys'. The core was simple "Speed is everything." The traders in the...

#algorithmic trading#deep learning#quantitative finance
2025-10-13

Instrumental Variables (IV) and Two-Stage Least Squares (2SLS)

Math

There's a famous statistic that "when ice cream sales increase, shark attacks also increase." Hearing this alone makes it seem like ice cream makes sharks more aggressive. But is this really true? Of...

#IV#2SLS#instrumental variable
2025-10-10

Continuous Probability and Measure Theory: Why Is the Probability of a Single Point Zero?

Math

In probability theory, we encounter two different worlds. The world of discrete probability, composed of clearly countable outcomes like rolling a die, and the world of continuous probability,...

#measure theory#probability#discrete probability
2025-10-02

What is the 'Best' Coffee? How AI Understands Human's Ambiguous Preferences

Paper Review

The question "what's the best OO" we ask AI is actually one of the most difficult questions for AI. If AI simply calculates and tells us the average star rating from the internet, would we be...

#expert system#fuzzy logic#AHP
2025-10-01

Fractal Neural Networks (FNN): How Self-Replicating Patterns Surpass CNNs

Paper Review

Koch snowflake You probably remember those strange and beautiful images fractals that math teachers might have posted on classroom walls. Like how large tree branches resemble small trees, and those...

#FractalNet#FNN#CNN
2025-09-30

Does AI Reduce or Amplify Gaps: An Experiment on Cognitive Development

Paper Review

AI has become a tool anyone can conveniently use, and information can be easily found when sought. So will AI use serve as a tool that reduces gaps between users (equalizer), or rather the opposite...

#GenAI#cognitive presence#creativity
2025-09-27

Absolute Zero: The Era When AI Creates and Solves Problems Without Data

Paper Review

I recently discovered a paper with a provocative title in the AI field "Absolute Zero Reinforced Self-play Reasoning with Zero Data." Zero Data is this even possible? The core idea of this paper is...

#deep learning#reinforcement learning#self-play
2025-09-26

Tabular Data Modeling Insights from Intrusion Detection Research: Applicability to CTR Prediction

Paper Review

While reading Ali et al.'s "Deep Learning vs. Machine Learning for Intrusion Detection in Computer Networks A Comparative Study" (2025), I found many commonalities with the CTR (Click-Through Rate)...

#deep learning#machine learning#intrusion detection
2025-09-25

Transformer Architecture

Deep Learning

This article continues from the previous part Seq2Seq and Attention Mechanism. The attention mechanism we examined solved the chronic problem of 'information loss' in Seq2Seq models and dramatically...

#attention#transformer#seq2seq
2025-09-24

Seq2Seq and Attention Mechanism

Deep Learning

The Seq2Seq (Sequence-to-Sequence) model is a neural network architecture that takes an input sequence (e.g., a sentence) as time-series data and transforms it into an output sequence (e.g.,...

#attention#transformer#seq2seq
2025-07-16

Cross-validation methods

Machine Learning

Image Source - The hold-out method can result in significantly different performance depending on data splitting, leading to unstable generalization performance. - Cross-validation enables more...

#cross validation#model validation#k-fold
2025-07-03

Box-Cox Transformation

Machine Learning

In linear regression, transforming a variable Y can help with Non-linearity. Non-normality of the errors. Non-constant variance of the errors. However, it is often difficult to determine from...

#box-cox transformation#data preprocessing#power transformation
2025-07-02

Residual Diagnostics in Linear Regression

Machine Learning

Recall the linear regression model Yi beta0 beta1 x i1 beta1 x i2 cdots beta p-1 x i,p-1 epsiloni, quad i 1, 2, ldots, n tag 1 with epsiloni overset text iid sim N(0, sigma 2). What major assumptions...

#linear regression#residual analysis#diagnostics
2025-07-01

GitHub Collaboration Standard Workflow

Git

After creating PR, for additional work based on code review results, work on the open branch (not main) and commit (repeat necessary steps from 4,5,6,7 above) When collaborating repo is cloned...

#github#git#collaboration
2025-06-30

Git Basics

Git

main Default branch in Git origin Default remote branch alias in Git HEAD Current working branch position If modifications are needed, edit values in the .gitconfig file Directly open and edit the...

#git#version control#git basics
2025-06-29

Sampling Distribution

Machine Learning

When extracting a random sample of size n from population f(x) , let's denote the i -th sample as random variable Xi, i 1,2,3, cdots,n . If we independently extracted n samples under identical...

#sampling distribution#central limit theorem#sample statistics
2025-06-29

SVD and PCA

Machine Learning

For an n times n matrix A , lambda satisfying A vec v lambda vec v is called an eigenvalue, and vec v neq vec 0 is called an eigenvector. 1. Find eigenvalue lambda satisfying Det(A- lambda I) 0 . 2....

#singular value decomposition#principal component analysis#orthogonal matrix
2025-06-26

Python Data Structures

Programming

Python Built-in Data Structures Abstract Data Structures Note Data Type vs Data Structure Python automatically manages memory, so there are few opportunities to learn about memory. Let's examine...

#python#data structure#stack
2025-06-26

Python Virtual Environment Setup and PIP

Programming

Let's create a virtual environment for your project. Creating a virtual environment for Python development allows you to work without affecting other projects. For example, suppose project A uses...

#python#virtual environment#venv