Elamur Research

Sequence Models for Document Structure Identification in an Undeciphered Script

Paper · 2022 · Logan Born, M. Monroe, Kathryn Kelley et al.

Summary

An administrative tablet can have a heading even when the signs in it cannot yet be read. The difficulty is showing that the opening signs serve a distinct purpose when there is no translation to consult. Born and colleagues investigate this problem in Proto-Elamite, a mostly undeciphered script used on clay tablets from Iran. Specialists have identified some openings as headers, possibly naming an institution or an owner responsible for an account. The paper asks how much of that judgment can be recovered from the distribution of signs and what the openings themselves might tell us about the organization of the records.

The authors train separate systems on sequences of sign names, with the expert header labels withheld. A hidden Markov model groups signs into states based on where they occur and what surrounds them. It learns a state concentrated at tablet openings and associated with the specialist labels. A Transformer predicts signs from their preceding context, and the authors measure how much attention it directs back to the opening as it proceeds through a tablet. A classifier using those attention measurements agrees with the original expert annotations with 92% accuracy. Attention from an interior stretch gives 77%, the same as always predicting the more common label. Examination of the disagreements uncovers 25 tablets whose transliterations already imply a header without marking it in the usual way. After the labels for those tablets are corrected, agreement reaches 95%.

The two analyses also give reasons to inspect more than the first sign. The hidden state sometimes continues through the second or third sign, and attention to the second sign alone predicts the presence of an annotated header as accurately as attention to the full opening before the first numeral. The names of the opening signs show different associations as well. The first sign is associated with a tablet’s recorded origin and with which seal was used. The second is associated with whether the tablet has a closing subscript and whether it bears a seal. This suggests that an opening may bring together signs with different administrative and textual roles.

The strongest conclusion concerns document structure. Some Proto-Elamite openings behave differently from the entries that follow, and the difference can be detected from sign sequences without training on specialist header labels. How far a header extends, what each of its signs means, and whether ownership is a common function remain questions for interpretation. The paper narrows those questions to particular positions and tablets that specialists can examine.

Deep dive: Sequence Models for Document Structure Identification in an Undeciphered Script

How hidden states and Transformer attention reveal possible headers in Proto-Elamite tablets, and what their positions suggest about their roles. · about 33 minutes to read

The problem and its context

Finding a division within an account

Proto-Elamite appears on clay tablets dating to 3100-2900 BCE. Scholars can make more sense of some parts of the texts than of others. The script shares features with proto-cuneiform, especially its number systems. These similarities help scholars recognize amounts and support the interpretation of the tablets as administrative records of goods and personnel. A numeral can therefore provide a place to begin analyzing the entries even when the adjacent signs have uncertain readings. The present paper uses that partial understanding to ask how the material before the entries is organized.

A tablet has a physical arrangement and a sequence of signs. Both can help a reader distinguish parts of the record. The example in the paper shows signs arranged into columns and entries, with M157 highlighted at the opening. A transliteration represents those marks with sign names and can record a specialist’s judgment about their organization. When the authors turn a whole tablet into a sequence for computational analysis, they ask whether some of that organization is recoverable from the ordered signs themselves.

The proposed header has a scope larger than a single transaction. If an opening identifies the institution responsible for an account, for example, that identification can apply across the entries. A sign that names a counted item could instead describe the subject of a particular entry. Those roles predict different distributions even if the signs’ readings are unknown. A sign relevant to an entire record may belong in a privileged position, and its relationship with later signs may differ from the relationships among signs that belong to individual entries. The paper uses those possibilities to turn an interpretive judgment into questions about the corpus.

The ownership interpretation partly draws on a comparison with proto-cuneiform accounts. In those accounts scholars have identified visually distinct elements called colophons, which have been offered as counterparts to Proto-Elamite headers. The paper regards the analogy as provisional because the proto-cuneiform material is itself largely undeciphered. A visually separate element can support the idea that scribes distinguished a part of the account. Establishing what that part conveyed requires additional evidence. In Proto-Elamite, the existence of a structurally special opening and the proposal that it records ownership are therefore questions to examine separately.

What the specialists had already recognized

M157 is the clearest example of a sign that experts have treated as a header. It starts about one-fifth of Proto-Elamite accounts, according to the paper. It can also occur elsewhere, where its role is uncertain. That combination shows why a list of likely header signs would be only a partial account of the phenomenon. The same written form may occur in different positions, and the fact that a form is familiar from tablet openings cannot settle the role of every occurrence.

Particular header judgments were preserved in transliteration comments. These are valuable records of expert linguistic annotation, but they leave some of the reasoning implicit. No explicit inventory of header signs had been published. The original criteria had also received incomplete documentation, and some of the specialists who made the identifications were no longer alive. For a reader revisiting the corpus, an annotated header records a judgment more directly than it records how the judgment was reached. An unmarked opening is likewise open to several explanations. An expert may have regarded it as part of an ordinary entry, regarded its role as uncertain, or indicated a division through the transcription conventions without adding the usual header mark.

