                                         Hierarchical Graph Tokenization for Molecule-Language Alignment





Table 6. Results of chemical reaction tasks. These tasks encompass reagent prediction, forward reaction prediction, and retrosynthesis. †:

few-shot ICL results from (Fang et al., 2024). ∗: use task-specific instruction data to finetune.

  M ODEL                                           E XACT↑        BLEU↑   L EVENSHTEIN↓        RDK FTS↑        MACCS FTS↑               M ORGAN FTS↑        VALIDITY↑

  Reagent Prediction

  Alpaca† (Dubois et al., 2023)                      0.000        0.026       29.037               0.029              0.016                   0.001             0.186

  Baize† (Xu et al., 2023)                           0.000        0.051       30.628               0.022              0.018                   0.004             0.099

  ChatGLM† (Zeng et al., 2023)                       0.000        0.019       29.169               0.017              0.006                   0.002             0.074

  Llama† (Touvron et al., 2023a)                     0.000        0.003       28.040               0.037              0.001                   0.001             0.001

  Vicuna† (Chiang et al., 2023)                      0.000        0.010       27.948               0.038              0.002                   0.001             0.007

  Mol-Instruction (Fang et al., 2024)                0.044        0.224       23.167               0.237              0.364                   0.213             1.000

  Llama-7b∗ (Touvron et al., 2023a)(LoRA)            0.000        0.283       53.510               0.136              0.294                   0.106             1.000

  InstructMol-G                                      0.031        0.429       31.447               0.389              0.249                   0.220             1.000

  HIGHT-G                                            0.050        0.462       28.970               0.441              0.314                   0.275             1.000

  Forward Reaction Prediction

  Alpaca† (Dubois et al., 2023)                      0.000        0.065       41.989               0.004              0.024                   0.008             0.138

  Baize† (Xu et al., 2023)                           0.000        0.044       41.500               0.004              0.025                   0.009             0.097

  ChatGLM† (Zeng et al., 2023)                       0.000        0.183       40.008               0.050              0.100                   0.044             0.108

  Llama† (Touvron et al., 2023a)                     0.000        0.020       42.002               0.001              0.002                   0.001             0.039

  Vicuna† (Chiang et al., 2023)                      0.000        0.057       41.690               0.007              0.016                   0.006             0.059

  Mol-Instruction (Fang et al., 2024)                0.045        0.654       27.262               0.313              0.509                   0.262             1.000

  Llama-7b∗ (Touvron et al., 2023a)(LoRA)            0.012        0.804       29.947               0.499              0.649                   0.407             1.000

  InstructMol-G                                      0.031        0.853       24.790               0.512              0.362                   0.303             0.993

  HIGHT-G                                            0.037        0.869       23.759               0.590              0.394                   0.340             0.993

  Retrosynthesis

  Alpaca† (Dubois et al., 2023)                      0.000        0.063       46.915               0.005              0.023                   0.007             0.160

  Baize† (Xu et al., 2023)                           0.000        0.095       44.714               0.025              0.050                   0.023             0.112

  ChatGLM† (Zeng et al., 2023)                       0.000        0.117       48.365               0.056              0.075                   0.043             0.046

  Llama† (Touvron et al., 2023a)                     0.000        0.036       46.844               0.018              0.029                   0.017             0.010

  Vicuna† (Chiang et al., 2023)                      0.000        0.057       46.877               0.025              0.030                   0.021             0.017

  Mol-Instruction (Fang et al., 2024)                0.009        0.705       31.227               0.283              0.487                   0.230             1.000

  Llama-7b∗ (Touvron et al., 2023a)(LoRA)            0.000        0.283       53.510               0.136              0.294                   0.106             1.000

  InstructMol-G                                      0.001        0.835       31.359               0.447              0.277                   0.241             0.996

  HIGHT-G                                            0.008        0.863       28.912               0.564              0.340                   0.309             1.000



                  InstructMol-llama2                                                                                    InstructMol-G

                                                                                               InstructMol-G

                  HIGHT-llama2                               35                                                         +PE

                                                                                               HIGHT-G         50

    60            InstructMol-All                                                                                       +HiPubChem

                                                             30

                  HIGHT-All                                                                                             HIGHT-G

    50                                                                                                         40

                                                             25

    40

                                                             20                                                30

    30

                                                             15

                                                                                                               20

    20                                                       10

                                                                                                               10

    10                                                        5



     0                                                        0                                                 0

         Reagent Pred     Forward Pred     Retrosynthesis          BLEU     RDK        MACCS     MORGAN             Reagent Pred        Forward Pred   Retrosynthesis



           (a) Different training settings                            (b) Zero-shot transfer                         (c) Ablation variants of HIGHT

                                                                    Figure 3. Ablation studies.



HIGHT still significantly boosts the performance. More                                HIGHT represents a significant step forward in advancing

ablation studies are provided in Appendix E.                                          graph comprehension capability of LLMs, and highlighting

                                                                                      paths for future research in this direction.

6. Conclusions                                                                        Meanwhile, incorporating 3D information into the graph-

                                                                                      language alignment is also a promising future direction, es-

This paper presents HIGHT, a novel hierarchical graph tok-

                                                                                      pecially for broader scientific tasks such as single-cell mod-

enization technique. By incorporating the hierarchical graph

                                                                                      eling and understanding. For example, built upon HIGHT,

information, HIGHT improves the molecule-language align-

                                                                                      one could design a new 3D tokenizer to accommodate 3D

ment performance, reducing hallucinations and boosting

                                                                                      properties of motifs, scale up 3D data to include amino

accuracy in molecular tasks. Nevertheless, the current focus

                                                                                      acids in proteins and certain recurrent structures in RNA

on molecular graphs requires further verification for wider

                                                                                      sequences, incorporate 3D positional encoding, and curate

applicability to other forms of graph data, such as those

                                                                                      instruction tuning data with 3D descriptive captions.

originating from social networks. Despite the limitation,



                                                                                  9

