WorksComputer Science
Quantifying Meaning with SCAPE-T: Semantic Complexity from Encoder-Only Transformer Attention
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.
Introduction
Automated semantic complexity scoring has clear utility across NLP, linguistics, and other domains, yet research into it remains scarce. A reliable measure could support: (i) empirical tests of the long-standing equi-complexity hypothesis in linguistic typology [1, 2]; (ii) curriculum design and automated sequencing of instructional materials (from simpler to harder content) in education and assessment; and (iii) dataset construction, domain adaptation, and summarisation control, where complexity-aware sampling or targets are desirable. When operationalised via model-internal processing signals (as in this paper), analysing the metric’s systematic limitations could also aid interpretability and model diagnostics – for example, by flagging inputs that elicit a disproportionate semantic processing load, thereby localising where representation learning struggles with semantic integration.
Most work on language complexity focuses on readability or lexical sophistication, leaving semantic complexity under-defined. Even works aimed primarily at semantic complexity often adopt extensional characterisations such as abstractness, or informal notions such as “meaning density” [3]; such definitions are sufficient for ground-truth labelling, but are not rigorous enough to derive metrics from first principles. Consequently, this paper proposes the following definition:
Definition. The semantic complexity of a text is the minimum per-token code length required to uniquely specify the text’s semantic content relative to a fixed situation model{1} and empirical world state{1}.
As such, it can be conceptualised as the Kolmogorov complexity of semantic content normalised by token length and conditional on a fixed empirical world state and situation model. The definition is expected to be approximately model-invariant: admissible situation models that preserve semantic granularity should induce the same ranking up to a monotone transform{2}. On this view, complexity increases as a text introduces, binds, or interrelates more propositions. Conversely, discrepancies in measured semantic complexity when different situation models are used can indicate that the used situation models are flawed (see the discussion of semantic integration blindspots in §VI). Despite its utility, the literature offers few operationalisations that target this notion directly.
Existing measures tend to quantify reader effort or predictability rather than semantic content. Readability formulae and human-anchored lexical difficulty measures, such as Flesch–Kincaid, age-of-acquisition norms, frequency-based proxies, and ML models trained on human difficulty ratings, correlate strongly with surface features such as word length, frequency, and syntactic configuration [5], [6], [7], [8], [9], confounding the semantic complexity signal this paper aims to isolate. Traditional semantic frameworks that depend on human domain labelling or handcrafted inventories do not scale to large cross-domain or cross-lingual corpora and are sensitive to the biases of the annotators and the chosen domain definitions [10]. Alternative approaches include language-model perplexity and Minimum Description Length (MDL)-based approaches. Language-model perplexity measures the per-token cross-entropy under a language model trained on some corpus; while this approach avoids substantial dependence on surface features, it largely measures deviation from the model’s training distribution (e.g., domain shift, rare lexico-syntactic patterns) rather than conceptual load. Minimum Description Length (MDL)-based approaches minimise the code length of the observed string under a model, so they compress on text symbols rather than on semantic meaning; their scores therefore still track surface features like word length/frequency and syntax more than semantic integration [11]. Defining an MDL over meanings would require an explicit semantic representation and supervision, reintroducing human bias and limiting scalability. In short, prior work leaves us with strong tools for lexical and syntactic difficulty, but no generally adopted metric that directly targets semantic integration.
This paper addresses this gap with SCAPE-T: Semantic Complexity from Attention Patterns in Encoders (SCAPE), explored here in its encoder-only Transformer variant (T), which derives three complementary attention-derived submetrics directly from the specified definition (see §III for further details): (i) inverse-weighted self-focus (proportion of total attention from each token to itself) as a proxy for token interdependence; (ii) CLS focus (proportion of total attention directed at the CLS token) as a proxy for emergent sentence-level meaning; and (iii) inter-head redundancy, which penalises duplicated attention patterns via cross-head similarity. These submetrics are integrated via layer-weighted aggregation, which emphasises middle-to-late layers using a linear combination of uniform and Gaussian layer weights. For calibration and scaling, a set of hyperparameters – namely the submetric exponents, a reciprocal-penalty scale, a head-similarity threshold for redundancy, and the layer-weighting parameters – are tuned on token-length-matched development contrasts; no additional task supervision or model-weight training is performed to limit overfitting. In this paper, SCAPE-T is instantiated with BERT, but the approach is model-agnostic among encoders that expose attention and a sequence-level aggregator (e.g., modern BERT-family encoders and encoder–decoder models that retain a [CLS]-like token on the encoder side). In such cases, hyperparameters would likely require re-tuning.
Because semantic complexity ground truth is largely unavailable due to the ambiguity in existing definitions and absence of reliable metrics, proxies have to be relied on for evaluation. To minimise subjective bias, the proxies are chosen based on popular consensus: it is widely understood that dense philosophical prose is generally more semantically complex than simple descriptive statements, and that technical analysis of abstract concepts is generally more semantically complex than children’s stories aimed at very young readers [12]. Accordingly, the development contrast pairs sentences scraped from Hegel and Kant with sentences from MCTest stories, and the test contrast pairs sentences from Wikipedia articles on technical topics with sentences from children’s stories for very young readers via Project Gutenberg; the domain and genre shift from philosophical prose to encyclopaedic content, and from MCTest to children’s stories, is introduced to test generalisation. Since the ground truth consists of binary contrasts, pairwise accuracy is chosen as the primary evaluation metric: given one simple and one complex sentence, the metric should assign the higher score to the complex one. Additionally, a short-terms abstractness set is generated with OpenAI o3 under physical-embodiment criteria: while still only a proxy, abstractness helps distinguish semantic complexity from lexical/syntactic complexity and probes generalisation in a style- and domain-neutral setting (one–two-word terms, no punctuation, no style or domain cues). Baselines include DHH lexicon complexity [13]; MDL bits per byte compressor; GPT-2 perplexity; Flesch–Kincaid; Zipf frequency; BERT token length; type–token ratio; and mean dependency-tree depth. All metrics are computed on both the raw splits and a word-length-controlled variant obtained by sampling so that the word-length distributions of the two sets closely match, as well as on the abstractness dataset. Under length control, SCAPE-T substantially outperforms all baselines on held-out domains (+12.7pp over the strongest baseline); without control, readability heuristics overtake, consistent with their dependence on surface features like word length. SCAPE-T also leads on the abstractness set, providing further evidence of generalisability.
Contributions. This paper (1) formalises semantic complexity as the per-token description length relative to a fixed situation model and empirical world state; (2) introduces SCAPE-T, one of the first automated metrics to directly target semantic (rather than lexical/syntactic/predictive) complexity; (3) proposes a novel operationalisation of language complexity based on internal processing (encoder attention structure) rather than data-driven classification or regression; (4) establishes an evaluation protocol that isolates semantics from lexical confounds via word-length control and pairwise accuracy on widely accepted proxy contrasts (Hegel/Kant vs. MCTest; technical Wikipedia vs. children’s stories), complemented by a style- and domain-neutral abstractness set; and (5) demonstrates that, under length control, SCAPE-T substantially outperforms strong readability, lexical, syntactic, LLM, and compressor baselines on held-out domains (+12.7pp over the strongest baseline), also leading on the abstractness set, with ablations confirming that each attention-derived submetric contributes.
Related Work
Readability and Psycholinguistic Predictors
Text complexity in NLP is most often operationalised through lexical and syntactic proxies. Readability formulae (e.g., Flesch–Kincaid) model reader effort via surface features such as sentence length, syllables per word, and word length [5], [6], [14]. Feature-engineering approaches combine vocabulary statistics and structural cues: frequency lists and Zipf norms [8], type–token ratio for lexical diversity [15], part-of-speech and morphology, parse-based indicators such as mean dependency distance and tree depth [16], [17]. Cohesion and discourse indices (e.g., Coh-Metrix) add connectives, referential overlap, and LSA-based coherence [18], [19], [20], [21]. These methods are effective predictors of readability and lexical difficulty, but they target surface predictability and form rather than semantic content.
Psycholinguistic features correlate with perceived difficulty and are widely used in complexity estimation. Age of acquisition, concreteness, polysemy, and familiarity provide human-anchored complexity information [7], [22], [14]. Such resources are informative about vocabulary difficulty, yet they embed human and genre biases and do not directly isolate semantic integration.
Information-Theoretic, Formal, and Discourse-Based Proxies
Distributional semantics has been used to approximate semantic content. Latent Semantic Analysis and related vector-space methods capture topical breadth and cohesion for readability and assessment [23], [18], [24]. Information-theoretic formulations quantify sequence predictability through language-model cross-entropy or compression. Minimum Description Length minimises model plus data code length [11]; in practice, both perplexity and compressor bits-per-byte track token-level predictability and redundancy rather than the amount of information needed to specify semantic content. These measures are therefore sensitive to frequency, morphology, and syntax, not to semantic integration per se. This has been formalised in probing terms using MDL to assess representational predictability rather than semantic content [25].
Formal frameworks define semantic complexity relative to an explicitly modelled meaning space. Pollard and Biermann [10] count the domain’s talkable entities, attributes, and relations to obtain an information-theoretic measure of domain breadth. The DAST model [26] represents meanings in a lattice of “intuitions” and computes complexity from the lattice structure using a formal tuple. Both approaches provide principled semantics-grounded measures, but each presupposes a hand-crafted semantic representation or inventory and typically requires manual or rule-based construction. This limits automation and scalability to open-domain text.
Beyond sentence-level readability, discourse coherence models target how mentions and propositions are organised. Entity-grid and entity–graph methods [27], [28] capture transitions and connectivity that correlate with coherence and quality. RST-style discourse features and connectives have been shown to improve readability prediction over surface features alone [29], [19]. These lines more directly touch semantic organisation than syllable counts, but they still rely on discrete parsers and discourse inventories and are sensitive to genre and parser error.
Attention- and Representation-Based Methods
Neural methods have begun to target complexity via model-internal processing. Chen et al. [30] propose a bidirectional attention-based autoencoder for semantic complexity grading. The model reports strong classification accuracy, and the design suggests that reconstruction difficulty could reflect conceptual load. However, the system is trained on, and evaluated against, lexical complexity annotations (SemEval-style labels) and includes vocabulary-complexity features, so it primarily captures surface difficulty rather than semantic integration. Autoencoder reconstruction loss remains a promising alternative proxy if decoupled from lexical supervision and hand-crafted surface features.
Analyses of transformer encoders show that attention heads capture syntactic and semantic relations at different layers [31], [32], [33]. Head redundancy and pruning studies indicate overlapping patterns across heads [34]. These findings motivate complexity metrics that read encoder-internal structure rather than model outputs. SCAPE-T follows this line by aggregating attention-derived signals, including head redundancy, to target semantic integration, in contrast to output-likelihood measures and surface-feature heuristics. These findings directly motivate penalties for cross-head similarity [35], [36].
Despite the aforementioned attention-based methods, the explanatory power of attention remains contested. Adversarial and deletion analyses question whether raw attention weights explain model predictions [37], [38], while counter-arguments show that, under appropriate desiderata, attention can be explanatory or at least diagnostic [39]. Multi-hop attributions such as attention rollout/flow aggregate contributions across layers and paths, addressing some locality issues [40]. Gradient- and relevance-based alternatives (e.g., , integrated gradients [41], and transformer-specific relevance propagation) provide complementary internal signals that do not rely on raw attention magnitudes [42]. SCAPE-T’s use of attention therefore should be read as a diagnostic measure of integration, not as a causal explanation for model predictions.
SemEval-2021 Task 1 provides lexical complexity labels for words and expressions in context [43]. Such datasets are valuable for vocabulary difficulty but do not constitute ground truth for semantic complexity. The 10k Prompts Ranked dataset [44] captures LLM prompt difficulty as judged by users. These rankings primarily reflect the difficulty of completing the specified task, not the intrinsic semantic complexity of the prompt text. Neither resource directly evaluates a metric that aims to isolate conceptual structure from lexical and syntactic confounds.
Summary
The literature offers (i) strong surface and psycholinguistic predictors of readability, (ii) predictability and compression proxies sensitive to lexical and domain factors, (iii) rigorous but non-automated semantic frameworks, (iv) discourse-level models of entity and relation organisation, and (v) initial neural methods trained on lexical labels. What is still missing is a scalable, label-free metric that targets semantic integration by leveraging model-internal evidence. This gap motivates the approach introduced in this paper.
Methodology
Why encoder self-attention?
This paper aims to measure the semantic complexity of the input sequence. Decoder self-attention in autoregressive models is conditioned on previously generated outputs, and encoder–decoder cross-attention explicitly conditions on output-side queries [45]. Both inject information about the output hypothesis space into attention patterns, confounding a metric that characterises input text only. Encoder-only self-attention, by contrast, is conditioned solely on the input tokens, making it the appropriate substrate for an input-referential metric. BERT Base Uncased (evaluation mode) was chosen as the transformer model to reduce computational overhead and maximise scalability.
Applying the definition to encoder-only transformers
This paper estimates the (input-referential) minimum code length required to specify a sequence’s semantic content by reading signals from a frozen encoder-only Transformer. The situation model is operationalised as the entire frozen encoder3 and understood as fixed and task-agnostic in the context of this paper: pretraining equips it with priors over semantic regularities, represented at least partially by attention distributions as well as token embeddings. The use of the entire frozen encoder (not embeddings alone) reflects the empirical fact that semantic information is largely carried by contextualised layers rather than static embeddings [50], [32], [51]. The empirical world state is operationalised as the model’s empirical parametric knowledge, which serves as a fixed general proxy for the empirical world state in the definition. This proxy is treated as adequately world-representative at everyday granularity given the large and diverse pretraining corpora of transformers such as BERT; additionally, transformer-based language models have been demonstrated to be capable knowledge bases [52]. Nonetheless, notable coverage gaps remain, as discussed in §VII.
Operational assumptions. The submetrics constituting SCAPE-T rest on three monotonicity assumptions linking latent code length to specific principles applicable to observable attention structure; each is justified as a chain of implications from the definition given in §I. For clarity, consider three latent loci of semantic load under a fixed situation model: (i) sentence-level emergence (how much of the intended content exists only when the sentence is interpreted as a whole, beyond the resolved meanings of its constituents), (ii) subsentential emergence (how much of the intended content exists only when two or more tokens are interpreted as a whole, beyond individual token content), and (iii) channel utilisation (how many nonredundant relational channels4 are engaged to encode the same input). Based on these loci, the following monotonicity assumptions are posited:
(A1) Sentence-level emergence higher semantic complexity. Controlling for all other factors, if more meaning is emergent at the sentence level beyond the resolved meanings of its constituents, then more global relational content must be specified in addition to that constituent content; therefore, the minimum description needed to uniquely specify the sentence’s semantic content is strictly larger, hence higher semantic complexity.
(A2) Subsentential emergence higher semantic complexity. Controlling for all other factors, if more meaning is emergent within subsentential constituents beyond individual token content, then more relational content among tokens must be specified in addition to individual token content; therefore, the minimum description is strictly larger, hence higher semantic complexity.
(A3) Channel utilisation higher semantic complexity. Controlling for all other factors, if more relational channels contribute nonredundant semantic information in addition to that already encoded, then more information must be specified in the description; therefore, the minimum description is strictly larger, hence higher semantic complexity.
The next subsection instantiates (A1)–(A3) using attention-derived submetrics from a frozen encoder: CLS focus as an estimator of sentence-level consolidation, inverse-weighted self-focus as an estimator of token interdependence, and head redundancy as a penalty for lower independent channel utilisation; it further shows that each is a monotone correlate of the underlying code length under these assumptions. These submetrics are intended as theoretically motivated correlates rather than exhaustive estimators; SCAPE-T is therefore extensible and can incorporate additional correlates that admit analogous monotonic justifications.
Notation. Let the tokenised input have positions after prefixing [CLS] at index 0; let . For layer and head , is the row-stochastic attention matrix. is a small stabilising constant.
Estimator 1. CLS focus (from A1)
In BERT-style encoders, [CLS] aggregates sentence-level information [53]. Therefore, when sentence-level emergence increases, attention to [CLS] is expected to increase, while attention mass among non-[CLS] columns is expected to decrease. A scale-stable estimator is the ratio of the mean value of the former and the mean value of the latter:
By (A1), higher monotonically indicates more sentence-level content that must be encoded, hence higher semantic complexity.
Estimator 2 (pre-weighting). Self-Focus (from A2)
For token , greater contextual demand implies lower and more mass on other columns. Self-focus is then defined as the ratio of the mean self-directed attention over all non-[CLS] tokens and the global mean non-self-directed attention:
By (A2), lower monotonically indicates that more subsentential relational constraints must be specified to fix meaning, hence higher semantic complexity. The inverse weighting as well as scaling are introduced later in §III-B5.
Estimator 3. Head redundancy (from A3)
Let be the attention map with the diagonal and the [CLS] column zeroed (so redundancy captures information not already measured by self/CLS links). L2-normalised flattened vectors are formed as
For head , the comparison set comprises all heads in strictly previous layers and the earlier-indexed heads in the same layer:
The maximum cosine similarity to prior heads is
Note that, due to attention weights being nonnegative, the shared input, and chance overlap, attention heads are likely to have a baseline level of cosine similarity; to isolate true functional redundancy from these confounding variables, therefore, scores below a certain threshold need to be discounted. With threshold , the redundancy coefficient is
This order definition (by head index within a layer, all heads from earlier layers) makes the estimator order-invariant to any permutation of later heads. By (A3), larger monotonically indicates more independent relational channels engaged, hence higher semantic complexity.
Layer aggregation
Evidence suggests a coarse progression across encoder layers: early layers emphasise lexical/syntactic processing, mid-to-late layers encode semantics most strongly, and the very top layers are most task-specific [32, 51, 50]. These findings motivate a roughly bell-shaped weighting profile that emphasises intermediate-to-late layers. Accordingly, this paper aggregates layers using a normalised mixture of a Gaussian kernel (centred at with variance ) and uniform weights, with the uniform component allowing the strength of this emphasis to be calibrated:
Composite estimator
The final score integrates all the submetrics specified above into a single composite measure:
where:
Base is computed as:
(The length normalisation factor compensates for the potential sequence length dependence introduced by the explicit factor in the CLS focus estimator (see (1)); the exponent is retained to allow tuning on development data to accommodate more complex length dependencies in the underlying attention distributions.)
ISF is the Inverse-weighted Self-Focus, computed as:
(This term is applied outside of Base because, empirically on the development set, this separation improves performance.)
The remaining quantities are hyperparameters, detailed in tbl:I:
The input text is preprocessed by splitting on , boilerplate cleaning, punctuation removal, and basic stopword removal, and a few additional minor operations. The full preprocessing pipeline is detailed in Appendix B.
Scores are computed per sentence; multi-sentence texts are assigned the arithmetic mean of their per-sentence scores. The final computation pipeline is detailed in Figure 1.

