|
|
{ |
|
|
"pressure": { |
|
|
"default_center": 0.5, |
|
|
"default_radius": 0.25, |
|
|
"default_compression": 1.0, |
|
|
"envelopes": { |
|
|
"loss": { |
|
|
"center": 0.3, |
|
|
"radius": 0.2, |
|
|
"compression": 1.0 |
|
|
}, |
|
|
"fitness": { |
|
|
"center": 0.7, |
|
|
"radius": 0.2, |
|
|
"compression": 1.0 |
|
|
}, |
|
|
"learning_rate": { |
|
|
"center": 0.5, |
|
|
"radius": 0.3, |
|
|
"compression": 0.8 |
|
|
} |
|
|
} |
|
|
}, |
|
|
"vp_thresholds": { |
|
|
"VP0": 0.25, |
|
|
"VP1": 0.5, |
|
|
"VP2": 0.75, |
|
|
"VP3": 0.99, |
|
|
"modularity_collapse": 0.3, |
|
|
"organism_collapse": 500 |
|
|
}, |
|
|
"convergence": { |
|
|
"mutation_rate": 0.1, |
|
|
"noise_std": 0.05 |
|
|
}, |
|
|
"attractor": { |
|
|
"max_iterations": 1000, |
|
|
"tolerance": 1e-06, |
|
|
"learning_rate": 0.01 |
|
|
}, |
|
|
"pulse": { |
|
|
"rate": 1.0, |
|
|
"intensity": 1.0, |
|
|
"decay": 0.99 |
|
|
}, |
|
|
"population": { |
|
|
"size": 8, |
|
|
"dimensions": 10, |
|
|
"trait_keys": [ |
|
|
"x0", |
|
|
"x1", |
|
|
"x2", |
|
|
"x3", |
|
|
"x4", |
|
|
"x5", |
|
|
"x6", |
|
|
"x7", |
|
|
"x8", |
|
|
"x9" |
|
|
], |
|
|
"use_brains": true |
|
|
}, |
|
|
"evolution": { |
|
|
"generations": 100, |
|
|
"mutation_rate": 0.1, |
|
|
"mutation_strength": 0.1, |
|
|
"crossover_rate": 0.7, |
|
|
"fitness_function": "communication", |
|
|
"target_species": 5, |
|
|
"log_interval": 10, |
|
|
"mode": "hybrid" |
|
|
}, |
|
|
"speciation": { |
|
|
"genetic_distance_threshold": 0.35, |
|
|
"max_stagnation": 50, |
|
|
"elitism": 2, |
|
|
"survival_threshold": 0.2, |
|
|
"crossover_rate": 0.7, |
|
|
"min_species_size": 3 |
|
|
}, |
|
|
"dbscan": { |
|
|
"eps": null, |
|
|
"min_samples": 3, |
|
|
"eps_percentile": 0.7, |
|
|
"scale_features": true |
|
|
}, |
|
|
"fitness": { |
|
|
"function": "communication", |
|
|
"bounds_low": -5.12, |
|
|
"bounds_high": 5.12, |
|
|
"normalize": true, |
|
|
"invert": true |
|
|
}, |
|
|
"node": { |
|
|
"mutation_rate": 0.1, |
|
|
"mutation_strength": 0.2 |
|
|
}, |
|
|
"brain": { |
|
|
"enabled": false, |
|
|
"hidden_sizes": [ |
|
|
16, |
|
|
16 |
|
|
], |
|
|
"activation": "tanh", |
|
|
"mutation_rate": 0.1, |
|
|
"mutation_strength": 0.3 |
|
|
}, |
|
|
"lora_brain": { |
|
|
"enabled": true, |
|
|
"base_model": "Qwen/Qwen2.5-VL-3B-Instruct", |
|
|
"quantization": "4bit", |
|
|
"lora_rank": 8, |
|
|
"lora_alpha": 16, |
|
|
"lora_dropout": 0.0, |
|
|
"target_modules": ["q_proj", "v_proj"], |
|
|
"hidden_dim": 2048, |
|
|
"use_flash_attention": false, |
|
|
"max_memory": null, |
|
|
"offload_folder": null |
|
|
}, |
|
|
"vlm": { |
|
|
"min_pixels": 200704, |
|
|
"max_pixels": 1003520, |
|
|
"max_new_tokens": 150, |
|
|
"code_dir": ".", |
|
|
"tasks_per_eval": 3 |
|
|
}, |
|
|
"weight_evolution": { |
|
|
"algorithm": "CMA_ES", |
|
|
"sigma_init": 0.1, |
|
|
"weight_decay": 0.0, |
|
|
"fitness_shaping": true |
|
|
}, |
|
|
"nlp_training": { |
|
|
"enabled": true, |
|
|
"vocab_size": 1500, |
|
|
"embed_dim": 64, |
|
|
"hidden_dim": 128, |
|
|
"max_seq_len": 32, |
|
|
"num_lstm_layers": 1, |
|
|
"num_classes": 2, |
|
|
"population_size": 16, |
|
|
"sigma_init": 0.3, |
|
|
"train_samples": 64, |
|
|
"eval_samples": 32 |
|
|
}, |
|
|
"explorer": { |
|
|
"log_dir": "data/logs", |
|
|
"shared_state_path": "data/.shared_simulation_state.json", |
|
|
"max_events": 10000, |
|
|
"causation_thresholds": { |
|
|
"temporal_window": 1.0, |
|
|
"correlation_min": 0.7, |
|
|
"direct_max_delay": 0.1 |
|
|
} |
|
|
}, |
|
|
"checkpointing": { |
|
|
"enabled": true, |
|
|
"checkpoint_every": 50, |
|
|
"keep_best": 5, |
|
|
"keep_recent": 3, |
|
|
"checkpoint_dir": "checkpoints" |
|
|
}, |
|
|
"logging": { |
|
|
"wandb_project": "key-evolution", |
|
|
"wandb_entity": null, |
|
|
"tensorboard_enabled": true, |
|
|
"tensorboard_logdir": "runs/key", |
|
|
"log_interval": 1, |
|
|
"log_level": "INFO" |
|
|
}, |
|
|
"performance": { |
|
|
"batch_size": 5, |
|
|
"tick_delay_ms": 20, |
|
|
"parallel_fitness": true, |
|
|
"num_workers": 4 |
|
|
}, |
|
|
"hf_sync": { |
|
|
"enabled": true, |
|
|
"dataset_name": null, |
|
|
"sync_checkpoints": true, |
|
|
"sync_logs": true, |
|
|
"retry_attempts": 3, |
|
|
"timeout_seconds": 30 |
|
|
}, |
|
|
"visualization": { |
|
|
"umap_enabled": true, |
|
|
"umap_n_neighbors": 15, |
|
|
"umap_min_dist": 0.1, |
|
|
"umap_n_jobs": 1, |
|
|
"plot_every": 10, |
|
|
"max_history_points": 500 |
|
|
}, |
|
|
"selection": { |
|
|
"method": "tournament", |
|
|
"tournament_size": 3, |
|
|
"truncation_threshold": 0.5 |
|
|
}, |
|
|
"experiment": { |
|
|
"name": "default", |
|
|
"tags": [ |
|
|
"evolution", |
|
|
"bbob" |
|
|
], |
|
|
"seed": 42, |
|
|
"deterministic": true |
|
|
}, |
|
|
"camel": { |
|
|
"enabled": true, |
|
|
"task_type": "role_playing", |
|
|
"assistant_role": "assistant", |
|
|
"user_role": "instructor", |
|
|
"max_turns": 10, |
|
|
"tasks_per_eval": 3, |
|
|
"task_categories": ["problem_solving", "analysis"], |
|
|
"partner_selection": "random", |
|
|
"task_prompt": "Collaborate to solve the given problem step by step.", |
|
|
"with_task_specify": true, |
|
|
"model_backend": "local", |
|
|
"temperature": 0.7, |
|
|
"top_p": 0.9 |
|
|
} |
|
|
} |