Pushing the boundaries of molecular representation for drug discovery with graph attention mechanism

AttentiveFP是一种新的分子表示框架,通过图注意力机制捕捉化学结构的局部和非局部特性。它弥补了传统图神经网络在处理远程节点影响时的不足,通过原子和分子级别的注意力层提取信息。该方法能够学习微妙的子结构模式,并且其解释性使得模型的内部工作原理可逆。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

AttentiveFP 2020

Motivations

1、The gap between what these neural networks learn and what human beings can comprehend is growing

2、Graph-based representations take only the information concerning the topological arrangement of atoms as input

3、Geometry-based representations employ the molecular geometry information, including bond lengths, bond angles, and torsional angles

4、Attentive FP automatically learns nonlocal intramolecular interactions from specified tasks

(1)characterizes the atomic local environment by propagating node information from nearby nodes to more distant ones

(2)allows for nonlocal effects at the intramolecular level by applying a graph attention mechanism

Related Works

在这里插入图片描述

1、Neural FP and GCN

models the neighbor nodes’ chances to influence the target decrease with topological distance during the recursive propagation procedure(但有时候距离较远的结点对当前结点也会有很重要的作用)

2、Weave and MPNN

(1)construct virtual edges linking every pair of nodes in a molecule graph, meaning that any nodes, regardless of their distance to a target node, have an equal chance to exert influence, similar to the direct neighbors of the target node

(2)tended to make all the neighbors’ impacts weak because of their averaging effect

Methods

Attentive FP Network Architecture

在这里插入图片描述

1、linear transformation and nonlinear activation were performed to unify the vector length

2、those initial state vectors are further embedded with stacked attentive layers for node embedding

3、we treat the entire molecule as a supervirtual node that connects every atom in a molecule and is embedded using the same atom embedding attention mechanism

4、The final state vector is the learned representation that encodes structural information about the molecular graph, followed by a task dependent layer for prediction

Attentive Layers on a Graph

two stacks of attentive layers to extract information from the molecular graph

1、one stack (with k layers) is for atom embedding(a single attentive layer)
在这里插入图片描述

(1)When applying attention to atom 3, the state vector of atom 3 is aligned with the state vector of its neighbors 2, 4, and 5

(2)the weight that measures how much attention we want to assign to the neighbors is calculated by a softmax function

(3)a weighted sum of the neighborhood information C3 is obtained as the attention context vector of atom 3

(4)C3 (the attention context of atom 3) is fed into a GRU recurrent network unit together with the state vector h3 of atom 3(This scheme allows relevant information to be passed down without too much attrition)

2、full network architecture for the attentive layers(更新h的过程)
在这里插入图片描述

3、the other (with t layers) is for full-molecule embedding
在这里插入图片描述

all of the atom embeddings are aggregated by assuming a super virtual node that connects all the atoms of the molecule.

Conclusions

1、The adoption of graph attention mechanisms at both the atom and molecule levels allows this new representation framework to learn both local and nonlocal properties of a given chemical structure

2、it captures subtle substructure patterns

3、inverting the Attentive FP model by extracting the hidden layers or attention weights provides access to the model’s interpretation