This is why prediction and interpretation are intertwined in the paper. A way to reproduce specialist labels from sign sequences would make at least part of the implicit judgment observable. A disagreement could reveal that a computational procedure misses information an expert used. It could also expose an inconsistency in how the corpus records a judgment or bring a genuinely ambiguous opening into view. Treating the annotations as a source of evidence makes all of those outcomes informative.

Existing Proto-Elamite work supplied both archaeological context and computational resources. Dahl’s survey describes the corpus from an archaeological perspective. Earlier work by Born and colleagues assembled a cleaned version of the transliterations and introduced computational analyses including sign clustering and topic extraction. The study of headers draws on that corpus and later uses the earlier topic assignments to examine what an opening sign is associated with. Prior work on complex signs provides another resource for the analysis. These studies offer distinct forms of evidence about the same material, from tablet interpretation to distributions that can be compared across the corpus.

Why use sign sequences?

Hidden Markov models had a history in the computational analysis of undeciphered material. The paper traces their use back to an early analysis of the Voynich manuscript and identifies the work of Knight and colleagues on unsupervised decipherment as the better-known starting point for subsequent research. Such methods can recover regularities from the distribution and succession of observed symbols. The cited line of work includes A Statistical Model for Lost Language Decipherment.

In the present study, the aim is to characterize a possible document component. An HMM can assign signs to inferred states and reveal whether a particular state is strongly localized near the start. That result would address position and distribution directly. Its interpretation would depend on what kinds of openings receive the state and how the assignments compare with specialist judgments. The latent states provide a way to put evidence behind a proposed grouping even when the categories cannot be defined through known translations.

The second approach looks for a different consequence of the header hypothesis. If the opening of some tablets matters to the record as a whole, it may remain useful as a sequence predictor moves beyond the opening. A Transformer and attention provides a way to examine that behavior. The authors knew of no comparable prior use of Transformers or other neural architectures as unsupervised feature extractors for undeciphered material. The architecture itself comes from Attention Is All You Need.

These approaches reflect two meanings of a distinctive opening. An opening may contain signs that tend to share a position and a sequence context, which the HMM can capture. It may also contain information that a predictor repeatedly draws on farther into the text, which motivates the Transformer analysis. Both can be investigated without knowing what any particular sign denotes. The comparison with expert annotation then asks how closely the structures revealed by these tests correspond to the proposed header category.

The method, step by step

From clay tablets to sign sequences

The Cuneiform Digital Library Initiative provides photographs, line drawings and ASCII transliterations for the great majority of the known Proto-Elamite texts discussed in the paper. The images and drawings let specialists inspect what is actually visible on the clay. The transliterations provide a form suitable for studying distributions across documents. Their vocabulary follows a working sign list numbered from M001 through M521. A tilde can mark a possible variant of a sign. The notation preserves that distinction while leaving open whether a variant should be treated as a distinct character in interpreting the script. The initiative assigns P-numbers to the texts, so an unusual computational result can be traced back to a particular tablet.

The cleaned snapshot from earlier work contains roughly 26k readable tokens in 1467 transliterated texts. The current study uses a revision in which specialists corrected transliterations where necessary, for example when a reading disagreed with what they could see in a photograph. The training description counts 1399 tablets. The larger snapshot count describes the earlier resource, while the training count describes the corpus used in the procedure reported here.

The input to both approaches is a sequence of sign names representing a whole tablet. The authors remove comments and annotation lines, punctuation that marks entry boundaries, and characters used to indicate damage or corrections. They remove line breaks inside each document and retain each tablet as its own sequence. For the Transformer, tokenization follows spaces in the prepared text. The HMM receives an explicit beginning marker and an end marker as well. The paper reports that the HMM was implemented with hmmlearn, that the Transformer followed the fairseq language-modeling recipe, and that the released corpus revisions include a CSV of expert labels and system predictions.

Removing annotations serves two purposes. It reduces the number of distinct forms the systems must learn from and pools occurrences of a sign that would otherwise be split by editorial markup. It also gives the label comparison a clear meaning. Header judgments are recorded in the transliterations, but the sequence procedures see the sign names without the comments carrying those judgments. A successful comparison can therefore be attributed to features of the sign sequences, even though the underlying readings and sign identifications still depend on specialists.

Some damage remains visible in the input through placeholders for unreadable material. A tablet may have a usable beginning even if a sign later in the sequence cannot be read. The authors therefore distinguish preparation for sequence learning from eligibility for the header analysis. A tablet is excluded from the latter when the transliteration explicitly flags a broken beginning, when the first line number carries the relevant prime marker, or when the first sign is represented by X or [...]. Those rules leave 795 documents for analysis. An intact opening makes positional comparisons more interpretable, while damage elsewhere can still affect the evidence available for an opening.

