                           MOGIC: Metadata-infused Oracle Guidance for Improved Extreme Classification

Table 4: Ablations on loss functions. We present ab-                          Table 6: MOGIC is applicable to any XC disciple. On
lations on Aligment and Matching losses. The MOGIC                            LF-WikiSeeAlsoTitles-320K, MOGIC improves accuracy
(OAK) configuration considers all three loss components:                      of the base algorithm by 1-2% in P@1. For results on LF-
Disciple + Alignment + Matching.                                              AmazonTitles-131K dataset, refer Appendix G.4.

  Loss terms in L            P@1     P@5     N@5     PSP@1      PSP@5           Models                P@1        P@5     N@5      PSP@1    PSP@5

                    LF-WikiSeeAlsoTitles-320K                                   MOGIC (OAK)           34.62    17.93     27.44     35.70    33.18
                                                                                OAK                   33.71    17.12     24.53     33.83    30.83
  MOGIC (OAK)               34.62   17.93    27.44   35.70      33.18
  Disciple + Alignment      34.12   17.66    26.72   35.16      32.57           MOGIC (NGAME)         32.37    16.38     26.87     33.16    31.08
  Disciple + Matching       34.11   17.63    26.83   35.24      32.40           NGAME                 30.72    15.42     25.18     31.56    28.88
  Disciple                  33.71   17.12    24.53   33.83      30.83
                                                                                MOGIC (DEXA)          32.75    16.92     26.88     34.00    31.82
  Alignment + Matching      32.70   16.92    26.03   33.60      31.30
                                                                                DEXA                  31.57    16.14     25.64     32.71    29.99
                           LF-WikiTitles-500K
                                                                              Table 7: Robustness to missing metadata: Results com-
  MOGIC (OAK)               47.28   18.55    34.97   27.29      26.12
  Disciple + Alignment      45.22   17.58    33.49   27.24      25.10         paring the performance of MOGIC (OAK) when reducing
  Disciple + Matching       46.03   16.86    32.86   26.87      24.19         the size of memory bank on LF-WikiSeeAlsoTitles-320K
  Disciple                  44.82   17.67    33.72   25.79      24.90         to simulate missing metadata. Size (%) denotes the percent-
  Alignment + Matching      44.93   17.40    33.18   26.87      24.73         age of the metadata retained. As the memory bank size is
                                                                              decreased by randomly removing items, MOGIC’s perfor-
Table 5: Impact of using ground truth metadata. We at-
                                                                              mance decreases only slightly (both with predicted and with
tribute the large gap between the oracle and disciple models’
                                                                              ground truth metadata) but Oracle suffers significantly.
performance to the availability of ground-truth metadata
during training and inference. We observe that providing
                                                                               Size (%)       P@1        P@5           N@5       PSP@1     PSP@5
ground-truth metadata at test time to MOGIC (OAK) re-
duces the gap in performance between the oracle and disci-                                      MOGIC + Predicted metadata
ple from 8% to 6%. Additionally MOGIC is robust to noisy                       100            34.62      17.93     27.44         35.70     33.18
(predicted) metadata but the oracle is not. The oracle accu-                   80             34.54      17.87     27.36         35.60     33.08
racy drops by 17% in P@1 on LF-WikiSeeAlsoTitles-320K.                         60             34.38      17.81     27.29         35.47     32.98
                                                                               40             34.17      17.72     27.22         35.28     32.85
 Models        Metadata Source      P@1     P@5   N@5 PSP@1 PSP@5                             MOGIC + Ground-truth metadata

               Ground-truth         36.94 19.12 29.00   38.42     35.07
                                                                               100            36.94      19.12     29.00         38.42     35.07
 MOGIC (OAK)                                                                   80             36.69      19.02     28.82         38.17     34.92
               Predicted            34.62 17.93 27.44   35.70     33.18
                                                                               60             36.47      18.86     28.70         37.85     34.66
               Ground-truth         47.63 22.75 48.37   36.71     41.45        40             35.91      18.59     28.45         37.24     34.26
 Oracle
               Predicted            25.09 12.88 19.31   26.05     23.33                                       Oracle

formance between the oracle and disciple decreases from                        100            47.63      22.75     48.37         36.71     41.45
                                                                               80             39.22      19.07     30.44         40.15     35.08
8% to 6% on the LF-WikiSeeAlsoTitles-320K dataset.                             60             35.08      17.30     27.58         36.13     32.08
The ability to extract useful information from noisy meta-                     40             30.64      15.43     24.45         31.80     28.92
data is a desirable quality for a disciple. We can measure
                                                                              and DEXA. Table 6 shows that MOGIC provides 1–2% im-
this via a model’s ability to handle predicted metadata dur-
                                                                              provement in precision and NDCG, and 2–3% improvement
ing inference. Table 5 shows that using predicted metadata
                                                                              in PSP over the base XC algorithms.
leads to a decrease of just ∼1–2% for MOGIC (OAK) across
metrics, showing that it is fairly robust. However, the ora-
cle accuracy drops by 22% in P@1 when it uses predicted                       4.3. Robustness Analysis
metadata, likely due to the oracle’s reliance on ground-truth                 We now analyze the robustness of the MOGIC framework
metadata during training. Although MOGIC receives guid-                       to both missing metadata and noisy metadata.
ance from a relatively less-robust oracle, the mechanisms
in our oracle-guidance-based training enables learning a                      Robustness to missing metadata: MOGIC uses memory
significantly more robust disciple.                                           items to improve query representation and regularize XC
                                                                              models. To simulate missing metadata, we decrease the size
MOGIC is applicable to any XC disciple: While we                              of the memory bank by randomly removing items (i.e., by
present the main results using OAK as the disciple model, to                  randomly subsampling the set of retrieved memory items).
test the general applicability of the MOGIC framework, we                     In Table 7, we present the performance of MOGIC (OAK)
experiment with two other popular XC disciples: NGAME                         when the size of the memory bank is reduced. We observe


                                                                          8