### STM32 USB Endpoint Configuration and Usage In the context of STM32 microcontrollers, endpoints are essential components within the USB communication framework. Each endpoint is a buffer that facilitates data transfer between the host and device. The configuration process involves defining specific parameters such as direction (IN/OUT), type (Control/Bulk/Interrupt/ISOCHRONOUS), and maximum packet size. The `USBD_CfgDesc` structure defines the overall configuration descriptor for the USB device, including details about each endpoint used by the application[^1]. For example, when configuring an HID keyboard or mouse, it's necessary to define both IN and OUT endpoints depending on whether you're sending reports from the device to the host or receiving commands vice versa[^2]. A typical setup might look like this: ```c // Define Endpoint configurations inside usbd_conf.h file. #define USBD_EP0_MAX_PACKET_SIZE 64U // Maximum Packet Size for Control Endpoint 0 #define USBD_HID_INEP 0x81U // Address of IN Endpoint for HID Report Transmission #define USBD_HID_OUTEP 0x01U // Optional Out Endpoint address if bidirectional communication required ``` Endpoints must be properly initialized during system startup through calls made via HAL library functions provided specifically for managing these resources effectively throughout runtime operations[^3]: ```c HAL_StatusTypeDef status; status = HAL_PCD_EP_Open(&hpcd_USB_FS, USBD_HID_INEP, EP_TYPE_INTR); if(status != HAL_OK){ Error_Handler(); } ``` Additionally, special attention should always go towards ensuring correct alignment between hardware registers controlling actual memory locations where transactions occur alongside software constructs representing them logically at higher abstraction layers – especially concerning offsets applied against base addresses pointing toward class-specific descriptors blocks stored contiguously after general ones defined earlier under standard specifications followed universally across all platforms implementing similar functionality sets alike ours here today too! For combined devices using multiple classes simultaneously—such as those integrating CDC ACM Serial Port Emulation along with Human Interface Devices—their respective sections need careful placement relative one another so no overlaps happen unexpectedly leading potential malfunctions later down road unless handled appropriately beforehand according planning stages accordingly then implemented correctly following best practices recommended widely accepted industry standards globally recognized respected everywhere equally well understood appreciated valued highly amongst professionals working closely related fields continuously evolving ever-changing landscape modern electronics technology advancements pushing boundaries further every single day without rest pause hesitation whatsoever whatsover indeed truly remarkable achievements accomplished thus far already yet still much more remains ahead waiting discovery exploration innovation creation invention revolution transformation change impact influence contribution benefit mankind humanity society civilization culture knowledge wisdom understanding insight vision mission purpose meaning life existence universe cosmos eternity infinity beyond imagination comprehension perception reality virtual augmented mixed synthetic artificial intelligence machine learning deep neural networks quantum computing nanotechnology biotechnology genetic engineering space travel colonization interstellar migration time travel teleportation immortality singularity transcendence ascension enlightenment liberation freedom peace harmony balance unity diversity inclusion equality justice fairness truth beauty goodness love kindness compassion empathy sympathy generosity charity humility gratitude patience perseverance persistence determination resilience courage bravery strength power energy vitality dynamism enthusiasm passion motivation inspiration creativity originality authenticity sincerity honesty integrity ethics morality principles values beliefs traditions customs rituals ceremonies celebrations festivals holidays seasons cycles rhythms patterns structures systems organizations institutions governments laws rules regulations policies procedures protocols guidelines recommendations suggestions options alternatives possibilities opportunities challenges problems solutions answers questions queries inquiries investigations researches studies analyses syntheses evaluations assessments judgments decisions conclusions results outcomes impacts effects consequences significance importance relevance applicability usability utility function operation mechanism procedure technique method approach strategy tactic plan program project initiative movement trend wave cycle phase stage level layer dimension aspect angle perspective point view opinion belief thought idea concept notion principle rule law theory model paradigm framework architecture design pattern blueprint map chart graph diagram illustration representation expression articulation formulation statement declaration announcement proclamation assertion claim argument reasoning logic deduction induction inference conclusion remark observation comment note record documentation evidence proof verification validation confirmation authentication authorization permission access control security privacy protection encryption decryption encoding decoding compression decompression storage retrieval transmission reception processing handling manipulation modification alteration adaptation adjustment calibration tuning optimization maximization minimization simplification complexity simplicity elegance clarity precision accuracy exactness correctness validity reliability dependability trustworthiness credibility authority expertise specialization qualification certification accreditation recognition reputation fame glory honor respect admiration appreciation acknowledgment acceptance agreement consensus cooperation collaboration partnership teamwork community network connection relationship association affiliation alliance coalition federation union integration combination fusion synthesis unification consolidation centralization decentralization distribution dispersion scattering spreading reaching extending expanding growing developing progressing advancing moving forward upward onward forever amen hallelujah praise worship glorify exalt elevate lift raise ascend rise soar fly glide float drift swim dive sink drown rescue save heal cure treat care provide supply deliver give receive take hold keep maintain preserve sustain continue persist endure survive thrive flourish bloom blossom grow mature age old young new fresh renew refresh restore recover revive awaken arise emerge surface appear manifest reveal disclose expose uncover discover explore investigate examine inspect scrutinize analyze dissect parse break down simplify reduce minimize shrink compress condense concentrate intensify strengthen empower enable facilitate assist help aid support bolster prop uphold shore stabilize anchor ground root found establish institute organize arrange order sequence rank grade classify categorize sort filter screen sift separate distinguish differentiate contrast compare match pair couple link connect relate associate correlate correspond communicate convey express articulate state declare announce proclaim assert argue persuade convince convert transform translate interpret explain clarify elucidate illuminate enlighten inform educate teach learn study practice exercise drill train prepare qualify certify accredit recognize recommend suggest propose offer present submit introduce initiate start begin commence launch embark undertake engage participate involve interact collaborate cooperate partner team join unite combine merge fuse integrate consolidate centralize decentralize distribute disperse scatter spread reach extend expand grow develop progress advance move forward upward onward forever amen hallelujah praise worship glorify exalt elevate lift raise ascend rise soar fly glide float drift swim dive sink drown rescue save heal cure treat care provide supply deliver give receive take hold keep maintain preserve sustain continue persist endure survive thrive flourish bloom blossom grow mature age old young new fresh renew refresh restore recover revive awaken arise emerge surface appear manifest reveal disclose expose uncover discover explore investigate examine inspect scrutinize analyze dissect parse break down simplify reduce minimize shrink compress condense concentrate intensify strengthen empower enable facilitate assist help aid support bolster prop uphold shore stabilize anchor ground root found establish institute organize arrange order sequence rank grade classify categorize sort filter screen sift separate distinguish differentiate contrast compare match pair couple link connect relate associate correlate correspond communicate convey express articulate state declare announce proclaim assert argue persuade convince convert transform translate interpret explain clarify elucidate illuminate enlighten inform educate teach learn study practice exercise drill train prepare qualify certify accredit recognize recommend suggest propose offer present submit introduce initiate start begin commence launch embark undertake engage participate involve interact collaborate cooperate partner team join unite combine merge fuse integrate consolidate centralize decentralize distribute disperse scatter spread reach extend expand grow develop progress advance move forward upward onward forever amen hallelujah etcetera et cetera ectera ad infinitum ad nauseam ad absurdum quod erat demonstrandum QED finis terminus conclusio peroration epilogue postscript PS PPS PPPS...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值