From Proto-Elamite transliterations to evidence about headers

The steps in order.

From Proto-Elamite transliterations to evidence about headersStep 1: Prepare a sign sequence for each tablet1. Prepare a sign sequence for each tabletStep 2: Fit a hidden Markov model2. Fit a hidden Markov modelStep 3: Train a Transformer to predict signs3. Train a Transformer to predict signsStep 4: Retain tablets with substantially intact beginnings4. Retain tablets with substantially intact beginningsStep 5: Decode states and summarize attention by position5. Decode states and summarize attention by positionStep 6: Compare opening patterns with specialist labels6. Compare opening patterns with specialist labelsStep 7: Inspect disagreements and associations with tablet properties7. Inspect disagreements and associations with tablet properties

Assigning hidden states to a tablet

A hidden Markov model represents a visible sequence as the outcome of a sequence of unobserved states. Each state has a characteristic distribution over sign names, and the likelihood of moving to a state depends on the preceding state. An observed sign can therefore receive different states in different surroundings. The state assignment is an inference about how the sequence was organized. No state starts out as a designated header, numeral or counted object.

The authors fit a 15-state HMM. This gives them slightly more states than the number of sign categories they informally expected might be useful. They had in mind possible functions such as openings, qualifiers, counted items, ownership signs, numerals, syllabic signs and closing subscripts. Those possibilities motivated the scale of the model. The training procedure was free to use its states for any distributions that helped account for the sequences. It could split a proposed category into several states, group categories together, or discover a distribution that had little obvious relation to the initial expectations.

The authors train ten instances from random starting points and keep the one that gives the corpus the highest likelihood. That choice uses the fit to sign sequences. The fit can favor a state that captures a recurrent pattern even if the state has no obvious scholarly name. The procedure then uses Viterbi decoding to find the most probable complete state sequence for each tablet. Decoding chooses a path across a whole document, so the inferred category for an opening sign can depend on the sequence that follows it as well as on the opening sign’s identity.

The initial diagnostic is a state that turns up near the beginning of some tablets and rarely elsewhere. The explicit beginning marker makes it possible for the HMM to learn regularities of the initial position. For the authors’ purpose, a state shared by every opening would give weaker evidence of a distinct kind of opening. A state restricted to a subset gives a concrete set of documents to compare with specialist labels. The duration of its initial run gives the authors another diagnostic. If the same state persists for several signs, the stretch can be inspected as a candidate for a longer header.

Measuring attention to earlier signs

The Transformer is randomly initialized and trained as an autoregressive language model. In this setting, the task is to predict signs using the preceding context. As it works through the sequence, attention assigns different weights to the positions it can draw on. The authors use these weights to ask a question about the opening of the tablet. If early signs bear on the account as a whole, a predictor may repeatedly place weight on them even when its current position is well past the first entry.

The corpus is small for this kind of training. The authors expect the Transformer to overfit and use it as an analytic instrument for this collection. The language-modeling task has its own validation set of 200 tablets from the 1399. The later test using header labels has a different purpose. It asks what the trained system’s behavior reveals about the organization of the documents, using a classifier fitted to attention features. The authors separate the work of learning those features from the work of checking their correspondence with expert judgments.

To summarize attention, the authors first consider a sign at a given position. Only later steps enter the measure of attention paid back to that sign. The number of later tokens is written as follows.

nᵢ = L − i − 1

Here L is the length of the sequence, i is the index of the sign under consideration, and nᵢ is the number of tokens after it. Indexing starts at 0, so the expression subtracts both the earlier positions and the current sign. The 1 adjusts the count to exclude that sign itself.

At each later step, the authors divide the attention to the sign by the maximum attention at that step. They then average these relative values.

z̃ᵢ = (1/nᵢ) ∑ⱼ₍ⱼ>ᵢ₎ (zᵢ,ⱼ / maxₖ zₖ,ⱼ)

The quantity z̃ᵢ is the normalized mean attention to the sign at index i. The raw attention score for that sign at step j is zᵢ,ⱼ. The sum ∑ ranges over indices j later than i. At each of those steps, k ranges over the positions whose attention scores are compared, and maxₖ zₖ,ⱼ is the largest of those scores. The quotient expresses the attention paid to i relative to that maximum. The factor 1/nᵢ averages the relative values over the later steps.

The normalization makes the largest score at each step 1. This matters because a raw attention average can be small simply because the attention is spread across more positions as the text grows. The normalized feature indicates how strongly the sign competes with other available positions at each step. A large average can reflect a sign that repeatedly remains close to the most attended position. It gives a measure of sustained relative attention within this predictor.

The authors then group the position summaries into a vector covering a chosen stretch of the tablet.

