arXiv:2610.36493cs.AIOct 2026

Manuscript Offprint

arXiv:2610.36493

AC-JEPA: Anchored Cross-Modal Joint Embedding Predictive Architecture for Visual-to-Symbolic Translation

Chaofei Hong, Ziyang Chen, Baochen Wang, Christina Yi Jin, Qing Zhang

Abstract

Cross-modal translation requires models to capture shared semantics across modalities while preserving the fine-grained structure required by the target modality. Yet in real-world scientific domains, paired data are often imperfect, while obtaining clean pairs at scale is costly. Supervised fine-tuning (SFT) directly optimizes cross-modal translation through categorical token-level supervision, but this objective is sensitive to errors in the target sequences. JEPA offers a complementary representation-space objective, but most existing formulations focus on prediction within a modality rather than translation across modalities. We introduce Anchored Cross-Modal JEPA (AC-JEPA), an SFT-compatible plug-in that predicts masked intermediate states in both cross-modal directions using paired data. The joint-embedding objective targets cross-modal structure predictable from context, while the causal SFT path retains direct token-level supervision for the target sequence. During self-training, AC-JEPA learns from continuous latent targets derived from imperfect pseudo-labeled pairs, providing a route for using these pairs without promoting pseudo-tokens to hard categorical supervision. Using optical chemical structure recognition as a testbed, gold-pair AC-JEPA achieves 76.07% accuracy on WildMol Simple, compared with 67.40% for Base SFT. Both models share complete MolParser-7M synthetic pretraining and Real-SFT fine-tuning; AC-JEPA reuses the already-seen synthetic pairs through latent prediction without adding unique gold-pair data. Using the same pseudo-labeled data for both approaches, AC-JEPA-based self-training further raises accuracy to 80.23%, whereas accuracy under direct SFT drops from 67.40% to 63.47%. These results support SFT-anchored joint-embedding prediction as an effective strategy for cross-modal translation under both curated and imperfect supervision.

1 Introduction

Scientific images encode knowledge through the identities, positions, and relations of graphical elements rather than through appearance alone. Translating such images into symbolic or programming languages therefore requires a model to recognize local primitives, recover spatial or topological structure, resolve long-range dependencies, and serialize the result under a strict target grammar. This differs from coarse semantic recognition or open-ended captioning: a single misplaced symbol can alter the encoded object or invalidate the output. The problem is further complicated by real scientific data, where visual observations and paired sequences can be imperfect and expensive to curate at scale. Optical Chemical Structure Recognition (OCSR) exemplifies these demands. Molecular diagrams encode atoms, bonds, stereochemistry, and topology through a spatial notation, whereas SMILES represents the same molecular structure as a compact, grammar-sensitive sequence [8, 23].

Autoregressive multimodal generators provide a direct solution to this conversion problem. A visual encoder extracts image evidence, and a causal language decoder combines it with the previously generated symbols to predict the target sequence. Supervised fine-tuning (SFT) supplies exact token-level supervision and is therefore effective for learning the target grammar and decoding procedure [8]. Its categorical objective, however, specifies the desired output tokens without directly requiring the fused intermediate states to recover predictable structure removed from either modality. This distinction becomes important when training uses model-generated pairs. Direct pseudo-label SFT promotes every generated token to a hard target, so each local pseudo-label error directly biases the decoder's learned conditional distribution [9, 20].

Figure

Figure 1: Macro view of AC-JEPA. Paired image and SMILES views are processed by one image-to-SMILES VLM, while SFT anchors causal generation and the JEPA objective regularizes intermediate hidden states through latent MSE and SIGReg. The latent self-training loop is shown only as an abstract training extension; data-source and curriculum details are separated from this core mechanism view.

The usefulness of paired data also depends on the stage and objective through which they are used. Large synthetic corpora provide broad molecular coverage for pretraining, whereas real-image fine-tuning addresses the visual distribution of papers and patents [8]. After this adaptation, simply resuming token supervision on synthetic pairs need not improve real-scene recognition: in our small-scale implementation, mixing MolParser-7M synthetic pairs with Real-SFT did not improve over Real-SFT-only adaptation and was more prone to overfitting. This observation motivates extracting further structural constraints from already-seen synthetic pairs while preserving the real-data token anchor.

Representation-learning objectives such as contrastive alignment, masked reconstruction, and latent prediction provide complementary ways to learn correspondences and contextual structure across paired modalities [1, 10, 18]. JEPA is particularly relevant because it predicts representations, focusing the objective on structure predictable from context rather than every input detail. Most JEPA formulations, however, optimize encoders or embedding predictors; exact autoregressive translation between modalities is absent or remains separate from latent pretraining. Applying latent prediction to a symbolic generator consequently requires more than adding a standalone pretraining loss: the predicted states must remain useful to the causal decoder, use evidence from both modalities, and avoid representational collapse.

We address these requirements with Anchored Cross-Modal JEPA (AC-JEPA), an SFT-compatible latent predictive objective inside the same generator used for inference. Figure 1 summarizes how the SFT anchor and latent objective interact.

Autoregressive SFT learns exact translation from reliable pairs, while the latent branch extracts predictive constraints from paired data, including synthetic examples already used during pretraining. The latent branch masks coherent image regions and symbolic spans, then predicts the corresponding intermediate states from the remaining multimodal context so that evidence from either modality can support the other. Both branches update the same backbone, allowing latent MSE to shape the representations used for causal decoding while modality-wise SIGReg prevents collapse [5]. In the gold-pair setting, this provides a distinct use for the synthetic pretraining corpus after real-image adaptation: its pairs supervise latent recovery while Real-SFT continues to supervise output tokens.

AC-JEPA further provides a noise-tolerant route for self-training with imperfect pseudo-labeled pairs. Instead of promoting model-generated tokens to exact targets, it learns cross-modal structure that remains predictable from the paired image and sequence, thereby refining the shared representation without converting local pseudo-label errors into categorical supervision.

We evaluate AC-JEPA on OCSR as a stringent instance of continuous-to-symbolic translation. Under a shared exact-match protocol, clean-pair training improves both WildMol Simple and Markush over the SFT anchor. The SFT anchor and gold-pair AC-JEPA share complete MolParser-7M synthetic pretraining followed by Real-SFT adaptation, so their comparison concerns reuse of existing pairs through latent prediction rather than access to additional unique data. Using the same model-generated pairs, latent self-training provides further gains, whereas direct pseudo-label SFT degrades. These results support SFT-anchored latent prediction as an effective training strategy for exact cross-modal translation with both curated and imperfect pairs.

Our contributions are:

  1. We introduce AC-JEPA, an SFT-compatible framework integrating cross-modal latent prediction with causal decoding for exact visual-to-symbolic translation.

  2. We develop a bidirectional cross-modal latent-learning mechanism that captures structure predictable from multimodal context while maintaining non-degenerate representations within each modality.

  3. We derive local bounds that relate decoder-relevant latent residuals to next-token decision stability and characterize clean-output stability under pseudo-label perturbations.

  4. We validate AC-JEPA on OCSR, showing gains over SFT with clean pairs and over direct pseudo-label SFT during self-training.

References (25)