Figure 1. High-level design of SCAPE-T with BERT.
Scope, correlates, and extensibility
The three base submetrics are theoretically motivated correlates of the minimum code length under a fixed situation model; they are not claimed to exhaustively estimate code length. SCAPE-T is therefore extensible: additional correlates (e.g., other forms of cross-token integration or alternative capacity-use indicators) can be incorporated multiplicatively
or via calibrated transforms, provided they satisfy a justified monotonic relationship with minimum code length and remain input-referential.
Data & Evaluation
Sentence datasets.
Both sentence datasets were generated by producing simple vs complex contrasts.
For the development complex group, 4,529 sentences from Hegel’s Science of Logic and 5,034 sentences from Kant’s The Critique of Pure Reason were scraped from Project Gutenberg, with headers and footers stripped, whitespace normalised. For the development simple group, 31977 sentences were scraped from MCTest-500 stories. The development set is token-length-controlled via greedy matching on BERT token length to pairs.
For the test simple group, 143 sentences from Three Little Pigs (#18155), The Gingerbread Man (#25877), and the Children’s Hour collection (#11592) were scraped from Project
Gutenberg, with Gutenberg boilerplate removed, bracketed tags stripped, and sentinel lines dropped (3+ uppercase letters, “//”, or “EBook”). For the test complex group, 1123 sentences were scraped from Wikipedia pages on Artificial Intelligence, Quantum Field Theory, and Philosophy of Mind after citation/number artifact cleanup. A word-length-controlled test set () – WLC test – is then constructed that enforces near-equality of average word length and matches the 90th percentile of per-sentence max-word length via bounded swaps. All 3 sets are filtered by BERT token length .
Abstractness lexicon (short terms).
This paper builds a lexicon of short terms consisting of at most two words and split into the following abstractness classes: (1) direct references to physical objects/actions/properties; (2) concepts with direct physical embodiment; (3) indirectly embodied or process-defined concepts; (4) abstract concepts with no clear relationship to the physical world. OpenAI o3 is instructed to generate 50-100 terms for each class provided the aforementioned criteria, with balanced variance in symbol length between the terms within each class; the generated dataset is then checked by a human, and inappropriate entries are removed. The final set (accessible at https://github.com/MaxKho/SCAPE/blob/main/data/Abstractness.csv) consists of 236 terms in total. Each term is scored by SCAPE-T as a standalone input.
Evaluation.
Given score dictionary , pairwise accuracy computes
where is the complex group and the simple group. For the abstractness set, is Category 4 and is Categories 1&2; all cross-category pairs are compared (ties ). Category 3 was excluded from evaluation for clearer contrasts. For all other sets, pairwise accuracy is computed directly.
Hyperparameter tuning.
All hyperparameters (Table I) are tuned once on the token-length-controlled development set by maximising pairwise accuracy (ties ) between complex and simple groups. A compact evolutionary strategy with elitist selection is used: let be the current parameter vector (bounds given in code). At iteration , generate offspring:
| Name | Role |
| Exponent on redundancy in (7) | |
| Exponent on CLS focus in (7) | |
| Exponent on Base in (6) | |
| Exponent on ISF in (6) | |
| Length normalisation exponent in (7) | |
| Inverse-weighting scale in (8) | |
| Similarity threshold for redundancy in (4) | |
| Gaussian layer weighting strength in (5) | |
| Mean and std. of Gaussian layer weighting in (5) |
Table I. Hyperparameters.
where is the bound for dimension and is the mutation rate. Evaluate the objective (pairwise accuracy) and set . This paper uses iterations, , seed 1, , and clip to bounds per dimension; the full hyperparameter bounds used are detailed in Appendix C.
The selected settings are then frozen and used for all test sets and the abstractness lexicon. No test data is used for tuning.
The following hyperparameter configuration was found by the evolutionary search (symbols as in Table I):
, , , , , , , , , .
Results
Primary Results
SCAPE-T is compared against:
Flesch–Kincaid readability (negated): negative Flesch reading ease from
textstat.Token length: number of BPE tokens from the GPT-2 tokeniser.
Type–token ratio (TTR): ratio of unique words to all words in the text.
Zipf frequency (negated mean): negative mean Zipf frequency using
wordfreq, where Zipf frequency() = (frequency of per tokens).GPT-2 perplexity: HuggingFace GPT-2 (
GPT2LMHead-Model) with default weights.MDL bits/byte: total negative log-likelihood from GPT-2 converted to bits and normalised by UTF-8 bytes.
Lexicon complexity: mean lexical complexity rating per token from the DHH dataset introduced in [13].
Syntactic baseline: spaCy
en_core_web_smparser for mean dependency-tree depth.
All methods use the same sentences; bootstrap CIs are nonparametric, pair-level resampling percentile intervals given 100 resamples.
On WLC Test (word-length–controlled test set), SCAPE-T attains 78.5% pairwise accuracy with a 95% bootstrap CI of 76.1–80.4, +12.7pp over the strongest baseline (DHH lexicon complexity, 65.8%); Flesch–Kincaid is 59.5%, and the remaining baselines are (Table II). On the uncontrolled test set, readability/lexical heuristics dominate (lexicon 94.3%, Flesch–Kincaid 93.1%, Zipf 85.4%); SCAPE-T reaches 85.1%, while the remaining baselines are .
| Metric | WLC Test | Test | Abstractness |
| SCAPE-T | 78.5 | 85.1 | 82.3 |
| Lexicon complexity | 65.8 | 94.3 | 74.4 |
| Flesch–Kincaid | 59.5 | 93.1 | 78.9 |
| Type–Token ratio | 56.4 | 61.7 | 50.0 |
| MDL (bits/byte) | 52.0 | 34.1 | 26.7 |
| Zipf frequency | 47.9 | 85.4 | 54.6 |
| GPT-2 perplexity | 45.4 | 58.4 | 32.3 |
| Token length | 39.2 | 49.6 | 51.7 |
| Mean dep-tree depth | 36.9 | 45.5 | 50.6 |
Table II. Pairwise accuracy (%).
On the (token-length–controlled) development set, SCAPE-T scores 87.1% (bootstrap 95% CI: 0.81–0.91, pairwise comparisons).
On the short-terms abstractness dataset, SCAPE-T leads with 82.3%, ahead of Flesch–Kincaid (78.9%) and the lexicon baseline (74.4%); other baselines are .
Additionally, as a test of linguistic bias, sentences from Le Petit Prince (Project Gutenberg Australia) were contrasted against the development complex group; the French children’s sentences were scored higher in 78% of pairs. A similar tendency was observed for single dialectal terms from Scottish English, which received disproportionately high scores.
Ablations
Ablation analysis was performed on both the submetrics and the layers. Single-factor ablations were used for both, which zero one component at a time and re-evaluate pairwise accuracy with the same protocol. Both the development and the abstractness set were used for submetric ablations, while only the development set was used for layer ablations.
a) Submetric ablations: CLS focus ablation demonstrated substantial drops on both sets, indicating it is likely the most informative submetric. Layer weighting ablation also demonstrated substantial drops on both sets. Self-focus ablations demonstrated smaller, but still statistically significant drops ( 95% bootstrap CI: −5.67 to −3.42). Head redundancy ablations did not reveal a statistically significant contribution on the development set (full sentences), but did reveal a notable contribution on the abstractness set (short terms).
b) Per-layer ablations: Layer 2 and layer 10 ablations demonstrated substantial drops; layer 1 and layer 3 ablations demonstrated minor gains. At all other layers, no notable changes were observed.
| Ablation | Pairwise Acc. (%) | from base (pp) |
| Baseline | 88.80 | 0.00 |
| No head redundancy () | 88.76 | −0.04 |
| No self-focus penalty () | 84.20 | −4.60 |
| Uniform layer weights () | 58.62 | −30.18 |
| No CLS focus () | 57.42 | −31.38 |
Table III. Submetric ablations on development set.
| Ablation | Pairwise Acc. (%) | from base (pp) |
| Baseline | 82.32 | 0.00 |
| No self-focus penalty () | 81.04 | −1.29 |
| No head redundancy () | 80.25 | −2.08 |
| Uniform layer weights () | 76.29 | −6.04 |
| No CLS focus () | 64.60 | −17.72 |
Table IV. Submetric ablations on abstractness set.

Figure 2. Per-layer single-removal accuracy drop on development ( accuracy in pp). Baseline accuracy: 88.8%.
Discussion
Overall patterns. On the uncontrolled test set, readability and lexical baselines obtain the highest scores, with SCAPE-T also competitive. Under word-length control (WLC), those baselines degrade sharply, while SCAPE-T remains strong, showing the highest performance of the tested baselines (Table II); this corroborates the original proposition that they mostly track word length/frequency, not semantic integration. Similarly, on one–two-word items with minimal surface cues (the abstractness set), SCAPE-T leads as well, supporting sensitivity to conceptual load beyond readability. SCAPE-T’s leading performance on the WLC and abstractness datasets indicates that SCAPE-T’s comparatively lower accuracy than the leading baselines on the uncontrolled test set can reasonably be attributed, at least in part, to reduced sensitivity to predictive surface cues. On the other hand, GPT-2 perplexity and bits/byte underperform on WLC and abstractness, reflecting sensitivity to distributional mismatch and compressibility.
Domain transfer. Hyperparameters tuned on the token-length–controlled Hegel/Kant vs. MCTest contrast transfer to Wikipedia vs. children’s stories (encyclopedic technical prose vs. early-reader fiction), constituting evidence for genre and style generalisation.
Linguistic bias. The linguistic bias results are consistent with the expectation (mentioned in §I) that disproportionately high scores might indicate semantic integration blindspots: because SCAPE-T reads English BERT Base attention, extra context is needed to (partially) decode non-standard/non-English inputs, inflating scores. Encoders trained on multilingual data are therefore advisable for such data; see §VII.
Layer ablations. The result that layer 2 and layer 10 are the most informative by a considerable margin is unexpected. A potential explanation is that inverse self-focus (token interdependence) depends on early syntactic scaffolding (L2) and late semantic integration (L10); intervening layers contribute less specifically to this estimator. Further analysis is left to future work. The phenomenon is also discussed in §VII.
Takeaways. (i) SCAPE-T isolates semantic integration under length control, and transfers across genres; (ii) CLS focus and layer weighting drive performance; inverse-weighted self-focus adds local-context sensitivity; (iii) head redundancy matters more on short inputs; (iv) layer ablations suggest early+late reliance for interdependence – an open limitation to probe.
Limitations
While SCAPE-T demonstrates stable performance and outperforms tested baselines under word-length control, a number of limitations remain. The metric reads raw encoder attention and should be treated as a diagnostic proxy for semantic integration rather than as a causal account of model reasoning. The operational definition is instantiated using a single frozen situation model – BERT Base with an English tokenizer – and a CLS-style aggregator; portability to other encoders, sizes, tokenisers, architectures without a CLS token, and multilingual settings has not yet been established, so absolute scores are not guaranteed to be comparable across models. Moreover, SCAPE-T uses parametric knowledge as a proxy for true world state; because this knowledge is conditional on the pretraining corpus, it inherits its coverage gaps and biases [54]. Since these biases tend to affect conceptual knowledge rather than basic empirical facts, their effect on SCAPE-T’s estimates is unlikely to dominate, but requires investigation.
Per-layer ablations concentrate importance at specific layers, namely layers 2 and 10; while ablations also reveal that emphasising mid-to-late layers appreciably improves performance – consistent with the premise that the semantic complexity signal is strongest in these layers – the near-exclusive importance of layers 10 and especially 2 requires explanation.
Evaluation relies on proxy contrasts that are widely accepted but not gold standards for semantic content. Length control suppresses surface cues yet can distort natural length distributions and may underweight cases where length covaries with meaning density. The current scope is sentence-level; discourse phenomena such as coreference chains, rhetorical structure, and long-range coherence are only indirectly reflected when multi-sentence inputs are averaged. Preliminary observations indicate inflated scores for non-English or dialectal inputs processed with an English encoder, underscoring the need for multilingual validation.
Hyperparameters are tuned once on a single development contrast; although test domains are held out, some overfitting risk remains, and stability under alternative development splits is not exhaustively characterised; the relatively high number of hyperparameters exacerbates this risk. The head-redundancy term has limited effect on full sentences but a larger effect on short terms, suggesting length-dependent utility and design choices that could be improved. Computing and aggregating full attention maps across layers and heads incurs higher cost than readability heuristics, and the inverse self-focus transform improves accuracy at the expense of simple interpretability of raw magnitudes. Pairwise comparisons are therefore more reliable than absolute values. Given the observed 78.5% pairwise accuracy on the word-length-controlled test set, the metric is best deployed to capture corpus-level tendencies; it is not yet an error-proof indicator of semantic complexity for individual texts. Pairwise or group-level comparisons therefore remain the most defensible use case.
As mentioned in §III-C, SCAPE-T is extensible via complementary internal signals that theoretically satisfy a monotonic relationship with semantic complexity; therefore, the full space of such signals remains untested.
Conclusion
This paper formalises semantic complexity as the description length of a text’s semantic content, and operationalises it with SCAPE-T, which aggregates three attention-derived correlates – CLS focus, inverse-weighted self-focus, and inter-head redundancy – via semantics-weighted layer aggregation. Under word-length control, SCAPE-T outperforms readability, lexical, syntactic, language-model, and compressor baselines on held-out domains, and leads on a style- and domain-neutral abstractness set; ablations indicate that each submetric and the aggregation scheme contribute materially. Taken together, the results provide a strong proof of concept that encoder attention patterns can be used to systematically gauge semantic complexity and lay practical groundwork for future research on semantic complexity estimation.
Promising directions include evaluating portability across models (such as Modern BERT, encoder-decoder models, and multilingual models such as XLM-R); extending from sentences to discourse-aware variants that incorporate coreference and rhetorical structure; integrating complementary internal signals such as attention rollout, inverse CLS self-focus ([CLS][CLS]), special handling of the [SEP] token, and gradient- or relevance-based attributions within the same monotonic framework; refining capacity-use terms beyond cosine-thresholded redundancy and reducing length dependence; constructing challenge sets targeted at semantic content to strengthen construct validity; and improving calibration so that absolute scores are comparable across models and domains without relying solely on pairwise evaluation.
References
Abbreviations, acronyms, and terminology
| Abbrev. | Meaning |
| NLP | Natural Language Processing |
| [CLS] | BERT classification token |
| [SEP] | BERT separator token |
| LLM | Large Language Model |
| MDL | Minimum Description Length |
| LSA | Latent Semantic Analysis |
| RST | Rhetorical Structure Theory |
| WLC | Word-length-controlled (test split) |
| TTR | Type–Token Ratio |
| BPE | Byte Pair Encoding |
| CSV | Comma-Separated Values |
| CI | Confidence Interval |
| pp | Percentage points |
| N | Sample size (count of items/pairs) |
Table V. Abbreviations, technical acronyms, and shorthand.
Preprocessing Details
Overview
The pipeline performs: (1) text-level normalisation; (2) tokenisation and sentence grouping; (3) per-sentence cleaning with rejections and repairs; (4) content-word projection (drop basic stopwords as well as punctuation except apostrophes); (5) per-sentence scoring and mean aggregation to document level.
Text-level normalisation
a) Ellipses: Ellipses (“...”) do not provide much semantic information, and are therefore replaced context-sensitively as follows: if the next non-space character is uppercase, map to “. ”; if lowercase, map to “ ”; otherwise leave as “...”.
b) Abbreviation / citation expansion: To prevent spurious sentence breaks and standardise markers, the following replacements are applied once to common abbreviations, left to right:
Honorifics and titles
Dr.→DoctorProf.→ProfessorSr.→SeniorJr.→JuniorSt.→SaintMr., Mrs., Ms.: drop the period and keep a trailing space (e.g.,Mr.→Mr).
Latinisms
i.e.→that is,e.g.→for exampleviz.→namelycf.→cf(period removed, space kept)
Bibliographic shorthands
p.→page/P.→Pagepp.→pagesl.→linech.orchap.→chaptered.→edition/edd.→editionsvol.orVol.→volumepref.→preface
etc. and &c.
Standardise both to
and so forth.If a capitalised word follows immediately (e.g.,
etc. Quantum), ensure there is a period and a space before the capitalised word:and so forth . Quantum.
Roman numerals
If a Roman numeral (e.g.,
IV,xvi) is followed by a period, drop the period and leave a trailing space (e.g.,xvi.→xvi).
Consecutive punctuation marks
Collapse any sequence of repeated punctuation (
. , ; : ? !) to a single instance (e.g.,?!?→?,,,→,).
Segmentation and sentence grouping
a) Segmentation: Each text is segmented into (i) maximal non-space spans that exclude {.,,:;?!} – called words in this paper – and (ii) single punctuation marks from that set – called punctuation. (Regex used: two-alternative pattern equivalent to non-space, non-punct or single punct.)
b) Sentence grouping: The set of segments is grouped into sentences as follows: tokens are scanned left-to-right; on encountering a delimiter (. , ! ?), the current sentence is ended, and the delimiter is attached to it. A trailing fragment without a delimiter is kept.
Per-sentence cleaning
Each raw sentence undergoes: hard rejections, repairs, a fixed-point filter, and final sanitation.
a) Hard rejections (drop the sentence if any triggers):
If the sentence contains a span enclosed in single quotes (e.g., ‘...’), treat it as direct speech and discard: direct speech often expresses a separate idea to the sentence it is contained in, making sentence-level semantics ambiguous.
If the sentence contains obvious formatting/artefact markers, namely
•,",”,$, an isolated apostrophe, or an isolateditoken, treat the sequence as formatting and discard.
If the sentence begins with a number followed by a colon (e.g., “12:” or “3 :”), treat it as a timestamp/list marker and discard.
b) Repairs (single pass, in this order):
Remove a trailing stray
_,], or)at end of sentence.
Remove a leading
[or]at start of sentence.
Delete stray inline
[or((unmatched openers).
Strip a leading one of
,;:.
Normalise em-dash spacing around
—: ensure “[letter]—” becomes “[letter] —” and “—[letter]” becomes “— [letter]”.
Collapse consecutive punctuation marks (
,;:?!) to a single mark (e.g.,?!?→?).
Collapse consecutive runs of
—to a single—.
If the sentence starts with
PageorPagesfollowed by a number (e.g.,Page 12), remove that prefix.
Remove empty single-quote pairs at the start (e.g.,
' / 'with optional spaces).
Strip a leading number at the start.
Remove leading asterisk bullets or runs of
*.
c) Fixed-point filter (repeat this sequence until no further change):
If the sentence starts with an unmatched
'or", drop that leading quote.
Strip any leading digits.
Strip one leading symbol if it is one of
/;:.—.
If the sentence begins with a Roman-numeral run from
{i,v,x,I,V,X}or withpage/Page, optionally followed by page, then a number, remove that whole prefix (e.g.,iv 23, Page 5, Page page 5).
If it begins with
line <digits>from bottom orline <digits>from top, remove that whole prefix.
If it ends with , + optional spaces + (Roman-numeral run or page) + spaces + digits + optional spaces + optional ., remove that trailing reference.
Remove any remaining leading digits (if produced by earlier edits).
Remove the odd leading sequence ’,.
Remove a leading run of two or more Roman-numeral letters from {i, v, x, I, V, X}.
d) Final cleaning:
Collapse consecutive spaces.
Remove leading and trailing spaces.
If the sentence is non-empty and doesn’t already end in a delimiter ({., !, ?}), append “ .”.
Collapse any remaining punctuation runs using the same “collapse consecutive punctuation marks” rule as above.
If the sentence begins with a lowercase letter, treat as a sentence grouping error and discard.
The cleaning procedure was motivated partially by universal tendencies and partially by Project Gutenberg idiosyncrasies. An alternative approach would have been to devise two separate cleaning algorithms, with one being applied to all SCAPE-T input and one applied only to Project Gutenberg texts; however, for simplicity, as well as to streamline the cleaning process for future researchers intending to evaluate SCAPE-T on Project Gutenberg texts, the two were combined into one preprocessing pipeline.
Content-word projection (before scoring)
From each cleaned sentence:
remove ASCII punctuation except apostrophes (so contractions are preserved)
drop the stop words “a”, “an”, “the”, “that”, “and”, “very”, “will”, “just”, which carry little semantic information and tend to deflate complexity scores
Sentences that become empty after (i)–(ii) should be discarded.
Aggregation to document level
Given per-sentence scores for , the document score is the arithmetic mean
with the document skipped if .
Determinism
All steps are functional (no sampling). The encoder is frozen and run in evaluation mode with attention outputs enabled, so preprocessing is deterministic given the input.
Appendix C: Hyperparameter Bounds
The following hyperparameter bounds were used for the evolutionary search:
| Parameter | Search range |
Table VI. Hyperparameter bounds.
References
- [1]O. Shcherbakova, V. Gast, D. E. Blasi, H. Skirgård, R. D. Gray, and S. J. Greenhill, “A quantitative global test of the complexity trade-off hypothesis: the case of nominal and verbal grammatical marking,” Linguistics Vanguard, vol. 9, no. s1, pp. 155–167, 2023. [Online]. Available: https://doi.org/10.1515/lingvan-2021-0011
- [2]G. Sampson, D. Gil, and P. Trudgill, Eds., Language Complexity as an Evolving Variable. Oxford University Press, 2009.
- [3]A. Siddharthan, “Syntactic simplification and text cohesion,” Research on Language and Computation, vol. 4, no. 1, pp. 77–109, 2006.
- [5]R. Flesch, “A new readability yardstick,” Journal of Applied Psychology, vol. 32, no. 3, pp. 221–233, 1948.pubmed.ncbi.nlm.nih.gov/18867058
- [6]J. P. Kincaid, R. P. Fishburne Jr., R. L. Rogers, and B. S. Chissom, “Derivation of new readability formulas for Navy enlisted personnel,” Naval Air Station Memphis, Research Branch Report 8-75, Tech. Rep., 1975.
- [7]V. Kuperman, H. Stadthagen-Gonzalez, and M. Brysbaert, “Age-of-acquisition ratings for 30,000 english words,” Behavior Research Methods, vol. 44, no. 4, pp. 978–990, 2012.
- [8]M. Brysbaert and B. New, “Moving beyond kucera and francis: a critical evaluation of current word frequency norms and the introduction of a new and improved word frequency measure for american english,” Behavior Research Methods, vol. 41, no. 4, pp. 977–990, 2009.
- [9]P. M. McCarthy and S. Jarvis, “Mtd, volc, and hd-d: A validation study of sophisticated approaches to lexical diversity assessment,” Behavior Research Methods, vol. 42, pp. 381–392, 2010.
- [10]S. Pollard and A. W. Biermann, “A measure of semantic complexity for natural language systems,” in Proceedings of the NAACL-ANLP 2000 Workshop: Syntactic and Semantic Complexity in Natural Language Processing Systems. Seattle, Washington: Association for Computational Linguistics, 2000, pp. 42–46. [Online]. Available: https://aclanthology.org/W00-0107/
- [11]J. Rissanen, Modeling by Shortest Data Description. Automatica, 1978, vol. 14.DOI
- [12]A. C. Graesser, D. S. McNamara, and M. M. Louwerse, “What do readers need to learn in order to process coherence relations in narrative and expository text,” in Rethinking Reading Comprehension, ser. Solving Problems in the Teaching of Literacy, A. P. Sweet and C. E. Snow, Eds. New York: Guilford Press, 2003, pp. 82–98.
- [13]O. Alonzo, S. Lee, M. Maddela, W. Xu, and M. Huenerfauth, “A dataset of word-complexity judgements from deaf and hard-of-hearing adults for text simplification,” in Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022) at EMNLP 2022, 2022.
- [14]K. Collins-Thompson, “Computational assessment of text readability: A survey of current and future research,” ITL – International Journal of Applied Linguistics, vol. 165, no. 2, pp. 97–135, 2014.
- [15]K. Kettunen, “Can type-token ratio be used to show morphological complexity of languages?” Journal of Quantitative Linguistics, vol. 21, no. 3, pp. 223–245, 2014.
- [16]S. Vajjala, “Analyzing text complexity and text simplification: Connecting linguistics, processing and educational applications,” Ph.D. dissertation, University of Tübingen, Tübingen, Germany, 2015, unpublished.
- [17]F. Dell’Orletta, S. Montemagni, and G. Venturi, “Assessing readability of text simplification for italian,” in Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics (EACL). Gothenburg, Sweden: Association for Computational Linguistics, 2014, pp. 103–112. [Online]. Available: https://aclanthology.org/E14-1062
- [18]D. S. McNamara, A. C. Graesser, P. M. McCarthy, and Z. Cai, Automated Evaluation of Text and Discourse with Coh-Metrix. Cambridge, UK: Cambridge University Press, 2014.
- [19]L. Feng, M. Jansch, M. Huenerfauth, and N. Elhadad, “A comparison of features for automatic readability assessment,” in Proceedings of the 23rd International Conference on Computational Linguistics (COLING). Beijing, China: Coling 2010 Organizing Committee, 2010, pp. 276–284. [Online]. Available: https://aclanthology.org/C10-2032
- [20]M. Flor, B. Megan Kبلanov, and K. M. Sheehan, “Lexical tightness and text complexity,” in Proceedings of the Eighth Workshop on Innovative Use of NLP for Building Educational Applications. Atlanta, Georgia: Association for Computational Linguistics, 2013, pp. 95–104. [Online]. Available: https://aclanthology.org/W13-1504
- [21]S. A. Crossley, K. Kyle, and D. S. McNamara, “The tool for the automatic analysis of cohesion (taaco): Automatic assessment of local, global, and text cohesion,” Behavior Research Methods, vol. 48, no. 4, pp. 1227–1237, 2016.
- [22]M. Brysbaert, A. B. Warriner, and V. Kuperman, “Concreteness ratings for 40 thousand generally known english word lemmas,” Behavior Research Methods, vol. 46, no. 3, pp. 904–911, 2014.
- [23]T. K. Landauer, D. S. McNamara, S. Dennis, and W. Kintsch, Eds., Handbook of Latent Semantic Analysis. Mahwah, NJ: Lawrence Erlbaum (Psychology Press), 2007.
- [24]E. Chersoni, P. Blache, and A. Lenci, “Towards a distributional model of semantic complexity,” in Proceedings of the Workshop on Computational Linguistics for Linguistic Complexity (CLLC) at COLING. Osaka, Japan: The COLING 2016 Organizing Committee, 2016, pp. 12–23. [Online]. Available: https://aclanthology.org/W16-4102
- [25]T. Pimentel, N. Saphra, A. Williams, and R. Cotterell, “Information-theoretic probing with minimum description length,” in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics, 2020.
- [26]M. Besharati and M. Izadi, “Dast model: Deciding about semantic complexity of a text,” arXiv preprint arXiv:1908.09080, 2019, unpublished. [Online]. Available: https://arxiv.org/abs/1908.09080
- [27]R. Barzilay and M. Lapata, “Modeling local coherence: An entity-based approach,” Computational Linguistics, vol. 34, no. 1, pp. 1–34, 2008.
- [28]C. Guinaudeau and M. Strube, “Graph-based local coherence modeling,” in Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 2013.
- [29]E. Pitler and A. Nenkova, “Revisiting readability: A unified framework for prediction of text readability,” in Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 2008.
- [30]R. H. Chen, B. S. Ng, S. Paramasivam, and L. Ren, “An automatic grading model for semantic complexity of english texts using bidirectional attention-based autoencoder,” Journal of Circuits, Systems and Computers, 2025, publisher: World Scientific. URL: https://www.worldscientific.com...
- [31]C. Clark, U. Khandelwal, O. Levy, and C. D. Manning, “What does BERT look at? an analysis of BERT’s attention,” in Proc. BlackBoxNLP Workshop at ACL, 2019.
- [32]L. Tenney, D. Das, and E. Pavlick, “BERT rediscovers the classical NLP pipeline,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. Florence, Italy: Association for Computational Linguistics, Jul. 2019, pp. 4593–4601. [Online]. Available: https://aclanthology.org/P19-1452arxiv.org/abs/1905.05950
- [33]A. Rogers, O. Kovaleva, and A. Rumshisky, “A primer in BERTology: What we know about how BERT works,” Transactions of the ACL, vol. 8, pp. 842–866, 2020.arxiv.org/abs/2002.12327
- [34]P. Michel, O. Levy, and G. Neubig, “Are sixteen heads really better than one?” in Proc. NeurIPS, 2019.arxiv.org/abs/1905.10650
- [35]E. Voita, D. Talbot, F. Moiseev, R. Sennrich, and I. Titov, “Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned,” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2019.arxiv.org/abs/1905.09418
- [36]O. Kovaleva, A. Romanov, A. Rogers, and A. Rumshisky, “Revealing the dark secrets of BERT,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). Association for Computational Linguistics, 2019.arxiv.org/abs/1908.08593
- [37]S. Jain and B. C. Wallace, “Attention is not explanation,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Association for Computational Linguistics, 2019.
- [38]S. Serrano and N. A. Smith, “Is attention interpretable?” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2019.arxiv.org/abs/1906.03731
- [39]S. Wiegreffe and Y. Pinter, “Attention is not explanation,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). Association for Computational Linguistics, 2019.
- [40]S. Abnar and W. Zuidema, “Quantifying attention flow in transformers,” in Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2020.arxiv.org/abs/2005.00928
- [41]M. Sundararajan, A. Taly, and Q. Yan, “Axiomatic attribution for deep networks,” in Proceedings of the 34th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, D. Precup and Y. W. Teh, Eds., vol. 70. Sydney, Australia: PMLR, Aug 2017, pp. 3319–3328.arxiv.org/abs/1703.01365
- [42]H. Chefer, S. Gur, and L. Wolf, “Transformer interpretability beyond attention visualization,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2021.arxiv.org/abs/2012.09838
- [43]M. Shardlow, R. Evans, G. H. Paetzold, and M. Zampieri, “Semeval-2021 task 1: Lexical complexity prediction,” in Proceedings of the 15th International Workshop on Semantic Evaluation (SemEval-2021), A. Palmer, N. Schneider, N. Schluter, G. Emerson, A. Herbelot, and X. Zhu, Eds. Online: Association for Computational Linguistics, Aug. 2021, pp. 1–16. [Online]. Available: https://aclanthology.org/2021.semeval-1.1/
- [44]Data is Better Together, “10k prompts ranked,” https://huggingface.co/datasets/data-is-better-together/10k_prompts_ranked, 2023, hugging Face dataset; accessed 11 Aug 2025. Unpublished.
- [45]A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in Neural Information Processing Systems 30. Curran Associates, Inc., 2017, pp. 5998–6008. URL: https://proceedings.neurips.cc...
- [46]J. Wu, Y. Belinkov, H. Sajjad, N. Durrani, F. Dalvi, and J. Glass, “Similarity analysis of contextual word representation models,” in Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, D. Jurafsky, J. Chai, N. Schluter, and J. Tetreault, Eds. Online: Association for Computational Linguistics, Jul. 2020, pp. 4638–4655. [Online]. Available: https://aclanthology.org/2020.acl-main.422/arxiv.org/abs/2005.01172
- [47]J. Phang, H. Liu, and S. R. Bowman, “Fine-tuned transformers show clusters of similar representations across layers,” in Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP, J. Bastings, Y. Belinkov, E. Dupoux, M. Giulianelli, D. Huk, Y. Pinter, and H. Sajjad, Eds. Punta Cana, Dominican Republic: Association for Computational Linguistics, Nov. 2021, pp. 529–538. [Online]. Available: https://aclanthology.org/2021.blackboxnlp-1.42/
- [48]T. Pires, E. Schlinger, and D. Garrette, “How multilingual is multilingual BERT?” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, A. Korhonen, D. Traum, and L. Märquez, Eds. Florence, Italy: Association for Computational Linguistics, Jul. 2019, pp. 4996–5001. [Online]. Available: https://aclanthology.org/P19-1493/arxiv.org/abs/1906.01502
- [49]S. Wu and M. Dredze, “Beto, bentz, becas: The surprising cross-lingual effectiveness of BERT,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), K. Inui, J. Jiang, V. Ng, and X. Wan, Eds. Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 833–844. [Online]. Available: https://aclanthology.org/D19-1077/arxiv.org/abs/1904.09077
- [50]K. Ethayarajh, “How contextual are contextualized word representations? comparing the geometry of BERT, ELMo, and GPT-2 embeddings,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 55–65. [Online]. Available: https://aclanthology.org/D19-1006arxiv.org/abs/1909.00512
- [51]G. Jawahar, B. Sagot, and D. Sedda h, “What does BERT learn about the structure of language?” in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. Florence, Italy: Association for Computational Linguistics, Jul. 2019, pp. 3651–3657. [Online]. Available: https://aclanthology.org/P19-1356DOI
- [52]F. Petroni, T. Rocktäschel, S. Riedel, P. Lewis, A. Bakhtin, Y. Wu, and A. Miller, “Language models as knowledge bases?” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), K. Inui, J. Jiang, V. Ng, and X. Wan, Eds. Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 2463–2473. [Online]. Available: https://aclanthology.org/D19-1250/arxiv.org/abs/1909.01066
- [53]J. Devlin, M. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). Minneapolis, Minnesota: Association for Computational Linguistics, Jun. 2019, pp. 4171–4186. [Online]. Available: https://aclanthology.org/N19-1423arxiv.org/abs/1810.04805
- [54]N. Nangia, C. Vania, R. Bhalerao, and S. R. Bowman, “CrowS-pairs: A challenge dataset for measuring social biases in masked language models,” in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), B. Webber, T. Cohn, Y. He, and Y. Liu, Eds. Online: Association for Computational Linguistics, Nov. 2020, pp. 1953–1967. [Online]. Available: https://aclanthology.org/2020.emnlp-main.154/arxiv.org/abs/2010.00133