z̃ₘ,ₙ = [z̃ₘ, z̃ₘ₊₁, …, z̃ₙ₋₁]

Here m is the index of the first sign included, and n is the index immediately after the last sign included. The brackets enclose the ordered list of normalized means, and the ellipsis stands for the intervening positions. The subscripts m + 1 and n − 1 identify the sign after the start and the final included sign, respectively. This n is an endpoint for a span. The earlier nᵢ counts the tokens following an individual sign.

Testing the opening against the interior

For the opening vector, the authors use the first numeral to set the endpoint. They take it as an upper bound on the extent of any header. In z̃₀,ₙ, the endpoint n is the number of signs before the first numeral on that particular tablet. Some of these signs may already belong to the account entries. The vector therefore represents a region in which the authors expect to find a header if a tablet has one. A second vector, z̃₁₀,₂₀, represents an interior stretch presumed to be beyond the opening.

The initial vectors can differ in length because the positions of the first numerals differ. The authors append zeros to the shorter vectors to give all of them the length of the longest. Each resulting coordinate still corresponds to a position counted from the start of the tablet. This gives the classifier a separate feature for the attention directed to each opening position. The interior vectors supply the comparison features at positions farther into the account.

The authors fit a separate logistic regression for each set of features. Logistic regression learns weights for the input features and combines them into a score for a binary label, here whether the specialist annotation marks a header. The two regressions share the task and differ in their inputs. They select the most accurate fit using 10-fold cross validation. The sequence systems were trained on sign sequences without the header labels. The label-based regressions are a supervised test of what the resulting features can recover.

This design supports different conclusions from the HMM and the regression. The HMM can suggest how far a contiguous opening state extends for a particular tablet. The regression assigns a label to the document, and its coefficients help identify which positions matter for that decision across documents. A large coefficient at a particular position gives a reason to study that position. It does not provide a boundary for individual tablets. This distinction matters when the authors consider whether headers commonly include several signs.

Experiments and results

A hidden state concentrated near the opening

The HMM’s decoded sequences show substantial concentration at the start of tablets. In the 795-document analysis, the paper reports that 55% of the texts start in state 7. Among those starts, 76% have state 7 only on the first sign. The paper also reports that this opening-sign-only pattern accounts for 42% of texts overall. State 7 is very rare by the 4th sign or beyond. These results describe where the state occurs before making any comparison with the annotations. The model finds a positionally distinct group of signs and uses that state for only part of the collection.

The authors turn the positional observation into a binary test by asking whether a tablet starts in state 7. The contingency table records 410 tablets that both start in that state and have an expert header label, and 30 state 7 starts that lack that label. Among tablets starting in other states, 205 carry an expert header label and 150 lack one. These counts show where agreement is concentrated. Most of the predicted headers have specialist support, while a sizable group of expert headers is assigned to other states.

With specialist labels as the comparison target, the state 7 rule gives precision of 0.93, recall of 0.67 and accuracy of 0.70. Precision measures the share of the state 7 predictions that agree with a positive expert label. Recall measures how many expert-positive tablets receive the state 7 prediction. Accuracy counts matches for both positive and negative labels. The combination of high precision and lower recall makes state 7 a useful indicator of a recognizable opening pattern with incomplete coverage of the expert category.

There are several ways to interpret that coverage. The HMM may lack the information or capacity to recognize some expert headers, especially when little surrounding material can be read. Experts may have included openings whose membership in the category is open to question. The inferred states may also distinguish among several opening patterns that experts grouped together. Since the labels record scholarly judgments, the disagreement counts alone cannot assign the tablets to those explanations. That is why the paper turns to individual state paths and compares the HMM with a second source of evidence.

Attention from later signs distinguishes openings

The Transformer comparison uses the same annotation task for the two relative-attention vectors. The logistic regression receiving features from before the first numeral achieves 92% accuracy against the original expert labels. The corresponding regression receiving features from positions 10 through 19 achieves 77%. The majority-class rule, which always returns the more common expert label, also gives 77%. The interior comparison is useful because it subjects a later span to the same kind of measurement. The difference shows that the predictive signal depends on where the authors take the attention features.

Header-label classification on the pruned Proto-Elamite corpus by accuracy

Attention to the opening is more predictive of expert labels than attention to an interior span.

Header-label classification on the pruned Proto-Elamite corpus by accuracyMajority-class prediction: 77Majority-class prediction77Interior attention regression: 77Interior attention regression77Opening attention regression (this paper): 92Opening attention regression (thispaper)92
The numbers
System or settingaccuracy %
Majority-class prediction77
Interior attention regression77
Opening attention regression (this paper)92

The paper illustrates this difference with heatmaps for two tablets. The figure shows normalized mean attention across their opening signs, with the display truncated to length 6. One tablet has an expert header label and shows stronger opening attention. The other has no such label and shows weaker opening attention in the illustration. The figure makes the features easier to interpret as a set of position-specific measurements. The classifier results establish how informative those measurements are over the larger collection.

