IP Library › Granted Patent US 12,282,847
Granted Patent B2
US 12,282,847 · App. 17/234,011 · Granted Apr 22, 2025

Method and system for extraction and annotation using semantic attribute paths

Inventors: Salah Ait-Mokhtar (Montbonnot-Saint-Martin, FR); Caroline Brun (Grenoble, FR); Agnes Sandor (Meylan, FR)
Assignee: NAVER CORPORATION
G06N3/08G06F16/24578G06F16/285G06F40/284G06F40/30G06N3/04G06F3/04842
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,282,847
App. No.
17/234,011
Granted
Apr 22, 2025
Kind
B2
Abstract

An annotation assistant for semi-automatic creation of annotated machine learning training data comprises a graphical annotation interface provider that provides a graphical annotation interface for displaying a sequence of tokens to be annotated and allowing a span selection by a user. An automatic span tagger comprises an artificial neural network configured to assign class probabilities to the tokens of the sequence of tokens and a processor-based path-scoring algorithm for computing scores for semantic attribute paths of the span selection. The graphical annotation interface is further configured for displaying the scored semantic attribute paths, and for receiving a selection among the scored semantic attribute paths from the user.

Claims (49)

1. An interactive annotation method for assisting a user in creation of annotated machine learning training data, the annotation method comprising:

providing, using a processor, a sequence of tokens to be annotated for display to a user in a graphical annotation interface, wherein the tokens comprise text;

receiving a span selection from the user via the graphical annotation interface, the span selection comprising one or more tokens from the sequence of tokens, wherein the user interacts with the graphical annotation interface using one or more selection devices;

in response to said received span selection, computing, by an artificial neural network using the processor, class probabilities for each token of the sequence of tokens, the class probabilities for a token corresponding to probabilities for the token to fall under respective classes of a predefined ontology;

computing, using the processor, scores for semantic attribute paths of the span selection, the scores for the semantic attribute paths being based on the class probabilities, wherein the semantic attribute paths correspond to paths in the predefined ontology;

providing a set of semantic attribute paths for the span selection for display to the user via the graphical annotation interface as an interactive graphical element;

receiving a user selection of a semantic attribute path from the set of displayed semantic attribute paths via the graphical annotation interface, wherein the user interacts with the graphical annotation interface using one or more selection devices; and

in response to said received user selection of a semantic attribute path, storing the sequence of tokens and the selected semantic attribute path for the span selection in the annotated machine learning training data.

2. The annotation method of claim 1 , wherein the displayed set of semantic attribute paths in the interactive graphical element ranks the semantic attribute paths by their respective score.

3. The annotation method of claim 1 , wherein computing the scores for semantic attribute paths of the span selection is based on the class probabilities for the tokens of the span selection and on the class probabilities of tokens surrounding the tokens of the span selection.

4. The annotation method of claim 1 , further comprising re-training the artificial neural network employing the stored machine learning training data.

5. The annotation method of claim 1 , wherein the displayed set of semantic attribute paths in the interactive graphical element comprises a scroll-down list or a drop-down menu of semantic attribute paths.

6. The annotation method of claim 5 , wherein receiving the user selection of a semantic attribute path comprises receiving a user input indicating acceptance of a semantic attribute path ranked highest in the list of displayed semantic attribute paths or receiving a selection of an alternative semantic attribute path from the list of semantic attribute paths.

7. The annotation method of claim 5 , wherein the semantic attribute path ranked highest in the list of semantic attribute paths is displayed in the scroll-down list or drop-down menu as a default user selection.

8. The annotation method of claim 5 , wherein receiving the user input indicating acceptance of the semantic attribute path ranked highest comprises receiving another span selection via the graphical annotation interface.

9. The annotation method of claim 1 , wherein the text is taken from a user generated comment.

10. The annotation method of claim 9 , wherein the user generated comment relates to a point of interest (POI).

11. The annotation method of claim 9 , wherein the user generated comment relates to a retailer.

12. The method of claim 1 , further comprising:

pre-training the artificial neural network for information extraction, said pre-training comprising:

assigning seed tokens for each class of a predefined ontology;

computing, using a processor, a similarity of all seed tokens assigned to the classes with vocabulary tokens in a vocabulary of pre-trained token vectors, and selecting a number of least similar vocabulary tokens as negative tokens;

creating, using the processor, artificial texts by combining the seed tokens with tokens sampled from the list of negative tokens; and

using the processor, employing the classes of the seed tokens as annotations of the artificial texts for training an initial artificial neural network to provide the pre-trained artificial neural network.

13. The method of claim 12 , further comprising optimizing, using the processor, the number of least similar vocabulary tokens.

14. The method of claim 12 , wherein the predefined ontology contains a first number of top classes and a second number of semantic classes.

15. An apparatus for assisting in creation of annotated machine learning training data, the apparatus comprising:

a processor; and

a memory;

wherein the processor is configured using code instructions stored in the memory to:

cause to be displayed to a user a sequence of tokens to be annotated via a graphical annotation interface, wherein the tokens comprise text, and wherein the graphical annotation interface is configured for receiving a span selection by the user;

assign class probabilities to each token of the sequence of tokens using an artificial neural network of an automatic span tagger, the class probabilities for a token corresponding to probabilities for the token to fall under respective classes of the predefined ontology;

compute scores for semantic attribute paths of the span selection using a path-scoring algorithm of the automatic span tagger, the scores for the semantic attribute paths being based on the class probabilities, wherein the semantic attribute paths correspond to paths in a predefined ontology;

cause the scored semantic attribute paths to be displayed to the user via the graphical annotation interface;

