Downloads · 30 days
47
18% of all-time downloads
qinghuiwan/structural-isomorphism-v1
structural-isomorphism-v1 is a sentence similarity model from qinghuiwan. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
A sentence-transformer model fine-tuned for structural similarity -- recognizing that phenomena from completely different domains share the same underlying structure.
Downloads · 30 days
47
18% of all-time downloads
All-time downloads
261
Public
Parameters
102M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.6 GB · 57%
From the Hugging Face model README
A sentence-transformer model fine-tuned for structural similarity -- recognizing that phenomena from completely different domains share the same underlying structure.
Unlike standard semantic similarity models that match by surface vocabulary, this model maps descriptions with the same structural pattern close together in embedding space, regardless of domain.
| Metric | Base Model | This Model | Improvement |
|---|---|---|---|
| Silhouette Score | -0.012 | 0.847 | +0.859 |
| Retrieval@5 | 20.3% | 100.0% | +79.7% |
| Retrieval@10 | 18.0% | 100.0% | +82.0% |
| Intra-class Similarity | 0.643 | 0.933 | +0.290 |
| Inter-class Similarity | 0.569 | 0.174 | -0.395 |
from sentence_transformers import SentenceTransformer, util
model = SentenceTransformer("structural-isomorphism/structural-v1")
# Encode two descriptions from different domains
emb1 = model.encode("A thermostat detects low temperature and turns on heating")
emb2 = model.encode("The pancreas detects high blood sugar and releases insulin")
similarity = util.cos_sim(emb1, emb2).item()
print(f"Structural similarity: {similarity:.3f}")
# Both are negative feedback loops -> high similarity
from structural_isomorphism import StructuralSearch
search = StructuralSearch()
results = search.query("Small input causes disproportionately large output")
for r in results[:5]:
print(f"{r['name']} ({r['domain']}) - {r['score']:.3f}")
@article{structural-isomorphism-2026,
title={Structural Isomorphism Search: Cross-Domain Structural Similarity Retrieval via Fine-tuned Embeddings},
author={Wan, Qihang},
journal={arXiv preprint arXiv:XXXX.XXXXX},
year={2026}
}
MIT