Against the original specialist labels, the opening regression and the experts both identify a header on 596 tablets. The regression gives a header prediction on 44 tablets without the usual expert label and misses 19 with that label. Both sources give a negative label on 136 tablets. The paper reports recall of 0.97 for the regression, compared with 0.67 for initial HMM state 7. The regression’s broader coverage is especially relevant to the expert-positive tablets that begin in a different HMM state.

The authors also compare the resulting labels using Cohen’s κ. This is a measure of agreement beyond the amount expected by chance given the label distributions. The paper explains the scale with 1 for perfect agreement, 0 for chance-level agreement and -1 for perfect disagreement. On the analyzed corpus, expert labels and HMM labels have κ of 0.372. Expert labels and the attention regression have κ of 0.766. The HMM and regression have κ of 0.362. All pairings show agreement beyond chance. Their different levels of agreement are consistent with the HMM identifying a narrower grouping and the opening attention recovering a larger share of the specialist judgments.

The largest change comes from checking the labels

The 44 positive predictions without a conventional expert label warranted a closer reading of the transliterations. In 25 of those texts, the authors found that specialists had already treated the opening as a header implicitly. The transcription reflected their judgment without recording it in the standard way. The paper lists the affected tablets, and the corpus revision makes the judgment explicit. This is a correction to how the evaluation labels represent the scholarly analysis.

After correcting those annotations, the authors report 95% accuracy and κ of 0.849 for the opening regression. The original 92% result measures correspondence with the labels as initially recorded. The revised result measures correspondence after a discrepancy review. The paper describes the correction as increasing the corpus’s explicit header count by almost 4%. The gain illustrates how much the representation of the target category can matter in a collection of this size.

Among the 44 predictions, 13 also start in HMM state 7. One tablet in the larger group, P008329, has a damaged first sign whose damage was recorded in a way that escaped the initial filter. The authors omit it from the review of plausible new cases and report 18 genuinely novel header proposals after accounting for the implicit headers. These proposals have a different status from the 25 corrections. The corrections recover earlier judgments evidenced by the writing of the transliteration. The proposals give specialists specific openings to reconsider, some of which are discussed in the analysis.

What the ablations show

Which part of the opening matters most?

The main feature comparison varies where the regression gets its input. Attention to the interior has the same reported accuracy as the majority prediction. The opening features have greater predictive value. The authors then examine the weights in the opening regression to see whether this advantage is spread across the whole opening or concentrated at particular positions. The strongest contributions come from attention to the second through fourth signs, with the second sign the most predictive overall.

The authors test that observation by reducing the input to the mean attention paid to a single position. Using only the second sign reproduces the reported 92% accuracy of the full pre-numeral vector against the original labels. Using only the first sign gives 77%, the accuracy of the majority-class rule. These are tests of the attention paid to a position. The HMM and association analyses examine other properties, such as the identity and distribution of the sign occupying that position. A first sign can have recognizable administrative associations even if attention to it alone gives a weak readout of the expert header label.

Opening attention features for header prediction on the pruned Proto-Elamite corpus by accuracy

Attention to the second sign matches the full opening vector, while attention to the first sign matches the majority rule.

Opening attention features for header prediction on the pruned Proto-Elamite corpus by accuracyFirst sign only: 77First sign only77Second sign only: 92Second sign only92Full opening vector (this paper): 92Full opening vector (this paper)92
The numbers
System or settingaccuracy %
First sign only77
Second sign only92
Full opening vector (this paper)92

The single-position test helps explain why a predictor can reproduce a human judgment that specialists often attached to the first sign even when the strongest computational clue is elsewhere. The first sign may have been the portion explicitly recognized as a header, and the next sign may provide the context that makes the opening distinctive in sequence. A second possibility is that the second sign contributes information as part of a longer opening unit. The regression addresses the availability of the clue. To examine its structural interpretation, the paper compares the position test with the HMM’s state spans and with the kinds of names and tablet properties involved.

When the opening state continues

The specialist annotations include five two-sign headers. The authors report that the HMM’s state 7 continues to the second sign in 119 texts and to the third sign in 33. These are counts of continuations of the same state at the opening, and a continuation through the third sign also passes through the second. The gap between the specialist inventory and the number of state continuations motivates a closer comparison of what the human and computational procedures are treating as a unit.

The signs in some of the longer HMM openings resemble signs involved in the few annotated longer headers. Most of the expert two-sign examples contain a compound involving M327 followed by another sign that can function as a header on its own. The HMM recovers this arrangement and finds other combinations of an M327 compound with a following sign. Familiarity with the annotated cases therefore gives the authors an interpretive foothold for at least some of the longer runs.

