Identifying entities using a deep-learning model

    公开(公告)号:US10402750B2

    公开(公告)日:2019-09-03

    申请号:US14984956

    申请日:2015-12-30

    Applicant: Facebook, Inc.

    Abstract: In one embodiment, a method includes accessing a first set of entities, with which a user has interacted, and a second set of entities in a social-networking system. A first set of vector representations of the first set of entities are determined using a deep-learning model. A target entity is selected from the first set of entities, and the vector representation of the target entity is removed from the first set. The remaining vector representations in the first set are combined to determine a vector representation of the user. A second set of vector representations of the second set of entities are determined using the deep-learning model. Similarity scores are computed between the user and each of the target entity and the entities in the second set of entities. Vector representations of entities in the second set of entities are updated based on the similarity scores using the deep-learning model.

    Predicting labels using a deep-learning model

    公开(公告)号:US10387464B2

    公开(公告)日:2019-08-20

    申请号:US14949436

    申请日:2015-11-23

    Applicant: Facebook, Inc.

    Abstract: In one embodiment, a method includes receiving text query that includes n-grams. A vector representation of each n-gram is determined using a deep-learning model. A nonlinear combination of the vector representations of the n-grams is determined, and an embedding of the text query is determined based on the nonlinear combination. The embedding of the text query corresponds to a point in an embedding space, and the embedding space includes a plurality of points corresponding to a plurality of label embeddings. Each label embedding is based on a vector representation of a respective label determined using the deep-learning model. Label embeddings are identified as being relevant to the text query by applying a search algorithm to the embedding space. Points corresponding to the identified label embeddings are within a threshold distance of the point corresponding to the embedding of the text query in the embedding space.

    METHOD AND SYSTEM FOR IMPLEMENTING AN ARRAY USING DIFFERENT DATA STRUCTURES
    4.
    发明申请
    METHOD AND SYSTEM FOR IMPLEMENTING AN ARRAY USING DIFFERENT DATA STRUCTURES 有权
    使用不同数据结构实现阵列的方法和系统

    公开(公告)号:US20140156708A1

    公开(公告)日:2014-06-05

    申请号:US13691622

    申请日:2012-11-30

    Applicant: Facebook, Inc.

    CPC classification number: G06F17/30312 G06F9/34 G06F17/30126 G06F17/3033

    Abstract: Disclosed are a method and system for implementing an array data type of a programming language using various data structures. The disclosed method includes a plurality of implementations in which the array data type may be implemented. The implementations provide an efficient way to retrieve elements from the array, especially in the order they are inserted into the array. The data structures also minimize the computing resources required to manage and access the array. The disclosed technique also selects one of the many implementations based on criteria such as access pattern or size of the array.

    Abstract translation: 公开了一种使用各种数据结构实现编程语言的阵列数据类型的方法和系统。 所公开的方法包括其中可以实现阵列数据类型的多个实现。 这些实现提供了一种从数组中检索元素的有效方法,特别是按照它们插入数组的顺序。 数据结构还将管理和访问阵列所需的计算资源最小化。 所公开的技术还基于诸如访问模式或阵列的大小的标准来选择许多实现之一。

    Identifying Entities Using a Deep-Learning Model

    公开(公告)号:US20170193390A1

    公开(公告)日:2017-07-06

    申请号:US14984956

    申请日:2015-12-30

    Applicant: Facebook, Inc.

    CPC classification number: G06N20/00 G06Q50/01

    Abstract: In one embodiment, a method includes accessing a first set of entities, with which a user has interacted, and a second set of entities in a social-networking system. A first set of vector representations of the first set of entities are determined using a deep-learning model. A target entity is selected from the first set of entities, and the vector representation of the target entity is removed from the first set. The remaining vector representations in the first set are combined to determine a vector representation of the user. A second set of vector representations of the second set of entities are determined using the deep-learning model. Similarity scores are computed between the user and each of the target entity and the entities in the second set of entities. Vector representations of entities in the second set of entities are updated based on the similarity scores using the deep-learning model.

    Partitioning shared caches
    7.
    发明授权
    Partitioning shared caches 有权
    分区共享缓存

    公开(公告)号:US09569360B2

    公开(公告)日:2017-02-14

    申请号:US14040330

    申请日:2013-09-27

    Applicant: Facebook, Inc.

    Abstract: Technology is provided for partitioning a shared unified cache in a multi-processor computer system. The technology can receive a request to allocate a portion of a shared unified cache memory for storing only executable instructions, partition the cache memory into multiple partitions, and allocate one of the partitions for storing only executable instructions. The technology can further determine the size of the portion of the cache memory to be allocated for storing only executable instructions as a function of the size of the multi-processor's L1 instruction cache and the number of cores in the multi-processor.

    Abstract translation: 提供技术用于在多处理器计算机系统中分区共享统一缓存。 该技术可以接收分配用于仅存储可执行指令的共享统一高速缓冲存储器的一部分的请求,将高速缓存存储器分割成多个分区,并且分配用于仅存储可执行指令的分区之一。 该技术可以进一步确定要分配用于仅存储可执行指令的高速缓冲存储器的部分的大小,作为多处理器的L1指令高速缓存的大小和多处理器中的核心数量的函数。

    Method and system for implementing an array using different data structures
    8.
    发明授权
    Method and system for implementing an array using different data structures 有权
    使用不同数据结构实现数组的方法和系统

    公开(公告)号:US09069807B2

    公开(公告)日:2015-06-30

    申请号:US13691622

    申请日:2012-11-30

    Applicant: Facebook, Inc.

    CPC classification number: G06F17/30312 G06F9/34 G06F17/30126 G06F17/3033

    Abstract: Disclosed are a method and system for implementing an array data type of a programming language using various data structures. The disclosed method includes a plurality of implementations in which the array data type may be implemented. The implementations provide an efficient way to retrieve elements from the array, especially in the order they are inserted into the array. The data structures also minimize the computing resources required to manage and access the array. The disclosed technique also selects one of the many implementations based on criteria such as access pattern or size of the array.

    Abstract translation: 公开了一种使用各种数据结构实现编程语言的阵列数据类型的方法和系统。 所公开的方法包括其中可以实现阵列数据类型的多个实现。 这些实现提供了一种从数组中检索元素的有效方式,特别是按照它们插入数组的顺序。 数据结构还将管理和访问阵列所需的计算资源最小化。 所公开的技术还基于诸如访问模式或阵列的大小的标准来选择许多实现之一。

    Method and system for binding objects in dynamic programming languages using caching techniques
    9.
    发明授权
    Method and system for binding objects in dynamic programming languages using caching techniques 有权
    使用缓存技术在动态编程语言中绑定对象的方法和系统

    公开(公告)号:US08984542B2

    公开(公告)日:2015-03-17

    申请号:US13691664

    申请日:2012-11-30

    Applicant: Facebook, Inc.

    CPC classification number: G06F9/44521 G06F8/41 G06F9/449

    Abstract: Disclosed are a method and system for binding a program object in a source code to one of a number of implementations of the program object, using caching techniques. Binding a program object to a particular implementation includes performing the binding process at compile time and runtime of the source code. During compilation phase, the program objects in the source code are identified, and each of the program objects is assigned a slot in a target cache. The slot is configured to store a pointer that points to a particular implementation of a program object to which the slot is assigned. During execution phase, the particular implementation of the program object is determined based on execution flow of the source code. After the particular implementation is determined, the program object is bound to the particular implementation by updating the assigned target cache slot with a pointer pointing to the particular implementation.

    Abstract translation: 公开了一种使用高速缓存技术将源代码中的程序对象绑定到程序对象的多个实现之一的方法和系统。 将程序对象绑定到特定实现包括在源代码的编译时和运行时执行绑定过程。 在编译阶段,识别源代码中的程序对象,并在目标高速缓存中为每个程序对象分配一个插槽。 该时隙被配置为存储指向分配了该时隙的节目对象的特定实现的指针。 在执行阶段,程序对象的特定实现是基于源代码的执行流程来确定的。 在确定了特定实现之后,通过用指向特定实现的指针来更新所分配的目标高速缓存槽,程序对象被绑定到特定实现。

    Partitioning shared caches
    10.
    发明授权

    公开(公告)号:US10896128B2

    公开(公告)日:2021-01-19

    申请号:US15390403

    申请日:2016-12-23

    Applicant: Facebook, Inc.

    Abstract: Technology is provided for partitioning a shared unified cache in a multi-processor computer system. The technology can receive a request to allocate a portion of a shared unified cache memory for storing only executable instructions, partition the cache memory into multiple partitions, and allocate one of the partitions for storing only executable instructions. The technology can further determine the size of the portion of the cache memory to be allocated for storing only executable instructions as a function of the size of the multi-processor's L1 instruction cache and the number of cores in the multi-processor.

Patent Agency Ranking