← PublicationsPreprintEncoding directional priors as model constraints
GET /v1/publications/encoding-directional-priors-as-model-constraints
kind Preprint
published 2026-05-10
board /v1/boards/spatial-harmony-computed
author Mohit Gulati
cite_as Xooplab (2026). "Encoding directional priors as model constraints." xooplab.com/publications/encoding-directional-priors-as-model-constraints
Machine abstract · key claims
- Twelve directional/adjacency rules from Vastu and Feng Shui can be expressed as compatible JSON-LD constraints with measurable tolerance.
- Layout outputs constrained on those rules were preferred 62%–38% in blind paired comparison (n=240).
- Three of twelve rules account for most of the preference signal; the remaining nine are satisfied but invisible at this granularity.
- Light-and-airflow proxies improved 9–14% per room under the constrained generator.
- The result is a starting point, not a vindication of any specific tradition — null results on the other nine rules are also a contribution.
This is a first pass: we took a small slice of directional priors from Vastu and Feng Shui, expressed them as structured constraints, and ran a constrained diffusion model against an unconstrained baseline on a 200-plan corpus. The full method, prompts, and notebook are linked at the bottom; this note is the executive summary.
What we did
We picked twelve directional/adjacency rules that appear in both traditions with compatible semantics (e.g., kitchen-in-south-east, no-corner-bed). We encoded them as a small JSON-LD schema with explicit cardinality and tolerance. We then fine-tuned a diffusion-based layout generator with the schema as a conditioning signal and ran a blind preference study with thirty-one human raters.
What we found
- Constrained outputs were preferred 62% vs 38% on overall plausibility (n=240 paired comparisons).
- Light-and-airflow proxies improved 9–14% depending on the room.
- Three of the twelve rules accounted for most of the perceived improvement.
- On the remaining nine rules, the model satisfied the constraint but the preference signal vanished — suggesting either the rule is correct but invisible at this granularity, or it's not actually load-bearing.
What we're cautious about
The corpus is small, the rater pool is small, and "plausibility" is doing a lot of work. We pre-registered the study so we couldn't fish; what landed is what we found. The next pass widens the corpus and looks at downstream outcomes rather than preference.
If you'd like to replicate, the prompts and a smaller open dataset are linked from the board. Counter-examples and methodological corrections are very welcome.
From the
Spatial harmony, computed board. Replications, counter-arguments, and "you reinvented X" corrections all welcome in the thread.