Semantic representation of text in document
Abstract
There is provided a solution for semantic representation of text in a document. In this solution, textual information comprising a sequence of text elements ( 220 ) and layout information ( 230 ) of the text element are determined from a document. The layout information ( 230 ) indicates a spatial arrangement of the plurality of text elements ( 220 ) presented within the document. Based at least in part on the plurality of text elements ( 220 ) and the layout information ( 230 ), respective semantic feature representations ( 180 ) of the plurality of text elements ( 220 ) are generated. By jointly using both the textual information and the layout information ( 230 ), rich semantics of the text elements ( 220 ) in the document can be effectively captured in the feature representations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A device for determining a semantic representation of text in a document, comprising: a processing unit; and a memory coupled to the processing unit and having instructions stored thereon, the instructions, when executed by the processing unit, causing the device to perform acts comprising: determining textual information presented in the document, the textual information comprising a plurality of text elements; determining layout information indicating a spatial arrangement of the plurality of text elements presented within the document; generating respective semantic feature representations of the plurality of text elements based at least in part on the plurality of text elements and the layout information; determining, using a visual information processing system, visual information of the textual information, the visual information indicating at least one: respective visual appearances of the plurality of text elements presented in the document, and an overall visual appearance of
- Claim 2Depends on #1
The device of claim 1, wherein the layout information indicates at least one of the following: respective positions of the plurality of text elements within the document, and a positioning range of the textual information within the document.
- Claim 3Depends on #2
The device of claim 2, wherein the document comprises an image and the image comprises the plurality of text elements, and wherein the layout information comprises the respective positions of the plurality of text elements, and determining the layout information comprises: determining a plurality of bounding boxes bounding the plurality of text elements in the image; and determining respective positions of the plurality of bounding boxes in the image as the respective positions of the plurality of text elements.
- Claim 4Depends on #1
The device of claim 1, wherein the acts further comprise: determining visual information indicating at least one of the following: respective visual appearances of the plurality of text elements presented in the document, and an overall visual appearance of the document; and wherein generating the semantic feature representations further comprises: generating the semantic feature representations further based on the visual information.
- Claim 5Depends on #4
The device of claim 4, wherein the visual information comprises at least one of the following: information of respective formats of the plurality of text elements, and information of a format of the document.
- Claim 6Depends on #4
The device of claim 4, wherein the visual information indicates the respective visual appearances, and determining the visual information comprises: extracting a plurality of image blocks presenting the plurality of text elements in the document; and generating a plurality of visual feature representations characterizing the visual appearances of the plurality of image blocks.
- Claim 7Depends on #1
The device of claim 1, wherein generating the semantic feature representations comprises: determining the semantic feature representations by applying the plurality of text elements and the layout information as inputs to a neural network.
- Claim 8Depends on #7
The device of claim 7, wherein the neural network is pre-trained based on a plurality of sample text elements in a sample image and sample layout information indicating a layout of the plurality of sample text elements presented within the sample image, and wherein the pre-training of the neural network is performed by: masking at least one of the plurality of sample text elements, and training the neural network to predict the at least one masked sample text element given remaining ones of the plurality of sample text elements and the sample layout information.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application is a U.S. National Stage Filing under 35 U.S.C. 371 of International Patent Application Serial No. PCT/CN2020/095942, filed Jun. 12, 2020, and published as WO 2021/248492 A1 on Dec. 16, 2021, which application and publication are incorporated herein by reference in their entirety. BACKGROUND Document artificial intelligence (AI) or document intelligence is a trending application area that uses techniques to automatically read, understand, and analyze documents. Documents may be digital-born, occurring as electronic files, or contain images captured from written or printed paper. Examples of documents include purchase orders, financial reports, business emails, sales agreements, vendor contracts, letters, invoices, receipts, resumes and many others. Understanding and analyzing documents especially business documents can greatly facilitate people's daily life and enhance business efficiency and productivity. Formats and layouts of documents may vary, from plain text to a wide variety of columns, charts, and figures, etc. Nonetheless, information contained in a document is usually presented in natural language. Typically, document understanding, especially those containing images, involves text recognition and natural language processing. SUMMARY According to implementations of the subject matter described herein, there is provided a solution for determining a semantic representation of text in a document. In this solution, textual information comprising a sequence of text elements and layout information of the text elements are determined from a document. The layout information indicates a spatial arrangement of the sequence of text elements presented within the document. Based at least in part on the text elements and the layout information, respective semantic feature representations of the text elements are generated. The Summary is to introduce a selection of concepts in a simplified form that are further des
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (25)
Non-Patent Literature (10)
- Office Action Received for Chinese Application No. 202080101969.1, mailed on May 15, 2024, 17 pages (English Translation Provided).
- Second Office Action Received for Chinese Application No. 202080101969.1, mailed on Sep. 5, 2024, 17 pages (English Translation Provided).
- “
- International Search Report and Written Opinion Issued in PCT Application No. PCT/CN20/095942
- ”
- , Mailed Date: Mar. 10, 2021, 10 Pages.
- Extended European Search Report received for EP Application No. 20939555.7, mailed on Date Dec. 15, 2023, 7 pages.
- Qiao, et al.,
- “
- Question answering method based on question generation