🏘️ In one sentence (revised, peer-reviewed version 3.0) — A language model and a vision–language model turn the descriptions and façade photographs of 19,123 Quebec house listings into schema-constrained hedonic regressors, raising in-sample R² from 0.717 to 0.755; on the brokered platform the façade layer adds +3.9 points of out-of-sample R² to OLS (95% CI [+3.4, +4.5]) and the text layer +0.7, while pooled gains are inflated by the for-sale-by-owner segment and attribute reliability is bounded by test–retest and cross-model agreement, not human labels.
🔬 Peer review at a glance
This paper went through the full multi-referee review of the UQO working-paper series: 6 independent referee reports, 94 review items, an editorial decision (major revision), re-execution of the analysis, a complete revision of text, figures and tables, and an independent verification before sign-off. The revised manuscript and every change live on the branch review-20261103 of this repository (29 commits ahead of main, head a5e1a02, 2026-11-04).
| Dimension | Submitted | Revised | Δ |
|---|---|---|---|
| Originality | 60.5 | 63.0 | +2.5 |
| Rigor | 56.8 | 70.0 | +13.2 |
| Identification | 60.2 | 68.0 | +7.8 |
| Data & reproducibility | 43.8 | 72.0 | +28.2 |
| Robustness | 63.5 | 74.0 | +10.5 |
| Writing | 67.5 | 72.0 | +4.5 |
| Figures & tables | 50.8 | 78.0 | +27.2 |
| Literature | 59.2 | 74.0 | +14.8 |
| Weighted total | 57.3 | 69.6 | +12.3 |
Scientific integrity: PASS · Reproducibility: R1 · reproduced from analysis data · Maturity: grade B
What the review changed
Peer review led the paper to report its results by platform and to replace the earlier explanation of the for-sale-by-owner text gain. The gain is not caused by the asking price embedded in those descriptions but by the structured property sheet they contain. Inference was redone with multiplicity control, and the limits on attribute reliability are now stated in the abstract.
- For-sale-by-owner text gain: attributed to asking-price leakage → unchanged after purging every dollar amount (3.3 → 3.5 points) and halved only when the embedded structured sheet is removed (1.5).
- Vision layer versus a change of estimator: claimed for the pooled sample → holds on Realtor.ca only (+4.9 points [+3.8, +6.3]); the pooled comparison is not informative ([−9.1, +5.5]).
- Headline out-of-sample gains: pooled → reported by platform (Realtor.ca façade +3.9 [+3.4, +4.5], text +0.7).
- Curb appeal: 2.3% per point with interval [0.1%, 3.6%] → 2.3% [0.7, 4.0] under a wild cluster bootstrap on 889 municipality clusters; of 18 significant AI coefficients, 6 survive Holm and 7 Romano–Wolf.
- English-language premium: +7.2% within municipality → 4.0% within Realtor.ca, read as between-area sorting rather than a price of language.
- Added the cost of interpretability: a dense text embedding adds +10.5 points to OLS against +0.9 for the schema fields.
Limitations stated in the revised paper
- The dependent variable is the asking price, and coefficients are predictive associations: listing content is chosen by sellers and agents, and the three visual quality scores are collinear enough that only their joint contribution is well identified.
- There is no human-labelled validation set; for the condition and renovation fields that carry the text implicit prices, cross-model agreement is moderate (κ between 0.60 and 0.67).
- The vision layer ran once under a model alias and could not be re-scored because 73 of 300 sampled image URLs had expired; its test–retest variability is unmeasured, and it judges each property from a single photograph.
- The data are a single-date snapshot of listings, with missing area and room detail not missing at random and a markedly worse fit on the for-sale-by-owner platform.
Where to find the reviewed material
| What | Where |
|---|---|
| Revised manuscript (PDF, 67 pages) | paper/main.pdf on review-20261103 |
| Revised sources, code, figures and tables | branch review-20261103 |
| Commit-by-commit revision history | review-20261103 commits |
All branches (submitted main vs revised) |
branches |
| Interactive reader (figures, tables, citations) | wp.spboucher.ai/papers/wp14/read |
| Paper page, abstract and citation formats | wp.spboucher.ai/papers/wp14 |
🏆 Headline results (revised version)
| Result | What it is |
|---|---|
| 0.717 → 0.755 | In-sample R² of the preferred log-linear specification when the two AI layers are added: 3.0 of the 3.8 points come from the façade photograph and 0.8 from the text. |
| +3.9 pp [+3.4, +4.5] | Out-of-sample R² added to OLS by the façade layer on Realtor.ca (+2.4 for gradient boosting); the text layer adds +0.7 and +1.4. The increments are preserved when entire postal areas are held out. |
| +4.9 pp [+3.8, +6.3] | On Realtor.ca, paired advantage of adding the vision layer to OLS over switching from OLS to a random forest; it is less than switching to gradient boosting (−1.6 [−2.7, −0.6]), and the pooled comparison is not informative (CI [−9.1, +5.5]). |
| +2.3% [0.7, 4.0] | Asking-price difference associated with one point of visual curb appeal (wild cluster bootstrap); a visible luxury cue 5.2% [3.1, 7.4], brick and stone façades 3.4% and 3.7%, vinyl siding −4.4%, a renovated kitchen read from the text 2.6%. Associations, not causal effects. |
| 18 → 6 / 7 | AI coefficients individually significant at 5% under the wild cluster bootstrap, and those that survive a Holm or a Romano–Wolf correction; the paper's claims rest on the joint tests and the out-of-sample gains rather than on any single price. |
| 3.3 → 3.5 points | DuProprio text gain in in-sample R² before and after removing the asking price, the assessment and every dollar amount from the descriptions: unchanged. Removing the whole embedded structured sheet halves it (1.5), so the sheet, not the price, inflates the gain. |
| +10.5 pp vs +0.9 | Out-of-sample R² added to OLS by a 256-dimensional embedding of the same descriptions versus the eighteen interpretable schema fields: the accuracy cost of named, auditable regressors. |
📄 Abstract
Hedonic house-price models are bounded by what an analyst can measure, while much of a home's value appears only in the text and photographs of its listing. We treat general-purpose AI models as a measurement technology: a language model converts each description into schema-constrained specifications and a vision–language model converts the façade photograph into visual attributes, both entering a hedonic regression as regressors. On 19,123 Quebec house listings both layers raise in-sample R² from 0.717 to 0.755. On the brokered platform, where the text never contains the asking price, the façade layer adds +3.9 points of out-of-sample R² to OLS (95% CI [+3.4, +4.5]), more than switching to a random forest, and the text layer +0.7; pooled gains are inflated by the for-sale-by-owner segment. Curb appeal carries an implicit price of 2.3% per point (95% CI [0.7, 4.0]). Attribute reliability is bounded by test–retest and cross-model agreement, not human labels.
🧩 Contributions
- AI models as a measurement technology with priced outputs — Both extractions are constrained to a fixed schema of human-readable attributes (18 text and 21 façade regressors), so every machine-generated regressor has an implicit price with a clustered standard error, a wild-bootstrap interval and a multiplicity-adjusted p-value.
- Measurement versus estimator — On identical folds and with paired tests, the paper measures how much of the gap between a linear hedonic model and the predictive frontier is closed by better measurement rather than by a better estimator, and what the interpretable schema forgoes relative to a dense embedding.
- An audit of what the text contains — Every DuProprio description embeds a structured property sheet including the asking price; re-extraction on purged text shows the gain comes from the structured fields, and the Realtor.ca estimates are kept as the clean reference for the text layer.
- Language premium reread as sorting — Within Realtor.ca, English descriptions carry a conditional premium of 4.0% that is concentrated in high-priced postal areas, which reads as between-area sorting rather than a within-neighbourhood price of language; the AI implicit prices are unchanged by language controls.
- Spatially grouped validation — Holding out entire postal areas costs the full-specification OLS 7.2 points of out-of-sample R² and gradient boosting 3.7, while preserving the text and vision increments.
🗄️ Data
- Quebec house listings, 3 July 2026 — 27,302 Realtor.ca (brokered) and 7,693 DuProprio (for-sale-by-owner) raw records; single-family houses and townhouses with a valid asking price give 19,273 houses and, after outlier cleaning, an estimation sample of 19,123 (15,356 Realtor.ca, 3,767 DuProprio). Median list price $599,900; living area is not observed for 50.6% of listings.
- Two estimation samples — Model A includes log living area and is fit on the 9,446 listings with a measured or reconstructed area (38.8% of them DuProprio); Model B drops area and uses the full cleaned sample. A duplicate screen places 7.0% of rows in a duplicate group; they are kept and handled by fold assignment.
- Machine-generated feature layers — A language model returns a fixed set of specifications from each description (condition, kitchen and bathroom renovation, materials, heating, view, income potential); a vision–language model returns twelve fields from one façade photograph (condition, curb appeal, renovation level, materials, landscaping, setting, luxury). Raw outputs are archived.
⚙️ Methodology
- Schema-constrained extraction — Strict JSON schemas with closed enumerations for both layers; the text layer is decoded at temperature zero and pinned to a model snapshot for re-extraction, the vision layer ran once at the provider's default temperature.
- Log-linear hedonic regression — Size, structural, amenity, room and listing blocks, then text, then vision, with 195 municipality fixed effects and property-type fixed effects; each layer is credited only with what the preceding blocks do not capture.
- Clustered inference with multiplicity control — Standard errors clustered by normalised municipality (889 clusters in Model A), wild cluster bootstrap intervals, Holm and Romano–Wolf corrections, joint Wald tests, influence diagnostics and finer postal-area effects.
- Predictive benchmark by platform — OLS, random forest, gradient boosting and neural networks on common feature sets with per-fold preprocessing, several fold seeds, paired postal-area block-bootstrap intervals, and both random and spatially grouped folds.
- Reliability checks without human labels — Agreement with keyword and structured references, test–retest of the text extractor (κ between 0.85 and 1.00 across 19 fields), a second language model as rater (κ between 0.38 and 0.98) and a control for the model's own price guess for the text layer.
♻️ Reproducibility
- The code repository contains a single entry point that rebuilds every exhibit from the deposited files (with a reduced smoke mode), a locked environment and an exhibit-to-script map.
- A tolerance test reproduces the OLS estimates to numerical precision and the gradient-boosting scores bit-identically.
- The raw crawls are not redistributed under the platforms' terms of use; the repository documents how to re-run the collection.
- The derived, text-free analysis files, the text and façade extraction caches, the text-embedding matrix and the out-of-sample prediction vectors are deposited with a checksum manifest and are available on request.
- Every regressor can be regenerated from the archived model outputs without new API calls; the façade layer is reproducible from those outputs but could not be re-extracted because a share of the image URLs had expired.
Keywords hedonic pricing · house prices · large language models · computer vision · text as data · automated valuation · Quebec
JEL R31, C21, C55, R21
📚 How to cite
@techreport{boucher2026wp14,
author = {Simon-Pierre Boucher},
title = {Hedonic House Pricing with Language-Model and Vision Features: Evidence from Quebec Real-Estate Listings},
institution = {Université du Québec en Outaouais},
type = {UQO Working Paper No. 14},
year = {2026},
note = {Version 3.0, November 2026, revised after peer review},
url = {https://wp.spboucher.ai/papers/wp14}
}ℹ️ Below: documentation of the
mainbranch (the version submitted to review). Numbers and claims that the review corrected are superseded by the block above and by the branchreview-20261103.
🏠 Hedonic House Pricing with Language-Model and Vision Features
UQO Working Paper No. 14 — Evidence from Quebec Real-Estate Listings
TL;DR — Much of a home's value is recorded only in the free text and the photographs of its listing. We use a large language model to turn each description into structured specifications and a vision–language model to turn the façade photo into visual attributes, both under strict JSON schemas. On 19,123 Quebec house listings the two AI layers lift the R² of an already rich log-linear hedonic model from 0.717 to 0.755 (3.0 of the 3.8 points come from the photo); the vision layer lifts every estimator (OLS, random forest, gradient boosting, neural nets) and adds more to OLS than switching to a random forest; the best ensemble reaches out-of-sample R² 0.779 with a 14.0% median absolute percentage error. Implicit prices are economically sensible (+2.3% per point of curb appeal, +3–4% for brick or stone) and survive municipality-clustered inference, a cluster bootstrap, postal-code (RTA) fixed effects and language controls. Caveat documented in v2.1: every DuProprio description embeds the asking price, so the text layer's gain is credible only on Realtor.ca (+0.6 pt in-sample).
📌 Status
| Item | Value |
|---|---|
| Version | 2.1 (October 2026) — revised 2026-10-17 by a full editorial-board review (docs/REVIEW-REPORT.md, docs/CHANGELOG-REVISION.md); 2.0 (July 2026) after an internal review round (scripts/13_revision_extras.py) |
| SSRN | not yet submitted |
| Journal | Elsevier-format highlights prepared (docs/highlights_elsevier.tex); target to be decided (Journal of Housing Economics considered) |
| Code & data | reproducible from scripts/ run from the repository root; raw crawls and LLM caches not committed |
| Pre-revision reference | docs/main_pre-revision-20261017.pdf (v2.0), git tag pre-revision-20261017 |
🎯 What this paper does
Hedonic models are bounded by the characteristics an analyst can measure. We treat general-purpose AI models as a feature-engineering technology: each listing description is parsed by an LLM into a fixed schema of property specifications (renovations, finishes, systems, extras), and each façade photograph is parsed by a vision–language model into visual attributes (cladding, storeys, garage, curb appeal). The outputs are ordinary econometric variables and enter a log-linear hedonic regression with municipality fixed effects:
ln P_i = α + β ln Area_i + γ ln Lot_i + controls_i'δ + S_i'δ_g (LLM text layer) + V_i'δ_v (vision layer) + μ_city(i) + τ_type(i) + ε_iWe then measure, under identical 5-fold splits (random and spatially grouped by RTA), how much each layer adds for OLS, random forest, histogram gradient boosting, a residual MLP with city/type embeddings, and an equal-weight blend; and we test the AI implicit prices against clustered, bootstrap and RTA-level inference, language controls and the platform-specific leakage of the asking price into the text.
🏆 Headline results
| Object | Estimate |
|---|---|
| Base hedonic OLS (structural + amenity + rooms + listing, city FE), in-sample R² (Model A, N = 9,446) | 0.717 |
| + LLM text layer / + vision layer | 0.725 / 0.755 (+0.8 / +3.0 pt) |
| Same, Realtor.ca only (text never contains the price) | 0.779 → 0.786 → 0.810 (+0.6 / +2.4 pt) |
| Out-of-sample R², OLS: rooms+listing → +text → +vision (random 5-fold) | 0.619 → 0.628 → 0.686 |
| Out-of-sample R², GBM: rooms+listing → +text → +vision | 0.729 → 0.743 → 0.770 |
| Same under spatial (RTA-grouped) folds, OLS / GBM | 0.561 → 0.568 → 0.638 / 0.690 → 0.703 → 0.734 |
| Best ensemble (robust NN + GBM, w = 0.5 fixed) | R²_OOS = 0.779, MdAPE 14.0% (grid 0.3–0.7: 0.771–0.780; nested weight 0.775) |
| Curb-appeal score (1–10) | +2.3% per point (cluster-bootstrap 95% CI [0.1%, 3.6%]) |
| Brick / stone / vinyl façade | +3.4% / +3.7% / −4.4% |
| English-language description (conditional on everything, within municipality) | +7.2% (Model A), +11.8% (Model B); AI coefficients unchanged |
| Inference | municipality-clustered SEs (195), HC3, pairs cluster bootstrap (299 reps), RTA FE (250) agree on the AI block |
🗂 Repository layout
hedonic-llm-vision-features/
├── data/
│ ├── raw/ # two Apify crawls (Realtor.ca, DuProprio), 2026-07-03 — not committed
│ └── processed/ # LLM/vision caches, merged datasets, OOS predictions — not committed
├── scripts/ # run from the repository root, in order
│ ├── 00a_test_openai_extraction.py / 00b_test_vision_claude.py # API smoke tests
│ ├── 01_extract_specs_llm.py # description → JSON specs (parallel, resumable)
│ ├── 02_facade_vision.py # façade photo → visual attributes
│ ├── 03_merge_llm_features.py
│ ├── 04_hedonic_ols_base.py / 05_hedonic_ols_v4_text.py
│ ├── 06_hedonic_ml_cv.py / 07_torch_nn.py / 08_torch_nn_robust.py
│ ├── 09_v5_ml_text_vision.py / 10_final_blend.py
│ ├── 11_extras_v5_robustness.py / 12_ablation_extras.py / 13_revision_extras.py
│ ├── 14_figures_v5.py / 15_make_tables.py / 16_make_tables_v5.py / 17_gen_regression_table.py
│ └── 18_revision_language_leakage_spatial.py # v2.1: language, leakage, RTA FE, spatial CV, bootstrap, agreement, blend weights
├── results/ # hedonic summaries (txt), ablation_extras.json, revision_extras.json, revision_2026-10-17.json (+ .log)
├── docs/ # METHODOLOGIE.md + methodologie.tex/pdf (French data & method note), Elsevier highlights,
│ # REVIEW-REPORT.md, CHANGELOG-REVISION.md, main_pre-revision-20261017.pdf
└── paper/ # main.tex + sections/ + tables/ + figures/ + references.bib → main.pdf🚀 Quick start
python3 -m pip install -r requirements.txt
cp .env.example .env # OPENAI_API_KEY=…, ANTHROPIC_API_KEY=… (only steps 00–02 call the APIs)
# place the two Apify crawls in data/raw/ and build data/processed/maisons_avec_prix.json (docs/METHODOLOGIE.md §2–4), then:
WORKERS=24 python3 scripts/01_extract_specs_llm.py
python3 scripts/02_facade_vision.py
python3 scripts/03_merge_llm_features.py
python3 scripts/05_hedonic_ols_v4_text.py
python3 scripts/08_torch_nn_robust.py && python3 scripts/09_v5_ml_text_vision.py && python3 scripts/10_final_blend.py
python3 scripts/11_extras_v5_robustness.py && python3 scripts/12_ablation_extras.py && python3 scripts/13_revision_extras.py
python3 scripts/14_figures_v5.py && python3 scripts/16_make_tables_v5.py && python3 scripts/17_gen_regression_table.py
python3 scripts/18_revision_language_leakage_spatial.py # v2.1 robustness tables (≈5 min, no API calls)
cd paper && make # latexmk → main.pdfLLM extraction ≈ 600 tokens in / 110 out per listing (24 threads, temperature 0); vision ≈ 2,470 tokens in per image
(16 threads, API default temperature); both are resumable. Econometrics and ML ≈ 25 minutes on an Apple-silicon laptop
(PyTorch on MPS). Scripts 11–14, 16 and 18 rebuild the design matrix by executing the preamble of
scripts/09_v5_ml_text_vision.py.
🗃 Data
27,302 Realtor.ca and 7,693 DuProprio listings crawled on 2026-07-03; houses (single-family and townhouse) with a valid
price retained, outliers removed by the rules in docs/METHODOLOGIE.md §3, giving 19,123 observations (15,356
Realtor.ca, 3,767 DuProprio). Structural variables (living area, lot, rooms, year built, type, city, postal code),
15 bilingual keyword amenities, text-derived specifications (18 regressors) and façade attributes (21 regressors).
Language of the description (stop-word rule): 44.6% French, 43.1% English, 12.3% mixed. Every DuProprio
"description" embeds the platform's structured sheet including the asking price; Realtor.ca descriptions never do.
See data/raw/README.md and data/processed/README.md.
🔬 Methodology
- AI feature layers with strict JSON schemas and retry/backoff —
scripts/01_…,scripts/02_…(raw outputs archived; regressors regenerable without API calls). - Log-linear hedonic OLS with municipality fixed effects, HC3, municipality-clustered SEs and a pairs cluster bootstrap —
scripts/05_…,scripts/13_…,scripts/18_…. - Ablation by feature block × estimator under identical random folds and under RTA-grouped (spatial) folds —
scripts/09_…,scripts/12_…,scripts/18_…. - Equal-weight blend of the robust NN and HistGradientBoosting, with weight-grid and nested-weight checks —
scripts/10_…,scripts/18_…. - Robustness by segment, language, platform (leakage), RTA fixed effects; inter-source agreement of the AI attributes —
scripts/11_…,scripts/18_….
🖼 Figures & tables inventory
| Figure | Content |
|---|---|
fig_ablation |
out-of-sample gain by feature block and estimator (random folds) |
fig_calibration |
predicted vs actual, blend |
fig_importance |
feature-block permutation importance (GBM) |
fig_premia |
municipality fixed effects (extremes) |
fig_validation |
median price by vision score |
nn_diagram (TikZ) |
architecture of the robust NN |
Tables (paper/tables/*.tex): summary stats, AI summary, regression (A/B, clustered SEs), models (two panels),
ablation, robustness by subsample, and — new in v2.1 — rob_ai_coefs (language / RTA FE / Realtor-only / bootstrap CI),
rob_language_source (gains by language, platform, price-in-text), rob_spatial (random vs RTA-grouped CV),
agreement (AI attributes vs independent sources). Appendix: feature definitions, sample flow, language rule.
⚠️ Limitations
- Asking prices from listings, single cross-section (3 July 2026); no forward-in-time holdout possible.
- The LLM read the asking price for the 19.7% of listings from DuProprio; text-layer gains on that platform are an upper bound.
- No human-labelled validation set: extraction error is measured only by agreement with keyword rules and structured fields (high for garage/fireplace/pool, low for waterfront, visual setting and visual building type).
- Vision extraction at API default temperature; model identifiers are provider aliases (snapshots not pinned); test–retest variability not measured.
- Realtor.ca listings lack coordinates; location enters through municipality or RTA fixed effects.
- English-language indicator carries a large conditional premium that proxies for unobserved location/clientele.
- API costs (~$60) make the extraction layers the expensive part of replication.
📝 Citation
@techreport{boucher2026llmvisionhedonic,
author = {Boucher, Simon-Pierre},
title = {Hedonic House Pricing with Language-Model and Vision Features: Evidence from Quebec Real-Estate Listings},
institution = {Universit\'e du Qu\'ebec en Outaouais, D\'epartement des sciences administratives},
type = {Working Paper},
number = {14},
year = {2026},
month = {October},
note = {Version 2.1}
}👤 Author & contact
Simon-Pierre Boucher — Département des sciences administratives, Université du Québec en Outaouais (UQO), Gatineau, QC. 📧 simon-pierre.boucher@uqo.ca
🗒 Notes
- Revision 2026-10-17 (v2.1): full scientific review by an editorial-board agent — report in
docs/REVIEW-REPORT.md, audit trail indocs/CHANGELOG-REVISION.md. Main corrections: the claim that the vision layer was "the largest gain of any feature block" was wrong (the rooms/listing block adds more) and is withdrawn; the asking-price leakage in DuProprio descriptions is documented and quantified; vision temperature/model-version statements corrected; 15 (not 17) keyword amenities; 12 vision fields → 21 regressors; reference category of the city FE made explicit; bibliography verified (all DOIs) and extended from 35 to 53 references. Headline numbers of v2.0 are unchanged. - Numbering: this paper was first issued as "Working Paper No. 11" (July 2026); number 11 belongs to Half a Million Prices, Twenty Models. Renumbered 14 on 2026-10-17.
- Harmonised 2026-10-17: flat scripts moved to
scripts/(numbered), data todata/, logs removed, summaries toresults/, methodology note todocs/; file paths inside the scripts now point todata/…andresults/…(run them from the repository root). Bibliography styleaer. - The script
13_revision_extras.pywas written for a Journal of Housing Economics revision round (clustered SEs, in-sample ablation, extreme city effects);18_…for the October 2026 review.
Languages
| Language | Files | Lines | Share |
|---|---|---|---|
| Python | 21 | 4 554 | ████████████ 61.7 % |
| LaTeX | 24 | 2 825 | ████████ 38.3 % |
Counted on git-tracked files, excluding dependencies and generated files.
Documentation
| Document | Title |
|---|---|
CLAUDE.md |
Source header policy (SP Boucher) |
docs/CHANGELOG-REVISION.md |
CHANGELOG — révision scientifique complète (editorial board, 2026-10-17) |
docs/METHODOLOGIE.md |
Méthodologie — Modèle hédonique de prix des maisons (Québec) |
docs/REVIEW-REPORT.md |
REVIEW REPORT — editorial board, révision scientifique complète (2026-10-17) |
Repository facts
| First commit | 2026-10-17 |
| Contributors | 1 |
| Default branch | main |
| Latest tag | pre-revision-20261017 |
| Tracked files | 103 |
| Clone | git clone https://git.spboucher.ai/wp14_uqo.git |
Author
Simon-Pierre Boucher · spboucher.ai · contact@spboucher.ai