The HMM also puts M157 and the following sign into the same opening state on some tablets. The illustrated tablet P008697 is an example. Its conventional annotation identifies M157 as the header, and the HMM’s run includes the next sign. The observation extends the hypothesis beyond the combinations attested in the small set of specialist two-sign annotations. The regression provides separate support for examining that extra position because attention to it is strongly informative. The HMM supplies the proposed span in this example. The attention result, by itself, is a document-level clue.

A longer opening also leaves open how its signs work together. A sequence of two signs could act as a single expression, or each sign could contribute a different piece of information. The paper approaches that question by examining how signs at different positions are associated with one another and with other tablet properties. The comparison provides a basis for interpreting the opening as an arrangement of potentially distinct roles.

Why both systems miss some human labels

The largest recurrent disagreement concerns the 205 expert-positive tablets that do not start in state 7. The attention regression recovers the expert label in 188 of these cases. Many of the disputed texts contain unreadable signs, rare signs or signs seen only once, or give the HMM little context because they are short. The authors report that knowing whether the second sign is intact can predict, better than chance, whether the HMM agrees with an expert. That relationship makes preservation a concrete explanation for some of the difference in apparent coverage.

The state path in one illustrated tablet shows what can go wrong. The experts designate M388 at the beginning as a header, while the HMM places it in state 3. That state is used almost exclusively for M388, a sign whose distinctive distribution had already been recognized in earlier scholarship. M388 is commonly followed by signs described as syllabic, which the HMM appears to group in state 14. The same succession occurs in the disputed example. On that evidence, the beginning resembles other appearances of M388 for which specialists left the header unmarked.

The remainder of that same path shows why the initial disagreement deserves caution. Once the HMM encounters an X for an unreadable sign, it moves to state 0 and stays there, even for later signs that are intact. In the illustration, this behavior includes the readable numeral 2(N48). The paper describes this persistence as typical of many sequences containing X. A path can therefore start with a plausible treatment of M388 and later be dominated by an unreadable token. Those two properties of the path carry different weight when evaluating the tablet’s opening.

The attention regression also struggles with poorly preserved or very short texts. It fails to recover 19 expert-positive labels, and the HMM disputes 17 of them as well. In all 19 cases, either only one sign is readable or early signs are unreadable. This is consistent with the design of the attention measure, which draws its evidence about an early sign from later positions. An expert can sometimes use an isolated readable sign or other information associated with the tablet to assign a label. The evidence available to the feature extractor is the sign sequence.

What the proposed new headers contain

The genuinely novel cases are important because some offer substantial readable context. One example is M393~g in P008621. Some variants of M393 already appear with expert header labels, giving specialists a reason to regard the opening as plausible. Other variants in the second position of P009486 and P009209 receive a header label from neither the specialists nor the computational procedures. The comparison illustrates how sign identity, variation and position all enter the assessment. A family resemblance between signs can be relevant without settling the role of a particular occurrence.

The proposed header in P009075 is M362, a sign typically treated as a counted object and tentatively associated with a nanny-goat in the scholarship that the paper cites. The related complex sign |M362+M005| in P008294 also receives a positive prediction. These cases put pressure on the expectation that header signs and signs for counted objects occupy distinct roles. The behavior makes those forms worth examining in their individual accounts. The inference that they could occur in headers is compatible with uncertainty about the conventional reading of M362 and about the classification of the opening itself.

M489 presents a different kind of ambiguity. It occurs only on P009526. Earlier specialists entertained the possibility of a header there but were doubtful because the same sign occurs in the summary line on the reverse. The usual expectation that a summary refers to counted items motivates their reservation. The computational prediction returns attention to a case already recognized as difficult. Taken together, the examples suggest that context-specific sign roles deserve scrutiny even where the conventional categories are useful elsewhere in the corpus.

Sign position and the tablet’s other properties

To compare properties such as sign identity, topic, seal and provenance, the authors use the bias-corrected form of Cramér’s V. It measures association between categorical variables. The paper gives the scale from 0, indicating no association, to 1, indicating perfect association. Unlike the classifier accuracy, this measure describes how strongly categories occur together. The authors use it to ask what changes about the information associated with a sign as its position moves away from the start.

They write Hₙ for the variable giving the name of the sign at position n. For a document’s main topic, they use the strongest assignment from the earlier Proto-Elamite topic analysis. This use of topic modeling gives a corpus-derived proxy for what kind of record a tablet contains. Among the opening positions studied, the first sign has the strongest association with the assigned topic, at V = 0.39. The association declines for each subsequent position in the comparison through the fifth sign. On this measure, the earliest sign has the strongest relationship with the kind of material that follows.

