Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Code and data for our CogSci paper on modeling exploration styles—Busybody, Hunter, and Dancer—across semantic tasks using graph-theoretic analysis.

License

Notifications You must be signed in to change notification settings

Advancing-Machine-Human-Reasoning-Lab/curiosity-exploration

Repository files navigation

Curiosity Exploration Analysis

This project analyzes semantic networks and exploration patterns using word embeddings and network analysis techniques. It provides tools for generating and analyzing semantic networks from participant word assosiation task responses, calculating various network metrics, and visualizing exploration patterns. It uses these results to show the relationship between various graph metrics to support discussion surrounding curiosity exploration styles in the semantic fluency and chain free association tasks.

This work is associate with the following paper: https://escholarship.org/uc/item/9ws069q4

Final Commit on 8/16/2025

Features

  • Semantic network generation from word embeddings
  • Network metric calculations including:
    • Average Degree
    • Characteristic Path Length
    • Clustering Coefficient
    • Triangle Area
    • Edge Weight Distribution -Busybody-Hunter Score -Forward Flow (Dancer Score)
  • Analysis of exploration patterns (Hunter, Busybody, Dancer)
  • Support for multiple datasets (SNAFU, FF, AMHR)
  • Interactive visualizations using Plotly

Requirements

The project requires Python 3.12 and the following key dependencies:

  • gensim (4.3.3)
  • networkx (3.4.2)
  • numpy (1.26.4)
  • pandas (2.2.3)
  • plotly (6.1.1)
  • scikit-learn (1.6.1)
  • scipy (1.13.1)
  • bctpy (0.6.1)

For a complete list of dependencies, see requirements.txt.

Installation

  1. Clone the repository:
git clone [repository-url]
cd curiosity-exploration
  1. Install dependencies:
pip install -r requirements.txt

Usage

Generating Graphs

The main script siamese_generate_graphs.py can be used to generate semantic networks:

python siamese_generate_graphs.py -v 3

Analysis Notebooks

The project includes two Jupyter notebooks for analysis:

  1. siamese_coefficient_of_variation.ipynb: Analysis of variation in network metrics
  2. siamese_euclidean_distances.ipynb: Analysis of distances between network features

Project Structure

  • siamese_generate_graphs.py: Main script for generating semantic networks
  • graph_similarity/: Directory containing generated graph data
  • logs/: Directory for log files
  • analysis/: Directory for analysis results
  • sources/: Source data directory

Authors

  • Stephen Steinle
  • My Duong
  • Rima El Brouzi
  • Suraj Kumar
  • Dr. John Licato

About

Code and data for our CogSci paper on modeling exploration styles—Busybody, Hunter, and Dancer—across semantic tasks using graph-theoretic analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published