This repository contains the implementation and data for quantifying the concept of "Seisyun" (青春), a term widely used in Japan to describe youth, through a novel measure called Seisyun Information Entropy. The method combines advanced natural language processing techniques and large language models (LLMs) to establish a quantitative framework for analyzing and understanding this abstract concept.
The study introduces a mathematical and computational framework to measure the "youthfulness" of a text by considering three key factors:
These metrics are integrated into a single measure, Seisyun Information Entropy, using information theory principles.
The Seisyun Information Entropy for a given text (S) is defined as:
I_{adolescence}(S) = -\log_2 P_{unusual}(S) - \log_2(1 - P_{positive}(S)) - \log_2(1 - P_{fluency}(S))
Where:
The framework leverages multiple pre-trained BERT models:
Unusualness:
Positivity:
Fluency:
module/: Contains the core modules for calculating Seisyun Information Entropy.main.py: The main script to execute the entropy calculations.seisyun.csv: Dataset containing text samples related to "Seisyun".goodness.csv: Dataset with human-annotated "youthfulness" scores.comparison.csv: Results comparing calculated entropy with human scores.plot.png: Visualization of the comparison results.requirement.txt: List of dependencies required to run the project..gitignore: Specifies files and directories to be ignored by git.LICENSE: License information for the repository.Install dependencies:
pip install -r requirement.txt
For testing the result of thesis, run:
python main.py
Experimental results demonstrated a weak positive correlation ((r = 0.333)) between Seisyun Information Entropy and manually generated "youthfulness" rankings of texts. The significance test ((p = 0.035)) confirmed the statistical validity of the measure at a 5% significance level.
This project is licensed under the MIT License - see the LICENSE file for details.
The complete manuscript is accessible online at the following address:
https://web.cshe.nagoya-u.ac.jp/support/student/contest/img/2024_kotama.pdf
If you use this work, please cite:
@unpublished{kotama:seisyun_entropy_llm,
author = {Takanori Kotama},
title = {A Quantitative Definition of Youth Using Large Language Models},
year = {2025},
note = {Award-winning paper of the Nagoya University Student Paper Contest (Encouragement Prize), presented in 2025},
url = {https://web.cshe.nagoya-u.ac.jp/support/student/contest/img/2024_kotama.pdf}
}
This repository contains the implementation and data for quantifying the concept of "Seisyun" (青春), a term widely used in Japan to describe youth, through a novel measure called Seisyun Information Entropy. The method combines advanced natural language processing techniques and large language models (LLMs) to establish a quantitative framework for analyzing and understanding this abstract concept.
The study introduces a mathematical and computational framework to measure the "youthfulness" of a text by considering three key factors:
These metrics are integrated into a single measure, Seisyun Information Entropy, using information theory principles.
The Seisyun Information Entropy for a given text (S) is defined as:
I_{adolescence}(S) = -\log_2 P_{unusual}(S) - \log_2(1 - P_{positive}(S)) - \log_2(1 - P_{fluency}(S))
Where:
The framework leverages multiple pre-trained BERT models:
Unusualness:
Positivity:
Fluency:
module/: Contains the core modules for calculating Seisyun Information Entropy.main.py: The main script to execute the entropy calculations.seisyun.csv: Dataset containing text samples related to "Seisyun".goodness.csv: Dataset with human-annotated "youthfulness" scores.comparison.csv: Results comparing calculated entropy with human scores.plot.png: Visualization of the comparison results.requirement.txt: List of dependencies required to run the project..gitignore: Specifies files and directories to be ignored by git.LICENSE: License information for the repository.Install dependencies:
pip install -r requirement.txt
For testing the result of thesis, run:
python main.py
Experimental results demonstrated a weak positive correlation ((r = 0.333)) between Seisyun Information Entropy and manually generated "youthfulness" rankings of texts. The significance test ((p = 0.035)) confirmed the statistical validity of the measure at a 5% significance level.
This project is licensed under the MIT License - see the LICENSE file for details.
The complete manuscript is accessible online at the following address:
https://web.cshe.nagoya-u.ac.jp/support/student/contest/img/2024_kotama.pdf
If you use this work, please cite:
@unpublished{kotama:seisyun_entropy_llm,
author = {Takanori Kotama},
title = {A Quantitative Definition of Youth Using Large Language Models},
year = {2025},
note = {Award-winning paper of the Nagoya University Student Paper Contest (Encouragement Prize), presented in 2025},
url = {https://web.cshe.nagoya-u.ac.jp/support/student/contest/img/2024_kotama.pdf}
}