The relationship between the first sign and the other early signs has a different pattern. In each position comparison, H₁ has V = 0 with the later sign identity. The first sign can therefore be informative about topic while showing no measured association with exactly which sign follows at a given position. This is one reason the authors consider openings assembled from signs with separate roles. A sign related to the record’s subject matter or setting can stand beside a sign whose immediate function concerns the arrangement of the entries.

The paper checks the relationship with longer opening runs by coding whether the HMM proposes a multi-sign header. The first sign has V = 0 with that variable. The second and third signs have V = 0.54 and V = 0.61, respectively. The fourth sign has V = 0.43, and the fifth has no association. This pattern is consistent with the earlier findings about the second and following signs. Because the HMM itself uses the full sequence to derive the multi-sign label, the comparison describes what is associated with that inferred grouping. Independent properties of the tablet provide another way to examine what the positions convey.

The presence of a seal impression and the identity of the seal are separate variables. Some tablets bear impressions depicting objects or animals, and those impressions relate to the administration of the tablets beyond the written signs. The first sign has V = 0 with whether a tablet is sealed but V = 0.39 with which seal was used. The second sign has V = 0.14 with seal presence and V = 0 with seal identity. An opening position can therefore carry an association with the choice of seal even when it gives little indication of whether sealing occurred.

The paper makes a similar distinction for final subscripts. These are strings after the final numeral, in a distinctive position since a numeral does not immediately follow them. The second sign has V = 0.27 with subscript presence, while the first sign has V = 0 with presence. Both opening positions are associated with the actual subscript text, at V = 0.30 for the first sign and V = 0.33 for the second. The first sign also has V = 0.56 with the tablet’s recorded provenience. Taken together, these comparisons suggest that the first position frequently reflects setting, including origin and choice of seal, while the second is more closely associated with features of the written record. The seal-presence result shows that both positions can also reflect aspects of administrative practice.

Complex signs in openings and in entries

A complex grapheme joins signs graphically, for example by putting one inside another. A single such grapheme in the transliteration differs from a proposed header spanning several successive signs. Complex graphemes occur near the start of many tablets, and some known headers either are complex graphemes or contain signs that participate in them elsewhere. The authors ask whether the complex graphemes found at likely headers have a different distributional character from those used in the body.

The analysis uses word embeddings in the sense of learned vectors for the sign forms in this corpus. Earlier Proto-Elamite work found that some combinations receive a vector near the sum of the vectors of the constituent signs. The present paper takes the embeddings from the best-performing approach in that earlier study, where their patterns had already been examined for consistency with specialist understanding. Compositionality of Complex Graphemes in the Undeciphered Proto-Elamite Script using Image and Text Embedding Models.

That comparison draws on work where additive representations were found to be more informative for phrases whose meaning can be understood from their constituents. Idiomatic expressions are less likely to exhibit the same behavior. The older work supplies a reason to quantify additive similarity for Proto-Elamite, where the semantic analysis of the signs themselves is still uncertain. Distributed Representations of Words and Phrases and their Compositionality.

For a compound written |X+Y|, X and Y are the observed constituent signs. The authors add their embedding vectors and compare the direction of that sum with the embedding for the compound by cosine similarity. A higher value indicates that the combined vector points in a more similar direction to the compound’s vector. The sign notation expresses how the written form is built. The similarity measures how closely its distributional representation can be approximated by adding the representations of the constituents.

The authors average the similarities in two ways. A token average includes every observed occurrence in the relevant group, so common compounds contribute repeatedly. A type average includes each distinct compound at most once, so frequent forms receive no extra influence. The token means for tablet-initial compounds in headers are 0.682 under the expert labels, 0.693 under the HMM labels and 0.683 under the attention regression. The token mean for non-initial compounds is 0.565. Over types, the corresponding opening means are 0.608, 0.648 and 0.616, with 0.593 for non-initial compounds.

The paper reports a significant opening-versus-interior difference under a Mann–Whitney U test over tokens. The type-averaged comparisons do not reach significance. The authors note that more common compounds at tablet openings tend to be more compositional, while sign frequency has no significant association with compositionality across the signs in general. There are also fewer distinct types than occurrences to compare. These facts help account for the stronger evidence in the occurrence-based comparison and qualify how broadly it can be applied across the inventory of compounds.

The mean under expert header labels is somewhat lower than the means under the computational labels, with differences that do not reach significance. The paper connects this pattern to fragmentary tablets included under the expert labels but missed by the sequence-based procedures. Many of those tablets begin with a compound, and some of the compounds receive low additive similarity. Short and damaged contexts may also lead to less informative embeddings. The result supports treating complex graphemes as a varied category whose use differs across contexts, with the strongest evidence coming from their repeated occurrences.

Limitations

Limits stated by the authors

The authors delimit their conclusions to a particular undeciphered writing system. They suggest that the approach of using Transformer attention as an analytic feature could transfer, while the findings about positions and header roles are grounded in the Proto-Elamite collection. The corpus lacks an independently known reading against which to judge the interpretations. Further decipherment is needed to determine whether the structures identified here carry the proposed meanings.