receive the selection among the scored semantic attribute paths from the user via the graphical annotation interface; and

store in the memory the sequence of tokens and the selected semantic attribute path for the span selection as annotated machine learning data.

16. The apparatus of claim 15 , wherein the graphical annotation interface comprises a train button to initiate re-training of the artificial neural network employing the stored machine learning training data.

17. The apparatus of claim 16 , wherein the path-scoring algorithm is configured to compute the scored semantic attribute paths for the span selection based on the class probabilities by employing the class probabilities of the tokens in the span selection and the class probabilities of tokens surrounding the tokens of the span selection as optimal paths in the predefined ontology.

18. The apparatus of claim 16 , wherein the artificial neural network is a multi-label multi-class classification neural network trained for classifying spans of texts into the classes.

19. The apparatus of claim 15 , further comprising:

a display for displaying the sequence of tokens to be annotated and the scored semantic attribute paths to the user; and

one or more selection devices for enabling the user to select the span selection and the selection among the scored semantic attribute paths.

20. A non-transitory computer-readable medium storing an interactive annotation program including instructions that, when executed by a processor, causes a graphical annotation interface and memory forming part of an apparatus for assisting a user in creation of annotated machine learning training data, to:

cause to be displayed to the user a sequence of tokens to be annotated via the graphical annotation interface, wherein the tokens comprise text, and wherein the graphical annotation interface is configured for receiving a span selection by the user;

assign class probabilities to each token of the sequence of tokens using an artificial neural network of an automatic span tagger, the class probabilities for a token corresponding to probabilities for the token to fall under respective classes of a predefined ontology;

compute scores for semantic attribute paths of the span selection using a path-scoring algorithm of the automatic span tagger, the scores for the semantic attribute paths being based on the class probabilities, wherein the semantic attribute paths correspond to paths in the predefined ontology;

cause the scored semantic attribute paths to be displayed to the user via the graphical annotation interface;

receive the selection among the scored semantic attribute paths from the user via the graphical annotation interface; and

store in the memory the sequence of tokens and the selected semantic attribute path for the span selection as annotated machine learning data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 16, 2022
From: AIT-MOKHTAR, SALAH; BRUN, CAROLINE; SANDOR, AGNES
To: NAVER CORPORATION
Reel/Frame 062127/0078 →
Priority Claims (1)
EP 20305634 · Jun 10, 2020 · regional
Continuity (1)
Related Publication 20210390395A1 · Dec 16, 2021
References Cited (17)
US 20210254994A1 · Aït-Mokhtar et al. · 2021 [cited by applicant]
Banko, M., et al., “Open Information Extraction from the Web,” Communications of the ACM 51, No. 12, 2008, pp. 2670-2676. [cited by applicant]
Cerri, R., et al., “Hierarchical Multi-Label Classification Using Local Neural Networks,” Journal of Computer and System Sciences 80, No. 1, 2014, pp. 39-56. [cited by applicant]
Cimiano, P. et al., “Towards the Self-Annotating Web,” ACM, WWW, May 17-22, 2004, New York, New York, 2004, pp. 462-471. [cited by applicant]
Cunningham, H., et al., “Software Infrastructure for Natural Language Processing,” Proceedings of the Fifth Conference on Applied Natural Language Processing, Washington, DC, 1997, pp. 237-244. [cited by applicant]
European Search Report received for Application No. 20305634.6 dated Oct. 30, 2020. [cited by applicant]
Graff, P., et al., “SkyNet: an efficient and robust neural network training tool for machine learning in astronomy,” Monthly Notices of the Royal Astronomical Society, vol. 441, No. 2, 2014, pp. 1741-1759. [cited by applicant]
Huang, W., et al., “Hierarchical Multi-Label Text Classification: An Attention-based Recurrent Network Approach,” Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Nov. 3-7, 2… [cited by applicant]
Ji, G., et al., “Distant Supervision for Relation Extraction with Sentence-Level Attention and Entity Descriptions,” Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, 2017, 7 pages. [cited by applicant]
Kalyanpur, A., et al., “SMORE—Semantic Markup, Ontology, and RDF Editor,” Fort Belvoir, VA: Defense Technical Information Center, 2006, 6 pages. [cited by applicant]
Madjarov, G., et al., “An Extensive Experimental Comparison of Methods for Multi-Label Learning,” Pattern Recognition 45, No. 9, 2012, 21 pages. [cited by applicant]
Prodigy: An annotation tool for AI, Machine Learning & NLP, “Radically efficient machine teaching. An annotation tool powered by active learning,” Explosion Computer Software, available on the Internet at https://prodi.… [cited by applicant]
Stenetorp, P. et al., “Brat: A Web-Based Tool for NLP-Assisted Text Annotation,” Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics, Avignon, France, Apr. 23-27, … [cited by applicant]
Tayebikhorami, H.et al., “Oyster: A Tool for Fine-Grained Ontological Annotations in Free-Text,” Information Retrieval Technology, 11th Asia Information Retrieval Societies Conference, AIRS 2015, Brisbane, QLD, Australi… [cited by applicant]
Triguero, I., et al., “Labelling Strategies for Hierarchical Multi-Label Classification Techniques,” Pattern Recognition 56, 2016, 38 pages. [cited by applicant]
Zeng, D., et al., “Distant Supervision for Relation Extraction via Piecewise Convolutional Neural Networks,” Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal, Sep.… [cited by applicant]
Zhang, L., et al., “Hierarchical Multi-Label Classification Using Fully Associative Ensemble Learning,” Pattern Recognition 70, Oct. 2017, pp. 89-103. [cited by applicant]