cs.CLOct 24, 2026

Quantifying Meaning with SCAPE-T: Semantic Complexity from Encoder-Only Transformer Attention

Authors: Maxim Khovansky, Lev Mukhanov

Organizations: EECS, Queen Mary University of London, London, United Kingdom

Abstract

Automated semantic complexity estimation remains underexplored in NLP, despite important applications in linguistics and interpretability. This paper defines semantic complexity as the code length required to uniquely specify a text's semantic meaning, and operationalises it via SCAPE-T, an attention-derived metric based on encoder-only transformers. Existing measures either model reader effort (readability, lexical difficulty), which correlates with surface features (word length, syntax), or quantify surface features directly (type-token ratio, word frequency). SCAPE-T targets semantic integration directly by combining three submetrics: (i) inverse-weighted self-focus (token-to-self), (ii) CLS focus (token-to-CLS), and (iii) inter-head redundancy (cosine similarity across heads), using layer-weighted aggregation; data-driven learning is confined to hyperparameter tuning for calibration. Development uses philosophical prose vs. MCTest stories; evaluation is on children's stories vs. technical Wikipedia articles, with pairwise accuracy on contrasts as the primary criterion. Baselines include readability, syntactic/lexical, and LLM-derived measures. SCAPE-T substantially outperforms all tested baselines under word-length control, with a pairwise accuracy of 78.5% (95% bootstrap CI: 76.1-80.4, N=10k pairwise comparisons; +12.7 percentage points over the strongest baseline); without that control, readability heuristics overtake, consistent with their reliance on surface features. On a short-terms abstractness dataset, SCAPE-T also leads. Ablations show each submetric contributes materially. Overall, the results show SCAPE-T isolates conceptual structure from lexical/syntactic confounds better than existing methods, and generalises across two held-out domains.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Measuring Monosemanticity in Sparse Autoencoders via Latent Activation Coherence

    Jul 20, 2026Katarzyna Filus, Sebastian PokucińskiRepresentation DisentanglementSparse Autoencoders

  2. Analyzing Traditional and Neural Approaches to Multilingual Readability Assessment

    Sep 9, 2026Joshua Wong, Chris TannerTransformer InterpretabilityFeature Attribution

  3. SICI: A Semantic-Pragmatic Complexity Index Reveals Regime Shifts in LLM Stance Detection

    Jun 11, 2026Fuqiang Niu, Bowen ZhangLLM EvaluationStance Detection