This applies directly to the ownership hypothesis. The associations with provenience, topics and seals support reading parts of the opening in relation to the administrative setting. A relation to setting admits several possible functions. The paper also regards the analogy with proto-cuneiform colophons as uncertain because their contents are incompletely understood. The argument establishes stronger grounds for distinguishing some openings from later entries than for assigning a specific semantic category to every opening.

The authors state that their Transformer was used as a feature extractor and was expected to overfit the small corpus. Their aim was to study variation in behavior across the documents they had. The separate validation set belongs to the sign-prediction task. The cross-validation procedure for the regressions estimates agreement with labels from features derived from the available collection. The paper’s claims concern identification and analysis within that collection, and the experiment leaves performance on an independently collected group of tablets open.

The authors also treat expert involvement as essential when weighing interpretations. The underlying sign identifications, the correction of transliterations and the examination of anomalous predictions all draw on specialist knowledge. Removing header comments from the sequence input makes the feature extraction independent of supervision from those comments. The tablet corpus remains a scholarly representation of what is visible and how it has been identified. That dependence is particularly relevant when a proposed header rests on variants, damaged signs or an infrequent grapheme.

Limits that follow from the design

The main evaluation concerns tablets whose beginnings were judged substantially intact. That selection makes the positions more comparable and leaves the degree of recoverability on excluded tablets undetermined. The effects of damage are visible even within the selected group. P008329 passed the initial filtering because its damaged start was transcribed unconventionally. Elsewhere, an X later in the text can dominate an HMM path. The rule for inclusion consequently reduces a preservation problem that remains relevant when interpreting both kinds of features.

The HMM produces latent categories optimized to explain sign sequences. An opening run of state 7 gives a candidate boundary whose interpretation depends on the specificity of the state for headers and on the stability of its assignments. The model selected for analysis has 15 states and was chosen by corpus likelihood from random restarts. The paper does not report how much the proposed spans vary with a different state inventory. That matters most for deciding how common longer headers are. The observations justify a reassessment of the single-sign convention, while the count of state continuations describes candidates under the fitted HMM.

The Transformer analysis has a complementary boundary limitation. Its regression uses a span defined by the first numeral, and its response is a tablet-level label. Strong predictive value for the second sign could arise because that sign belongs to a header or because it gives context for recognizing the function of the first sign. Padding also makes positions beyond a short opening appear as zeros in the feature vector. The comparison of full vectors therefore leaves room for the availability of a position, as well as its attention value, to affect the regression. The single-position analysis identifies the second sign as a strong predictor under this representation and leaves its exact role unresolved.

The two approaches offer converging evidence at the level of distribution. Both learn from the same prepared sequences, so recurring patterns of sign choice, ordering and preservation can influence both. Their correspondence with the labels shows that these statistical cues are related to expert judgments. A controlled check against independent translations would address their semantic interpretation, and the absence of such translations defines the problem the authors had to work within.

There is also a difference between the original label evaluation and the evaluation after correction. The discrepant predictions helped the authors choose cases to inspect. Inspection found real inconsistencies in how the existing specialist judgments were expressed, and fixing them improves the corpus as a record of those judgments. The reported 95% measures agreement after that review. An independent evaluation would need labels assembled without using the discrepancies to select cases. The reported 18 novel proposals remain candidates for philological assessment.

Finally, the association and embedding studies supply indirect evidence. The topic variable comes from an earlier statistical analysis, so its association with an opening sign is an association with a corpus-derived grouping. The relations to seal and provenience could reflect several ways in which administrative practice, tablet origin and sign use are connected. Additive embedding similarity measures a relationship among learned vectors, and the clearest difference appears when repeated occurrences are counted. Together these analyses make the hypothesis of distinct opening roles more specific, while leaving the readings of the signs and the causes of the associations open.

What came after

No subsequent citing study is documented here. The follow-up questions arise from the paper itself. It leaves a set of corrected annotations, a separate set of proposed headers for specialist review, and evidence that the first recorded sign and the next few signs deserve different kinds of scrutiny. The central unresolved question is how the opening patterns correspond to the administrative roles of individual signs, particularly when a proposed header extends beyond the first sign.

Cite

Cite as Logan Born, M. Monroe, Kathryn Kelley and Anoop Sarkar. 2022. Sequence Models for Document Structure Identification in an Undeciphered Script. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.emnlp-main.620

@inproceedings{born2022sequence,
  title = {{Sequence Models for Document Structure Identification in an Undeciphered Script}},
  author = {Logan Born, M. Monroe, Kathryn Kelley and Anoop Sarkar},
  booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.620},
  url = {https://doi.org/10.18653/v1/2022.emnlp-main.620}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/born-2022-sequence-models-document-structure-identification/