Two-level computational memo for large-scale entity resolution
By using the distributed computing memo cache in entity resolution to manage the link feature vector table, the problem of long iteration time for entity resolution on large data sets in the existing technology is solved, achieving efficient calculation and reducing costs.
Patent Information
- Application Number
- CN201980048151.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-24
- Filing Date
- 2019-07-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-07-18
AI Technical Summary
Existing technologies are difficult to scale on large data sets, resulting in active learning of entity resolution (ER) rules requiring long iteration times on data sets with millions of records and unable to effectively reduce computational costs.
By using the distributed computing memo cache, we optimize active learning for large-scale entity parsing, manage the link feature vector table, and adopt a two-level cache hierarchy to pre-compute or instantly calculate the link feature vector table to reduce redundant calculations.
Significantly improves the efficiency of large-scale entity parsing, reduces computing costs, and enables rapid processing of large data sets.
Smart Images

Figure CN112424757B_ABST
Abstract
Description
Background Art
[0001] Active learning of entity resolution (ER) rules reduces the burden on users where interactivity is essential. Current solutions do not scale well on large datasets. For datasets with millions of records, each iteration can take minutes to tens of minutes on a 6-node cluster.
[0002] Matching functions are the basic units that make up ER rules, which are provided by users. Active learning learns the composition of several matching functions and thresholds and generates ER rules. Multiple iterations of the active learning process output multiple ER rules, which as a whole identify entities belonging to the same real word entity.
[0003] A blocking function is a specific type of matching function that is incorporated into an ER rule. An ER rule should have at least one blocking function. Blocking functions are used to reduce the number of pairs to be compared from a dual input data set, thereby reducing computational cost. Summary of the invention
[0004] Embodiments are directed to optimizing active learning of large-scale entity resolution (ER) by using a distributed computing memo cache to eliminate redundant computations. One embodiment provides a method, the method comprising performing active learning of large-scale entity resolution by a processor using a distributed computing memo cache to eliminate redundant computations. Determining a link feature vector table for an intermediate result of the active learning of the large-scale entity resolution. The link feature vector table is managed by a two-level cache hierarchy.
[0005] These and other features, aspects and advantages of the present invention will become understood with reference to the following description, appended claims and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
[0007] Figure 1 depicts a cloud computing environment according to an embodiment;
[0008] Figure 2 depicts a set of abstract model layers according to an embodiment;
[0009] Figure 3 is a network architecture for a two-level distributed computing memo cache system according to an embodiment;
[0010] Figure 4 It shows that according to one embodiment, Figure 1 Representative hardware environments associated with servers and / or clients;
[0011] Figure 5 is a block diagram illustrating a distributed system for performing two-level distributed computing memo cache processing according to one embodiment;
[0012] Figure 6 shows an example architecture for a two-level distributed computing memo cache system according to one embodiment;
[0013] Figure 7 A block diagram of a process for caching on a pre-computed link characteristics cache is shown according to one embodiment;
[0014] Figure 8 A block diagram illustrating a process for computing a cache of linked feature vectors on the fly according to one embodiment;
[0015] Fig. 9 An example block diagram of a disk cache management process according to one embodiment is shown;
[0016] Fig.10 shows example code for memoizing cache code procedures for two-level distributed computing according to one embodiment; and
[0017] Fig.11 A block diagram illustrating a process for eliminating redundant computations by optimizing active learning for large-scale entity resolution (ER) using a distributed computation memo cache, according to one embodiment. DETAILED DESCRIPTION
[0018] The description of different embodiments has been presented for the purpose of illustration, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or technical improvements over technologies found in the marketplace, or to enable those of ordinary skill in the art to understand the embodiments disclosed herein.
[0019] First, it should be understood that although the present disclosure includes a detailed description about cloud computing, the implementation of the technical solutions recorded therein is not limited to a cloud computing environment, but can be implemented in combination with any other type of computing environment now known or later developed.
[0020] Embodiments are directed to optimizing active learning of large-scale entity resolution (ER) by using a distributed computation memo cache to eliminate redundant computations. One embodiment provides a method that includes performing active learning of large-scale entity resolution by a processor using a distributed computation memo cache to eliminate redundant computations. The computation memo cache stores intermediate results of computations by managing a linked feature vector table. The linked feature vector table is either pre-computed using the union of all one blocking functions or computed on the fly when a user changes a matching function.
[0021] Cloud computing is a service delivery model for convenient, on-demand network access to a shared pool of configurable computing resources. Configurable computing resources are resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines (VMs), and services) that can be rapidly deployed and released with minimal management cost or interaction with the service provider. This cloud model can include at least five characteristics, at least three service models, and at least four deployment models.
[0022] Features include:
[0023] On-demand self-service: Cloud consumers can unilaterally deploy computing capabilities such as server time and network storage automatically and on demand without human interaction with the service provider.
[0024] Broad network access: Computing power can be accessed over the network through standard mechanisms that facilitate the use of the cloud through different types of thin-client or thick-client platforms (e.g., mobile phones, laptops, personal digital assistants (PDAs)).
[0025] Resource pool: The computing resources of the provider are grouped into resource pools and serve multiple consumers through a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated on demand. Generally, consumers cannot control or even know the exact location of the provided resources, but can specify the location (such as country, state or data center) at a higher level of abstraction, so it is location-independent.
[0026] Rapid elasticity: The ability to quickly and elastically (sometimes automatically) deploy computing power to scale up quickly, and quickly release it to scale down quickly. To consumers, the computing power available for deployment often appears to be unlimited, and any amount of computing power can be accessed at any time.
[0027] Measurable services: Cloud systems automatically control and optimize resource utilization by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active consumer accounts). Resource usage can be monitored, controlled, and reported, thus providing transparency to both service providers and consumers.
[0028] The service model is as follows:
[0029] Software as a Service (SaaS): The capability provided to the consumer is the ability to use the provider's applications running on the cloud infrastructure. The applications can be accessed from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer neither manages nor controls the underlying cloud infrastructure including networks, servers, operating systems, storage, or even individual application capabilities, except for limited consumer-specific application configuration settings.
[0030] Platform as a Service (PaaS): The capability provided to consumers is the ability to deploy applications created or acquired by consumers on the cloud infrastructure, which are created using programming languages and tools supported by the provider. Consumers neither manage nor control the underlying cloud infrastructure including networks, servers, operating systems or storage, but have control over the applications they deploy and may also have control over the configuration of the application hosting environment.
[0031] Infrastructure as a Service (IaaS): The capabilities provided to consumers are processing, storage, network, and other basic computing resources on which consumers can deploy and run arbitrary software including operating systems and applications. Consumers neither manage nor control the underlying cloud infrastructure, but have control over the operating system, storage, and applications they deploy, and may have limited control over selected network components (such as host firewalls).
[0032] The deployment model is as follows:
[0033] Private Cloud: Cloud infrastructure is run solely for an organization. The cloud infrastructure can be managed by the organization or a third party and can exist inside or outside the organization.
[0034] Community Cloud: A cloud infrastructure is shared by several organizations and supports a specific community with common interests (e.g., mission, security requirements, policies, and compliance considerations). A community cloud can be managed by multiple organizations within the community or by a third party and can exist inside or outside the community.
[0035] Public cloud: Cloud infrastructure is provided to the public or to large industry groups and is owned by an organization that sells cloud services.
[0036] Hybrid cloud: A cloud infrastructure consisting of two or more clouds (private, community or public) in a deployment model that remain distinct entities but are bound together by standardized or proprietary technologies (such as cloud burst sharing for load balancing between clouds) that enable data and application portability.
[0037] The cloud computing environment is service-oriented, with characteristics centered on statelessness, low coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure that includes a network of interconnected nodes.
[0038] Reference now Figure 1 , in which an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which a local computing device used by a cloud computing consumer can communicate, and the local computing device can be, for example, a personal digital assistant (PDA) or a mobile phone 54A, a desktop computer 54B, a laptop computer 54C and / or an automobile computer system 54N. The cloud computing nodes 10 can communicate with each other. The cloud computing nodes 10 can be physically or virtually grouped in one or more networks including but not limited to private clouds, community clouds, public clouds or hybrid clouds, or a combination thereof as described above (not shown in the figure). In this way, cloud consumers can request infrastructure as a service (IaaS), platform as a service (PaaS) and / or software as a service (SaaS) provided by the cloud computing environment 50 without having to maintain resources on local computing devices. It should be understood that Figure 1 The various types of computing devices 54A-N shown are merely illustrative, and the cloud computing node 10 and the cloud computing environment 50 may communicate with any type of computing device on any type of network and / or network-addressable connection (eg, using a web browser).
[0039] Reference now Figure 2 , which shows a cloud computing environment 50 ( Figure 1 ) provides a set of functional abstraction layers. First of all, it should be understood that Figure 3 The components, layers, and functions shown are only exemplary and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the following layers and corresponding functions are provided:
[0040] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include: host 61; server 62 based on RISC (Reduced Instruction Set Computer) architecture; server 63; blade server 64; storage device 65; network and network components 66. Examples of software components include: network application server software 67 and database software 68.
[0041] The virtualization layer 70 provides an abstraction layer that can provide examples of the following virtual entities: virtual servers 71 , virtual storage 72 , virtual networks 73 (including virtual private networks), virtual applications and operating systems 74 , and virtual clients 75 .
[0042] In one example, the management layer 80 may provide the following functions: Resource provisioning function 81: providing dynamic acquisition of computing resources and other resources for performing tasks in a cloud computing environment; Metering and pricing function 82: tracking the cost of resource usage within the cloud computing environment and providing bills and invoices for this purpose. In one example, the resource may include an application software license. Security function: providing identity authentication for cloud consumers and tasks, and providing protection for data and other resources. User portal function 83: providing access to the cloud computing environment for consumers and system administrators. Service level management function 84: providing allocation and management of cloud computing resources to meet the required service levels. Service level agreement (SLA) planning and fulfillment function 85: providing pre-arrangement and provision for future demand for cloud computing resources predicted according to the SLA.
[0043] The workload layer 90 provides examples of functions that may be implemented in a cloud computing environment. In this layer, examples of workloads or functions that may be provided include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom teaching provision 93; data analysis processing 94; transaction processing 95; and optimizing active learning of large-scale ER by using a distributed computing memo cache to eliminate redundant computing processing 96. Figure 2 These examples are merely illustrative, and the invention is not limited to them.
[0044] It should be understood that all of the functionality of one or more embodiments described herein may generally be performed by the processing system 300 ( Figure 3 ) or cloud environment 410( Figure 4 ) to execute, the processing system 300 ( Figure 3 ) or cloud environment 410( Figure 4 ) can be tangibly embodied as a hardware processor and a module with program code. However, this need not be the case for non-real-time processing. Rather, for non-real-time processing, the functionality described herein can be implemented by Figure 2 Any of the layers 60, 70, 80 and 90 shown in FIG. 6 may be performed / implemented and / or enabled.
[0045] Reiterate, although this disclosure includes detailed description about cloud computing, the implementation of the teachings cited herein is not limited to cloud computing environment. On the contrary, the embodiments of the present invention can be implemented with any type of cluster computing environment now known or later developed.
[0046] Figure 3FIG. 3 shows a network architecture 300 according to one embodiment. Figure 3 As shown, a plurality of remote networks 302 are provided, including a first remote network 304 and a second remote network 306. A gateway 301 may be coupled between the remote network 302 and a neighboring network 308. In the context of the present network architecture 300, the networks 304, 306 may each take any form, including but not limited to a LAN, a WAN (such as the Internet), a public switched telephone network (PSTN), an internal telephone network, and the like.
[0047] In use, gateway 301 serves as an entry point from remote network 302 to adjacent network 308. As such, gateway 301 may function as both a router capable of directing a given packet of data arriving at gateway 301 and a switch providing the actual path in and out of gateway 301 for a given packet.
[0048] Also included is at least one data server 314 coupled to the adjacent network 308, which is accessible from the remote network 302 via the gateway 301. It should be noted that the (one or more) data servers 314 can include any type of computing device / groupware. Coupled to each data server 314 are multiple user devices 316. Such user devices 316 may include desktop computers, laptop computers, handheld computers, printers, and / or any other type of device containing logic. It should be noted that in some embodiments, the user device 316 may also be directly coupled to any of the networks.
[0049] A peripheral 320 or a series of peripherals 320 (e.g., a fax machine, a printer, a scanner, a hard drive, a networked and / or local storage unit or system, etc.) may be coupled to one or more of the networks 304, 306, 308. It should be noted that the database and / or additional components may be used with or integrated into any type of network element coupled to the networks 304, 306, 308. In the context of this specification, a network element may refer to any component of a network.
[0050] According to some approaches, the methods and systems described herein may be implemented with and / or on a virtual system and / or system that emulates one or more other systems, such as a UNIX system emulating an IBM z / OS environment, a UNIX system virtually hosting a MICROSOFT WINDOWS environment, a MICROSOFT WINDOWS system emulating an IBM z / OS environment, etc. In some embodiments, such virtualization and / or emulation may be achieved by using VMWARE software.
[0051] Figure 4According to one embodiment, Figure 3 314 and / or a server 314. In one example, the hardware configuration includes a workstation having a central processing unit 410, such as a microprocessor, and a plurality of other units interconnected via a system bus 412. Figure 4 The workstation shown in the figure may include a random access memory (RAM) 414, a read-only memory (ROM) 416, an I / O adapter 418 for connecting peripheral devices (such as a disk storage unit 420) to the bus 412, a user interface adapter 422 for connecting a keyboard 424, a mouse 426, a speaker 428, a microphone 432 and / or other user interface devices (such as a touch screen, a digital camera (not shown)) to the bus 412, a communication adapter 434 for connecting the workstation to a communication network 435 (e.g., a data processing network), and a display adapter 436 for connecting the bus 412 to a display device 438.
[0052] In one example, the workstation may have an operating system resident thereon, such as MICROSOFT WINDOWS operating system (OS), MACOS, UNIX OS, etc. In one embodiment, the system 400 uses a system based on It will be appreciated that other examples may also be implemented on platforms and operating systems other than those mentioned. Such other examples may include operating systems written using JAVA, XML, C and / or C++ languages or other programming languages and object-oriented programming methods. Object-oriented programming (OOP) may also be used, which has become increasingly used to develop complex applications.
[0053] Figure 5 5 is a block diagram showing a system 500 according to one embodiment, which can be used to optimize active learning of large-scale ER by using a distributed computing memo cache to eliminate redundant computations. In one embodiment, the system 500 includes a client device 510 (e.g., a mobile device, a smart device, a computing system, etc.), a cloud or resource sharing environment 520 (e.g., a public cloud computing environment, a private cloud computing environment, a data center, etc.), and a server 530. In one embodiment, cloud services from the server 530 are provided to the client device through the cloud or resource sharing environment 520.
[0054] In one embodiment, system 500 provides a two - level distributed computing memo cache to eliminate redundant calculations of active ERs for large datasets, including memory - level distributed cache cache calculations based on frequency and storage cost. System 500 provides disk - level distributed cache cache calculations based on frequency, storage cost, computing cost, and coverage. Early exits for common rules are provided by sorting the calculated links according to similarity scores. System 500 provides an efficient computational cache algorithm / process for learning rules including cardinality clauses.
[0055] Figure 6 An example architecture for a two - level distributed computing memo cache system 600 according to one embodiment is shown. System 600 includes one or more hardware processor devices for executing instructions from memory. The system includes a memory 610 for tagged data, a rule learner 615 process, an example selection module / process 620, a user interaction module / process 625, a link calculation script generator 630, a computational cache manager 635, a computational resource process 640, a distributed cache 645, a Hadoop Distributed File System (HDFS) 650, and a distributed processing cluster 670. In system 600, processing data includes untagged examples 660 / 661, tagged examples 662, rules 616, cache instructions 671, and an input data set 672. The computational cache manager 635 is responsible for caching intermediate results, which are multiple link feature vector tables. The cache manager performs Figure 7 、 8 and the processes of 9. The link calculation script generator 630 is used to generate HIL scripts to utilize the intermediate results.
[0056] In one embodiment, given a memory - in cache capacity C mem and a disk cache C disk , system 600 manages space to maximize cache efficiency. The schema of the cache table for link feature vectors includes the following format: <Id1, Id2, feature vector, similarity score>. In one embodiment, a bitmap representation is used for feature vectors to reduce storage requirements. The cache table of link feature vectors is sorted by similarity score. Table 1 shows an example table of link feature vectors.
[0057] Table 1.
[0058]
[0059]
[0060] In one embodiment, when the matching function has not changed, the system 600 performs pre-calculation. In this case, the feature vector remains unchanged, and the system 600 pre-calculates the links and feature vectors of all blocking functions and fills the in-memory cache. When the in-memory cache is full, the system 600 caches other tables in the disk memory cache. In one embodiment, the system 600 always finds the nearest inclusion rule. For example, T.lastName=C.lastName and T.location.state=C.state is an inclusion rule for T.lastName=C.lastName and T.location.state=C.state and firstNameMatch(T.firstName, C.firstName). When the matching function changes, the system 600 calculates on the fly, and calculates the links and feature vectors that are put into the cache.
[0061] In one embodiment, a common rule is a rule with the largest subset of predicates. For example, T.lastName=C.lastName and T.location.state=C.state is an inclusion rule of T.lastName=C.lastName and T.location.state=C.state and firstNameMatch(T.firstName, C.firstName). If there are multiple candidate rules, the system 600 selects one candidate rule in memory or one candidate rule with the least number of links. For cardinality rules, the system 600 removes the cardinality and uses the same strategy of common rules. Note that rules that only remove the cardinality clause are also considered. For example, T.lastName=C.lastName and T.location.state=C.state is an inclusion rule of T.lastName=C.lastName and T.location.state=C.state and 1:1. In one embodiment, when the learned rule does not include a cardinality clause, the system 600 provides early exit. The system 600 checks the links from the top-down nearest neighbor rules and returns when the top K links are collected, K is a positive integer.
[0062] In one embodiment, the system 600 manages two caches (distributed memory cache and distributed disk cache) based on access frequency, coverage, and computational / processing "cost" (e.g., processing usage, bandwidth, etc.) and storage usage of the link feature vector table. In one embodiment, the "cost" or memory usage model of the memory cache is expressed as:
[0063]
[0064] In one embodiment, the system 600 gives higher priority to a set of links that are frequently accessed and require less storage usage. In one embodiment, the "cost" or memory usage model of the disk cache is as follows:
[0065]
[0066] Additionally, system 600 takes into account high processing usage to be calculated, as well as linked sets that are not covered by other linked lists.
[0067] Figure 7 A block diagram of a process 700 for caching on a pre-computed link feature cache according to one embodiment is shown. In process 700, inputs include candidate rule r705, and links, feature vectors, and similarity scores from cache 735. In block 710, it is determined whether to calculate candidate rule r705. If it is determined to calculate candidate rule r705, process 700 proceeds to box 740 and obtains links for candidate rule r705, and proceeds to box 770 to return links. Otherwise, if it is determined in box 710 not to calculate candidate rule r705, then in box 720, process 700 obtains the nearest containment rule. In box 730, process 700 (using information from cache 735) checks the incremental predicate on the links of the pre-computed rules. In box 750, for the links of candidate rule r705, process 700 sorts the links by similarity. In block 760, process 700 places the sorted links with the feature vectors into cache 735. Process 700 then proceeds to block 770 to return the links and then ends.
[0068] Figure 8A block diagram of a process 800 for calculating a cache of link feature vectors on the fly according to one embodiment is shown. In process 800, input includes candidate rule r705, and links, feature vectors, and similarity scores from cache 735. In block 810, it is determined whether candidate rule r705 is in cache 735. If it is determined that candidate rule r705 is in cache 735, process 800 proceeds to frame 826 and obtains links of candidate rule r705 and proceeds to frame 860 to return the sorted links with feature vectors and ends. Otherwise, if it is determined in frame 810 that candidate rule r705 is not in cache 735, then in frame 820, process 800 determines whether the closest calculated rule r' can be found. If it is determined that the closest calculated rule r' is found, then in frame 825, process 800 checks the incremental predicate on the link of rule r' and puts it into cache. Process 800 then proceeds to frame 860 and then ends. If it is determined that the closest calculation rule r' is not found, then in block 830, the process 800 calculates links for the candidate rule r 705. In block 840, the process 800 obtains links for the candidate rule r 705 that is not in the cache 735. In block 850, the process 800 calculates feature vectors, similarities, and ranking results and places the results in the cache 735. The process 800 then proceeds to block 860 and then ends.
[0069] Fig. 9 An example block diagram of a disk cache management process 900 according to one embodiment is shown. In one embodiment, in block 910, the process 900 determines whether the result I of the current rule is covered (covered Q (CQ) 905) and is commonly used. Covered means that there are some other link feature tables that cover I, so that I can be calculated through these link feature tables. It is cheaper to discard I than to discard some intermediate results that are not covered. Common refers to commonly used rules without cardinality clauses. If it is determined that I is covered and commonly used, the process 900 proceeds to box 920, where it is determined whether CQ is empty. If it is determined that CQ is empty, the process 900 proceeds to block 935 and discards the I cache. Otherwise, the process 900 proceeds to box 930, where it is determined whether I.score is greater than tail.score. If it is determined that I.score is greater than tail.score, the process 900 proceeds to box 931 and evicts CQ.tail. Otherwise, the process 900 proceeds to box 932 and discards the I cache.
[0070] In one embodiment, if it is determined in block 910 that I is not covered or is not commonly used, the process 900 proceeds to block 940, where it is determined whether CQ is empty. If it is determined that CQ is not empty, the process 900 proceeds to block 945 and evicts CQ.tail. Otherwise, the process 900 proceeds to block 950, where it is determined whether I.score is greater than CaQ.tail.score. If it is determined that I.score is greater than CaQ.tail.score, the process 900 proceeds to block 951 and evicts CaQ.tail. Otherwise, the process 900 proceeds to block 952 and discards I.
[0071] Fig.10 Example code 1000 for a two-level distributed computing memo cache process according to one embodiment is shown. Code 1000 includes example code for getLink, putMemCache, putDiskCache, toEvictMem, and toEvictDisk. Specifically, getLink retrieves the link for the current rule from the memory computing cache; if no result is returned, it retrieves the link from the disk computing cache. If no result is returned, getLink calculates the link for the current rule and saves the link to the memory cache. If putMemoryCacheFunction returns some other links, these other links are evicted from the memory cache. The function getLink then puts the link evicted from the memory cache back and stores it to the disk cache.
[0072] Fig.11 A block diagram of a process 1100 for eliminating redundant computations by optimizing active learning for large-scale entity resolution using a distributed computation memo cache is shown according to one embodiment. In one embodiment, in block 1110, the process 1100 is performed by a processor (e.g., from Figure 1-6 In one embodiment, the process 1100 uses a distributed computing memo cache to perform active learning of large-scale entity resolution to eliminate redundant calculations. In one embodiment, in block 1120, the process 1100 determines a link feature vector table of intermediate results for active learning of large-scale entity resolution. In block 1130, the process 100 manages the link feature vector table through a two-level cache hierarchy. In one embodiment, the two-level cache hierarchy includes a distributed memory cache and a distributed disk cache.
[0073] In one embodiment, in process 1100, determining the link feature vector table includes one of: pre-calculating the link feature vector table using the union of all blocking functions, or calculating the link feature vector table on the fly when the matching function changes (for example, by a user), and the distributed memory cache managing the link feature vector table based on frequency and storage usage, processing bandwidth, and coverage.
[0074] In one embodiment, for process 1100, pre-computing the link feature vector table includes populating a memory cache of a distributed memory cache, and upon determining that the memory cache is full, caching the link vector table in at least one disk cache of the distributed disk cache.
[0075] In one embodiment, process 1100 may further include updating the cache of the two-level cache hierarchy upon determining that the matching function changes and the link feature vector is no longer valid. In process 1100, upon determining that the nearest containment rule is cached to avoid redundant calculations, incremental calculation of the link is enabled.
[0076] In one embodiment, process 1100 may further include sorting the caches of the two-level cache hierarchy by similarity score to obtain the intermediate results.Process 1100 may additionally include examining the top or bottom portion of the intermediate results to return the most similar or least similar pairs.
[0077] As will be appreciated by those skilled in the art, aspects of the present invention may be embodied as systems, methods, or computer program products. Accordingly, aspects of the present invention may take the form of a complete hardware embodiment, a complete software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects, which embodiments may all be collectively referred to herein as "circuits," "modules," or "systems." In addition, aspects of the present invention may take the form of a computer program product embodied in one or more computer-readable media having a computer-readable program code embodied thereon.
[0078] Any combination of one or more computer-readable media may be utilized. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer-readable storage medium may be any tangible medium capable of containing or storing a program that is used by or in conjunction with an instruction execution system, device, or device.
[0079] A computer readable signal medium may include a propagated data signal having computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including but not limited to electromagnetic, optical, or any suitable combination thereof. A computer readable signal medium may be a computer readable medium that is not a computer readable storage medium, and which may convey, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or apparatus.
[0080] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0081] The computer program code for performing the operations of various aspects of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, etc., and traditional procedural programming languages, such as "C" or similar programming languages. The program instructions may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0082] Various aspects of the present invention are described below with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It will be understood that each block of the flowchart illustration and / or block diagram and the combination of blocks in the flowchart illustration and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, so that instructions executed by a processor of a computer or other programmable data processing device create a device for implementing the functions / actions specified in the flowchart and / or block diagram blocks.
[0083] These computer program instructions may also be stored in a computer-readable medium, which may instruct a computer, other programmable data processing apparatus, or other device to function in a specific manner, so that the instructions stored in the computer-readable medium produce a manufactured product including instructions for implementing the functions / actions specified in the flowchart and / or block diagram or multiple blocks.
[0084] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide a process for implementing the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0085] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0086] Unless expressly so stated, reference to an element in the singular in a claim is not intended to mean "one and only one," but rather "one or more." All structural and functional equivalents to the elements of the above-described exemplary embodiments that are currently known or later come to be known to one of ordinary skill in the art are intended to be covered by the present claims. Pursuant to 35 U.S.C. § 112, paragraph 6, no claim element herein may be interpreted unless the element is expressly recited using the phrase "means for" or "step for."
[0087] The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the present invention. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that the terms "include" and / or "comprises" when used in this specification specify the presence of the features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0088] All means or steps in the appended claims plus the corresponding structures, materials, functions and equivalents of the functional elements are intended to include any structure, material or function for performing a function in combination with other claimed elements. The description of the present invention has been given for the purpose of illustration and description, but is not intended to be exhaustive or to limit the invention to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiments are selected and described in order to best explain the principles and practical applications of the invention and to enable other persons of ordinary skill in the art to understand the various embodiments of the invention with various modifications suitable for the specific purposes contemplated.
Claims
1. A method for optimizing active learning for large-scale entity resolution in a two-level cache hierarchy, comprising: Active learning of large-scale entity resolution is performed by processors using a distributed computation memo cache to eliminate redundant computations; sorting caches in a two-level cache hierarchy by similarity scores to obtain intermediate results; Determining a link feature vector table of an intermediate result of the active learning for the large-scale entity resolution; as well as The link feature vector table is managed by a two-level cache hierarchy.
2. The method of claim 1, wherein: Determining the link feature vector table includes one of: pre-calculating the link feature vector table using a union of all blocking functions, or dynamically calculating the link feature vector table when a matching function changes, and the two-level cache hierarchy includes a distributed memory cache and a distributed disk cache.
3. The method of claim 2, wherein: The distributed memory cache manages the link feature vector table based on frequency and memory usage.
4. The method of claim 2, wherein: The distributed disk cache manages the link feature vector table based on frequency, memory usage, processing bandwidth, and coverage.
5. The method of claim 2, wherein: Pre-calculating the link characteristic vector table includes populating a memory cache of the distributed memory cache, and caching the link characteristic vector table in at least one disk cache of the distributed disk cache when the memory cache is determined to be full.
6. The method of claim 2, further comprising: When it is determined that the matching function has changed and the link feature vector is no longer valid, the cache of the two-level cache hierarchy is updated.
7. The method of claim 1, wherein: Enables incremental computation of links when the closest containment rule is determined to be cached to avoid redundant computation.
8. The method of claim 1, further comprising: The top or bottom portion of the intermediate results is examined to return the most similar or least similar pairs.
9. A computer program product for optimizing active learning for large-scale entity resolution in a two-level cache hierarchy, the computer program product comprising a computer-readable storage medium having program instructions contained therein, the program instructions executable by a processor to cause the processor to: performing, by the processor, active learning of large-scale entity resolution using a distributed computation memo cache to eliminate redundant computation; sorting, by the processor, caches of a two-level cache hierarchy structure by similarity scores to obtain intermediate results; Determining, by the processor, a link feature vector table of an intermediate result of the active learning for the large-scale entity resolution; as well as The link feature vector table is managed by the processor using the two-level cache hierarchy.
10. The computer program product of claim 9, wherein: Determining the link feature vector table includes one of: pre-calculating the link feature vector table using a union of all blocking functions, or dynamically calculating the link feature vector table when a matching function changes, and the two-level cache hierarchy includes a distributed memory cache and a distributed disk cache.
11. The computer program product of claim 10, wherein: The distributed memory cache manages the link feature vector table based on frequency and memory usage, and the distributed disk cache manages the link feature vector table based on frequency, memory usage, processing bandwidth, and coverage.
12. The computer program product of claim 10, wherein: Pre-calculating the link characteristic vector table includes populating a memory cache of the distributed memory cache, and caching the link characteristic vector table in at least one disk cache of the distributed disk cache when the memory cache is determined to be full.
13. The computer program product of claim 10, wherein the program instructions executable by the processor are further operable to cause the processor to further cause the processor to: Upon determining that the matching function has changed and a link feature vector is no longer valid, the processor updates a cache of the two-level cache hierarchy.
14. The computer program product of claim 13, wherein: The program instructions executable by the processor are further configured to cause the processor to: examining, by the processor, the top or bottom portion of the intermediate results to return the most similar or least similar pairs, Therein, when it is determined that the closest inclusion rule is cached to avoid redundant calculation, incremental calculation of the link is enabled.
15. An apparatus for optimizing active learning for large-scale entity resolution in a two-level cache hierarchy, comprising: a memory configured to store instructions; as well as A processor configured to execute the instructions to: Perform active learning of large-scale entity resolution using a distributed computation memo cache to eliminate redundant computation; sorting caches in a two-level cache hierarchy by similarity scores to obtain intermediate results; Determine a link feature vector table of an intermediate result of the active learning of the large-scale entity resolution; and The link feature vector table is managed using the two-level cache hierarchy structure.
16. The device of claim 15, wherein: Determining the link feature vector table includes one of: pre-calculating the link feature vector table using a union of all blocking functions, or dynamically calculating the link feature vector table when a matching function changes, and the two-level cache hierarchy includes a distributed memory cache and a distributed disk cache.
17. The device of claim 16, wherein: The distributed memory cache manages the link feature vector table based on frequency and memory usage, and the distributed disk cache manages the link feature vector table based on frequency, memory usage, processing bandwidth, and coverage.
18. The device of claim 16, wherein: Pre-computing the link characteristic vector table includes populating a memory cache of the distributed memory cache, and upon determining that the memory cache is full, caching the link characteristic vector table in at least one disk cache of the distributed disk cache.
19. The device of claim 16, wherein the processor is further configured to execute the instructions to: When it is determined that the matching function has changed and the link feature vector is no longer valid, updating the cache of the two-level cache hierarchy; and examining the top or bottom portion of said intermediate results to return the most similar or least similar pairs, in, Enables incremental computation of links when the closest containment rule is determined to be cached to avoid redundant computation.
