BIO Mark: Physical boundaries are also part of model output
From label legitimacy to entity-level evaluation to avoid looking at word-by-word accuracy.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- From label legitimacy to entity-level evaluation to avoid looking at word-by-word accuracy.
- Check the input, label and evaluation conditions in the example
Suggested first
- Text Tasks and Language Expressions
- Conditional probability and vector calculations
Label a continuous entity
The naming entity identification not only determines the type of word, but also where the entity starts and ends. The common BIO labels the beginning of an entity with B, the internal of the same entity with I and the outside entity with O. Entity types attached to labels, such as B-ORG and I-ORG, indicate the beginning and continuation of the organizational entity.
The same type of entity adjacent to the sentence cannot be simply linked together. It is only through B that the starting point for the new entity is defined that there is a way to distinguish between “two organizations” and “one long organization”. The label criteria are also variable, and the legal sequence rules for BIO, IOB1 and BIOES are not identical; Dataset description and evaluation scripts need to be matched.
Restoring text between labels
After consideration of the word "Beijing / University / in Beijing". In one agreement, the first two words are the organization and the last word is the location, which can be marked as B-ORG, I-ORG, O, B-LOC. When restored, a continuous tissue label is synthesized over a span and the entity text is diverted to the original and cannot rely directly on the space that is recombined after the word.
If the model output is O, I-ORG, O, B-LOC, there is no legal starting point for the second position. Such transfers could be regulated by decoding, or clear rules of amendment could be used, but the results of the two systems might be different. Remediation strategies must be documented and results should not be exported as original models before the evaluation can be quietly modified.
How a border error affects scores
If the real entity is Beijing University, the system recognizes only Beijing, the word-by-word label may be missing only a small number of locations and the entity-level strict matching is not correct. When a mission really requires a complete entity, a check-up rate, recall rate and F1 that match the range with the type should be reported. The word-by-word accuracy rate is raised by a large number of O labels, which do not individually reflect entity identification capabilities.
The nested entity may not necessarily be represented by a single layer of BIO. For example, an organization ' s name contains a name of location within its name and if the mandate requires both to be retained, multiple labels, cross-classifications or other structures are required. This situation should be identified by adjusting the labels to indicate that the answers that the model cannot express should not be considered as a general training for errors.
The marking quality check will verify whether each I label is legal in advance of the same type, whether the character deviation falls within the text, and whether the physical boundary is consistent with the word fraction. The alignment of labels must also be rebuilt when training is changed to the word on the line, and the old label cannot be moved directly by word number.
Check understanding
O appears after I-ORG must all BIO standards be followed?
Can't. Different label variants and evaluation scripts may take different rules. The criteria should be clearly defined before binding, repairing or reporting errors, rather than relying on default behaviour.
Single Layer BIO Why is it difficult to express an embedded entity?
The same term can only occupy a label sequence position and cannot be a separate span of the inner and the outer layers at the same time. Allows a multilayered or visible span of expression.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.