A 1.5B parameter language model fine-tuned to think creatively through cross-domain analogy, constraint violation, and novelty-coherence optimization.
CreativitySLM is not a general-purpose LLM. It is a specialized model that has learned creative cognitive patterns — the structural operations underlying creative ideation — through distillation from a frontier model.
Key Results
Metric
Value
Structural Validity
96.1% on held-out test set
Average Latency
2.38s on A10G GPU
End-to-End Pipeline
11.8s for full 10-layer creative pipeline
Training Data
764 examples across 5 sub-tasks
Training Time
2 min 19 sec on A100-80GB
Training Cost
$11.50 total
Trainable Parameters
73.9M (4.57% of 1.62B)
What Makes This Different
Standard LLMs treat creativity as an incidental capability. CreativitySLM treats it as a learnable cognitive pattern.
The model was trained on 5 structured sub-tasks derived from a 10-layer cognitive architecture:
Domain Detection & Query Generation — Identify the domain and generate diverse search queries, including deliberately distant domains
Prompt: "How can I build an AI model that replicates the human brain?"
CreativitySLM produces: "The Forest Mind: How Nature's Self-Organization Can Rebuild AI"
The model draws an analogy between ecosystem self-organization and neural architecture design. It identifies the convention "fully supervised model training" and proposes its inversion: autonomous self-organizing clusters that emerge from edge-to-edge connectivity, like a forest growing itself rather than being engineered.
"Stop trying to engineer the forest, and start letting it engineer itself."
This demonstrates cross-domain transfer (ecology → AI), purposeful constraint violation (breaking the "design everything" convention), and coherent creative expression.
Data: 764 examples distilled from Claude Sonnet across 153 creative prompts spanning 12 domains
Split: 612 train / 76 val / 76 test
Epochs: 3 (cosine LR, peak 2e-4, 10% warmup)
Hardware: Single NVIDIA A100-80GB
Training Time: 2 minutes 19 seconds
Training Loss
Epoch
Train Loss
Eval Loss
1
2.263
2.020
2
1.720
1.772
3
1.930
1.744
Per-Task Performance
Task
N
Accuracy
Avg Latency
Domain & Queries
23
95.7%
0.62s
Pattern/Abstraction/Analogy
13
84.6%
2.99s
Constraint Violation
10
100%
2.28s
Reasoning & Taste
13
100%
3.20s
Creative Expression
17
100%
3.74s
Overall
76
96.1%
2.38s
What Fine-tuning Teaches
The fine-tuning does not add new knowledge. The base Qwen model already knows about ecology, neuroscience, architecture, etc. What the fine-tuning adds is a cognitive routine:
Seek connections to distant domains
Extract structural relationships, not facts
Identify conventions and propose their inversions
Score ideas on a multi-dimensional quality metric
Express insights with explicit cross-domain attribution
We verified this by comparing base Qwen vs. CreativitySLM on identical prompts. The base model produces generic informational responses. The fine-tuned model produces structured cross-domain analogies with novel connections.
Usage
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model = AutoModelForCausalLM.from_pretrained("bdeepakreddy/creativity-slm")4tokenizer = AutoTokenizer.from_pretrained("bdeepakreddy/creativity-slm")56messages =[7{"role":"system","content":"You are a creative domain analyst..."},8{"role":"user","content":"Analyze this creative prompt: 'How can music theory inspire new programming languages?'"}9]1011text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)12inputs = tokenizer(text, return_tensors="pt").to(model.device)13outputs = model.generate(**inputs, max_new_tokens=1024, temperature=0.7)14print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Tech Stack
Component
Technology
Base Model
Qwen2.5-1.5B-Instruct
Fine-tuning
QLoRA (bitsandbytes, peft, trl)
Training Platform
Modal.com (A100-80GB)
Inference
vLLM on Modal.com (A10G)
Frontend
Next.js 15 + Tailwind + shadcn/ui
Backend
Supabase + Drizzle ORM
Search
Tavily API
Embeddings
text-embedding-3-large
Citation
bibtex
1@article{bandi2026creativityslm,
2 title={Teaching Small Language Models to Think Creatively: A Multi-Task Cognitive Architecture for Cross-Domain Analogy Generation},
3 author={Bandi, Deepak},
4 year={2026},
5 note={University of Waterloo}
6}
Paper
The full research paper is available in the paper/ directory of the repository.