Datasets:
RI-Bench v1.0.0: 1,636 cases (Open Review, Parliament, Court) (part 5)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- open_review/iclr2025_13831.md +381 -0
- open_review/iclr2025_13832.json +100 -0
- open_review/iclr2025_13832.md +307 -0
- open_review/iclr2025_13834.json +83 -0
- open_review/iclr2025_13834.md +380 -0
- open_review/iclr2025_13835.json +100 -0
- open_review/iclr2025_13835.md +370 -0
- open_review/iclr2025_13836.json +83 -0
- open_review/iclr2025_13836.md +248 -0
- open_review/iclr2025_13837.json +117 -0
- open_review/iclr2025_13837.md +555 -0
- open_review/iclr2025_13839.json +87 -0
- open_review/iclr2025_13839.md +220 -0
- open_review/iclr2025_13841.json +83 -0
- open_review/iclr2025_13841.md +338 -0
- open_review/iclr2025_13843.json +100 -0
- open_review/iclr2025_13843.md +318 -0
- open_review/iclr2025_13846.json +100 -0
- open_review/iclr2025_13846.md +608 -0
- open_review/iclr2025_13848.json +83 -0
- open_review/iclr2025_13848.md +0 -0
- open_review/iclr2025_13849.json +100 -0
- open_review/iclr2025_13849.md +301 -0
- open_review/iclr2025_13850.json +104 -0
- open_review/iclr2025_13850.md +542 -0
- open_review/iclr2025_13851.json +100 -0
- open_review/iclr2025_13851.md +357 -0
- open_review/iclr2025_13852.json +100 -0
- open_review/iclr2025_13852.md +265 -0
- open_review/iclr2025_13855.json +83 -0
- open_review/iclr2025_13855.md +808 -0
- open_review/iclr2025_13856.json +100 -0
- open_review/iclr2025_13856.md +495 -0
- open_review/iclr2025_13858.json +117 -0
- open_review/iclr2025_13858.md +0 -0
- open_review/iclr2025_13859.json +100 -0
- open_review/iclr2025_13859.md +541 -0
- open_review/iclr2025_13861.json +100 -0
- open_review/iclr2025_13861.md +0 -0
- open_review/iclr2025_13864.json +100 -0
- open_review/iclr2025_13864.md +0 -0
- open_review/iclr2025_13865.json +88 -0
- open_review/iclr2025_13865.md +0 -0
- open_review/iclr2025_13867.json +100 -0
- open_review/iclr2025_13867.md +604 -0
- open_review/iclr2025_13869.json +100 -0
- open_review/iclr2025_13869.md +0 -0
- open_review/iclr2025_13870.json +100 -0
- open_review/iclr2025_13870.md +0 -0
- open_review/iclr2025_13872.json +100 -0
open_review/iclr2025_13831.md
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## TODDLERS’ ACTIVE GAZE BEHAVIOR SUPPORTS SELF-SUPERVISED OBJECT LEARNING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
ABSTRACT Toddlers learn to recognize objects from different viewpoints with almost no su- pervision. Recent works argue that toddlers develop this ability by mapping close- in-time visual inputs to similar representations while interacting with objects. High acuity vision is only available in the central visual field, which may explain why toddlers (much like adults) constantly move around their gaze during such in- teractions. It is unclear whether/how much toddlers curate their visual experience through these eye movements to support their learning of object representations. In this work, we explore whether a bio-inspired visual learning model can harness toddlers’ gaze behavior during a play session to develop view-invariant object recognition. Exploiting head-mounted eye tracking during dyadic play, we simu- late toddlers’ central visual field experience by cropping image regions centered on the gaze location. This visual stream feeds time-based self-supervised learn- ing algorithms. Our experiments demonstrate that toddlers’ gaze strategy supports the learning of invariant object representations. Our analysis also reveals that the limited size of the central visual field where acuity is high is crucial for this. We further find that toddlers’ visual experience elicits more robust representations compared to adults’, mostly because toddlers look at objects they hold themselves for longer bouts. Overall, our work reveals how toddlers’ gaze behavior supports self-supervised learning of view-invariant object recognition. 1 INTRODUCTION Toddlers learn visual representations that support the recognition of object instances observed from different viewpoints within their first year of life (Kraebel & Gerhardstein, 2006; Ayzenberg & Behrmann, 2024). This early emergence of view-invariant recognition and the ease with which adults perform this skill hide the complexities of learning it. Images reaching the retina vary dras- tically when objects are turned in depth. Even state-of-the-art machine learning methods still make absurd recognition mistakes when faced with unusual viewpoints of objects (Dong et al., 2022; Ab- bas & Deny, 2023; Ruan et al., 2023). This raises the question of what learning mechanisms support such view-invariant recognition in humans. One of the main theories posits that the development of view-invariant object recognition rests on the brain’s ability to construct visual representations that slowly change over time (F¨oldi´ak, 1991; Li & DiCarlo, 2008; Miyashita, 1988). The main idea is that learners abundantly manipulate (or walk around) objects while watching them, giving access to different views of a single object over a short period of time. By learning slowly changing representations, a learner discards rapidly changing information from an image (here, information about the view) and naturally builds view- invariant representations. Following this idea, recent computational studies proposed to simulate humans’ visual experience by generating or curating large-scale temporal sequences of rotating objects (Aubret et al., 2022; Schneider et al., 2021; Yu et al., 2023); they confirm that learning slowly changing representations induces view-invariant object recognition. However, it is currently unclear if and how a toddler’s actual gaze behavior supports this learning mechanism. The significance of active gaze behavior stems from the limited area of high-acuity vision in hu- mans. This area, known as the central visual field, covers only a few degrees of visual angle, but it dominates the extraction of semantic information in brain regions responsible for object recognition (Quaia & Krauzlis, 2024; Yu et al., 2015). However, such a small area of the visual field may be se-
|
| 8 |
+
|
| 9 |
+
1
|
| 10 |
+
|
| 11 |
+
mantically unstable over time, as humans make three saccades per second on average. Then again, toddlers curate their own visual experience; compared to adults, objects held by toddlers appear bigger in the field of view due to their shorter arms (Bambach et al., 2018), select simpler stimuli (Anderson et al., 2024) and their visual inputs semantically change on a slower timescale (Sheybani et al., 2023). The latter point may be critical to make slowness-based learning operational. In this paper, we explore whether a bio-inspired model of visual learning can utilize the actual eye- tracking derived visual experience of toddlers to develop invariant object representations. For this, we leverage a dataset of head-camera recordings and gaze tracking from toddlers and adults during play sessions (Bambach et al., 2018). To simulate central visual experience, we crop image patches centered on tracked gaze locations. Then, we train previously introduced time-based self-supervised learning (SSL) models (Schneider et al., 2021). Our analysis shows that: a) toddlers’ gaze strategy boosts visual learning in comparison to several baselines; b) restricting learning to input from the central visual field improves object representations; and c) visual input from toddlers yields better representations than that from adults, which may be explained by toddlers looking longer at objects while manipulating them. In sum, our main contributions are: • We present the first ever study training SSL models on natural egocentric visual input de- rived from eye tracking in toddlers during play sessions. • We find that toddlers’ gaze strategy improves the learning of invariant object representa- tions compared to several baselines. • We show that toddlers’ visual experience is more suitable for learning object representa- tions through time-based SSL than adults’. 2 RELATED WORK **078 079 Computational studies of visual learning with temporal slowness.** Early computational studies found that slowness-based learning can extract representations of simple patterns that are invariant to position, size and rotation (F¨oldi´ak, 1991; Wiskott & Sejnowski, 2002). Other works applied this principle to learn view-invariant object recognition (Wallis & Baddeley, 1997; Franzius et al., 2011; Einh¨auser et al., 2005; Stringer et al., 2006). Recent advances in SSL allowed to scale the princi- ple of temporal slowness to large sets of uncurated images of objects (Parthasarathy et al., 2022; Aubret et al., 2022; Schneider et al., 2021). This method was called SSL through time (SSLTT) (Aubret et al., 2022). On the machine learning side, SSLTT can boost category recognition (Aubret et al., 2024b; 2022; Sanyal et al., 2023), view-invariant object instance recognition (Schneider et al., 2021) and the alignment with human representations (Parthasarathy et al., 2023). On the cogni- tive modeling side, SSLTT can shape human-like inter-object semantic similarities (Aubret et al., 2024a) and combines well with visuo-language SSL to model object learning during dyadic play (Schauml¨offel et al., 2023). However, all these approaches use curated, synthetic, or third-person data, leaving unclear whether the statistical structure of toddlers’ actual visual experience, combined with temporal slowness, can indeed support object recognition. Another notable work studied the learning of view-invariant object representations in impoverished visual environments through the eyes of young chickens in a controlled rearing experiment (Pandey et al., 2024). In contrast, we apply SSLTT on natural visual inputs extracted from head cameras carried by toddlers and/or adults during play sessions. **097 098 Learning from egocentric videos.** There is a recent surge in trained machine learning models on egocentric video datasets, including models of temporal slowness. For instance, the large-scale Ego4d dataset (Grauman et al., 2022) has been used for training vision models (Nair et al., 2022; Ma et al.; Anderson et al., 2022). However, egocentric videos for toddlers have been missing (Anderson et al., 2022); this is a problem since existing research has found that the specific statistical structure of toddlers’ visual experience supports their learning (Sheybani et al., 2024; Bambach et al., 2017; their learning (Sheybani et al., 2024; Bambach et al., 2017; learning (Sheybani et al., 2024; Bambach et al., 2017; Sheybani et al., 2023). The SAYcam dataset presents longitudinal recordings of 150 hours (on average) from each of the three participating children (Sullivan et al., 2021). With SAYcam, compu- tational studies have shown that SSL methods can learn category recognition, with/without temporal slowness (Orhan et al., 2020; Orhan & Lake, 2024; Orhan et al., 2024). Another related work studies whether the temporal and developmental structure of toddlers’ visual experience supports category
|
| 12 |
+
|
| 13 |
+
**Learning from egocentric videos.** There is a recent surge in trained machine learning models on egocentric video datasets, including models of temporal slowness. For instance, the large-scale Ego4d dataset (Grauman et al., 2022) has been used for training vision models (Nair et al., 2022; Ma et al.; Anderson et al., 2022). However, egocentric videos for toddlers have been missing (Anderson et al., 2022); this is a problem since existing research has found that the specific statistical structure of toddlers’ visual experience supports their learning (Sheybani et al., 2024; Bambach et al., 2017; their learning (Sheybani et al., 2024; Bambach et al., 2017; learning (Sheybani et al., 2024; Bambach et al., 2017; Sheybani et al., 2023). The SAYcam dataset presents longitudinal recordings of 150 hours (on average) from each of the three participating children (Sullivan et al., 2021). With SAYcam, computational studies have shown that SSL methods can learn category recognition, with/without temporal slowness (Orhan et al., 2020; Orhan & Lake, 2024; Orhan et al., 2024). Another related work studies whether the temporal and developmental structure of toddlers’ visual experience supports category and action recognition, through temporal slowness (Sheybani et al., 2024). Yet, these computational
|
| 14 |
+
|
| 15 |
+
2
|
| 16 |
+
|
| 17 |
+
studies neglect the gaze location and its associated behavioral strategy, as their datasets do not in- clude the precise location of the individual’s gaze. We show in Section 4.2 that this is critical for learning good object representations.
|
| 18 |
+
|
| 19 |
+
> **112 Gaze-aware representation learning.** Our work extends previous approaches that also leverage
|
| 20 |
+
|
| 21 |
+
the gaze location of a human to train vision models (Bambach et al., 2016; 2018). They also com-
|
| 22 |
+
|
| 23 |
+
pare the quality of representations trained with toddlers’ versus adults’ experiences. However, these studies model the learning process with supervised learning, which is biologically implausible. This is important as, unlike bio-inspired self-supervised models that learn slowly changing representa- tions, they are agnostic to the temporal structure of the visual experience, e.g., if toddlers look at an object for a long time before saccading to a different object.
|
| 24 |
+
|
| 25 |
+
3 METHOD tracking derived
|
| 26 |
+
|
| 27 |
+
Our objective is to explore whether bio-inspired models of visual learning can utilize the actual eye- tracking derived visual experience of toddlers to develop robust object representations. To mimic toddlers’ central visual experience, we use an eye-tracking dataset recorded during toddlers’ play sessions and extract parts of frames centered on the gaze location. For comparison, we also simulate different visual experiences following alternative gaze strategies. Then, we train bio-inspired SSL models based on temporal slowness. 3.1 TODDLER FIXATION DATASET
|
| 28 |
+
|
| 29 |
+
The (Bambach et al., 2018) dataset contains head-camera videos recorded at 30 FPS and eye-tracking data for 38 dyads of toddlers/caregivers. All dyads play with the same set of 24 toys for 12 minutes on average. The children’s ages range from 12.3 to 24.3 months. For 30 dyads, a head-camera resolution of 640 _×_ 480 pixels was used, while four dyads were recorded at 720 _×_ 480 pixels and the remaining four at 320 _×_ 240 pixels. The horizontal field of view covers 72 degrees. Figure 1A shows an example video frame with the gaze location (Bambach et al., 2018). In the following, we explain how we simulate different gaze strategies by deriving several datasets from these play sessions. Additionally, we include the anonymized information of all toddlers who participated in the study in Appendix C. **139 Toddler fixation dataset.** This dataset aims to simulate the central visual experience of toddlers. We cut out an image patch centered on the gaze point. For the cut out’s size, we choose 128 _×_ 128 pixel as the default, which corresponds to 14 _[◦] ×_ 14 _[◦]_ of visual angle. A typical temporal sequence of this dataset is illustrated in Figure 1B. If the gaze fixation point is too close to the image border, the crop boundaries may extend beyond the image, making it impossible to extract a patch of the desired size. In this case, we shift the gaze fixation point from the problematic border orthogonally by the minimum number of pixels. This ensures that the cropping operation outputs an image with the correct size. Note that the cropped area always contains the gaze fixation point. This dataset contains 559,522 training images, and this number is consistent across all fixation datasets (see below). **148 149 Adult fixation dataset.** We want to investigate the differences between gaze fixation in adults and toddlers and the consequences of these differences on learned representations. Thus, we also extract image patches around adults’ gaze fixation points following the procedure of the Toddler fixation dataset. Appendix A illustrates the gaze distributions of toddlers and adults. **153 Random fixation dataset.** As a simple comparison dataset, we propose to simulate a completely random gaze strategy. We crop each frame around a location that is sampled uniformly at random. Unlike the Toddler/Adult fixation datasets, this dataset shows little spatio-temporal structure, and the cropped images are unlikely to contain well-centered objects. Figure 1D provides example frames from the Random fixation dataset. that considers a human
|
| 30 |
+
|
| 31 |
+
> **158 Centroid fixation dataset.** We also propose a stronger comparison dataset that considers a human
|
| 32 |
+
|
| 33 |
+
moving their head but not their eyes. This is an important comparison because it distills the effect of eye gaze. One possibility could be to always crop the center of the frames. However, we noticed that the head-camera was often misaligned with respect to the stationary position of the eyes, resulting in a mismatch between the center of the frames and the center of the camera wearer’s field of view (cf.
|
| 34 |
+
|
| 35 |
+
3
|
| 36 |
+
|
| 37 |
+
**162 A B 163 164 165 C 166 167 168 D 169 170 171 E F 172 173 174 175** Figure 1: Examples of visual sequences for each of our datasets. **A.** Raw frame from an egocentric video with the locations of our different croppings. Purple, orange, and green boxes representing gaze fixation, centroid fixation, and random fixation, respectively. The cross indicates the gaze location given by the eye-tracker. **B-F.** Example sequences for **B-** the Toddler fixation dataset; **C179** the Random fixation dataset; **D-** the Centroid fixation dataset; **E** the Objects fixation dataset and **F180** the Plain background dataset. Note that datasets **E-F** have been manually curated to only contain views of the target objects. This kind of oracle knowledge is not available to a naive learner. Figure 2: The number of images per object category in the Objects fixation dataset. Appendix A). Thus, we rather use the centroid of the gaze fixation points (one for each participant video). To compute these centroids, we gather all gaze fixation points and calculate each video’s mean of their horizontal and vertical coordinates. Note that, despite the centroid positions being fixed, the continuous movement of the head changes the visible portions of the scene. Nevertheless, compared to the Random fixation dataset, this set contains image patch sequences that are relatively stable over time. Figure 1D presents a temporal sequence of the Centroid fixation dataset. We also consider “oracle” datasets that were constructed using the ground truth about an object’s identity/location. Models trained on this dataset aim to upper-bound our model. **206 Objects fixation dataset.** This dataset was collected from the same video frames used in the Toddler fixation dataset. Images were manually filtered such that toddlers looked at one of the target objects. From these frames crops with a 30-degree field of view around the gaze location were extracted, containing the target object while minimizing background interference (Bambach et al., 2018; Tsut- sui et al., 2021). This dataset contains 271,754 images. Figure 1E displays examples of images. The number of images per toy is depicted in Figure 2, which indicates that the dataset is imbalanced. We conduct additional analysis on the class imbalance in Appendix B.3.
|
| 38 |
+
|
| 39 |
+
> **213 Plain background dataset.** The Plain background dataset contains 128 viewpoints, capturing each object from various angles and distances for 1,536 images. Each image in this dataset displays a complete object against a black background, ensuring visual isolation from external distractions. Figure 1E shows an example toy from different viewpoints.
|
| 40 |
+
|
| 41 |
+
4
|
| 42 |
+
|
| 43 |
+
Figure∆ _T_ = 3:1 Illustration of SimCLR-TT on the Toddler fixation dataset. By default the time interval 30[s][ corresponds to the inverse of the camera’s frame rate, but it can be increased to an integer] multiple of this value. 3.2 SELF-SUPERVISED LEARNING THROUGH TIME To model the learning process of humans, we learn visual representations with a self-supervised model of temporal slowness, namely SimCLR-TT (Schneider et al., 2021). This algorithm is based on the state-of-the-art SimCLR method (Chen et al., 2020). SimCLR-TT samples an image _xt_ at time _t_ and a temporally close image _xt_ +∆ _T_ and computes their respective embeddings _zt_ , _zt_ +∆ _T_ with a deep neural network (e.g. a ResNet). Unless stated otherwise, we set ∆ _T_ to the inverse of the **236237** camera’s frame rate, i.e., ∆ _T_ = 301[seconds.][In Section 4.3 we show additional results varying][ ∆] _[T]_[.] Then, SimCLR-TT minimizes exp (sim ( _zt, zt_ +∆ _T_ ) _/τ_ ) _L_ ( _zt, zt_ +∆ _T_ ) = _−_ log (1) � _zk∈B,k_ = _t_[[exp (sim (] _[z][t][, z][k]_[)] _[ /τ]_[)]] _[,]_ where _B_ is a minibatch, sim( _·_ ) is the cosine similarity and _τ_ is the temperature hyper-parameter. Here _k_ = _t_ but _k_ = _t_ + ∆ _T_ is possible. Thus, SimCLR-TT maximizes the similarity between temporally close representations (numerator) while keeping all representations dissimilar from each other (denominator). Figure 3 illustrates the learning process of SimCLR-TT. In Appendix B.1 we also present results for BYOL-TT (Schneider et al., 2021). 3.3 TRAINING AND EVALUATION We run three random seeds for all experiments. For each random seed, we split the 38 available dyads into 30 train dyads and 8 test dyads. We train the models on train dyads for 100 epochs with a ResNet18, the AdamW optimizer, and set the initial learning rate and weight decay to 10 _[−]_[2] and 10 _[−]_[4] , respectively. We set the SimCLR temperature to 0 _._ 08 and the batch size to 256. Appendix B.5 presents the results under various settings of hyper-parameters. We conduct all experiments on an Nvidia GeForce RTX 3090 GPU with 24 GB memory.
|
| 44 |
+
|
| 45 |
+
We assess the quality of the learned representations by training a linear classifier on top of the learned representation (right after the average pooling layer) in a supervised fashion (Chen et al., 2020). Since our pre-training datasets do not have labeled images, we always train the linear classifier on the train split of the Objects fixation dataset (same dyad’s train split as for pre-training) and evaluate the object recognition accuracy on the test split of the Objects fixation dataset.
|
| 46 |
+
|
| 47 |
+
## 4 RESULTS
|
| 48 |
+
|
| 49 |
+
We aim to investigate whether toddlers’ gaze behavior during a play session supports learning viewinvariant object recognition. We also want to analyze the factors contributing to this.
|
| 50 |
+
|
| 51 |
+
- 4.1 TODDLERS’ CENTRAL VISUAL FIELD EXPERIENCE SUPPORTS THE LEARNING OF INVARIANT OBJECT REPRESENTATIONS VIA TIME-BASED SSL
|
| 52 |
+
|
| 53 |
+
To test if a toddler’s gaze behavior supports the learning of strong object representations, we compare the representations learned by SimCLR-TT when trained on the different datasets introduced in
|
| 54 |
+
|
| 55 |
+
5
|
| 56 |
+
|
| 57 |
+
Figure 4: Linear object recognition accuracy of training on individual participants and all partici- pants. We use red and blue to represent the test results of the model trained on the relevant datasets for toddlers and adults, respectively. The two gray bars represent the Oracles and indicate the test results on the Plain background and Object fixation datasets. Specifically, in the experiment, Ora- cles refers to the Objects fixation dataset and the Plain background dataset. For gaze fixation, we compared the test results of the model trained on each participant and across all participants. Specif- ically, the mean accuracy is shown, when trained with 38 dyads individually. For the all-participants setting, 30 participants are randomly selected from the pool of 38 for the training set under each random seed. The vertical bars represent the standard deviation over three random seeds. Section 3.1 (Figure 4). Results for BYOL-TT (Schneider et al., 2021) show a similar trend and are given in Appendix B.1. We find that models trained with the Toddler fixation dataset outperform those trained with the Random fixation dataset (toddler) or the Centroid fixation dataset (toddler). This suggests that biologically inspired visual learning models like SimCLR-TT can leverage human gaze behavior to learn invariant object representations. We wondered whether the visual experience of only **a single** human during a play session suffices to build good visual representations. To investigate this question, we train SimCLR-TT on the indi- vidual ecordings of each toddler and adult separately and compute the average of linear accuracies. We train the encoder (ResNet18) using all fixation data from a single toddler/adult, followed by training and testing the linear classifier with the Objects fixation data from the same and different toddlers/adults. We control the training set to comprise 75% of the total data, ensuring that the test set does not overlap with the training set. Figure 4 shows that the central visual experience of one toddler leads to representations almost as good as those from the central visual experiences of all toddlers. We show additional results with a larger ResNet50 in Appendix B.2. Finally, we assess whether toddlers’ visual experience produces better or worse representations than that of adults. By comparing the object recognition accuracy of models trained on fixation datasets from toddlers and adults, we see the same results. Toddlers’ experiences induce more robust rep- resentations compared to adults when training with one toddler/adult trial, as well as when training with the entire dataset. We conclude that, toddlers’ central visual experience supports more data- efficient learning than adults. Overall, toddlers appear to successfully curate their gaze behavior to permit the learning of robust object representations. 4.2 CONSTRAINING INPUT TO THE CENTRAL VISUAL FIELD IMPROVES LEARNING Previous computational studies have neglected the importance of the constrained size of the central visual field for learning visual representations (Orhan et al., 2020; Sheybani et al., 2024). Here, we assess whether our simulated central visual experience leads to better/worse object representations than a wide field of view. We vary the crop size applied to the datasets reported in Section 3.1. In
|
| 58 |
+
|
| 59 |
+
6
|
| 60 |
+
|
| 61 |
+
##
|
| 62 |
+
|
| 63 |
+
Table 1: Linear object recognition accuracy for different cropping sizes. We have bolded the main results of gaze fixation, while the underlined results represent simulations that do not utilize actual gaze fixation and consider only the egocentric visual experience. 64 _×_ 64 128 _×_ 128 240 _×_ 240 480 _×_ 480 Toddler 0 _._ 831 _±_ 0 _._ 015 **0.863** _±_ **0.011** 0 _._ 828 _±_ 0 _._ 014 0 _._ 805 _±_ 0 _._ 018 Gaze fixation Adult 0 _._ 826 _±_ 0 _._ 013 **0.851** _±_ **0.028** 0 _._ 816 _±_ 0 _._ 013 0 _._ 791 _±_ 0 _._ 019 Toddler 0 _._ 701 _±_ 0 _._ 011 0 _._ 736 _±_ 0 _._ 017 0 _._ 694 _±_ 0 _._ 025 0 _._ 589 _±_ 0 _._ 036 Random fixation Adult 0 _._ 716 _±_ 0 _._ 021 0 _._ 742 _±_ 0 _._ 022 0 _._ 685 _±_ 0 _._ 023 0 _._ 576 _±_ 0 _._ 019 Toddler 0 _._ 822 _±_ 0 _._ 016 0 _._ 838 _±_ 0 _._ 010 0 _._ 815 _±_ 0 _._ 018 0 _._ 784 _±_ 0 _._ 022 Centroid fixation Adult 0 _._ 818 _±_ 0 _._ 012 0 _._ 829 _±_ 0 _._ 009 0 _._ 807 _±_ 0 _._ 014 0 _._ 763 _±_ 0 _._ 017 Table 1, we observe for both toddlers and adults that an image size of 128 128 _×_ 128 (corresponding to (corresponding to 14 _[[◦]] ×_ 14 _[[◦]]_ of visual angle) produces the best recognition accuracy for all gaze strategies. Importantly, produces the best recognition accuracy for all gaze strategies. Importantly, Toddler and Adult gaze fixations 128 128 _×_ 128 present an accuracy boost of 8% compared to Centroid present an accuracy boost of 8% compared to Centroid 8% compared to Centroid compared to Centroid gaze 480 _×_ 480,, which simulates head-camera recordings without an eye-tracker. We conclude that accounting for the constrained size of the central visual field is crucial for learning powerful object representations. We speculate that, this boost originates in the ability of a 128 128 _×_ 128 gaze- centered crop to frequently capture the complete structure of an object while minimizing irrelevant frequently capture the complete structure of an object while minimizing irrelevant capture the complete structure of an object while minimizing irrelevant background information. 4.3 TODDLERS’ GAZE BEHAVIOR FAVORS STRONGER EMPHASIS ON SLOWNESS Previous work suggests that semantic aspects of the visual experience vary more slowly for toddlers than for adults (Sheybani et al., 2023) and that extending the gap of time between two positive pairs can improve the quality of object representations if visual inputs are sufficiently stable over time (Aubret et al., 2022; Schneider et al., 2021). Thus, we investigate whether amplifying the temporal slowness of our representation intensifies the difference between toddlers’ and adults’ representa- tions. To amplify temporal slowness, we increase the temporal gap ∆ ∆ _T_ between representations that are made similar. As shown in Figure 5A, ∆ _T_ ranges from 3011[[to]][[3.0]][[seconds,]][[increasing]][[contin-]] uously by 0.5 seconds at each step. The models trained with the Toddler fixation dataset achieve the highest recognition accuracy when ∆ ∆ _T_ = 1 _._ 5s.s. Conversely, Figure 5B shows that, for models trained with the Adult fixation dataset, increasing the interval between positive pairs decreases the quality of object representations. The results are consistent for both human fixations and centroid fixations (“Fixation” and “Centroid”). We conclude that toddlers’ gaze behavior favors a stronger emphasis on slowness (greater ∆ ∆ _T_ ) than that of adults.. **364 365 A B 366 367 368 369 370 371 372 373 374 375 376** Figure 5: The impact of different ∆ _T_ on recognition accuracy for toddlers **(A)** and adults **(B)** .
|
| 64 |
+
|
| 65 |
+
Table 1, we observe for both toddlers and adults that an image size of 128 128 _×_ 128 (corresponding to (corresponding to 14 _[[◦]] ×_ 14 _[[◦]]_ of visual angle) produces the best recognition accuracy for all gaze strategies. Importantly, produces the best recognition accuracy for all gaze strategies. Importantly, Toddler and Adult gaze fixations 128 128 _×_ 128 present an accuracy boost of 8% compared to Centroid present an accuracy boost of 8% compared to Centroid 8% compared to Centroid compared to Centroid gaze 480 _×_ 480,, which simulates head-camera recordings without an eye-tracker. We conclude that accounting for the constrained size of the central visual field is crucial for learning powerful object representations. We speculate that, this boost originates in the ability of a 128 128 _×_ 128 gazecentered crop to frequently capture the complete structure of an object while minimizing irrelevant frequently capture the complete structure of an object while minimizing irrelevant capture the complete structure of an object while minimizing irrelevant background information.
|
| 66 |
+
|
| 67 |
+
Previous work suggests that semantic aspects of the visual experience vary more slowly for toddlers than for adults (Sheybani et al., 2023) and that extending the gap of time between two positive pairs can improve the quality of object representations if visual inputs are sufficiently stable over time (Aubret et al., 2022; Schneider et al., 2021). Thus, we investigate whether amplifying the temporal slowness of our representation intensifies the difference between toddlers’ and adults’ representations. To amplify temporal slowness, we increase the temporal gap ∆ ∆ _T_ between representations that are made similar. As shown in Figure 5A, ∆ _T_ ranges from 3011[[to]][[3.0]][[seconds,]][[increasing]][[contin-]] uously by 0.5 seconds at each step. The models trained with the Toddler fixation dataset achieve the highest recognition accuracy when ∆ ∆ _T_ = 1 _._ 5s.s. Conversely, Figure 5B shows that, for models trained with the Adult fixation dataset, increasing the interval between positive pairs decreases the quality of object representations. The results are consistent for both human fixations and centroid fixations (“Fixation” and “Centroid”). We conclude that toddlers’ gaze behavior favors a stronger emphasis on slowness (greater ∆ ∆ _T_ ) than that of adults..
|
| 68 |
+
|
| 69 |
+
7
|
| 70 |
+
|
| 71 |
+
**378 379 A B 380 381 382 383 384 385 386 387 388 389 390 391 C D 392 393 394 395 396 397 398 399 400 401 402 403 404 405** Figure 6: Correlation analysis between the linear recognition accuracy and the average fixation duration **(A)** , the average duration of object looking **(B)** , the average duration of object looking while holding the object **(C)** , and the cumulative duration of object looking **(D)** . Models were all trained on individual Toddler and Adult fixation datasets. In each figure, the crosshairs represent the mean and standard deviation of the data values over the two axes. The legends show the Pearson correlation coefficients and their p-values. 4.4 TODDLERS’ LONG OBJECT INSPECTIONS RELATIVE TO ADULTS FACILITATE LEARNING So far, we have shown that the egocentric visual experience of toddlers facilitates the self-supervised learning of object representations relative to that of adults. However, the temporal properties responsible for this effect remain unclear. Here, we further analyze the visual statistics of central visual experiences. We focus on four metrics that characterize the temporal sequence of images: the av- erage fixation duration before making a saccade, the average duration of object looking bouts, the average duration of object looking when the camera-wearer holds the object, and the cumulative duration of object looking in a recording. We explain how we detect saccades and compute average fixation durations in Appendix A. For other metrics, we leverage manually labeled timestamps (by (Bambach et al., 2018)) about when toddlers and adults look at/hold an object. In the following, we label “Object looking” when the gaze fixation points are located on an object while the camera- wearer is not holding the object. We successfully extracted the data from 28 out of 38 toddlers and conducted all subsequent experiments using these 28 toddlers. The remaining participants are ex- cluded from this section due to the lack of data on fixation durations. Table 3 in Appendix C presents the details of these specific 28 toddlers.
|
| 72 |
+
|
| 73 |
+
In Figure 6, we observe that object recognition accuracy is highly correlated with the three average durations but only weakly correlated with the cumulative duration of object looking. This indicates that long fixation bouts are important in explaining the relative quality of visual representations trained on the Toddler vs. Adult fixation datasets.
|
| 74 |
+
|
| 75 |
+
8
|
| 76 |
+
|
| 77 |
+
**432 A B C 433 434 435 436 437 438 439 440 441 442** Figure 7: Comparison of average fixation duration **(A)** , average duration of object looking **(B)** , average duration of object looking while holding **(D)** for toddlers and adults. Each panel includes the frequency distribution for the given metric, along with a density curve. The t-test statistics and p-values are given in the titles. The data in Figure 6 also allow us to confirm that on average toddlers’ visual experience permits learning better representations than that of adults (t-test p-value = 0 _._ 0053 _<_ 0 _._ 05), confirming our finding in Section 4.1 with the given subset of dyads. To investigate which metric plays a crucial role in the differences between toddlers and adults, Figure 7 presents the distributions of average fixation duration for toddlers and adults. We observe that toddlers look longer at the object that they are holding, in comparison with adults (t-test p-value = 0 _._ 003 _<_ 0 _._ 05). Other metrics do not present statistically significant differences between adults and toddlers. We conclude that, compared to adults, toddlers’ longer periods of object observation when manipulating the object allow learning better view-invariant object representations. 5 CONCLUSION
|
| 78 |
+
|
| 79 |
+
- Current SSL approaches still struggle to learn robust human-like object representations and the rea- sons for this remain unclear. Here, we investigated whether biologically inspired visual learning models can take advantage of toddlers’ gaze behavior to develop robust object representations. We cropped the toddlers’ gaze location from egocentric video recordings with eye-tracking during play sessions. Then, we trained bio-inspired unsupervised models that drive visual representations to slowly change. Our findings indicate that toddlers’ gaze strategies permit the learning of representations that support view-invariant object instance recognition within a single play session of 12
|
| 80 |
+
|
| 81 |
+
- minutes. Results were weaker for adults’ gaze behavior. Our analysis shows that our approximated
|
| 82 |
+
|
| 83 |
+
- central visual experience is crucial for learning object-oriented representations and that toddlers’
|
| 84 |
+
|
| 85 |
+
- gaze behavior favors a stronger emphasis on slowness compared to adults. This is consistent with toddlers looking longer at objects while holding them. During their relatively long holding periods, toddlers may turn and move the object, giving access to high-quality sequences containing different object views over a short period of time.
|
| 86 |
+
|
| 87 |
+
From a developmental perspective, our work provides strong evidence that the development of view- invariant representations can originate from a slowness learning objective, a mechanism supported by neuroscientifc studies (Li & DiCarlo, 2008; Miyashita, 1988). We further demonstrate that tod- dlers may curate their gaze behavior to enhance the quality of their visual representations. From a machine learning perspective, we show that combining eye-tracking video data and SSL supports unsupervised view-invariant recognition. This work marks a significant step towards learning strong representations without hand-crafted image datasets (e.g., (Aubret et al., 2022)). We analyzed gaze behavior in toddlers with a minimum age of 12.3 months, meaning they had substantial visual learning experience before the experiment, while our models learned from scratch. Expanding to a wider variety of objects and participants, particularly younger toddlers with distinct visual exploration patterns, could offer deeper insights into early visual representation development. Studying how babies under one year engage with objects may reveal new aspects of gaze behavior that contribute to visual learning (Maurer, 2017; Sheybani et al., 2024). Moreover, refining our approach to incorporate both central and peripheral vision could provide a more accurate simulation of human perception (Wang et al., 2021).
|
| 88 |
+
|
| 89 |
+
9
|
| 90 |
+
|
| 91 |
+
- REFERENCES Amro Abbas and St´ephane Deny. Progress and limitations of deep networks to recognize objects in unusual poses. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 37, pp. 160–168, 2023.
|
| 92 |
+
|
| 93 |
+
- Erin M Anderson, Eric S Seemiller, and Linda B Smith. Scene saliencies in egocentric vision and
|
| 94 |
+
|
| 95 |
+
- their creation by parents and infants. _Cognition_ , 229:105256, 2022.
|
| 96 |
+
|
| 97 |
+
-
|
| 98 |
+
|
| 99 |
+
- Erin M Anderson, T Rowan Candy, Jason M Gold, and Linda B Smith. An edge-simplicity bias in the visual input to young infants. _Science Advances_ , 10(19):eadj8571, 2024.
|
| 100 |
+
|
| 101 |
+
- Arthur Aubret, Markus Ernst, C´eline Teuli`ere, and Jochen Triesch. Time to augment self-supervised
|
| 102 |
+
|
| 103 |
+
- visual representation learning. _arXiv preprint arXiv:2207.13492_ , 2022.
|
| 104 |
+
|
| 105 |
+
- Arthur Aubret, Timothy Schauml¨offel, Gemma Roig, and Jochen Triesch. Learning object semantic similarity with self-supervision. _arXiv preprint arXiv:2405.05143_ , 2024a.
|
| 106 |
+
|
| 107 |
+
- Arthur Aubret, C´eline Teuli`ere, and Jochen Triesch. Self-supervised visual learning from interactions with objects. _arXiv preprint arXiv:2407.06704_ , 2024b.
|
| 108 |
+
|
| 109 |
+
- Vladislav Ayzenberg and Marlene Behrmann. Development of visual object recognition. _Nature_ _Reviews Psychology_ , 3(2):73–90, 2024. Sven Bambach, David J Crandall, Linda B Smith, and Chen Yu. Active viewing in toddlers facilitates visual object learning: An egocentric vision approach. In _CogSci_ , 2016. Sven Bambach, David J Crandall, Linda B Smith, and Chen Yu. An egocentric perspective on active vision and visual object learning in toddlers. In _2017 Joint IEEE International Conference on_ _Development and Learning and Epigenetic Robotics (ICDL-EpiRob)_ , pp. 290–295. IEEE, 2017.
|
| 110 |
+
|
| 111 |
+
- Sven Bambach, David Crandall, Linda Smith, and Chen Yu. Toddler-inspired visual object learning. _Advances in neural information processing systems_ , 31, 2018. Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for
|
| 112 |
+
|
| 113 |
+
- contrastive learning of visual representations. In _International conference on machine learning_ , pp. 1597–1607. PMLR, 2020. Yinpeng Dong, Shouwei Ruan, Hang Su, Caixin Kang, Xingxing Wei, and Jun Zhu. Viewfool: Evaluating the robustness of visual recognition to adversarial viewpoints. _Advances in Neural_ _Information Processing Systems_ , 35:36789–36803, 2022. Wolfgang Einh¨auser, J¨org Hipp, Julian Eggert, Edgar K¨orner, and Peter K¨onig. Learning viewpoint
|
| 114 |
+
|
| 115 |
+
- invariant object representations using a temporal coherence principle. _Biological cybernetics_ , 93 (1):79–90, 2005. Peter F¨oldi´ak. Learning invariance from transformation sequences. _Neural computation_ , 3(2):194– 200, 1991. Mathias Franzius, Niko Wilbert, and Laurenz Wiskott. Invariant object recognition and pose esti-
|
| 116 |
+
|
| 117 |
+
- mation with slow feature analysis. _Neural computation_ , 23(9):2289–2323, 2011.
|
| 118 |
+
|
| 119 |
+
- Kristen Grauman, Andrew Westbury, Eugene Byrne, Zachary Chavis, Antonino Furnari, Rohit Gird- har, Jackson Hamburger, Hao Jiang, Miao Liu, Xingyu Liu, et al. Ego4d: Around the world in 3,000 hours of egocentric video. In _Proceedings of the IEEE/CVF Conference on Computer Vision_ _and Pattern Recognition_ , pp. 18995–19012, 2022.
|
| 120 |
+
|
| 121 |
+
- Kimberly S Kraebel and Peter C Gerhardstein. Three-month-old infants’ object recognition across
|
| 122 |
+
|
| 123 |
+
- changes in viewpoint using an operant learning procedure. _Infant Behavior and Development_ , 29 (1):11–23, 2006. Nuo Li and James J DiCarlo. Unsupervised natural experience rapidly alters invariant object representation in visual cortex. _science_ , 321(5895):1502–1507, 2008.
|
| 124 |
+
|
| 125 |
+
10
|
| 126 |
+
|
| 127 |
+
- Yecheng Jason Ma, Shagun Sodhani, Dinesh Jayaraman, Osbert Bastani, Vikash Kumar, and Amy
|
| 128 |
+
|
| 129 |
+
- Zhang. Vip: Towards universal visual reward and representation via value-implicit pre-training. In _The Eleventh International Conference on Learning Representations_ . Daphne Maurer. Critical periods re-examined: evidence from children treated for dense cataracts. _Cognitive Development_ , 42:27–36, 2017. Yasushi Miyashita. Neuronal correlate of visual associative long-term memory in the primate tem- poral cortex. _Nature_ , 335(6193):817–820, 1988. Suraj Nair, Aravind Rajeswaran, Vikash Kumar, Chelsea Finn, and Abhinav Gupta. R3m: A univer- sal visual representation for robot manipulation. _arXiv preprint arXiv:2203.12601_ , 2022. A Emin Orhan and Brenden M Lake. Learning high-level visual representations from a child’s perspective without strong inductive biases. _Nature Machine Intelligence_ , 6(3):271–283, 2024. A Emin Orhan, Wentao Wang, Alex N Wang, Mengye Ren, and Brenden M Lake. Self-supervised
|
| 130 |
+
|
| 131 |
+
- learning of video representations from a child’s perspective. _arXiv preprint arXiv:2402.00300_ ,
|
| 132 |
+
|
| 133 |
+
- 2024.
|
| 134 |
+
|
| 135 |
+
- Emin Orhan, Vaibhav Gupta, and Brenden M Lake. Self-supervised learning through the eyes of a child. _Advances in Neural Information Processing Systems_ , 33:9960–9971, 2020. Lalit Pandey, Samantha Wood, and Justin Wood. Are vision transformers more data hungry than
|
| 136 |
+
|
| 137 |
+
- newborn visual systems? _Advances in Neural Information Processing Systems_ , 36, 2024. Nikhil Parthasarathy, SM Eslami, Jo˜ao Carreira, and Olivier J H´enaff. Self-supervised video pre- training yields human-aligned visual representations. _arXiv preprint arXiv:2210.06433_ , 2022. Nikhil Parthasarathy, SM Eslami, Joao Carreira, and Olivier Henaff. Self-supervised video pretrain- ing yields robust and more human-aligned visual representations. _Advances in Neural Information_ _Processing Systems_ , 36:65743–65765, 2023. Christian Quaia and Richard J Krauzlis. Object recognition in primates: What can early visual areas contribute? _Frontiers in Behavioral Neuroscience_ , 18:1425496, 2024.
|
| 138 |
+
|
| 139 |
+
- Marcel C Raabe, Francisco M L´opez, Zhengyang Yu, Spencer Caplan, Chen Yu, Bertram E Shi, and Jochen Triesch. Saccade amplitude statistics are explained by cortical magnification. In _2023_ _IEEE International Conference on Development and Learning (ICDL)_ , pp. 300–305. IEEE, 2023. Shouwei Ruan, Yinpeng Dong, Hang Su, Jianteng Peng, Ning Chen, and Xingxing Wei. Towards
|
| 140 |
+
|
| 141 |
+
- viewpoint-invariant visual recognition via adversarial training. In _Proceedings of the IEEE/CVF_
|
| 142 |
+
|
| 143 |
+
- _International Conference on Computer Vision_ , pp. 4709–4719, 2023.
|
| 144 |
+
|
| 145 |
+
- Deepayan Sanyal, Joel Michelson, Yuan Yang, James Ainooson, and Maithilee Kunda. A compu- tational account of self-supervised visual learning from egocentric object play. _arXiv preprint_ _arXiv:2305.19445_ , 2023.
|
| 146 |
+
|
| 147 |
+
Timothy Schauml¨offel, Arthur Aubret, Gemma Roig, and Jochen Triesch. Caregiver talk shapes
|
| 148 |
+
|
| 149 |
+
toddler vision: A computational study of dyadic play. In _2023 IEEE International Conference on_
|
| 150 |
+
|
| 151 |
+
_Development and Learning (ICDL)_ , pp. 67–72. IEEE, 2023. Felix Schneider, Xia Xu, Markus R Ernst, Zhengyang Yu, and Jochen Triesch. Contrastive learning through time. In _SVRHM 2021 Workshop@ NeurIPS_ , 2021.
|
| 152 |
+
|
| 153 |
+
Saber Sheybani, Zoran Tiganj, Justin N Wood, and Linda B Smith. Slow change: An analysis of
|
| 154 |
+
|
| 155 |
+
infant egocentric visual experience. _Journal of Vision_ , 23(9):4685–4685, 2023. Saber Sheybani, Himanshu Hansaria, Justin Wood, Linda Smith, and Zoran Tiganj. Curriculum learning with infant egocentric videos. _Advances in Neural Information Processing Systems_ , 36, 2024. Simon M Stringer, Gavin Perry, Edmund T Rolls, and JH Proske. Learning invariant object recogni- tion in the visual system with continuous transformations. _Biological cybernetics_ , 94(2):128–142, 2006.
|
| 156 |
+
|
| 157 |
+
11
|
| 158 |
+
|
| 159 |
+
- Jessica Sullivan, Michelle Mei, Andrew Perfors, Erica Wojcik, and Michael C Frank. Saycam:
|
| 160 |
+
|
| 161 |
+
- A large, longitudinal audiovisual dataset recorded from the infant’s perspective. _Open mind_ , 5: 20–29, 2021.
|
| 162 |
+
|
| 163 |
+
- Satoshi Tsutsui, David Crandall, and Chen Yu. Reverse-engineer the distributional structure of infant egocentric views for training generalizable image classifiers. _arXiv preprint arXiv:2106.06694_ , 2021.
|
| 164 |
+
|
| 165 |
+
-
|
| 166 |
+
|
| 167 |
+
- Guy Wallis and Roland Baddeley. Optimal, unsupervised learning in invariant object recognition. _Neural computation_ , 9(4):883–894, 1997.
|
| 168 |
+
|
| 169 |
+
- Binxu Wang, David Mayo, Arturo Deza, Andrei Barbu, and Colin Conwell. On the use of cor- tical magnification and saccades as biological proxies for data augmentation. In _SVRHM 2021 Workshop@ NeurIPS_ , 2021.
|
| 170 |
+
|
| 171 |
+
- Laurenz Wiskott and Terrence J Sejnowski. Slow feature analysis: Unsupervised learning of invari- ances. _Neural computation_ , 14(4):715–770, 2002.
|
| 172 |
+
|
| 173 |
+
-
|
| 174 |
+
|
| 175 |
+
- H-H Yu, TA Chaplin, and MGP Rosa. Representation of central and peripheral vision in the primate cerebral cortex: Insights from studies of the marmoset brain. _Neuroscience Research_ , 93:47–61,
|
| 176 |
+
|
| 177 |
+
- 2015.
|
| 178 |
+
|
| 179 |
+
-
|
| 180 |
+
|
| 181 |
+
- Xianggang Yu, Mutian Xu, Yidan Zhang, Haolin Liu, Chongjie Ye, Yushuang Wu, Zizheng Yan, Tianyou Liang, Guanying Chen, Shuguang Cui, and Xiaoguang Han. Mvimgnet: A large-scale dataset of multi-view images. In _CVPR_ , 2023.
|
| 182 |
+
|
| 183 |
+
12
|
| 184 |
+
|
| 185 |
+
## A ADDITIONAL DETAILS
|
| 186 |
+
|
| 187 |
+
##
|
| 188 |
+
|
| 189 |
+
**Gaze location distribution.** In section 3.1, we explain that the center of the frames is misaligned with respect to the stationary position of the eyes. To support this statement, Figure 8 and Figure 9 display the distribution of gaze locations for each toddler and adult, respectively. Brighter areas indicate higher frequencies of gaze fixation at those locations. The results indicate that their average gaze location is not centered with respect to the camera. Figure 8: Gaze distribution for all toddlers. **692 693 694 695 696 Extraction of saccade and fixations.** In the study in section 4.4, we extracted fixation bouts. This requires to detect saccades, as they bound the fixations bouts. To detect saccades in gaze movement, we apply a velocity threshold-based method similar to (Raabe et al., 2023). Consecutive gaze points that exceed a threshold _T_ 1 are identified as a single saccade. To account for artifacts caused by low frame rates, a second threshold _T_ 2, along with an angular criterion _θ_ , allows the inclusion of the two data points adjacent to the saccade initially detected. Any data points not classified as saccades are considered fixations. For this study, we choose _T_ 1 = 25 _[◦]_ s _[−]_[1] , _T_ 2 = 10 _[◦]_ s _[−]_[1] and _θ_ = 45 _[◦]_ .
|
| 190 |
+
|
| 191 |
+
13
|
| 192 |
+
|
| 193 |
+
**==> picture [14 x 413] intentionally omitted <==**
|
| 194 |
+
|
| 195 |
+
**----- Start of picture text -----**<br>
|
| 196 |
+
702<br>703<br>704<br>705<br>706<br>707<br>708<br>709<br>710<br>711<br>712<br>713<br>714<br>715<br>716<br>717<br>718<br>719<br>720<br>721<br>722<br>723<br>724<br>725<br>726<br>727<br>728<br>729<br>730<br>731<br>732<br>733<br>734<br>735<br>736<br>**----- End of picture text -----**<br>
|
| 197 |
+
|
| 198 |
+
**==> picture [396 x 370] intentionally omitted <==**
|
| 199 |
+
|
| 200 |
+
Figure 9: Gaze distribution for all adults.
|
| 201 |
+
|
| 202 |
+
B COMPLEMENTARY ANALYSIS
|
| 203 |
+
|
| 204 |
+
## B.1 RESULTS OF TRAINING BYOL-TT
|
| 205 |
+
|
| 206 |
+
In order to evaluate whether our conclusions also hold for different methods learning with temporal slowness, we perform the same experiments described in Section 4.1 with BYOL-TT. Similar to SimCLR-TT, BYOL-TT was originally considered to be used for contrastive learning through time (Schneider et al., 2021). Its loss function is defined as
|
| 207 |
+
|
| 208 |
+
**==> picture [287 x 12] intentionally omitted <==**
|
| 209 |
+
|
| 210 |
+
where _qθt_ ( _zθt_ ) is the prediction of the online network for one frame, _zξt_ +∆ _T_ represents outputs from the target network. Here, _θ_ corresponds to the weights of the online network, and _ξ_ represents the weights of the target network. Again, we use the cosine similarity as the similarity function.
|
| 211 |
+
|
| 212 |
+
In Figure 10A, we found, in line with (Schneider et al., 2021) that BYOL-TT, as the backbone
|
| 213 |
+
|
| 214 |
+
model, extracts less effective representations from the different fixation strategy datasets compared to SimCLR-TT. However, the relative relationships between the data remain unchanged. Overall, the conclusion that toddler fixation contributes to the acquisition of more robust representations still holds.
|
| 215 |
+
|
| 216 |
+
14
|
| 217 |
+
|
| 218 |
+
**756 A B 757 758 759 760 761 762 763 764 765 766 767** Figure 10: Linear object recognition accuracy of different settings. **A.** Testing results of BYOL-TT training on different datasets. **B.** Different backbone training on Toddler and Adult fixation dataset. **769 A C 770 771 772 773 774 775 B 776 777 778 779 780 781 782**
|
| 219 |
+
|
| 220 |
+
Figure 11: Sampling on Objects fixation dataset. **A.** Undersampling; **B.** Oversampling; **C.** Compar-
|
| 221 |
+
|
| 222 |
+
ison of dataset sizes after using different sampling methods.
|
| 223 |
+
|
| 224 |
+
## B.2 IMPACT OF CHANGING THE SELF-SUPERVISED LEARNING ENCODER
|
| 225 |
+
|
| 226 |
+
We compared the accuracy of BYOL-TT and SimCLR-TT using ResNet-18 and ResNet-50 as en- coders on both the Toddler and Adult fixation datasets. As shown in Figure 10B, introducing more complex encoders resulted in a significant improvement in accuracy, with the gap between toddler and adult performance narrowing. This suggests that a more sophisticated encoder can equalize dif- ferent boosting sampling strategies, which may obscure the inherent differences in representations between toddlers and adults. In contrast, a simpler encoder tends to profit more from toddler gaze behavior compared to those from adults.
|
| 227 |
+
|
| 228 |
+
## B.3 ANALYSIS OF THE CLASS IMBALANCE IN THE OBJECTS FIXATION DATASET
|
| 229 |
+
|
| 230 |
+
To investigate the impact of the imbalance in the Objects fixation dataset shown in Figure 2, we adjusted the distribution of the Objects fixation dataset while keeping the original encoder training results unchanged. The linear classifier was then trained and tested on the adjusted datasets. The number of categories remained fixed at 24 throughout the experiments. We compared the results of two types of sampling strategies:
|
| 231 |
+
|
| 232 |
+
**803 Undersampling.** We applied random undersampling to reduce the number of samples in the top 5 categories, making their quantities similar to those of the other categories. We do not intend to equalize all classes. In real-world scenarios, toddlers naturally show preferences for certain toys, and this behavior should be preserved. Our goal is to smooth the occurrence probabilities of other objects relatively rather than enforce an artificial balance across all categories.
|
| 233 |
+
|
| 234 |
+
**808 Oversampling.** Similarly, we applied random oversampling to increase the number of samples in the underrepresented categories to match the quantity of the top 5 categories. However, this method will result in duplicate samples in the dataset.
|
| 235 |
+
|
| 236 |
+
15
|
| 237 |
+
|
| 238 |
+
The data distributions after applying both sampling methods are shown in Figure 11. We maintain the experimental setup consistent with Section 4.1 and train a linear classifier on the undersampling and oversampling object fixation datasets. In Figure 12, we observe that when the total sample size is reduced, the recognition accuracy of the models trained on Toddler and Adult fixation datasets decreases, but the difference in their accuracy continues to widen. However, with more complex or balanced training, the model’s generalization capacity improves, and the performance across toddlers and adults tends to converge, reducing the impact of differences in visual behaviors. Therefore, toddler gaze behavior might offer a greater advantage under undersampling conditions. **819 820 A B 821 822 823 824 825 826 827 828 829 830** Figure 12: Linear object recognition accuracy and the difference in accuracy between undersampling and oversampling. **A.** We compared the recognition accuracy under different sampling methods, where “ _/_ ” represents undersampling and “ _\_ ” represents oversampling. Additionally, we provide the test results after training on one dyad versus all dyads; **B.** The difference in recognition accuracy between toddlers and adults under different sampling methods. Here, we also compare the accuracy differences of the model trained on one dyad versus all dyads. **836 837 A B 838 839 840 841 842 843 844 845 846 847 848 849 C D E 850 851 852 853 854 855 856 857 858** Figure 13: Some evidence highlights the differences between toddlers and adults. In **(A-B)** , We observe variations in the test accuracy of models training on the Toddler and Adult fixation datasets under different ∆ _T_ . We attached fitted regression lines, and the shaded areas show the 95% confi- dence interval. **(C-E)** illustrates box plots showing the data differences between toddlers and adults across three metrics. The red line indicates the median value (Q2), and the gray dots represent out- lier data exceeding the upper quartile (Q3).
|
| 239 |
+
|
| 240 |
+
16
|
| 241 |
+
|
| 242 |
+
B.4 HIGHLIGHTS DIFFERENCES BETWEEN TODDLERS AND ADULTS We provide additional evidence highlighting the differences between toddlers and adult. In Fig- ure 13A and Figure 13B, we compare the changes in recognition accuracy for both toddlers and adults under different ∆ _T_ values. From the regression lines, the increasing ∆ _T_ amplifies the differ- ence in recognition accuracy between training on toddlers’ and adults’ fixation datasets, consistent with the findings in Section 4.3. Besides Figure 7, Figure 13C-E display the box plots for the three corresponding metrics, revealing significant distinctions in the way toddlers and adults observe objects across all three metrics.
|
| 243 |
+
|
| 244 |
+
**873 874 A B 875 876 877 878 879 880 881 882 C D 883 884 885 886 887 888 889 890 891 892** Figure 14: Object recognition accuracy across different hyper-parameter settings. **893 894 895 A B 896 897 898 899 900 901 902 903 904 905 906 907 908**
|
| 245 |
+
|
| 246 |
+
Figure 15: The impact of **(A)** average saccade duration and **(B)** toddler’s age on recognition accu- racy.
|
| 247 |
+
|
| 248 |
+
- B.5 ROBUSTNESS TESTING WITH VARYING HYPER-PARAMETERS
|
| 249 |
+
|
| 250 |
+
The learning rate (lr), weight decay (wd), and temperature (tp) used in our main content were se-
|
| 251 |
+
|
| 252 |
+
lected as the best settings after fine-tuning. To assess the robustness of our method, we conducted additional experiments where we fixed the lr = 10 _[−]_[2] and wd = 10 _[−]_[4] and tp = 0 _._ 08 to and varying another hyper-parameter individually. As shown in Figure 14, changes in these hyper-parameters do not affect the conclusions presented in Section 4.1.
|
| 253 |
+
|
| 254 |
+
17
|
| 255 |
+
|
| 256 |
+
## B.6 STUDY OF SACCADE DURATION AND AGE
|
| 257 |
+
|
| 258 |
+
Here, we complement section 4.4 and study two additional metrics that may impact the performance
|
| 259 |
+
|
| 260 |
+
of individual adults and toddlers, namely the average saccade duration and toddlers’ age. According to Figure 15, we observe no significant correlation between the recognition accuracy and both the average saccade duration or toddlers’ age. However, the youngest toddlers in the study were older than one year and we can not rule out that babies may induce different results.
|
| 261 |
+
|
| 262 |
+
## C DETAILS OF ALL TOYS AND TODDLERS DATA
|
| 263 |
+
|
| 264 |
+
We provide information for all toys and toddlers participating in the study in Table 2 and Table 3.
|
| 265 |
+
|
| 266 |
+
The toddler ID represents an anonymized identifier for each toddler.
|
| 267 |
+
|
| 268 |
+
18
|
| 269 |
+
|
| 270 |
+
##
|
| 271 |
+
|
| 272 |
+
|||||||
|
| 273 |
+
|---|---|---|---|---|---|
|
| 274 |
+
|<br><br><br>|Table 2: 24 toys were used for toddler interaction. Among them, “ Library ” refers to those toys that<br>were successfully recognized when the toddler calls any word from the corresponding row. However,<br>these columns are not within the scope of the current study’s discussion. The main focus is on the<br>colors, shapes, or textures of these 24 toys, which are more likely to help toddlers differentiate|||||
|
| 275 |
+
||between them.|||||
|
| 276 |
+
||**Gazetag Naming**|**ICONS**|**ID**||**Library**|
|
| 277 |
+
|||||||
|
| 278 |
+
||helmet||1||helmet, hat|
|
| 279 |
+
|||||||
|
| 280 |
+
||house||2||house, home|
|
| 281 |
+
|||||||
|
| 282 |
+
||bluecar||3||car|
|
| 283 |
+
|||||||
|
| 284 |
+
||rose||4||rose, fower, plant|
|
| 285 |
+
|||||||
|
| 286 |
+
||elephant||5||elephant|
|
| 287 |
+
||snowman||6||snowman|
|
| 288 |
+
|||||||
|
| 289 |
+
||rabbit||7||rabbit, bunny|
|
| 290 |
+
|||||||
|
| 291 |
+
||spongebob||8||spongebob, block|
|
| 292 |
+
|||||||
|
| 293 |
+
||turtle||9||turtle, tortoise|
|
| 294 |
+
|||||||
|
| 295 |
+
||hammer||10||hammer, tool, mallet|
|
| 296 |
+
|||||||
|
| 297 |
+
||ladybug||11||bug, insect, ladybug, beetle|
|
| 298 |
+
|**1000**||||||
|
| 299 |
+
|**1001**|mantis||12||bug, insect, praying mantis, mantis, grasshopper|
|
| 300 |
+
|**1002**||||||
|
| 301 |
+
|**1003**|greencar||13||car|
|
| 302 |
+
|**1004**||||||
|
| 303 |
+
|**1005**|saw||14||saw, tool|
|
| 304 |
+
|**1006**||||||
|
| 305 |
+
|**1007**|doll||15||baby, baby doll, girl, doll|
|
| 306 |
+
|**1008**||||||
|
| 307 |
+
|**1009**|phone||16||phone, telephone|
|
| 308 |
+
|**1010**||||||
|
| 309 |
+
|**1011**|rubiks||17||block, rubiks cube, rubiks, cube|
|
| 310 |
+
|**1012**||||||
|
| 311 |
+
|**1013**|shovel||18||rake, shovel, tool|
|
| 312 |
+
|**1014**||||||
|
| 313 |
+
|**1015**|bigwheels||19||truck, jeep, bigwheel, car|
|
| 314 |
+
|**1016**||||||
|
| 315 |
+
|**1017**|whitecar||20||car, policecar|
|
| 316 |
+
|**1018**|ladybugstick||21||ladybug, bug|
|
| 317 |
+
|**1019**||||||
|
| 318 |
+
|**1020**|purpleblock||22||block, cube|
|
| 319 |
+
|**1021**||||||
|
| 320 |
+
|**1022**|bed||23||bed|
|
| 321 |
+
|**1023**||||||
|
| 322 |
+
|**1024**|clearblock||24||block, cube|
|
| 323 |
+
|**1025**||||||
|
| 324 |
+
|
| 325 |
+
19
|
| 326 |
+
|
| 327 |
+
|**1026**|||||||||
|
| 328 |
+
|---|---|---|---|---|---|---|---|---|
|
| 329 |
+
|**1027**|||||||||
|
| 330 |
+
|**1028**|||||||||
|
| 331 |
+
|**1029**|||||||||
|
| 332 |
+
|**1030**|||||||||
|
| 333 |
+
|**1031**|Table 3: Information for each toddler participating||||in the study (Anonymized). The Toddler IDs||||
|
| 334 |
+
|**1032**<br>**1033**<br>**1034**<br>**1035**|marked with “ * ” indicate participants in the experiment in Section 4.4, while the Frame Count<br>refers to the total number of video frames used in the dataset. Video Length specifes the recorded<br>time interval of the video. Age refers to the toddler’s age at the time of participation in the study. In<br>the Gender column, M denotes male, and F denotes female. The Resolution specifes the recording<br>resolution of the video recorded by the head-mounted camera.||||||||
|
| 335 |
+
|**1036**|||||||||
|
| 336 |
+
|**1037**||**Toddler ID**|**Frame Count**|**Video Length**|**Age (months)**||**Gender**|**Resolution**|
|
| 337 |
+
|**1038**||16963|16440|9:07|20.7||M|720x480|
|
| 338 |
+
|**1039**||17275|9120|5:04|18.2||F|720x480|
|
| 339 |
+
|**1040**||17358|18930|10:31|18.8||M|720x480|
|
| 340 |
+
|**1041**||17402|27636|15:21|19.2||M|640x480|
|
| 341 |
+
|**1042**||17527*|15242|8:28|21.5||M|640x480|
|
| 342 |
+
|**1043**||17565*|14864|8:15|19.7||F|640x480|
|
| 343 |
+
|**1044**||17592*|16116|8:58|18.2||M|640x480|
|
| 344 |
+
|**1045**||17608*|18059|10:02|21.8||F|640x480|
|
| 345 |
+
|**1046**||17662*|14553|8:05|15.2||F|640x480|
|
| 346 |
+
|**1047**||17718|11850|6:35|18.1||F|720x480|
|
| 347 |
+
|**1048**||17757*|19661|10:55|21.7||F|640x480|
|
| 348 |
+
|**1049**||17782*|9035|5:01|22.1||F|640x480|
|
| 349 |
+
|**1050**||17843*|18209|10:07|19.6||F|640x480|
|
| 350 |
+
|**1051**||17848*|21111|11:43|18.4||F|640x480|
|
| 351 |
+
|**1052**||17874*|17429|9:41|17.8||M|640x480|
|
| 352 |
+
|**1053**||17878*|20018|11:08|17.5||F|640x480|
|
| 353 |
+
|**1054**||17919*|18596|10:20|22.1||M|640x480|
|
| 354 |
+
|**1055**||17933*|14457|8:02|17.9||F|640x480|
|
| 355 |
+
|**1056**||18068*|7976|4:26|17.9||M|640x480|
|
| 356 |
+
|**1057**||18100*|14982|8:19|16.3||F|640x480|
|
| 357 |
+
|**1058**||18419*|28253|15:41|17.3||M|640x480|
|
| 358 |
+
|**1059**||18431*|11575|6:26|22||M|640x480|
|
| 359 |
+
|**1060**||18459*|7231|4:01|16.2||F|640x480|
|
| 360 |
+
|**1061**||18625*|18209|10:07|24.3||F|640x480|
|
| 361 |
+
|**1062**||18742*|19018|10:34|17.7||M|640x480|
|
| 362 |
+
|**1063**||18796*|11672|6:30|24.2||M|640x480|
|
| 363 |
+
|**1064**||18996|12466|6:56|15.9||F|320x240|
|
| 364 |
+
|**1065**||19357*|8834|4:54|17.5||M|640x480|
|
| 365 |
+
|**1066**||19505*|18397|10:13|18.5||M|640x480|
|
| 366 |
+
|**1067**||19536*|18370|10:13|21.1||M|640x480|
|
| 367 |
+
|**1068**||19544|9151|5:05|13.8||F|320x240|
|
| 368 |
+
|**1069**||19615*|13351|7:25|14.1||M|640x480|
|
| 369 |
+
|**1070**||19694|10801|6:00|15.2||M|320x240|
|
| 370 |
+
|**1071**||19812*|9918|5:31|21.6||M|640x480|
|
| 371 |
+
|**1072**|||||||||
|
| 372 |
+
|**1073**||19859|7360|4:05|14.4||M|640x480|
|
| 373 |
+
|**1074**||19954*|9201|5:07|12.3||F|640x480|
|
| 374 |
+
|**1075**||20510*|11865|6:35|14.35||M|640x480|
|
| 375 |
+
|**1076**||21015|9566|5:19|13||M|320x240|
|
| 376 |
+
|**1077**|||||||||
|
| 377 |
+
|**1078**|||||||||
|
| 378 |
+
|**1079**|||||||||
|
| 379 |
+
|
| 380 |
+
20
|
| 381 |
+
|
open_review/iclr2025_13832.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13832",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Learning by Causality to Improve Channel Dependency Modeling in Multivariate Time Series Forecasting",
|
| 6 |
+
"abstract": "Beyond the conventional long-term temporal dependency modeling, multivariate time series (MTS) forecasting has rapidly shifted toward channel dependency (CD) modeling. This shift significantly improves modeling quality by fully leveraging both multivariate relationships and temporal dependencies. Recent methods primarily model channel dependency through correlation learning (e.g., crossattention) or non-trainable statistical techniques (e.g., cross-correlation). However, these approaches struggle to fully capture the intrinsic relationships within MTS, particularly those stemming from directed cause-effect (i.e., causality) and nonstationary variates originating from diverse sources. In addition, causality may arise from the signals with different temporal behaviors, such as varying periodicity or discrete event sequences, which is not sufficiently discussed before. In this paper, we propose CALAS (Causality-enhanced Attention with Learnable and Adaptive Spacing), the first end-to-end learning method for MTS forecasting that uncover causality among variates without relying on statistical measures or prior knowledge. To model underlying causality, which consists of causal strength and propagation delay, we newly design a hypernetworks-based 1D convolutions mechanism. Inspired by dilated convolution with learnable spacings (DCLS) and spiking neural networks (SNNs), we extend discrete time delay into a continuous Gaussian kernel. Combining the hypernetworks-generated Gaussian kernel and convolutional weights (i.e., attention or causal strength), we achieve the end-to-end dynamic causality modeling mechanism. This mechanism enhances the model’s ability to capture time-varying causality across multi-source variates, ultimately improving the prediction accuracy, quality, and interpretability. For evaluation, we conduct extensive experiments with six real-world datasets and qualitative analysis to demonstrate CALAS’s superiority in capturing varying causality in a data-agnostic manner. The experiment results indicate that CALAS has significantly improved MTS forecasting accuracy compared to state-of-the-art methods by dynamically modeling causality among variates.",
|
| 7 |
+
"rebuttal": "### Rebuttal Uploaded\nDear Reviewers,\n\nThank you for the valuable and constructive comments. We greatly appreciate your insights, which have helped us improve our manuscripts.\n\nWe have uploaded our updated manuscripts in Openreview. We additionally uploaded the colored version of our manuscripts in the supplementary materials to facilitate easy tracking of the changes. Below, we summarize the main revisions:\n\n\n1. We clarified vague terms and settings, removed redundant sentences, and improved the overall paper presentation.\n2. We newly added the Section 4.1 for the discussion on causality, causal discovery and Granger causality to address the concerns raised about these topics.\n3. In the appendix, we provide additional experimental results for two tasks: time series causal discovery and imputation. The experimental results on causal discovery demonstrate that CALAS effectively learns the causal relationship , even in the traditional causal discovery tasks. We are also in the process of updating the experimental results for anomaly detection and classification. \n4. We have moved the discussion section into the appendix and included a discussion for CNN-, RNN-, and SSM-based approaches in modeling channel dependency. Additionally, we clarified the distinctions between CALAS and these approaches.\n\n\nWe will soon provide detailed answers for each reviewers.\n\nOnce again, thank you for your valuable feedback and the opportunity to improve our work.\n\n\nSincerely,\nAuthors\n\n### Response to Reivewer x5dP (Part 1)\nWe appreciate to your constructive comments. Based on your comments, we can improve our manuscripts significantly. We want to provide the detailed explanation corresponding to your concerns and questions.\n\n## W1. The authors use the language of \"uncovering causality\" and yet gravely misunderstand the existing literature in both Granger causality and causal discovery. In this sense, the research is about the channel dependencies using the same flavor of cross-temporal dependencies as the original definition of Granger causality. In spite of this, no discus [...]\n\n### Response to Reivewer x5dP (Part 2)\n## Q1. Under what assumptions can you guarantee the exact recover and/ or identifiability of the underlying causal structure which you are aiming to learn?\n\n> Q1-A1. The concepts and learning theory are closely related to the Granger causality – we have explained them in Section 4. Furthermore, we experimentally prove the identified causal structure in Appendices A.2 and A.3.\n> More specifically, we built the definition of causality with three assumptions: 1) It should follow the Markovian condition [1, 2], 2) causal faithfulness [1], and 3) should have n [...]\n\n### Response to Reviewer 2T1p\nThank you for your valuable feedback! We have updated our manuscripts accordingly and want to response to the weaknesses and questions you suggested.\n\n## W1. What exactly \"Causality\" in this paper is? You need more precise, formal definition for this concept.\n\n> W1-A1. Thank you for pointing this out! We additionally described the scope and definition of causality (in our paper) in Section 4.1. In this paper, we build the causality based on commonly utilized assumptions except for sufficiency and stationarity. Also, the definition of “causality” in this paper stem [...]\n\n### Response to Reviewer GX4s\nThank you for your detailed review! We have updated our manuscripts accordingly. We want to provide detailed responses for your concerns and questions below:\n\n## W1. Lack of clarity in expression, Absence of corresponding code\n\n> W1-A1. We clarified the expressions (See the detailed answers below). The corresponding codes will be published to the public after the acceptance\n\n\n## W2. Experimental results in this paper are shallow. The interpretability analysis and case studies are required.\n\n> W2-A1. Since the MTS forecasting datasets have no ground truth causal gr [...]\n\n### Response to Reviewer ivnz\nFirst of all, sorry for the late responses. We spend time to additionally conduct the experiments for causal discovery and imputation tasks, and we are glad to solve your concerns and questions. The detailed updates according to your concerns are below:\n\n## W1. The paper presentation can be greatly improved. Discussion is unnecessary and redundant.\n\n> W1-A1. Thank you for your comment. We revised the paper accordingly. Also, we move the discussion section to Appendix B.\n\n\n## W2. The author may overlook a part of literature that use causal RNN- or CNN-style models. [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
8,
|
| 11 |
+
3,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.75,
|
| 15 |
+
"score_variance": 5.58,
|
| 16 |
+
"score_spread": 5,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "The paper introduces CALAS, a deep learning model for multivariate time series forecasting that aims to capture causal relationships among variables by modeling causal strength and propagation delay. It claims improved forecasting accuracy over state-of-the-art methods.\n\nStrengths include the novel approach to modeling causality in time series, potential for better interpretability, and demonstrated improvements over baseline models.\n\nWeaknesses include a lack of clarity in defining \"causality,\" insufficient distinction from correlation, vague language, and limited experimental evaluation. The paper also lacks open-source code, which hinders reproducibility.\n\nThe decision to reject is based on the paper's misuse of the term \"causality,\" lack of precision in methodology, and the absence of code for reproducibility, despite some promising aspects in modeling causality in time series.",
|
| 22 |
+
"forum_id": "VojvkUEq8q",
|
| 23 |
+
"primary_area": "learning on time series and dynamical systems",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_2T1p",
|
| 28 |
+
"review_id": "4MIIyJGFyD",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 1,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2147,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 739180,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_ivnz",
|
| 44 |
+
"review_id": "uzA78lbLDn",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2814,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2536454,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_GX4s",
|
| 60 |
+
"review_id": "6v1DzC8QKx",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3543,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 803093,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_x5dP",
|
| 76 |
+
"review_id": "wZCdmqVjjQ",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 1,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 1,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2332,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1088753,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13832.md
ADDED
|
@@ -0,0 +1,307 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
- LEARNING BY CAUSALITY TO IMPROVE CHANNEL DE
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
ABSTRACT Beyond the conventional long-term temporal dependency modeling, multivariate time series (MTS) forecasting has rapidly shifted toward channel dependency (CD) modeling. This shift significantly improves modeling quality by fully leveraging both multivariate relationships and temporal dependencies. Recent methods primar- ily model channel dependency through correlation learning (e.g., cross-attention) or non-trainable statistical techniques (e.g., cross-correlation), however, these ap- proaches are insufficient to fully capture the intrinsic relationships within MTS, particularly those stemming from directed cause-effect (i.e., causality) and non- stationary variates originating from diverse sources. In addition, causality may arise in MTS with different temporal behaviors, such as varying periodicity or discrete event sequences, which remains underexplored. In this paper, we propose CALAS (Causality-enhanced Attention with Learnable and Adaptive Spacing), the first end-to-end learning method for MTS forecasting that uncovers causality among variates without relying on statistical measures or prior knowledge. To model under- lying causality, which consists of causal strength and propagation delay, we newly design a hypernetworks-based 1D convolutions mechanism. Inspired by dilated convolution with learnable spacings (DCLS) and spiking neural networks (SNNs), we extend discrete time delay into a continuous Gaussian kernel. Combining the hypernetworks-generated Gaussian kernel and convolutional weights (i.e., attention or causal strength), we achieve the end-to-end dynamic causality modeling mecha- nism, improving the prediction accuracy, quality, and interpretability of both MTS forecasting results and models. For evaluation, we conduct extensive experiments with six real-world datasets and qualitative analysis to demonstrate CALAS’s supe- riority in capturing varying causality in a data-agnostic manner. The experiment results indicate that CALAS has significantly improved MTS forecasting accuracy compared to state-of-the-art methods by dynamically modeling causality among variates. 1 INTRODUCTION Multivariate time series (MTS) forecasting is one of the core problems in time series analysis, widespread in various domains such as traffic (Li & Shahabi, 2018; Lee et al., 2020; Wu et al., 2020), finance (Zeng et al., 2023; Zhu & Shasha, 2002), and weather (Matsubara et al., 2014; Wu et al., 2021). The fundamental idea of MTS forecasting methods is to build a mapping function from input (i.e., historical) to output (i.e., future) MTS by learning inherent dependencies of MTS. To model the intrinsic dependencies of MTS, the main flow of MTS forecasting is evolved into two distinguished categories – temporal dependency modeling and channel (or, variate) dependency modeling. For temporal dependency modeling, researchers have proposed novel deep learning architectures, ranging from RNN-based models (Li et al., 2018; Jiang et al., 2023; Zonoozi et al., 2018) to Transformer-based architectures (Vaswani et al., 2017; Zhou et al., 2021; Liu et al., 2022), or have modified existing model for improved dependency modeling (Bai et al., 2020; Wu et al., 2021; Zhou et al., 2022). While these advances have significantly improved MTS forecasting quality, they often fail to capture important temporal characteristics, such as periodicity (Oreshkin et al., 2020; Wu
|
| 8 |
+
|
| 9 |
+
For temporal dependency modeling, researchers have proposed novel deep learning architectures, ranging from RNN-based models (Li et al., 2018; Jiang et al., 2023; Zonoozi et al., 2018) to Transformer-based architectures (Vaswani et al., 2017; Zhou et al., 2021; Liu et al., 2022), or have modified existing model for improved dependency modeling (Bai et al., 2020; Wu et al., 2021; Zhou et al., 2022). While these advances have significantly improved MTS forecasting quality, they often fail to capture important temporal characteristics, such as periodicity (Oreshkin et al., 2020; Wu et al., 2021; Zeng et al., 2023). To address this issue, some approaches incorporate prior knowledge
|
| 10 |
+
|
| 11 |
+
1
|
| 12 |
+
|
| 13 |
+
Figure 1: Distribution shift over lead-lag relationships in the Weather dataset (1,3, and 4-th variates in the dataset). (Left) In the historical data from time _t − T_ + 1 to _t −_ 1, two variates, _v_ 1 and _v_ 2, exhibit a strong causality, while _v_ 3 has no causal relation with _v_ 1 and _v_ 2 (top causal graph). (Right) In the consecutive output signals, the relationship between _v_ 1 and _v_ 2 weakens, while both _v_ 1 and _v_ 2 newly establish a strong causal relation with _v_ 3, invoking need for a layer-agnostic causality modeling. from time series analysis, such as time series decomposition (Wu et al., 2021; Zeng et al., 2023; Zhou et al., 2022; Nie et al., 2023), or integrate statistical methods, including correlation and Fourier transformation (Zhou et al., 2022; Wu et al., 2023; Yi et al., 2023b), into their models. Nie et al. (2023) have recently introduced a patch-based input representation that enables models to learn semantic information directly without prior knowledge. Additionally, several methods have been developed to handle non-stationary behavior and distribution shifts frequently observed in real-world MTS data (Kim et al., 2022; Zhou et al., 2023). On the other hand, a line of research has focused on modeling channel dependencies (CDs) in MTS, named channel dependency (CD) modeling. Their strategies can be categorized into two main approaches: correlation-based and causality-based. In correlation-based methods, CD are typically captured using advanced neural architectures, such as GNNs (Guo et al., 2019; Wu et al., 2019; Li et al., 2018), CNNs (Wu et al., 2023; Zeng et al., 2024; donghao & wang xue, 2024), and Attention mechanisms (Zhang & Yan, 2023; Liu et al., 2023; Zhou et al., 2021; Wang et al., 2024), often incorporating Fourier transformation and multi-periodicity decomposition (Wu et al., 2023; Yi et al., 2023a). Recently, some researchers have argued that CDs in MTS are inherently directional, meaning they involve cause-and-effect relationships (i.e., causality) and cannot be fully understood through correlation-based, non-directional models (Wu et al., 2020; Li & Shahabi, 2018; Zhao & Shen, 2024; Lee et al., 2022). Certain GNN-based methods attempt to learn cause-effect relationships using node embeddings; however, they struggle to fully capture the dynamic nature of causality (Wu et al., 2020). Recently, Zhao & Shen (2024) have proposed a novel method that leverages causality extracted from cross-correlation to align output signals with propagation delay along with corresponding leading indicators. While this approach addresses dynamic changes in causality, questions remain about the capacity of cross-correlation and sensitivity to hyperparameters (e.g., the maximum number of leading indicators). These issues highlights two ongoing challenges in adopting causality modeling in MTS: 1) lack of end-to-end, learning-based dynamic causality modeling methods; and 2) limitation of prior knowledge or statistical methods in fully leveraging intrinsic causality in MTS. Figure 1 presents a motivating example from the Weather dataset, where local causality changes in consecutive signals, highlighting the need for dynamic causality modeling. It also emphasizes a need for layer-agnostic causality modeling methods that can be applied in any level of input, intermediate, or output layers, since causal structure may changed even within model forwarding. Additionally, it suggests a potential side-effect of statistic-based CD modeling approaches, such as cross-correlation (e.g., LIFT (Zhao & Shen, 2024)), which could mislead models to focus on less relevant variates. Moreover, correlation-based methods often struggle with long-term MTS, especially in signals with strong short-term periodicity. To further describe this phenomena, we present Figure 2 that shows synthetic signals with a periodic seasonal pattern, sinusoidal trends, and varying noise level. While all three signals shares the same seasonal pattern, _v_ 2 and _v_ 3 exhibit a stronger causal relationship than others. Nevertheless, statistical methods tend to emphasize the seasonal patterns, leading to errors in identifying the correct lead-lag relationship, as illustrated in the bottom graph of Figure 2.
|
| 14 |
+
|
| 15 |
+
from time series analysis, such as time series decomposition (Wu et al., 2021; Zeng et al., 2023; Zhou et al., 2022; Nie et al., 2023), or integrate statistical methods, including correlation and Fourier transformation (Zhou et al., 2022; Wu et al., 2023; Yi et al., 2023b), into their models. Nie et al. (2023) have recently introduced a patch-based input representation that enables models to learn semantic information directly without prior knowledge. Additionally, several methods have been developed to handle non-stationary behavior and distribution shifts frequently observed in real-world MTS data (Kim et al., 2022; Zhou et al., 2023).
|
| 16 |
+
|
| 17 |
+
On the other hand, a line of research has focused on modeling channel dependencies (CDs) in MTS, named channel dependency (CD) modeling. Their strategies can be categorized into two main approaches: correlation-based and causality-based. In correlation-based methods, CD are typically captured using advanced neural architectures, such as GNNs (Guo et al., 2019; Wu et al., 2019; Li et al., 2018), CNNs (Wu et al., 2023; Zeng et al., 2024; donghao & wang xue, 2024), and Attention mechanisms (Zhang & Yan, 2023; Liu et al., 2023; Zhou et al., 2021; Wang et al., 2024), often incorporating Fourier transformation and multi-periodicity decomposition (Wu et al., 2023; Yi et al., 2023a). Recently, some researchers have argued that CDs in MTS are inherently directional, meaning they involve cause-and-effect relationships (i.e., causality) and cannot be fully understood through correlation-based, non-directional models (Wu et al., 2020; Li & Shahabi, 2018; Zhao & Shen, 2024; Lee et al., 2022). Certain GNN-based methods attempt to learn cause-effect relationships using node embeddings; however, they struggle to fully capture the dynamic nature of causality (Wu et al., 2020). Recently, Zhao & Shen (2024) have proposed a novel method that leverages causality extracted from cross-correlation to align output signals with propagation delay along with corresponding leading indicators. While this approach addresses dynamic changes in causality, questions remain about the capacity of cross-correlation and sensitivity to hyperparameters (e.g., the maximum number of leading indicators). These issues highlights two ongoing challenges in adopting causality modeling in MTS: 1) lack of end-to-end, learning-based dynamic causality modeling methods; and 2) limitation of prior knowledge or statistical methods in fully leveraging intrinsic causality in MTS.
|
| 18 |
+
|
| 19 |
+
2
|
| 20 |
+
|
| 21 |
+
Figure 2: A illustration of long-term lead-lag relationships over the synthetic signal with seasonality and trend. Dashed line in time series shows trends. The top-right graph is the actual causality graph during data generation, while the bottom-right one is causality graph calculated with cross-correlation. In causality graph, dashed line means weak (or possibly undirected) relationship. There are large misalignment on the lead-lag steps. In this work, we propose a novel end-to-end causality modeling method named CALAS[1] (Causality- enhanced Attention with Learnable and Adaptive Spacing) that converts correlation-based attention into causality by incorporating dilated convolution with learnable spacing (DCLS) (Hassani et al., 2023; Khalfaoui-Hassani et al., 2023) and hypernetworks (Ha et al., 2017) in a novel way. CALAS consists of three components: two hypernetworks and one convolutional neural network. To uncover the dynamic causal relations among MTS while considering its propagation delay, we extend the static delay modeling with the Gaussian kernel by introducing input-based dynamic delay modeling. Specifically, we adopt the hypernetworks–neural networks that generate the weights for another network–to model both the dynamic causal strength and propagation delay (i.e., causality map). We utilize two hypernetworks: one for estimating the Gaussian kernel, which serves as the time lag (or delay) of causality, and the other to measure the strength of the causality. After generating the weights, CALAS applies the resulting causality map directly through the convolutional architecture. In addition to enabling flexible causality learning beyond the methods relying on prior knowledge, our design enhances interpretability by separating causality map into causal strength and propagation delay. Furthermore, unlike the other causality-based CD models, CALAS can learn causality in input space, output space, or both, offering greater flexibility in integrating CALAS with other causality modeling methods, which will be discussed in the experimental results. The main contributions of this paper can be summarized as follows. • We introduce a new perspective on converting the correlation-based attention score into causality-based relationships by decomposing the causality map into learnable delay and causal strength. • We design a novel architecture, CALAS, that enables the end-to-end learning of dynamic cause-and-effect relationships among variates for MTS forecasting. By design, CALAS can be applied in a model-agnostic way at any stage of the MTS forecasting models, including input and output space. To the best of our knowledge, CALAS is the first work to model causality for MTS forecasting in an end-to-end manner. • Experimentally, we demonstrate that CALAS significantly improves the state-of-the-art methods. Specifically, our model improves the existing models by 7.61% on average, out- performing existing methods (e.g., LIFT) by 2.21 percentage points. We highlight that the improvements become larger for long-term forecasting, 9.45% on average. We have also revealed that CALAS can be integrated with other causality-based plug-and-play modules, such as LIFT, resulting in substantial performance gains.
|
| 22 |
+
|
| 23 |
+
> 1Github link for source code will be provided.
|
| 24 |
+
|
| 25 |
+
3
|
| 26 |
+
|
| 27 |
+
## 2 RELATED WORK
|
| 28 |
+
|
| 29 |
+
MTS forecasting could be categorized into two research theme: temporal dependency modeling without inter-variate dependencies (i.e., channel-independent methods) and channel dependency (CD) modeling methods. Since our paper aims to solve CD modeling problem, we briefly introduce CI methods and move on to CD methods.
|
| 30 |
+
|
| 31 |
+
In MTS forecasting, CI methods are well-studied and are still on-going research directions, ranging from statistical models (e.g., ARIMA (Box et al., 2015), hidden Markov model (Pesaran et al., 2004)) to recent deep learning models (Liu et al., 2023; Zhao & Shen, 2024). Recent models are focusing on the long-term dependency modeling by leveraging the traditional studies, such as Fourier transformation (Zhou et al., 2022; Yi et al., 2023b; Xu et al., 2024) or by proposing novel input representation methods (Nie et al., 2023; Wu et al., 2021; Zeng et al., 2023; Hu et al., 2024; Jia et al., 2023). Those methods contribute to MTS forecasting domain by deeply understanding in-nature characteristics of time series (i.e., temporal dependency). On the other hands, CD methods aim to uncover the intrinsic channel-wise dependency. Based on the methodology and assumption for channel dependency, CD methods can be divided into four categories: 1) model-based dynamic correlation learning (Learnable Correlation in Table 1), 2) model-based static causality learning (Learnable Static Causality in Table 1), 3) statistics-based dynamic causality learning (Statistics-based Causality in Table 1), and 4) model-based dynamic causality learning (Ours in Table 1). For CD modeling, there are primarily two directions–learnable correlation with attention mechanism (Zheng et al., 2020; Vaswani et al., 2017; Behrouz et al., 2024; Zhang & Yan, 2023) and learnable static causality with graph neural networks (GNNs) and learnable embedding (Cao et al., 2020; Guo et al., 2019; Wu et al., 2020; 2019; Lee et al., 2022). While attention mechanism aims to reconstruct correlation map by projecting inputs into the feature space, GNN-based methods try to approximate underlying, time-independent causal structure with learnable node embedding. However, those approaches merely discuss the lead-lag relationship and propagation delay, which is crucial for the CD modeling. Recently, a few researches (Wu et al., 2020; Zhao & Shen, 2024) depict that when two signals have cause-effect relationship, there exist a time-lag for ‘cause’ signal to influence the ‘effect’ signal, which we call propagation delay. To fully leverage the benefits of CD methods, it is necessary to consider propagation delay, since ignorance of propagation delay making the model refer the outdated information (Zhao & Shen, 2024). To the best of our knowledge, LIFT (Zhao & Shen, 2024) is the only work that explicitly aims to solve the propagation delay by leveraging cross-correlation, which is statistics-based causality in our categorization. However, overrelying the statistical measure introduces a number of limitations, such as the information bottleneck from the excessively large number of recurring patterns (Lee et al., 2022), possible misalignment, and need of reference signals that limit the utilization of model in various situation. We describe those properties in Table 1. Table 1: Comparison of existing CD methods. ∆ means the method partially satisfies the condition. Methods Learnable Correlation Learnable Static Causality Statistics-based Causality Ours (CALAS) Delay-awareness _× ×_ ✓ ✓ Directed _×_ ✓ ∆ ✓ Dynamic ✓ _×_ ✓ ✓ Learnable ✓ ✓ _×_ ✓ Example Methods Attention (Vaswani et al., 2017) GNNs (Wu et al., 2020) LIFT (Zhao & Shen, 2024) None (Ours) 3 PRELIMINARIES Let **x** _t ∈_ R _[N]_ denote a multivariate time series (MTS) with _N_ variates (i.e., channels) at a time step _t_ . Given _T_ -length historical observation **X** _t_ = _{_ **x** _t−T_ +1 _, . . . ,_ **x** _t} ∈_ R _[T][ ×][N]_ at time _t_ , MTS forecasting aims to predict corresponding future _L_ -length MTS **Y** _t_ = _{_ **x** _t, . . . ,_ **x** _t_ + _L} ∈_ R _[L][×][N]_ . In the remaining sections, we denote the _i_ -th variate of MTS as **X**[(] _[i]_[)] _∈_ R _[T]_ , and each point at time _t_ as **213 214 x**[(] _t[i]_[)][. Formally, MTS forecasting could be described as below:] **215 Definition 3.1.** Given MTS data **X** _t_ , MTS forecasting aims to approximate the model _f_ ( _·, θ, θ_ ) :
|
| 32 |
+
|
| 33 |
+
**Definition 3.1.** Given MTS data **X** _t_ , MTS forecasting aims to approximate the model _f_ ( _·, θ, θ_ ) : R _[T][ ×][N] →_ R _[L][×][N]_ by minimizing _L_ ( _f_ ( **X** _t, θ_ ) _,_ **Y** _t_ ).
|
| 34 |
+
|
| 35 |
+
4
|
| 36 |
+
|
| 37 |
+
_·_ For the channel-independent (CI) models, _f_ ( _, θ_ ) shares the same parameter for all variates, enabling
|
| 38 |
+
|
| 39 |
+
the universal representation learning for MTS, on the other hand, it merely models the channel
|
| 40 |
+
|
| 41 |
+
dependency that is crucial in MTS forecasting. It therefore focuses more on the temporal dependency
|
| 42 |
+
|
| 43 |
+
modeling.
|
| 44 |
+
|
| 45 |
+
Given MTS **X** _t_ at time _t_ , we assume that there is unknown dynamic causal graph **A** _t_ , where each element (i.e., relationship from _i_ -th variate to _j_ -th variate) is defined as _ai,j_ = _{wi,j, δi,j} ∈_ R _×_ N. _wi,j_ means the strength of causality and _δi,j_ means the discrete delay. In addition to the temporal dependency, Channel dependency (CD) modeling methods aim to approximate the causal graph **A** _t_ as below:
|
| 46 |
+
|
| 47 |
+
**225 Definition 3.2.** Channel dependency modeling aims to approximate _f_ ( _·, θ|A_[˜] _t_ ) that minimize _L_ ( _f_ ( **X** _t, θ|A_[˜] _t_ ) _,_ **Y** ), where _A_[˜] _t_ is approximation of causal graph **A** _t_ with learnable parameter _θA_ such that _A_[˜] _t_ = _g_ ( _θA_ ) or _A_[˜] _t_ = _g_ ( **X** _, θA_ ). 3.1 DETAILED CATEGORIZATION FOR CHANNEL DEPENDENCY MODELING From the literature review, we have identified two distinctions in CD methods: the perspective on temporal variation and the type of relationship. Regarding temporal variation, CD modeling can be classified as either static or dynamic. Static CD modeling assumes that the underlying causal structure remains constant over time (i.e., **A** _t_ = **A** _t′∀t, t[′]_ ), thus avoiding instantaneous effects or potential misleading caused by anomalous values. This approach is widely used in early traffic forecasting (Wu et al., 2020; 2019; Li et al., 2018; Lee et al., 2022) and causal discovery (Cheng et al., 2023b; 2024). In contrast, dynamic CD modeling assumes that CD can change over time. It is a dominant research trend in long-term MTS forecasting, including Crossformer (Zhang & Yan, 2023) and LIFT (Zhao & Shen, 2024). Dynamic CD modeling offers the advantage of adjusting the strength or nature of dependencies and also help mitigate distribution shifts in channel dependency (Zhao & Shen, 2024; Jiang et al., 2023). Additionally, CD can be categorized into two types of relationships: undirected and directed. Correla- tion, an undirected relationship, is a traditional approach to modeling time series data. Transformer- based models are a representative example,utilizing self-attention mechanism to model channel de- pendencies. Recent patch-based models (Nie et al., 2023; Zhang & Yan, 2023) or inverted embedding methods (Liu et al., 2023) also fall under correlation-based model due to their input representations. On the other hand, there are a few researches focus on directed causal relation, using GNNs (Wu et al., 2020; Jiang et al., 2023) or statistical methods (Zhao & Shen, 2024). Directed CD methods explicitly target lead-lag, propagation, or causality as their objective, often relying on either static structure learning (Wu et al., 2020) or statistical methods, such as cross-correlation (Zhao & Shen, 2024). Moreover, there is no literature that explicitly learns the delay in MTS, limiting the interpretability. 4 METHODS In this section, we introduce proposed methods, CALAS, a end-to-end dynamic causality modeling methods for MTS forecasting. Before we detail CALAS, we revisit the Granger causality and causal discovery in real-world MTS data to discuss the gap between the real-world MTS and causal discovery. We then explain decomposition of the causality graph into strength and propagation delay. It disentangles the causal strength and time-lag for propagation, enabling in-depth analysis over channel dependencies. Afterwards, we explain the propagation of causal effects in terms of 1D convolution (Section 4.2). Lastly, we describe how CALAS achieves dynamic causality modeling with two hypernetworks (Section 4.3). Our model first generate the convolutional weights (Section 4.3) and then feed them into Gaussian kernel (Equation 4 in Section 4.2). Then, it applies generated causal graph with 1D convolution (Equation 3) and forward to next layer (in case of Figure 3a). **264 265 Motivations** Even though many researches discuss the importance of **propagation delay** (Wu et al., 2020; Zhao & Shen, 2024; Jin et al., 2023), which means the time taken for a cause signal to actually influence the effect signal, there are less effort to explicitly model the discrete delay in MTS forecasting. This ignorance eventually induces the misleading of causality by introducing additional complexity in CD modeling. Recent research utilizes cross-correlation to find the lead-lag relationship
|
| 48 |
+
|
| 49 |
+
**Motivations** Even though many researches discuss the importance of **propagation delay** (Wu et al., 2020; Zhao & Shen, 2024; Jin et al., 2023), which means the time taken for a cause signal to actually influence the effect signal, there are less effort to explicitly model the discrete delay in MTS forecasting. This ignorance eventually induces the misleading of causality by introducing additional complexity in CD modeling. Recent research utilizes cross-correlation to find the lead-lag relationship and its propagation delay, however, it also relies on the causal strength rather than actually model
|
| 50 |
+
|
| 51 |
+
5
|
| 52 |
+
|
| 53 |
+
(a) (b) Figure 3: (a) CALAS when applied to input space and (b) an overview of CALAS forwarding path with respect to output channel _N_ . Given input MTS (b, left), two hypernetworks of delay and causal strength estimators calculate propagation delay, standard deviation, and causal strength (b, middle). Standard deviation is utilized to convert discrete delay into continuous form. Finally, Gaussian 1D convolutional kernel is constructed and CALAS operates causal propagation with the propagation module (b, right). For the sake of simplicity, we assume that _σ_ is sufficiently small, so we have an almost discrete kernel. The two blue modules are hypernetworks and dash-dotted line means supplying the generated parameters from the hypernetworks. the discrete delay (Zhao & Shen, 2024). The importance of delay learning is also actively discussed and is demonstrated in spiking neural networks, which also solves the problem with propagation delays (Maass, 1997; Maass & Schmitt, 1999; Shrestha & Orchard, 2018; Hammouamri et al., 2024). Maass & Schmitt (1999) theoretically and experimentally demonstrated that _k_ adjustable delays can compute a much richer class of functions than one with _k_ adjustable weights. Motivated by those factors, we newly introduce hypernetworks-based 1D convolution mechanism that learns both dynamic causal strength and propagation delay in end-to-end manner. 4.1 CAUSALITY, GRANGER-CAUSES, AND CAUSAL DISCOVERY IN REAL-WORLD MTS DATA **301 302 Causality** In the causal discovery domain, the causality is commonly based on several assumptions: Markovian condition, faithfulness, sufficiency, no instantaneous effect, and stationarity (Cheng et al., 2024). However, in the real-world MTS, it is hard to observe “all possible events and causes in the world,” the sufficiency–all common causes of variables are observed–and stationarity–all the causal relationships remain constant throughout time– are hard to be hold. For the real-world MTS data, we need to assume that there exists latent variables or events that changes causality of observed variates. Therefore, in this paper, _causality_ is based on the assumptions for Markovian condition, faithfulness, and sufficiency. We emphasize that _causality_ in this paper is not necessarily be **true causality** , which have assumptions for no latent compounder and no unseen events. **310 311 Concepts of CALAS** The basic idea of CALAS stems from the concepts of multivariate Granger causality (GC) analysis (Granger, 1969). Multivariate GC analysis is performed by fitting a VAR model with given maximum possible propagation delay _k_ as below: _k_ _Xt_ = � _Wτ Xt−τ_ + _ϵ_ ( _t_ ) _,_ (1) _τ_ =1 where _Wτ ∈_ R _[N][×][N]_ is an estimated causal strength with propagation delay _τ_ . Several approaches are proposed to resolve limitations on GC, such inability to capture non-linear causal relationship (Tank et al., 2022; Cheng et al., 2023b). However, they stick to the static and individual causality measure for each time lag, disregarding the continuous property of MTS. To resolve these limitations, we set our design rationales as: 1) time lag (i.e., propagation delay) for two time series should be unique and be estimated with continuous function, 2) causal strength and propagation delay should be disentangled, and 3) the causality estimation should be time-dependent, more precisely, should handle latent compounder and unseen events.
|
| 54 |
+
|
| 55 |
+
6
|
| 56 |
+
|
| 57 |
+
4.2 CAUSAL PROPAGATION INTO TEMPORAL CONVOLUTION Given **X**[(] _[i]_[)] and **X**[(] _[j]_[)] , let assume that they have _wi,j_ lead-lag relationship with _di,j_ propagation delay. Let assume that we can derive **x** _t_[(] _[i]_[)] from a set of ‘cause’ signals. Then, we can formulate **x**[(] _t[i]_[)] as below: **329 330 x**[(] _t[i]_[)] = � _wi,j_ **x**[(] _t−[j]_[)] _di,j[,]_ (2) _j∈Nt_[(] _[i]_[)] where _Nt_[(] _[i]_[)] is a set of ‘cause’ signals with respect to **x**[(] _t[i]_[)] at time _t_ . In our paper, we assume that all variates could act as potential cause signals (i.e., _|Nt_[(] _[i]_[)] _|_ = _N_ ) at model initialization. We can reformulate Equation 2 into one dimensional temporal convolution with Dirac delta function _δ_ as follows: **337 x**[(] _t[i]_[)] = � _wi,jδ_ ( _t − di,j_ ) _∗_ **x**[(] _t[i]_[)] _[,]_ (3) _j∈Nt_[(] _[i]_[)] where _∗_ is 1D convolution and _δ_ ( _t − a_ ) _∗ f_ ( _t_ ) = _f_ ( _t − a_ ). We have detailed this process in right side of Figure 3b. To approximate Dirac delta function, we utilize Gaussian kernel with maximum delay (kernel size in trivial 1D convolution) (Hassani et al., 2023; Khalfaoui-Hassani et al., 2023). Let assume that we have _k_ -size convolutional kernel for our model. Then, we approximate Gaussian kernel centered at _k − di,j −_ 1, where _di,j ∈_ [0 _, k −_ 1] _,_ with standard deviation _σi,j ∈_ R _[∗]_ . Then, _∀n ∈_ [0 _, . . . , k −_ 1] our _k_ -size convolutional kernel will be: _ki,j_ [ _n_ ] = _[w][i][,j] −_[1] _n − k_ + _di,j_ + 1 2 _,_ where (4) _A[exp]_ � 2 � _σi,j_ � � _k−_ 1 **351352** _A_ = _ϵ_ + _n_ �=0 _exp_ � _−_ 2[1] � _n − k_ + _σi,j di,j_ + 1 �2� with _ϵ ∈_ R _[∗]_ to avoid division by zero. In Equation 4, _wi,j ∈_ R, _di,j ∈_ [0 _, k −_ 1], and _σ ∈_ R _[∗]_ are trainable parameter. Gaussian kernel converts the discrete Dirac delta function, which is not differentiable, into the continuous function, enabling the gradient calculation. To avoid underfitting of the delay, we penalize the _σ_ with boundary value _v_ , which continuously decreases up to 0.01 during the training phase. In the inference phase, we replace the Gaussian kernel with pulse function (i.e., hard voting). As a results, we can obtain almost discrete kernel representation as Figure 3b. Despite the Gaussian kernel-based 1D convolution successfully parameterized both propagation delay and causal strength, it still has two limitations for dynamic causality modeling. First of all, trained causal map is fixed matrix and will not changed. It thus will be vulnerable to distribution shifts of causality. Secondly, it cannot directly observe and utilize the input information and lead- lag relationship, which make the model hardly understand intrinsic nature of MTS. Therefore, we additionally introduce hypernetworks to generate parameters in Equation 4. 4.3 CAUSALITY-ENHANCED ATTENTION WITH LEARNABLE AND ADAPTIVE SPACING In this section, we describe the overall flow of CALAS with hypernetworks when it applied to input layer, as illustrated in Figure 3a. Specifically, we utilize two hypernetworks, one for the causal strength, and the other for delay learning. The generation process are shared for both hypernetworks, however, the causal strength is shared for k possible delays. Specifically, in the Equation 4, _wi,j ∈_ R _, σi,j ∈_ R _, di,j ∈_ R _[k]_ . By sharing same causal strength for the same pair of variates, CALAS achieves better generalization for causal strength.
|
| 58 |
+
|
| 59 |
+
We design our hypernetworks with one multi-layer perceptron (MLP) and feature embedding. MLP layer takes the input vector _z ∈_ R _[T][ ×][N][i]_ (in Figure 3a, **X** _t_ ), where _Ni_ is input channels, and project it into hidden size of _H_ . To map the projected input to the _No_ channels, we introduce embedding vectors **M** = _{_ **m**[(1)] _, . . . ,_ **m**[(] _[N][o]_[)] _},_ where **m**[(] _[i]_[)] _∈_ R _[h][×][N][o]_ . **M** is initially random vectors and will be trained to represent the static features of each output variate. For the output channels, we can
|
| 60 |
+
|
| 61 |
+
7
|
| 62 |
+
|
| 63 |
+
interchangeably use MLP or embedding vectors with users’ intention. Thus, we generate weights _wi,j_ as follows: _wi[in]_ = _wMLP z_[(] _[i]_[)] + _bMLP_ ; _wi,j_ = _g_ ( _wi[in][,]_ **[ m]**[(] _[j]_[)][)] where _wMLP ∈_ R _[T][ ×][H]_ and _bMLP ∈_ R _[H]_ are learnable parameters. Function _g_ ( _·, ·_ ) could be any function or operation to generate R _[N][i][×][N][o]_ map, including matrix multiplication and self-attention. To generate causal strength, we utilize matrix multiplication with LeakyReLU activation function, resulting to R _[N][i][×][N][o]_ vector. For the propagation delay, we mimic multi-head attention (Vaswani et al., 2017), which generates R _[N][i][×][N][o][×][k]_ output. Generated weights will be directly feed into Gaussian kernel (Equation 4) and then forward to propagation module (Figure 3b). CALAS will be served as the plug-in module injected in input-, output-, or intermediate-layers. In case of Figure 3a, CALAS has plugged into the input layer and its output will be served as the input for backbone model. 5 EXPERIMENTS 5.1 EXPERIMENTAL SETTINGS **394 395 Datasets** Following previous researches (Zhou et al., 2021; 2022; Nie et al., 2023), we conduct experiments on six MTS datasets, including Weather, Electricity, Traffic, Solar, Wind, and PeMSD8. In this paper, we have excluded ETT* datasets because they are recorded from the same sources, which means they simultaneously changes and have no causal relationship (Zhou et al., 2021). We also exclude Exchange-rate dataset since it is well known that _xt−_ 1 is the best predictor for _xt_ if the market is efficient (Fama, 1970; Rossi, 2013) and Zeng et al. (2023) have experimentally demonstrated that simply repeating the last value can outperform or be comparable to the best results. **402 403 Baselines** To demonstrate performance of CALAS as a plug-in module, we conduct the experiments with CALAS and four MTS forecasting backbones, PatchTST (Nie et al., 2023), DLinear (Zeng et al., 2023), Crossformer (Zhang & Yan, 2023), and MTGNN (Wu et al., 2020). PatchTST and DLinear is channel-independent modeling methods and others are channel-dependent methods. We further compared our results with statistics-based plug-in module, LIFT (Zhao & Shen, 2024), to prove effectiveness of end-to-end dynamic causality modeling. We also provide comparative experiments with Linear model-based CALAS with baseline methods, additionally including FEDformer (Zhou et al., 2022), Autoformer (Wu et al., 2021), and LightMTS (Zhao & Shen, 2024). **410 411 Setups** We follow the same experimental settings as previous MTS forecasting works (Zhou et al., 2022; Nie et al., 2023), where the forecasting horizon _L ∈{_ 96 _,_ 192 _,_ 336 _,_ 720 _}_ and lookback window _T_ = 336. All the baselines follow the experimental settings, including hyperparemeter settings, in official code. For CALAS, we adopt the Adam optimizer and search the optimal learning rate in _{_ 0 _._ 1 _,_ 0 _._ 05 _,_ 0 _._ 01 _,_ 0 _._ 005 _,_ 0 _._ 001 _,_ 0 _._ 0005 _}_ . We set hidden size _H_ = 64 and batch size to 32. We have run each experiment five times and reported average performance. We also provide quantitative and qualitative results for causal discovery in Appendix A. 5.2 MAIN RESULTS Table 2 indicates the experimental results among four state-of-art methods, LIFT, and CALAS on six MTS datasets. CALAS significantly improves the backbone models by 6.65% on average, outperforming LIFT by 2.01 percentage points. This results indicates both importance of end-to-end dynamic causality modeling and limitation of statistical methods, especially in long-term forecasting. We have omitted the error bars for the experimental results since LIFT and CALAS are stable and has less than 0 _._ 001. We provide comparative analysis and depict important findings in following paragraphs. **427 428 Improvements over backbone models** CALAS significantly improve the performance of backbone models, implying the importance of both channel dependency and propagation delay. For channel- independent (CI) methods, such as PatchTST and DLinear, CALAS achieves an average improvements of 9.88%. We particularly highlight the Weather, Solar, and PeMSD8 datasets, which have shown the largest gains with CALAS. These results are attributed to the complex spatio-temporal dependencies
|
| 64 |
+
|
| 65 |
+
8
|
| 66 |
+
|
| 67 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|Table 2: Performance comparison in terms of forecasting errors. The**bold text**means the best results<br>among backbone, with LIFT, and with CALAS and underlined text<br>means the best results among all<br>the methods for each dataset. We also provide improvements over 1) baseline and 2) LIFT in the<br>second-rightmost and rightmost columns, respectively. Impr. over LIFT displays percent point of<br>improvements.|
|
| 68 |
+
|---|---|---|---|---|---|---|
|
| 69 |
+
||Method|PatchTST<br>+LIFT<br>**+CALAS**<br>MSE MAE MSE MAE MSE MAE|DLinear<br>+LIFT<br>**+CALAS**<br>MSE MAE MSE MAE MSE MAE|Crossformer<br>+LIFT<br>**+CALAS**<br>MSE MAE MSE MAE MSE MAE|MTGNN<br>+LIFT<br>**+CALAS**<br>MSE MAE MSE MAE MSE MAE|Impr.<br>(baseline)<br>Impr.<br>(LIFT)|
|
| 70 |
+
||Weather<br>96<br>192<br>336<br>720|0.152 0.199 0.146 0.196 **0.144**<br>**0.192**<br>0.197 0.243 **0.190** 0.238 0.192 **0.236**<br>0.249 0.283 0.243 0.281 **0.240 0.277**<br>0.320 0.335 0.315 0.333 **0.301 0.325**|0.176 0.237 **0.145** 0.203 0.149 **0.200**<br>0.220 0.282 0.189 0.249 **0.188**<br>**0.247**<br>0.265 0.319 0.243 0.292 **0.238**<br>**0.290**<br>0.323 0.362 0.317 0.349 **0.289**<br>**0.337**|0.145 0.209 0.146 **0.210 0.144**<br>0.211<br>0.197 0.264 0.196 0.262 **0.195 0.261**<br>0.246 0.309 0.245 0.305 **0.244 0.304**<br>0.323 0.364 0.321 0.360 **0.317 0.358**|0.157 0.216 0.154 0.212 **0.150 0.208**<br>0.205 0.269 0.203 0.266 **0.198 0.263**<br>0.258 0.312 0.256 0.308 **0.251 0.300**<br>0.335 0.369 0.333 0.365 **0.322 0.355**|6.76<br>1.06<br>5.59<br>0.82<br>4.56<br>1.56<br>5.02<br>4.01|
|
| 71 |
+
||Electricity<br>96<br>192<br>336<br>720|0.130 0.222 0.128 0.222 **0.127**<br>**0.212**<br>0.148 0.240 0.147 **0.239**<br>**0.144**<br>0.241<br>0.167 0.261 0.163 0.257 **0.162 0.246**<br>0.202 0.291 0.195 0.289 **0.190**<br>**0.282**|0.140 0.237 **0.130 0.225** 0.131 0.226<br>0.153 0.249 0.148 **0.242 0.147** 0.245<br>0.169 0.267 0.163 0.261 **0.161**<br>**0.257**<br>0.203 0.301 0.198 0.295 **0.193 0.294**|0.142 0.243 0.138 0.238 **0.137 0.236**<br>0.159 0.259 0.154 0.251 **0.152 0.247**<br>0.192 0.293 0.176 0.276 **0.173 0.272**<br>0.264 0.353 0.224 0.312 **0.213 0.311**|0.138 0.238 0.133 0.233 **0.131 0.231**<br>0.160 0.261 0.153 0.252 **0.152 0.249**<br>0.193 0.284 0.187 0.275 **0.184 0.268**<br>0.242 0.327 0.216 0.305 **0.213 0.295**|4.23<br>1.15<br>3.45<br>0.79<br>5.95<br>2.20<br>9.87<br>2.76|
|
| 72 |
+
||Traffc<br>96<br>192<br>336<br>720|0.367 0.251 0.352 **0.242**<br>**0.350**<br>0.243<br>0.385 0.259 0.373 **0.251**<br>**0.371**<br>**0.251**<br>0.398 0.265 0.389 0.262 **0.385**<br>**0.259**<br>0.434 0.287 0.429 0.286 **0.425**<br>**0.283**|0.410 0.282 0.394 0.273 **0.388 0.269**<br>0.423 0.287 0.413 0.281 **0.408 0.278**<br>0.436 0.296 0.426 0.288 **0.421 0.285**<br>0.466 0.315 0.454 0.307 **0.443 0.297**|0.519 0.293 0.462 0.284 **0.457 0.277**<br>0.522 0.296 0.490 0.283 **0.488 0.280**<br>0.530 0.300 0.517 0.303 **0.494 0.293**<br>0.584 0.369 0.543 0.322 **0.536 0.312**|0.479 0.289 0.464 0.286 **0.461 0.282**<br>0.507 0.307 0.491 0.301 **0.480 0.299**<br>0.539 0.314 0.519 0.309 **0.512 0.301**<br>0.616 0.352 0.532 0.340 **0.520 0.335**|5.55<br>1.28<br>4.36<br>1.04<br>4.05<br>2.33<br>8.19<br>2.40|
|
| 73 |
+
||Solar<br>96<br>192<br>336<br>720|0.176 0.227 **0.174 0.224 0.174** 0.225<br>0.205 0.260 0.190 0.245 **0.188 0.243**<br>0.200 0.252 0.194 0.249 **0.192 0.247**<br>0.229 0.282 0.203 0.261 **0.200 0.256**|0.222 0.291 0.185 0.238 **0.178 0.233**<br>0.249 0.309 0.194 0.253 **0.190 0.252**<br>0.269 0.324 0.198 0.260 **0.197 0.255**<br>0.271 0.327 0.207 **0.260 0.204** 0.265|0.179 0.245 **0.174** 0.224 0.176 **0.221**<br>0.204 0.254 0.197 0.250 **0.181 0.248**<br>0.216 0.257 0.204 0.254 **0.194 0.253**<br>0.211 0.250 0.202 0.255 **0.198 0.254**|0.167 0.224 0.166 0.223 **0.160**<br>**0.214**<br>0.180 0.243 0.179 0.239 **0.169**<br>**0.228**<br>0.191 0.251 0.190 0.245 **0.187**<br>**0.233**<br>0.197 0.256 0.195 0.251 **0.192**<br>**0.245**|9.16<br>2.11<br>12.2<br>3.61<br>11.6<br>2.46<br>11.6<br>1.38|
|
| 74 |
+
||Wind<br>96<br>192<br>336<br>720|0.186 0.216 0.175 0.213 **0.170 0.207**<br>0.204 0.229 0.191 0.224 **0.187 0.219**<br>0.216 0.239 0.202 0.234 **0.199 0.230**<br>0.231 0.253 0.215 0.247 **0.212 0.244**|0.197 0.230 0.177 0.214 **0.174 0.212**<br>0.218 0.245 **0.193** 0.226 **0.193 0.225**<br>0.233 0.258 **0.205 0.238 0.205** 0.239<br>0.254 0.278 0.225 **0.256 0.218** 0.261|0.172 0.218 0.169 0.208 **0.168 0.202**<br>0.189 0.230 **0.187** 0.222 **0.187 0.213**<br>0.201 0.240 0.199 0.232 **0.198 0.231**<br>0.237 0.286 0.224 0.254 **0.221 0.251**|0.170 0.211 0.169 **0.208 0.167**<br>0.210<br>0.186 0.223 0.184 0.220 **0.181**<br>**0.219**<br>0.195 0.233 0.192 0.227 **0.188**<br>**0.224**<br>0.200 0.236 0.200 0.232 **0.197**<br>**0.229**|6.01<br>1.80<br>6.14<br>1.61<br>5.90<br>1.03<br>7.68<br>1.38|
|
| 75 |
+
||PeMSD8<br>96<br>192<br>336<br>720|0.445 0.316 0.410 0.305 **0.397 0.300**<br>0.519 0.354 0.471 0.337 **0.466 0.334**<br>0.562 0.366 0.511 0.353 **0.506 0.344**<br>0.653 0.403 0.563 0.378 **0.542 0.369**|0.562 0.421 0.449 0.336 **0.431 0.328**<br>0.611 0.443 **0.502 0.364** 0.505 0.370<br>0.648 0.462 0.532 0.379 **0.530 0.375**<br>0.748 0.519 0.597 **0.414 0.595** 0.424|0.373 0.290 0.368 **0.286**<br>**0.366**<br>0.288<br>0.409 0.312 0.399 0.303 **0.397**<br>**0.302**<br>0.439 0.318 0.430 0.310 **0.422**<br>**0.305**<br>0.488 0.356 0.468 0.338 **0.451**<br>**0.322**|0.393 0.304 0.386 0.297 **0.385 0.293**<br>0.440 0.333 0.429 0.324 **0.420 0.317**<br>0.468 0.350 0.441 0.333 **0.437 0.330**<br>0.511 0.379 0.484 0.342 **0.481 0.338**|10.6<br>2.09<br>9.28<br>0.66<br>10.6<br>1.54<br>14.4<br>2.18|
|
| 76 |
+
||recorded at 5- or 10-minute intervals, requiring more sophisticated dependency modeling. For instance,<br>although both Traffc and PeMSD8 datasets consists of traffc recordings from a large number of<br>sensors (862 and 510 sensors, respectively), the PeMSD8 dataset exhibits much greater fuctuation and<br>recording errors, making it more diffcult for CI models to accurately predict future states by relying<br>solely on temporal dependencies. For channel-dependent (CD) methods, such as Crossformer and<br>MTGNN, CALAS makes an average improvements of 5.34% across six datasets. Notably, Electricity<br>and Traffc datasets show the largest improvements, with gains of up to 18.46%. This is due to the<br>presence of multiple short-term periodicities in the data, which require an understanding of frequency<br>or propagation delay. By injecting an awareness for propagation delay, CALAS signifcantly enhances<br>the modeling qualities on highly periodic datasets.<br>**Improvements over plug-in method**<br>Compared to the recently developed plug-in method, LIFT,<br>CALAS achieves an additional improvement of 2.21 percentage points. This improvement is even<br>more pronounced in datasets containing signals from a variety of sensors (e.g., Weather) and in<br>long-term forecasting tasks. We hypothesize that this performance gain is caused by several factors:<br>**F1**: the presence of short-term distribution shifts in channel dependency,**F2**: the limited diversity of<br>statistically extracted ‘cause’ signals, and**F3**: limitation of LIFT’s layer-specifc design.<br>Across all datasets, we observe that CALAS tends to outperform LIFT, particularly in long-term<br>forecasting tasks. We will showcase three cases: Weather, Electricity, and Traffc datasets. Weather<br>dataset consists of signals exhibiting diverse patterns caused by various sources. Moreover, their<br>causality can shift in the short-term period–for example, humidity and temperatures indicate no<br>causality during certain periods but exhibit strong negative causality during the onset of the rainy<br>season. These short-term changes, even between the input and output signals, degrade LIFT’s<br>performance. This degradation experimentally proves**F1**: distribution shifts in channel dependency,<br>and**F3**: LIFT’s reliance on input to generate output channel dependencies, highlighting the need of<br>layer-agnostic usage of the causality modeling as in CALAS.||||||
|
| 77 |
+
|
| 78 |
+
Electricity and Traffic datasets are recorded at hourly intervals and have strong daily periodicity, generating multiple short-term periodic patterns. As a result, LIFT, particularly through cross- correlation, tends to focus on capturing the short-term periodicities while overlooking trend changes. Additionally, its top- _k_ selection process with redundant patterns creates an information bottleneck, limiting access to diverse information ( **F2** ). In contrast, CALAS learns the causal relationships in an end-to-end manner, allowing the model to avoid such bottlenecks and ultimately produce richer forecasting results. Furthermore, we have found that CALAS can support statistics-based model, LightMTS (Zhao & Shen, 2024), by modeling input causality, improving additional 1.2 percentage points over CALAS, 3.41 percentage points with respect to original LightMTS, as Figure 4c.
|
| 79 |
+
|
| 80 |
+
9
|
| 81 |
+
|
| 82 |
+
(a) (b) (c) Figure 4: Performance of Linear model-based CALAS (Ours, Brown line) and five baseline models on (a) all variates and (b) top-10% variates with strong causal relationship (i.e., highly affected from the other variates). (c) Performance of CALAS with LightMTS and ablation study on CALAS with hypernetworks, introducing partially (or fully) static causality modeling. **504 505 506 CALAS with Linear Backbone** To showcase the importance of dynamic causality modeling, we conduct additional experiments with simple Linear backbone with RevIN (Kim et al., 2022). As shown in Figure 4a, CALAS with one linear projection still shows comparable performance to state-of-the-art models. We also indicate that if certain variates have strong causal relationship, which is extracted with CALAS, our model outperform the existing models by utilizing strong causal information and propagation delay. For example, PeMSD8, Solar, and Wind datasets require more sophisticate modeling, degrading the linear models. In contrast, CALAS gains comparable performance with complicate CD modeling methods and even outperform them for the variates with strong causal relationship, as illustrated in Figure 4b. 5.3 ABLATION STUDY In Figure 4c, we provide the ablation study results with our hypernetworks, reporting relative MSE amplification with respect to CALAS. In this study, we compared CALAS with three variants – 1) without delay estimator, 2) without strength estimator, and 3) without both estimators. We utilize the one layer linear function as backbone model and the performance is reported on average over the prediction length 96, 192, 336, and 720. By ablating hypernetworks, CALAS lost its ability to dynamically modeling causality, as a results, degrading the forecasting quality. We can depict that loosing dynamic causal strength modeling (i.e., w/o strength estimator) induces inability to distribution shifts on CD, showing inferior performance. The delay estimator, in contrast, often shows less performance drop than strength estimator, since CALAS still can dynamically estimate causality. Furthermore, the ablation results of CALAS w/o hypernetworks imply the need of transition from static causality modeling to dynamic causality modeling. 6 CONCLUSION In this work, we emphasize the importance of **delay learning** in channel dependency modeling and propose new perspective for understanding channel dependencies in MTS forecasting. We introduce a novel end-to-end learning method, CALAS, which learns underlying lead-lag relationship in MTS while considering both causal strength and propagation delay. By integrating Gaussian kernel-based 1D convolution with two hypernetworks, CALAS reformulate undirected channel dependency modeling into directed, delay-aware causality modeling. We experimentally demonstrate the superiority of CALAS over state-of-the-art MTS forecasting models and statistical causality modeling methods. We believe that delay learning and causality-aware modeling are promising research directions for future developments of MTS forecasting models. As a next step, we plan to investigate the better model architecture for delay learning, including multi-periodicity decomposition by adjusting stride or introducing the uncertainty concepts into the CD modeling.
|
| 83 |
+
|
| 84 |
+
In Figure 4c, we provide the ablation study results with our hypernetworks, reporting relative MSE amplification with respect to CALAS. In this study, we compared CALAS with three variants – 1) without delay estimator, 2) without strength estimator, and 3) without both estimators. We utilize the one layer linear function as backbone model and the performance is reported on average over the prediction length 96, 192, 336, and 720. By ablating hypernetworks, CALAS lost its ability to dynamically modeling causality, as a results, degrading the forecasting quality. We can depict that loosing dynamic causal strength modeling (i.e., w/o strength estimator) induces inability to distribution shifts on CD, showing inferior performance. The delay estimator, in contrast, often shows less performance drop than strength estimator, since CALAS still can dynamically estimate causality. Furthermore, the ablation results of CALAS w/o hypernetworks imply the need of transition from static causality modeling to dynamic causality modeling.
|
| 85 |
+
|
| 86 |
+
10
|
| 87 |
+
|
| 88 |
+
- REFERENCES Lei Bai, Lina Yao, Can Li, Xinazhi Wang, and Can Wang. Adaptive graph convolutional recurrent network for traffic forecasting. In _Advances in Neural Information Processing Systems_ , volume 33, 2020.
|
| 89 |
+
|
| 90 |
+
Ali Behrouz, Michele Santacatterina, and Ramin Zabih. Chimera: Effectively modeling multivariate time series with 2-dimensional state space models. In _The Thirty-eighth Annual Conference on_ _Neural Information Processing Systems_ , 2024. URL [URL removed] id=ncYGjx2vnE. Alexis Bellot, Kim Branson, and Mihaela van der Schaar. Neural graphical modelling in continuous- time: consistency guarantees and algorithms. In _International Conference on Learning Representa-_ _tions_ , 2022. URL [URL removed] George E. P. Box, Gwilym M. Jenkins, Gregory C. Reinsel, and Greta M. Ljung. _Time series analysis:_ _forecasting and control_ . John Wiley, 2015. Edward De Brouwer, Adam Arany, Jaak Simm, and Yves Moreau. Latent convergent cross mapping. In _International Conference on Learning Representations_ , 2021. URL [URL removed] net/forum?id=4TSiOTkKe5P. Defu Cao, Yujing Wang, Juanyong Duan, Ce Zhang, Xia Zhu, Congrui Huang, Yunhai Tong, Bixiong Xu, Jing Bai, Jie Tong, and Qi Zhang. Spectral temporal graph neural network for multivariate time-series forecasting. In _Advances in Neural Information Processing Systems_ , volume 33, 2020. Yuxiao Cheng, Lianglong Li, Tingxiong Xiao, Zongren Li, Qin Zhong, Jinli Suo, and Kunlun He. Cuts+: High-dimensional causal discovery from irregular time-series, 2023a. URL https: //arxiv.org/abs/2305.05890. Yuxiao Cheng, Runzhao Yang, Tingxiong Xiao, Zongren Li, Jinli Suo, Kunlun He, and Qionghai Dai. CUTS: Neural causal discovery from irregular time-series data. In _The Eleventh International_ _Conference on Learning Representations_ , 2023b. URL [URL removed] id=UG8bQcD3Emv. Yuxiao Cheng, Ziqian Wang, Tingxiong Xiao, Qin Zhong, Jinli Suo, and Kunlun He. Causaltime: Realistically generated time-series for benchmarking of causal discovery. In _The Twelfth Inter-_ _national Conference on Learning Representations_ , 2024. URL [URL removed] forum?id=iad1yyyGme. Luo donghao and wang xue. ModernTCN: A modern pure convolution structure for general time series analysis. In _The Twelfth International Conference on Learning Representations_ , 2024. URL [URL removed] Eugene F. Fama. Efficient capital markets: A review of theory and empirical work. _The Journal of_ _Finance_ , 25(2):383–417, 1970. ISSN 00221082, 15406261. URL [URL removed] stable/2325486. Wenbo Gong, Joel Jennings, Cheng Zhang, and Nick Pawlowski. Rhino: Deep causal tempo- ral relationship learning with history-dependent noise. In _The Eleventh International Confer-_ _ence on Learning Representations_ , 2023. URL [URL removed] i_1rbq8yFWC. C. W. J. Granger. Investigating causal relations by econometric models and cross-spectral methods. _Econometrica_ , 37(3):424–438, 1969. Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces, 2024. URL [URL removed] Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, and Huaiyu Wan. Attention based spatial- temporal graph convolutional networks for traffic flow forecasting. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 33, pp. 922–929, 2019.
|
| 91 |
+
|
| 92 |
+
11
|
| 93 |
+
|
| 94 |
+
- David Ha, Andrew M. Dai, and Quoc V. Le. Hypernetworks. In _International Conference on Learning_
|
| 95 |
+
|
| 96 |
+
- _Representations_ , 2017. Ilyass Hammouamri, Ismail Khalfaoui-Hassani, and Timothée Masquelier. Learning delays in spiking neural networks using dilated convolutions with learnable spacings. In _The Twelfth International_ _Conference on Learning Representations_ , 2024. URL [URL removed] id=4r2ybzJnmN. Lu Han, Han-Jia Ye, and De-Chuan Zhan. The capacity and robustness trade-off: Revisiting the channel independent strategy for multivariate time series forecasting, 2023. URL [URL removed] Ismail Khalfaoui Hassani, Thomas Pellegrini, and Timothée Masquelier. Dilated convolution with learnable spacings. In _The Eleventh International Conference on Learning Representations_ , 2023. URL [URL removed] Jiaxi Hu, Disen Lan, Ziyu Zhou, Qingsong Wen, and Yuxuan Liang. Time-ssm: Simplifying and unifying state space models for time series forecasting, 2024. URL [URL removed] abs/2405.16312. Yuxin Jia, Youfang Lin, Xinyan Hao, Yan Lin, Shengnan Guo, and Huaiyu Wan. WITRAN: Water- wave information transmission and recurrent acceleration network for long-range time series forecasting. In _Thirty-seventh Conference on Neural Information Processing Systems_ , 2023. URL
|
| 97 |
+
|
| 98 |
+
- [URL removed]
|
| 99 |
+
|
| 100 |
+
- Renhe Jiang, Zhaonan Wang, Jiawei Yong, Puneet Jeph, Quanjun Chen, Yasumasa Kobayashi, Xuan Song, Shintaro Fukushima, and Toyotaro Suzumura. Spatio-temporal meta-graph learning for traffic forecasting. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 37, pp. 8078–8086, 2023. Seungmin Jin, Hyunwook Lee, Cheonbok Park, Hyeshin Chu, Yunwon Tae, Jaegul Choo, and
|
| 101 |
+
|
| 102 |
+
- Sungahn Ko. A visual analytics system for improving attention-based traffic forecasting models.
|
| 103 |
+
|
| 104 |
+
- _IEE Transaction on Visualization and Computer Graphics_ , 29(1):1102–1112, 2023.
|
| 105 |
+
|
| 106 |
+
- Ismail Khalfaoui-Hassani, Thomas Pellegrini, and Timothée Masquelier. Dilated convolution with learnable spacings: beyond bilinear interpolation. In _ICML 2023 Workshop on Differentiable_ _Almost Everything: Differentiable Relaxations, Algorithms, Operators, and Simulators_ , 2023. URL [URL removed] Saurabh Khanna and Vincent Y. F. Tan. Economy statistical recurrent units for inferring nonlinear
|
| 107 |
+
|
| 108 |
+
- granger causality. In _International Conference on Learning Representations_ , 2020. URL https: //openreview.net/forum?id=SyxV9ANFDH.
|
| 109 |
+
|
| 110 |
+
- Taesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park, Jang-Ho Choi, and Jaegul Choo. Reversible instance normalization for accurate time-series forecasting against distribution shift. In _Interna-_ _tional Conference on Learning Representations_ , 2022. URL [URL removed] forum?id=cGDAkQo1C0p.
|
| 111 |
+
|
| 112 |
+
- Chunggi Lee, Yeonjun Kim, Seungmin Jin, Dongmin Kim, Ross Maciejewski, David Ebert, and Sungahn Ko. A visual analytics system for exploring, monitoring, and forecasting road traffic congestion. _IEEE Transactions on Visualization and Computer Graphics_ , 26(11):3133–3146, 2020. doi: 10.1109/TVCG.2019.2922597. Hyunwook Lee, Seungmin Jin, Hyeshin Chu, Hongkyu Lim, and Sungahn Ko. Learning to remember patterns: Pattern matching memory networks for traffic forecasting. In _International Conference_
|
| 113 |
+
|
| 114 |
+
- _on Learning Representations_ , 2022.
|
| 115 |
+
|
| 116 |
+
-
|
| 117 |
+
|
| 118 |
+
- Hongming Li, Shujian Yu, and Jose Principe. Causal recurrent variational autoencoder for medical time series generation. In _Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelli-_ _gence and Thirty-Fifth Conference on Innovative Applications of Artificial Intelligence and Thir-_ _teenth Symposium on Educational Advances in Artificial Intelligence_ , AAAI’23/IAAI’23/EAAI’23, 2023.
|
| 119 |
+
|
| 120 |
+
12
|
| 121 |
+
|
| 122 |
+
Yaguang Li and Cyrus Shahabi. A brief overview of machine learning methods for short-term traffic forecasting and future directions. _SIGSPATIAL Special_ , 10(1):3–9, 2018.
|
| 123 |
+
|
| 124 |
+
- Yaguang Li, Rose Yu, Cyrus Shahabi, and Yan Liu. Diffusion convolutional recurrent neural network: Data-driven traffic forecasting. In _International Conference on Learning Representations_ , 2018.
|
| 125 |
+
|
| 126 |
+
- Yong Liu, Haixu Wu, Jianmin Wang, and Mingsheng Long. Non-stationary transformers: Exploring
|
| 127 |
+
|
| 128 |
+
- the stationarity in time series forecasting. In _Advances in Neural Information Processing Systems_ ,
|
| 129 |
+
|
| 130 |
+
- 2022.
|
| 131 |
+
|
| 132 |
+
- Yong Liu, Tengge Hu, Haoran Zhang, Haixu Wu, Shiyu Wang, Lintao Ma, and Mingsheng Long. itransformer: Inverted transformers are effective for time series forecasting. _arXiv preprint arXiv:2310.06625_ , 2023.
|
| 133 |
+
|
| 134 |
+
- Wolfgang Maass. Networks of spiking neurons: The third generation of neural network mod- els. _Neural Networks_ , 10(9):1659–1671, 1997. ISSN 0893-6080. doi: [URL removed] S0893-6080(97)00011-7.
|
| 135 |
+
|
| 136 |
+
- Wolfgang Maass and Michael Schmitt. On the complexity of learning for spiking neurons with temporal coding. _Information and Computation_ , 153(1):26–46, 1999. ISSN 0890-5401. doi: [URL removed]
|
| 137 |
+
|
| 138 |
+
- Yasuko Matsubara, Yasushi Sakurai, Willem G. van Panhuis, and Christos Faloutsos. FUNNEL: au- tomatic mining of spatially coevolving epidemics. In _The ACM SIGKDD International Conference_ _on Knowledge Discovery and Data Mining_ , pp. 105–114. ACM, 2014. Meike Nauta, Doina Bucur, and Christin Seifert. Causal discovery with attention-based convolutional neural networks. _Machine Learning and Knowledge Extraction_ , 1(1):312–340, 2019.
|
| 139 |
+
|
| 140 |
+
- Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In _International Conference on Learning_ _Representations_ , 2023. Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, and Yoshua Bengio. N-beats: Neural basis
|
| 141 |
+
|
| 142 |
+
- expansion analysis for interpretable time series forecasting. In _International Conference on_
|
| 143 |
+
|
| 144 |
+
- _Learning Representations_ , 2020.
|
| 145 |
+
|
| 146 |
+
- M.H. Pesaran, D. Pettenuzzo, and A. Timmermann. Forecasting time series subject to multiple structural breaks. Cambridge Working Papers in Economics 0433, Faculty of Economics, University of Cambridge, 2004. Barbara Rossi. Exchange rate predictability. _Journal of Economic Literature_ , 51(4):1063–1119,
|
| 147 |
+
|
| 148 |
+
- 2013. doi: 10.1257/jel.51.4.1063. URL [URL removed]
|
| 149 |
+
|
| 150 |
+
- 1257/jel.51.4.1063.
|
| 151 |
+
|
| 152 |
+
- Jakob Runge, Peer Nowack, Marlene Kretschmer, Seth Flaxman, and Dino Sejdinovic. Detecting and quantifying causal associations in large nonlinear time series datasets. _Science Advances_ , 5(11): eaau4996, 2019. doi: 10.1126/sciadv.aau4996. URL [URL removed] abs/10.1126/sciadv.aau4996.
|
| 153 |
+
|
| 154 |
+
- Sumit Bam Shrestha and Garrick Orchard. Slayer: spike layer error reassignment in time. In _Proceedings of the 32nd International Conference on Neural Information Processing Systems_ , pp. 1419–1428, 2018. Koichi Sameshima Suiz A. Baccalá. Partial directed coherence: a new concept in neural structure determination. _Biological Cybernetics_ , 84:463–474, 2001.
|
| 155 |
+
|
| 156 |
+
- Xiangyu Sun, Oliver Schulte, Guiliang Liu, and Pascal Poupart. NTS-NOTEARS: learning non- parametric dbns with prior knowledge. In Francisco J. R. Ruiz, Jennifer G. Dy, and Jan-Willem van de Meent (eds.), _International Conference on Artificial Intelligence and Statistics, 25-27 April_ _2023, Palau de Congressos, Valencia, Spain_ , volume 206 of _Proceedings of Machine Learning Re-_ _search_ , pp. 1942–1964. PMLR, 2023. URL [URL removed] sun23c.html.
|
| 157 |
+
|
| 158 |
+
13
|
| 159 |
+
|
| 160 |
+
- Alex Tank, Ian Covert, Nicholas Foti, Ali Shojaie, and Emily B. Fox. Neural granger causality.
|
| 161 |
+
|
| 162 |
+
- _IEEE Transactions on Pattern Analysis and Machine Intelligence_ , 44(8):4267–4279, 2022. ISSN 0162-8828.
|
| 163 |
+
|
| 164 |
+
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In _Advances in Neural Information_ _Processing Systems_ , volume 30, 2017.
|
| 165 |
+
|
| 166 |
+
Xue Wang, Tian Zhou, Qingsong Wen, Jinyang Gao, Bolin Ding, and Rong Jin. CARD: Channel
|
| 167 |
+
|
| 168 |
+
aligned robust blend transformer for time series forecasting. In _The Twelfth International Confer-_
|
| 169 |
+
|
| 170 |
+
_ence on Learning Representations_ , 2024. URL [URL removed] MJksrOhurE. Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transform- ers with auto-correlation for long-term series forecasting. In _Advances in Neural Information_ _Processing Systems_ , volume 34, pp. 22419–22430, 2021. Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. Timesnet: Temporal 2d-variation modeling for general time series analysis. In _International Conference on_ _Learning Representations_ , 2023. Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, and Chengqi Zhang. Graph wavenet for deep
|
| 171 |
+
|
| 172 |
+
spatial-temporal graph modeling. In _Proceedings of the International Joint Conference on Artificial_
|
| 173 |
+
|
| 174 |
+
_Intelligence_ , pp. 1907–1913, 2019.
|
| 175 |
+
|
| 176 |
+
Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, Xiaojun Chang, and Chengqi Zhang. Connecting the dots: Multivariate time series forecasting with graph neural networks. In _Proceedings of the_ _26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining_ , 2020.
|
| 177 |
+
|
| 178 |
+
- Chenxiao Xu, Hao Huang, and Shinjae Yoo. Scalable causal graph learning through a deep neural
|
| 179 |
+
|
| 180 |
+
- network. In _Proceedings of the 28th ACM International Conference on Information and Knowledge_ _Management_ , CIKM ’19, pp. 1853–1862, New York, NY, USA, 2019. Association for Computing Machinery. ISBN 9781450369763. doi: 10.1145/3357384.3357864. URL [URL removed] 10.1145/3357384.3357864. Zhijian Xu, Ailing Zeng, and Qiang Xu. FITS: Modeling time series with $10k$ parameters.
|
| 181 |
+
|
| 182 |
+
- In _The Twelfth International Conference on Learning Representations_ , 2024. URL https:
|
| 183 |
+
|
| 184 |
+
- //openreview.net/forum?id=bWcnvZ3qMb.
|
| 185 |
+
|
| 186 |
+
- Kun Yi, Qi Zhang, Wei Fan, Hui He, Liang Hu, Pengyang Wang, Ning An, Longbing Cao, and Zhendong Niu. FourierGNN: Rethinking multivariate time series forecasting from a pure graph perspective. In _Thirty-seventh Conference on Neural Information Processing Systems_ , 2023a. URL [URL removed] Kun Yi, Qi Zhang, Wei Fan, Shoujin Wang, Pengyang Wang, Hui He, Ning An, Defu Lian, Longbing Cao, and Zhendong Niu. Frequency-domain mlps are more effective learners in time series forecasting. In _Advances in Neural Information Processing Systems_ , volume 36, pp. 76656–76679, 2023b.
|
| 187 |
+
|
| 188 |
+
Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series forecasting? In _Proceedings of the AAAI Conference on Artificial Intelligence_ , 2023.
|
| 189 |
+
|
| 190 |
+
- Chaolv Zeng, Zhanyu Liu, Guanjie Zheng, and Linghe Kong. Cmamba: Channel correlation enhanced state space models for multivariate time series forecasting, 2024. URL [URL removed] abs/2406.05316.
|
| 191 |
+
|
| 192 |
+
. Yunhao Zhang and Junchi Yan. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In _The Eleventh International Conference on Learning_ _Representations_ , 2023. Lifan Zhao and Yanyan Shen. Rethinking channel dependence for multivariate time series fore- casting: Learning from leading indicators. In _The Twelfth International Conference on Learning Representations_ , 2024. URL [URL removed]
|
| 193 |
+
|
| 194 |
+
14
|
| 195 |
+
|
| 196 |
+
- Chuanpan Zheng, Xiaoliang Fan, Cheng Wang, and Jianzhong Qi. GMAN: A graph multi-attention
|
| 197 |
+
|
| 198 |
+
- network for traffic prediction. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , pp. 1234–1241, 2020.
|
| 199 |
+
|
| 200 |
+
- Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. _Proceedings of the AAAI Conference on Artificial Intelligence_ , 35(12):11106–11115, 2021.
|
| 201 |
+
|
| 202 |
+
- Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting. In _Proceedings of the 39th_ _International Conference on Machine Learning_ , volume 162 of _Proceedings of Machine Learning_ _Research_ , pp. 27268–27286, 2022.
|
| 203 |
+
|
| 204 |
+
- Tian Zhou, Peisong Niu, Xue Wang, Liang Sun, and Rong Jin. One fits all: Power general time
|
| 205 |
+
|
| 206 |
+
- series analysis by pretrained LM. In _Thirty-seventh Conference on Neural Information Processing_
|
| 207 |
+
|
| 208 |
+
- _Systems_ , 2023. URL [URL removed]
|
| 209 |
+
|
| 210 |
+
-
|
| 211 |
+
|
| 212 |
+
- Yunyue Zhu and Dennis Shasha. Statstream: Statistical monitoring of thousands of data streams in real time. In _Proceedings of the International Conference on Very Large Databases_ , pp. 358–369. Morgan Kaufmann, 2002.
|
| 213 |
+
|
| 214 |
+
- Ali Zonoozi, Jung-jae Kim, Xiao-Li Li, and Gao Cong. Periodic-crn: A convolutional recurrent model
|
| 215 |
+
|
| 216 |
+
- for crowd density prediction with recurring periodic patterns. In _Proceedings of the International_ _Joint Conference on Artificial Intelligence_ , pp. 3732–3738, 2018.
|
| 217 |
+
|
| 218 |
+
-
|
| 219 |
+
|
| 220 |
+
15
|
| 221 |
+
|
| 222 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|Table 1: Performance on TSCD task on CausalTime datasets. We utilize the performance of baseline<br>TSCD algorithms reported in CausalTime paper (Cheng et al., 2024).**Bold text**means the best model<br>andunderlined text<br>indicates second-best model|
|
| 223 |
+
|---|---|---|---|---|---|---|---|---|---|
|
| 224 |
+
|||||||||||
|
| 225 |
+
|||||||||||
|
| 226 |
+
||**Methods**|||AQI|**AUROC**<br>Traffc|Medical||**AUPRC**<br>AQI<br>Traffc|Medical|
|
| 227 |
+
||GC<br>SVAR<br>N.NTS<br>PCMCI<br>Rhino<br>CUTS<br>CUTS+<br>NGC<br>NGM<br>LCCM<br>eSRU<br>SCGL<br>TCDF<br>CALAS|||0.4538 ±0.0377<br>0.6225 ±0.0406<br>0.5729 ±0.0229<br>0.5272 ±0.0744<br>0.6700 ±0.0983<br>0.6013 ±0.0038<br>**0.8928 ±0.0213**<br>0.7172 ±0.0076<br>0.6728 ±0.0164<br>0.8565 ±0.0653<br>0.8229 ±0.0317<br>0.4915 ±0.0476<br>0.4148 ±0.0207<br>0.8772 ±0.0287|0.4191 ±0.0310<br>0.6329 ±0.0047<br>**0.6329 ±0.0335**<br>0.5422 ±0.0737<br>0.6274 ±0.0185<br>0.6238 ±0.0179<br>0.6175 ±0.0752<br>0.6032 ±0.0056<br>0.4660 ±0.0144<br>0.5545 ±0.0254<br>0.5987 ±0.0192<br>0.5927 ±0.0553<br>0.5029 ±0.0041<br>0.6312 ±0.0461|0.5737 ±0.0338<br>0.7130 ±0.0188<br>0.5019 ±0.0682<br>0.6991 ±0.0111<br>0.6520 ±0.0212<br>0.3739 ±0.0297<br>**0.8202 ±0.0173**<br>0.5744 ±0.0096<br>0.5551 ±0.0154<br>0.8013 ±0.0218<br>0.7559 ±0.0365<br>0.5019 ±0.0224<br>0.6329 ±0.0384<br>0.8124 ±0.0125||0.6347 ±0.0158<br>0.2789 ±0.0018<br>0.7903 ±0.0175<br>0.5845 ±0.0021<br>0.7100 ±0.0228<br>0.5770 ±0.0542<br>0.6734 ±0.0372<br>0.3474 ±0.0581<br>0.7593 ±0.0755<br>0.3772 ±0.0093<br>0.5096 ±0.0362<br>0.1525 ±0.0226<br>0.7983 ±0.0875<br>0.6367 ±0.1197<br>0.7177 ±0.0069<br>0.3583 ±0.0495<br>0.4786 ±0.0196<br>0.2826 ±0.0098<br>**0.9260 ±0.0246**<br>0.5907 ±0.0475<br>0.7223 ±0.0317<br>0.4886 ±0.0338<br>0.3584 ±0.0281<br>0.4544 ±0.0315<br>0.6527 ±0.0087<br>0.3637 ±0.0048<br>0.6788 ±0.0512<br>**0.6701 ±0.0980**|0.4213±0.0281<br>0.6774±0.0358<br>0.4567±0.0162<br>0.5082±0.0177<br>0.4897±0.0321<br>0.1537±0.0039<br>0.5481±0.1349<br>0.4637±0.0121<br>0.4697±0.0166<br>**0.7554±0.0235**<br>0.7352±0.0600<br>0.4833±0.0185<br>0.5544±0.0313<br>0.7412±0.0518|
|
| 228 |
+
||A<br>ADDITIONALEXPERIMENTALRESULTS<br>To prove that CALAS actually fnds the ground truth causality, we conduct experiments with three<br>real-world datasets in CausalTime benchmark (Cheng et al., 2024) and one well-known Synthetic<br>dataset for causal discovery (Suiz A. Baccalá, 2001). We quantitatively and qualitatively showcases<br>CALAS’s superiority on causal discovery with Air-quality (AQI), Traffc, and Medical datasets,<br>experimentally proving that CALAS can actually model the causal relationship. We compared<br>CALAS with various baselines including: Granger causality (GC) (Granger, 1969), neural Granger<br>causality (NGC) (Tank et al., 2022),economy-SRU (eSRU) (Khanna & Tan, 2020), scalable causal<br>graph learning (SCGL) (Xu et al., 2019), temporal causal discovery framework (TCDF) (Nauta et al.,<br>2019), CUTS (Cheng et al., 2023b), CUTS+ (Cheng et al., 2023a), PCMCI (Runge et al., 2019),<br>SVAR, NTS-NOTEARS (shown as N.NTS) (Sun et al., 2023), Rhino (Gong et al., 2023), latent<br>convergent cross mapping (LCCM) (Brouwer et al., 2021), and neural graphical model (NGM) (Bellot<br>et al., 2022). For the synthetic dataset, we only provide visual comparison among Granger causality<br>test, LIFT (i.e., cross-correlation), and CALAS. In the causal discovery experiments, we stick to the<br>our MTS forecasting setting with input length 336 but with output length 1. As a backbone, we utilize<br>one layer linear model.<br>A.1<br>QUANTITATIVEEVALUATION ONCAUSALDISCOVERY<br>Table 1 indicates the experimental results for the time series causal discovery (TSCD) task with three<br>real-world datasets. Even though CALAS focuses on the dynamic causality discovery, it exhibits<br>competitive results across all three datasets in traditional TSCD task, achieving the best performance<br>in AUPRC for the Traffc dataset, and competitive performance to the state-of-the-art models, such<br>as CUTS+, in AUROC and AUPRC across Medical and AQI datasets. It experimentally proves that<br>CALAS successfully models the causal relationships during its optimization. Furthermore, CALAS<br>is the one of two algorithms that simultaneously models the propagation delay and causal strength,<br>however, the other one (i.e., TCDF) indicates its limitation to properly model both characteristics.<br>Lastly, despite CALAS has only one the simple hyperparameter, the maximum delay_k_, for the causal<br>modeling, it outperforms the algorithms requiring sophisticated, data-specifc hyperparameter settings.<br>It further reduces the diffculty to introduce the algorithm to unseen datasets. However, as we can<br>depict in Figure 1, CALAS refers to improper cause signals, which could be improved by introducing<br>contrastive learning methods or regularization term in optimization.|||||||||
|
| 229 |
+
|
| 230 |
+
16
|
| 231 |
+
|
| 232 |
+
Figure 1: Causality map estimated via CALAS (left) and ground truth causal graph (right). Figure 2: Visualization of actual causal graph and those calculated with Granger causality test, cross- correlation, and CALAS without any hyperparameter tuning or additional techniques like weight decay or _L_ 2 normalization. A.2 QUALITATIVE EVALUATION ON CAUSAL DISCOVERY To prove that CALAS actually finds the ground truth causality, we conduct experiments with a well-known Synthetic dataset for causal discovery (Suiz A. Baccalá, 2001). We have compared CALAS with Granger Causality test and LIFT (i.e., cross-correlation). We have excluded other CD modeling methods in MTS forecasting, because 1) they are unable to model propagation delay, which is unsuitable for causal discovery, as we depicted in main paper. Furthermore, to compare the performance in nature, that means, end-to-end manner without _any hyperparameter tuning_ , we have excluded deep learning-based causal discovery methods, such as TCDF (Nauta et al., 2019), CUTS (Cheng et al., 2023b), cLSTM (Tank et al., 2022), or other methods. Please note that causal discovery models require sophisticate hyperparameter tuning to obtain a proper causality graph (Nauta et al., 2019; Li et al., 2023). **908 909 910 Main results** Figure 2 indicates the actual causal graph and those calculated with each methods. It indicates that CALAS can successfully approximate actual causality graph without any hyperpa- rameter tuning related to optimization or model parameter. It indicates both validity and importance
|
| 233 |
+
|
| 234 |
+
**Main results** Figure 2 indicates the actual causal graph and those calculated with each methods. It indicates that CALAS can successfully approximate actual causality graph without any hyperpa- rameter tuning related to optimization or model parameter. It indicates both validity and importance of learning propagation delay, which has not yet been investigated in both causal discovery and MTS forecasting. It also provides another lesson-learned to the causal discovery domain that we do not actually need to data-specifically and manually conduct hyperparameter search and only need to optimize both propagation delay and causal strength. Please note that this phenomenon is also reported as one of the challenges in CD modeling for MTS forecasting–model tend to encounter overfitting issue without delay estimation or dynamic CD modeling (Han et al., 2023).
|
| 235 |
+
|
| 236 |
+
17
|
| 237 |
+
|
| 238 |
+
Table 2: Performance comparison in terms of forecasting errors. The **bold text** means the best results
|
| 239 |
+
|
| 240 |
+
and underlined text means the second best results.
|
| 241 |
+
|
| 242 |
+
TimesNet CALAS +Linear DLinear Method MSE MAE MSE MAE MSE MAE 12.5% **0.025 0.045 0.025 0.045** 0.039 0.101 25.0% **0.029** 0.052 0.030 **0.051** 0.048 0.111 37.5% **0.031 0.057** 0.033 0.065 0.057 0.121 50.0% **0.034 0.062** 0.040 0.072 0.066 0.134 12.5% 0.085 0.202 **0.063 0.170** 0.092 0.214 25.0% 0.089 0.206 **0.077 0.190** 0.118 0.247 37.5% 0.094 0.213 **0.093 0.206** 0.144 0.276 50.0% **0.100 0.221** 0.106 0.230 0.175 0.284 A.2.1 DATA GENERATION
|
| 243 |
+
|
| 244 |
+
For the training, we utilize Synthetic dataset generated with following equations: **936 937938** _xx_ 21(( _nn_ ) =) = 0 _−._ 950 _._ 5 _√x_ 21( _xn_ 1 _−_ ( _n −_ 1) +1) _w −_ 20( _n._ 9025) _x_ 1( _n −_ 2) + _w_ 1( _n_ ) _x_ 3( _n_ ) = 0 _._ 4 _x_ 2( _n −_ 2) + _w_ 3( _n_ ) _,_ (5) **940941** _xx_ 45(( _nn_ ) =) = _− −_ 00 _.._ 525 _x√_ 3(2 _nx −_ 4(1) + 0 _n −_ 1) + 0 _._ 25 _√._ 225 _x√_ 4(2 _nx −_ 5(1) + 0 _n −_ 1) + _._ 25 _w√_ 52( _xn_ 5)( _n −_ 1) + _w_ 4( _n_ ) where _n_ is _n_ -th time steps, _xi_ means _i_ -th variate, and _wi_ ( _n_ ) means zero-mean uncorrelated white processes with identical variances. A.3 EXPERIMENTAL RESULTS FOR IMPUTATION TASK B DISCUSSION **948 949 950 Discussion on other CNN- or RNN-based methods** The emergence of Mamba (Gu & Dao, 2024) played a significant role in shifting researchers’ focus from Transformer models to State Space Models (SSMs). One main flow in the SSM research is the extension of 1D Mamba to the multidimensional state spate models. In the MTS forecasting, there are RNN-based (Tank et al., 2022; Jia et al., 2023; Behrouz et al., 2024), CNN-based (Wu et al., 2023), and SSM-based approaches (Zeng et al., 2024;
|
| 245 |
+
|
| 246 |
+
Hu et al., 2024). In the following paragraphs, we will discuss how they can achieve inter-variate
|
| 247 |
+
|
| 248 |
+
dependency modeling and difference between CALAS and them. _RNN-based approaches_ , for example, WITRAN (Jia et al., 2023) or cRNN (Tank et al., 2022), need to propose additional channel dependency module to model the inter-variates relationships. In case of WITRAN, similar to the TimesNet (Wu et al., 2023), it folds the input 1D time series into 2D time series, enabling intra- and inter-periodicity modeling. However, it less focuses on the potential causal
|
| 249 |
+
|
| 250 |
+
effects from the other time series. cRNN (Tank et al., 2022), one of the causal discovery algorithms,
|
| 251 |
+
|
| 252 |
+
induces the inter-variates relationships via weights of trained RNN (i.e., projection layer of RNNs),
|
| 253 |
+
|
| 254 |
+
however, it only captures the gradual changes, especially with the one-step time lag. For the _CNN- and SSM-based approaches_ , such as C-Mamba (Zeng et al., 2024) or TimeSSM (Hu et al., 2024), the main difference between CALAS and these approaches are how they dealt with receptive fields and introduces inductive biases into model. C-Mamba and TimeSSM considers the
|
| 255 |
+
|
| 256 |
+
convolutional- or SSM-based state space as the range of information fusion, not introducing inductive
|
| 257 |
+
|
| 258 |
+
biases into. For example, in case of 1D R _[N][i][×][N][o][×][k]_ CNN kernel, where _Ni, No, k_ are input and
|
| 259 |
+
|
| 260 |
+
output channel and kernel size, respectively, aforementioned model optimize both causal strength
|
| 261 |
+
|
| 262 |
+
and propagation delay into one kernel. In such design, fused with causal strength, propagation delay will be independent weights to each other. However, for the inter-variate relationship, there are only one unique propagation delay, which should be modeled with probability function among _k_ possible delays. CALAS disentangles the propagation delay and approximate them with Gaussian probability
|
| 263 |
+
|
| 264 |
+
18
|
| 265 |
+
|
| 266 |
+
kernel, it introduces additional inductive bias–given two cause signal _X_ and effect signal _Y_ , there exists unique discrete delay _dX,Y_ such that the time gap between change of _X_ and its actual influence to _Y_ . **975 976 Transformer-based methods vs. CALAS** Transformer-based methods, including iTransformer, mix the multivariate information regardless of propagation delay. This design may introduce mis- aligned or outdated information from lagged time series, resulting to degrade of model performance. To properly align the variates, previous models should borrow the modeling capacity from temporal dependency modeling components, which lowers the temporal dependency modeling quality. By facilitating proposed convolution, CALAS simultaneously conduct such alignment and CD modeling. Though LIFT (Zhao & Shen, 2024) achieves lead-lag relation modeling with cross-correlation, it requires additional computation and relies on the statistical methods that often be suboptimal.
|
| 267 |
+
|
| 268 |
+
**985 Layer-agnostic causality modeling is important in MTS forecasting** Distribution shifts of the statistical features are well-studied problem in MTS forecasting (Kim et al., 2022; Zeng et al., 2023; Liu et al., 2022). However, distribution shifts of channel dependency is not yet investigated deeply. Here, we derive a discussion for distribution shifts in short period, as we depicted in Figure 1. By introducing shared CALAS across multiple layers except the input-dependent parts, our model reduces the misalignment or over-reliance of previously generated causal maps when short term distribution shifts occur.
|
| 269 |
+
|
| 270 |
+
> **992 Generalization for multi-periodicity modeling** Since CALAS stems from convolution mechanism, we can achieve the multi-periodicity decomposition by adjusting the stride. However, addressing this question is beyond the scope of this work, so we leave it for future exploration.
|
| 271 |
+
|
| 272 |
+
**1000 1001 1002 1003 1004 1005 1006**
|
| 273 |
+
|
| 274 |
+
**1007**
|
| 275 |
+
|
| 276 |
+
**1008**
|
| 277 |
+
|
| 278 |
+
**1009 1010**
|
| 279 |
+
|
| 280 |
+
**1011**
|
| 281 |
+
|
| 282 |
+
**1012**
|
| 283 |
+
|
| 284 |
+
**1013**
|
| 285 |
+
|
| 286 |
+
**1014 1015**
|
| 287 |
+
|
| 288 |
+
**1016**
|
| 289 |
+
|
| 290 |
+
**1017**
|
| 291 |
+
|
| 292 |
+
**1018 1019**
|
| 293 |
+
|
| 294 |
+
**1020**
|
| 295 |
+
|
| 296 |
+
**1021**
|
| 297 |
+
|
| 298 |
+
**1022**
|
| 299 |
+
|
| 300 |
+
**1023**
|
| 301 |
+
|
| 302 |
+
**1024**
|
| 303 |
+
|
| 304 |
+
**1025**
|
| 305 |
+
|
| 306 |
+
19
|
| 307 |
+
|
open_review/iclr2025_13834.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13834",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "M-Longdoc: A Benchmark For Multimodal Super-Long Document Understanding And A Retrieval-Aware Tuning Framework",
|
| 6 |
+
"abstract": "The ability to understand and answer questions over documents can be useful in many business and practical applications. However, documents often contain lengthy and diverse multimodal contents such as texts, figures, and tables, which are very time-consuming for humans to read thoroughly. Hence, there is an urgent need to develop effective and automated methods to aid humans in this task. In this work, we introduce M-LongDoc, a benchmark of 851 samples, and an automated framework to evaluate the performance of large multimodal models. We further propose a retrieval-aware tuning approach for efficient and effective multimodal document reading. Compared to existing works, our benchmark consists of more recent and lengthy documents with hundreds of pages, while also requiring open-ended solutions and not just extractive answers. To our knowledge, our training framework is the first to directly address the retrieval setting for multimodal long documents. To enable tuning open-source models, we construct a training corpus in a fully automatic manner for the question-answering task over such documents. Experiments show that our tuning approach achieves a relative improvement of 4.6% for the correctness of model responses, compared to the baseline open-source models.",
|
| 7 |
+
"rebuttal": "Dear reviewer, as this is the last day for reviewer responses, we would like to follow up on our previous response and respectfully ask if you have remaining concerns about the contributions of our paper? We are more than happy to answer any further queries or concerns you may have, and thank you for your time and consideration during this discussion.\n\nDear reviewer, as this is the last day for reviewer responses, and you indicated that your concerns have been resolved, we kindly ask if you could provide any last thoughts or, if you feel it's warranted based on our revisions and clarifications, consider updating your rating score. Thank you again for your time and expertise throughout this discussion.\n\nDear Reviewer,\n\nWe sincerely apologize for reaching out again. As we approach the end of the discussion period, we wanted to follow up on our previous response. We noticed you indicated that your concerns have been resolved, and we were hoping to request if you might consider increasing the score kindly.\n\n--\n\nAuthors\n\nDear Reviewer,\n\nThank you for your thoughtful feedback and for considering our responses. We greatly appreciate your willingness to increase your mark based on our clarifications. We understand your concern about the questions still being localized to specific pages rather than spanning multiple pages. While we agree that multi-page reasoning is an important direction for long document understanding, we believe our current data setting still offers several key contributions compared to previous work:\n1. It establishes an important baseline for in-depth multimodal understanding of each page bef [...]\n\nDear Reviewer,\n\nAs we approach the end of the discussion period, we wanted to follow up on our previous response. We appreciate your earlier feedback indicating you had no further concerns. Given that today is the final day for discussion, we kindly ask if you could provide any last thoughts or, if you feel it's warranted based on our revisions and clarifications, consider updating your rating score.\n\nYour final input would be invaluable in ensuring a comprehensive review process. Thank you again for your time and expertise throughout this discussion.\n\nDear Reviewer,\n\nThank you for your time and attention throughout this process. We greatly appreciate your thorough feedback and the opportunity to address your concerns. We were particularly encouraged by your recognition of the unique contributions, including:\n1. Introducing a new benchmark for multimodal long document understanding, distinct from existing datasets in its length and open-ended question format.\n2. Proposing a retrieval-aware tuning approach for multimodal long document question answering, which can benefit applications requiring nuanced document comprehension.\n\nGiven that you' [...]\n\nDear reviewer,\n\nThank you for your previous responses, and we have provided further analysis and revisions based on your valuable suggestions above. However, it is close approaching the end of the discussion period. Could we kindly enquire if our responses and adjustments have adequately resolved your concerns? We are more than happy to answer any further queries or concerns you may have. Thank you once again.\n\n> Thanks authors for the further clarification, I decided to maintain my original score.\n\nWe thank the reviewer for the response, and respectfully ask if you have any specific concerns remaining, such as regarding our data or findings? We would be happy to continue the constructive discussion, addressing your concerns to the best of our ability. To provide a clearer picture of our dataset, we have also made an anonymous link of 100 question samples for your review, thank you.\n\nhttps://docs.google.com/spreadsheets/d/e/2PACX-1vR3jH8LqkERk9oPM8T_s2xVGJ_tQKcP5n7aRlVyu1eyjOTMRUQGhEZ29kJx6HgDSkTt85Q [...]\n\n> 1b. And the author mentioned the in-depth but there is no supporting analysis and results to show why the dataset shows more in-depth.\n\nDear reviewer, to further demonstrate the in-depth nature of our questions, we have manually categorized 100 questions in the table below, showing that they cover realistic aspects involving analytical reasoning, technical analysis, commonsense and domain knowledge, visual interpretation and mathematical reasoning, where many questions may involve multiple aspects. This analysis is also included in our revised version (lines 860-861).\n\n\n| Category | Descript [...]\n\n> 1. I am still concerned about data size and synthetic questions, which may introduce bias in using this benchmark to evaluate LLMs.\n\nRegarding data size and synthetic questions: We understand your concern about potential bias. However, we believe the careful human verification process and diverse questions help mitigate this risk. For example, we manually categorized 100 questions in the table below, showing that they cover realistic aspects involving analytical reasoning, technical analysis, commonsense and domain knowledge, visual interpretation and mathematical reasoning, where many quest [...]\n\nWe thank the reviewer for their positive review of our paper on M-LongDoc. Your feedback on the strengths of our work, particularly noting the usefulness of the new benchmark and training dataset and model for multimodal RAG-QA on long documents, is very encouraging. \n\nWe are pleased that you found the paper to be sound, well-presented, and a good contribution to the field. Your observation that the paper doesn't have any major weaknesses aligns with our efforts to create a valuable and robust contribution to multimodal document understanding. Your feedback reinforces our belief in the importa [...]\n\n### Response to questions\n> 1. How would direct text extraction and retrieval perform as an alternative to solve the problem? What are the performance on text-only questions? What are the performance on multimodal questions?\n\nThank you for raising this question. We assume that direct text extraction refers to using only the extracted text of ea\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
8,
|
| 11 |
+
5
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 6.0,
|
| 14 |
+
"score_variance": 3,
|
| 15 |
+
"score_spread": 3,
|
| 16 |
+
"score_min": 5,
|
| 17 |
+
"score_max": 8,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": null,
|
| 20 |
+
"meta_review": "**Summary:**\nThe paper introduces M-LongDoc, a benchmark for evaluating multimodal models on lengthy documents containing text, figures, and tables, with open-ended questions requiring deep analysis. It proposes a retrieval-aware tuning framework to improve model performance by training with both relevant and distracting content. The framework show reasonable improvement in correctness, addressing multimodal biases and challenges in long document understanding\n\n**Strength:**\n- It tackles a challenging and necessary research problem with applications across various domains.\n- It introduces a new dataset, M-LongDoc, for multimodal long document understanding, having lengthy pages per document with open-ended questions.\n- It provides valuable resources, including a new evaluation dataset, training dataset, evaluation framework, and multimodal RAG-QA model.\n\n**Weakness:**\n- Questions focus on specific pages, ignoring answers spanning multiple pages; lacks evidence to support claims of in-depth analysis.\n- The average weighting approach is overly simplistic, ignoring model-specific differences and lacking penalty/reward mechanisms.\n- Evaluation depends on proprietary LLMs, introducing variability due to differing checkpoints or versions.\n- Missing discussion of some related works and insufficient differentiation from them.",
|
| 21 |
+
"forum_id": "5zjsZiYEnr",
|
| 22 |
+
"primary_area": "datasets and benchmarks",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_rjZp",
|
| 27 |
+
"review_id": "k3eDS7Fps6",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 5,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 2002,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 2399626,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_Jfm1",
|
| 43 |
+
"review_id": "F7sVYwgO1d",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 8,
|
| 46 |
+
"soundness": 3,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 3,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 1258,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 833306,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_t1TM",
|
| 59 |
+
"review_id": "iihYPfeSrV",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 5,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 2,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 2243,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1167979,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": []
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"any_review_edit_detected": true,
|
| 75 |
+
"any_post_rebuttal_text_signal": false,
|
| 76 |
+
"review_score_dimensions": [
|
| 77 |
+
"rating",
|
| 78 |
+
"soundness",
|
| 79 |
+
"presentation",
|
| 80 |
+
"contribution",
|
| 81 |
+
"confidence"
|
| 82 |
+
]
|
| 83 |
+
}
|
open_review/iclr2025_13834.md
ADDED
|
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
M-LONGDOC: A BENCHMARK FOR MULTIMODAL
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
The ability to understand and answer questions over documents can be useful in many business and practical applications. However, documents often contain lengthy and diverse multimodal contents such as texts, figures, and tables, which are very time-consuming for humans to read thoroughly. Hence, there is an urgent need to develop effective and automated methods to aid humans in this task. In this work, we introduce M-LongDoc, a benchmark of 851 samples, and an automated framework to evaluate the performance of large multimodal models. We further propose a retrieval-aware tuning approach for efficient and effective multimodal document reading. Compared to existing works, our benchmark consists of more recent and lengthy documents with hundreds of pages, while also requiring open-ended solutions and not just extractive answers. To our knowledge, our training framework is the first to directly address the retrieval setting for multimodal long documents. To enable tuning open-source models, we construct a training corpus in a fully automatic manner for the question-answering task over such documents. Experiments show that our tuning approach achieves a relative improvement of 4.6% for the correctness of model responses, compared to the baseline open-source models.[1]
|
| 10 |
+
|
| 11 |
+
The ability to comprehend long and complex multi-modal documents and respond to user queries about them is crucial in various practical applications such as business intelligence analysis, academic literature review, and legal research (Mathew et al., 2020). Recently, large multimodal models such as GPT-4V (OpenAI, 2023) have shown great potential in processing and analyzing diverse types of information, including text, images, and even structured data (Huang et al., 2024b). These models offer the promise of automating tasks that traditionally required extensive human effort, such as document analysis, information retrieval, and question-answering (Fujitake, 2024). However, real-world documents often present significant challenges due to their length, complexity, and multimodal nature, containing a mix of text, figures, tables, and charts (Faysse et al., 2024). Thus, it is not clear whether current models are capable of an in-depth understanding of lengthy multimodal documents. On the other hand, while existing benchmarks have fostered great progress in document understanding, they often fall short in representing these challenges, typically focusing on documents with less than 50 pages, and limited to simpler extraction-based questions (Ma et al., 2024).
|
| 12 |
+
|
| 13 |
+
To address these limitations, we introduce M-LongDoc, a comprehensive benchmark consisting of 851 samples specifically designed to evaluate the performance of large multimodal models on lengthy and diverse documents. Unlike previous datasets (Mathew et al., 2020; Liu et al., 2024; Ma et al., 2024) that mainly contain short documents, M-LongDoc features recent documents _spanning hundreds of pages, encompassing a wide range of topics and document structures_ as shown in Figures 1 and 2. In addition, as shown in Figure 3, our benchmark _goes beyond simpler extractive questions, requiring models to provide open-ended solutions_ that demonstrate in-depth understand-
|
| 14 |
+
|
| 15 |
+
1 We will make the M-LongDoc benchmark, the training corpus for multimodal document reading, and our source code publicly available.
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
Pages Tokens In-Depth DocVQA 1.0 151.5 � ChartQA 1.0 236.9 � InfoVQA 1.2 288.0 � TAT-DQA 1.1 577.0 � VisualWebBench 1.0 452.4 � PWC 12 7000 � MP-DocVQA 8.3 2026.6 � DUDE 5.7 1831.5 � SlideVQA 20.0 151.5 � MMLongBench 47.5 2030.5 � **065 Ours** 210.8 120988.0 � Figure 2: Comparison of benchmarks along three dimensions: the number of pages per doc- ument, the number of tokens per document, and the nature of the responses required. Specifi- cally, we assess whether each benchmark em- Figure 1: Data distribution of document topics phasizes in-depth, comprehensive answers or in our M-LongDoc benchmark. focuses on short or extractive responses. ing of the document content (Fan et al., 2019). M-LongDoc poses a question answering task where models have to analyze and reason over texts, figures, or tables in each multimodal long document. We aim for this benchmark to serve as a valuable resource for researchers and practitioners, enabling more rigorous testing and development of multimodal document understanding systems. Another challenge we have to overcome is that due to the lengthy content of multimodal documents and the in-depth solutions, the evaluation of the open-ended question-answering task becomes tricky. To assess such open-ended solutions in a scalable and standardized manner, we design an automated evaluation framework that does not require reference answers or human annotation. Inspired by previous works in model-based evaluation (Zheng et al., 2023; Zhao et al., 2024; Liu et al., 2023c), our evaluation framework leverages a detailed evaluation guide and multiple judge models to score the correctness of each generated solution. With our proposed M-LongDoc and evaluation framework, we conducted preliminary study on ex- isting models and the results show that they struggle with figure and table-based questions compared to text-based questions, revealing their multimodal bias and weaknesses (Chen et al., 2024b). Fur- thermore, we observed that the models can be easily distracted by irrelevant content in the document pages (Shi et al., 2023), even with the aid of retrieval-augmented generation. To enhance the robust- ness of multimodal models against potentially irrelevant retrieved content, we propose a retrievalaware tuning approach for multimodal document reading. This framework unifies supervised fine- tuning and retrieval augmented generation by including distracting content from other modalities and pages in each document. Thus, we adapt models to effectively incorporate the domain knowl- edge in multimodal documents while ignoring the content irrelevant to the given query. Compared to existing training methods, ours is the first to address retrieval-augmented multimodal training for rich document layouts. To support this training framework and the enhancement of open-source models, we further construct a training corpus of 10,070 samples for question-answering over multi- modal long documents. Experiments show that our approach achieves a 4.6% relative improvement in the correctness of model responses, compared to the baseline model. The key contributions of this work are threefold: 1) We introduce M-LongDoc, a multimodal bench- mark that more accurately represents the challenges of real-world document understanding tasks. Our automated evaluation framework enables scalable and standardized assessment of open-ended solutions. 2) Our evaluation of leading models indicates that most models struggle with figure and table-based questions compared to text-based questions, revealing their multimodal bias. 3) We propose a retrieval-aware tuning framework that together with our large-scale training corpus, significantly improves the efficiency and effectiveness of multimodal document reading.
|
| 20 |
+
|
| 21 |
+
2
|
| 22 |
+
|
| 23 |
+
**108 109 Dataset Example Question Example Answer 110** What is the underlined heading just above the table? Indications for implantation DocVQA What is the Extension Number as per the voucher? (910) 741-0673 What is the number of red logos in page 10? 0 MMLongBench I'm at the location "J" shown in the campus map. Tell me Ten Years After Cafe the name of the nearest coffee shop. The oven vents are located at the top front of the oven, with one vent on the upper front and another on the lower front. Their positioning is important for proper oven function because they release hot air and moisture from the oven during Ours cooking and cleaning. Blocking or covering the vents can cause poor air circulation, affecting cooking and cleaning results. The vents also help to maintain a consistent temperature in the oven Where are the oven vents located on this range model, and by releasing excess heat and preventing the why is their positioning important for proper oven function? oven from overheating. Figure 3: Example questions in different multimodal document question answering benchmarks. For illustration, we include content from the relevant page in the original document. The example question from M-LongDoc is more complex than those from other benchmarks, as it requires an explanatory answer rather than an extraction of a short text span. Furthermore, it requires the model to understand the semantics of both image and text. Please note that in our benchmark setting, the model is provided with all page contents from the document, and not only the relevant page. Thus, we believe that this work contributes to the field of document understanding and paves the way for more capable and practical applications of large multimodal models in real-world scenarios. To accelerate the studies in our community, we will make the M-LongDoc benchmark, the training corpus for multimodal document reading, and our source code publicly available. 2 M-LONGDOC BENCHMARK To evaluate the multimodal long document understanding ability of existing models, we present M- LongDoc, a challenging and diverse benchmark. Notably, the benchmark focuses on open-ended questions that require in-depth solutions and analysis over very long documents with more than 200 pages on average. For diversity, the questions cover the academic, financial, and product domains, with multiple topics in each domain. 2.1 DATA COLLECTION To support our evaluation benchmark, we manually source high-quality multimodal documents from publicly accessible sources. Concretely, we source research papers[2] , company reports[3] and prod- uct instruction manuals[4] for the academic, financial, and product domains respectively. Thus, the dataset covers a range of document formats and domains. As research papers often require domain expertise, we constrain the academic domain to computer science topics. To reduce the risk of data contamination or memorization when evaluating existing models (Dong et al., 2024), we constrain the documents to be published in January 2024 or later. As most existing models are unable to process raw PDF files, we conduct a simple data processing to extract the texts and relevant images from each document. Specifically, we use the PyMuPDF[5] tool to automatically extract the text from each page. To extract the figures and tables from each page, we leverage an existing object detection model (Pfitzmann et al., 2022). Thus, the processed documents consist of interleaved textual and visual content, where the visual contents are extracted images of figures and tables.
|
| 24 |
+
|
| 25 |
+
2[URL removed]
|
| 26 |
+
|
| 27 |
+
- 3[URL removed]
|
| 28 |
+
|
| 29 |
+
> 4[URL removed]
|
| 30 |
+
|
| 31 |
+
> 5[URL removed]
|
| 32 |
+
|
| 33 |
+
3
|
| 34 |
+
|
| 35 |
+
Content Types Question Generation Automated Verification Texts Content: Tables Content: Tables Tables Model: GPT-4o Model: GPT-4o Figures Instruction: Question Generators Generate a Question: Analyze the challenging company’s Claude 3.5GPT-4o the based on question **table…** position…liquidity (± 1 page) Gemini 1.5 Pro Human Checklist Prompting Verification Document Pages Contains **tables** ? Yes Question: Analyze the company's liquidity position from September **Table** required? Yes 30, 2022 to September 30, 2023 using the cash and cash Question clear and equivalents data. What does the answerable? Yes change in composition of liquid assets suggest about the company's cash management Reasonable difficulty? Yes strategy, and how might this impact its short-term financial flexibility? Figure 4: Overview of our data construction process with question verification stages. For brevity, we shorten the checklist prompts and include the full details in Appendix A.1. 2.2 QUESTION GENERATION To construct diverse and challenging open-ended questions, we leverage a semi-automated pipeline. Concretely, as shown in Figure 4, given a specified content category, we first randomly select a page from the document that contains the specific content category, such as texts, tables, or figures. Consequently, we randomly select a question generator from a pool of leading multimodal models and instruct it to generate a challenging question based on the document page. To ensure that the question generator has sufficient context, we also provide the previous page and subsequent page as additional inputs during the question generation process. To improve the quality of the generated questions, we conduct an automated verification process as a preliminary filter for unsuitable questions. Concretely, the question generator is also instructed to reflect on the generated question and follow a multi-step checklist to validate the question. For example, the checklist includes checking if the question is relevant to the document page, if the specified content category is required to answer the question, and whether the question is answer- able. The question is rejected if it does not satisfy any condition in the checklist. Lastly, we employ a team of annotators to conduct final validation for each question. We employ expert annotators who are Ph.D. students and above in computer science for the academic domain, and professional annotators for the finance and product domains. To be consistent, we provide a similar checklist and instruction as our automated verification stage, and the annotation details are included in Appendix A.1. We found that 80.1% of the generated questions satisfied the automated verification. Of these questions that passed automated verification, 80.9% also satisfied the human verification. Thus, we only retain 851 questions that satisfied both the automated and human verification. The statistics of our benchmark dataset are shown in Table 1, where we ensure a balanced distribu- tion of questions and documents from each domain and question category. In this work, we focus on questions that require a single page of content to answer, and only retain answerable questions. Please also note that while each question focuses on a specific category in a document page, the page may contain content from other categories as context. For instance, a table-based question may also require comparisons to other tables or texts from the same page. Compared to the existing benchmarks in Figure 2, M-LongDoc poses a greater challenge in two main aspects. Firstly, the significantly greater number of pages and tokens in each multimodal document poses extreme computational costs and opportunities to be distracted by irrelevant content (Shi et al., 2023). While this challenge may be mitigated by retrieval-augmented generation (Chen et al., 2022), our preliminary study in Section 2.4 shows that existing models are still hindered by their multimodal
|
| 36 |
+
|
| 37 |
+
4
|
| 38 |
+
|
| 39 |
+
Academic Product Financial All Paper Manuals Report Documents 60 60 60 180 Questions 311 279 261 851 Text-based questions 95 95 81 271 Figure-based questions 114 93 76 283 Table-based questions 102 91 104 297 Average pages per document 201.2 277.8 153.4 210.8 Average text tokens per document 114,129.8 109,745.0 139,089.3 120,988.0 Average figure images per document 90.8 368.3 24.1 161.13 Average table images per document 34.9 96.6 83.8 71.8 Table 1: Benchmark dataset statistics with respect to each domain. bias (Chen et al., 2024b). In addition, our benchmark poses challenging open-ended questions as shown in Figure 3, requiring models to produce in-depth analyses in their solutions. Thus, we believe M-LongDoc is a more realistic and challenging benchmark compared with existing datasets focusing on short answers that can often be extracted directly from the source document. 2.3 AUTOMATED EVALUATION Given the challenging nature of our multimodal long document benchmark, it is crucial to have a scalable and standardized evaluation method. However, it is less feasible to conduct comprehensive human evaluation due to high labour costs and lack of reproducibility (Clark et al., 2021). Thus, inspired by previous works in automatic evaluation (Zheng et al., 2023; Zhao et al., 2024; Liu et al., 2023c), we propose an evaluation framework based on a committee of multimodal judges. Con- cretely, we leverage multiple leading multimodal models to score each answer to a question based on the criteria of correctness. To provide a clear guideline for evaluation, we define the task introduction and criteria as shown in Figure 5. To provide more detailed evaluation instruction beyond the basic definitions above, we further construct detailed evaluation steps, based on the task and criteria. Thus, the finalized evaluation guide for each judge model consists of the task introduction, criteria, and fixed evaluation steps. To provide a more reliable evaluation and reduce intra-model bias (Verga et al., 2024), we leverage multiple judges to evaluate each candidate answer. Specifically, each judge model _Mj_ is provided with the evaluation guide _g_ , ground-truth evidence page as context _c_ , question _q_ , and candidate answer _a_ ˆ, and instructed to assign a correctness score from 1 to 5. However, we observe some variance in the output scores, even with the same judge model and inputs. Thus, we sample multiple scores from each judge model _Mj_ and aggregate the scores to obtain a fine-grained, continuous score that better reflects the quality of the candidate answer: _J K_ 1 Score = _J · K_ � � _sj,k ∼ Mj_ ( _g, c, q,_ ˆ _a_ ) (1) _j_ =1 _k_ =1 where _J_ = 3 is the number of judge models and _K_ = 5 is the number of sampled scores per judge model. While there may be some degree of subjectiveness in our framework, our analysis in later sections shows that it largely agrees with human preferences with minimal bias (Zheng et al., 2023). Thus, we believe this automated evaluation framework is reliable and more scalable. 2.4 PRELIMINARY STUDY To investigate the limitations of existing models, we conduct a preliminary study on a subset of 100 random samples from our M-LongDoc benchmark. Concretely, we select Gemini (Google, 2024) and Qwen2-VL (Wang et al., 2024) to represent highly capable models for the close-source and open-source settings respectively. While large multimodal models have shown impressive capabili- ties and support longer input contexts, they often struggle with understanding very long documents and may incur great computational costs (Dingjie et al., 2024). Thus, we focus our study on the retrieval-augmented generation paradigm (Lewis et al., 2020), which leverages a retriever to select
|
| 40 |
+
|
| 41 |
+
5
|
| 42 |
+
|
| 43 |
+
**==> picture [432 x 652] intentionally omitted <==**
|
| 44 |
+
|
| 45 |
+
**----- Start of picture text -----**<br>
|
| 46 |
+
270 Evaluation Guide Multi-Judge Scoring<br>271<br>272 Context Question & Answer<br>Task Introduction: You will be<br>273 given one response to a question<br>based on the multimodal document<br>274<br>containing texts, figures, or tables... Q: Analyze the<br>275 company’s position…<br>276<br>277 Criteria: Correctness (1-5): Degree A: The company's<br>to which the response accurately, cash increased …<br>278 comprehensively, and appropriately<br>(± 1 page)<br>279 addresses the question based on<br>the information in the document…<br>280<br>281<br>Claude 3.5 GPT-4o Gemini 1.5 Pro<br>282<br>283<br>Evaluation Steps:<br>284 1. Thoroughly review the<br>285 multimodal document (text, figures,<br>tables) and the question. 0.5<br>286 2. Carefully read the response,<br>287 comparing it to the information in the document. 0.0 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5<br>288<br>3. Assess the accuracy,<br>289 comprehensiveness, and relevance<br>to the question… Correctness: 3.8<br>290<br>291<br>292<br>Figure 5: Our automated evaluation framework to assess the correctness of open-ended solutions for<br>293<br>multimodal question answering. The full evaluation guide is included in Appendix A.3.<br>294<br>295<br>296 Text Figure Table All<br>297<br>Gemini-1.5-pro-002<br>298<br>w/ top k = 1 pages 4.38 3.73 4.16 4.11<br>299 w/ top k = 5 pages 4.60 4.31 4.54 4.49<br>300 w/ top k = 10 pages 4.61 4.29 4.62 4.51<br>301 w/ top k = 20 pages 4.63 4.33 4.38 4.46<br>302<br>Qwen2-VL-7B-Instruct<br>303<br>w/ top k = 1 pages 4.05 3.25 3.36 3.57<br>304 w/ top k = 5 pages 4.17 3.67 3.46 3.78<br>305 w/ top k = 10 pages 4.08 3.62 3.19 3.65<br>306 w/ top k = 20 pages OOM OOM OOM OOM<br>307<br>308 Table 2: Preliminary study on M-LongDoc for open-source and close-source models. We report the<br>309 correctness score out of 5 for text-based, figure-based, table-based, and all questions respectively.<br>310<br>311<br>312 only the most relevant content, and the retrieved content is used to augment the generator model<br>313 inputs for question answering. Concretely, we use ColPali (Faysse et al., 2024) as a state-of-the-art<br>314 multimodal retriever and leverage the top k pages of multimodal content as context. We include<br>315 more details on the implementation and evaluation of retriever performance in Appendix A.2.<br>316<br>Notably, as shown in Table 2, we observe significantly lower performance for figure-based and table-<br>317<br>based questions, as compared to text-based questions. We believe that this discrepancy suggests that<br>318 current models are weaker in processing image-based contents in multimodal documents, or may<br>319 be biased towards the textual content, even when they are trained on interleaved multimodal data<br>320 (Chen et al., 2024b). Furthermore, we find that increasing the amount of retrieved content may not<br>321 improve overall performance, and may even lead to worse performance or out-of-memory (OOM)<br>322 issues. This indicates that the multimodal generator models may be easily distracted by irrelevant<br>323 content in longer contexts (Shi et al., 2023). Thus, we believe it is crucial to address these challenges<br>of existing models for processing multimodal long documents.<br>**----- End of picture text -----**<br>
|
| 47 |
+
|
| 48 |
+
6
|
| 49 |
+
|
| 50 |
+
Training Input Vision Training Output Language Model Multimodal Document Context **327 328 329 Answer** : The **330 Question** : company's total Analyze the cash and cash company's equivalents liquidity increased by position… 4.6% from 2022 to 2023… Figure 6: Our retrieval-aware multimodal tuning framework to enhance the ability of models to iden- tify and utilize pertinent content in multimodal documents. At training time, the model is provided with more relevant pages retrieved from the document, which may contain both the gold evidence page and multiple ‘distractor’ pages. Additionally, to verify the reliability of our automated evaluation, we conduct manual human scoring based on the same evaluation guide. For the samples in this preliminary study, we observed a Pearson correlation of 88.9% with _p <_ 0 _._ 001 between the final aggregated score from the judge models, and between the final aggregated score from the judge models, and the human annotator. Thus, we believe that our evaluation framework can achieve a very high agreement with human preferences despite the open-ended and in-depth nature of the answers. 3 RETRIEVAL-AWARE MULTIMODAL TUNING While current multimodal models are often trained on interleaved inputs with multiple pieces of texts and images (Liu et al., 2023b), they may not be well-optimized for multimodal documents. Specifi- cally, multimodal documents are more challenging to understand as they contain diverse multimodal content including unstructured texts, and images representing structured tables and figures. Thus, models require a more fine-grained understanding and perception of the multimodal document con- tent. Furthermore, the retrieval setting requires models to ground their outputs in the additional context by identifying and utilizing only the pertinent content. However, previous works (Shi et al., 2023) and our preliminary study have shown that they may still be easily misled by some irrelevant information in the retrieved content. To our knowledge, there is no open-source model that can address these challenges in multimodal long documents. To this end, we propose a simple and effective retrieval-aware multimodal document tuning ap- proach. Inspired by previous works in retrieval augmentation (Chen et al., 2022; Zhang et al., 2024), we include both retrieval context from the ground-truth evidence page as well as potentially ir- relevant pages during training. Our approach as shown in Figure 6 presents a training paradigm that is more realistic and similar to the challenges faced during test-time retrieval of multimodal content. Thus, the model learns to handle potentially noisy retrieval contexts, while improving its text understanding and visual perception capabilities to utilize the most relevant document content. To construct the training data, we leverage the same process as shown in Figure 4 to construct a training corpus of 10,070 samples across 300 documents, and leverage the respective question gen- erator models to also produce a high-quality answer based on each ground-truth evidence page. We omit the human verification stage for scalability and cost-efficiency, as majority of the automatically verified samples also satisfied human verification. To assess the quality of the generated training solutions, we evaluated using our automated scoring framework on a random subset of 100 samples. We observed an average correctness score of 4.82, indicating very high quality of answers in the training data. To avoid data leakage, we ensure that the documents used to construct the training corpus do not overlap with the evaluation set. For example, we ensure that the training documents are from different companies and products, and are published in an earlier time period.
|
| 51 |
+
|
| 52 |
+
Additionally, to verify the reliability of our automated evaluation, we conduct manual human scoring based on the same evaluation guide. For the samples in this preliminary study, we observed a Pearson correlation of 88.9% with _p <_ 0 _._ 001 between the final aggregated score from the judge models, and between the final aggregated score from the judge models, and the human annotator. Thus, we believe that our evaluation framework can achieve a very high agreement with human preferences despite the open-ended and in-depth nature of the answers.
|
| 53 |
+
|
| 54 |
+
7
|
| 55 |
+
|
| 56 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|Model<br>Size|Domain<br>Academic<br>Product<br>Finance|Question Category<br>Text<br>Figure<br>Table<br>All|
|
| 57 |
+
|---|---|---|---|
|
| 58 |
+
|||_Proprietary Models_||
|
| 59 |
+
||GPT-4o<br>-<br>Claude 3.5 Sonnet<br>-<br>Gemini 1.5 Pro<br>-|4.56<br>4.38<br>4.51<br>4.59<br>4.43<br>4.51<br>4.66<br>4.43<br>4.43|4.55<br>4.38<br>4.53<br>4.49<br>4.57<br>4.42<br>4.54<br>4.51<br>4.59<br>4.43<br>4.52<br>4.51|
|
| 60 |
+
|||_Open-Source Models_||
|
| 61 |
+
||LLaVA OneVision<br>7B<br>Qwen2-VL<br>7B<br>w/ Retrieval Tuning<br>7B|3.71<br>3.74<br>3.39<br>4.03<br>3.88<br>3.56<br>**4.17**<br>**4.01**<br>**3.86**|4.03<br>3.57<br>3.30<br>3.62<br>4.08<br>3.83<br>3.62<br>3.84<br>**4.31**<br>**4.00**<br>**3.77**<br>**4.02**|
|
| 62 |
+
||Table 3: Evaluation of model performance for proprietary and open-source multimodal models. We<br>report the correctness on our benchmark across different document domains and question categories.<br>We bold the highest scores obtained by open-source models.<br>4<br>EXPERIMENTS<br>4.1<br>TASKSETTING<br>To ensure a practical task setting, we focus on the retrieval-based paradigm, which avoids the exor-<br>bitant cost to process the full document. Based on our preliminary study in Section 2.4, we use the<br>top_k_ = 5pages ranked by the retriever as a reasonable amount of context for each question. Thus,<br>each model is provided with the retrieved context and question as input, and required to provide an<br>open-ended solution as output. As discussed in Section 2.3, we leverage an automated framework<br>with multiple judge models to score the correctness of each output solution, on a scale of 1 to 5.<br>4.2<br>MODELS<br>To provide a more comprehensive investigation of current models, we use both open-source and<br>close-source models in this work. Concretely, we select GPT-4o (gpt-4o-2024-05-13)6, Claude 3.5<br>Sonnet (claude-3-5-sonnet-20240620)7 and Gemini 1.5 Pro (gemini-1.5-pro-002) (Google, 2024)<br>due to their leading performance on multimodal benchmarks (Yue et al., 2023). Regarding open-<br>source models, we specifcally select models which support interleaved multimodal inputs with<br>multiple images, and fne-grained visual perception of document content. Thus, we mainly focus on<br>LLaVA-OneVision-7B (Li et al., 2024) and Qwen2-VL-7B-Instruct (Wang et al., 2024). We plan to<br>expand our investigation to other capable open-source models as they are released.<br>4.3<br>HYPERPARAMETERS<br>For all models, we use greedy decoding with temperature_T_ = 0to reduce variance. In our training<br>framework, we set the number of training epochs to be 1, batch size as 16, and learning rate as 1e-4.<br>To reduce the training cost due to limited computational resources, we leverage LoRA (Hu et al.,<br>2022) training with rank as 64 and alpha as 32. Due to training instabilities with other open-source<br>models, we mainly focus the training experiments on the Qwen2-VL-7B-Instruct model, which<br>demonstrates leading performance compared to similar-sized models.<br><br>|||
|
| 63 |
+
|
| 64 |
+
## 5 RESULTS
|
| 65 |
+
|
| 66 |
+
## 5.1 MAIN RESULTS
|
| 67 |
+
|
| 68 |
+
To assess the effectiveness of our approach and the holistic performance of existing models, we report the main evaluation results in Table 3. First, we find that our retrieval-aware multimodal
|
| 69 |
+
|
| 70 |
+
6[URL removed]
|
| 71 |
+
|
| 72 |
+
> 7[URL removed]
|
| 73 |
+
|
| 74 |
+
8
|
| 75 |
+
|
| 76 |
+
Question Category Model Text Figure Table Qwen2-VL 4.08 3.83 3.62 w/o Image Inputs 4.22 3.37 3.38 w/ Render Page as Inputs 3.99 3.70 3.39 Table 4: Analysis on alternative settings for our benchmark, including removing images from model inputs, and using only the render image of each page as document context, without text extraction. tuning significantly and consistently enhances the performance of Qwen2-VL, representing a relative improvement of 4.6% in answer correctness. Thus, we view the proposed training approach as a promising strategy to enhance multimodal long document understanding ability, and reduce the gap between open-source and proprietary models. Second, we observe that open-source models have worse performance in answering table-related questions compared to other question categories. This discrepancy highlights the need for more efforts to enhance the table understanding capability of open-source multimodal models. We include further qualitative analysis of the model predictions in the Appendix A.4. 5.2 EFFECT OF ALTERNATIVE SETTINGS While we mainly focus on the multimodal setting with extracted texts and images, we believe it is also important to explore other settings in practice. Our main data setting as discussed in Section 2.1 first extracts the texts, figures, and tables separately, with the figures and tables represented as individual images. As shown in Table 4, we find a significant decrease in performance of 12.0% and 6.6% respectively for figure-based and table-based questions when the image inputs are removed. However, the model may still be able to answer the questions to a limited extent as the extracted text may contain partial information about the tables and figures. We believe that this underscores the importance of leveraging multimodal content in documents, even though many documents may con- tain a majority of the content as texts. The performance increases slightly for text-based questions when image inputs are removed, suggesting that the images may mislead the model in rare cases. However, we believe this is acceptable as questions may cover a wide variety of multimodal content in practice. On the other hand, we observe that it may be less optimal to use only rendered images of document pages as inputs, instead of separately extracting the texts, tables, and figures as in our main setting. While the rendered page image does contain the original information and layout of the document, including texts, tables, and figures, the model may be less capable of distinguishing the content between texts and tables. 6 RELATED WORK 6.1 LARGE MULTIMODAL MODELS In recent years, large multimodal models have demonstrated their capability to process and compre- hend data across various formats. Close-source models such as GPT-4o (AI, 2024) can reason across audio, vision and text. Claude 3.5 Sonnet (Anthropic, 2024) shows marked improvement on tasks that require visual reasoning like interpreting charts and graphs. On the other hand, Gemini 1.5 Pro (Google, 2024) is capable of reasoning over multiple long documents and hours of video and audio. Open-source models such as Llava (Liu et al., 2023a), Idefics (Laurenc¸on et al., 2023), Otter (Li et al., 2023), InternVL (Chen et al., 2024c), CogVLM (Wang et al., 2023), have also shown the po- tential over various types of multi-modal content including document images (Mathew et al., 2020), slides (Tanaka et al., 2023), and charts (Huang et al., 2024a). However, the benchmark performance of open-source models tends to lag behind that of close-source models (Yue et al., 2023), prompting an urgent need to bridge the gap. In this work, we introduce a retrieval-aware multimodal tuning framework which can significantly improve the multimodal long document understanding ability of models.
|
| 77 |
+
|
| 78 |
+
9
|
| 79 |
+
|
| 80 |
+
6.2 DOCUMENT UNDERSTANDING DATASETS Given the practical and business applications of document understanding, researchers have devoted significant effort to this area by introducing new datasets and methods. SearchQA (Dunn et al., 2017), NarrativeQA (Koˇcisk`y et al., 2018), QuALITY (Zhu et al., 2020) are reading comprehension datasets over purely textual data with an average length ranging from 1850 to 60k tokens. FinQA (Chen et al., 2021), DocFinQA (Reddy et al., 2024) are introduced in the financial domain. MarkQA (Huang et al., 2023) tackes QA over knowledge bases with numerical reasoning. DocVQA(Mathew et al., 2020) presents a visual question answering dataset on document images. VisualWebBench (Liu et al., 2024) is a multimodal benchmark over single-page documents focusing on various QA- style tasks. MMLongBench (Ma et al., 2024) is a multimodal document understanding dataset with an average of 47.5 pages and 21k textual tokens. Methods such as PDFTriage (Saad-Falcon et al., 2023) enables models to retrieve the context from long and structured documents. TAT-LLM (Zhu et al., 2024) addresses QA over a hybrid of tabular and textual data. ChartQA (Masry et al., 2022) is a benchmark of extractive questions-answering task over a chart image, while Chocolate (Huang et al., 2024b) annotates the types of factual errors in machine-generated chart captions. Concurrent to our work, DocBench (Zou et al., 2024) is similar to MMLongBench as it also focuses on questions with short or extractive answers. In contrast, our benchmark mainly considers longer, open-ended answers which require more thorough understanding of the document. Furthermore, the authors have found that multimodal models such as GPT-4o perform worse than text-only GPT-4, which indicates the benchmark may be less suitable for multimodal evaluation. On the other hand, our results show that multimodal content is critical for our benchmark, as text-only inputs leads to significant performance degradation. Compared to the datasets above, our benchmark contains lengthier documents with hundreds of pages and focusing on open-ended questions which require in-depth solutions. We further propose an automated and reliable evaluation framework to assess the correctness of model answers, which demonstrates very high agreement with human preferences. 6.3 RETRIEVAL-AUGMENTED GENERATION While recent multimodal models have shown impressive capability in many tasks, applying them di- rectly to long document understanding tasks may face several challenges to the diverse multimodal content. Additionally, processing entire documents with large models is often impractical, as the text alone may contain millions of tokens, leading to substantial computational costs. Therefore, researchers have designed various retrieval augmented generation (Lewis et al., 2020; Chen et al., 2022) methods to address the issues. In this work, we have investigated multiple retrieval methods optimized for document page retrieval, including JINA-CLIP (Xiao et al., 2024) BM25 (Robertson & Zaragoza, 2009), BGE-M3 (Chen et al., 2024a) and ColPali (Faysse et al., 2024). However, de- spite using retrieval, existing multimodal models are constrained by their multimodal biases (Chen et al., 2024b) and susceptibility to irrelevant content that is inherent in the retrieved context (Shi et al., 2023). Thus, we further proposed a retrieval-aware tuning framework to enhance the performance of models when leveraging retrieval for multimodal long documents. 7 CONCLUSION In this work, we introduce M-LongDoc, a benchmark dataset consisting of 851 samples and an au- tomated framework to evaluate the performance of large multimodal models on document question answering tasks. This benchmark is specifically designed for long and diverse document formats containing text, figures, and tables, aligning with the demands of real-world applications. Unlike existing benchmarks, M-LongDoc features more recent and lengthy documents, often hundreds of pages long, and requires open-ended solutions rather than just extractive answers. We also propose a retrieval-aware tuning approach designed for the efficient and effective processing of multimodal long documents. To our knowledge, this is the first training framework and model to directly address the retrieval setting for such documents. Experimental results demonstrate that our method achieves a relative improvement of 4.6% in the correctness of model responses compared to baseline open-source models. This improvement showcases the effectiveness of our approach in handling lengthy and complex multimodal documents, potentially aiding humans in various business and practical applications that require understanding and answering questions over such documents.
|
| 81 |
+
|
| 82 |
+
10
|
| 83 |
+
|
| 84 |
+
## ETHICS STATEMENT
|
| 85 |
+
|
| 86 |
+
We will release the benchmark and training dataset publicly to facilitate further research in this area. To observe copyright rules, we do not release the documents directly, but instead the links to download each document. All annotators in this work were volunteers. While we focus on how models may answer questions based on multimodal documents, it is still possible for them to hallucinate information that is false or not verifiable.
|
| 87 |
+
|
| 88 |
+
## REPRODUCIBILITY STATEMENT
|
| 89 |
+
|
| 90 |
+
In this work, we have included the details of our training framework and hyperparameters in Sec- tion 3 and 4. As discussed above, our benchmark dataset and questions will be released under a public licence. For reproducibility, our code will be found at [URL removed] science/r/private-multimodal-documents-B2CF/.
|
| 91 |
+
|
| 92 |
+
## REFERENCES
|
| 93 |
+
|
| 94 |
+
Open AI. Hello gpt-4o, 2024. URL [URL removed]
|
| 95 |
+
|
| 96 |
+
- Anthropic. Claude 3.5 sonnet, 2024. URL [URL removed]
|
| 97 |
+
|
| 98 |
+
- claude-3-5-sonnet.
|
| 99 |
+
|
| 100 |
+
-
|
| 101 |
+
|
| 102 |
+
- Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. Bge m3-embedding: Multi-lingual, multi-functionality, multi-granularity text embeddings through self-knowledge dis- tillation, 2024a. URL [URL removed] Meiqi Chen, Yixin Cao, Yan Zhang, and Chaochao Lu. Quantifying and mitigating unimodal biases in multimodal large language models: A causal perspective, 2024b. URL [URL removed]
|
| 103 |
+
|
| 104 |
+
- org/abs/2403.18346.
|
| 105 |
+
|
| 106 |
+
-
|
| 107 |
+
|
| 108 |
+
- Wenhu Chen, Hexiang Hu, Xi Chen, Pat Verga, and William Cohen. MuRAG: Multimodal retrieval- augmented generator for open question answering over images and text. In Yoav Goldberg, Zor- nitsa Kozareva, and Yue Zhang (eds.), _Proceedings of the 2022 Conference on Empirical Methods_ _in Natural Language Processing_ , pp. 5558–5570, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.emnlp-main.375. URL [URL removed]
|
| 109 |
+
|
| 110 |
+
- Zhe Chen, Weiyun Wang, Hao Tian, Shenglong Ye, Zhangwei Gao, Erfei Cui, Wenwen Tong,
|
| 111 |
+
|
| 112 |
+
- Kongzhi Hu, Jiapeng Luo, Zheng Ma, et al. How far are we to gpt-4v? closing the gap to com-
|
| 113 |
+
|
| 114 |
+
- mercial multimodal models with open-source suites. _arXiv preprint arXiv:2404.16821_ , 2024c.
|
| 115 |
+
|
| 116 |
+
- URL [URL removed]
|
| 117 |
+
|
| 118 |
+
- Zhiyu Chen, Wenhu Chen, Charese Smiley, Sameena Shah, Iana Borova, Dylan Langdon, Reema N Moussa, Matthew I. Beane, Ting-Hao ’Kenneth’ Huang, Bryan R. Routledge, and William Yang Wang. Finqa: A dataset of numerical reasoning over financial data. In _Proceedings of EMNLP_ , 2021. URL [URL removed] Elizabeth Clark, Tal August, Sofia Serrano, Nikita Haduong, Suchin Gururangan, and Noah A. Smith. All that’s ‘human’ is not gold: Evaluating human evaluation of generated text. In
|
| 119 |
+
|
| 120 |
+
- Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli (eds.), _Proceedings of the 59th An-_
|
| 121 |
+
|
| 122 |
+
- _nual Meeting of the Association for Computational Linguistics and the 11th International Joint_
|
| 123 |
+
|
| 124 |
+
- _Conference on Natural Language Processing (Volume 1: Long Papers)_ , pp. 7282–7296, Online, August 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.acl-long.565. URL [URL removed]
|
| 125 |
+
|
| 126 |
+
- Song Dingjie, Shunian Chen, Guiming Hardy Chen, Fei Yu, Xiang Wan, and Benyou Wang. Milebench: Benchmarking MLLMs in long context. In _First Conference on Language Modeling_ , 2024. URL [URL removed]
|
| 127 |
+
|
| 128 |
+
11
|
| 129 |
+
|
| 130 |
+
- Yihong Dong, Xue Jiang, Huanyu Liu, Zhi Jin, Bin Gu, Mengfei Yang, and Ge Li. Generalization
|
| 131 |
+
|
| 132 |
+
- or memorization: Data contamination and trustworthy evaluation for large language models. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), _Findings of the Association for Compu-_ _tational Linguistics ACL 2024_ , pp. 12039–12050, Bangkok, Thailand and virtual meeting, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.716. URL [URL removed] Matthew Dunn, Levent Sagun, Mike Higgins, V Ugur Guney, Volkan Cirik, and Kyunghyun Cho. Searchqa: A new q&a dataset augmented with context from a search engine. _arXiv preprint_
|
| 133 |
+
|
| 134 |
+
- _arXiv:1704.05179_ , 2017. URL [URL removed]
|
| 135 |
+
|
| 136 |
+
- Angela Fan, Yacine Jernite, Ethan Perez, David Grangier, Jason Weston, and Michael Auli. ELI5: Long form question answering. In Anna Korhonen, David Traum, and Llu´ıs M`arquez (eds.), _Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics_ , pp. 3558–3567, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/ v1/P19-1346. URL [URL removed] Manuel Faysse, Hugues Sibille, Tony Wu, Bilel Omrani, Gautier Viaud, C’eline Hudelot,
|
| 137 |
+
|
| 138 |
+
- and Pierre Colombo. Colpali: Efficient document retrieval with vision language mod-
|
| 139 |
+
|
| 140 |
+
- els. _ArXiv_ , abs/2407.01449, 2024. URL [URL removed]
|
| 141 |
+
|
| 142 |
+
- CorpusID:270870444.
|
| 143 |
+
|
| 144 |
+
- Masato Fujitake. LayoutLLM: Large language model instruction tuning for visually rich docu- ment understanding. In Nicoletta Calzolari, Min-Yen Kan, Veronique Hoste, Alessandro Lenci, Sakriani Sakti, and Nianwen Xue (eds.), _Proceedings of the 2024 Joint International Conference_ _on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)_ , pp. 10219–10224, Torino, Italia, May 2024. ELRA and ICCL. URL [URL removed] org/2024.lrec-main.892.
|
| 145 |
+
|
| 146 |
+
- Gemini Team Google. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. _arXiv preprint arXiv:2403.05530_ , 2024. Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In _International Con-_ _ference on Learning Representations_ , 2022. URL [URL removed] id=nZeVKeeFYf9.
|
| 147 |
+
|
| 148 |
+
- Kung-Hsiang Huang, Hou Pong Chan, Yi Ren Fung, Haoyi Qiu, Mingyang Zhou, Shafiq Joty, Shih- Fu Chang, and Heng Ji. From pixels to insights: A survey on automatic chart understanding in the era of large foundation models. _CoRR_ , abs/2403.12027, 2024a. doi: 10.48550/ARXIV.2403. 12027. URL [URL removed] Kung-Hsiang Huang, Mingyang Zhou, Hou Pong Chan, Yi Fung, Zhenhailong Wang, Lingyu Zhang, Shih-Fu Chang, and Heng Ji. Do LVLMs understand charts? analyzing and correcting factual errors in chart captioning. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), _Find-_
|
| 149 |
+
|
| 150 |
+
- _ings of the Association for Computational Linguistics ACL 2024_ , pp. 730–749, Bangkok, Thailand
|
| 151 |
+
|
| 152 |
+
- and virtual meeting, August 2024b. Association for Computational Linguistics. doi: 10.18653/v1/
|
| 153 |
+
|
| 154 |
+
- 2024.findings-acl.41. URL [URL removed]
|
| 155 |
+
|
| 156 |
+
-
|
| 157 |
+
|
| 158 |
+
- Xiang Huang, Sitao Cheng, Yuheng Bao, Shanshan Huang, and Yuzhong Qu. Markqa: A large scale kbqa dataset with numerical reasoning. In _Proceedings of EMNLP_ , 2023. URL https: //api.semanticscholar.org/CorpusID:264439563.
|
| 159 |
+
|
| 160 |
+
- Tom´aˇs Koˇcisk`y, Jonathan Schwarz, Phil Blunsom, Chris Dyer, Karl Moritz Hermann, G´abor Melis,
|
| 161 |
+
|
| 162 |
+
- and Edward Grefenstette. The narrativeqa reading comprehension challenge. _TACL_ , 6:317–328,
|
| 163 |
+
|
| 164 |
+
- 2018. Hugo Laurenc¸on, Lucile Saulnier, L´eo Tronchon, Stas Bekman, Amanpreet Singh, Anton Lozhkov, Thomas Wang, Siddharth Karamcheti, Alexander M. Rush, Douwe Kiela, Matthieu Cord, and Victor Sanh. Obelics: An open web-scale filtered dataset of interleaved image-text documents, 2023.
|
| 165 |
+
|
| 166 |
+
12
|
| 167 |
+
|
| 168 |
+
- Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman
|
| 169 |
+
|
| 170 |
+
- Goyal, Heinrich K¨uttler, Mike Lewis, Wen-tau Yih, Tim Rockt¨aschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive nlp tasks. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), _Advances in Neu-_ _ral Information Processing Systems_ , volume 33, pp. 9459–9474. Curran Associates, Inc., 2020. URL [URL removed] file/6b493230205f780e1bc26945df7481e5-Paper.pdf. Bo Li, Yuanhan Zhang, Liangyu Chen, Jinghao Wang, Jingkang Yang, and Ziwei Liu. Otter: A
|
| 171 |
+
|
| 172 |
+
- multi-modal model with in-context instruction tuning, 2023. URL [URL removed]
|
| 173 |
+
|
| 174 |
+
- abs/2305.03726.
|
| 175 |
+
|
| 176 |
+
- Bo Li, Yuanhan Zhang, Dong Guo, Renrui Zhang, Feng Li, Hao Zhang, Kaichen Zhang, Yanwei Li, Ziwei Liu, and Chunyuan Li. Llava-onevision: Easy visual task transfer, 2024. URL https: //arxiv.org/abs/2408.03326. Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning, 2023a. URL [URL removed]
|
| 177 |
+
|
| 178 |
+
- Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In _Thirty-seventh Conference on Neural Information Processing Systems_ , 2023b. URL https: //openreview.net/forum?id=w0H2xGHlkw. Junpeng Liu, Yifan Song, Bill Yuchen Lin, Wai Lam, Graham Neubig, Yuanzhi Li, and Xiang Yue. Visualwebbench: How far have multimodal LLMs evolved in web page understanding and grounding? In _First Conference on Language Modeling_ , 2024. URL [URL removed]
|
| 179 |
+
|
| 180 |
+
- net/forum?id=egVSgtJJAx.
|
| 181 |
+
|
| 182 |
+
- Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-eval: NLG evaluation using gpt-4 with better human alignment. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), _Proceedings of the 2023 Conference on Empirical Methods in Natural Lan-_ _guage Processing_ , pp. 2511–2522, Singapore, December 2023c. Association for Computational Linguistics. doi: 10.18653/v1/2023.emnlp-main.153. URL [URL removed] 2023.emnlp-main.153. Yubo Ma, Yuhang Zang, Liangyu Chen, Meiqi Chen, Yizhu Jiao, Xinze Li, Xinyuan Lu, Ziyu Liu,
|
| 183 |
+
|
| 184 |
+
- Yan Ma, Xiao wen Dong, Pan Zhang, Liangming Pan, Yu-Gang Jiang, Jiaqi Wang, Yixin Cao,
|
| 185 |
+
|
| 186 |
+
- and Aixin Sun. Mmlongbench-doc: Benchmarking long-context document understanding with visualizations. _ArXiv_ , abs/2407.01523, 2024. URL [URL removed] org/CorpusID:270870089. Ahmed Masry, Xuan Long Do, Jia Qing Tan, Shafiq Joty, and Enamul Hoque. ChartQA: A bench- mark for question answering about charts with visual and logical reasoning. In Smaranda Mure- san, Preslav Nakov, and Aline Villavicencio (eds.), _Findings of the Association for Computational Linguistics: ACL 2022_ , pp. 2263–2279, Dublin, Ireland, May 2022. Association for Computa-
|
| 187 |
+
|
| 188 |
+
- tional Linguistics. doi: 10.18653/v1/2022.findings-acl.177. URL [URL removed]
|
| 189 |
+
|
| 190 |
+
- org/2022.findings-acl.177.
|
| 191 |
+
|
| 192 |
+
- Minesh Mathew, Dimosthenis Karatzas, R. Manmatha, and C. V. Jawahar. Docvqa: A dataset for vqa on document images. _2021 IEEE Winter Conference on Applications of Computer_ _Vision (WACV)_ , pp. 2199–2208, 2020. URL [URL removed] CorpusID:220280200. OpenAI. Gpt-4v(ision) system card, 2023. URL [URL removed]
|
| 193 |
+
|
| 194 |
+
- CorpusID:263218031.
|
| 195 |
+
|
| 196 |
+
- Birgit Pfitzmann, Christoph Auer, Michele Dolfi, Ahmed S. Nassar, and Peter Staar. Doclaynet: A large human-annotated dataset for document-layout segmentation. In _Proceedings of the 28th_ _ACM SIGKDD Conference on Knowledge Discovery and Data Mining_ , KDD ’22, pp. 3743–3751, New York, NY, USA, 2022. Association for Computing Machinery. ISBN 9781450393850. doi: 10.1145/3534678.3539043. URL [URL removed]
|
| 197 |
+
|
| 198 |
+
13
|
| 199 |
+
|
| 200 |
+
- Varshini Reddy, Rik Koncel-Kedziorski, Viet Dac Lai, and Chris Tanner. Docfinqa: A long-
|
| 201 |
+
|
| 202 |
+
- context financial reasoning dataset. In _Proceedings of ACL_ , 2024. URL [URL removed] semanticscholar.org/CorpusID:266999305. Stephen E. Robertson and Hugo Zaragoza. The probabilistic relevance framework: Bm25 and be- yond. _Found. Trends Inf. Retr._ , 3:333–389, 2009. URL [URL removed] org/CorpusID:207178704.
|
| 203 |
+
|
| 204 |
+
- Jon Saad-Falcon, Joe Barrow, Alexa Siu, Ani Nenkova, Ryan A Rossi, and Franck Dernoncourt. Pdftriage: question answering over long, structured documents. _arXiv preprint arXiv:2309.08872_ , 2023. URL [URL removed] Freda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales, David Dohan, Ed Chi, Nathanael Sch¨arli,
|
| 205 |
+
|
| 206 |
+
- and Denny Zhou. Large language models can be easily distracted by irrelevant context. In _Pro-_
|
| 207 |
+
|
| 208 |
+
- _ceedings of the 40th International Conference on Machine Learning_ , ICML’23. JMLR.org, 2023.
|
| 209 |
+
|
| 210 |
+
- Ryota Tanaka, Kyosuke Nishida, Kosuke Nishida, Taku Hasegawa, Itsumi Saito, and Kuniko Saito. Slidevqa: A dataset for document visual question answering on multiple images. _Proceedings_ _of the AAAI Conference on Artificial Intelligence_ , 37(11):13636–13645, Jun. 2023. doi: 10. 1609/aaai.v37i11.26598. URL [URL removed] view/26598.
|
| 211 |
+
|
| 212 |
+
- Pat Verga, Sebastian Hofstatter, Sophia Althammer, Yixuan Su, Aleksandra Piktus, Arkady Arkhangorodsky, Minjie Xu, Naomi White, and Patrick Lewis. Replacing judges with juries: Evaluating llm generations with a panel of diverse models, 2024. URL [URL removed] org/abs/2404.18796. Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu,
|
| 213 |
+
|
| 214 |
+
- Jialin Wang, Wenbin Ge, Yang Fan, Kai Dang, Mengfei Du, Xuancheng Ren, Rui Men, Dayiheng Liu, Chang Zhou, Jingren Zhou, and Junyang Lin. Qwen2-vl: Enhancing vision-language model’s perception of the world at any resolution, 2024. URL [URL removed] 12191. Weihan Wang, Qingsong Lv, Wenmeng Yu, Wenyi Hong, Ji Qi, Yan Wang, Junhui Ji, Zhuoyi Yang, Lei Zhao, Xixuan Song, et al. Cogvlm: Visual expert for pretrained language models. _arXiv_
|
| 215 |
+
|
| 216 |
+
- _preprint arXiv:2311.03079_ , 2023.
|
| 217 |
+
|
| 218 |
+
- Han Xiao, Georgios Mastrapas, and Bo Wang. Jina CLIP: Your CLIP model is also your text retriever. In _Multi-modal Foundation Model meets Embodied AI Workshop @ ICML2024_ , 2024. URL [URL removed] Xiang Yue, Yuansheng Ni, Kai Zhang, Tianyu Zheng, Ruoqi Liu, Ge Zhang, Samuel Stevens,
|
| 219 |
+
|
| 220 |
+
- Dongfu Jiang, Weiming Ren, Yuxuan Sun, Cong Wei, Botao Yu, Ruibin Yuan, Renliang Sun, Ming Yin, Boyuan Zheng, Zhenzhu Yang, Yibo Liu, Wenhao Huang, Huan Sun, Yu Su, and Wenhu Chen. Mmmu: A massive multi-discipline multimodal understanding and reasoning benchmark for expert agi. _arXiv preprint arXiv:2311.16502_ , 2023. Tianjun Zhang, Shishir G Patil, Naman Jain, Sheng Shen, Matei Zaharia, Ion Stoica, and Joseph E. Gonzalez. RAFT: Adapting language model to domain specific RAG. In _First Conference on_
|
| 221 |
+
|
| 222 |
+
- _Language Modeling_ , 2024. URL [URL removed]
|
| 223 |
+
|
| 224 |
+
- Ruochen Zhao, Wenxuan Zhang, Yew Ken Chia, Deli Zhao, and Lidong Bing. Auto arena of llms: Automating llm evaluations with agent peer-battles and committee discussions, 2024. URL [URL removed]
|
| 225 |
+
|
| 226 |
+
- . Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang,
|
| 227 |
+
|
| 228 |
+
- Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, Hao Zhang, Joseph E Gonzalez, and Ion Sto- ica. Judging llm-as-a-judge with mt-bench and chatbot arena. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (eds.), _Advances in Neural Informa-_ _tion Processing Systems_ , volume 36, pp. 46595–46623. Curran Associates, Inc., 2023. URL [URL removed] 91f18a1287b398d378ef22505bf41832-Paper-Datasets_and_Benchmarks. pdf.
|
| 229 |
+
|
| 230 |
+
14
|
| 231 |
+
|
| 232 |
+
- Fengbin Zhu, Ziyang Liu, Fuli Feng, Chao Wang, Moxin Li, and Tat-Seng Chua. Tat-llm: A
|
| 233 |
+
|
| 234 |
+
- specialized language model for discrete reasoning over tabular and textual data. _arXiv preprint_ _arXiv:2401.13223_ , 2024.
|
| 235 |
+
|
| 236 |
+
##
|
| 237 |
+
|
| 238 |
+
- Ming Zhu, Aman Ahuja, Da-Cheng Juan, Wei Wei, and Chandan K Reddy. Question answering with long multiple-span answers. In _Findings of the Association for Computational Linguis-_ _tics: EMNLP 2020_ , pp. 3840–3849, 2020. URL [URL removed] naacl-main.391.pdf.
|
| 239 |
+
|
| 240 |
+
- Anni Zou, Wenhao Yu, Hongming Zhang, Kaixin Ma, Deng Cai, Zhuosheng Zhang, Hai Zhao, and Dong Yu. Docbench: A benchmark for evaluating llm-based document reading systems, 2024. URL [URL removed]
|
| 241 |
+
|
| 242 |
+
A APPENDIX
|
| 243 |
+
|
| 244 |
+
## A.1 DATA VERIFICATION
|
| 245 |
+
|
| 246 |
+
To verify each question in our data construction process, we use the following guide to prompt the question generator models for automated verification. Similarly, we use the same guide for human annotation in the human verification stage.
|
| 247 |
+
|
| 248 |
+
-
|
| 249 |
+
|
| 250 |
+
- Based on the document content and question, answer yes or no only to the following questions:
|
| 251 |
+
|
| 252 |
+
- 1. Does the content contain any _{_ category _}_ ? 2. Does the question require information from the _{_ category _}_ ? 3. Is the question clear and answerable based on the _{_ category _}_ ? 4. Is the question of reasonable difficulty and answer cannot be simply copied?
|
| 253 |
+
|
| 254 |
+
- Where _{_ category _}_ refers to table or figure or text, which is denoted with the question.
|
| 255 |
+
|
| 256 |
+
Note: If questions require general knowledge or commonsense in addition to the content, it is still acceptable. In the document PDF file, each question is shown with the ID corresponding to excel sheet, and the document page as image In the excel sheet, indicate “yes” or “no” for each check.
|
| 257 |
+
|
| 258 |
+
## A.2 RETRIEVAL METHODS
|
| 259 |
+
|
| 260 |
+
-
|
| 261 |
+
|
| 262 |
+
To support our retrieval-based document question answering setting, we currently include four state- of-the art methods to retrieve relevant pages based on each question. They include text-based sparse methods such as BM25 (Robertson & Zaragoza, 2009) embedding-based methods such as BGE-M3 (Chen et al., 2024a), multimodal piece-wise embedding methods such as JINA-CLIP (Xiao et al., 2024), and multimodal page-wise embedding methods such as ColPali (Faysse et al., 2024). Note that piece-wise embedding methods separate encode each piece of text, table image, or figure image, whereas page-wise methods can encode the entire page content as a single image. Thus, we rank each page in the document based on the similarity score or relevance score of that page with respect to the given question. As each page may have multiple pieces of content, we consider the highest score of all pieces in a page to be the page-wise relevance score. To compare the effectiveness of each method, we implement a standardized MRR score which refers to the mean reciprocal rank of the gold evidence page for each question. Based on the results in Table 5, we find that ColPali which encodes each page as single image shows the best performance. Thus, we select ColPali as the preferred retrieval method in our main experiments.
|
| 263 |
+
|
| 264 |
+
|Retriever|Text|Figure|Table|All|
|
| 265 |
+
|---|---|---|---|---|
|
| 266 |
+
|BM25|56.2|31.2|42.0|43.1|
|
| 267 |
+
|CLIP|57.1|37.9|50.4|48.5|
|
| 268 |
+
|BGE-M3|66.4|36.4|53.6|52.1|
|
| 269 |
+
|ColPali|68.7|67.5|65.9|67.4|
|
| 270 |
+
|
| 271 |
+
Table 5: Retriever performance comparison.
|
| 272 |
+
|
| 273 |
+
15
|
| 274 |
+
|
| 275 |
+
40 Model Judge Human 30 20 10 0 1 2 3 4 5 Score Figure 7: Distribution of evaluation scores by model judges and human annotators. A.3 EVALUATION GUIDE To evaluate each model answer, we use the following scoring guide. Similarly, we use the same guide for human annotation in our analysis. You will be given one response to a question based on a multimodal document containing texts, figures, or tables. Your task is to rate the response on correctness using a 1-5 scale. Please read and understand these instructions carefully, and keep them open for reference while reviewing. Correctness (1-5) refers to how accurately, comprehensively, and appropriately the response ad- dresses the question based on the information in the document.
|
| 276 |
+
|
| 277 |
+
- 5 - Fully Correct: Completely accurate, comprehensive, fully integrates relevant information from all parts of the document, and provides a coherent answer.
|
| 278 |
+
|
| 279 |
+
- 4 - Mostly Correct: Largely accurate with only minor errors or omissions, addresses most main
|
| 280 |
+
|
| 281 |
+
- points, and integrates information well.
|
| 282 |
+
|
| 283 |
+
-
|
| 284 |
+
|
| 285 |
+
- 3 - Partially Correct: Contains a mix of accurate and inaccurate information, addresses some key points but misses others, and partially integrates information.
|
| 286 |
+
|
| 287 |
+
- 2 - Mostly Incorrect: Has multiple inaccuracies, addresses only a small portion correctly, and shows minimal integration of information.
|
| 288 |
+
|
| 289 |
+
- 1 - Completely Incorrect: Contains significant errors, is irrelevant, or fails to address the question
|
| 290 |
+
|
| 291 |
+
- based on the document.
|
| 292 |
+
|
| 293 |
+
-
|
| 294 |
+
|
| 295 |
+
- Evaluation Steps: 1. Thoroughly review the multimodal document and question. 2. Carefully read the response, comparing it to the document information. 3. Assess the response’s accuracy, comprehensiveness, and relevance. 4. Assign a correctness score from 1 to 5 based on the criteria.
|
| 296 |
+
|
| 297 |
+
Question: question Response: answer Evaluation Form (score only without explanation) Correctness:
|
| 298 |
+
|
| 299 |
+
A.3.1 COMPARISON OF MODEL JUDGE AND HUMAN SCORES A.4 MORE EXAMPLES
|
| 300 |
+
|
| 301 |
+
- A.4.1 EXAMPLE OF M-LONGDOC
|
| 302 |
+
|
| 303 |
+
To investigate the diversity and in-depth nature of questions in our dataset, we manually categorize 100 random examples based on five common types, as shown in Table 6. Furthermore, Table 8 illustrates an example of a challenging question in our M-LongDoc benchmark. This question tests the ability of the model to identify and analyze trends across different charts and draw meaningful
|
| 304 |
+
|
| 305 |
+
16
|
| 306 |
+
|
| 307 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|Category<br>Description<br>Proportion<br>Example Question|
|
| 308 |
+
|---|---|
|
| 309 |
+
||Analytical<br>Rea-<br>soning and Pattern<br>Recognition<br>Questions about trends,<br>com-<br>parisons, and implications (e.g.,<br>engagement trends, performance<br>trends)<br>49%<br>What is the total amount of fnan-<br>cial liabilities at amortized cost<br>for the year 2023, and how does<br>it compare to the total amount for<br>2022? Consider the implications<br>of any changes in these liabilities<br>on the company’s fnancial strat-<br>egy.|
|
| 310 |
+
||Technical Analysis<br>Questions about specifc techni-<br>cal details (e.g., UEFI BIOS,<br>shutter speeds, X-sync speeds)<br>and applications of technical con-<br>cepts.<br>37%<br>What potential issue could arise<br>if you fail to follow the instruc-<br>tion to tighten the screws twice<br>when installing the top cover, and<br>why might this step be particu-<br>larly important for a laptop?|
|
| 311 |
+
||Commonsense and<br>Domain<br>Knowl-<br>edge<br>Questions<br>requiring<br>general<br>knowledge<br>or<br>background<br>knowledge<br>in<br>felds<br>such<br>as<br>fnance, cybersecurity, photogra-<br>phy.<br>46%<br>What are the key differences<br>and potential advantages of us-<br>ing white-box analysis over ma-<br>chine learning for modeling the<br>performance of confgurable sys-<br>tems, as discussed by Velez et al.<br>(2021)?|
|
| 312 |
+
||Visual<br>Interpreta-<br>tion<br>Questions based on interpreting<br>icons, diagrams, or charts.<br>60%<br>Explain the functionalities of the<br>different sections (a, b, c, d) in the<br>LaserFactory design toolbar and<br>discuss how each section con-<br>tributes to the overall design and<br>fabrication process.|
|
| 313 |
+
||Mathematical Rea-<br>soning<br>Questions involving mathemati-<br>cal concepts or calculation from<br>data.<br>17%<br>Calculate the percentage change<br>in diluted net income per share at-<br>tributable to common stockhold-<br>ers from fscal year 2023 to fscal<br>year 2024.<br>What factors likely<br>contributed to this change?|
|
| 314 |
+
||Table 6: Categorization of question types with descriptions and examples.|
|
| 315 |
+
||Dataset<br>Avg. Question Length<br>Avg. Answer Length|
|
| 316 |
+
||DocVQA<br>8.5<br>2.4<br>MMLongBench-Doc<br>16.4<br>2.6<br>M-LongDoc (Ours)<br>31.6<br>180.3|
|
| 317 |
+
||Table 7: Comparison of average question length and answer length in tokens for different datasets.<br>comparisons. To further compare with existing datasets, we measure the average question lengths<br>and answer lengths as shown in Table 7.<br>A.4.2<br>CASE STUDY OFRETRIEVAL-AWARETUNING<br>Table 9 displays a sample question in M-LongDoc and the answers generated by Qwen2-VL and<br>Qwen2-VL w/ Retrieval-aware Tuning. The answer generated by Qwen2-VL states that the Cosine<br>method consistently shows the highest latent cosine similarity across all datasets, which is incor-<br>rect. In fact, the zero-shot stitching experiment does not involve the Cosine method. It appears that<br>Qwen2-VL may have been misled by the keyword ”cosine” appearing elsewhere in the retrieved<br>context. In contrast, the answer generated by Qwen2-VL w/ Retrieval-aware Tuning correctly iden-<br>tifes that the affne method consistently obtains the highest latent cosine similarity (lcos) across all<br>datasets. This demonstrates the effectiveness of our Retrieval-aware Tuning method in improving<br>the model’s capability to comprehend retrieved context.|
|
| 318 |
+
|
| 319 |
+
17
|
| 320 |
+
|
| 321 |
+
## **926 Question:**
|
| 322 |
+
|
| 323 |
+
How does the relationship between reference length percentile and the percentage of empty modes differ from the relationship between reference sentence length percentile and the prob- ability of empty context? Explain the key differences in the trends shown by these two graphs. **930 Relevant page (truncated): 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963** Table 8: An example of a challenging question from M-LongDoc that requires the model to compare the trends of two charts in a document.
|
| 324 |
+
|
| 325 |
+
Table 8: An example of a challenging question from M-LongDoc that requires the model to compare the trends of two charts in a document.
|
| 326 |
+
|
| 327 |
+
18
|
| 328 |
+
|
| 329 |
+
|||
|
| 330 |
+
|---|---|
|
| 331 |
+
|||
|
| 332 |
+
||**Question:**|
|
| 333 |
+
||Which method consistently shows the highest latent cosine similarity (lcos) across all datasets (MNIST,|
|
| 334 |
+
|<br>|F-MNIST, CIFAR-10, CIFAR-100) in the zero-shot stitching experiment, and what might this imply about<br>the nature of transformations between latent spaces in autoencoders?|
|
| 335 |
+
||**Answer generated by Qwen2-VL:**|
|
| 336 |
+
|<br>|The method that consistently shows the highest latent cosine similarity (lcos) across all datasets (MNIST,<br>F-MNIST, CIFAR-10, CIFAR-100) in the zero-shot stitching experiment is the ”Cosine” method. This<br>implies that the ”Cosine” method is able to capture the most similar latent spaces across different architec-|
|
| 337 |
+
||tures, modalities, and datasets. This suggests that the nature of transformations between latent spaces in|
|
| 338 |
+
||autoencoders is not exclusively correlated by orthogonal transformations, but rather by a class of transfor-|
|
| 339 |
+
||mations larger than orthogonal transformations. This fnding highlights the importance of understanding|
|
| 340 |
+
|<br>|and modeling the particular class of transformations that control the correlation between NNs during im-<br>age autoencoding.|
|
| 341 |
+
|<br>|**Answer generated by Qwen2-VL w/ Retrieval-aware Tuning:**<br>The method that consistently shows the highest latent cosine similarity (lcos) across all datasets (MNIST,<br>F-MNIST, CIFAR-10, CIFAR-100) in the zero-shot stitching experiment is the ”affne” method. This|
|
| 342 |
+
||method achieves the highest lcos values for all datasets, with scores of 0.94 for MNIST, 0.94 for F-MNIST,|
|
| 343 |
+
||0.96 for CIFAR-10, and 0.96 for CIFAR-100. This consistency in high lcos values suggests that the affne|
|
| 344 |
+
||transformation is particularly effective in aligning the latent spaces of different autoencoders. The high|
|
| 345 |
+
|<br>|lcos indicates a strong alignment between the latent representations of the autoencoders, which implies<br>that the affne transformation is capable of capturing the underlying structure and relationships between<br>the latent spaces more accurately than other methods. The results imply that the nature of transformations|
|
| 346 |
+
||between latent spaces in autoencoders is not exclusively controlled by orthogonal transformations. The|
|
| 347 |
+
||affne transformation, which includes scaling, rotation, and translation, appears to be a more versatile and|
|
| 348 |
+
||effective method for aligning these spaces. This fnding suggests that the latent spaces of image autoen-|
|
| 349 |
+
|<br>|coders are related by a broader class of transformations, including those that are not strictly orthogonal,<br>which is a signifcant insight into the nature of these transformations and their implications for model<br>stitching and zero-shot learning.|
|
| 350 |
+
|||
|
| 351 |
+
||**Relevant page (truncated):**|
|
| 352 |
+
|**1000**||
|
| 353 |
+
|**1001**||
|
| 354 |
+
|**1002**||
|
| 355 |
+
|**1003**||
|
| 356 |
+
|**1004**||
|
| 357 |
+
|**1005**||
|
| 358 |
+
|**1006**||
|
| 359 |
+
|**1007**||
|
| 360 |
+
|**1008**||
|
| 361 |
+
|**1009**||
|
| 362 |
+
|**1010**||
|
| 363 |
+
|**1011**||
|
| 364 |
+
|**1012**||
|
| 365 |
+
|**1013**||
|
| 366 |
+
|**1014**||
|
| 367 |
+
|**1015**||
|
| 368 |
+
|**1016**||
|
| 369 |
+
|**1017**||
|
| 370 |
+
|**1018**||
|
| 371 |
+
|**1019**||
|
| 372 |
+
|**1020**||
|
| 373 |
+
|**1021**||
|
| 374 |
+
|**1022**||
|
| 375 |
+
|**1023**|Table 9: Sample answers generated by Qwen2-VL and Qwen2-VL w/ Retrieval-aware Tuning, re-|
|
| 376 |
+
|**1024**|spectively.|
|
| 377 |
+
|**1025**||
|
| 378 |
+
|
| 379 |
+
19
|
| 380 |
+
|
open_review/iclr2025_13835.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13835",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Think Then React: Towards Unconstrained Action-to-Reaction Motion Generation",
|
| 6 |
+
"abstract": "Modeling human-like action-to-reaction generation has significant real-world applications, like human-robot interaction and games.\nDespite recent advancements in single-person motion generation, it is still challenging to well handle action-to-reaction generation, due to the difficulty of directly predicting reaction from action sequence without prompts, and the absence of a unified representation that effectively encodes multi-person motion.\nTo address these challenges, we introduce Think-Then-React (TTR), a large language-model-based framework designed to generate human-like reactions.\nFirst, with our fine-grained multimodal training strategy, TTR is capable to unify two processes during inference: a thinking process that explicitly infers action intentions and reasons corresponding reaction description, which serve as semantic prompts, and a reacting process that predicts reactions based on input action and the inferred semantic prompts.\nSecond, to effectively represent multi-person motion in language models, we propose a unified motion tokenizer by decoupling egocentric pose and absolute space features, which effectively represents action and reaction motion with same encoding.\nExtensive experiments demonstrate that TTR outperforms existing baselines, achieving significant improvements in evaluation metrics, such as reducing FID from 3.988 to 1.942.",
|
| 7 |
+
"rebuttal": "Thank you for your valuable suggestions and recognition of our work! We will incorporate the user study into the main body of our final manuscript, providing detailed descriptions of experiment setup and discussions as you recommended.\n\nWe are glad that we could address these concerns, and we sincerely appreciate your recognition!\n\nWe sincerely appreciate your recognition to our work! We will include detailed analysis in the appendix of the final version. Your support and increased rating mean a great deal to us!\n\nWe sincerely thank you for raising your rating score! Your constructive feedback and recognition of our revisions are highly encouraging.\n\nThank you for your insightful questions! We will prepare relevant materials and provide a response within 24 hours.\n\n### Global Response\nDear AC and reviewers,\n\nWe sincerely thank the reviewers for their valuable and constructive feedback on our submission. We are encouraged by the recognition of our work’s contributions: **All reviewers** acknowledged the innovation of our decoupled space-pose tokenizer for effective multi-person motion representation. Reviewers **X2o2** and **wKay** highlighted the novelty of our explicit thinking-then-reacting framework. Reviewers **enFt** and **wKay** appreciated the strong performance of our overall method. Reviewer **De2Y** commended the quality of our illustrations. R [...]\n\n### Response to Reviewer De2Y (1/2)\nThank you for your insightful comments on our work. We have addressed your questions in detail below.\n\n- **Q1. Distinctions among key terminologies**\n\nTo improve clarity, we more formally define the terminologies as follows: 1) **Pose** refers to a human body posture or movement within a brief time frame (i.e., timestep), such as \"taking one step forward.\" A pose can be represented as a single token. 2) **Motion** is a sequence of poses, starting with an initial spatial state represented by space features. For example, a motion might be \"a person walks three [...]\n\n### Response to Reviewer De2Y (2/2)\n- **Q5. Concerns about FPS settings and online system usability**\n\nThe 1-FPS setting applies **only to the evaluation model**, which uses low-resolution action inputs for improved distinguishability while keeping reaction outputs at 30 FPS. When more than 1 FPS is applied in evaluation, the metrics have less discriminative power because they pay too much attention to the given input part rather than the generated output motion. When removing the input motion, it is impossible to well understand the semantic of motions. Actually although we sample 1 frame per [...]\n\n### Response to Reviewer X2o2 (1/2)\n- **On Q1: About our unified tokenizer**\n\nWithout a unified motion representation enabled by our decoupled tokenizer, the performance of TTR deteriorates significantly due to **much lower-quality training data**, which is critical for LLMs. When using the plain tokenizer, we observe a more unstable training process. Worse still, TTR with the plain tokenizer often fails to predict a meaningful sentence during the Thinking stage, **disabling our Think-Then-React framework**. This results in the poorest performance among our ablation studies (comparable only to [...]\n\n### Response to Reviewer X2o2 (1/2)\nWe sincerely appreciate your valuable comments and recognition of our work. Below, we provide detailed responses to your questions.\n\n- **Q1. Effectiveness of unified tokenizer and settings of MotionGPT**\n\nThank you for your insightful suggestion. To directly assess the effectiveness of our unified tokenizer, we have evaluated a **plain** tokenizer (i.e., a **non-decoupled motion tokenizer** that directly encodes multi-person motion) on motion reconstruction and action-to-reaction generation (i.e., use the tokens encoded by the plain tokenizer for LLM trainin [...]\n\n### Response to Reviewer X2o2 (2/2)\n- **On user study and visualization**:\n\nThank you for your careful feedback on our visualizations and user study. Upon switching the camera perspective in the renderer, we observed that, in the \"bow-tap\" case you mentioned, the reactor does not accurately tap the actor. This case should therefore be categorized as a failure case, and we sincerely appreciate your observation.\n\nIn response to your comment, we have updated all video examples with a **moving camera** to reduce occlusion and provide clearer views from different angles. Additionally, we have inclu [...]\n\n### Response to Reviewer X2o2 (2/2)\n- **Q6. Qualitative comparisons and failure cases**\n\nGood remark! We have provided qualitative comparisons and failure cases on an anonymous webpage: Think-Then-React.github.io. We have included some of them in our revised paper (Line 432-449).\n\n[1] Chuan Guo, Shihao Zou, Xinxin Zuo, Sen Wang, Wei Ji, Xingyu Li, and Li Cheng. Generating diverse and natural 3d human motions from text. CVPR 2022\n\n[2] Han Liang, Wenqian Zhang, Wenxuan Li, Jingyi Yu, and Lan Xu. Intergen: Diffusion-based multi-human motion generation under complex interactions. IJCV 2024\n\n### Response to Reviewer enFt (1/2)\nWe are grateful for your thoughtful suggestions and recognition of our contributions. Please find our detailed responses to your concerns below.\n\n- **Q1. Mixture of two datasets**\n\nBaseline methods do not use mixture datasets, as they typically cannot leverage single-person datasets like HumanML3D without a unified representation, which encodes both single- and multi-person scenarios. The reason we use mixture dataset is because we aim to enlarge pre-training data scale for better motion understanding and generation capabilities. For fairness, we also evalua [...]\n\n### Response to Reviewer enFt (2/2)\nAdditionally, we have updated our anonymous webpage: Think-Then-React.github.io, where we have included some video cases on user study. If you have further concerns, please don't hesitate to let us know. Your suggestions are valuable to us!\n\nWe’d also like to share some positive updates: after thorough discussions, the other three r\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
8
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 6.5,
|
| 15 |
+
"score_variance": 1,
|
| 16 |
+
"score_spread": 2,
|
| 17 |
+
"score_min": 6,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": true,
|
| 21 |
+
"meta_review": "Summary: The paper investigates a novel method Think-Then-React (TTR) for action-to-reaction motion generation in two-person interactions. TTR leverages a unified motion token representation that encodes both absolute (global) space and egocentric (local) pose features into discrete tokens, enabling effective training with LLMs. It employs a two-step process: action intention inference and precise reaction token prediction. By utilizing a pre-trained LLM to understand and generate both motion and textual descriptions, the method enhances coherence in the generated reactions. Quantitative experiments demonstrate that TTR outperforms state-of-the-art techniques, achieving notable improvements on the Inter-X dataset.\n\nStrengths and Weaknesses: The reviewers generally recognize that this paper addresses a crucial problem in human interactions – improving action-to-reaction motion generation. They also appreciate the decomposition of reaction generation into a thinking process using LLMs and a reacting process with VQ-VAE, the unified space-pose token representation, and strong performance of the proposed approach.\n\nHowever, they express reservations about 1) the absence of qualitative results, such as demo videos and user study-based evaluations; 2) potential unfair comparisons due to the use of mixed datasets without adequate clarification; 3) unclear and inconsistent terminology throughout the paper; 4) ambiguous evaluation settings, including insufficient explanation of the m",
|
| 22 |
+
"forum_id": "UxzKcIZedp",
|
| 23 |
+
"primary_area": "applications to computer vision, audio, language, and other modalities",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_X2o2",
|
| 28 |
+
"review_id": "BFGtgy5HI0",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2030,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1804136,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_De2Y",
|
| 44 |
+
"review_id": "pGd1Snc9uC",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 1738,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1809662,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_enFt",
|
| 60 |
+
"review_id": "Jd39i5BXK4",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1555,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1982884,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_wKay",
|
| 76 |
+
"review_id": "9xO2fAO5xU",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 8,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3227,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1667451,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13835.md
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## THINK-THEN-REACT: TOWARDS UNCONSTRAINED - HUMAN ACTION TO-REACTION GENERATION
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Modeling human-like action-to-reaction generation has significant real-world applications, like human-robot interaction and games. Despite recent advancements in single-person motion generation, it is still challenging to well handle action-toreaction generation, due to the difficulty of directly predicting reaction from action sequence without prompts, and the absence of a unified representation that effectively encodes multi-person motion. To address these challenges, we introduce Think-Then-React (TTR), a large language-model-based framework designed to generate human-like reactions. First, with our fine-grained multimodal training strategy, TTR is capable to unify two processes during inference: a **thinking** process that explicitly infers action intentions and reasons corresponding reaction description, which serve as semantic prompts, and a **reacting** process that predicts reactions based on input action and the inferred semantic prompts. Second, to effectively represent multi-person motion in language models, we propose a unified motion tokenizer by decoupling egocentric pose and absolute space features, which effectively represents action and reaction motion with same encoding. Extensive experiments demonstrate that TTR outperforms existing baselines, achieving significant improvements in evaluation metrics, such as reducing FID from 3.988 to 1.942.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Predicting human reaction to human action in real world scenario is an online and unconstrained task, i.e., future states and text prompts are inaccessible, and it has board applications in virtual reality, human-robot interaction and gaming. Recently, significant advancements have been achieved
|
| 14 |
+
|
| 15 |
+
1
|
| 16 |
+
|
| 17 |
+
in the domain of human motion generation especially single-person motion generation, conditioned on text prompts (Guo et al., 2024; 2022b; Zhang et al., 2023) and action labels (Xu et al., 2023; Guo et al., 2020). Leveraging well-annotated human motion datasets (Xu et al., 2024a; Guo et al., 2022a; Liu et al., 2020; Plappert et al., 2016), these models employ various generative frameworks, such as Diffusion Models (Ho et al., 2020; Liang et al., 2024; Zhang et al., 2022), Variational Autoencoders (VAEs) (Kingma, 2013; Petrovich et al., 2021b), and Generative Adversarial Networks (GANs) (Goodfellow et al., 2014; Men et al., 2022), to capture cross-modality distributions for better motion generation. Furthermore, Large Language Models (LLMs) have been applied to human motion generation, demonstrating superior performance (Jiang et al., 2023; Zhang et al., 2024).
|
| 18 |
+
|
| 19 |
+
However, generating human reaction in multi-person scenario presents a more challenging task due to two primary factors. First, directly predicting reaction from action sequence is a difficult task with unstability. As shown in Figure 1, given first two action steps, it is ambiguous to distinguish whether the action is “shake hand” or “high five”, and this would lead to accumulated error to consequent predicted reactions. Second, dissimilar to single-person motion representation that can adopt an egocentric view, representing human motion in multi-person scenario necessitates both egocentric and absolute information.
|
| 20 |
+
|
| 21 |
+
Several works have focused on human interaction domain. For instance, InterFormer (Chopin et al., 2023) proposes injecting human skeleton priors into transformer attention layers for effective spatial modeling. InterGen (Liang et al., 2024) introduces a mutual attention mechanism within diffusion process for joint action-reaction generation. However, these methods are not directly applicable to real-world applications, as they rely on extra prompts to condition the generation process. ReGenNet (Xu et al., 2024b), similar to our approach, acknowledges the online and unprompted nature of reaction generation, and proposes a diffusion-based model for online reaction generation. It observes that given the action’s intention as a condition explicitly, the model can achieve superior performance compared to unprompted settings, highlighting the necessity of understanding interaction semantics for reaction generation. However, ReGenNet directly models action-to-reaction generation process, without inferring action intention, thus achieving subpar performance.
|
| 22 |
+
|
| 23 |
+
To address these challenges, we propose Think-Then-React model (TTR), an LLM-based model designed to predict human reactions in online and unprompted settings with the following innovations: **First** , to unifiedly represent human motion in multi-person scenario, we propose decoupled space-pose tokenizers that separately handle egocentric pose features and absolute space features. Specifically, we train a VQ-VAE (Van Den Oord et al., 2017) to encode egocentric human pose sequences (i.e., the space features are normalized, to ensure codebook utilization) into LLM-readable tokens. To maintain spatial features which are crucial in multi-person interaction scenarios, we propose a space tokenizer that encodes positions and orientations as space tokens. We concatenate initial space tokens as prefixes to pose sequences, indicating the initial absolute state of an egocentric motion sequence. **Second** , to stabilize reaction prediction process, we introduce a novel framework that is capable to automatically infer text prompts for reaction generation. Specifically, TTR unifies two processes within one model: a **thinking** process that infers action intent and reasons reaction description, and a **reacting** process that takes both the action motion and inferred prompts as input, to generate precise and semantically appropriate reactions. **Third** , to adapt a language model to motion modality, we design a multi-task and multi-stage training pipeline consisting of motiontext, space-pose and motion-motion generation tasks. With our proposed training strategy, TTR is capable to effectively build correlations between text, motion and space modalities.
|
| 24 |
+
|
| 25 |
+
In summary, our main contributions are as follows:
|
| 26 |
+
|
| 27 |
+
- We introduce a unified motion tokenizer that effectively represents both absolute space and egocentric pose features into LLM-readable tokens in multi-person scenario.
|
| 28 |
+
|
| 29 |
+
- We propose a novel framework Think-Then-React with fine-grained training strategy, enabling the adaptation of a language model to a multi-modal model encompassing two processes: inferring action intention and reasoning reaction description, and predicting reaction, within one model, thus ensuring generation quality.
|
| 30 |
+
|
| 31 |
+
- Through extensive experiments, we demonstrate that our approach surpasses existing baselines by substantial margins, achieving an FID improvement from 3.988 to **1.942** , along with other ranking metrics.[1]
|
| 32 |
+
|
| 33 |
+
- 1 Project page: [URL removed]
|
| 34 |
+
|
| 35 |
+
2
|
| 36 |
+
|
| 37 |
+
## 2 RELATED WORK
|
| 38 |
+
|
| 39 |
+
## 2.1 HUMAN MOTION REPRESENTATION
|
| 40 |
+
|
| 41 |
+
Representing human motion can be mainly categorized into two norms: continuous and discrete representation. Human motion can be intuitively represented in continuous space as joint positions of 3D human skeleton extracted with SMPL (Loper et al., 2015). However, simply using joint position lacks enough information like joint velocity and rotation. Guo et al. (2022a) proposes redundant representation, consisting human root angular velocity, root linear velocity, root height, joint position, joint rotation, and foot-ground contact signals. This representation focuses on egocentric view in single-person scenario. Based on this, several works propose leveraging VQ-VAE (Van Den Oord et al., 2017) to encode human motion into discrete tokens, which can be fed into language models, adapting motion prediction task to language modeling task (Jiang et al., 2023; Guo et al., 2024; Zhang et al., 2023; Guo et al., 2022b). This technique is proved to be quite effective especially in the era of LLMs.
|
| 42 |
+
|
| 43 |
+
Representing human motion in multi-person scenario is more complicate than in single-person domain, as it is required to simultaneously representing egocentric pose and absolute space features (i.e., distance and orientation among multiple persons). Contrary to use normalized position and orientation in egocentric view, Liang et al. (2024) proposes a non-canonical representation that directly takes global signals (joint positions and velocities) as continuous motion representation, to maintain absolute information in multi-person scenario. Similar to Guo et al. (2022a), it combines joint position, velocity, rotation and foot-ground contact as continuous motion feature. Based on previous works, we propose a unified tokenizer, which decouples space and pose tokenization process, enabling effective adaptation of discrete motion representation to multi-person domain.
|
| 44 |
+
|
| 45 |
+
## 2.2 HUMAN MOTION GENERATION
|
| 46 |
+
|
| 47 |
+
The field of Human Motion Generation focuses on creating realistic and diverse 3D human motion from various input modalities, including text (Zhang et al., 2023; Guo et al., 2022b; Jiang et al., 2023; Guo et al., 2024; Liang et al., 2024), action labels (Guo et al., 2020; Xu et al., 2023; Petrovich et al., 2021a), and human motion (Chopin et al., 2023; Liang et al., 2024; Xu et al., 2024b). Most research has concentrated on text-conditioned single-person motion generation (text-to-motion) tasks. In this area, several works have utilized generative models commonly used in the vision domain, such as GANs, VAEs, and Diffusion Models, to generate human motion sequences. Another prominent approach (Zhang et al., 2023; Guo et al., 2022b; Jiang et al., 2023; Guo et al., 2024) employs VQ-VAE to encode human motion sequences into one-hot tokens, which are then processed by auto-regressive models. This method converts the high-dimensional generation task into a nexttoken prediction task, effectively leveraging pre-trained large language models for more accurate text prompt understanding and diverse motion generation.
|
| 48 |
+
|
| 49 |
+
Recently, there has been growing interest in generating human motion in multi-person scenarios. InterGen (Liang et al., 2024) introduces a dual-person interaction dataset with detailed textual descriptions and a diffusion-based model for jointly generating multi-person interactions conditioned on text input. InterFormer (Chopin et al., 2023) utilizes temporal and spatial attention with human skeleton priors to generate human motion sequences reacting to input action sequences. The latest work, ReGenNet (Xu et al., 2024b) employs a diffusion model to generate human reactions based on human actions in a unconstrained and online manner, and points out that given action’s intention as a condition, the model can achieve superior performance compared to unconstrained settings. However, it directly predicts reaction motion without analyzing semantics of action motion. Our work unifies two processes: a thinking process that infers action semantics, and a reacting process that predicts reaction motion based on action motion and the thinking results, ensuring to generate reaction with appropriate semantics.
|
| 50 |
+
|
| 51 |
+
3
|
| 52 |
+
|
| 53 |
+
**==> picture [358 x 180] intentionally omitted <==**
|
| 54 |
+
|
| 55 |
+
**----- Start of picture text -----**<br>
|
| 56 |
+
Absolute Space Tokenizer 𝒕= 𝟏 𝒕= 𝟐 𝒕= 𝟏 𝒕= 𝟐<br>Spatially<br>𝑥 Normalized<br>Actions<br>Input<br>𝑥 𝑧<br>Actions<br>< 𝐱𝟐 >< 𝐳𝟓 >< 𝐫𝟔 > < 𝒑𝟑𝟐 > < 𝒑𝟏𝟖 > < 𝒑𝟒𝟗 > < 𝒑𝟕𝟐 ><br>𝑥<br>𝑧<br>Output<br>Reactions 𝑧<br>< 𝐱𝟎 >< 𝐳𝟎 >< 𝐫𝟎 > < 𝒑𝟑𝟐 > < 𝒑𝟏𝟖 > < 𝒑𝟓𝟔 > < 𝒑𝟖𝟏 ><br>Egocentric Pose Tokenizer Plain Tokenizer<br>**----- End of picture text -----**<br>
|
| 57 |
+
|
| 58 |
+
Figure 2: Illustration of our decoupled tokenizer and the plain tokenizer.
|
| 59 |
+
|
| 60 |
+
## 3 METHOD
|
| 61 |
+
|
| 62 |
+
## 3.1 OVERVIEW
|
| 63 |
+
|
| 64 |
+
For the task of action-to-reaction generation, given a human action **a** = _{ai}[N] i_ =1 _[f]_[over] _[N][f]_[frames,] our aim is to generate a corresponding reaction **b** = _{bi}[N] i_ =1 _[f]_[without][any][input][prompts.][Most] previous works leverage input prompts but they are often inaccessible in unconstrained interaction setting. As the example in Figure 1 shows, when a robot/avatar meets a human, it can only observe the human behaviors, try to understand her/his intents, and think what the robot/avatar is expected to react. There is no prompt available to tell what they are going to do.
|
| 65 |
+
|
| 66 |
+
To address the above problem, we propose a unified framework, Think-Then-React (TTR), for both action understanding and reaction generation. First, we propose a unified tokenizer to convert both egocentric poses and absolute spatial location and orientation information into tokens (Section 3.2). Then, we propose a unified Large Language Model (LLM) based model that are pre-trained on three categories of motion and language related tasks, such as describing a motion, and then fine-tune the model with instructions of predicting a reaction from a given action (Section 3.3).
|
| 67 |
+
|
| 68 |
+
To avoid confusion, we define **pose** as a human body posture or movement within a brief time interval, such as “taking one step forward”, and a pose can be represented as a single token. A **motion** refers to a sequence of poses, starting with an initial spatial state represented by space features. For example, a motion could be “a person walks three steps”.
|
| 69 |
+
|
| 70 |
+
## 3.2 UNIFIED MOTION REPRESENTATION
|
| 71 |
+
|
| 72 |
+
To represent one or two persons (denoted by p1 and p2) in an absolute coordinate system, where the x-z plane represents the horizontal plane and y-axis represents the vertical direction, we normalize their centers at the origin while facing positive z axis. Then for each frame, we extract the 3D skeletons’ joint position, velocity and rotation as normalized (or egocentric) pose feature. Before normalizing, we keep the two persons’ pelvis 2D coordination _x_ , _z_ and body orientation _r_ to maintain absolute space features. The y-axis (vertical) is not included, as few motions begin in a “floating” state. Based on pose and space features of p1 and p2, we propose a unified tokenizing pipeline to convert them into LLM-readable tokens.
|
| 73 |
+
|
| 74 |
+
## 3.2.1 EGOCENTRIC POSE TOKENIZER
|
| 75 |
+
|
| 76 |
+
Our aim is to convert continuous pose features into discrete pose tokens like “ _<p_ 128 _><p_ 42 _>..._ ”. To achieve this, we adopt VQ-VAE (Van Den Oord et al., 2017), similar to Jiang et al. (2023), as the egocentric pose tokenizer. The pose tokenizer consists of an encoder _E_ and a decoder _D_ . _E_ first encodes continuous motion features, i.e., the 22 joints’ position, rotation and velocity vector
|
| 77 |
+
|
| 78 |
+
4
|
| 79 |
+
|
| 80 |
+
**m** = _{mi}[N] i_ =1 _[f]_[into] _[N][t]_[discrete][pose][tokens,][i.e.,] _[N][t]_[timesteps,][which][is][downsampled][from] _[N][f]_[.] Specifically, _E_ and _D_ are 1D convolution networks with downsample and upsample blocks.
|
| 81 |
+
|
| 82 |
+
ˆ We first obtain the latent pose representation of a motion sequence **p** = _E_ ( **m** ). Then, we set up a learnable codebook for human poses _P ∈_ R _[N][p][×][d][p]_ with _Np_ entries in size _dp_ . A quantizationˆ operation _Q_ ( _·_ ) is applied on the encoded motion latent features by replacing each row vector ˆ **p** _i ∈_ **p** with its nearest codebook entry **p** _k_ . The process is formulated as:
|
| 83 |
+
|
| 84 |
+
**==> picture [312 x 19] intentionally omitted <==**
|
| 85 |
+
|
| 86 |
+
ˆ ˆ Then, we obtain the reconstructed pose feature **m** through the decoder **m** = _D_ ( **p** _q_ ). The overall process of the VQ-VAE can be formulated as:
|
| 87 |
+
|
| 88 |
+
**==> picture [240 x 11] intentionally omitted <==**
|
| 89 |
+
|
| 90 |
+
This is trained via a reconstruction loss with codebook commitment loss. Noting that the _argmin_ operation is non-differentiable, we simply copy the gradients from _D_ to _E_ as the estimated gradient. Furthermore, for smoother reconstructed motion and a stable training process, we add an extra velocity regularization in the reconstruction loss and employ exponential moving average (EMA) Hunter (1986) with codebook reset techniques, following Zhang et al. (2023). More details about this section are provided in Section A.1.
|
| 91 |
+
|
| 92 |
+
## 3.2.2 ABSOLUTE SPACE TOKENIZER
|
| 93 |
+
|
| 94 |
+
For better generalization capability, all motions, including actions and reactions, are normalized to the original point and same direction before being tokenized. Therefore, absolute space information, i.e., the human body 2D position and orientation of each person, is omitted. To extend egocentric pose tokens with absolute space information, we propose converting position and rotation of a person’s center point into LLM-readable tokens.
|
| 95 |
+
|
| 96 |
+
As shown in Figure 2, before normalizing a human motion, we first extract the center point’s features, i.e., the position _x_ and _z_ and orientation _r_ . We then compute the range of _x_ , _z_ , and _r_ across the dataset to get the maximum and minimum values. These ranges are uniformly divided into _Nb_ bins, converting each continuous value to discrete tokens. For example, _x_ = 0 _._ 55 will be represented as “ _<x_ 15 _>_ ” if all the x positions are in range [ _−_ 1 _,_ 1] with _Nb_ = 20 bins.
|
| 97 |
+
|
| 98 |
+
Finally, we use a unified coding system to represent action, reaction, and their relative information. Specifically, for each motion, we apply absolute space tokenizer to encode initial _x_ , _z_ , and _r_ into egocentric pose tokens, and apply pose tokenizer to encode the following pose sequence, i.e., the following motion, into pose tokens. Such tokens enable training a model that can understand and generate motion and language simultaneously effectively and efficiently in the subsequent phase.
|
| 99 |
+
|
| 100 |
+
## 3.3 UNIFIED LLM BASED MOTION UNDERSTANDING AND GENERATION
|
| 101 |
+
|
| 102 |
+
## 3.3.1 PRE-TRAINING
|
| 103 |
+
|
| 104 |
+
To adapt a language model into a motion-language model, we first pre-train the model with multiple tasks in diverse formats. The pre-training tasks can be categorized into three main types:
|
| 105 |
+
|
| 106 |
+
**(1) Motion - Text.** To enable the model to understand and generate human motion, we combine the action and reaction token sequences to construct prompts, which are then fed into the model to generate corresponding textual descriptions, and vice versa. For example, the input sequence could be “Describe the interaction. Action: _<x_ 0 _><z_ 1 _><r_ 2 _><p_ 2 _><p_ 7 _>..._ , Reaction: _<x_ 7 _><z_ 7 _><r_ 8 _><p_ 1 _><p_ 9 _>..._ ”, and the target response is: “ _One waves the right hand, and the other one waves back_ ”. However, reaction motions are not given during the inference phase. Therefore, the reaction motion is randomly dropped during the training phase to enable the model to infer the interaction from the action motion solely. We also pre-train our model by the instructions on predicting action and reaction token sequences from an interaction description prompt in text.
|
| 107 |
+
|
| 108 |
+
**(2) Pose - Space.** Spatial information is represented by orthogonal one-hot tokens, but it may be helpful to infuse auxiliary spatial information into the model. Specifically, we design two tasks: i) Egocentric pose to absolute space: Given space token and subsequent pose tokens of _t_ timestep, we
|
| 109 |
+
|
| 110 |
+
5
|
| 111 |
+
|
| 112 |
+
train the model to predict the space tokens of _t_ + 1 timestep. For example, given input space token _<z_ 12 _>_ and a pose token _<p_ 56 _>_ , which represents “stepping forward”, the target output should be _<z_ 13 _>_ , denoting spatial transition. ii) Absolute space to egocentric pose: Similarly, given space tokens of _t_ and _t_ + 1 timestep, the model is trained to predict pose tokens between them.
|
| 113 |
+
|
| 114 |
+
**(3) Motion - Motion.** To capture more fine-grained action-reaction relationships, we use the first half of the action sequence and the second half of the reaction sequence, along with their corresponding initial spatial tokens, as input. The model is then pre-trained to complete the remaining motion clips. For example, given a sequence spanning ten timesteps _t_ 1:10, we feed the first half of the action _a_ 1:5 and the second half of the reaction _b_ 6:10, supervising the model to predict _a_ 6:10 and _b_ 1:5. Alternatively, we feed _b_ 1:5 and _a_ 6:10 to predict _a_ 1:5 and _b_ 6:10.
|
| 115 |
+
|
| 116 |
+
During pre-training, we jointly train all the tasks in a non-causal manner for better efficiency. Owning to our unified motion and language architecture and space-pose token representation, single person motion and text data can be seamlessly integrated into the training process. We adopt HumanML3D (Guo et al., 2022a), a large scale single person motion-text dataset to facilitate pretraining. To avoid overfitting, we prepare 20 prompt templates for each task and randomly mask out 15% of tokens to be predicted during training. In addition, we adopt random clipping of motions as augmentation. We also find that text generation tasks converge much faster than motion generation tasks. To balance different training tasks, we use the validation losses of the tasks as sampling weights to dynamically select the training source for each epoch.
|
| 117 |
+
|
| 118 |
+
## 3.3.2 FINE-TUNING
|
| 119 |
+
|
| 120 |
+
After pre-training, the motion-language model is well-structured with knowledge of pose, space, and text. To make the model applicable to online action-to-reaction generation, we fine-tune it in a causal manner, focusing on two tasks: thinking and reacting.
|
| 121 |
+
|
| 122 |
+
The **thinking** task involves understanding action motion, e.g., “the person is waving hand”, and inferring its possible interaction, e.g., “ two persons wave goodbye to each other”, or reaction, “the other person waves back”. At each training iteration, we randomly choose the first quarter, half, or the entire action sequence as input to predict the entire interaction caption. However, the entire action motion is not given in the early stage of inference, thus the inferred description based on action motion clips may not be accurate, thus we adopt periodical **re-thinking** in the inference phase for each _Nr_ action tokens given, to dynamically adjust the prompt for reaction generation. We define _Nr_ as re-thinking interval.
|
| 123 |
+
|
| 124 |
+
For the **reacting** task, we aim to supervise the model to generate reaction motions conditioned on the generated descriptions during the thinking process. However, in the early stages of fine-tuning, the inferred interaction descriptions are not accurate enough to guide the reaction generation process. Thus, we adopt a teacher forcing approach. In the early stages, the model takes the ground-truth text prompt as a condition to generate the entire reaction sequence. Meanwhile, we monitor the validation loss and text generation metrics. When the metrics tend to converge, we begin to sample predicted interaction captions by the model and use them as reaction generation conditions. This process ensures alignment between training and inference, as ground-truth prompts are inaccessible during inference.
|
| 125 |
+
|
| 126 |
+
## 4 EXPERIMENT
|
| 127 |
+
|
| 128 |
+
We evaluate our proposed method with strong baselines and further analyze contributions of different components, and the impact of key parameters.
|
| 129 |
+
|
| 130 |
+
## 4.1 EXPERIMENT SETUP
|
| 131 |
+
|
| 132 |
+
**Dataset.** We evaluate all the methods on Inter-X dataset, which consists about 9K training samples and 1,708 test samples. Each sample is an action-reaction sequence and three corresponding textual description. As supplementation, we mix our pre-training data with single person motiontext dataset HumanML3D (Guo et al., 2022a), which consists more than 23K annotated motion sequences. We uniformly sample frames for both datasets to 30 FPS.
|
| 133 |
+
|
| 134 |
+
6
|
| 135 |
+
|
| 136 |
+
**Evaluation Metrics.** Following single-person motion generation (Zhang et al., 2023), we adopt the these metrics to quantitatively evaluate the generated motion: R-Precision measures the ranking of Euclidean distances between motion and text features. Accuracy (Acc.) assesses how likely a generated motion could be successfully recognized as its interaction label, like “high-five”. Frechet Inception Distance (Heusel et al., 2017) (FID) evaluates the similarity in feature space between predicted and ground-truth motion. Multimodal Distance (MMDist.) calculates the average Euclidean distance between generated motion and the corresponding text description. Diversity (Div.) measures the feature diversity within generated motions. All the metrics reported are calculated with batch size set to 32, and accumulated across the test dataset, and we evaluate each method for 20 times with different seeds to calculate the final results at 95% confidence interval.
|
| 137 |
+
|
| 138 |
+
**Evaluation Model.** Every metric mentioned above requires an encoder _M_ to extract motion feature. For single person text-to-motion generation tasks, a motion-text matching model are commonly trained as human motion feature extractor. A simple way to transfer this method to interaction domain is to directly train an interaction-to-text matching model _M_ ( **a** _,_ **b**[ˆ] _, text_ ), where action sequence **a** and predicted reaction sequence **b**[ˆ] together is regarded as a generated interaction sequence, or a reaction-to-text match model _M_ ( **b**[ˆ] _, text_ ). However, the former one may focus too much on the ground-truth action input, leading insufficient discriminative power of **b**[ˆ] ’s quality, while the latter one lacks semantics provided by action, thus leading to subpar matching capability.
|
| 139 |
+
|
| 140 |
+
To address the issue, we simply uniformly mask off a large portion of **a** , obtaining down-sampled action motion sequence **a** _[′]_ (downsampled to 1 FPS in our setting), which serves as a semantic hint for the matching process while not introducing too much emphasis on input action sequence. The final evaluation model consists of an masked interaction encoder and a text encoder. We use contrastive loss following CLIP (Radford et al., 2021), which encourages paired motion and text features to be close geometrically. In addition, we add a classification head after the predicted motion features, to simultaneously predict interaction labels, such as “high-five”.
|
| 141 |
+
|
| 142 |
+
**Baselines.** To evaluate the performance of our method TTR on online and unconstrained setting, we compare TTR with the following baselines: 1) **InterFormer** (Chopin et al., 2023) is a transformer based action-to-reaction generation model that leverages human skeleton as prior knowledge for efficient attention process. 2) **MotionGPT** (Jiang et al., 2023) is a motion-language model that leverages an LLM for motion and text generation. We extend the motion tokenizer of MotionGPT to encode multi-person motion, while keeping other settings unchanged. 3) **InterGen** (Liang et al., 2024) proposes a mutual attention mechanism within diffusion process for human interaction generation, we reproduce and adapt IngerGen to action-to-reaction generation. 4) **ReGenNet** (Xu et al., 2024b) is latest state-of-the-art model on action-to-reaction generation. It adopts a transformer decoder based diffusion model, which directly predicts human reaction given action input in unconstrained and online manner as ours.
|
| 143 |
+
|
| 144 |
+
**Implementation Details.** For the LLM, we adopt Flan-T5-base (Chung et al., 2024; Raffel et al., 2020) as our base model, with extended vocabulary. We warm up the learning rate for 1,000 steps, peaking at 1e-4 for the pre-training phase, and use the same learning rate for fine-tuning. Both the pre-training and fine-tuning phases are trained on a single machine with 8 Tesla V100 GPUs. The training batch size is set to 32 for the LLM and we monitor the validation loss and reaction generation metrics for early-stopping, resulting about 100K pre-training steps and 40K fine-tuning steps. We set the re-thinking interval _Nr_ to 4 tokens and divide each space signal into _Nb_ = 10 bins.
|
| 145 |
+
|
| 146 |
+
## 4.2 COMPARISON TO BASELINES
|
| 147 |
+
|
| 148 |
+
As shown in the upper side of Table 1, our method TTR significantly outperforms baseline methods in terms of ranking, accuracy, FID and multimodal distance, showing superior human reaction generation quality. Compared to MotionGPT, which adopts a similar motion-language architecture, TTR expresses stronger performance, which we attribute to our unified representation of motion via space and pose tokenizers, enabling effective individual pose and inter-person spatial relationship representation. TTR also surpasses the diffusion-based methods, InterGen and ReGenNet, with our think-then-react architecture, improving generated motions by describing observed action and reasoning what reaction is expected on semantic level. In addition, ReGenNet and MotionGPT get closer diversity to the real than our model. We mainly attribute to that, TTR may conduct multiple re-thinking processes during inference, and the inferred semantics may bring a higher diversity.
|
| 149 |
+
|
| 150 |
+
7
|
| 151 |
+
|
| 152 |
+
Table 1: Comparison to state-of-the-art baselines and ablation studies of our method on Inter-X dataset. _↑_ or _↓_ denotes a higher or lower value is better, and _→_ means that the value closer to real is better. We use _±_ to represent 95% confidence interval and highlight the best results in **bold** . For ablation methods (in grey), PT, M, P, S, and SP are abbreviations for pre-training, motion, pose, space, and single-person data, respectively.
|
| 153 |
+
|
| 154 |
+
|Methods|R-Precision_↑_<br>Acc._↑_<br>FID_↓_<br>MMDist_↓_<br>Div._→_<br>Top-1<br>Top-2<br>Top-3|
|
| 155 |
+
|---|---|
|
| 156 |
+
|||
|
| 157 |
+
|Real|0_._511_±._003<br>0_._682_±._002<br>0_._776_±._002<br>0_._463_±._000<br>0_._000_±._000<br>5_._348_±._002<br>2_._498_±._005|
|
| 158 |
+
|||
|
| 159 |
+
|InterFormer<br>MotionGPT<br>InterGen<br>ReGenNet|0_._172_±._012<br>0_._292_±._013<br>0_._343_±._012<br>0_._171_±._009<br>10_._468_±._021<br>7_._831_±._018<br>3_._505_±._023<br>0_._238_±._003<br>0_._354_±._004<br>0_._441_±._003<br>0_._186_±._002<br>5_._823_±._048<br>6_._211_±._005<br>2_._615_±._007<br>0_._326_±._036<br>0_._423_±._063<br>0_._525_±._053<br>0_._254_±._019<br>5_._506_±._257<br>6_._182_±._038<br>2_._284_±._009<br>0_._384_±._005<br>0_._483_±._002<br>0_._572_±._003<br>0_._297_±._004<br>3_._988_±._048<br>5_._867_±._009<br>**2**_._**502**_±._**001**|
|
| 160 |
+
|||
|
| 161 |
+
|TTR (Ours)|**0**_._**423**_±._**005**<br>**0**_._**599**_±._**003**<br>**0**_._**693**_±._**003**<br>**0**_._**318**_±._**003**<br>**1**_._**942**_±._**017**<br>**5**_._**643**_±._**003**<br>2_._629_±._006|
|
| 162 |
+
|w/o Think|0_._367_±._003<br>0_._491_±._027<br>0_._584_±._008<br>0_._230_±._036<br>3_._828_±._016<br>6_._186_±._055<br>2_._609_±._006<br><br><br><br><br><br><br>|
|
| 163 |
+
|w/o All PT.|0_._398_±._007<br>0_._531_±._002<br>0_._628_±._003<br>0_._288_±._002<br>3_._467_±._113<br>5_._822_±._003<br>2_._909_±._053<br><br><br><br><br><br><br>|
|
| 164 |
+
|w/o M-M PT.|0_._408_±._005<br>0_._563_±._004<br>0_._646_±._005<br>0_._293_±._002<br>2_._874_±._020<br>5_._736_±._003<br>2_._553_±._006<br><br><br><br><br><br><br>|
|
| 165 |
+
|w/o P-S PT.|0_._417_±._004<br>0_._582_±._004<br>0_._664_±._004<br>0_._308_±._003<br>2_._685_±._024<br>5_._699_±._004<br>2_._859_±._007<br><br><br><br><br><br><br>|
|
| 166 |
+
|w/o M-T PT.|0_._406_±._003<br>0_._557_±._004<br>0_._637_±._004<br>0_._304_±._003<br>2_._580_±._021<br>5_._822_±._003<br>2_._889_±._005<br><br><br><br><br><br><br>|
|
| 167 |
+
|w/o SP Data|0_._414_±._004<br>0_._592_±._005<br>0_._685_±._003<br>0_._315_±._004<br>2_._007_±._015<br>5_._667_±._003<br>2_._611_±._005|
|
| 168 |
+
|
| 169 |
+
**==> picture [396 x 153] intentionally omitted <==**
|
| 170 |
+
|
| 171 |
+
**----- Start of picture text -----**<br>
|
| 172 |
+
T-pose Standing still<br>Massage Being pulled<br>**----- End of picture text -----**<br>
|
| 173 |
+
|
| 174 |
+
Figure 3: Visualization of a person’s motion sequences in Inter-X dataset and HumanML3D dataset.
|
| 175 |
+
|
| 176 |
+
## 4.3 ABLATION STUDY OF KEY COMPONENTS
|
| 177 |
+
|
| 178 |
+
To evaluate the effectiveness of our proposed key designs, we conduct detailed ablation studies by removing each of them to observe how much drop compared to the full version of our TTR method. The larger drop indicates more contribution. The results are shown in gray lines of Table 1. According to the drops in FID, all designs, including thinking, pre-training tasks and using single person data in pre-training, have positive contributions to the final performance, and thinking contributes the most. Some detailed findings and analyses are as follows.
|
| 179 |
+
|
| 180 |
+
First, we skip **thinking** stage during inference, and find the performance drops significantly in FID from 1.9 to 3.8. This supports the necessity of our proposed thinking process before reacting. We also notice decreasing diversity of generated samples, as the model relies solely on input action, and cannot explicitly capture and infer action’s intent, thus leading to more rigid motion in some cases.
|
| 181 |
+
|
| 182 |
+
Second, to evaluate the effectiveness of **pre-training** , we omit the pre-training stage, and directly train our model TTR for thinking and reacting tasks. As shown in Table 1, our model’s performance deteriorates without a fine-grained pre-training phase from 1.9 to 3.4 in FID. This indicates that pretraining can effectively adapt a language model (Flan-T5-base) into a motion and language model. We further removing three kinds of pre-training tasks: motion-motion (M-M PT.), pose-space (PS PT.), and motion-text (M-T PT.). The results show that the without any task, the performance obviously gets worse, from 1.9 to 2.5 - 2.8 in FID, indicating their positive contribution to the final performance and complementary values to each other.
|
| 183 |
+
|
| 184 |
+
8
|
| 185 |
+
|
| 186 |
+
**==> picture [53 x 62] intentionally omitted <==**
|
| 187 |
+
|
| 188 |
+
**==> picture [48 x 62] intentionally omitted <==**
|
| 189 |
+
|
| 190 |
+
**==> picture [53 x 63] intentionally omitted <==**
|
| 191 |
+
|
| 192 |
+
**==> picture [53 x 63] intentionally omitted <==**
|
| 193 |
+
|
| 194 |
+
**==> picture [40 x 63] intentionally omitted <==**
|
| 195 |
+
|
| 196 |
+
**==> picture [43 x 63] intentionally omitted <==**
|
| 197 |
+
|
| 198 |
+
**==> picture [42 x 63] intentionally omitted <==**
|
| 199 |
+
|
| 200 |
+
**==> picture [46 x 63] intentionally omitted <==**
|
| 201 |
+
|
| 202 |
+
**==> picture [373 x 28] intentionally omitted <==**
|
| 203 |
+
|
| 204 |
+
**----- Start of picture text -----**<br>
|
| 205 |
+
(a) Two people stand facing each other. One person approaches (b) The first person pushes the second person<br>and opens her/his arms to embrace the other person's back and heavily on the back with both hands, causing<br>waist, while the other person imitates the same action. her/him to be pushed forward several steps.<br>**----- End of picture text -----**<br>
|
| 206 |
+
|
| 207 |
+
**==> picture [57 x 65] intentionally omitted <==**
|
| 208 |
+
|
| 209 |
+
**==> picture [52 x 65] intentionally omitted <==**
|
| 210 |
+
|
| 211 |
+
**==> picture [49 x 65] intentionally omitted <==**
|
| 212 |
+
|
| 213 |
+
**==> picture [49 x 65] intentionally omitted <==**
|
| 214 |
+
|
| 215 |
+
**==> picture [41 x 65] intentionally omitted <==**
|
| 216 |
+
|
| 217 |
+
**==> picture [40 x 65] intentionally omitted <==**
|
| 218 |
+
|
| 219 |
+
**==> picture [40 x 65] intentionally omitted <==**
|
| 220 |
+
|
| 221 |
+
**==> picture [51 x 65] intentionally omitted <==**
|
| 222 |
+
|
| 223 |
+
**==> picture [382 x 27] intentionally omitted <==**
|
| 224 |
+
|
| 225 |
+
**----- Start of picture text -----**<br>
|
| 226 |
+
(c) The first person runs towards the other and knocks her/his<br>(d) The first person grabs the other person's waist,<br>left shoulder against the right shoulder, and the second the second person wrestles with the first person.<br>person is forced to step back.<br>**----- End of picture text -----**<br>
|
| 227 |
+
|
| 228 |
+
Figure 4: Visualized cases of our predicted reactions (in green) to input action (in blue) and corresponding thinking results. We also provide a failure case in figure (d), where TTR misunderstands the input action as “wrestling”, which should be “embracing”.
|
| 229 |
+
|
| 230 |
+
Third, to see how much **single-person data** helps reaction generation, we remove single person motion-text data, i.e., the data from HumanML3D dataset, from our training set. The result (w/o SP Data) shows that the model performs worse without training on HumanML3D, which proves that our unified motion encoder and motion-language architecture can leverage both single- and multiperson data, alleviating the insufficiency of training data. However, the benefit from single-person data is not as large as we expect.
|
| 231 |
+
|
| 232 |
+
## 4.4 ANALYSIS ON OVERLAPPING BETWEEN SINGLE- AND MULTI-PERSON MOTIONS
|
| 233 |
+
|
| 234 |
+
To investigate the reason of small contribution from single-person data, we further visualize motion sequences of single-person motion (HumanML3D), two-person action (Inter-X Action) and reaction (Inter-X Reaction) in the same space, as presented in Figure 3. Specifically, we use t-SNE tool Van der Maaten & Hinton (2008) to project motion token sequence features into two-dimension. As shown in Figure 3, the single- and two-person motion sequences have little overlap. When doing case studies, we find that most two-person motion are unique, e.g., massage and being pulled, and will never be used in single-person motion. Similarly, most single-person motions are unique too, e.g., T-pose, and seldom appear in multi-person interaction. There are only a few overlapped motions, e.g., standing still. In addition, when comparing action and reaction sequences in multi-person interaction, we have some interesting findings. When reactions are close to actions, the motion usually belongs to symmetrical interactions, e.g., pulling or being pulled; whereas, when actions are far from reactions, the motion usually belongs to asymmetrical interaction, e.g., massage.
|
| 235 |
+
|
| 236 |
+
## 4.5 IMPACT OF DOWN-SAMPLING PARAMETER IN MATCHING MODEL FOR EVALUATION
|
| 237 |
+
|
| 238 |
+
As described in Section 4.1, we propose downsampling action motion sequence to avoid matching models for evaluation pay too much attention to input action rather than output reaction. We conduct an experiment to change the downsampling parameter frame rate and calculate the difference between taking ground-truth action and random action as the input of _M_ , in terms of summed ranking scores (Top-1, Top-2, Top-3 and Acc.). As presented in Figure 5, difference is lowest when FPS equals to 0, which meaning we only match generated reaction motion with text. It goes up to the peak when FPS equals 1 and quickly goes down to low values, even close to the lowest when FPS is about 15. This indicates that it is necessary to concatenate input action with generated reaction to compose a meaningful interaction in evaluation, otherwise the motion-text matching model cannot well recognize the interaction. However, only 1 FPS is enough. With larger FPS, the matching
|
| 239 |
+
|
| 240 |
+
9
|
| 241 |
+
|
| 242 |
+
**==> picture [396 x 80] intentionally omitted <==**
|
| 243 |
+
|
| 244 |
+
**----- Start of picture text -----**<br>
|
| 245 |
+
FID AITS<br>1.64 3.5 150 1.0 20.6% 16.7% 9.5% 11.1% 16.0%<br>1.60 0.8 14.3% 22.2%<br>1.56 3.0 100 0.6 30.6% 35.0%<br>55.9%<br>1.521.48 2.5 50 0.40.2 52.8% 76.2%Win RateTie Rate 66.7% 49.0%<br>1.44 0 10 20 30 2.0 0 20 40 60 80 0.0 23.5%(0, 4] (4, 6] (6, 8]Lose Rate (8, 12] Overall<br>Input Action FPS Re-think Interval Motion Duration Range (seconds)<br>FID<br>Difference AITS (ms) Proportion<br>**----- End of picture text -----**<br>
|
| 246 |
+
|
| 247 |
+
Figure 5: Impact of input action FPS to summed ranking score differences.
|
| 248 |
+
|
| 249 |
+
Figure 6: Impact of re-thinking inFigure 7: User preference beterval to FID and average inference tween TTR and ReGenNet on time per step (AITS). different motion duration.
|
| 250 |
+
|
| 251 |
+
models will be disturbed by input action rather than the generated reaction. Thus, we choose 1 FPS, corresponding to the largest difference, as our final setting.
|
| 252 |
+
|
| 253 |
+
## 4.6 IMPACT OF RE-THINKING INTERVAL
|
| 254 |
+
|
| 255 |
+
We change the re-thinking interval _Nr_ from about 1 to 100 timesteps (about 0.1 to 10 seconds) and observe how it impacts generative quality measure FID. As shown in Figure 6, FID falls down first until _Nr_ = 4 (about 0.5 second) and then continues rising up. This indicate that the best time interval is about 0.5 second. When the time interval is too short, our TTR model cannot get enough information to re-think what the input action means and will bring some randomness into predicting appropriate reaction. When the time interval gets too long, our TTR model give slow responses to the input action sequences and generates coarse-grained reaction.
|
| 256 |
+
|
| 257 |
+
We also evaluate the average inference time per step (AITS) with respect to the re-thinking interval. As shown in Figure 6, the inference time significantly decreases as the re-thinking interval increases, eventually converging to approximately 10 milliseconds per step (100 FPS). In our setup, we opt to re-think every four steps, resulting in an inference time of less than 50 milliseconds, which meets the requirements for a real-time system.
|
| 258 |
+
|
| 259 |
+
## 4.7 USER STUDY
|
| 260 |
+
|
| 261 |
+
To further evaluate our model qualitatively, we conduct a user study on TTR vs. the latest SOTA method ReGenNet, and the results are shown in Figure 7. We randomly sample 100 action sequences from Inter-X dataset, which are fed into TTR and ReGenNet to predict reactions, and ask four real human to choose the better ones. It can be seen that TTR surpasses ReGenNet on all the duration range, and the winning rate rises significantly when motion duration is longer. We mainly contribute this to our explicit thinking and re-thinking procedure, which ensures semantics matching and alleviates accumulated errors.
|
| 262 |
+
|
| 263 |
+
## 5 CONCLUSION
|
| 264 |
+
|
| 265 |
+
In this paper, we propose a novel framework Think-Then-React (TTR) to address the action-toreaction motion generation problem. First, we propose a unified motion encoder that tokenizes a person’s starting location and following poses separately. Then we design motion and text related tasks to pre-train a large language model backbone to understand and generate both language and motion. We also fine-tune the model to think what the input action means and what an appropriate reaction is, and then generate reaction motions. Experimental results show that our proposed TTR method outperforms all baselines in all metrics except for diversity. Our proposed thinking phase and all pre-training tasks contribute to the best performance. We find that although our proposed unified motion encoder enable leveraging single-person data in pre-training, it brings limited benefit due to the little overlapped poses between single-person motion and multi-person interaction. In the future, we plan to explore more effective method for single-person and multi-person dataset.
|
| 266 |
+
## REFERENCES
|
| 267 |
+
|
| 268 |
+
Baptiste Chopin, Hao Tang, Naima Otberdout, Mohamed Daoudi, and Nicu Sebe. Interaction transformer for human reaction generation. _IEEE Transactions on Multimedia_ , 25:8842–8854, 2023.
|
| 269 |
+
|
| 270 |
+
- Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. _Journal of Machine Learning Research_ , 25(70):1–53, 2024.
|
| 271 |
+
|
| 272 |
+
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. _Advances in neural information processing systems_ , 27, 2014.
|
| 273 |
+
|
| 274 |
+
- Chuan Guo, Xinxin Zuo, Sen Wang, Shihao Zou, Qingyao Sun, Annan Deng, Minglun Gong, and Li Cheng. Action2motion: Conditioned generation of 3d human motions. In _Proceedings of the 28th ACM International Conference on Multimedia_ , pp. 2021–2029, 2020.
|
| 275 |
+
|
| 276 |
+
- Chuan Guo, Shihao Zou, Xinxin Zuo, Sen Wang, Wei Ji, Xingyu Li, and Li Cheng. Generating diverse and natural 3d human motions from text. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 5152–5161, 2022a.
|
| 277 |
+
|
| 278 |
+
- Chuan Guo, Xinxin Zuo, Sen Wang, and Li Cheng. Tm2t: Stochastic and tokenized modeling for the reciprocal generation of 3d human motions and texts. In _European Conference on Computer Vision_ , pp. 580–597. Springer, 2022b.
|
| 279 |
+
|
| 280 |
+
- Chuan Guo, Yuxuan Mu, Muhammad Gohar Javed, Sen Wang, and Li Cheng. Momask: Generative masked modeling of 3d human motions. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 1900–1910, 2024.
|
| 281 |
+
|
| 282 |
+
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 770–778, 2016.
|
| 283 |
+
|
| 284 |
+
- Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. _Advances in neural information processing systems_ , 30, 2017.
|
| 285 |
+
|
| 286 |
+
- Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. _Advances in neural information processing systems_ , 33:6840–6851, 2020.
|
| 287 |
+
|
| 288 |
+
- J Stuart Hunter. The exponentially weighted moving average. _Journal of quality technology_ , 18(4): 203–210, 1986.
|
| 289 |
+
|
| 290 |
+
- Biao Jiang, Xin Chen, Wen Liu, Jingyi Yu, Gang Yu, and Tao Chen. Motiongpt: Human motion as a foreign language. _Advances in Neural Information Processing Systems_ , 36:20067–20079, 2023.
|
| 291 |
+
|
| 292 |
+
- Diederik P Kingma. Auto-encoding variational bayes. _arXiv preprint arXiv:1312.6114_ , 2013.
|
| 293 |
+
|
| 294 |
+
- Han Liang, Wenqian Zhang, Wenxuan Li, Jingyi Yu, and Lan Xu. Intergen: Diffusion-based multihuman motion generation under complex interactions. _International Journal of Computer Vision_ , pp. 1–21, 2024.
|
| 295 |
+
|
| 296 |
+
- Jun Liu, Amir Shahroudy, Mauricio Perez, Gang Wang, Ling-Yu Duan, and Alex C. Kot. NTU RGB+D 120: A Large-Scale Benchmark for 3D Human Activity Understanding. _IEEE Transactions on Pattern Analysis and Machine Intelligence_ , 42(10):2684–2701, October 2020.
|
| 297 |
+
|
| 298 |
+
- Matthew Loper, Naureen Mahmood, Javier Romero, Gerard Pons-Moll, and Michael J. Black. SMPL: A skinned multi-person linear model. _ACM Trans. Graphics (Proc. SIGGRAPH Asia)_ , 34(6):248:1–248:16, October 2015.
|
| 299 |
+
|
| 300 |
+
- Qianhui Men, Hubert PH Shum, Edmond SL Ho, and Howard Leung. Gan-based reactive motion synthesis with class-aware discriminators for human–human interaction. _Computers & Graphics_ , 102:634–645, 2022.
|
| 301 |
+
|
| 302 |
+
11
|
| 303 |
+
|
| 304 |
+
Mathis Petrovich, Michael J Black, and G¨ul Varol. Action-conditioned 3d human motion synthesis with transformer vae. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 10985–10995, 2021a.
|
| 305 |
+
|
| 306 |
+
- Mathis Petrovich, Michael J Black, and G¨ul Varol. Action-conditioned 3d human motion synthesis with transformer vae. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 10985–10995, 2021b.
|
| 307 |
+
|
| 308 |
+
- Matthias Plappert, Christian Mandery, and Tamim Asfour. The kit motion-language dataset. _Big data_ , 4(4):236–252, 2016.
|
| 309 |
+
|
| 310 |
+
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In _International conference on machine learning_ , pp. 8748–8763. PMLR, 2021.
|
| 311 |
+
|
| 312 |
+
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. _Journal of machine learning research_ , 21(140):1–67, 2020.
|
| 313 |
+
|
| 314 |
+
- Aaron Van Den Oord, Oriol Vinyals, et al. Neural discrete representation learning. _Advances in neural information processing systems_ , 30, 2017.
|
| 315 |
+
|
| 316 |
+
- Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. _Journal of machine learning research_ , 9(11), 2008.
|
| 317 |
+
|
| 318 |
+
- Liang Xu, Ziyang Song, Dongliang Wang, Jing Su, Zhicheng Fang, Chenjing Ding, Weihao Gan, Yichao Yan, Xin Jin, Xiaokang Yang, et al. Actformer: A gan-based transformer towards general action-conditioned 3d human motion generation. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 2228–2238, 2023.
|
| 319 |
+
|
| 320 |
+
- Liang Xu, Shaoyang Hua, Zili Lin, Yifan Liu, Feipeng Ma, Yichao Yan, Xin Jin, Xiaokang Yang, and Wenjun Zeng. Motionbank: A large-scale video motion benchmark with disentangled rulebased annotations. _arXiv preprint arXiv:2410.13790_ , 2024a.
|
| 321 |
+
|
| 322 |
+
- Liang Xu, Yizhou Zhou, Yichao Yan, Xin Jin, Wenhan Zhu, Fengyun Rao, Xiaokang Yang, and Wenjun Zeng. Regennet: Towards human action-reaction synthesis. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 1759–1769, 2024b.
|
| 323 |
+
|
| 324 |
+
- Jianrong Zhang, Yangsong Zhang, Xiaodong Cun, Yong Zhang, Hongwei Zhao, Hongtao Lu, Xi Shen, and Ying Shan. Generating human motion from textual descriptions with discrete representations. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 14730–14740, 2023.
|
| 325 |
+
|
| 326 |
+
- Mingyuan Zhang, Zhongang Cai, Liang Pan, Fangzhou Hong, Xinying Guo, Lei Yang, and Ziwei Liu. Motiondiffuse: Text-driven human motion generation with diffusion model. _arXiv preprint arXiv:2208.15001_ , 2022.
|
| 327 |
+
|
| 328 |
+
- Yaqi Zhang, Di Huang, Bin Liu, Shixiang Tang, Yan Lu, Lu Chen, Lei Bai, Qi Chu, Nenghai Yu, and Wanli Ouyang. Motiongpt: Finetuned llms are general-purpose motion generators. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 38, pp. 7368–7376, 2024.
|
| 329 |
+
|
| 330 |
+
12
|
| 331 |
+
|
| 332 |
+
## A APPENDIX
|
| 333 |
+
|
| 334 |
+
## A.1 MOTION REPRESENTATION AND POSE TOKENIZER
|
| 335 |
+
|
| 336 |
+
For motion representation, we use the same strategy asLiang et al. (2024), which combines local joint positions, rotations, velocities, and foot-ground contact as the feature of human motion. Regarding the tokenizers, we adopt a temporal down-sample rate of four and _Np_ = 256 for motion tokens, each motion token are in _dp_ = 512 in the codebook. We divide all space tokens into _Nb_ = 10 bins. The motion VQ-VAE is trained for 150K steps with batch size set to 256 and learning rate fixed at 1e-4 on a single Tesla V100 GPU. We adopt a similar architecture to Guo et al. (2022a) as our pose tokenizer. The encoder/decoder consists of two down-sample/up-sample 1D convolution layers and three 1D ResNet blocks He et al. (2016). We set the width of the auto-encoder to 512. We train the model on both the Inter-X and HumanML3D datasets for 200,000 steps, with batch size set to 256, and learning rate set to 1e-4. We apply L1-loss on both pose feature and velocity reconstruction, and a commitment loss for the embedding process. The weight set to velocity loss is 0.5 and commitment loss is 0.02.
|
| 337 |
+
|
| 338 |
+
## A.2 MATCHING MODEL
|
| 339 |
+
|
| 340 |
+
For the motion-text matching model, we adopt a similar architecture to InterCLIP (Liang et al., 2024), which consists of an eight-layer motion transformer encoder and an eight-layer text transformer encoder. The hidden size is set to 768 and attention heads is set to 8. We add a learnable token to the motion encoder and extract its feature in the last layer of motion encoder as the pooled motion feature. To perform motion classification, we add a classification head (an MLP) after the pooled motion feature. We use the text embedding layer from clip-vit-large-patch14 (Radford et al., 2021), which is frozen during training. We train the model for 40 epochs with batch size set to 128. The learning rate is warmed-up to 0.001 in the first 1,000 steps.
|
| 341 |
+
|
| 342 |
+
## A.3 EVALUATION ON MOTION CAPTIONING TASK
|
| 343 |
+
|
| 344 |
+
Table 2: Motion captioning results on Inter-X dataset. TTR _[∗]_ denotes feeding both action and reaction motion into TTR for captioning. TTR ( _x_ %) denotes only the first _x_ % of action motion is fed into TTR for captioning.
|
| 345 |
+
|
| 346 |
+
||RAEs<br>SeqGan<br>Seq2Seq<br>TM2T|TTR*<br>TTR<br>TTR (50%)<br>TTR (25%)|
|
| 347 |
+
|---|---|---|
|
| 348 |
+
||||
|
| 349 |
+
|Bleu-1<br>Bleu-4<br>Rouge|28.6<br>45.4<br>53.8<br>56.8<br>9.7<br>14.1<br>18.5<br>21.6<br>34.1<br>36.8<br>45.2<br>48.2|**60.2**<br>55.6<br>54.1<br>52.2<br>**25.4**<br>20.3<br>18.9<br>16.6<br>**50.5**<br>46.4<br>45.3<br>43.0|
|
| 350 |
+
|
| 351 |
+
We also evaluate our TTR model on motion captioning task, and the results are shown in Figure 3. The results of baselines are from Inter-X paper Section A.1. As the baseline methods all take both action and reaction as input, while in our setting, our thinking process is only accessible to groundtruth action, we first align TTR’s setting with the baselines’, denoted as TTR _[∗]_ . It can be seen that, with our fine-grained training and effective motion representation, TTR _[∗]_ achieves the best captioning performance in all metrics.
|
| 352 |
+
|
| 353 |
+
Then we evaluate TTR on real-world settings, i.e., only partial of the input action is visible to our model. We take the first 25%, 50% and full action as input of TTR for the action-to-text generation process. It can be seen that even though only a quarter of input action is given, TTR is still capable of accurately predicting the corresponding action and reaction description, showcasing strong generalization capability.
|
| 354 |
+
|
| 355 |
+
## A.4 ABLATION STUDY ON THINKING PROCESS
|
| 356 |
+
|
| 357 |
+
To evaluate the necessity of the Thinking process, we conduct an ablation study on different prompts provided to the Reacting process. First we fed ground-truth prompt to the Thinking process, and it can be seen that the overall quality of predicted reaction is significantly improved. Then we
|
| 358 |
+
|
| 359 |
+
13
|
| 360 |
+
|
| 361 |
+
Table 3: Ablation study on how does thinking process influence model performance. GT denotes ground-truth, and Thinking _[∗]_ denotes using a better motion-to-text model for the thinking process.
|
| 362 |
+
|
| 363 |
+
|Methods|FID<br>Top-1<br>Acc.|
|
| 364 |
+
|---|---|
|
| 365 |
+
|w/ GT Prompt<br>1_._584_±._016<br>0_._458_±._005<br>0_._361_±._005<br>w/ Thinking_∗_<br>1_._882_±._014<br>0_._429_±._004<br>0_._331_±._003<br>w/ Thinking<br>1_._942_±._017<br>0_._423_±._005<br>0_._318_±._003<br>w/o Thinking<br>3_._828_±._016<br>0_._367_±._003<br>0_._230_±._036||
|
| 366 |
+
|
| 367 |
+
leverage a enhanced Thinking model as mentioned in Section A.3, and the FID decreases from 1.94 to 1.88, proving that a better thinking process leads could promote the following Reacting process. Moreover, when discarding the Thinking process, our model dramatically deteriorates in reaction generation quality, as Thinking and re-thinking process is crucial to guide reaction generation and reduce accumulated errors.
|
| 368 |
+
|
| 369 |
+
14
|
| 370 |
+
|
open_review/iclr2025_13836.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13836",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "TeacherActivityNet: A Novel Dataset for Monitoring Faculty Activities in Office Settings",
|
| 6 |
+
"abstract": "In this paper, we introduce a novel dataset for monitoring the activities of faculty members in academic office environments. Advances in computer vision have enabled the automation of workplace monitoring, particularly in educational institutions, where tracking faculty activities presents significant challenges and ethical considerations. Traditional methods of manual supervision are labor-intensive and prone to human error, underscoring the potential of automated video analysis as a more efficient solution. While substantial progress has been made in Human Activity Recognition (HAR) across various domains, research specifically focused on monitoring faculty activities in office settings is limited. Most existing studies concentrate on classroom and student monitoring, revealing a critical gap in faculty surveillance.\nThis paper seeks to address that gap by introducing TeacherActivityNet, a novel video dataset designed to recognize teachers' activities in academic offices, encompassing nine distinct action classes. We tweak the YOLOv8n architecture to propose our model, Teacher Activity Net (YOLOTAN), which is then fine-tuned using our dataset, achieving an average precision of 74.9\\%, significantly outperforming benchmark models. A comparative analysis of our dataset and methods against existing solutions highlights the potential of TeacherActivityNet to improve automated faculty monitoring systems. The dataset, trained models, and accompanying code are available at https://tinyurl.com/4ub94phh",
|
| 7 |
+
"rebuttal": "### Reposne to reviewer 7tqZ(2)\nThank you for your valuable feedback and for taking the time to review our work in detail. We sincerely appreciate your constructive comments and your recognition of the improvements made to the paper.\n\nRegarding the frame rate and resolution, we would like to clarify that our dataset comprises videos of varying lengths across different action classes. Consequently, the frame rates range from 1 fps to 12 fps to accommodate this variability. The camera resolution was consistently set to HD at 60 fps for capturing the dataset.\n\nIn relation to your concerns about the guided or scripted nature of the actions, we would like to emphasize that participants were only instructed on which actions to perform, but the manner in which they performed these actions was left to their discretion. This approach allowed for considerable diversity, as highlighted in the paper. We believe that this diversity reflects real-world behaviors to a large extent. Furthermore, in our test dataset, actions were recorded in a spontaneous manner to add realism. Additionally, some participants were faculty members from a reputable private university, bringing their expertise and familiarity with realistic behavior into the recordings.\n\nFinally, while we utilized multiple annotators and implemented a verification process to ensure annotation quality, we acknowledge the importance of further evaluation. In the next phase of our work, we plan to incorporate additional annotators and verifiers to strengthen the robustness and reliability of the dataset.\n\nOnce again, we thank you for your insightful comments and for helping us improve the quality of our work. We remain committed to addressing these points in our ongoing and future efforts.\n\n### Response for reviewer baDe\nP1#: Ethical and privacy concerns have not been addressed - The paper does not address the underlying ethical and privacy implications of faculty monitoring. Camera surveillance and automatic activity recognition in office settings raises significant concerns particularly in an academic environment. Even if we assume that the dataset was collected with permission, this should be explicitly mentioned in the manuscript.\n\n Response: First of all, I would like to thank the reviewer for their valuable feedback. The ethical concern raised by the reviewer has been addre [...]\n\n### Response to reviewer 7tqZ\nP1#: The paper lacks useful information or statistics about camera settings used for recording the videos for the dataset. In the data collection section, the author should describe a detailed of camera setting such as type of camera, field of view, frame rate, resolution, where the camera is set up, the distance between the actors and the camera. Please illustrate the camera setting in the experimental environment. This detail can help readers understand the conditions under which the data was collected and may influence the model performance.\n\nResposne: All the [...]\n\n### Response to reviewer bQRG\n#P1: The innovation points and problems solved in the abstract are not obvious. The author should first introduce the background content, that is, the monitoring of teachers' activities, and then explain the existing problems and the innovation points proposed in this paper. In addition, it can be seen from the abstract that the main work of this paper is to propose the data set and improve YOLOv8n, the latter proposal does not solve the corresponding problems. The length of the abstract is too long, and it is suggested that the author shorten it to less than 400 [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
1,
|
| 10 |
+
5,
|
| 11 |
+
3
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 3.0,
|
| 14 |
+
"score_variance": 4,
|
| 15 |
+
"score_spread": 4,
|
| 16 |
+
"score_min": 1,
|
| 17 |
+
"score_max": 5,
|
| 18 |
+
"decision": "",
|
| 19 |
+
"rebuttal_validity_ground_truth": null,
|
| 20 |
+
"meta_review": "",
|
| 21 |
+
"forum_id": "TadxJc1XAE",
|
| 22 |
+
"primary_area": "applications to computer vision, audio, language, and other modalities",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_baDe",
|
| 27 |
+
"review_id": "rVrmSnZhQ4",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 1,
|
| 30 |
+
"soundness": 1,
|
| 31 |
+
"presentation": 1,
|
| 32 |
+
"contribution": 1,
|
| 33 |
+
"confidence": 5
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 1558,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 765013,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_7tqZ",
|
| 43 |
+
"review_id": "Og3kmZFnek",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 5,
|
| 46 |
+
"soundness": 2,
|
| 47 |
+
"presentation": 2,
|
| 48 |
+
"contribution": 3,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 3036,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 952369,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_bQRG",
|
| 59 |
+
"review_id": "v5cB6Xmj11",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 3,
|
| 62 |
+
"soundness": 2,
|
| 63 |
+
"presentation": 1,
|
| 64 |
+
"contribution": 2,
|
| 65 |
+
"confidence": 5
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 2430,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1695292,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": []
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"any_review_edit_detected": true,
|
| 75 |
+
"any_post_rebuttal_text_signal": false,
|
| 76 |
+
"review_score_dimensions": [
|
| 77 |
+
"rating",
|
| 78 |
+
"soundness",
|
| 79 |
+
"presentation",
|
| 80 |
+
"contribution",
|
| 81 |
+
"confidence"
|
| 82 |
+
]
|
| 83 |
+
}
|
open_review/iclr2025_13836.md
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
TEACHERACTIVITYNET: A NOVEL DATASET FOR
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
ABSTRACT In this paper, we introduce a novel dataset for monitoring the activities of faculty members in academic office environments. Advances in computer vision have en- abled the automation of workplace monitoring, particularly in educational institutions, where tracking faculty activities presents significant challenges and ethical considerations. Traditional methods of manual supervision are labor-intensive and prone to human error, underscoring the potential of automated video analysis as a more efficient solution. While substantial progress has been made in Human Ac- tivity Recognition (HAR) across various domains, research specifically focused on monitoring faculty activities in office settings is limited. Most existing studies concentrate on classroom and student monitoring, revealing a critical gap in fac- ulty surveillance. This paper seeks to address that gap by introducing TeacherAc- tivityNet, a novel video dataset designed to recognize teachers’ activities in aca- demic offices, encompassing nine distinct action classes. We tweak the YOLOv8n architecture to propose our model, Teacher Activity Net (YOLOTAN), which is then fine-tuned using our dataset, achieving an average precision of 74.9%, significantly outperforming benchmark models. A comparative analysis of our dataset and methods against existing solutions highlights the potential of TeacherActiv- ityNet to improve automated faculty monitoring systems. The dataset, trained models, and accompanying code are available at [URL removed] 1 INTRODUCTION The improvement in different computer vision models has opened new frontiers in the automation of various tasks, including the monitoring and surveillance of workplaces. In educational institu- tions, monitoring teacher activities such as ensuring safety, improving operational efficiency, and evaluating performance can be complex and time-consuming. Moreover, typical manual supervi- sion methods not only demand significant human resources but are also prone to human errors and inconsistencies. To address these challenges, automated faculty monitoring systems using video analysis can be a promising solution. In recent years, a considerable amount of work has been done in the field of Human Activity Recog- nition in various contexts such as sports (Host & Ivaˇsi´c-Kos, 2022)(Xiao et al., 2023), pose estima- tion (Atikuzzaman et al., 2020), crime scene detection (J & Thinakaran, 2023), healthcare (Gupta et al., 2022), etc. While solving the problem of human activity recognition from videos, the re- searchers primarily focus on a few aspects - analyzing the applicability of Machine Learning (ML) and Deep Learning (DL) methods in different HAR tasks, creating new datasets for domain-specific HAR-related tasks, and proposing novel solutions for diverse HAR problems. Educational organi- zations have been the center of experimentation to introduce automation using various AI methods to streamline processes (Ben Williamson & Potter, 2023). Dimitriadou & Lanitis (2023) have crit- ically analyzed the use of AI and emerging technologies in the classroom and recommended that the computer vision-based surveillance system can ensure the safety and security of the classroom alongside tracking the students’ participation and attendance. Additionally, a smart surveillance sys- tem can help teachers in plagiarism detection and student supervision in an online setting (Saini & Goel, 2019). These systems can also help in identifying abnormal activities on the school premises through CCTV footage analysis (Liu et al., 2023).
|
| 8 |
+
|
| 9 |
+
1
|
| 10 |
+
|
| 11 |
+
However, the intelligent video surveillance systems in educational organizations primarily focus on classroom and student activity monitoring. There has been a lack of existing work on monitoring teachers’ activities in an office setting. On the other hand, to solve the HAR problems, the majority of the researchers have adopted machine learning and deep learning-based techniques like CNN, RNN, LSTM, SVM, Naive Bayes, older versions of You Only Look Once (YOLO), and so on. The use of the latest version of YOLO might have good prospects in office surveillance. Our work aims to address this gap in how YOLO would efficiently recognize the teachers’ activities in their offices. Our main contributions are:
|
| 12 |
+
|
| 13 |
+
- Creating a video dataset of teachers’ activities in their offices which consists of nine action classes.
|
| 14 |
+
|
| 15 |
+
- Modifying YOLOv8n to build an efficient detection model YOLOTAN to monitor teachers’ activities.
|
| 16 |
+
|
| 17 |
+
In the next sections, we critically reviewed the state-of-the-art in HAR followed by discussing our datasets and proposed method. Section 4 presents our result followed by the conclusion.
|
| 18 |
+
|
| 19 |
+
2 RELATED WORK Human Action Recognition (HAR) is a critical research area with applications across various do- mains such as security or surveillance, sports, education, and more. Many researches were done throughout the years to improve the prediction and recognition task of a variety of activities. Yuganthini et al. (2021) proposed a wireless method named the Zigbee technique to track employee activity using computer vision. The dataset used in this process consists of videos collected from CCTV cameras in the workplace. In order to find the efficiency of their system, they compared their measured time with the actual in and out time collected from bio-metric entry. However, the system is only supposed to function for a specific region. Another study of the same year, Sikder & Nahid (2021) introduced a dataset, the KU-HAR for heterogeneous HAR. The dataset was created from videos featuring 90 participants performing 18 different actions. Using a Random Forest (RF) classifier, they achieved a precision of 90%. Later on, many studies were done focusing on the learning or teaching environments of different educational institutions. Rashmi et al. (2021) detected the student actions were performed in com- puter laboratories. They collected 688 image frames from CCTV cameras installed in the labs and gathered 54,862 samples from these frames for five different action classes. YOLOv3 was used as a method to detect the actions. In the same year Zhao et al. (2021) predicted teacher-student behavior by analyzing various student actions in the classroom during teaching. Some very recent studies also reflected to contribute in the same track. Wang et al. (2024) evaluated teaching quality in real-time by predicting the students’ “head-up rate” using YOLOv5. This approach generated more effective results in education quality assessment than traditional survey questionnaires. In order to boost the process and have more reliable outputs, different models are also being proposed in recent studies. Dey et al. (2024) proposed the AdaptSepCX Attention Network model to detect student actions in online education. Their model achieved a high validation accuracy of 92.73%. Moreover, Pabba & Kumar (2024) proposed a vision-based student engagement model, focusing on seven action classes based on students’ facial expressions. They used the Multi-task Cascaded Convolutional Networks (MTCNN) method for facial recognition. Additionally, the activity recognition process was introduced to detect anomalies in fitness activities. Yang et al. (2023) used Pose-Based Branch (PBB) and RGB-Based Branch (RBB) features sepa- rately with CNN, ResNet152, and 3D-CNN models to compare. MPOSE-2019, Body Movements- Based Dataset (BMbD), Multi-target Body Movements-Based Dataset (M-BMbD), and the Joint Body Movements and Object Position-Based Dataset (JBMOPbD) were used in this study. The pose-based method outperformed the RGB-based approach. As a final result, the Pose-Based Branch (PBB) outperformed the other one as a feature consideration. Moreover, some other activities related to security and the prediction of anomalies or suspicious events are introduced in this research area. Singh et al. (2020) proposed CNN and RNN-based models with Inception V3 to predict crime scenes in the UCF crime dataset which contains 1,800 videos. In this study, it was assured that considering a larger dataset and using augmentation played
|
| 20 |
+
|
| 21 |
+
2
|
| 22 |
+
|
| 23 |
+
a vital role in the prediction process. In the same year Shreyas et al. (2020), proposed 3D CNN for anomalous human activity detection using the same dataset. This method outperformed SVM and binary classifiers. Nale et al. (2021) detected suspicious human activity using pose estimation and LSTM on the NTU-D 60 dataset by evaluating the geometrical relations of skeletal joints. Liu et al. (2023) proposed a method for recognizing abnormal behavior on campus using Temporal Segment Transformers (TST), Video Swin Transformer method for the CABR50 dataset. Another research of the same year conducted by Nandhini & Thinakaran (2023) focused on crime scene detection using the stacked hourglass method and Gaussian classifier. This study achieved an accuracy of more than 90% in the test set. Some other methods in the related field named Enhanced Convolutional Neural Network (ECNN) to predict suspicious actions in video surveillance were also proposed as a model (Selvi et al., 2022). Multiple datasets including CCTV footage, CAVIAR, DCSASS, and public datasets were used for this study. Many recent studies were also found related to security issues such as a system developed to predict the possible anomalies in smart homes (Rahman et al., 2024), YOLOv3 to detect real-time suspicious activity in ATM surveillance videos (Menaka et al., 2024) etc. Activation functions such as OP-Tanish activation were also introduced with 1D-CNN with the success of outperforming the basic activation functions such as ReLU and SWISH (Ankalaki & Thippeswamy, 2024).
|
| 24 |
+
|
| 25 |
+
-
|
| 26 |
+
|
| 27 |
+
The application of human activity recognition plays a vital role in sports as well. In recent years, there has been a significant rise in research on sports-based videos. Host & Ivaˇsi´c-Kos (2022) used some ML and DL-based techniques for activity detection in sports videos. However, it mostly covered the sports played using balls. A custom dataset was prepared combining various existing datasets like THETIS. In the same year, Latha et al. (2022) proposed CNN and LSTM using the UCF-50 video dataset. Xiao et al. (2023) proposed deformable convolution and an adaptive multi- scale feature method. They analyzed sports videos from the UCF Sports, UNF 50, and YouTube (UCF 11) datasets. Goh et al. (2023) focused on fault detection during badminton matches using the YOLOv5 model. The used dataset consisted of 1,900 images from videos, and the model achieved higher accuracy than human judges.
|
| 28 |
+
|
| 29 |
+
3 METHODOLOGY
|
| 30 |
+
|
| 31 |
+
Our work consists of three major phases - creating the dataset, modifying the YOLOv8 model architecture to obtain better better-performing detection model, and proposing a method for real-time prediction. Figure 1 presents the step-by-step descriptions of our work. Initially, we curate our dataset followed by preprocessing it. After that, we make modifications to the YOLOv8n model architecture to introduce the YOLO Teacher Activity Net (YOLOTAN). We train and fine-tune the YOLOTAN model to predict the action classes from the videos of the faculty members. Besides, we measure action class-wise time for each faculty member through face recognition.
|
| 32 |
+
|
| 33 |
+
**==> picture [396 x 150] intentionally omitted <==**
|
| 34 |
+
|
| 35 |
+
Figure 1: Workflow of our proposed method
|
| 36 |
+
|
| 37 |
+
3
|
| 38 |
+
|
| 39 |
+
3.1 DATASET One of our major contributions is the creation of a dataset that includes a wide range of activities for the task of teacher monitoring. To accomplish this, we collected videos of 19 participants for 9 action classes. The action classes are Arriving, Counselling, Eating, Idle, Leaving, Sleeping, Talking, Using ~~P~~ hone and Working. The participants were asked to sign an informed consent form before making the videos and an appropriate opt-out policy was followed in every step of the data collection process. As per the General Data Protection Regulation (GDPR) Union (2016), data privacy and security are prioritized. For the diversification of the dataset, the videos were taken from 8 different rooms. The videos were recorded using an iPhone 11 Pro Max, with varying camera distances based on room size and diverse angles capturing multiple participants’ actions. The cameraman’s average height was 5’6”. The dataset includes 19 participants (3 female), mostly aged 20–22, with some around 30. All actions were controlled and guided.
|
| 40 |
+
|
| 41 |
+
3.1.1 COLLECTION The dataset creation process took place primarily in two stages - training and validation, and testing. In the first stage, we took a sample of 12 from the participants and they were asked to perform one action at a time. Nine videos for each of the action classes per participant were recorded. After collecting the training videos, we took a sample of size 3 from the remaining 7 participants and asked them to do the same. These video sets of three participants across the nine classes are used as the validation set in our experiments. In the second stage, we made 10 videos of the remaining 4 participants who were not involved in the previous stage of the data collection. As we are interested in measuring how accurate our models are in real-time, unlike the previous stage where different actions were done in different videos, we asked the participants to perform the actions continuously for a specific period. To critically test the model performance in real-time, we made most of the videos in such rooms that were not present in the earlier phase of data collection. In Table 1, the descriptions of the action classes including duration and number of instances after annotation are provided. 3.1.2 ANNOTATION After collecting the dataset, we generate the image frames from the training and validation videos using Roboflow[[1]] through manual annotation. Three annotators performed manual labeling, with a verifier ensuring the accuracy of all annotations. From each frame, a bounding box is drawn to annotate the object with an action class. Extra caution is exercised while annotating the images that look the same but fall into different action classes. For example, in “Leaving” and “Arriving” action classes, there is a moment in the videos when the participants leaving the seat and taking the seat, look almost identical. Another case is while performing “Idle” action, the participants closed their eyes which potentially conflicts with “Sleeping” action. Taking these ambiguous scenarios into consideration, such frames are discarded from the dataset. After annotating, the numbers of instances in the training, validation, and test sets are 6498, 1337, and 808, respectively. 3.1.3 DATASET AUGMENTATION AND PREPARATION The detailed dataset preparation process is presented in Figure 1. To be compatible with YOLOv8, the images are reshaped to 640 _×_ 640 pixels. Two different augmentations are also applied to in- crease the generalizability of the prediction models. Initially, the images are flipped horizontally. And to give the models the ability to predict from CCTV footage, a noise of 0.3% is added. Both augmentation techniques are employed in accordance with the recommendations made by Singh et al. (2020). In Figure 2 and Figure 3, a sample before augmentation and another one after aug- mentation are presented. Only the training images are augmented and increased from 6498 to 19494 instances.
|
| 42 |
+
|
| 43 |
+
In the second stage, we made 10 videos of the remaining 4 participants who were not involved in the previous stage of the data collection. As we are interested in measuring how accurate our models are in real-time, unlike the previous stage where different actions were done in different videos, we asked the participants to perform the actions continuously for a specific period. To critically test the model performance in real-time, we made most of the videos in such rooms that were not present in the earlier phase of data collection. In Table 1, the descriptions of the action classes including duration and number of instances after annotation are provided.
|
| 44 |
+
|
| 45 |
+
After collecting the dataset, we generate the image frames from the training and validation videos using Roboflow[[1]] through manual annotation. Three annotators performed manual labeling, with a verifier ensuring the accuracy of all annotations. From each frame, a bounding box is drawn to annotate the object with an action class. Extra caution is exercised while annotating the images that look the same but fall into different action classes. For example, in “Leaving” and “Arriving” action classes, there is a moment in the videos when the participants leaving the seat and taking the seat, look almost identical. Another case is while performing “Idle” action, the participants closed their eyes which potentially conflicts with “Sleeping” action. Taking these ambiguous scenarios into consideration, such frames are discarded from the dataset. After annotating, the numbers of instances in the training, validation, and test sets are 6498, 1337, and 808, respectively.
|
| 46 |
+
|
| 47 |
+
After annotation, each image has two files saved in two directories - one is an image and another
|
| 48 |
+
|
| 49 |
+
is the label file that contains bounding box coordinates. We use the YOLOv8-oriented bounding box dataset. In this dataset, the label file has 9 values instead of 5 which is common in rectangular
|
| 50 |
+
|
| 51 |
+
> 1[URL removed]
|
| 52 |
+
|
| 53 |
+
4
|
| 54 |
+
|
| 55 |
+
||Table 1: Action class defnition with duration and total instances in training dataset|Table 1: Action class defnition with duration and total instances in training dataset|
|
| 56 |
+
|---|---|---|
|
| 57 |
+
||||
|
| 58 |
+
||**Class Name**<br>**Class ID**<br>**Defnition of the Action Class**|**Duration Per Video**<br>**Total Instances**|
|
| 59 |
+
||||
|
| 60 |
+
|<br>|Arriving<br>0<br>Person arriving in the room and<br>taking his/her seat.<br>Counselling<br>1<br>Teacher giving counselling time|30/60 seconds<br>665<br>30/60 seconds<br>728|
|
| 61 |
+
||to multiple students.||
|
| 62 |
+
||Eating<br>2<br>Person eating or drinking.|10 seconds<br>739|
|
| 63 |
+
||Idle<br>3<br>Idle for some time, doing none|30/60 seconds<br>755|
|
| 64 |
+
|<br>|of the other mentioned actions.<br>Leaving<br>4<br>Person leaving his/her seat and<br>going out of the room.|5 seconds<br>654|
|
| 65 |
+
||Sleeping<br>5<br>Person sleeping in two posi-|10 seconds<br>739|
|
| 66 |
+
||tions: laying his/her head on the||
|
| 67 |
+
||chair or putting their head down||
|
| 68 |
+
|<br>|on the table.<br>Talking<br>6<br>Talking via mobile phone (not<br>considering talking to persons).|30/60 seconds<br>727|
|
| 69 |
+
||Using<br>~~P~~hone<br>7<br>Using his/her phone while sit-|30/60 seconds<br>748|
|
| 70 |
+
||ting in the chair or standing.||
|
| 71 |
+
||Working<br>8<br>Focused<br>on<br>the<br>com-|30/60 seconds<br>743|
|
| 72 |
+
|<br>|puter/laptop<br>while<br>using<br>mouse or keyboard.||
|
| 73 |
+
||||
|
| 74 |
+
||||
|
| 75 |
+
||||
|
| 76 |
+
||||
|
| 77 |
+
||||
|
| 78 |
+
||||
|
| 79 |
+
||||
|
| 80 |
+
||||
|
| 81 |
+
||||
|
| 82 |
+
||||
|
| 83 |
+
||Figure 2: A sample image before augmentation<br>Figure 3: A sample image after augmentation||
|
| 84 |
+
||||
|
| 85 |
+
||||
|
| 86 |
+
||bounding box coordinates. The label of our images has quadrilateral coordinates. The frst value is||
|
| 87 |
+
||the class ID and the remaining values are coordinates of four|corners like (_x_1_, y_1)_,_(_x_2_, y_2)_,_(_x_3_, y_3),|
|
| 88 |
+
||and(_x_4_, y_4).||
|
| 89 |
+
||||
|
| 90 |
+
|<br>|3.2<br>YOLO TEACHERACTIVITYNET(YOLOTAN)||
|
| 91 |
+
|<br><br>|YOLOv8 is considered state-of-the-art for object detection in real-time. This version of YOLOv8<br>has more speed and accuracy than the previous versions. A few key components of YOLOv8<br>are anchor-free detection, multi-scale predictions, and decoupled head architecture. We adopt the||
|
| 92 |
+
||YOLOv8n as the base model for our detection task. In YOLOv8n there are three main parts in the||
|
| 93 |
+
||architecture - Backbone, Neck, and Head.||
|
| 94 |
+
|<br><br><br>|In our proposed model, we modify the backbone of the YOLOv8n architecture. In the backbone,<br>there are fve feature pyramids (P) and four stages with each having a c2f (Cross-Stage Partial Net-<br>work with 2 Convolutions and Fusion) module and a convolution module. We modify the last layer<br>of the convolution module with a residual connection. The input of the convolution module of the||
|
| 95 |
+
||last layer adds to the output of the same layer. This process is done for every convolution module.||
|
| 96 |
+
||The modifed convolution module is shown in Figure 4. In Figure4, the internal mechanism of the||
|
| 97 |
+
||modifed convolution module with residual connection is presented. It adds a residual connection||
|
| 98 |
+
||when the input and output channels of the convolution layer|are the same with a stride of (1,1). This|
|
| 99 |
+
||can help mitigate the vanishing gradient problem and potentially improve the learning of deeper||
|
| 100 |
+
|
| 101 |
+
In our proposed model, we modify the backbone of the YOLOv8n architecture. In the backbone, there are five feature pyramids (P) and four stages with each having a c2f (Cross-Stage Partial Network with 2 Convolutions and Fusion) module and a convolution module. We modify the last layer of the convolution module with a residual connection. The input of the convolution module of the last layer adds to the output of the same layer. This process is done for every convolution module. The modified convolution module is shown in Figure 4. In Figure4, the internal mechanism of the modified convolution module with residual connection is presented. It adds a residual connection when the input and output channels of the convolution layer are the same with a stride of (1,1). This can help mitigate the vanishing gradient problem and potentially improve the learning of deeper features. Residual connections offer a direct pathway for gradients to propagate backward, helping
|
| 102 |
+
|
| 103 |
+
5
|
| 104 |
+
|
| 105 |
+
Figure 4: Modified backbone of our proposed YOLOTAN to alleviate the vanishing gradient problem. Mathematically, considering the gradient of the loss _L_ with respect to the input _x_ , we have: **292 293294** _∂L∂x_[=] _[∂L] ∂y[·]_ � _∂F∂x_ ( _x_ ) + 1� (1) The addition of the +1 term ensures that the gradients can flow back directly, even when _[∂F] ∂x_[(] _[x]_[)] be- comes very small. The added residual connections might introduce a small computational overhead, but it is likely to be minimal given that they are only added under specific conditions. For benchmark analysis, in addition to creating detection models with our proposed YOLOTAN, we use pre-trained and fine-tuned YOLOv8 and fasterrcnn ~~r~~ esnet50 ~~f~~ pn model. All the models are trained on annotated images and labels with bounding box coordinates. Figure 5: Flow chart for prediction on sample test dataset video with time count for each action class 3.3 PREDICTION FROM VIDEOS A big challenge for any computer vision model is to measure the performance in the real world. In addition to finding the validation and test performance of our trained YOLOTAN model, we measure
|
| 106 |
+
|
| 107 |
+
A big challenge for any computer vision model is to measure the performance in the real world. In addition to finding the validation and test performance of our trained YOLOTAN model, we measure its detection performance from videos. In Figure 5, the steps to measure this detection performance from test videos are described.
|
| 108 |
+
|
| 109 |
+
6
|
| 110 |
+
|
| 111 |
+
(a) Confusion Matrix for Validation Dataset (b) Confusion Matrix for Test Dataset Figure 6: Confusion Matrix for Validation and Test Datasets 4 RESULTS In this section, we discuss our experimental results. We use a machine with Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz processor with NVIDIA TITAN xp 12GB GPU to train our YOLOTAN models as well as the basic YOLOv8 and faster RCNN models. 4.1 TEST AND VALIDATION RESULTS As we use YOLOTAN as a prediction model for our study, it has two different sets, one is used for training and the other for validation. This method takes images labeled with a bounding box. Our proposed model achieved 0.941 as the mean Average Precision(mAP50) on the validation dataset and 0.749 on the test dataset. Table 2: Box precision, recall, mAP50 and mAP50-95 results for test dataset using YOLOTAN for each action class **354 355 Action Images Instances Box (Precision) Recall mAP50 mAP50-95 356** Arriving 25 25 0.539 0.760 0.615 0.382 Counselling 183 183 0.967 0.948 0.988 0.636 Eating 59 59 0.577 0.475 0.496 0.332 Idle 64 64 0.469 0.266 0.387 0.218 Leaving 30 30 0.570 0.733 0.709 0.461 Sleeping 106 106 0.895 0.805 0.924 0.535 Talking 96 96 0.845 0.698 0.833 0.400 Using ~~P~~ hone 119 119 0.781 0.782 0.813 0.396 Working 126 126 0.975 0.947 0.978 0.637 In Table 2, the achieved results using YOLOTAN for different action classes are shown separately. Box precision, recall, mAP50 and mAP50-95 value for each class is shown in this Table2. The data instances are considered as images with bounding box to generate these test results. From this Table 2, we can observe that the Idle action class has the lowest performance in mAP50 whereas the prediction of Counselling and Working is showing higher prediction performance. Though the used dataset contains fewer instances of Leaving and Arriving action classes, the prediction worked well for these action classes too. The overall mAP50 for the dataset using YOLOTAN is around 0.749 on the test dataset considering all the action classes. In Figure 6a, the confusion matrix using the YOLOTAN pre-trained model for the validation dataset is provided. Predictions for most of the action classes are very good on the validation dataset. The prediction of the action class “Idle” is average. The main reason behind average accuracy is due to some image frames of “Idle” action class where participants were looking down. It looks like their eyes are closed. So, the model predicts “Sleeping”. As we can see 59 image frames predicted as
|
| 112 |
+
|
| 113 |
+
In Table 2, the achieved results using YOLOTAN for different action classes are shown separately. Box precision, recall, mAP50 and mAP50-95 value for each class is shown in this Table2. The data instances are considered as images with bounding box to generate these test results. From this Table 2, we can observe that the Idle action class has the lowest performance in mAP50 whereas the prediction of Counselling and Working is showing higher prediction performance. Though the used dataset contains fewer instances of Leaving and Arriving action classes, the prediction worked well for these action classes too. The overall mAP50 for the dataset using YOLOTAN is around 0.749 on the test dataset considering all the action classes.
|
| 114 |
+
|
| 115 |
+
In Figure 6a, the confusion matrix using the YOLOTAN pre-trained model for the validation dataset is provided. Predictions for most of the action classes are very good on the validation dataset. The prediction of the action class “Idle” is average. The main reason behind average accuracy is due to some image frames of “Idle” action class where participants were looking down. It looks like their eyes are closed. So, the model predicts “Sleeping”. As we can see 59 image frames predicted as “Sleeping” were actually “Idle”.
|
| 116 |
+
|
| 117 |
+
7
|
| 118 |
+
|
| 119 |
+
(a) F1 Curve (b) Precision Curve (c) Precision Recall Curve (d) Recall Curve Figure 7: F1, Precision, and Recall Curves for All Activities In Figure 6b, prediction accuracy drops in the test dataset. Counselling class has very high accuracy. The Eating class has the lowest accuracy. The main reason behind this is actually the Using ~~P~~ hone action class. In some of the image frames, we can see the participant holding the food like they are holding the mobile phone. That is why in 14 instances the model is predicting Using ~~P~~ hone instead of Eating. The confidence curve for F1 score, precision, precision-recall, and recall is shown in Figure **??** . From Figure 7a, we can find that the confidence threshold for the F1 score for all the classes is 0.282 where the F1 value is 0.85. Figure 7b reflects the average precision value for all classes which is 1.00 at a confidence threshold of 0.806. Again, Figure 7c shows the precision-recall curve reflecting the mean Average Precision(mAP0.5) value in 0.934. Finally, Figure 7d shows a recall curve with an average recall value of 0.96. However, it is observed that for all other values except precision, the average performance of sleeping is much lower than the other action classes. Figure 8: Annotated Train Dataset Sample Figure 9: Predictions of Validation Dataset In Figure 8, training images for the YOLOTAN and Faster RCNN-based pretrained model are pro- vided. As the training images are annotated before use, every image contains an anchor or bounding box. In Figure 9, the predicted images of validation by the YOLOv8 models are shown. The bounding box and the class score are also provided for each activity. The class score reflects how reliable the prediction result YOLOTAN is for each class. In order to evaluate some other method results using our dataset, we use the Faster RCNN ResNet50 FPN pre-trained model. In Table 3, the results achieved for the Faster RCNN ResNet50 FPN model
|
| 120 |
+
|
| 121 |
+
8
|
| 122 |
+
|
| 123 |
+
Table 3: Accuracy for test dataset using Faster RCNN ResNet50 FPN for each action class **433 434 Action Class Instances Correct Prediction mAP50 435**
|
| 124 |
+
|
| 125 |
+
Arriving 25 21 0.6602
|
| 126 |
+
|
| 127 |
+
Counselling 183 170 0.9893
|
| 128 |
+
|
| 129 |
+
Eating 59 30 0.1949 Idle 64 3 0.2134 Leaving 30 22 0.3934 Sleeping 106 68 0.7727 Talking 96 58 0.8234 Using ~~P~~ hone 119 39 0.6139 Working 126 39 0.587 are shown in terms of correct predicted instances and thus mAP50. From the table, we can find that the prediction of eating class is around 0.1949 for this model. However, the prediction rate of the Idle class is significantly low for this model in our dataset. Counselling class can be considered as having the highest performance in terms of mAP50. The overall achievement rate of mAP50 for Faster RCNN ResNet50 is 0.58 which is lower than the overall rate of YOLOTAN.
|
| 130 |
+
|
| 131 |
+
Table 4: Predicted frame counts for real time video as test dataset using the model **453 454 Action Class Time in Seconds Annotated Frames Accurately Predicted Frames 455** Arriving 3 3 1
|
| 132 |
+
|
| 133 |
+
Counselling 38 29 29
|
| 134 |
+
|
| 135 |
+
Eating 0 7 0 Idle 26 4 4 Leaving 8 3 3 Sleeping 12 12 11 Talking 11 8 5
|
| 136 |
+
|
| 137 |
+
Using ~~P~~ hone 14 10 10
|
| 138 |
+
|
| 139 |
+
Working 2 12 2 No Detection 15 N/A N/A 4.2 MODEL PERFORMANCE ON VIDEOS All the results discussed above are generated using image instances with a specific bounding box. In order to consider the real-time scenario, we take a real video with no boundaries to evaluate
|
| 140 |
+
|
| 141 |
+
the performance of the model for all 9 action classes. Therefore, we take a video of 127 seconds
|
| 142 |
+
|
| 143 |
+
from the test dataset to perform the task. In the first phase of the task, we perform the operation
|
| 144 |
+
|
| 145 |
+
of face recognition to detect the person properly. Employee pictures are used here to operate the recognition task. After the face recognition process is performed successfully, we use our proposed model YOLOTAN to predict the action class for each task. To compare the predicted results and generate the accurately predicted tasks, the video was divided into image frames and annotated using Roboflow. After that, the predicted and annotated image frames are compared to find the correctly predicted instances. In Table 4, the annotated frame numbers and predicted frame numbers are given for each action class. The total predicted time for each action class is also provided to find a decision on overall task prediction for each person. The “No Detection” class indicates the number of times the person was not involved in any defined action class from the available 9 classes.
|
| 146 |
+
|
| 147 |
+
Table 5: Comparative baseline analysis with our YOLOTAN model **481 482 Metric YOLOv5 DSC (YOLOv8n) SimpleGS (YOLOv8n) SC (YOLOv8n) YOLOTAN 483 484** mAP50 0.697 0.473 0.503 0.665 0.749 Inference Speed 4.5 ms/image 2.16 ms/image 1.82 ms/image 9.34 ms/image 2.8 ms/image
|
| 148 |
+
|
| 149 |
+
9
|
| 150 |
+
|
| 151 |
+
## 4.3 ABLATION STUDIES
|
| 152 |
+
|
| 153 |
+
-
|
| 154 |
+
|
| 155 |
+
- In Table 5, a comparison of different convolutional models in YOLOv8 with YOLOv5 and YOLOTAN is shown.
|
| 156 |
+
|
| 157 |
+
- **490 YOLOv5** : Using YOLOv5 pre trained model, we achieved mAP50 of 0.697 for test dataset. How-
|
| 158 |
+
|
| 159 |
+
- ever, the inference speed for processing images is not good.
|
| 160 |
+
|
| 161 |
+
- **492 493 Depthwise Separable Convolutional Model(DSC of YOLOv8)** : This method uses DWConv (Depthwise mAP50 is lower than the other two models.
|
| 162 |
+
|
| 163 |
+
- **495 Simple Grouped Shuffle Convolutional Model(Simple GS of YOLOv8)** : This is a combination of both the Standard Convolutional Model and Depthwise Separable Convolution models for group sampling. We can clearly see that it has the best inference speed 1.82 ms/image compared to the other two methods.
|
| 164 |
+
|
| 165 |
+
- **499 Standard Convolutional Model(SC Model of YOLOv8)** : This typically refers to a deep learning
|
| 166 |
+
|
| 167 |
+
- model using standard convolutional layers for feature extraction. From Table 5, it is observed that this model has outperformed the other two applied methods(DSC and Simgple GS) in evaluation using mAP50 on test dataset. With an mAP50 value 0.749.
|
| 168 |
+
|
| 169 |
+
- **503 YOLOTAN** : From the Table 5, we can say that our proposed model YOLOTAN demonstrates supe-
|
| 170 |
+
|
| 171 |
+
- rior performance than other models with mAP50 of 0.749 on the test dataset. However, the inference
|
| 172 |
+
|
| 173 |
+
- speed of the SC model is marginally better than YOLOTAN. Although the YOLOTAN inference speed is average, we can trade a little bit of speed for more accuracy.
|
| 174 |
+
|
| 175 |
+
## 4.4 ACTIVITY RECOGNITION MODEL PERFORMANCE
|
| 176 |
+
|
| 177 |
+
Our main task is to recognize the activities of teachers. To achieve this, we have explored several ac- tivity recognition models to gain insights into spatial and temporal-based approaches. We analyzed the performance of three models: two of them, MC3-18 and R2plus1D, are based on the ResNet-18 architecture, while the third, the Temporal Segment Transformer (TST), is a custom 3D CNN model built on ResNet3D-18. The TST is enhanced with temporal pooling and a fully connected classifier, designed for efficient spatiotemporal feature learning and action recognition in video data. Table 6: Comparing activity recognition models **517 518 519 Metric MC3-18 R2plus1D Temporal Segment Transformer 520 521** Validation Accuracy 48.15% 40.74% 70.42% Test Accuracy 37.11% 32.85% 58.34% In Table 6, we can see that the performance of the activity recognition models is not satisfactory, with the test dataset performance being notably poor. These models were trained directly on videos. Based on the results, we can conclude that YOLOTAN and FasterRCNN-based pretrained models outperform the activity recognition models. 5 CONCLUSION We present TeacherActivityNet, a novel dataset for monitoring teachers’ activities, consisting of videos meticulously recorded in academic office environments. Our proposed model YOLOTAN demonstrates a substantial improvement in average precision over the base model. One of the major limitations of our dataset is that the videos were captured using smartphones to simulate CCTV recordings. Utilizing actual CCTV footage in future work could potentially enhance the model’s precision during fine-tuning. We anticipate that the release of this dataset, along with accompanying resources, will facili- tate advancements in human activity recognition, encouraging the development of new datasets and solutions for various computer vision applications.
|
| 178 |
+
|
| 179 |
+
10
|
| 180 |
+
|
| 181 |
+
- REFERENCES Shilpa Ankalaki and MN Thippeswamy. A novel optimized parametric hyperbolic tangent swish ac- tivation function for 1d-cnn: application of sensor-based human activity recognition and anomaly detection. _Multimedia Tools and Applications_ , 83(22):61789–61819, 2024.
|
| 182 |
+
|
| 183 |
+
Md. Atikuzzaman, Tarafder Razibur Rahman, Eashita Wazed, Md. Parvez Hossain, and Md. Za- hidul Islam. Human activity recognition system from different poses with cnn. In _2020 2nd_ _International Conference on Sustainable Technologies for Industry 4.0 (STI)_ , pp. 1–5, 2020. doi: 10.1109/STI50764.2020.9350508.
|
| 184 |
+
|
| 185 |
+
- Felicitas Macgilchrist Ben Williamson and John Potter. Re-examining ai, automation and datafica- tion in education. _Learning, Media and Technology_ , 48(1):1–5, 2023. doi: 10.1080/17439884. 2023.2167830. Arnab Dey, Anubhav Anand, Subhajit Samanta, Bijay Kumar Sah, and Samit Biswas. Attention-
|
| 186 |
+
|
| 187 |
+
- based adaptsepcx network for effective student action recognition in online learning. _Procedia_
|
| 188 |
+
|
| 189 |
+
- _Computer Science_ , 233:164–174, 2024.
|
| 190 |
+
|
| 191 |
+
- Eleni Dimitriadou and Andreas Lanitis. A critical evaluation, challenges, and future perspectives of using artificial intelligence and emerging technologies in smart classrooms. _Smart Learning_ _Environments_ , 10(1), February 2023. ISSN 2196-7091. doi: 10.1186/s40561-023-00231-3. URL [URL removed] Guo Liang Goh, Guo Dong Goh, Jing Wen Pan, Phillis Soek Po Teng, and Pui Wah Kong. Auto-
|
| 192 |
+
|
| 193 |
+
- mated service height fault detection using computer vision and machine learning for badminton
|
| 194 |
+
|
| 195 |
+
- matches. _Sensors_ , 23(24):9759, 2023.
|
| 196 |
+
|
| 197 |
+
- Neha Gupta, Suneet K. Gupta, Rajesh K. Pathak, Vanita Jain, Parisa Rashidi, and Jasjit S. Suri. Human activity recognition in artificial intelligence framework: a narrative review. _Artifi-_ _cial Intelligence Review_ , 55(6):4755–4808, January 2022. ISSN 1573-7462. doi: 10.1007/ s10462-021-10116-x. URL [URL removed] Kristina Host and Marina Ivaˇsi´c-Kos. An overview of human action recognition in sports based on computer vision. _Heliyon_ , 8(6), 2022.
|
| 198 |
+
|
| 199 |
+
- Kristina Host and Marina Ivaˇsi´c-Kos. An overview of human action recognition in sports based on computer vision. _Heliyon_ , 8(6):e09633, 2022. ISSN 2405-8440. doi: [URL removed] heliyon.2022.e09633. URL [URL removed] pii/S2405844022009215. Nandhini T J and K Thinakaran. Deep neural network-based crime scene detection with frames. In _2023 Eighth International Conference on Science Technology Engineering and Mathematics (ICONSTEM)_ , pp. 1–8, 2023. doi: 10.1109/ICONSTEM56934.2023.10142449.
|
| 200 |
+
|
| 201 |
+
- K Latha, Mohamed Musammil, et al. Human action recognition using deep learning methods (cnn- lstm) without sensors. In _2022 1st International Conference on Computational Science and Tech-_ _nology (ICCST)_ , pp. 447–451. IEEE, 2022. Hai Chuan Liu, Joon Huang Chuah, Anis Salwa Mohd Khairuddin, Xian Min Zhao, and Xiao Dan Wang. Campus abnormal behavior recognition with temporal segment transformers. _IEEE Access_ , 11:38471–38484, 2023. K Menaka, R Vinoth Raj, Ch VSS Aravind, Vallepu Vamsi, Shaik Fardeen, and G Yugendar. Yolo
|
| 202 |
+
|
| 203 |
+
- algorithm-based suspicious activity detection in atm surveillance. In _2024 International Confer-_
|
| 204 |
+
|
| 205 |
+
- _ence on Advances in Modern Age Technologies for Health and Engineering Science (AMATHE)_ ,
|
| 206 |
+
|
| 207 |
+
- pp. 1–5. IEEE, 2024. Rohit Nale, Mahesh Sawarbandhe, Naveen Chegogoju, and Vishal Satpute. Suspicious human ac- tivity detection using pose estimation and lstm. In _2021 International symposium of Asian control Association on Intelligent Robotics and Industrial Automation (IRIA)_ , pp. 197–202. IEEE, 2021.
|
| 208 |
+
|
| 209 |
+
11
|
| 210 |
+
|
| 211 |
+
- TJ Nandhini and K Thinakaran. Deep neural network-based crime scene detection with frames.
|
| 212 |
+
|
| 213 |
+
- In _2023 Eighth International Conference on Science Technology Engineering and Mathematics_ _(ICONSTEM)_ , pp. 1–8. IEEE, 2023.
|
| 214 |
+
|
| 215 |
+
- Chakradhar Pabba and Praveen Kumar. A vision-based multi-cues approach for individual students’ and overall class engagement monitoring in smart classroom environments. _Multimedia Tools and Applications_ , 83(17):52621–52652, 2024.
|
| 216 |
+
|
| 217 |
+
- Md Motiur Rahman, Deepti Gupta, Smriti Bhatt, Shiva Shokouhmand, and Miad Faezipour. A comprehensive review of machine learning approaches for anomaly detection in smart homes: Experimental analysis and future directions. _Future Internet_ , 16(4):139, 2024. M Rashmi, TS Ashwin, and Ram Mohana Reddy Guddeti. Surveillance video analysis for student action recognition and localization inside computer laboratories of a smart campus. _Multimedia_
|
| 218 |
+
|
| 219 |
+
- _Tools and Applications_ , 80(2):2907–2929, 2021.
|
| 220 |
+
|
| 221 |
+
- Mukesh Kumar Saini and Neeraj Goel. How smart are smart classrooms? a review of smart class- room technologies. 52(6), 2019. ISSN 0360-0300. doi: 10.1145/3365757. URL https: //doi.org/10.1145/3365757. Esakky Selvi, Malaiyalathan Adimoolam, Govindharaju Karthi, Kandasamy Thinakaran, Naga-
|
| 222 |
+
|
| 223 |
+
- iah Mohanan Balamurugan, Raju Kannadasan, Chitapong Wechtaisong, and Arfat Ahmad Khan.
|
| 224 |
+
|
| 225 |
+
- Suspicious actions detection system using enhanced cnn and surveillance video. _Electronics_ , 11 (24):4210, 2022.
|
| 226 |
+
|
| 227 |
+
- DG Shreyas, S Raksha, and BG Prasad. Implementation of an anomalous human activity recognition system. _SN Computer Science_ , 1(3):168, 2020.
|
| 228 |
+
|
| 229 |
+
Niloy Sikder and Abdullah-Al Nahid. Ku-har: An open dataset for heterogeneous human activity
|
| 230 |
+
|
| 231 |
+
recognition. _Pattern Recognition Letters_ , 146:46–54, 2021. Virender Singh, Swati Singh, and Pooja Gupta. Real-time anomaly recognition through cctv using neural networks. _Procedia Computer Science_ , 173:254–263, 2020.
|
| 232 |
+
|
| 233 |
+
European Union. General data protection regulation (gdpr), 2016. URL [URL removed]
|
| 234 |
+
|
| 235 |
+
eu/. Accessed: 2024-11-28. Rui Wang, Shaojie Chen, Gang Tian, Pengxiang Wang, and Shi Ying. Post-secondary classroom teaching quality evaluation using small object detection model. _Scientific Reports_ , 14(1):5816, 2024.
|
| 236 |
+
|
| 237 |
+
L Xiao, Y Cao, Y Gai, E Khezri, J Liu, and M Yang. Recognizing sports activities from video
|
| 238 |
+
|
| 239 |
+
frames using deformable convolution and adaptive multiscale features. j. cloud comput. 12 (1),
|
| 240 |
+
|
| 241 |
+
167 (2023), 2023. Yuxing Yang, Federico Angelini, and Syed Mohsen Naqvi. Pose-driven human activity anomaly detection in a cctv-like environment. _IET Image Processing_ , 17(3):674–686, 2023.
|
| 242 |
+
|
| 243 |
+
P Yuganthini, A Vigneswari, S Jancy, MD AntoPraveena, et al. Activity tracking of employees in
|
| 244 |
+
|
| 245 |
+
industries using computer vision. In _2021 5th International Conference on Trends in Electronics_ _and Informatics (ICOEI)_ , pp. 1321–1329. IEEE, 2021. Jian Zhao, Jiaming Li, and Jian Jia. A study on posture-based teacher-student behavioral engagement pattern. _Sustainable Cities and Society_ , 67:102749, 2021.
|
| 246 |
+
|
| 247 |
+
12
|
| 248 |
+
|
open_review/iclr2025_13837.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13837",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "UniCBE: An Uniformity-driven Comparing Based Evaluation Framework with Unified Multi-Objective Optimization",
|
| 6 |
+
"abstract": "Human preference plays a significant role in measuring large language models and guiding them to align with human values. Unfortunately, current comparing-based evaluation (CBE) methods typically focus on a single optimization objective, failing to effectively utilize scarce yet valuable preference signals. To address this, we delve into key factors that can enhance the accuracy, convergence, and scalability of CBE: suppressing sampling bias, balancing descending process of uncertainty, and mitigating updating uncertainty.\nFollowing the derived guidelines, we propose UniCBE, a unified uniformity-driven CBE framework which simultaneously optimize these core objectives by constructing and integrating three decoupled sampling probability matrices, each designed to ensure uniformity in specific aspects. We further ablate the optimal tuple sampling and preference aggregation strategies to achieve efficient CBE.\nOn the AlpacaEval benchmark, UniCBE saves over 17% of evaluation budgets while achieving a Pearson correlation with ground truth exceeding 0.995, demonstrating excellent accuracy and convergence. In scenarios where new models are continuously introduced, UniCBE can even save over 50% of evaluation costs, highlighting its improved scalability.",
|
| 7 |
+
"rebuttal": "### Further Clarification\nWe apologies for our earlier focus on explaining why the budget should be allocated uniformly. Now, let us address why UniCBE outperforms Random. (We have also provided a PDF version via an anonymous link for a clearer and more complete presentation of our response: https://anonymous.4open.science/r/Respones-to-Reviewer-8sRK-8A44/FURTHER%20DISCUSSION%20WITH%20REVIEWER%208SRK.pdf)\n\nAt the expectation level, random sampling ensures a relatively uniform distribution across different tuple combinations, thereby guaranteeing the accuracy of evaluation results (lines 108-110). However:\n\n- **Argument 1**: On the one hand, randomness prevents the optimization objective from being fully achieved, meaning uniformity cannot be attained optimally.\n- **Argument 2**: On the other hand, UniCBE’s optimization objectives go beyond improving accuracy to include enhanced scalability and convergence, which random sampling cannot achieve.\n\n**Experimental Validation:**\n\nAs shown in Table below, the $\\beta_{\\text{acc}}$ achieved by RANDOM is lower than that of UniCBE, which validates that randomness results in suboptimal uniformity (Argument 1). Additionally, the $\\beta_{\\text{sca}}$ and $\\beta_{\\text{con}}$ achieved by RANDOM are also lower than those of UniCBE, confirming that UniCBE explicitly optimizes for scalability and convergence objectives, unlike Random (Argument 2).\n| Methods | Random | UniCBE |\n| :-------- | --------:| :--: |\n| $\\beta_{acc}$ | .5803 | .7364 |\n| $\\beta_{con}$ | .9081 | .9228 |\n| $\\beta_{sca}$ | .9972 | .9997 |\n\nFurthermore, we experimentally validated this from another perspective involving temperature. We reformulate sampling matrix $P^l$ to:\n\n$$ f^{ts}_T(i,j,k) $$\n\n$$ =\\frac{(P^l_{i,j,k})^{-T}}{\\sum (P^{l})^{-T}} $$\n\nBy adjusting the temperature $T$, we control the extent of uniformity constraints. As $T$ increases, the uniformity constraints are progressively relaxed. When $T=0$, it corresponds to UniCBE (greedy sampling), which enforces the strictest uniformity constraints. When $T = +\\infty$, it corresponds to random sampling, where no uniformity constraints are applied. As illustrated in Figure 10, as $T$ increases from $0$ to $+\\infty$, the evaluation results progressively deteriorate. This demonstrates that adopting greedy sampling to enforce the strictest uniformity constraints yields the best evaluation performance, further validating Argument 1.\n\n**We sincerely apologize once again for the oversight in our previous response! If you have any questions, we would be more than happy to engage in further communication with you. At the same time, we would like to express our heartfelt gratitude for your support and suggestions regarding our work.**\n\n### Kindly Reminder\nDear Reviewer 8LCX, \n\nWe sincerely appreciate your recognition of our work, UniCBE, as well as the time and effort you have dedicated to improving its quality. We have carefully addressed the questions and suggestions you raised, and have incorporated these valuable insights into the revised version, which we believe will further enhance the completeness of the manuscript and the generalizability of its conclusions. Noting that the discussion phase is approaching its end (11/26, AOE), we would be more than happy to engage in further discussion should you have any additiona [...]\n\n### Kindly Reminder\nDear Reviewer PBe8, \n\nWe sincerely appreciate your recognition of our work, UniCBE, as well as the time and effort you have dedicated to improving its quality. We have carefully addressed the questions and suggestions you raised, and have incorporated these valuable insights into the revised version, which we believe will further enhance the completeness of the manuscript and the generalizability of its conclusions. Noting that the discussion phase is approaching its end (11/26, AOE), we would be more than happy to engage in further discussion should you have any additiona [...]\n\n### Response to Reviewer 8LCX\nDear Reviewer 8LCX, we sincerely thank you for your valuable feedback on our submission. Below is our responses to the concerns you raised. We have incorporated these contents into the updated version of our paper, which we believe will help enhance the quality of our submission.\n\n**Since this page cannot display images, we have provided a PDF version via an anonymous link for a clearer and more complete presentation of our response: https://anonymous.4open.science/r/Respones-to-Reviewer-8LCX-809F/response%20to%20reviewer%208LCX.pdf. This can also be find in the S [...]\n\n### Response to Reviewer 8LCX (part 2)\n> **As the UniCBE is based on three matrix, each targeting different goal of accuracy, convergence, scalability, can user steer between those by adding hyperparameter for each matrix? Would it be also possible to quantify it through experiment?**\n\nWe agree with your suggestion to add hyperparameters for each matrix to achieve controllability for different optimization objectives.\nIn the original manuscript, we integrate sampling matrices targeting different optimization objectives with equal weights:\n$$P^{l} = \\frac{P^{acc\\text{-}l} \\circ P^{con\\text{-}l} [...]\n\n### Response to Reviewer 8LCX (part 3)\n> **The given choice of greedy sampling over probabilistic sampling and Bradley-Terry model over Elo rating system appears significant to the framework’s success. Could the authors conduct a small experiment to demonstrate that UniCBE maintains its effectiveness across different sampling and aggregation settings?**\n\nWe appreciate your valuable suggestion. In fact, as shown in Figure 5, we explore the combination of UniCBE with probability sampling strategy, Elo rating and average win rate aggregation strategies, comparing these with the default configurat [...]\n\n### Response to Reviewer 8sRK\nDear Reviewer 8sRK, we sincerely thank you for your valuable feedback on our submission. Below is our responses to the concerns you raised. We have incorporated these contents\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
8,
|
| 11 |
+
6,
|
| 12 |
+
8,
|
| 13 |
+
8
|
| 14 |
+
],
|
| 15 |
+
"score_mean": 7.2,
|
| 16 |
+
"score_variance": 1.2,
|
| 17 |
+
"score_spread": 2,
|
| 18 |
+
"score_min": 6,
|
| 19 |
+
"score_max": 8,
|
| 20 |
+
"decision": "Accept (Spotlight)",
|
| 21 |
+
"rebuttal_validity_ground_truth": true,
|
| 22 |
+
"meta_review": "This paper introduces a comparing-based evaluation (CBE) framework which considers at the same time multiple objectives, such that it can leverage scarce signals. In that way, it can become more efficient while considering the standard factors of LLM CBE: accuracy, convergence and scalability. \n\nThe paper is well motivated: it addresses a timely and important problem in a way that intuitively makes sense. This research also opens up the way for further work for LLM CBE under this new viewpoint. \n\nThis paper has been reviewed by five experts and it has benefited from fruitful discussion between authors and reviewers. A few initial concerns were clarified during the rebuttal, as it was acknowledged by the reviewers. The only substantial remaining concern is about the scale of the experiments being relatively small; however, overall the experiments have been quite satisfactory.\n\nTherefore, overall this paper contains solid research and it will likely be of interest to the ICLR community.",
|
| 23 |
+
"forum_id": "rpwGUtTeA5",
|
| 24 |
+
"primary_area": "applications to computer vision, audio, language, and other modalities",
|
| 25 |
+
"n_reviews": 5,
|
| 26 |
+
"per_review": [
|
| 27 |
+
{
|
| 28 |
+
"reviewer": "Reviewer_D5Wd",
|
| 29 |
+
"review_id": "cbOUi11REu",
|
| 30 |
+
"scores": {
|
| 31 |
+
"rating": 6,
|
| 32 |
+
"soundness": 3,
|
| 33 |
+
"presentation": 3,
|
| 34 |
+
"contribution": 3,
|
| 35 |
+
"confidence": 4
|
| 36 |
+
},
|
| 37 |
+
"review_text_chars": 1578,
|
| 38 |
+
"edit_detected": true,
|
| 39 |
+
"edit_delta_seconds": 1488030,
|
| 40 |
+
"post_rebuttal_text_signal": false,
|
| 41 |
+
"score_mentions_in_text": []
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"reviewer": "Reviewer_k9DA",
|
| 45 |
+
"review_id": "3tRNgPvQVQ",
|
| 46 |
+
"scores": {
|
| 47 |
+
"rating": 8,
|
| 48 |
+
"soundness": 3,
|
| 49 |
+
"presentation": 2,
|
| 50 |
+
"contribution": 3,
|
| 51 |
+
"confidence": 4
|
| 52 |
+
},
|
| 53 |
+
"review_text_chars": 1864,
|
| 54 |
+
"edit_detected": true,
|
| 55 |
+
"edit_delta_seconds": 1505083,
|
| 56 |
+
"post_rebuttal_text_signal": false,
|
| 57 |
+
"score_mentions_in_text": []
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"reviewer": "Reviewer_PBe8",
|
| 61 |
+
"review_id": "7fzzBnWuyk",
|
| 62 |
+
"scores": {
|
| 63 |
+
"rating": 6,
|
| 64 |
+
"soundness": 3,
|
| 65 |
+
"presentation": 3,
|
| 66 |
+
"contribution": 3,
|
| 67 |
+
"confidence": 3
|
| 68 |
+
},
|
| 69 |
+
"review_text_chars": 899,
|
| 70 |
+
"edit_detected": true,
|
| 71 |
+
"edit_delta_seconds": 822398,
|
| 72 |
+
"post_rebuttal_text_signal": false,
|
| 73 |
+
"score_mentions_in_text": []
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"reviewer": "Reviewer_8LCX",
|
| 77 |
+
"review_id": "h01skG95dm",
|
| 78 |
+
"scores": {
|
| 79 |
+
"rating": 8,
|
| 80 |
+
"soundness": 4,
|
| 81 |
+
"presentation": 4,
|
| 82 |
+
"contribution": 4,
|
| 83 |
+
"confidence": 4
|
| 84 |
+
},
|
| 85 |
+
"review_text_chars": 3609,
|
| 86 |
+
"edit_detected": true,
|
| 87 |
+
"edit_delta_seconds": 2093398,
|
| 88 |
+
"post_rebuttal_text_signal": false,
|
| 89 |
+
"score_mentions_in_text": []
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"reviewer": "Reviewer_8sRK",
|
| 93 |
+
"review_id": "Z93ubo9FIn",
|
| 94 |
+
"scores": {
|
| 95 |
+
"rating": 8,
|
| 96 |
+
"soundness": 4,
|
| 97 |
+
"presentation": 2,
|
| 98 |
+
"contribution": 3,
|
| 99 |
+
"confidence": 4
|
| 100 |
+
},
|
| 101 |
+
"review_text_chars": 1501,
|
| 102 |
+
"edit_detected": true,
|
| 103 |
+
"edit_delta_seconds": 901269,
|
| 104 |
+
"post_rebuttal_text_signal": false,
|
| 105 |
+
"score_mentions_in_text": []
|
| 106 |
+
}
|
| 107 |
+
],
|
| 108 |
+
"any_review_edit_detected": true,
|
| 109 |
+
"any_post_rebuttal_text_signal": false,
|
| 110 |
+
"review_score_dimensions": [
|
| 111 |
+
"rating",
|
| 112 |
+
"soundness",
|
| 113 |
+
"presentation",
|
| 114 |
+
"contribution",
|
| 115 |
+
"confidence"
|
| 116 |
+
]
|
| 117 |
+
}
|
open_review/iclr2025_13837.md
ADDED
|
@@ -0,0 +1,555 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - UNICBE: AN UNIFORMITY DRIVEN COMPARING BASED EVALUATION FRAMEWORK WITH UNIFIED MULTI-OBJECTIVE OPTIMIZATION
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Human preference plays a significant role in measuring large language models and guiding them to align with human values. Unfortunately, current comparing-based evaluation (CBE) methods typically focus on a single optimization objective, failing to effectively utilize scarce yet valuable preference signals. To address this, we delve into key factors that can enhance the accuracy, convergence, and scalability of CBE: suppressing sampling bias, balancing descending process of uncertainty, and mitigating updating uncertainty. Following the derived guidelines, we propose UNICBE, a unified uniformity-driven CBE framework which simultaneously optimize these core objectives by constructing and integrating three decoupled sampling probability matrices, each designed to ensure uniformity in specific aspects. We further ablate the optimal tuple sampling and preference aggregation strategies to achieve efficient CBE. On the AlpacaEval benchmark, UNICBE saves over 17% of evaluation budgets while achieving a Pearson correlation with ground truth exceeding 0.995, demonstrating excellent accuracy and convergence. In scenarios where new models are continuously introduced, UNICBE can even save over 50% of evaluation costs, highlighting its improved scalability.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
The ongoing evolution of large language models (LLMs) has made it increasingly important to assess their alignment with human preferences (Dubois et al., 2024; Zheng et al., 2023). The preference signals provided by humans are crucial for accurately assessing and guiding models toward safe and reliable AGI (Ji et al., 2023; Jiang et al., 2024). However, the rapid iteration of LLMs in training and application scenarios has created a substantial demand for evaluation, complicating the acquisition of sufficient labor-intensive human preferences (Chiang et al., 2024; Cui et al., 2023). Therefore, exploring the use of precious preference signals for efficient model alignment evaluation is of great significance and requires long-term research.
|
| 14 |
+
|
| 15 |
+
Current mainstream model evaluation paradigms include scoring-based evaluation (SBE) (Liu et al., 2023; Cai et al., 2023) and comparing-based evaluation (CBE) (Chiang et al., 2024; Dubois et al., 2024). The former requires the judge to offer preference scores for individual responses, while the latter needs the judge to establish a preference order among multiple candidate model responses. By directly comparing the responses of different models, Zheng et al. (2023); Liu et al. (2024) confirm that CBE can more accurately assess model performance. However, the _O_ ( _NM_[2] ) evaluation overhead limits the practicality of CBE when there are _M_ models to evaluate on _N_ samples (Qin et al., 2024). To achieve efficient CBE, various methods have been explored Chiang et al. (2024); Zhou et al. (2024); Dubois et al. (2024). As shown in Figure 1, based on existing observational results, these methods iteratively allocate preference budget to the next (models, sample) tuple according to
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
**==> picture [316 x 113] intentionally omitted <==**
|
| 20 |
+
|
| 21 |
+
**----- Start of picture text -----**<br>
|
| 22 |
+
✖ T times (preference budget)<br>Models<br>score<br>... Judge 0.3<br>Prefe-<br>aggre-<br>Alloc- ... rence gation 0.1<br>ating<br>Samplesc d b a objectivecertain m > ... > Results 0.7<br>fk g l ... h mi ej Accuracy)(e.g., tuple preference order ... 0.5<br>**----- End of picture text -----**<br>
|
| 23 |
+
|
| 24 |
+
Figure 1: Flowchart of the process for comparing-based evaluation.
|
| 25 |
+
|
| 26 |
+
respective optimization objectives. Specific preference aggregation methods (e.g., ELO rating (Elo & Sloan, 1978)) are then applied to predict the model capability scores based on these preference results. Nevertheless, as shown in Table 1, the optimization objectives of these methods are often singular, failing to simultaneously achieve the accuracy, convergence, and scalability well. We will discuss this in detail in §2 and conduct experimental validation in §5.2.
|
| 27 |
+
|
| 28 |
+
Table 1: Optimization Objectives of widely applied CBE Methods. The number of ’+’ indicates the degree of optimization for the objective, which is discussed in §2 and measured in Table 2.
|
| 29 |
+
|
| 30 |
+
|Methods|Qin et al. (2024)<br>RANDOM|Chiang et al. (2024)<br>ARENA|Dubois et al. (2024)<br>ALPACAEVAL|Ours<br>UNICBE|
|
| 31 |
+
|---|---|---|---|---|
|
| 32 |
+
|Accuracy|+|-|-|++|
|
| 33 |
+
|Convergence|-|+|-|++|
|
| 34 |
+
|Scalability|-|-|++|++|
|
| 35 |
+
|
| 36 |
+
To develop a method that can accurately assess model performance, quickly converge evaluation results, and ensure good scalability when new models are introduced, we theoretically analyze and summarize the following guidelines:
|
| 37 |
+
|
| 38 |
+
- Improving the _**accuracy**_ of evaluation results relies on completely **uniform** sampling of tuple combinations, so as to mitigate sampling bias.
|
| 39 |
+
|
| 40 |
+
- Accelerating the _**convergence**_ process involves ensuring the **uniformity** of the win rate uncertainty matrix during its descending process to reduce observation variance.
|
| 41 |
+
|
| 42 |
+
- Enhancing _**scalability**_ requires sufficient budgets being allocated to new added models to ensure the **uniform** allocation among models, which helps reduce updating uncertainty.
|
| 43 |
+
|
| 44 |
+
Based on these insights, we propose UNICBE, a unified uniformity-driven framework that can achieve CBE with better accuracy, convergence and scalability. In each iteration of the evaluation process, we first establish sampling probability matrices under different optimization objectives respectively based on real-time preference results. Afterwards, we integrate these matrices to obtain a global sampling probability matrix. Furthermore, we explore various tuple sampling strategies and preference aggregation methods to achieve optimal evaluation results.
|
| 45 |
+
|
| 46 |
+
To comprehensively validate the effectiveness and generalizability of UNICBE, we conduct experiments involving various types of judges (LLMs and humans), different benchmarks, varied model sets to be evaluated, diverse scenarios (static and dynamic), and multiple evaluation metrics. The main results indicate that, compared to random sampling baseline, UNICBE saves over 17% of evaluation budgets when achieving the same assessment accuracy (with a Pearson coefficient exceeding 0.995 with the ground truth), demonstrating significantly better convergence and accuracy than baselines. Furthermore, in scenarios where new models are continuously introduced, UNICBE save over 50% of evaluation costs compared to random sampling, showcasing excellent scalability.
|
| 47 |
+
|
| 48 |
+
## 2 RELATED WORK
|
| 49 |
+
|
| 50 |
+
Comparative preference signals have long been used for model training (Ouyang et al., 2022; Touvron et al., 2023) and evaluation (Chiang et al., 2024; Yuan et al., 2024). Centered around comparing-based evaluation, we will discuss existing budget allocation strategies and preference aggregation methods below.
|
| 51 |
+
|
| 52 |
+
2
|
| 53 |
+
|
| 54 |
+
**Budget Allocation** Many efforts have been made to explore preference budget allocation approaches. The most naive method is to randomly select (models, sample) tuple for judging each time until the preference budget is reached (Qin et al., 2024). This method ensures a relatively uniform sampling across tuple combinations in expectation, thereby guaranteeing the accuracy of evaluation results according to derivation in §3.2. Arena (Chiang et al., 2024) aims to sample model pairs proportionally to the variance gradient of win rate at each step, seeking to accelerating the convergence of evaluation by reducing the uncertainty of the observed win rate matrix in a greedy manner. AlpacaEval (Dubois et al., 2024) measures model performance by comparing the models under evaluation with a fixed reference model. When new models are introduced, preference budget is prioritized for them to stabilize the estimation of their capabilities, thereby achieving good scalability. Despite these methods performing well in their intended objectives, they cannot achieve a balance among accuracy, convergence, and scalability. This makes it imperative to explore better preference budget allocation strategy that can effectively reconcile all these attributes.
|
| 55 |
+
|
| 56 |
+
**Preference Aggregation** Due to the possibility that the same group of models may exhibit different ranking relationships across different samples, it is essential to estimate the global model capability scores to better fit these non-transitive preference results. Dubois et al. (2024); Zheng et al. (2023) directly use the average pair-wise win rate of each model as a measure of its capability. Feng et al. (2024); Wu & Aji (2023) apply the classical Elo rating system (Elo & Sloan, 1978) (see the Appendix B.1 for detailed introduction) by treating the evaluation process as a sequence of model battles in order to derive model scores. Fageot et al. (2024); Chiang et al. (2024) employ the Bradley-Terry model (Bradley & Terry, 1952) (see Appendix B.2 for detailed introduction) to estimate model scores by maximizing the likelihood of the comparison results between models. We will systematically compare the effectiveness of these preference aggregation methods in §5.3.
|
| 57 |
+
|
| 58 |
+
## 3 PRELIMINARY
|
| 59 |
+
|
| 60 |
+
In this section, we start by symbolically introducing the working process of CBE. Afterwards, we introduce the key objectives for achieving efficient CBE: accuracy, convergence, and scalability, and analyze the factors that influence them. We mainly discuss the pair-wise evaluation scenario (where the judge provides preference between two models per time) for its wide applications (Tashu & Horv´ath, 2018; Qin et al., 2024). Actually, list-wise preferences can be easily converted into pair-wise ones, as demonstrated in §5.4, so the discussions below are general for CBE.
|
| 61 |
+
|
| 62 |
+
## 3.1 PROCESS OF CBE
|
| 63 |
+
|
| 64 |
+
Generally, a CBE method _f_ can be divided into three parts: budget allocation strategy _f[ba]_ , tuple sampling strategy _f[ts]_ , and preference aggregation strategy _f[pa]_ . Given benchmark _D_ : _s_ 1: _N_ and models under evaluation _M_ : _m_ 1: _M_ , we iterate the following steps: _step 1._ applying _f[ba]_ to attain sampling matrix _P[l]_ at iteration _l_ , where _Pi,j,k[l]_[denotes][the][probability][to][select][tuple][(] _[m][i][, m][j][, s][k]_[)] for judging; _step 2._ applying _f[ts]_ to sample certain tuple ( _m[l]_[1] _, m[l]_[2] _, s[l]_ ) based on _P[l]_ ; _step 3._ attaining preference result _r[l]_ from the judge, where _r[l] ∈_ [0 _,_ 1] denotes the degree _m[l]_[1] wins over _m[l]_[2] (0.5 means tie). We stop this iterative process when the preset preference budget _T_ is achieved and then apply _f[pa]_ on preference results _{_ ( _m[l]_[1] _, m[l]_[2] _, s[l] , r[l]_ ) _}[T] l_ =1[to attain estimated model scores] _[ u]_[1:] _[M]_[.]
|
| 65 |
+
|
| 66 |
+
## 3.2 ACCURACY
|
| 67 |
+
|
| 68 |
+
Theoretically, if we have a budget of _T_[ˆ] = _[NM]_[(] 2 _[M][−]_[1][)] , we can explore all tuples to obtain the ground truth estimation for the model scores _u_ ˆ1: _M_ . However, typically _T_ is much smaller than _T_[ˆ] in reality considering the preciousness of preference signals. Previous studies (Vabalas et al., 2019; Kossen et al., 2021) have discussed the risks of introducing sampling bias in incomplete sampling scenarios, which we believe could similarly lead to potential risks in CBE. Considering that the content of each sample is ( _m[l]_[1] _, m[l]_[2] _, s[l]_ ), we think the sample bias exists across both samples and models.
|
| 69 |
+
|
| 70 |
+
**Bias across Samples.** Since different models may excel at answering different types of queries, the model scores can vary depending on the sampled data:
|
| 71 |
+
|
| 72 |
+
ˆ _ut_ = _f[pa]_ ( _{_ ( _mi, mj, sk, ri,j,k_ ) _}i∈_ 1: _M,j∈i_ +1: _M_ ) _t_ = _ut_ + _ηmt,_ - _,sk_ for _∀ t, k_ (1)
|
| 73 |
+
|
| 74 |
+
3
|
| 75 |
+
|
| 76 |
+
**==> picture [397 x 152] intentionally omitted <==**
|
| 77 |
+
|
| 78 |
+
**----- Start of picture text -----**<br>
|
| 79 |
+
0.30 bias across samples: |���,−,��| 0.30<br>bias across models: |���,��,−| 0.25<br>0.25<br>0.20<br>0.20<br>0.15 0.15<br>0.10 0.10<br>0.05 0.05<br>0.00 average win rate: �푝푎푎�� Elo rating: �푝푎퐸�� BT score: �푝푎퐵� 0.00<br>(a) Sampling bias with different preference aggrega- (b) Interval distribution of bias across samples with<br>tion strategies across samples and models. fBT [pa] [as preference aggregation strategy.]<br>0.00-0.050.05-0.100.10-0.150.15-0.200.20-0.250.25-0.300.30-0.350.35-0.400.40-0.450.45-0.500.50-0.55<br>Proportion<br>**----- End of picture text -----**<br>
|
| 80 |
+
|
| 81 |
+
**==> picture [377 x 161] intentionally omitted <==**
|
| 82 |
+
|
| 83 |
+
**----- Start of picture text -----**<br>
|
| 84 |
+
alpaca-7b<br>llama-2-13b-chat-hf 0.4<br>mistral-large-2402<br>mistral-medium<br>gpt-4-0125-preview<br>guanaco-7b 0.2<br>guanaco-13b<br>guanaco-33b<br>guanaco-65b<br>llama-2-7b-chat-hf<br>openchat-13b 0<br>baichuan-13b-chat<br>baize-v2-7b<br>baize-v2-13b<br>claude −0.2<br>claude-2<br>claude-2.1<br>gemini-pro<br>gpt-3.5-turbo-0301 −0.4<br>gpt-3.5-turbo-0613<br>(c) Bias across models with fBT [pa] [as preference aggregation strategy.]<br>llama-2-13b-chat-hfalpaca-7bmistral-large-2402mistral-mediumgpt-4-0125-previewguanaco-7bguanaco-13bguanaco-33bguanaco-65bllama-2-7b-chat-hfopenchat-13bbaichuan-13b-chatbaize-v2-7bbaize-v2-13b claudeclaude-2claude-2.1gemini-progpt-3.5-turbo-0301gpt-3.5-turbo-0613<br>**----- End of picture text -----**<br>
|
| 85 |
+
|
| 86 |
+
Figure 2: Analyses of potential sampling bias risks in CBE.
|
| 87 |
+
|
| 88 |
+
where _u_ ˆ _t_ when sorely assessing on sample _ηmt,_ - _,sk_ represents the bias between the observed model score _sk_ . To verify this, we conduct experiments on the AlpacaEval _ut_ of _mt_ and the ground truth benchmark (Dubois et al., 2024) using GPT-4o (OpenAI, 2024) as the judge across randomly selected 20 LLMs (listed in Figure 2(c)). We first traversed all model pairs for samples _s_ 1: _N_ to obtain corresponding _N_ sets of preference results and then calculate the respective _|ηmi,_ - _,sk |_ for _i ∈_ 1 : _M_ and _k ∈_ 1 : _N_ according to equation 1 (model scores are normalized to an average of 1). We calculate the average value of _|ηmi,_ - _,sk |_ across models and samples using different preference aggregation strategies _f[pa]_ discussed in §2. As shown in Figure 2(a), with all kinds of _f[pa]_ , the average difference between the model scores estimated on single sample and the ground truth values exceeds 0.25, indicating a significant bias across samples. We further analyze the proportion of samples with different biases using _fBT[pa]_[in Figure 2(b) and find that they overall follow a Gaussian distribution,] showing the wide existence of sample bias in CBE.
|
| 89 |
+
|
| 90 |
+
**Bias across Models.** Just as humans may perform differently when facing different opponents, models may also have varying scores when competing against different models:
|
| 91 |
+
|
| 92 |
+
**==> picture [323 x 12] intentionally omitted <==**
|
| 93 |
+
|
| 94 |
+
We validate this from two perspectives: (1) We calculate the average _|ηmi,mj ,_ - _|_ according to equation 2 like the process above and show the results in Figure 2(a). Overall, although the bias across models is significantly lower than the bias across samples, it still exists at a scale around 0.05. We further visualize the pair-wise model score bias in Figure 2(c) to validate its wide existence. (2) We obtain over 1.7 million pairwise preference results across 129 LLMs collected by Chatbot Arena[*] . After excluding pairs with fewer than 50 comparisons, we calculate the pairwise win rates and find non-transitivity in 81 model triplets (win rate: _A > B_ , _B > C_ , _C > A_ ), which also verifies the existence of bias across models.
|
| 95 |
+
|
| 96 |
+
*[URL removed] battle_20240814_public.json
|
| 97 |
+
|
| 98 |
+
4
|
| 99 |
+
|
| 100 |
+
**Uniform Allocation Brings the Least Bias.** Based on the discussions above, we analyze the budget allocation strategy that can introduce the least bias. Considering the presence of sampling bias, the estimation error of _ui_ with _T_ evaluation budget can be expressed as follows:
|
| 101 |
+
|
| 102 |
+
**==> picture [275 x 30] intentionally omitted <==**
|
| 103 |
+
|
| 104 |
+
ˆ Considering that _u_ = _u_ when all the tuples are traversed, we have the following equation:
|
| 105 |
+
|
| 106 |
+
**==> picture [275 x 31] intentionally omitted <==**
|
| 107 |
+
|
| 108 |
+
The goal of obtaining the minimum estimation error for _ui_ is transformed into sampling _T_ numbers ( equation 3) from _MN_ numbers that sum to zero ( equation 4), such that the absolute value of the sum of these _T_ numbers is minimized. We have provided a detailed proof in Appendix A that the best strategy is completely uniform sampling. _**This denotes that the score estimation error can be minimized when the preference budgets are uniformly distributed across models and samples to bring the least sampling bias.**_
|
| 109 |
+
|
| 110 |
+
## 3.3 CONVERGENCE
|
| 111 |
+
|
| 112 |
+
During the evaluation process, as new preference results are continuously observed, the estimated values of the models win rate matrix and model scores also change constantly. To accelerate the convergence process, we analyze the uncertainty of the win rate matrix as follows. Defining that:
|
| 113 |
+
|
| 114 |
+
**==> picture [336 x 26] intentionally omitted <==**
|
| 115 |
+
|
| 116 |
+
The unbiased estimated win rate matrix Φ at iteration _L_ can be calculated as follows:
|
| 117 |
+
|
| 118 |
+
**==> picture [232 x 30] intentionally omitted <==**
|
| 119 |
+
|
| 120 |
+
We further estimate the variance matrix Θ as:
|
| 121 |
+
|
| 122 |
+
**==> picture [275 x 31] intentionally omitted <==**
|
| 123 |
+
|
| 124 |
+
Denoting if the model pair ( _mi, mj_ ) has been compared on sample _sk_ after _l_ iterations as _Ci,j,k[l]_[, the] uncertainty (standard deviation) of each element in the win rate matrix is as follows:
|
| 125 |
+
|
| 126 |
+
**==> picture [244 x 37] intentionally omitted <==**
|
| 127 |
+
|
| 128 |
+
Allocating the next preference budget on ( _mi, mj_ ) can reduce the uncertainty of their win rate by:
|
| 129 |
+
|
| 130 |
+
**==> picture [277 x 37] intentionally omitted <==**
|
| 131 |
+
|
| 132 |
+
Considering that our core objective is to conduct accurate capability assessments for all models and estimate their ranking relationship, _**we should globally ensure the uniformity of the win rate uncertainty matrix during its descending process to achieve smooth evaluation convergence**_ .
|
| 133 |
+
|
| 134 |
+
## 3.4 SCALABILITY
|
| 135 |
+
|
| 136 |
+
Due to the continuous emergence of new LLMs, the demand for scalability in evaluation method is becoming increasingly prominent (Chern et al., 2024). Considering that we have evaluated _m_ 1: _M_ with _T_ budgets, when model _mM_ +1 is introduced for assessment, a well-scalable CBE method
|
| 137 |
+
|
| 138 |
+
5
|
| 139 |
+
|
| 140 |
+
should be able to quickly calibrate the capability estimates of _m_ 1: _M_ +1 with minimal additional preference budget. In this scenario, at the beginning stage when _mM_ +1 is introduced, avg( _CM_ +1 _,_ - _,_ -) is much smaller than avg( _C_ = _M_ +1 _,_ - _,_ -). According to equation 8, the uncertainty at this point mainly arises from _ϵM_ +1, which is also intuitively easy to understand. _**Therefore, the key to improving scalability lies in allocating sufficient evaluation budgets to the newly added models to ensure the uniform allocation among models, reducing the updating uncertainty.**_
|
| 141 |
+
|
| 142 |
+
## 4 UNICBE
|
| 143 |
+
|
| 144 |
+
The discussions above reveal guidelines for strengthening scalability, accuracy, and convergence in CBE. Based on this, we propose UNICBE, a unified uniformity-driven framework that can simultaneously enhance these objectives well.
|
| 145 |
+
|
| 146 |
+
## 4.1 BUDGET ALLOCATION
|
| 147 |
+
|
| 148 |
+
To ensure the uniformity of tuple combination sampling for minimizing the introduction of sampling bias according to §3.2, we construct _P[acc]_[-] _[l]_ at iteration _l_ as follows:
|
| 149 |
+
|
| 150 |
+
**==> picture [315 x 15] intentionally omitted <==**
|
| 151 |
+
|
| 152 |
+
where[�] _[N] k_ =1 _[C] i,j,k[l]_[denotes][the][times][model][pair][(] _[m][i][, m][j]_[)][has][been][compared,][�] _[M] i_ =1 _[C] i,j,k[l]_[and] � _Mj_ =1 _[C] i,j,k[l]_[denote the times model] _[ m][i]_[ and] _[ m][j]_[has been tested on] _[ s][k]_[ respectively. If certain model-] model combination or model-sample combination have been sampled multiple times, equation 10 will reduce the probability of such combinations being selected again, thereby achieving sufficient uniformity to minimize the introduction of bias between models and samples, respectively.
|
| 153 |
+
|
| 154 |
+
To accelerate the convergence of evaluation results, we construct _P[con]_[-] _[l]_ according to §3.3 as follows:
|
| 155 |
+
|
| 156 |
+
**==> picture [225 x 14] intentionally omitted <==**
|
| 157 |
+
|
| 158 |
+
Sampling specific model pair helps reduce the uncertainty of their win rate estimation according to equation 9. By sampling proportionally to the win rate uncertainty matrix, we can uniformly decrease the uncertainty for each model pair, thereby facilitating convergence.
|
| 159 |
+
|
| 160 |
+
We construct _P[sca]_[-] _[l]_ to allocate more preference budget to the newly introduced model so as to improving the scalability according to §3.4 as follows:
|
| 161 |
+
|
| 162 |
+
**==> picture [303 x 15] intentionally omitted <==**
|
| 163 |
+
|
| 164 |
+
Finally, we integrate the matrices mentioned above to obtain _P[l]_ , ensuring that sampling according to _P[l]_ can simultaneously balance the accuracy, convergence, and scalability of evaluation results:
|
| 165 |
+
|
| 166 |
+
**==> picture [268 x 26] intentionally omitted <==**
|
| 167 |
+
|
| 168 |
+
## 4.2 TUPLE SAMPLING
|
| 169 |
+
|
| 170 |
+
After obtaining _P[l]_ , we need to sample tuples for judging based on it. Two tuple sampling strategies are considered:
|
| 171 |
+
|
| 172 |
+
- **probabilistic sampling** _fp[ts]_[means sampling tuple directly according to] _[ P][ l]_[.]
|
| 173 |
+
|
| 174 |
+
- **greedy sampling** _fg[ts]_[means selecting the tuple with the maximum probability in] _[ P][ l]_[.]
|
| 175 |
+
|
| 176 |
+
The default tuple sampling strategy of UNICBE is _fg[ts]_[, which can avoid the suboptimal achievement] of objectives due to uncertainty in the sampling process.
|
| 177 |
+
|
| 178 |
+
## 4.3 PREFERENCE AGGREGATION
|
| 179 |
+
|
| 180 |
+
As discussed in §2, mainstream preference aggregation strategies include averaging win rate _favg[pa]_[,] Elo rating system _fElo[pa]_[and Bradley-Terry model] _[ f] BT[ pa]_[.][In our preliminary experiment (Figure 2(c))] we observe that _fBT[pa]_[can better alleviate sampling bias, for which we choose it as our default setting.]
|
| 181 |
+
|
| 182 |
+
6
|
| 183 |
+
|
| 184 |
+
## 5 EXPERIMENTS
|
| 185 |
+
|
| 186 |
+
Centered around UNICBE, we will empirically compare its performance with baselines and validate its scalability in §5.2, explore the optimal variants in §5.3, and demonstrate its generalizability under different settings in §5.4.
|
| 187 |
+
|
| 188 |
+
## 5.1 EXPERIMENTAL SETTINGS
|
| 189 |
+
|
| 190 |
+
**Benchmarks.** We choose AlpacaEval (Dubois et al., 2024) and MT-Bench (Zheng et al., 2023) benchmarks for our experiments. For AlpacaEval, we use its default version which includes 805 high-quality human annotated instructions and corresponding responses from multiple LLMs. We randomly choose 20 LLMs (listed in Figure 2(c)) for experiments, with GPT-4o and GPT-3.5-turbo as judges (see Appendix D for the prompt). For MT-Bench, we use the released responses from the all 6 LLMs and corresponding human preferences for experiments.
|
| 191 |
+
|
| 192 |
+
**Baselines.** We choose widely applied[†] methods RANDOM, ARENA and ALPACALEVAL as baselines, which have been discussed in §2 and listed in Table 1.
|
| 193 |
+
|
| 194 |
+
**Metrics.** To assess the effectiveness of the CBE methods, we evaluate the accuracy of both the estimated model pair-wise win rates and the model scores. We calculate the average absolute error between the estimated win rates and corresponding ground truth (the estimates when _T_ = _T_[ˆ] ). We calculate the Spearman correlation coefficient _rs_ between the predicted model scores and the corresponding ground truth to evaluate the accuracy of the model’s rank-order relationship, and the Pearson correlation coefficient _rp_ to assess the accuracy of the linear relationship.
|
| 195 |
+
|
| 196 |
+
**Details.** To ensure the reliability of the experimental results, for each setting, we randomly select _M_ (default to 15 for AlpacaEval and 5 for MT-Bench) models and _N_ (default to 805 for AlpacaEval and 700 for MT-Bench) samples, and report the average results across 10,000 random seeds. We don’t observe obvious performance difference in preliminary experiments when varying _α_ within the range of [1 _._ 5 _,_ 3] (we conduct a detailed discussion about this in Appendix F.1), thus we set the default value of _α_ as 2 in our experiments.
|
| 197 |
+
|
| 198 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 199 |
+
|
| 200 |
+
**----- Start of picture text -----**<br>
|
| 201 |
+
0.06 UniCBERandom 0.9925 0.9975<br>0.05 ArenaAlpaca 0.99000.9875 0.9950<br>0.04 0.9850 0.9925<br>0.9825 0.9900<br>0.03 0.9800 0.9875<br>0.02 0.9775 0.9850<br>0.01 1 2 3 4 5 6 7 8 0.97500.9725 1 2 3 4 5 6 7 8 0.9825 1 2 3 4 5 6 7 8<br>0.25<br>0.175 0.175<br>0.150 0.20 0.150<br>0.125 0.125<br>0.15<br>0.100 0.100<br>0.075 0.10 0.075<br>0.050 0.050<br>0.05<br>0.025 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 202 |
+
|
| 203 |
+
Figure 3: Results of compared CBE methods with GPT-4o as the judge on AlpacaEval benchmark. The X-axis (applicable to all plots below) represents the preference budget ( _k_ ). **∆** denotes the mean absolute error of the estimated win rate. **rs** and **rp** denote the Spearman and Pearson correlations between the the estimated model scores and the ground truth respectively.
|
| 204 |
+
|
| 205 |
+
## 5.2 MAIN RESULTS
|
| 206 |
+
|
| 207 |
+
**Accuracy and Convergence.** The results of compared CBE methods on AlpacaEval benchmark with GPT4-turbo as the judge are shown in Figure 3. To better illustrate the results, we also calculate the percentage of preference budget saved by each method compared to RANDOM baseline when
|
| 208 |
+
|
| 209 |
+
> † [URL removed] [URL removed]
|
| 210 |
+
|
| 211 |
+
7
|
| 212 |
+
|
| 213 |
+
achieving the same performance. In terms of performance, ALPACAEVAL _<<_ RANDOM _<_ ARENA _<_ UNICBE. To understand the differences in the performance of each method, we quantitatively analyze them based on the guidelines summarized in § 3. To achieve accuracy, convergence, and scalability, it is supposed to allocate the preference budget in a way that ensures uniformity across tuples, uniformity across model pairs in win-rate uncertainty, and uniformity across models. We calculate the cosine similarity between the allocation results of these methods and the corresponding expected uniform vectors for each objective as a measure, denoted as _βacc_ , _βcon_ , and _βsca_ , respectively (see Appendix E for calculating process). As shown in Table 2, the fixed inclusion of the reference model in the tuple selection of ALPACAEVAL compromises uniformity across multiple aspects, thereby resulting in lower _β_ values and significantly poorer performance. ARENA and RANDOM respectively improve the balance of uncertainty and suppression of sampling bias, resulting in higher _βcon_ and _βacc_ values. Following our guidelines, UNICBE improves _βcon_ , _βacc_ , and _βsca_ simultaneously and save over 17% of the preference budget compared to RANDOM with a ∆ close to 0.01, showcasing improved accuracy and convergence.
|
| 214 |
+
|
| 215 |
+
Table 2: The measurement results of the achievement of objectives in §3 for the compared methods.
|
| 216 |
+
|
| 217 |
+
|Methods|RANDOM|ARENA|ALPACAEVAL|UNICBE|
|
| 218 |
+
|---|---|---|---|---|
|
| 219 |
+
|_βacc_|.5803|.5725|.0925|.7364|
|
| 220 |
+
|_βcon_|.9081|.9172|.3515|.9228|
|
| 221 |
+
|_βsca_|.9972|.9945|.4987|.9997|
|
| 222 |
+
|
| 223 |
+
**Scalability.** To analyze scalability, we establish a scenario where we initially have 11 models awaiting assessment, and new models are sequentially added every 2000 samplings. As shown in Figure 4, Whenever a new model is introduced, UNICBE can rapidly stabilize the performance through adaptive preference allocation skewing for the new model, saving over 50% of the budget compared to the RANDOM baseline. In contrast, ARENA and RANDOM exhibit poorer scalability since they do not consider scalability as optimization objective. Although the budget allocated to the reference model is significantly more than that for other models, resulting in a lower _βsca_ for ALPACAEVAL, the strategy of automatically allocating the budget to the new introduced models also provides it with good scalability.
|
| 224 |
+
|
| 225 |
+
**==> picture [392 x 142] intentionally omitted <==**
|
| 226 |
+
|
| 227 |
+
**----- Start of picture text -----**<br>
|
| 228 |
+
1.000<br>0.050 0.99<br>0.045 0.995<br>0.040 0.98 0.990<br>0.035 0.985<br>0.030 0.97 0.980<br>0.025 0.975<br>0.020 0.96 0.970<br>0.015 0.965<br>0.010 0.95 0.960<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>0.6<br>0.5 0.5 0.6<br>0.4 0.4<br>0.3 0.3 0.4<br>0.2 0.2 0.2<br>0.1 0.1<br>0.0 0.0 0.0<br>1000 2000 3000 4000 5000 6000 7000 8000 1000 2000 3000 4000 5000 6000 7000 8000 1000 2000 3000 4000 5000 6000 7000 8000<br>rs rp<br>Save Percentage Under Save Percentage Under Save Percentage Under<br>**----- End of picture text -----**<br>
|
| 229 |
+
|
| 230 |
+
Figure 4: Results of compared CBE methods in the scenario where new model are consistently introduced every 2000 iterations.
|
| 231 |
+
|
| 232 |
+
## 5.3 VARIANTS ABLATIONS
|
| 233 |
+
|
| 234 |
+
**Budget Allocation Objectives.** We test the impact of different optimization objectives by removing _P[acc]_ , _P[con]_ , and _P[sca]_ from equation 13 separately. As shown in Figure 5, the significant performance degradation observed when removing _P[acc]_ from UNICBE indicates that mitigating sampling bias to improve accuracy is the most critical factor in achieving efficient CBE. Furthermore, we find that _P[con]_ has a considerable impact on _rs_ . We hypothesize that this is because balancing the uncertainty among different models helps prevent any one model from having a significant ranking
|
| 235 |
+
|
| 236 |
+
8
|
| 237 |
+
|
| 238 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 239 |
+
|
| 240 |
+
**----- Start of picture text -----**<br>
|
| 241 |
+
0.0450.040 UniCBE UniCBE w UniCBE w/o fp [ts] P [acc] 0.99250.9900 0.99750.9950<br>0.0350.030 UniCBE w UniCBE w/o Random f Elo [pa] P [con] 0.98750.98500.9825 0.99250.9900<br>0.0250.020 UniCBE w UniCBE w/o f Acc [pa] P [sca] 0.98000.9775 0.98750.9850<br>0.015 0.9750 0.9825<br>0.010 1 2 3 4 5 6 7 8 0.9725 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>0.25<br>0.175 UniCBE 0.175<br>0.150 UniCBE w/o UniCBE w/o PP [acc] [con] 0.20 0.150<br>0.1250.1000.075 UniCBE w/o UniCBE w UniCBE w UniCBE w ff f pEloAcc [ts][pa] [pa] P [sca] 0.150.10 0.1250.1000.075<br>0.050 Random 0.050<br>0.05<br>0.025 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 242 |
+
|
| 243 |
+
Figure 5: Ablation studies of UNICBE with GPT-4o as the judge on AlpacaEval benchmark.
|
| 244 |
+
|
| 245 |
+
bias due to its larger uncertainty. The performance drop when removing _P[sca]_ also suggests that ensuring uniformity in sampling across models not only enhances scalability but also further reduces sampling bias, thereby improving accuracy.
|
| 246 |
+
|
| 247 |
+
**Tuple Sampling and Preference Aggregation Strategies.** As shown in Figure 5, replacing greedy sampling with probabilistic sampling _fp[ts]_[results][in][a][significant][performance][drop.][This] is likely because the randomness introduced by _fp[ts]_[hinders the achievement of multiple optimiza-] tion objectives. In terms of preference aggregation strategies, the Elo rating system _fElo[pa]_[shows][a] slight performance decline compared to the BT model due to its higher instability (Boubdir et al., 2023). Moreover, the strategy of directly using the average win rate _favg[pa]_[may introduce additional] bias, as it fails to consider the varying strengths of the opponents faced by different models, leading to a performance decrease.
|
| 248 |
+
|
| 249 |
+
## 5.4 GENERALIZABILITY UNDER DIFFERENT SETTINGS
|
| 250 |
+
|
| 251 |
+
**Different Judges.** Apart from GPT-4o, we also experiment with GPT-3.5-turbo and Qwen-Plus as judge on AlpacaEval, and human as judge on MT-Bench. As shown in the above part of Figure 6, the overall conclusion with GPT-3.5-turbo is similar to GPT-4o, except for: (1) The performance of ARENA no longer shows advantage over RANDOM. (2) There is a certain decline in the performance of all methods, which is likely due to the increased noise in the preferences provided by GPT-3.5turbo, leading to slower convergence. Similar trends are observed with Qwen-Plus (See Figure 14). Results on MT-Bench are shown in the below part of Figure 6, where UNICBE also demonstrates better performance compared to other methods. However, due to the limited preference data included in MT-Bench, the experimental results show relatively larger fluctuations. The results above demonstrate the good generalizability of UNICBE across different judges and the data domain.
|
| 252 |
+
|
| 253 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 254 |
+
|
| 255 |
+
**----- Start of picture text -----**<br>
|
| 256 |
+
0.06 UniCBE 0.16 0.175<br>Random 0.14 0.150<br>0.05 Arena Alpaca 0.120.10 0.125<br>0.04 0.08 0.100<br>0.03 0.06 0.075<br>0.04 0.050<br>0.02 0.02 0.025<br>0.00 0.000<br>0.01 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>0.10 UniCBE Random 0.25 0.08<br>0.08 ArenaAlpaca 0.20 0.06<br>0.06 0.15<br>0.04<br>0.04 0.10<br>0.05 0.02<br>0.02<br>0.00 0.00<br>0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.2 0.3 0.4 0.5 0.6 0.7 0.2 0.3 0.4 0.5 0.6 0.7<br>Save Percentage Under rs Save Percentage Under rp<br>Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 257 |
+
|
| 258 |
+
Figure 6: Results of compared CBE methods with GPT-3.5-turbo as the judge on AlpacaEval (above) and human as the judge on MT-Bench (below).
|
| 259 |
+
|
| 260 |
+
9
|
| 261 |
+
|
| 262 |
+
**Varied Number of Models and Samples.** Finally, as shown in Figure 7, we conducte experiments by varying the number of models _M_ and samples _N_ . It can be observed that UNICBE achieves significantly better results compared to all the baselines under these settings, especially when _M_ and _N_ are large.
|
| 263 |
+
|
| 264 |
+
**List-wise Preference.** UNICBE can also be applied to list-wise preference. Suppose the judge provides a preference ranking for _K_ models each time. We can compute a _K_ + 1 dimensional _P_ , similar to equation equation 13, and sample to obtain a tuple ( _m[l]_[-][1] _, ..., m[l]_[-] _[K] , s[l]_ ). From the judge’s ranking of this tuple, we derive _[K]_[(] _[K]_ 2 _[−]_[1][)] pair-wise preferences. Figure 8 shows the results for the case where _K_ = 3. It can be seen that UNICBE achieves a savings compared to RANDOM of over 30% in this setting. This may be due to the fact that list-wise preference results in _[K]_[(] _[K]_ 2 _[−]_[1][)] pairwise preferences concentrated among the _K_ models, exacerbating the sampling bias. Therefore, UNICBE is even more needed to suppress this effect with list-wise preference.
|
| 265 |
+
|
| 266 |
+
**==> picture [392 x 173] intentionally omitted <==**
|
| 267 |
+
|
| 268 |
+
**----- Start of picture text -----**<br>
|
| 269 |
+
0.06 UniCBERandom 0.05 0.06<br>0.05 ArenaAlpaca 0.04 0.05<br>0.04 0.04<br>0.03<br>0.03 0.03<br>0.02<br>0.02 0.02<br>0.01 0.01 0.01<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>(a) M = 15 , N = 805 (b) M = 12 , N = 805 (c) M = 15 , N = 600<br>0.175 0.150 0.150<br>0.150 0.125 0.125<br>0.125 0.100 0.100<br>0.100<br>0.075 0.075 0.075<br>0.050 0.050 0.050<br>0.025 0.025 0.025<br>0.000 0.000 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>(d) M = 15 , N = 805 (e) M = 12 , N = 805 (f) M = 15 , N = 600<br>Save Percentage Under Save Percentage Under Save Percentage Under<br>**----- End of picture text -----**<br>
|
| 270 |
+
|
| 271 |
+
Figure 7: Effects of number of models under evaluation _M_ and number of samples _N_ . The results are obtained with GPT-4o as the judge on AlpacaEval.
|
| 272 |
+
|
| 273 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 274 |
+
|
| 275 |
+
**----- Start of picture text -----**<br>
|
| 276 |
+
0.05 UniCBERandom 0.995 1.000<br>Arena 0.990 0.995<br>0.04<br>0.985<br>0.990<br>0.03 0.980<br>0.985<br>0.02 0.975<br>0.980<br>0.970<br>0.01<br>1 2 3 4 5 1 2 3 4 5 0.975 1 2 3 4 5<br>0.35<br>0.30 0.30 0.30<br>0.25 0.25 0.25<br>0.20 0.20 0.20<br>0.15 0.15 0.15<br>0.10 0.10 0.10<br>0.05 0.05 0.05<br>0.00 0.00 0.00<br>1 2 3 4 5 1 2 3 4 5 1 2 3 4 5<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 277 |
+
|
| 278 |
+
Figure 8: Performance of CBE methods with list-wise preference of GPT-4o on AlpacaEval.
|
| 279 |
+
|
| 280 |
+
## 6 CONCLUSIONS
|
| 281 |
+
|
| 282 |
+
The existing comparing-based evaluation methods are ineffective in fully utilizing valuable preference signals due to their constrained optimization objectives. Our in-depth analysis reveals that the key to enhancing CBE lies in mitigating sampling bias, balancing the descent process of uncertainty, and suppressing the updating uncertainty. Based on this, we propose the UNICBE framework that simultaneously optimizes the aforementioned objectives by promoting uniformity in corresponding aspects to enhance accuracy, convergence, and scalability. Comprehensive experiments and analyses confirm the strong effectiveness, improved scalability, and good generalizability of UNICBE.
|
| 283 |
+
|
| 284 |
+
10
|
| 285 |
+
|
| 286 |
+
## REFERENCES
|
| 287 |
+
|
| 288 |
+
Meriem Boubdir, Edward Kim, Beyza Ermis, Sara Hooker, and Marzieh Fadaee. Elo uncovered: Robustness and best practices in language model evaluation. _CoRR_ , abs/2311.17295, 2023. doi: 10. 48550/ARXIV.2311.17295. URL [URL removed]
|
| 289 |
+
|
| 290 |
+
- Ralph Allan Bradley and Milton E Terry. Rank analysis of incomplete block designs: I. the method of paired comparisons. _Biometrika_ , 39(3/4):324–345, 1952.
|
| 291 |
+
|
| 292 |
+
- Tianchi Cai, Xierui Song, Jiyan Jiang, Fei Teng, Jinjie Gu, and Guannan Zhang. ULMA: unified language model alignment with demonstration and point-wise human preference. _CoRR_ , abs/2312.02554, 2023. doi: 10.48550/ARXIV.2312.02554. URL [URL removed] 48550/arXiv.2312.02554.
|
| 293 |
+
|
| 294 |
+
- Steffi Chern, Ethan Chern, Graham Neubig, and Pengfei Liu. Can large language models be trusted for evaluation? scalable meta-evaluation of llms as evaluators via agent debate. _CoRR_ , abs/2401.16788, 2024. doi: 10.48550/ARXIV.2401.16788. URL [URL removed] 48550/arXiv.2401.16788.
|
| 295 |
+
|
| 296 |
+
- Wei-Lin Chiang, Lianmin Zheng, Ying Sheng, Anastasios Nikolas Angelopoulos, Tianle Li, Dacheng Li, Banghua Zhu, Hao Zhang, Michael I. Jordan, Joseph E. Gonzalez, and Ion Stoica. Chatbot arena: An open platform for evaluating llms by human preference. In _Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024_ . OpenReview.net, 2024. URL [URL removed]
|
| 297 |
+
|
| 298 |
+
- Ganqu Cui, Lifan Yuan, Ning Ding, Guanming Yao, Wei Zhu, Yuan Ni, Guotong Xie, Zhiyuan Liu, and Maosong Sun. Ultrafeedback: Boosting language models with high-quality feedback. _CoRR_ , abs/2310.01377, 2023. doi: 10.48550/ARXIV.2310.01377. URL [URL removed] 48550/arXiv.2310.01377.
|
| 299 |
+
|
| 300 |
+
- Yann Dubois, Bal´azs Galambosi, Percy Liang, and Tatsunori B. Hashimoto. Length-controlled alpacaeval: A simple way to debias automatic evaluators. _CoRR_ , abs/2404.04475, 2024. doi: 10. 48550/ARXIV.2404.04475. URL [URL removed]
|
| 301 |
+
|
| 302 |
+
Arpad E Elo and Sam Sloan. The rating of chessplayers: Past and present. _(No Title)_ , 1978.
|
| 303 |
+
|
| 304 |
+
- Julien Fageot, Sadegh Farhadkhani, Lˆe-Nguyˆen Hoang, and Oscar Villemaud. Generalized bradleyterry models for score estimation from paired comparisons. In _Thirty-Eighth AAAI Conference on Artificial Intelligence, AAAI 2024, Thirty-Sixth Conference on Innovative Applications of Artificial Intelligence, IAAI 2024, Fourteenth Symposium on Educational Advances in Artificial Intelligence, EAAI 2014, February 20-27, 2024, Vancouver, Canada_ , pp. 20379–20386. AAAI Press, 2024. doi: 10.1609/AAAI.V38I18.30020. URL [URL removed] aaai.v38i18.30020.
|
| 305 |
+
|
| 306 |
+
- Sebastian Farquhar, Yarin Gal, and Tom Rainforth. On statistical bias in active learning: How and when to fix it. In _9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021_ . OpenReview.net, 2021. URL [URL removed] forum?id=JiYq3eqTKY.
|
| 307 |
+
|
| 308 |
+
- Kehua Feng, Keyan Ding, Kede Ma, Zhihua Wang, Qiang Zhang, and Huajun Chen. Sampleefficient human evaluation of large language models via maximum discrepancy competition. _CoRR_ , abs/2404.08008, 2024. doi: 10.48550/ARXIV.2404.08008. URL [URL removed] 10.48550/arXiv.2404.08008.
|
| 309 |
+
|
| 310 |
+
- Jiaming Ji, Mickel Liu, Josef Dai, Xuehai Pan, Chi Zhang, Ce Bian, Boyuan Chen, Ruiyang Sun, Yizhou Wang, and Yaodong Yang. Beavertails: Towards improved safety alignment of LLM via a human-preference dataset. In _Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023_ , 2023. URL [URL removed] hash/4dbb61cb68671edc4ca3712d70083b9f-Abstract-Datasets_and_ Benchmarks.html.
|
| 311 |
+
|
| 312 |
+
12
|
| 313 |
+
|
| 314 |
+
- Ruili Jiang, Kehai Chen, Xuefeng Bai, Zhixuan He, Juntao Li, Muyun Yang, Tiejun Zhao, Liqiang Nie, and Min Zhang. A survey on human preference learning for large language models. _CoRR_ , abs/2406.11191, 2024. doi: 10.48550/ARXIV.2406.11191. URL [URL removed] 48550/arXiv.2406.11191.
|
| 315 |
+
|
| 316 |
+
- Jannik Kossen, Sebastian Farquhar, Yarin Gal, and Tom Rainforth. Active testing: Sample-efficient model evaluation. In _Proceedings of the 38th International Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 5753–5763. PMLR, 2021. URL [URL removed] kossen21a.html.
|
| 317 |
+
|
| 318 |
+
- Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-eval: NLG evaluation using gpt-4 with better human alignment. In _Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, EMNLP 2023, Singapore, December 6-10, 2023_ , pp. 2511–2522. Association for Computational Linguistics, 2023. doi: 10.18653/V1/2023.EMNLP-MAIN.153. URL [URL removed] emnlp-main.153.
|
| 319 |
+
|
| 320 |
+
- Yinhong Liu, Han Zhou, Zhijiang Guo, Ehsan Shareghi, Ivan Vulic, Anna Korhonen, and Nigel Collier. Aligning with human judgement: The role of pairwise preference in large language model evaluators. _CoRR_ , abs/2403.16950, 2024. doi: 10.48550/ARXIV.2403.16950. URL https: //doi.org/10.48550/arXiv.2403.16950.
|
| 321 |
+
|
| 322 |
+
Frederic M Lord and Melvin R Novick. _Statistical theories of mental test scores_ . IAP, 2008.
|
| 323 |
+
|
| 324 |
+
OpenAI. Hello gpt-4o. [URL removed] 2024. Accessed: 2024-05-26.
|
| 325 |
+
|
| 326 |
+
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F. Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In _Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022_ , 2022. URL [URL removed] b1efde53be364a73914f58805a001731-Abstract-Conference.html.
|
| 327 |
+
|
| 328 |
+
- Felipe Maia Polo, Lucas Weber, Leshem Choshen, Yuekai Sun, Gongjun Xu, and Mikhail Yurochkin. tinybenchmarks: evaluating llms with fewer examples. In _Forty-first International Conference on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024_ . OpenReview.net, 2024. URL [URL removed]
|
| 329 |
+
|
| 330 |
+
- Zhen Qin, Rolf Jagerman, Kai Hui, Honglei Zhuang, Junru Wu, Le Yan, Jiaming Shen, Tianqi Liu, Jialu Liu, Donald Metzler, Xuanhui Wang, and Michael Bendersky. Large language models are effective text rankers with pairwise ranking prompting. In _Findings of the Association for Computational Linguistics: NAACL 2024, Mexico City, Mexico, June 16-21, 2024_ , pp. 1504–1518. Association for Computational Linguistics, 2024. doi: 10.18653/V1/2024.FINDINGS-NAACL.97. URL [URL removed]
|
| 331 |
+
|
| 332 |
+
- Tsegaye Misikir Tashu and Tom´as Horv´ath. Pair-wise: Automatic essay evaluation using word mover’s distance. In _Proceedings of the 10th International Conference on Computer Supported Education, CSEDU 2018, Funchal, Madeira, Portugal, March 15-17, 2018, Volume 1_ , pp. 59–66. SciTePress, 2018. doi: 10.5220/0006679200590066. URL [URL removed] 0006679200590066.
|
| 333 |
+
|
| 334 |
+
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar
|
| 335 |
+
|
| 336 |
+
13
|
| 337 |
+
|
| 338 |
+
Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aur´elien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and finetuned chat models. _CoRR_ , abs/2307.09288, 2023. doi: 10.48550/ARXIV.2307.09288. URL [URL removed]
|
| 339 |
+
|
| 340 |
+
- Andrius Vabalas, Emma Gowen, Ellen Poliakoff, and Alexander J Casson. Machine learning algorithm validation with a limited sample size. _PloS one_ , 14(11):e0224365, 2019.
|
| 341 |
+
|
| 342 |
+
- Rajan Vivek, Kawin Ethayarajh, Diyi Yang, and Douwe Kiela. Anchor points: Benchmarking models with much fewer examples. In _Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2024 - Volume 1: Long Papers, St. Julian’s, Malta, March 17-22, 2024_ , pp. 1576–1601. Association for Computational Linguistics, 2024. URL [URL removed]
|
| 343 |
+
|
| 344 |
+
- Minghao Wu and Alham Fikri Aji. Style over substance: Evaluation biases for large language models. _CoRR_ , abs/2307.03025, 2023. doi: 10.48550/ARXIV.2307.03025. URL [URL removed]
|
| 345 |
+
|
| 346 |
+
- Peiwen Yuan, Shaoxiong Feng, Yiwei Li, Xinglin Wang, Boyuan Pan, Heda Wang, Yao Hu, and Kan Li. Batcheval: Towards human-like text evaluation. In _Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August 11-16, 2024_ , pp. 15940–15958. Association for Computational Linguistics, 2024. URL [URL removed]
|
| 347 |
+
|
| 348 |
+
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena. In _Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023_ , 2023. URL [URL removed] hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_ Benchmarks.html.
|
| 349 |
+
|
| 350 |
+
- Jin Peng Zhou, Christian K. Belardi, Ruihan Wu, Travis Zhang, Carla P. Gomes, Wen Sun, and Kilian Q. Weinberger. On speeding up language model evaluation. _CoRR_ , abs/2407.06172, 2024. doi: 10.48550/ARXIV.2407.06172. URL [URL removed] 06172.
|
| 351 |
+
|
| 352 |
+
14
|
| 353 |
+
|
| 354 |
+
## A PROOF OF THEOREM IN §3.2
|
| 355 |
+
|
| 356 |
+
Given that[�] _[U] i_ =1 _[X][i]_[= 0][, we want to attain sampling set] _[ S]_[that satisfies] _[ |S|]_[ =] _[ V]_[and:]
|
| 357 |
+
|
| 358 |
+
**==> picture [292 x 23] intentionally omitted <==**
|
| 359 |
+
|
| 360 |
+
Firstly, it is easy to know that for any sampling set _S_ :
|
| 361 |
+
|
| 362 |
+
**==> picture [228 x 22] intentionally omitted <==**
|
| 363 |
+
|
| 364 |
+
Thus,
|
| 365 |
+
|
| 366 |
+
**==> picture [361 x 69] intentionally omitted <==**
|
| 367 |
+
|
| 368 |
+
Considering that:
|
| 369 |
+
|
| 370 |
+
where _ci_ denotes the number of _Xi_ in _S_ . On this basis, we derive that:
|
| 371 |
+
|
| 372 |
+
**==> picture [300 x 87] intentionally omitted <==**
|
| 373 |
+
|
| 374 |
+
The equality condition of the first inequality is: the number of samples taken from each category is equal. The equality condition of the second inequality is: the number of sampled categories equals to min( _U, V_ ). These two conditions imply that a completely uniform sampling strategy is optimal.
|
| 375 |
+
|
| 376 |
+
## B INTRODUCTION OF ELO RATING SYSTEM AND BRADLEY-TERRY MODEL
|
| 377 |
+
|
| 378 |
+
## B.1 ELO RATING SYSTEM
|
| 379 |
+
|
| 380 |
+
The Elo rating system (Elo & Sloan, 1978) is widely used to rank participants based on their relative performance in competitive settings. Given two models, _A_ and _B_ , with initial ratings _RA_ and _RB_ , the expected score of model _A_ in a pairwise comparison is calculated as:
|
| 381 |
+
|
| 382 |
+
**==> picture [109 x 22] intentionally omitted <==**
|
| 383 |
+
|
| 384 |
+
Similarly, the expected score for model _B_ is:
|
| 385 |
+
|
| 386 |
+
**==> picture [109 x 23] intentionally omitted <==**
|
| 387 |
+
|
| 388 |
+
After the comparison, the actual results are used to update the ratings. If model _A_ wins, its new rating _RA[′]_[is updated as:]
|
| 389 |
+
|
| 390 |
+
**==> picture [110 x 11] intentionally omitted <==**
|
| 391 |
+
|
| 392 |
+
where _SA_ is the actual result of the match (1 for a win, 0 for a loss, and 0.5 for a draw), and _K_ is a constant that controls the sensitivity of the rating adjustment. Model _B_ ’s rating is updated in a similar way:
|
| 393 |
+
|
| 394 |
+
**==> picture [112 x 12] intentionally omitted <==**
|
| 395 |
+
|
| 396 |
+
where _SB_ is the actual result for model _B_ .
|
| 397 |
+
|
| 398 |
+
15
|
| 399 |
+
|
| 400 |
+
When extending the Elo rating system to multiple models, we consider a set of _n_ models. Pairwise comparisons between the models are conducted, resulting in � _n_ 2� unique pairs:
|
| 401 |
+
|
| 402 |
+
**==> picture [73 x 25] intentionally omitted <==**
|
| 403 |
+
|
| 404 |
+
Each pair is evaluated using the Elo score update rules, and the results are iteratively applied to adjust the ratings, ensuring that each model’s rating reflects its relative performance within the set.
|
| 405 |
+
|
| 406 |
+
The extension to multiple models leverages the transitive property. For any three models _i, j, k ∈ {_ 1 _,_ 2 _, . . . , n}_ , if _Ri > Rj_ and _Rj > Rk_ , the transitivity implies:
|
| 407 |
+
|
| 408 |
+
_Ri > Rj_ and _Rj > Rk_ = _⇒ Ri > Rk_
|
| 409 |
+
|
| 410 |
+
This property ensures consistency in the rankings, even when individual match outcomes vary. By iterating over all � _n_ 2� comparisons, the Elo scores converge to reflect the overall capabilities of the models, with higher scores indicating stronger performance.
|
| 411 |
+
|
| 412 |
+
## B.2 BRADLEY-TERRY MODEL
|
| 413 |
+
|
| 414 |
+
The Bradley-Terry model (Bradley & Terry, 1952) estimates the probability that one model outperforms another in pairwise comparisons. For two models _Mi_ and _Mj_ with strength parameters _ξi_ and _ξj_ , the probability that model _i_ beats model _j_ is modeled as:
|
| 415 |
+
|
| 416 |
+
**==> picture [255 x 22] intentionally omitted <==**
|
| 417 |
+
|
| 418 |
+
where _ξ_ is an _|M |_ -length vector of Bradley-Terry coefficients. Given a set of comparing results _S_ = _{_ ( _Mi[t][, M] j[ t][, R][t]_[)] _[}] t[T]_ =1[where] _[ R][t]_[represents the degree] _[ M][ t] i_[wins over] _[ M][ t] j_[.][We set][ mean(] _[ξ]_[)][=][0][.] After attaining the BT scores using _f[pa]_ , we calculate the estimated win rate matrix with equation 19.
|
| 419 |
+
|
| 420 |
+
## C MORE EXPERIMENTAL ANALYSES
|
| 421 |
+
|
| 422 |
+
**==> picture [390 x 142] intentionally omitted <==**
|
| 423 |
+
|
| 424 |
+
**----- Start of picture text -----**<br>
|
| 425 |
+
0.99 1.00<br>0.06 0.98 0.99<br>0.97 0.98<br>0.05<br>0.96 0.97<br>0.04 0.95 0.96<br>0.03 0.94 0.95<br>0.93 0.94<br>0.02 0.92 0.93<br>2 4 6 8 10 2 4 6 8 10 2 4 6 8 10<br>0.3 3.0 4<br>UniCBE<br>2.5 3 Random<br>0.2 2.0 2 Arena Alpaca<br>0.1 1.5 1 0.1<br>1.0<br>0<br>0.5<br>0.0 1<br>0.0<br>2000 4000 6000 8000 10000 2000 4000 6000 8000 10000 2000 4000 6000 8000 10000<br>rs rp<br>Save Percentage Under Save Percentage Under Save Percentage Under<br>**----- End of picture text -----**<br>
|
| 426 |
+
|
| 427 |
+
Figure 9: Results of compared CBE methods in a scenario where models and samples are dynamically added or removed at a random frequency.
|
| 428 |
+
|
| 429 |
+
## C.1 PERFORMANCE IN SCENARIOS CLOSE TO REALITY
|
| 430 |
+
|
| 431 |
+
We think that conducting experiments in settings that are closer to real-world scenarios (highly dynamic and requiring real-time evaluation) can help us more comprehensively assess UNICBE and the baseline methods. To this end, we perform the following experiments: Starting with a sample size of _N_ = 600 and model number of _M_ = 12, we execute a random operation at each time step. The operations included: adding one model to be evaluated with a probability of 0.01, removing one model with a probability of 0.01, adding one potential sample with a probability of 0.01, randomly deleting one sample with a probability of 0.01, and taking no action with a probability of 0.96. Based on the experimental results shown in Figure 9, we have the following observations:
|
| 432 |
+
|
| 433 |
+
16
|
| 434 |
+
|
| 435 |
+
- The convergence speed of all baseline methods significantly slowed down compared to Figure 3. None of the baseline methods achieve a Spearman correlation coefficient of 0.96 or a Pearson correlation coefficient of 0.97 by _T_ = 2000, highlighting the difficulty of model evaluation in this setting. In contrast, UNICBE achieve rapid convergence, reaching a Spearman coefficient of approximately 0.97 and a Pearson coefficient exceeding 0.98 by _T_ = 2000.
|
| 436 |
+
|
| 437 |
+
- Over the long term, as _T_ increases, UNICBE consistently demonstrates over 10% savings in preference budget across all metrics, even under this challenging setting, showcasing its strong practicality.
|
| 438 |
+
|
| 439 |
+
- An interesting observation is that ALPACAEVAL exhibits better convergence in the early stages compared to RANDOM and ARENA, supporting our previous conclusions in Table 1. However, as _T_ increases, ALPACAEVAL’s lack of accuracy optimization objective leads to its performance being surpassed by RANDOM and ARENA.
|
| 440 |
+
|
| 441 |
+
## C.2 ABLATION STUDY OF UNIFORMITY CONSTRAINTS
|
| 442 |
+
|
| 443 |
+
Based on our analysis in §3, the degree to which uniformity is achieved is positively correlated with performance in terms of accuracy, convergence, and scalability. To explore the empirical relationship between the degree of uniformity constraints and the final outcomes, we draw inspiration from the concept of temperature-based control in random sampling. By adjusting the temperature _T_ in the following formula for sampling _fT[ts]_[,][we][regulate][the][extent][of][uniformity][constraints][according][to] _P[l]_ in equation 13:
|
| 444 |
+
|
| 445 |
+
**==> picture [249 x 27] intentionally omitted <==**
|
| 446 |
+
|
| 447 |
+
As _T_ increases, the uniformity constraints become more relaxed. When _T_ = 0, it corresponds to greedy sampling _fg[ts]_[,][which][imposes][the][strictest][uniformity][constraints.] When _T_ = 1, it corresponds to probabilistic sampling _fp[ts]_[,][which][imposes][general][uniformity][constraints.][When] _T_ = + _∞_ , it corresponds to random sampling, where no uniformity constraints are applied. Our experimental results are shown in Figure 10. As _T_ increases from 0 to _T_ = + _∞_ , the evaluation results progressively deteriorate. This indicates that adopting greedy sampling to impose the strictest uniformity constraints yields the optimal evaluation performance. This observation also validates the correctness of our conclusions in §3.
|
| 448 |
+
|
| 449 |
+
**==> picture [390 x 143] intentionally omitted <==**
|
| 450 |
+
|
| 451 |
+
**----- Start of picture text -----**<br>
|
| 452 |
+
0.0450.040 T=0 (UniCBE) T=0.5T=1 (UniCBE w fp [ts][)] 0.99250.9900 0.99750.9950<br>0.035 T=2 0.9875<br>0.030 T=+ (Random) 0.9850 0.9925<br>0.9825 0.9900<br>0.025<br>0.9800 0.9875<br>0.020 0.9775 0.9850<br>0.015 0.9750 0.9825<br>0.010 1 2 3 4 5 6 7 8 0.9725 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>0.25<br>0.175 T=0 (UniCBE) 0.175<br>0.150 T=0.5T=1 (UniCBE w fp [ts][)] 0.20 0.150<br>0.1250.100 T=2 T=+ (Random) 0.15 0.1250.100<br>0.075 0.10 0.075<br>0.050 0.050<br>0.05<br>0.025 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 453 |
+
|
| 454 |
+
Figure 10: Results of UNICBE with different sampling temperatures.
|
| 455 |
+
|
| 456 |
+
## C.3 ADJUSTING THE WEIGHTS OF OPTIMIZATION OBJECTIVES
|
| 457 |
+
|
| 458 |
+
In equation 13, we integrate sampling matrices targeting different optimization objectives with equal weights. In practice, when faced with varying requirements, it is straightforward to prioritize a specific objective by adjusting the weights _θacc_ , _θcon_ , and _θsca_ for these matrices, as shown in equation 21.
|
| 459 |
+
|
| 460 |
+
**==> picture [303 x 25] intentionally omitted <==**
|
| 461 |
+
|
| 462 |
+
As demonstrated in Table 3, we set different settings and calculate the degree of achievement _β_ for each optimization objective following the procedure described in §E. Compared to equal-weight
|
| 463 |
+
|
| 464 |
+
17
|
| 465 |
+
|
| 466 |
+
integration, users can increase the corresponding _β_ (e.g., _βacc_ ) by assigning a larger weight to a specific optimization objective ( _θacc_ ), thereby better meeting their practical needs (accuracy). We also observe that enhancing a specific optimization objective often comes with a slight decrease in the achievement of other objectives. In Figure 11, we illustrate an example of improving accuracy, where _θacc_ is increased from 1 to 2. We find that the increased focus on accuracy objective slightly slows down the convergence speed. As a result, when _T_ is relatively small, the performance of _θacc_ = 2 lags behind that of _θacc_ = 1. However, in the later stages, after convergence, the enhanced accuracy objective enables _θacc_ = 2 to outperform _θacc_ = 1, resulting in greater savings in the preference budget.
|
| 467 |
+
|
| 468 |
+
Table 3: The measurement results of the achievement of objectives in §3 for UNICBE with varied hyperparameters.
|
| 469 |
+
|
| 470 |
+
**==> picture [390 x 183] intentionally omitted <==**
|
| 471 |
+
|
| 472 |
+
**----- Start of picture text -----**<br>
|
| 473 |
+
θacc = 2 θacc = 1 θacc = 1 θacc = 1<br>Settings θcon = 1 θcon = 2 θcon = 1 θcon = 1<br>θsca = 1 θsca = 1 θsca = 2 θsca = 1<br>βacc .7380(+.0016) .7355(-.0009) .7351(-.0013) .7364<br>βcon .9221(-.0007) .9235(+.0007) .9217(-.0011) .9228<br>βsca .9996(-.0001) .9997(.0000) .9998(+.0001) .9997<br>0.25 0.200<br>0.1750.150 Randomacc acc [= 1][= 2] 0.20 0.1750.150<br>0.125 0.15 0.125<br>0.100 0.100<br>0.075 0.10 0.075<br>0.050 0.05 0.050<br>0.025 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 474 |
+
|
| 475 |
+
Figure 11: Results of UNICBE with different _θacc_ .
|
| 476 |
+
|
| 477 |
+
## D PROMPT FOR HAVING AN LLM ACT AS JUDGE
|
| 478 |
+
|
| 479 |
+
We follow AlpacaEval[‡] to instruct the LLMs act as judge with the following prompt:
|
| 480 |
+
|
| 481 |
+
_You are a helpful assistant, that ranks models by the quality of their answers._
|
| 482 |
+
|
| 483 |
+
_I want you to create a leaderboard of different of large-language models. To do so, I will give you the instructions (prompts) given to the models, and the responses of two models. Please give the winner model based on which responses would be preferred by humans. All inputs and outputs should be python dictionaries._
|
| 484 |
+
|
| 485 |
+
_Here is the prompt: { ”instruction”: ”””{instruction}”””, } Here are the outputs of the models: { ”model”: ”model_ 1 _”, ”answer”: ”””{output_ 1 _}””” }, { ”model”: ”model_ 2 _”,_
|
| 486 |
+
|
| 487 |
+
> ‡[URL removed]
|
| 488 |
+
|
| 489 |
+
18
|
| 490 |
+
|
| 491 |
+
_”answer”: ”””{output_ 2 _}””” }_
|
| 492 |
+
|
| 493 |
+
_Now please give the winner model according to the quality of their answers, so that the winner model has the best output. Then return the winner model in the following format if modelx is the winner: winner: modelx_
|
| 494 |
+
|
| 495 |
+
_You need to strictly follow the format above. Please provide the ranking that the majority of humans would give._
|
| 496 |
+
|
| 497 |
+
## E THE CALCULATION PROCESS OF _β_ IN TABLE 2
|
| 498 |
+
|
| 499 |
+
We calculate the _β_ values for each CBE method to measure how well they align with the optimization objectives we analyzed in §3: ensuring uniformity across tuples, uniformity across model pairs in win-rate uncertainty, and uniformity across models. Specifically, we first construct _U[acc]_[1] , _U[acc]_[2] , _U[con]_ and _U[sca]_ as follows:
|
| 500 |
+
|
| 501 |
+
**==> picture [257 x 55] intentionally omitted <==**
|
| 502 |
+
|
| 503 |
+
**==> picture [255 x 31] intentionally omitted <==**
|
| 504 |
+
|
| 505 |
+
**==> picture [222 x 21] intentionally omitted <==**
|
| 506 |
+
|
| 507 |
+
On this basis, we calculate _βacc_ , _βcon_ and _βsca_ as follows:
|
| 508 |
+
|
| 509 |
+
_βacc_ = CosineSim(U[acc1] _,_ C _._ mean(dim = _−_ 1)) _×_ CosineSim(U[acc2] _,_ C _._ mean(dim = 0)) (25)
|
| 510 |
+
|
| 511 |
+
**==> picture [255 x 11] intentionally omitted <==**
|
| 512 |
+
|
| 513 |
+
**==> picture [332 x 11] intentionally omitted <==**
|
| 514 |
+
|
| 515 |
+
## F FURTHER DISCUSSIONS
|
| 516 |
+
|
| 517 |
+
## F.1 AFFINITY OF THE THREE OPTIMIZATION OBJECTIVES
|
| 518 |
+
|
| 519 |
+
We have discussed in §3 that the keys to strengthen the accuracy, convergence and scalability of CBE are: ensuring uniformity across tuples, uniformity across model pairs in win-rate uncertainty, and uniformity across models. Below we discuss their compatibility. Firstly, ensuring uniformity across models can be seen as a sub-goal of ensuring uniformity across tuples, therefore they exhibit a strong affinity. The former can be considered a refinement of the latter, specifically focusing on model uniformity. Moreover, as shown inequation 8, the uncertainty in win-rate between models _ϵi,j_ is inversely proportional to the number of comparisons between models. Therefore, improving uniformity across model pairs in win-rate uncertainty _ϵ_ will also contribute to a more uniform distribution of comparisons between models. This further implies that ensuring uniformity across model pairs in win-rate uncertainty and ensuring uniformity across tuples are compatible goals with a strong affinity. Furthermore, as shown in Table 2, all _β_ values of UNICBE are improved compared to the baselines, experimentally validating the fact that optimizing the three objectives can be mutually beneficial. Based on this analysis, we can infer that changing _α_ essentially adjusts the optimization emphasis on different objectives. However, since the three objectives are mutually reinforcing, the effect of changing _α_ will be relatively small.
|
| 520 |
+
|
| 521 |
+
## F.2 DISCUSSION ON SAMPLING BIAS IN INCOMPLETE SAMPLING SCENARIOS
|
| 522 |
+
|
| 523 |
+
Previous studies have discussed the risks of introducing sampling bias in incomplete sampling scenarios. Specifically, Vabalas et al. (2019) demonstrated through simulation experiments that K-fold
|
| 524 |
+
|
| 525 |
+
19
|
| 526 |
+
|
| 527 |
+
cross-validation (K-fold CV) can produce significant performance estimation bias when dealing with small sample sizes. This bias persists even when the sample size reaches 1000. In contrast, methods like nested cross-validation (Nested CV) and train/test split have been shown to provide robust and unbiased performance estimates regardless of sample size. Kossen et al. (2021) introduced a weighting scheme, as described in (Farquhar et al., 2021), to mitigate sampling bias in active testing scenarios. Vivek et al. (2024) proposed leveraging information obtained from source models to select representative samples from the test set, thereby reducing sampling bias. Additionally, Polo et al. (2024) employed Item Response Theory (Lord & Novick, 2008) to correct sample bias in addressing this issue.
|
| 528 |
+
|
| 529 |
+
These studies inspired us to investigate the bias problem in the CBE scenario. Unlike the aforementioned studies, we found that in CBE scenario, not only does sample bias exist, but model bias also plays a role, and the two are coupled. This coupling poses greater challenges for analyzing and mitigating these biases. To address this, based on the analyses outlined in §3, we propose the UNICBE method, which effectively alleviates biases in this scenario.
|
| 530 |
+
|
| 531 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 532 |
+
|
| 533 |
+
**----- Start of picture text -----**<br>
|
| 534 |
+
0.06 0.99<br>UniCBE<br>0.05 Random Arena Alpaca 0.980.97 0.9950.990<br>0.04 0.985<br>0.96<br>0.980<br>0.03 0.95<br>0.975<br>0.02 0.94 0.970<br>0.93<br>0.01 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 0.965 1 2 3 4 5 6 7 8<br>0.16 0.175<br>0.150 0.14 0.150<br>0.125 0.12 0.125<br>0.100 0.100.08 0.100<br>0.075 0.06 0.075<br>0.050 0.04 0.050<br>0.025 0.02 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 535 |
+
|
| 536 |
+
Figure 12: Results of compared CBE methods with GPT-3.5-turbo as the judge on AlpacaEval.
|
| 537 |
+
|
| 538 |
+
**==> picture [392 x 149] intentionally omitted <==**
|
| 539 |
+
|
| 540 |
+
**----- Start of picture text -----**<br>
|
| 541 |
+
0.10 UniCBE 1.00<br>0.08 RandomArena 0.95 0.95<br>Alpaca<br>0.90<br>0.06 0.90<br>0.85<br>0.04 0.85<br>0.80<br>0.02<br>0.80<br>0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.75 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.1 0.2 0.3 0.4 0.5 0.6 0.7<br>0.07 0.25<br>0.08<br>0.06<br>0.20<br>0.05 0.06<br>0.04 0.15<br>0.03 0.10 0.04<br>0.02 0.05 0.02<br>0.01<br>0.00 0.00 0.00<br>0.2 0.3 0.4 0.5 0.6 0.7 0.2 0.3 0.4 0.5 0.6 0.7 0.2 0.3 0.4 0.5 0.6 0.7<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 542 |
+
|
| 543 |
+
Figure 13: Results of compared CBE methods with human as the judge on MT-Bench.
|
| 544 |
+
|
| 545 |
+
20
|
| 546 |
+
|
| 547 |
+
**==> picture [390 x 144] intentionally omitted <==**
|
| 548 |
+
|
| 549 |
+
**----- Start of picture text -----**<br>
|
| 550 |
+
UniCBE 0.995<br>0.06 Random 0.990 0.9975<br>0.05 Arena Alpaca 0.985 0.9950<br>0.9925<br>0.04 0.980 0.9900<br>0.03 0.975 0.9875<br>0.02 0.970 0.9850<br>0.9825<br>0.01 1 2 3 4 5 6 7 8 0.965 1 2 3 4 5 6 7 8 0.9800 1 2 3 4 5 6 7 8<br>0.200 0.20 0.200<br>0.175 0.175<br>0.150 0.15 0.150<br>0.125 0.125<br>0.100 0.10 0.100<br>0.075 0.075<br>0.050 0.05 0.050<br>0.025 0.025<br>0.000 0.00 0.000<br>1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8<br>rs rp<br>Save Percentage Under Save Percentage Under rs Save Percentage Under rp<br>**----- End of picture text -----**<br>
|
| 551 |
+
|
| 552 |
+
Figure 14: Results of compared CBE methods with Qwen-Plus as the judge on AlpacaEval.
|
| 553 |
+
|
| 554 |
+
21
|
| 555 |
+
|
open_review/iclr2025_13839.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13839",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Exploring Compositionality in Vision Transformers using Wavelet Representations",
|
| 6 |
+
"abstract": "Insights into the workings of the transformer have been elicited by analyzing its representations when trained and tested on language data. In this paper, we turn an analytical lens to the representations of variants of the Vision Transformers. This work is aimed to gain insights into the geometric structure of the latent spaces of each encoding layer. We use representation-similarity measures, and representation-visualization approaches to analyse the impact of training regimes on the latent manifolds learned. We then use our approach to design a test for quantifying the extent to which these latent manifolds respect the compositional structure of the input space. We restrict our analysis to compositional structure induced by the Discrete Wavelet Transform (DWT). Interestingly, our empirical analysis reveals that ViT patch representations give notions of compositionality with respect to the DWT primitives.",
|
| 7 |
+
"rebuttal": "We thank the reviewer for their detailed response and valuable feedback. We hope to answer all of their points in similar fashion.\n\n## **Weaknesses**\n### **Clarity**\n> **1)** Figure 1: What does it mean here for the original image’s representation to be compared to the composed image representation?\nDoes it mean that the maps we see in the figure are the result of the comparison, or are these just the composed representations and the\ncomparison was done outside of the figure?\n\nThe SSIM maps shown in the figure are the results **after** comparison of the original representation and the composed representation at every layer of the encoder. We have included the clarification in the caption of the figure in the revised draft.\n\n> **2)** Section 3.1 ViT: What was the ViT model used for this experiment? What was it pre-trained on? The section does not explicitly specify\nthese experimental conditions.\n\nWe thank the reviewer for pointing this out, and we have included the clarifications (L321-L322) in the revised draft. To answer this query, the models used are ViT- Base and ViT Large, both of which are pre-trained on the Imagenet-21k dataset.\n\n> **3)** L214-L215: What is the purpose of f_eta ? I understand that this is defined in Andreas 2019, but its definition is missing from this paper.\nI think explicitly defining it and its role would improve the clarity of this section.\n\nWe thank the reviewer for pointing this out, and we have included the clarifications in the revised draft. The clarifications are included at L200-L201 and L225-L226 in the revised draft. To answer the question $\\hat{f_{\\eta}}$ is a compositional approximation of the complex model $f$ . It can be used to measure the compositionality of the model.\n\n> **4)** What do the C’s and a’s represent?\n\nThe Ca's and Cd's represent the approximate and detail coefficients for each level of decomposition. The approximate is the output\nof a low pass filter and the detail is the output of a high pass filter. For the next level, the approximate is passed through the low pass and high pass filter to get the coefficients for the next level. \n\n> **5)** What are LL, LH, HL, and HH?\n\nLL,LH,HL and HH are the corresponding Low-Low, Low-High, High-Low and High-High subbands from the wavelet decomposition. We have edited the figure and corrected the labeling. The labels for each image now follow the previously defined notations.\n\n### **Soundness**\n\n> **1)** Section 3.1: I believe this section aims to show that simply adding the DWT wavelets with equal weights does not yield a correct composition. However, this claim is supported by showing results over a single image from a single ViT model. I believe this experiment\nwould need a much larger sample size over images/models in order to make such a broad claim.\n\nThis is a minor confusion. The SSIM map (Figure 1) was computed over a representative image but plot (in the initial submission) showing the CKA scores (Figure 2) takes 200 images and averages their performance over all encoder layers. Taking the reviewer’s point into account we have conducted another experiment by taking a total of 10000 images (10 images/per class from imagenet-1k dataset). The current figure in the revised draft shows these results.\n\n> **2)** L216-217: The original compositionality formulation from Andreas 2019 is modified to shift the application of the encoder function\nfrom the input space to an arbitrary intermediate representation space within the model. If I’m understanding correctly, doesn’t this\nviolate the core premise of the problem statement? The purpose of compositionality tests is to find homomorphisms between the input\nspace and the representation space, this is important because the input space comes from the data generating function. I’m not sure if it\nmakes sense for this test to be defined for the transformation from one hidden layer to another. Minor, but I would suggest modifying the\nsentence “instead of drawing exact parallels, we tweak this statement to suit our analysis”, since the wording gives the impression that the\nformulation was modified to suit the narrative of the paper, rather than the needs of the original empirical question being asked.\n\nWe thank the reviewer for this observation. We regret the confusion caused by overlooking it. The proposed framework investigates the homomorphism from the input space to the embedding space learned by the ViTs. We have rectified the mistake in the\nrevised draft (L228-L234). To clarify, the model is indeed taking inputs from the input space (which is the image space), whose derivatives (wavelet decompositions) are fed to the model $f$ . To check for the compositionality of layer $l$, the encoder representations of that layer (transformation from the input to that layer) are fed to the composition function $\\hat{f_{\\eta}}$\n\n### Major Changes made in the revised draft\nWe thank all the reviewers for their constructive feedback. Based on their comments we have made some changes in the revised draft. They are listed as follows:\n\n* The experiments have been repeated with a significantly larger dataset (50k images from ImageNet-1k dataset with a train:val:test split of 60:20:20, previous results were for 10k images) for reliable results. Due to the limited time, we could only repeat the\n Level 1 experiments and we aim to complete the Level 2 results soon. **Only the level 1 results have been updated** in the revised d [...]\n\n### Official Response to Reviewer iA5z : Part One\nWe thank the reviewer for their constructive feedback. We hope to answer their queries point by point.\n\n### **Weaknesses**\n\n> **1)** My main concern is that the presented results do not convincingly demonstrate compositionality. Rather than defining true combinations of wavelet primitive representations, it appears that the learned weights mainly select the low-pass filtered image (Table 3). Indeed, it is not particularly surprising that the images in Figure 5 perform similarly to the original\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
5,
|
| 11 |
+
6
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 5.33,
|
| 14 |
+
"score_variance": 0.33,
|
| 15 |
+
"score_spread": 1,
|
| 16 |
+
"score_min": 5,
|
| 17 |
+
"score_max": 6,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": false,
|
| 20 |
+
"meta_review": "(a) Summary\n\nThis paper investigates how to test compositionality in ViT encoder. It presents a framework with compositionality setting initially proposed by Andreas 2019, and employs the Discrete Wavelet Transform (DWT) for analyzing the compositional structure of the vision input. The experiments indicate that the primitives with a one-level DWT decomposition as input leads to a certain degree of compositionality in the last layer of ViT encoder.\n\n(b) Strengths\n+ It is well motivated: the paper investigates an important problem in learning compositional representation.\n+ It is based on well-established work by Andreas.\n+ Wavelets are a common & natural way to encode image into primitives.\n\n(c) Weaknesses\n- The experimental setup is weak: this experiments need a much larger sample size over images/models in order to make such a broad claim on compositionality.\n- The experimental results do not support the claims: the presented results do not convincingly demonstrate compositionality.\n- Wavelets are for low-level representation not for higher-level layers compositionality.\n- It does not compare with other decompostion methods.\n- The clarity of the paper could be improved.\n\n(d) Decision\n\nThe investigation in this paper for understanding compositionality in ViT encoder layers is well-motivated. However, the experimental setting and results are not strong enoughful to support the claims on compositionality of encoders. I think the paper is not ready for publication in its curre",
|
| 21 |
+
"forum_id": "9dFCm4uZo8",
|
| 22 |
+
"primary_area": "interpretability and explainable AI",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_guFm",
|
| 27 |
+
"review_id": "if7n838E2a",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 5,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 3
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 6579,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 2135900,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": [
|
| 40 |
+
{
|
| 41 |
+
"to": 5
|
| 42 |
+
}
|
| 43 |
+
]
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"reviewer": "Reviewer_iA5z",
|
| 47 |
+
"review_id": "5vsOMmKXe2",
|
| 48 |
+
"scores": {
|
| 49 |
+
"rating": 5,
|
| 50 |
+
"soundness": 2,
|
| 51 |
+
"presentation": 2,
|
| 52 |
+
"contribution": 2,
|
| 53 |
+
"confidence": 3
|
| 54 |
+
},
|
| 55 |
+
"review_text_chars": 2452,
|
| 56 |
+
"edit_detected": true,
|
| 57 |
+
"edit_delta_seconds": 719315,
|
| 58 |
+
"post_rebuttal_text_signal": false,
|
| 59 |
+
"score_mentions_in_text": []
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"reviewer": "Reviewer_cTeu",
|
| 63 |
+
"review_id": "aPIghO2sWv",
|
| 64 |
+
"scores": {
|
| 65 |
+
"rating": 6,
|
| 66 |
+
"soundness": 3,
|
| 67 |
+
"presentation": 3,
|
| 68 |
+
"contribution": 2,
|
| 69 |
+
"confidence": 3
|
| 70 |
+
},
|
| 71 |
+
"review_text_chars": 2445,
|
| 72 |
+
"edit_detected": true,
|
| 73 |
+
"edit_delta_seconds": 2972920,
|
| 74 |
+
"post_rebuttal_text_signal": false,
|
| 75 |
+
"score_mentions_in_text": []
|
| 76 |
+
}
|
| 77 |
+
],
|
| 78 |
+
"any_review_edit_detected": true,
|
| 79 |
+
"any_post_rebuttal_text_signal": false,
|
| 80 |
+
"review_score_dimensions": [
|
| 81 |
+
"rating",
|
| 82 |
+
"soundness",
|
| 83 |
+
"presentation",
|
| 84 |
+
"contribution",
|
| 85 |
+
"confidence"
|
| 86 |
+
]
|
| 87 |
+
}
|
open_review/iclr2025_13839.md
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
- EXPLORING COMPOSITIONALITY IN VISION TRANS
|
| 4 |
+
|
| 5 |
+
FORMERS USING WAVELET REPRESENTATIONS
|
| 6 |
+
|
| 7 |
+
##
|
| 8 |
+
|
| 9 |
+
Authors withheld for review
|
| 10 |
+
|
| 11 |
+
## ABSTRACT
|
| 12 |
+
|
| 13 |
+
Insights into the workings of the transformer model have been elicited by analysing its representations when trained and tested on language data. In this paper, we turn an analytical lens on the representations learnt by the Vision Transformer (ViT) encoder. Specifically, we present a framework to test for compositionality in the ViT encoder. This framework is analogous to the compositionality setting proposed for representation learning in Andreas (2019). Crucial to drawing this analogy is the Discrete Wavelet Transform (DWT). The DWT is a simple yet effective tool for establishing the notion of input-dependent primitives in the vision setting. Our analysis explores the compositional structure induced by the DWT. Several tests are conducted to quantify the extent to which the encoder representations respect the compositional structure of the input space. This empirical analysis reveals interesting insights into compositionality in ViTs. One such insight is that the primitives from a one-level DWT representation of images satisfy compositionality in the representation space.
|
| 14 |
+
|
| 15 |
+
analysis explores the compositional structure induced by the DWT. Several tests are conducted to quantify the extent to which the encoder representations respect the compositional structure of the input space. This empirical analysis reveals interesting insights into compositionality in ViTs. One such insight is that the primitives from a one-level DWT representation of images satisfy compositionality in the representation space. 1 INTRODUCTION Vision Transformers (ViTs), in their supervised (Dosovitskiy et al., 2021), self-supervised (Caron et al., 2021) and unsupervised (He et al., 2022) variants, have spurred the development of computer vision applications that deliver consistently good performance. ViTs leverage the power of transformers, originally popularized in natural language processing tasks, to directly process images without relying on convolutions. This fusion of the transformer architecture with computer vision has opened new vistas for understanding and processing visual data. Image classification (Dosovitskiy et al., 2021), object detection (Li et al., 2022), semantic segmentation (Strudel et al., 2021), and image captioning and generation (Radford et al., 2021) are a few examples of computer vision tasks where ViTs have delivered state-of-the-art performance. It is natural to wonder why ViTs deliver the performance they do despite their origins in language models. Given their prevalence as backbones for generating image embeddings for various down- stream tasks, we focus our investigation on the representations themselves. Several works have investigated the inner workings of the ViT. (Raghu et al., 2021) show that the representations of ViT encoder layers are much more uniform than the CNN-based architectures. (Park & Kim, 2022) sheds light on the Multi-head Self Attention block and its optimization. (Bhojanapalli et al., 2021) test the ViT’s robustness to input and model perturbations. Their correlation analysis led to interesting findings about ViT models organizing themselves into correlated groups. Our motivation is along the lines of such studies attempting to understand the representations learned by ViTs and make them more explainable. Questions stemming from the basis of these studies led us to some interesting insights. The main contributions of this paper are summarized as follows. 1. A general framework for testing compositionality in ViT encoder representations that is analogous to the framework proposed by Andreas (2019) for representation learning. 2. The use of the Discrete Wavelet Transform (DWT) to generate basis sets (input-specific primitives) for images. To the best of our knowledge, previous works have not used this approach to analyse ViTs. 3. Promising empirical results that demonstrate compositionality in the encoder representations
|
| 16 |
+
|
| 17 |
+
It is natural to wonder why ViTs deliver the performance they do despite their origins in language models. Given their prevalence as backbones for generating image embeddings for various downstream tasks, we focus our investigation on the representations themselves. Several works have investigated the inner workings of the ViT. (Raghu et al., 2021) show that the representations of ViT encoder layers are much more uniform than the CNN-based architectures. (Park & Kim, 2022) sheds light on the Multi-head Self Attention block and its optimization. (Bhojanapalli et al., 2021) test the ViT’s robustness to input and model perturbations. Their correlation analysis led to interesting findings about ViT models organizing themselves into correlated groups. Our motivation is along the lines of such studies attempting to understand the representations learned by ViTs and make them more explainable. Questions stemming from the basis of these studies led us to some interesting insights. The main contributions of this paper are summarized as follows.
|
| 18 |
+
|
| 19 |
+
3. Promising empirical results that demonstrate compositionality in the encoder representations of the ViT. Interestingly, our analysis reveals that ViT patch representations at the last
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
encoder layer are compositional with respect to the DWT primitives induced by a one-level decomposition.
|
| 24 |
+
|
| 25 |
+
2 BACKGROUND
|
| 26 |
+
|
| 27 |
+
2.1 VISION TRANSFORMERS
|
| 28 |
+
|
| 29 |
+
Inspired by the success of transformers Vaswani et al. (2017) in natural language processing, (Dosovitskiy et al., 2021) successfully transferred its capabilities to vision tasks. The input image is divided into patches, and each patch is tokenized. Positional embeddings are added to preserve the spatial location of the patch. ViTs append a special CLS token to the input embeddings which is used for image classification. The dimension of all the patch representations stay constant throughout the encoder layers which gives the ViT model a lot of flexibility.
|
| 30 |
+
|
| 31 |
+
2.2 COMPOSITIONALITY IN REPRESENTATION LEARNING
|
| 32 |
+
|
| 33 |
+
Representational compositionality has been a field of study since the days of the connectionist
|
| 34 |
+
|
| 35 |
+
approach (Fodor & Pylyshyn, 1988; Chalmers, 1990). Its linguistic origins still make themselves
|
| 36 |
+
|
| 37 |
+
known in current research, with most investigations focusing on representations in natural language processing tasks and models (Chen et al., 2023; Li et al., 2023; Dziri et al., 2023). (Janssen, 2001) defines the principle of compositionality as “the meaning of a compound expression is a function of the meaning of its parts and of the syntactic rule by which they are combined". The notions of _meaning_ and _syntactic rules_ naturally lend themselves to the study of compositionality for language model representations.
|
| 38 |
+
|
| 39 |
+
Formally, if we abstract away the details of the input as well as those of downstream task, a compositional representation learner is one that learns a homomorphism between the space of its inputs and the space of its representations (Andreas, 2019), where a homomorphism _ϕ_ : _H → G_ is an injective map between two groups ( _H, ·_ ) and ( _G, ⊕_ ), such that if _ϕ_ ( _h_ 1) = _g_ 1 and _ϕ_ ( _h_ 2) = _g_ 2 for _h_ 1 _, h_ 2 _∈ H_ and _g_ 1 _, g_ 2 _∈ G_ , then _ϕ_ ( _h_ 1 _· h_ 2) = _g_ 1 _⊕ g_ 2.
|
| 40 |
+
|
| 41 |
+
The study of compositionality for language inputs is divided into two broad classes (Hupkes et al.,
|
| 42 |
+
|
| 43 |
+
2020), those that study the capacity for neural networks to generalize compositionally on artificial data and those that study the compositional nature of models trained on natural data. Investigations into the compositional nature of pretrained models are motivated, at least partly, by interpretability. A model that can break apart its input into meaningful pieces and reconstruct it in a human-understandable manner is more interpretable than one that does not do so. It is with interpretability in mind that we pursue our investigations into the representations learned by ViT.
|
| 44 |
+
|
| 45 |
+
Investigations into the compositional nature of transformer models in the NLP domain usually decompose the input space into a dictionary of words. This dictionary acts as the fundamental set using which all sentences are created. However, in the image domain, it is difficult to construct a dictionary of _visually meaningful_ images since the image space is continuous. In other words, we cannot construct a dictionary with infinite cardinality. This difficulty is additionally compounded by the uninterpretable nature of the canonical basis in image space, the set of _H × W × C_ matrices with every element being 0 except for a single 1 at some position. Thus, we propose a different approach to decompose an image into its visually meaningful primitives, turning to analytical tools from signal processing. 2.3 DISCRETE WAVELET TRANSFORM (DWT) While the Fourier series and Fourier transform are excellent tools for analyzing the frequency
|
| 46 |
+
|
| 47 |
+
spectrum of images, they do not provide localization in the pixel domain. In other words, the Fourier
|
| 48 |
+
|
| 49 |
+
spectrum of an image is not visually meaningful. The DWT Daubechies (1992) stands out among
|
| 50 |
+
|
| 51 |
+
time-frequency analysis tools due to its unique ability of time-frequency localization. Specifically, the
|
| 52 |
+
|
| 53 |
+
sub-band decomposition of an image obtained by applying the DWT forms an ideal input-dependent primitive. The invertibility of the sub-band decomposition enables lossless reconstruction making the DWT our tool of choice for compositionality analysis. After the introduction of ViTs, the DWT has been used for lossless downsampling to address their efficiency-vs-accuracy tradeoff (Yao et al., 2022).
|
| 54 |
+
|
| 55 |
+
2
|
| 56 |
+
|
| 57 |
+
(a) Image (b) SSIM maps Figure 1: SSIM maps for each channel (R,G,B). For each encoder layer output, the original image’s representation is compared with the composed image representation. The SSIM maps shown here are **119 after** comparison. There is no immediate notion of compositionality present visually. Zhang et al. (2024) also employs the DWT to improve the quality of the input in a transformer-based network. However, to our knowledge, the DWT has not been used to explore compositionality in ViTs. 2.4 COMPOSITIONALITY OF IMAGE REPRESENTATIONS When inputs belong to the pixel space, and a neural network learns input representations, the groups across which compositionality is studied are vector spaces. These spaces need to be equipped with a binary operation that satisfies the group axioms, the natural choice being vector addition. A homomorphism between two vector spaces _V_ and _W_ reduces to a linear map _T_ : _V → W_ . This map is completely defined by its action on the basis set _{v_ 1 _, v_ 2 _, ...}_[1] of _V_ . Thus, we come to our central assertion that the ideal compositional representation learner is one that is capable of preserving the structure of vector addition between the pixel and representation spaces. This behaviour is obviously not preserved in real models trained on real data, not the least because of the deep nesting of non-linearities. Thus, the question becomes one of _finding_ a composition method in latent space instead of asserting that it is simply addition.
|
| 58 |
+
|
| 59 |
+
To quantify this behaviour, we aim to study the evolution of the representations of the basis set as it moves through the model. In latent space, we recompose the primitives’ representations in a manner analogous to pixel space and compare the resultant representations with that of the original image. This method acts as a lens into the manifolds learned by each encoder layer. To make this analysis manageable, we focus on compositionality in the last encoder layer. 3 COMPOSITIONALITY ANALYSIS 3.1 CAPTURING COMPOSITIONALITY The wavelet reconstruction in the image space gives back the original image without any loss of information. The obvious approach to check the compositionality of the model would be to see how the reconstruction behaves in the representation space of the encoder layers. Suppose _da, db, dc, dd_ are Level 1 wavelet coefficients of image _I_ such that _DWT_ ( _I_ ) = ( _da,_ ( _db, dc, dd_ )) _da, db, dc, dd_ can also be referred as Low-Low (LL), Low-High(LH), High-Low(HL) and High- High(HH) frequency bands. Then, _Da_ = _IDWT_ ( _da_ ); _Db_ = _IDWT_ ( _db_ ); _Dc_ = _IDWT_ ( _dc_ ); _Dd_ = _IDWT_ ( _dd_ ) _I_ = _Da_ + _Db_ + _Dc_ + _Dd_ (1) where IDWT is the Inverse Discrete Wavelet Transform and _Da, Db, Dc, Dd_ are the corresponding reconstructed images of individual coefficients. We analyse if such composition (1) of the recon- structed encoder layer representations also gives the image’s encoder layer representation. We identify
|
| 60 |
+
|
| 61 |
+
> 1We also refer to bases as _primitives_
|
| 62 |
+
|
| 63 |
+
3
|
| 64 |
+
|
| 65 |
+
two metrics, Structural Similarity Index metric (SSIM) (Wang et al., 2004) and Centered Kernel Alignment(CKA) (Kornblith et al., 2019) to measure the similarities between the image’s encoder layer representation and the composition of the reconstructed layer encoder representation. SSIM is a perceptual metric and takes into account local patterns of pixel intensities, their correlation, and spatial arrangements. CKA is used to compare the similarity between two sets of high-dimensional feature vectors (often from neural network layers). Using these metrics we perform two analyses,
|
| 66 |
+
|
| 67 |
+
- 1. We use the SSIM map (Wang et al., 2004) to visualize any structural similarities between the original and the composed representations. To do this, we reshape the encoder layer representation _EL_ ( _I_ ) _[N][−]_[1] _[×][D] −→ EL_ ( _I_ ) _[W][ ×][H][×][C]_ where _N_ is the number of tokens ( _N −_ 1 to exclude the CLS token), and _D_ is the hidden dimension of encoder layer. We measure the SSIM across the channels.
|
| 68 |
+
|
| 69 |
+
2. We plot the CKA (Kornblith et al., 2019) scores for all encoder layers between the composed representation and the image representation. To do this experiment, we take a sample of 10k images(10 images per class) from the imagenet-1k dataset and average the CKA scores over all encoder layers.
|
| 70 |
+
|
| 71 |
+
Figure 1 presents the SSIM maps computed for a sam- ple image, and Figure 2 presents the CKA scores averaged over 10K images from the ILSVRC validation set over the ViT-Base representations. Both the maps and the scores, unsurprisingly, do not provide any evidence of compositionality or structural similarity between the representations. It is difficult to digest that by simply adding the individual wavelet representations would per- fectly give back the original image’s representation, but this also invites the possibility that the reconstruction of these primitives in the representation space is different from the reconstruction in the image space. This leads to see if we can learn such a composition function, if it exists, Figure 2: CKA scores of original vs com- by relaxing the constraint that each wavelet representation posed representations at various encoder has to be equally weighted. layers of ViT-B averaged over 10K im- ages. 3.2 DRAWING PARALLELS FROM EXISTING WORKS The inspiration for a framework to study compositionality in ViTs stems from the work by Andreas (2019). The paper offers a framework to measure compositionality in deep learning models, particularly neural networks. In the context of this paper, compositionality refers to the ability of system to represent complex ideas using simpler concepts. The framework evaluates a metric to measure how well an **200201** explicitly compositional model _f_[ˆ] _η_ can approximate a complex model _f_ . In order to draw parallels, we summarize our understanding of their framework, with corresponding analogies to our approach: **202 203 1) Representations** : We consider a _model f_ : _X −→_ Θ, where _X_ is a dataset of observations and Θ is a space of representations _θ_ . The representations produced by _f_ are analyzed via the proposed framework for compositional behavior. **206 Analogy** : _model f_ : _X −→_ Θ is the ViT model, _X_ is the dataset consisting of images and Θ is the ViT encoder representation space with representations _θ_ . **207 208 2) Derivations** : The inputs from dataset _X_ can be realised with tree structured derivations _d_ defined by a finite set _D_ 0, consisting of primitives, along with a bracketing operation _⟨., .⟩_ such that if _di_ and _dj_ are derivations, _⟨di, dj⟩_ is also a derivation. A derivation oracle _D_ : _X −→D_ is used to extract the derivatives.
|
| 72 |
+
|
| 73 |
+
Figure 2: CKA scores of original vs composed representations at various encoder layers of ViT-B averaged over 10K images.
|
| 74 |
+
|
| 75 |
+
> **212 Analogy** : The DWT offers a way to construct the inputs from a tree structure (Figure 3) of its
|
| 76 |
+
|
| 77 |
+
respective wavelet coefficients. Although the set of all such wavelet primitives is infinite (2.2), if _di_ and _dj_ are derivations (read, wavelet primitives), then their combination is also a derivation. Our oracle _D_ is the DWT itself which constructs the derivation of an image.
|
| 78 |
+
|
| 79 |
+
4
|
| 80 |
+
|
| 81 |
+
**216 3) Compositionality** : The model _f_ is compositional if it is a homomorphism from input space to representation space. A composition operation _∗_ : _θa ∗ θb �→ θ_ is defined such that for any _x_ with _D_ ( _x_ ) = _⟨D_ ( _xa_ ) _, D_ ( _xb_ ) _⟩_ , _f_ ( _x_ ) = _f_ ( _xa_ ) _∗ f_ ( _xb_ ) Although such primitives whose composition exactly repro- duces the model’s prediction may not exist, can the candidate primitives approximate the input’s representation? If a learnable compositional model _f_[ˆ] _η_ with parameters _η_ can approximate _f_ it could serve as a measure of compositionality for the model. **228 Analogy** : The model _f_ : _X −→_ Θ is the ViT model. We can consider the ViT model till an intermediate encoder layer _l_ such that _fl_ : _X −→_ Θ also operates from the same input space into the encoding layer _l_ . Then the compositional model _f_[ˆ] _η_ ( _d_ ) : _X −→_ Θ can be viewed as an approximation of encoder layer _fl_ from the input space. With this perspective, we can study the compositionality of any encoder layer of the ViT architecture. 3.3 COMPOSITIONALITY FRAMEWORK FOR VITS for its unique ability to capture temporal resolution. It is a reconstruction property makes image _I_ , it can be discretely represented by its wavelet coefficients as, _W −_ 1 _H−_ 1 _M W −_ 1 _IW ×H_ = � � _AM,i,jϕM,i,j_ + � � _i_ =0 _j_ =0 _m_ =1 _i_ =0 _,j_ where _AM,i,jM,i,j_ = _⟨IW ×HIW ×HW ×H ×HH , ϕM,i,j⟩M,i,j⟩⟩_ and _DM,i,jM,i,j[[k]]_[[=]] _[[⟨][I][W][ ×][H]][[I][W][ ×][H]][[W][ ×][H]][[ ×][H]][[H]][[, ψ][k]]_ coefficients respectively, and _k_ is the sub-band index, and wavelet bases respectively. the approximation of the image at level _M_ from level 1 to _M_ Let _Ell_ : R R _[[W][ ×][H][×][C]][[ ×][H][×][C]][[H][×][C]][[×][C]][[C]] −→_ R _[[N]][[×][D]][[D]]_ and outputs a set of _N_ token vectors of length _D_ from the _l_[[t]] _[[h]]_ encoder layers (i.e., 1 1 _≤ l ≤ ≤ L_ ). _L W −_ 1 _H−_ 1 _M W −_ 1 � _||El_ ( _I_ ) _−_ ( _El_ ( � � _AM,i,jϕM,i,j_ ) + � _El_ ( _l_ =1 _i_ =0 _j_ =0 _m_ =1 _i_ =0 _,j_ The preliminary analysis presented in Figs. 1 and representations, we modify the question to _W −_ 1 _H−_ 1 _M W_ _El_ ( _I_ ) _≈ gη_ ( _El_ ( � � _AM,i,jϕM,i,j_ ) _,_ � _El_ ( _i_ =0 _j_ =0 _m_ =1 _i_ tations at layer _l_ of the encoder where _gηη_ ( _._ ) is a learnable composition function (with parameters _η_ ) of the primitive representations? To emphasize, _gηη_ ( _._ ) attempts to find the best possible
|
| 82 |
+
|
| 83 |
+
**==> picture [140 x 134] intentionally omitted <==**
|
| 84 |
+
|
| 85 |
+
Figure 3: Tree structure of Discrete Wavelet Transform. S represents the input signal. _Cai, Cdi_ represent the approximate and detail coefficients of _i[th]_ level.
|
| 86 |
+
|
| 87 |
+
To generate the primitives set for pixel space, we turn to the 2D Discrete Wavelet Transform (DWT). The DWT has long been employed as a tool for time-frequency analysis due to its invertibility and for its unique ability to capture temporal resolution. It is a great fit for our work since its exact reconstruction property makes it an ideal tool for studying compositionality. Given any _W × H_ image _I_ , it can be discretely represented by its wavelet coefficients as,
|
| 88 |
+
|
| 89 |
+
**==> picture [335 x 32] intentionally omitted <==**
|
| 90 |
+
|
| 91 |
+
where _AM,i,jM,i,j_ = _���IW ×HIW ×HW ×H ×HH , ϕM,i,j⟩M,i,j⟩⟩_ and _DM,i,jM,i,j[[k]]_[[=]] _[[⟨][I][W][ ×][H]][[I][W][ ×][H]][[W][ ×][H]][[ ×][H]][[H]][[, ψ][k]] M,i,j[[k]][⟩]_[are the approximation and detail] coefficients respectively, and _k_ is the sub-band index, and _ϕ, ψ_ are the approximation and detail wavelet bases respectively. An orthogonal decomposition is assumed in this work. The first term is the approximation of the image at level _M_ and the second term represents all of the detail coefficients from level 1 to _M_ , which, when added to the approximation coefficient, gives finer details.
|
| 92 |
+
|
| 93 |
+
Let _Ell_ : R R _[[W][ ×][H][×][C]][[ ×][H][×][C]][[H][×][C]][[×][C]][[C]] −→_ R _[[N]][[×][D]][[D]]_ be a function that accepts an image input of dimension _W × H × C_ and outputs a set of _N_ token vectors of length _D_ from the _l_[[t]] _[[h]]_ layer of a vision transformer with _L_ encoder layers (i.e., 1 1 _≤ l ≤ ≤ L_ ).
|
| 94 |
+
|
| 95 |
+
We investigate the following question to check for the compositionality of a ViT model. Is
|
| 96 |
+
|
| 97 |
+
**==> picture [388 x 32] intentionally omitted <==**
|
| 98 |
+
|
| 99 |
+
The preliminary analysis presented in Figs. 1 and 2 gives a negative answer to the above question.
|
| 100 |
+
|
| 101 |
+
Considering the highly non-linear nature of the ViT model and the high dimensional space of the representations, we modify the question to
|
| 102 |
+
|
| 103 |
+
**==> picture [359 x 32] intentionally omitted <==**
|
| 104 |
+
|
| 105 |
+
i.e., can we approximate the composition of the primitive representations to the original representations at layer _l_ of the encoder where _gηη_ ( _._ ) is a learnable composition function (with parameters _η_ ) of the primitive representations? To emphasize, _gηη_ ( _._ ) attempts to find the best possible _linear combination_ of the primitive representations.
|
| 106 |
+
|
| 107 |
+
5
|
| 108 |
+
|
| 109 |
+
Figure 4: Overview of the proposed compositionally framework for ViTs. The figure presents learning the composition function for Level 1 DWT decomposition. _Da_ , _Db_ , _Dc_ , _Dd_ are the coefficients of the wavelet decomposition discussed in 1 . We argue that popular distance metrics between these two representations might not be a reliable way of measuring similarity due to the curse of dimensionality. Instead, we aim to look at the final layer output of the classification head and minimize the loss between the original image’s final output and the approximate _linearly combined_ final output. Since we are not modifying any of the ViT model’s parameters while training this approximate model, we affirm that all our analyses are post-hoc and still viable probes for understanding the pretrained ViT model. Hence, our reformulated question to check the compositionality becomes, _η[∗]_ = arg min _L_ [ _Ec_ ( _El_ ( _I_ )) _, Ec_ ( _gη[∗]_[(˜] _[I]_[))]] _[,]_ (5) _η_ _W −_ 1 _H−_ 1 _M W −_ 1 _,H−_ 1 3 _I_ ˜ = ( _El_ ( � � _AM,i,jϕM,i,j_ ) _,_ � _El_ ( � � _Dm,i,j[k][ψ] m,i,j[k]_[))] (6) _i_ =0 _j_ =0 _m_ =1 _i_ =0 _,j_ =0 _k_ =1 where _L_ is the loss function, _Ec_ : R _[N][×][D] −→_ R[1] _[×][C]_ is the classifier head of the ViT and _El_ is the encoder layer output. The composition function _gη_ ( _._ ) with optimal parameters _η[∗]_ is denoted _gη[∗]_[(] _[.]_[)][.] Figure 4 visualizes our proposed framework to learn the composition function _gη[∗]_[(] _[.]_[)][.][For readability,] we drop the subscript and simply use _g[∗]_ ( _._ ). 4 EXPERIMENTAL SETUP AND RESULTS The framework discussed in the previous section was implemented with the following details. We use the ImageNet-1k (Deng et al., 2009) dataset, which consists of 1000 classes. A sample of 50 images from each class is taken, and the entire set (50,000 samples) is divided into a 60:20:20 train:val:test split. To generate the dataset required for the composition function _g[∗]_ , we extract the encoder layer representations _El_ ( _I_[˜] ), specifically the cls token of the representation, for each wavelet coefficient. These tokens then act as input to _g[∗]_ , and we get the composed cls token. The target is the final classification layer output of the original image (not the ground truth classification label). We optimize the loss (Cross-Entropy loss) only to learn _g[∗]_ ’s parameters while keeping the ViT’s parameters frozen. The models are trained for 100 epochs using SGD optimizer with a learning rate of 0.001. We restrict our analysis to two levels of DWT decomposition using two different wavelet bases (Haar and db4). We also include two variants of ViT, ViT-B, and ViT-L, both pretrained on the ImageNet-21k dataset (14 million images, 21k classes), to gain insights from different architectures and validate our framework for generalizability. To address relaxation of the equal weight constraint mentioned in section 3.1 we experiment with three ideas,
|
| 110 |
+
|
| 111 |
+
6
|
| 112 |
+
|
| 113 |
+
- 1. Relaxing the equal weight constraint but maintaining convexity (Convex). The parameters _η_
|
| 114 |
+
|
| 115 |
+
- of the composition model _g[∗]_ are trained such that[�] _i[η][i]_[= 1][ and] _[ η][i][≥]_[0] _[∀][η][i][∈][η]_[.] 2. Relaxing the convexity constraint but maintaining non negativity (Conic). The parameters _η_
|
| 116 |
+
|
| 117 |
+
- of the composition model _g[∗]_ are trained such that _ηi ≥_ 0 _∀ηi ∈ η_ .
|
| 118 |
+
|
| 119 |
+
3. Relaxing all constraints (Unconstrained). We used the same subset of images from the ImageNet-1k to learn the composition function _g[∗]_ for these three variations. While the framework can be used to study any encoder layer in the model, we restrict our analysis to the last layer, whose outputs are often inputs to downstream tasks. 4.1 COMPOSITION APPROXIMATION: ACCURACY OF LEARNED MODEL ON GROUND TRUTH Our initial analysis brings us back to our first question (eq. 3) posed in section 3.3. We compare the accuracy of the representations composed following (eq. 3) and that of the learned composition model. Table 1 compares the original ViT’s representations, representations of the individual wavelet decompositions when summed, and the representation given by the proposed composition model. These results give us a clear picture of how the learned representations perform significantly better than just the summed representations. It can be observed that the performance for level 1 decomposition is almost on par with the original ViT model’s accuracy. Also, note that the results clearly demonstrate that the learned composition function satisfies the compositionality for level 1 decomposition. Learned Model Original Summed Unconstrained Conic Convex ViT-B (Haar-level 1) 0.792 0.13 0.775 0.775 0.771 ViT-B (db4-level 1) 0.792 0.13 0.777 0.775 0.772 ViT-L (Haar-level 1) 0.809 0.18 0.797 0.795 0.795 ViT-B (Haar-level 2) 0.83 0.005 0.51 0.5 0.48 ViT-B (db4-level 2) 0.83 0.005 0.51 0.51 0.48 ViT-L (Haar-level 2) 0.82 0.003 0.63 0.62 0.59 Table 1: Accuracies of original representations vs. summed representations vs. learned compositions. Note that the learned representations perform significantly better than just the summed representations. Model Unconstrained Conic Convex ViT-B (haar-level 1) 0.87 0.87 0.86 ViT-B (db4-level 1) 0.9 0.9 0.89 ViT-L (haar-level 1) 0.92 0.91 0.91 ViT-B (haar-level 2) 0.53 0.51 0.49 ViT-B (db4-level 2) 0.69 0.68 0.61 ViT-L (haar-level 2) 0.65 0.64 0.61 Table 2: Relative accuracy of the learned composition models. Note that the target for the composed representation is the output predicted by the original image classifier (not the ground truth label). 4.2 COMPOSITION APPROXIMATION: UNDERSTANDING THE LEARNED MODEL WEIGHTS Model Unconstrained Conic Convex ViT-B (haar) [ 2.02, -0.18, 0.43, 0.18] [1.67, 0.34, 0.57, 0.02] [0.66, 0.11, 0.10, 0.12] ViT-B (db4) [ 2.02, 0.1, -0.15, -0.16] [1.65, 0.12, 0.63, 0.03] [0.62, 0.09, 0.25, 0.03] ViT-L (haar) [ 1.93, 0.16, -0.02, 0.25] [1.81, 0.28, 0.13, 0.44] [0.68, 0.1, 0.05, 0.16] Table 3: Weights learned by the proposed composition model ( _g[∗]_ ) for level 1 wavelet decomposition of the images. To see how well our learned composition function _g[∗]_ approximates the original image’s representation, we compute the relative accuracy (by considering the **original model’s (ViT)** output as the ground
|
| 120 |
+
|
| 121 |
+
7
|
| 122 |
+
|
| 123 |
+
Model Unconstrained Conic Convex ViT-B (haar) [1.32, 0.35, -0.07, -0.14, 0.65, -0.20, 0.21] [1.88, 0.61, 0.35, 0.17, 0.10, 0.10, 0.44] [0.42, 0.13, 0.05, 0.13, 0.07, 0.10, 0.06] ViT-B (db4) [1.52, -0.18, 0.06, 0.30, 0.35, 0.16, -0.21] [1.64, 0.40, 0.12, 0.02, 0, 0.03, 0] [0.43, 0.11, 0.08, 0.07, 0.14, 0.06, 0.08] ViT-L (haar) [1.52, -0.01, -0.21, 0.29, 0.06, -0.01, 0.34] [1.82, 0.29, 0.32, 0.17, 0, 0.33, 0.23] [0.40, 0.11, 0.10, 0.08, 0.09, 0.06, 0.13] Table 4: Weights learned by the proposed composition model ( _g[∗]_ ) for level 2 wavelet decomposition of the images. Model Original Acc Low-pass Coefficient Acc Learned(Convex) Acc ViT-B (haar-level 1) 0.792 0.494 0.771 Table 5: Accuracy of the Original Image’s representation, Low pass filtered image’s representation and the learned composed representation on the testset. The results highlight the importance of other coefficients. truth). Table 2 presents those results. It is interesting to note that the relative accuracies are similar across different constraints (variations of _g[∗]_ ). In order to investigate this further, we look at the learned model weights in Table 3 and Table 4. The learned model _g[∗]_ consistently weighs the approximation(Low-pass filtered image) coefficient i.e the first value, much more than the other coefficients in the representation space. Although the weights of the other coefficients are significant, it does leave some doubts whether they offer sufficient contribution. A simple experiment was conducted using the same testset to check if the approximation coefficient is enough to classify the image. The results 5 demonstrate that the other coefficients considerably improve the performance and further adds to notions of compositionality. It is worth mentioning that there is no discernible pattern among the parameters. There is a lot of variation among the weights assigned for different _g[∗]_ ’s but the performance is quite similar. There could be multiple such compositions for an encoder layer, which leads to further questions about the representation space. 4.3 COMPOSITION APPROXIMATION: LEARNED RECONSTRUCTED IMAGE ANALYSIS In this subsection, we investigate how the weights learned by the proposed composition function ( _g[∗]_ ) affect the primitives (wavelet sub-bands). In other words, we apply the weights learned for the ViT encoder embeddings on their corresponding wavelet sub-bands in the image space. We consider a subset of 200 images to conduct this analysis. Table 6 presents the accuracy of the ViT model when the reconstructed images are processed. Note that although there is a significant drop in level 2 accuracies, the learned weights translate back much better for level 1 decomposition. Figure 5 visualizes the reconstructed images using Level 1 ViT-B (haar) model and Level 2 ViT-B (haar) model. The interesting thing to note is that the convex combination of the sub-bands in the image space significantly affect the pixel intensities. But the performance is still on par with other learned models. Model Original Unconstrained Conic Convex ViT-B (haar-level 1) 0.79 0.72 0.72 0.76 ViT-B (db4-level 1) 0.84 0.81 0.81 0.82 ViT-B (haar-level 2) 0.84 0.58 0.48 0.64 ViT-B (db4-level 2) 0.84 0.49 0.51 0.65 ViT-L (haar-level 1) 0.83 0.82 0.82 0.80 ViT-L (haar-level 2) 0.83 0.63 0.68 0.71 Table 6: Accuracy of ViT-B on the reconstructed images according to the weights learned by the proposed composition model ( _g[∗]_ ). 4.4 COMPOSITION APPROXIMATION: ERROR ANALYSIS While the classification performance of the proposed compositional model presented in the previous sections gives a broader picture, a natural question regarding the error in composition arises. In this subsection, we attempt to compare the compositional model’s predictions, particularly its misclassifications, against that of the original model. Note that given the downstream task is
|
| 124 |
+
|
| 125 |
+
8
|
| 126 |
+
|
| 127 |
+
(a) Reconstructed Images for Level 1 ViT-B(haar) model (b) Reconstructed Images for Level 2 ViT-B(haar) model (c) Reconstructed Images for Level 1 ViT-B(haar) model (d) Reconstructed Images for Level 2 ViT-B(haar) model
|
| 128 |
+
|
| 129 |
+
Figure 5: Reconstructed images when the weights of the learned composition model _g[∗]_ are applied in the input space. In other words, these reconstructions are the result of applying the weights learned by _g[∗]_ on the corresponding sub-bands of the original image. classification, the error in composition is analyzed via the prediction discrepancies. We reckon it would be interesting to explore other ways to study the error in composition. In this preliminary experiment, a sample of 1000 images is taken from the Imagenet-1K dataset, and the performance of both the original and the compositional model (level 1 DWT decomposition) is discussed on the basis of the following.
|
| 130 |
+
|
| 131 |
+
• Percentage of images where the original model is accurate and the learned model is inaccu- rate (ErrLearned _¬_ Org). • Percentage of images where the learned model is accurate and the original model is inaccu- rate (ErrOrg _¬_ Learned).
|
| 132 |
+
|
| 133 |
+
- Percentage of images where both the models are inaccurate (Errboth).
|
| 134 |
+
|
| 135 |
+
9
|
| 136 |
+
|
| 137 |
+
(a) Examples images for ErrLearned _¬_ Org. (b) Example images for ErrOrg _¬_ Learned. The erred prediction is by the learned model. The erred prediction is by the original model. (c) Sample Images for Errboth. The erred prediction is by both models. Figure 6: Sample Images from the test set on which the experiment was conducted. Model ErrLearned ErrOrg ErrLearned _¬_ Org ErrOrg _¬_ Learned Errboth ViT-BUnconstrained(Level-1 haar) 19.7% 17.1% 3.8% 1.2% 15.9% ViT-BConic(Level-1 haar) 19.7% 17.1% 3.8% 1.2% 15.9% ViT-BConvex(Level-1 haar) 20.4% 17.1% 4.3% 1% 16.1% Table 7: Errors noted on the sample test set using the learned composition model. The percentage is calculated on the basis of the sample test set (1000 images). It is important to note that there are a fraction of samples on which the learned composition performs better than the original model. The results shown in Table 7 provide some insights regarding the learned model’s performance. It is not surprising that it commits relatively more errors than the original, but it also performs better on some images. This preliminary analysis and the visual examples (Figure 6) provide sufficient motivation to further analyze the role of individual wavelet representations towards the model’s prediction. 5 CONCLUSION AND FUTURE WORK Our work explores notions of compositionality present in the ViT encoder layer representations. We present a general framework to measure compositional behaviour in encoder layers of ViT-based architectures. Fundamental to this framework is the use of the DWT representation as an input- dependent primitive. Our findings indicate the possibility of compositional behaviour in the ViT model. Specifically, we provide evidence for compositionality in the last encoder layer when primitives induced by a one-level DWT decomposition are applied. While our present analysis is restricted to the final encoder layer, we aim to explore all the encoder layers for potential compositionality. We hope this work leads to further analysis for explainability in ViT’s. 6 REPRODUCIBILITY
|
| 138 |
+
|
| 139 |
+
The code for implementing the proposed compositionality framework is provided at Compositionalityin-ViT-s
|
| 140 |
+
|
| 141 |
+
10
|
| 142 |
+
|
| 143 |
+
## REFERENCES
|
| 144 |
+
|
| 145 |
+
- Jacob Andreas. Measuring compositionality in representation learning. In _7th International Confer-_ _ence on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019_ . OpenReview.net, 2019. URL [URL removed]
|
| 146 |
+
|
| 147 |
+
- Srinadh Bhojanapalli, Ayan Chakrabarti, Daniel Glasner, Daliang Li, Thomas Unterthiner, and
|
| 148 |
+
|
| 149 |
+
- Andreas Veit. Understanding robustness of transformers for image classification. In _Proceedings_ _of the IEEE/CVF international conference on computer vision_ , pp. 10231–10241, 2021.
|
| 150 |
+
|
| 151 |
+
- Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In _Proceedings of the_ _IEEE/CVF international conference on computer vision_ , pp. 9650–9660, 2021. D. Chalmers. Why fodor and pylyshyn were wrong : the simplest refutation. _Proceedings of the_
|
| 152 |
+
|
| 153 |
+
- _Twelfth Annual Conference of the Cognitive Science Society, Cambridge_ , pp. 340–347, 1990. URL [URL removed] Jiaao Chen, Xiaoman Pan, Dian Yu, Kaiqiang Song, Xiaoyang Wang, Dong Yu, and Jianshu Chen. Skills-in-context prompting: Unlocking compositionality in large language models. _ArXiv_ , abs/2308.00304, 2023. URL [URL removed] 260351132.
|
| 154 |
+
|
| 155 |
+
- Ingrid Daubechies. Ten lectures on wavelets. _Society for industrial and applied mathematics_ , 1992. Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hier- archical image database. In _2009 IEEE Conference on Computer Vision and Pattern Recognition_ , pp. 248–255, 2009. doi: 10.1109/CVPR.2009.5206848. Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas
|
| 156 |
+
|
| 157 |
+
- Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit,
|
| 158 |
+
|
| 159 |
+
- and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In _International Conference on Learning Representations_ , 2021. URL [URL removed] net/forum?id=YicbFdNTTy. Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Sean Welleck, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sanyal, Xiang Ren, Allyson Ettinger, Zaid Harchaoui, and Yejin Choi. Faith and fate: Limits of transformers on compositionality. In _Thirty-seventh Conference on Neural Information Processing Systems_ , 2023.
|
| 160 |
+
|
| 161 |
+
- URL [URL removed]
|
| 162 |
+
|
| 163 |
+
- Jerry A. Fodor and Zenon W. Pylyshyn. Connectionism and cognitive architecture: A crit- ical analysis. _Cognition_ , 28(1):3–71, 1988. ISSN 0010-0277. doi: [URL removed] 1016/0010-0277(88)90031-5. URL [URL removed] article/pii/0010027788900315. Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked
|
| 164 |
+
|
| 165 |
+
- autoencoders are scalable vision learners. In _Proceedings of the IEEE/CVF conference on computer_
|
| 166 |
+
|
| 167 |
+
- _vision and pattern recognition_ , pp. 16000–16009, 2022.
|
| 168 |
+
|
| 169 |
+
- Dieuwke Hupkes, Verna Dankers, Mathijs Mul, and Elia Bruni. Compositionality decomposed: How do neural networks generalise? (extended abstract). In Christian Bessiere (ed.), _Proceedings of the_ _Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20_ , pp. 5065–5069. International Joint Conferences on Artificial Intelligence Organization, 7 2020. doi: 10.24963/ ijcai.2020/708. URL [URL removed] Journal track.
|
| 170 |
+
|
| 171 |
+
- Theo M. V. Janssen. Frege, contextuality and compositionality. _Journal of Logic, Language, and_
|
| 172 |
+
|
| 173 |
+
- _Information_ , 10(1):115–136, 2001. ISSN 09258531, 15729583. URL [URL removed] org/stable/40180264. Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited, 2019. URL [URL removed]
|
| 174 |
+
|
| 175 |
+
11
|
| 176 |
+
|
| 177 |
+
- Yanghao Li, Hanzi Mao, Ross Girshick, and Kaiming He. Exploring plain vision transformer
|
| 178 |
+
|
| 179 |
+
- backbones for object detection. In _European Conference on Computer Vision_ , pp. 280–296. Springer, 2022.
|
| 180 |
+
|
| 181 |
+
- Yingcong Li, Kartik K. Sreenivasan, Angeliki Giannou, Dimitris Papailiopoulos, and Samet Oymak. Dissecting chain-of-thought: Compositionality through in-context filtering and learning. In _Neural Information Processing Systems_ , 2023. URL [URL removed] org/CorpusID:265051253.
|
| 182 |
+
|
| 183 |
+
-
|
| 184 |
+
|
| 185 |
+
- Namuk Park and Songkuk Kim. How do vision transformers work? In _International Confer-_ _ence on Learning Representations_ , 2022. URL [URL removed] D78Go4hVcxO.
|
| 186 |
+
|
| 187 |
+
-
|
| 188 |
+
|
| 189 |
+
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal,
|
| 190 |
+
|
| 191 |
+
- Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever.
|
| 192 |
+
|
| 193 |
+
- Learning transferable visual models from natural language supervision. In Marina Meila and Tong
|
| 194 |
+
|
| 195 |
+
- Zhang (eds.), _Proceedings of the 38th International Conference on Machine Learning_ , volume 139 of _Proceedings of Machine Learning Research_ , pp. 8748–8763. PMLR, 18–24 Jul 2021. URL [URL removed] Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), _Advances in Neural Information Processing Systems_ ,
|
| 196 |
+
|
| 197 |
+
- 2021. URL [URL removed]
|
| 198 |
+
|
| 199 |
+
-
|
| 200 |
+
|
| 201 |
+
- Robin Strudel, Ricardo Garcia, Ivan Laptev, and Cordelia Schmid. Segmenter: Transformer for semantic segmentation. In _Proceedings of the IEEE/CVF international conference on computer_ _vision_ , pp. 7262–7272, 2021. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,
|
| 202 |
+
|
| 203 |
+
- Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. Von
|
| 204 |
+
|
| 205 |
+
- Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), _Ad-_ _vances in Neural Information Processing Systems_ , volume 30. Curran Associates, Inc., 2017. URL [URL removed] file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf. Zhou Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli. Image quality assessment: from error visibility to structural similarity. _IEEE Transactions on Image Processing_ , 13(4):600–612, 2004.
|
| 206 |
+
|
| 207 |
+
- doi: 10.1109/TIP.2003.819861.
|
| 208 |
+
|
| 209 |
+
-
|
| 210 |
+
|
| 211 |
+
- Ting Yao, Yingwei Pan, Yehao Li, Chong-Wah Ngo, and Tao Mei. Wave-vit: Unifying wavelet and transformers for visual representation learning, 2022. URL [URL removed] 2207.04978. Shengli Zhang, Zhiyong Tao, and Sen Lin. Waveletformernet: A transformer-based wavelet network
|
| 212 |
+
|
| 213 |
+
- for real-world non-homogeneous and dense fog removal, 2024. URL [URL removed]
|
| 214 |
+
|
| 215 |
+
- abs/2401.04550.
|
| 216 |
+
|
| 217 |
+
-
|
| 218 |
+
|
| 219 |
+
12
|
| 220 |
+
|
open_review/iclr2025_13841.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13841",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "How Well Can LLMs Synthesize Molecules? An LLM-Powered Framework for Multi-Step Retrosynthesis",
|
| 6 |
+
"abstract": "Predicting retrosynthesis routes is a fundamental challenge in chemistry, involving the design of a sequence of chemical reactions to synthesize a target molecule from commercially available starting materials. With a rapidly\ngrowing interest in using large language models for planning, this work introduces an LLM-powered framework for multi-step retrosynthesis. Our framework employs molecular-similarity-based retrieval-augmented generation (RAG) to generate an initial retrosynthesis route, which is then iteratively refined through expert feedback. The use of molecular-similarity-based RAG improves reaction round-trip validity from 24.42\\% to 51.64\\% compared to GPT-4 with representative routes. With further refinement, the validity increases to 89.81\\%, resulting in an overall route validity of 79.5\\% with a perfect query success rate, comparable to traditional methods. Our framework offers a flexible, customizable approach to retrosynthesis, and we present a comprehensive analysis of the generated routes along with promising future research directions in LLM-driven multi-step retrosynthesis.",
|
| 7 |
+
"rebuttal": "Thank you for your invaluable feedback on our paper. We have addressed the points raised in your review and marked the corresponding sections in red, including: the reproducibility statement, a consolidated and detailed introduction of the iterative refinement loop (with additional details provided in Appendix Table A2), improvements to table quality, enhanced readability of the pseudocode, and an updated caption for Figure 4.\n\n1. Regarding question 1 (why ML models for RT assessment):\nAs far as we know, RDKit is not capable of predicting reactants directly from products. While it can simulate reactions using products to produce potential reactants, this is fundamentally different. Thus, we leverage ML models, which are well-suited for this task.\n2. Regarding question 2 (query success rate):\nthis metric is calculated as the percentage of properly formatted responses. It is valuable because it measures how often our approach can provide a viable solution. This becomes particularly useful for challenging molecules where human experts might turn to our system for creative insights during synthesis planning.\n3. Regarding question 3 (Robustness without any RAG): We conduct experiment of just providing query smiles for generation in **Appendix Table A5,** and also on finetuned LLM in Table A7, showing much worst performance compared to molecular similarity based RAG.\n4. Regarding Question 4 (Cost and scalability of LLMs):\nWhile the operational and computational costs of LLMs are indeed high, they can feasibly sample multiple routes during generation, which enhances scalability. We acknowledge this as a limitation in our conclusion part and aim to explore it in future work.\n5. Regarding Question 5 (User-involved feedback):\nCurrently no experiment with user-involved feedback is conducted. Although no user-involved feedback has been implemented in this work, our experiments demonstrate that LLMs can refine synthesis routes when provided with expert feedback. We believe this capability extends to aligning with human preferences, much as it already aligns with chemical feasibility guided by expert models.\n\nRegarding question 3, LLMs can produce more chemically feasible responses with more similar reference examples as shown in figure 4a. We also performed experiments in **Appendix A.8** with just target smiles provided to the LLM, showing much worst performance in in terms of similarities and also chemically feasibilities.\n\nRegarding question 4, sadly the LLM is expensive both in time and operation costs, but it is feasible to sample multiple routes during generation, which improves scalability. We leave this for future works.\n\nRegarding question 5, currently no user-involved feedback is conducted. But our experiments demonstrated that LLMs can indeed refine the routes given feedback from experts, we believe they will conform human preferences just well as they conform chemical feasibility by the expert models used. \n\nWe sincerely appreciate your constructive suggestions and hope that our responses adequately address your concerns.\n\nThank you for your valuable feedback on our paper. We have marked in orange the content addressing your comments, including: the discussion of expert model limitations (Question 1), a consolidated explanation of expert models and knowledge bases (Question 4), clarification of route validity and reaction round-trip validity (Question 5), the addition of the EG-MCTS baseline (Weakness 1), an expanded literature review on retrosynthesis planning (Weakness 3), new experiments incorporating chiral-aware fingerprints (Question 2), and additional testing using the Pistachio dataset (Weakness 2).\n\nReg [...]\n\nThank you for your insightful feedback on our paper. We have marked in blue the sections addressing your comments, including the addition of evaluation metrics (ROUGE, BLEU, exact match) to measure the similarity between generated routes and ground truth and experiments of finetuning LLM. We believe that query success rate remains a crucial metric, as it reflects the practical availability of our approach. This is particularly important for hard-to-synthesize molecules, where human experts may leverage our system for brainstorming and creative problem-solving.\n\nRegarding your question on fine- [...]\n\n### Updating of manuscripts\nWe sincerely thank all reviewers for their valuable feedback on our manuscript. Their thoughtful comments and suggestions have guided significant improvements to our work. In the revised manuscript, we use a colour-coding system (**blue, orange, and red**) to highlight changes addressing specific comments from Reviewers **x71Y**,**daJj**,**BRau**, respectively. \n\nThe key changes included:\n\n- A concrete introduction of experts and knowledge bases in **Section 3**\n- Additional evaluation metrics including Rouge, Bleu, exact match in **Section 4.1** and all evaluations [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
3,
|
| 11 |
+
5
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 3.67,
|
| 14 |
+
"score_variance": 1.33,
|
| 15 |
+
"score_spread": 2,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 5,
|
| 18 |
+
"decision": "",
|
| 19 |
+
"rebuttal_validity_ground_truth": null,
|
| 20 |
+
"meta_review": "",
|
| 21 |
+
"forum_id": "b89OyrljJD",
|
| 22 |
+
"primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_x71Y",
|
| 27 |
+
"review_id": "9dVEl2Ug2Y",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 3,
|
| 30 |
+
"soundness": 2,
|
| 31 |
+
"presentation": 2,
|
| 32 |
+
"contribution": 1,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 2458,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 720887,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_daJj",
|
| 43 |
+
"review_id": "MQty47kUOk",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 3,
|
| 46 |
+
"soundness": 3,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 2,
|
| 49 |
+
"confidence": 3
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 3925,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 1289899,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_BRau",
|
| 59 |
+
"review_id": "AJqw0UVEA6",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 5,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 2,
|
| 64 |
+
"contribution": 3,
|
| 65 |
+
"confidence": 3
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 5632,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 3378275,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": []
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"any_review_edit_detected": true,
|
| 75 |
+
"any_post_rebuttal_text_signal": false,
|
| 76 |
+
"review_score_dimensions": [
|
| 77 |
+
"rating",
|
| 78 |
+
"soundness",
|
| 79 |
+
"presentation",
|
| 80 |
+
"contribution",
|
| 81 |
+
"confidence"
|
| 82 |
+
]
|
| 83 |
+
}
|
open_review/iclr2025_13841.md
ADDED
|
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
HOW WELL CANLLMS SYNTHESIZE MOLECULES?
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
ABSTRACT Predicting retrosynthesis routes is a fundamental challenge in chemistry, involv- ing the design of a sequence of chemical reactions to synthesize a target molecule from commercially available starting materials. With a rapidly growing interest in using large language models for planning, this work introduces an LLM-powered framework for multi-step retrosynthesis. Our framework employs molecular- similarity-based retrieval-augmented generation (RAG) to generate an initial ret- rosynthesis route, which is then iteratively refined through expert feedback. The use of molecular-similarity-based RAG improves reaction round-trip validity from 24.42% to 51.64% compared to GPT-4 with representative routes. With further refinement, the validity increases to 89.81%, resulting in an overall route validity of 79.5% with a perfect query success rate, comparable to traditional methods. Our framework offers a flexible, customizable approach to retrosynthesis, and we present a comprehensive analysis of the generated routes along with promising future research directions in LLM-driven multi-step retrosynthesis. 1 INTRODUCTION In recent years, large language models (LLMs) have demonstrated remarkable capabilities in plan- ning tasks across various domains, including robotics, entertainment, and scientific problem-solving (Hu et al., 2024; Prasad et al., 2024; Sun et al., 2023; Zhang & Lu, 2024; Tan et al., 2024; Zhou et al., 2023; Yu et al., 2024a; Shinn et al., 2023; Yao et al., 2023; Lu et al., 2023; Trinh et al., 2024). These approaches leverage LLMs with advanced architectures pretrained on vast datasets, employ well-structured prompts and external expert tools, and integrate them into carefully designed sys- tem pipelines to generate coherent plans and strategies. In many cases, LLMs have achieved results comparable to, or even surpassing, traditional methods. Finding a synthesis route for a given molecule is a pivotal challenge in chemistry with earliest efforts traces back to the 1960s(Corey, 1967). Existing approaches address this from a retrosynthesis per- spective by framing the problem as a navigating task through an AND-OR tree rooted on the target molecule node, as illustrated in Figure A1, a process known as retrosynthesis planning, which will be discussed in detail in later sections. Similar to planning in other domains, retrosynthesis requires both high-level reasoning to guide the overall process and a deep understanding of chemistry to en- sure that each step involves feasible actions. Given the demonstrated success of LLMs in various fields, a compelling question arises: _**Can LLMs be effectively applied to discover retrosynthesis**_ _**pathways for molecules?**_ In this work, we introduce a novel methodology for retrosynthesis route generation, where the entire route is generated and refined holistically, rather than being iteratively expanded step-by- step as in traditional approaches. This approach leverages the inherent ability of LLMs to gen- erate complex sequences, allowing for more flexibility and creativity in the initial prediction with guidance from reference routes provided by the molecular-similarity-based RAG module. By in- corporating RAG, our method guides LLMs to reference retrosynthesis routes from structurally similar molecules, providing a more informed basis for initial predictions. This is particularly important, as structurally similar molecules often exhibit analogous reactivity patterns, making them valuable references. We propose an iterative refinement framework, ensuring that the gen- erated route can be adjusted and optimized as a whole. The iterative refinement process is driven by expert models, which offer targeted feedback to improve the accuracy and feasibility.
|
| 8 |
+
|
| 9 |
+
1
|
| 10 |
+
|
| 11 |
+
Furthermore, the use of local knowledge bases ensures that the generated routes remain chem- ically viable and aligned with existing knowl- edge, ultimately enhancing the robustness and practicality of the retrosynthesis plan. **059 Our contributions:** We present a novel LLM- powered framework for multi-step retrosynthe- sis route generation, designed to generate and refine routes holistically rather than through iterative expansion. Using this framework, we evaluate both closed-source and open- source LLMs, including GPT-4-turbo, Claude- 3-Haiku, and Deepseek-V2.5. Our study iden- tifies several shortcomings and vulnerabilities across these models, highlighting key design considerations and pointing to promising future research directions. Collectively, this paper of- fers three main contributions: 1) A new frame- work for multi-step retrosynthesis powered by LLMs; 2) a comprehensive quantitative eval- uation of LLM performance in retrosynthesis route generation; and 3) new insights into LLM behaviours that influence retrosynthesis route generation. 2 PRELIMINARY 2.1 LLMS WITH IN-CONTEXT LEARNING FOR CHEMISTRY LLMs pretrained on general knowledge cor- pora struggle with even basic chemistry tasks, such as converting between the Simplified Molecular Input Line Entry System (SMILES) and International Union of Pure and Applied Figure 1: An example of valid retrosynthesis route Chemistry (IUPAC) names (Castro Nascimento generated by our framework. & Pimentel, 2023), let alone more complex challenges like retrosynthesis route generation. Fine-tuning a pretrained LLM with parameters _θ_ on a domain-specific dataset _D_ domain = _N_ _{_ ( _xi, yi_ ) _}[N] i_ =1[,][to][obtain][updated][parameters] _[θ][∗]_[=][arg min] _[θ] N_[1] � _i_ =1 _[L]_[(] _[θ]_[;] _[ x][i][, y][i]_[)][—where] _[L]_[is][the] loss function—can help address this issue, as demonstrated in (Fang et al., 2023; Zeng et al., 2022; Liu et al., 2023c). However, this approach presents three significant challenges: (1) it is com- putationally expensive, requiring substantial resources, (2) it is data-intensive, with a scarcity of high-quality retrosynthesis route datasets in the community, and (3) it lacks flexibility and cannot adapt to new knowledge without the integration of additional continual learning modules. To overcome these limitations, an alternative approach is to leverage in-context learning (ICL). Op- posed to the fine-tuning paradigm, ICL allows LLMs to adapt to specialized tasks by incorporating relevant examples directly into the input prompt at inference time, i.e. _y_ ˆ _ICL_ = _P_ ( _x, {xj, yj}|θ_ ), where _{xj, yj} ⊂D_ domain. This approach offers a more flexible and efficient solution, without the need for additional training or large volumes of annotated data. Ramos et al. (2023); Li et al. (2023); Edwards et al. (2023) adapted this approach for chemistry-related tasks. 2.2 RETROSYNTHESIS PLANNING A retrosynthesis route _Rt_ is a sequence of chemical reactions [ _r_ 1 _, r_ 2 _, . . . , rn_ ] designed to synthesize a target molecule _t_ . Each reaction must involve chemically feasible molecules, denoted as _M_ , and all intermediate materials used in the synthesis, denoted as _I_ , must be synthesizable from a
|
| 12 |
+
|
| 13 |
+
2
|
| 14 |
+
|
| 15 |
+
set of commercially available building-block materials, denoted as _B_ . Given the vast size of _B_ (23.1M molecules in _eMolecules_[1] as of 2019), forward reasoning from _B_ to _t_ is inefficient. A more commonly adopted methodology is planning-based, which begins with decomposing _t_ with a predicted reaction _r_ 1 to form _I_ 0, where _I_ 0 is the set or reactants suggested by _r_ 1. At the _i_ th step, planning-based approaches select molecules _m ∈ Ii_ to decompose with predicted single-step retrosynthesis reaction _ri_ , thereby expanding both the set of reactions _R_ and the set of intermediates _I_ . This iterative process stops when all intermediates _i ∈ I_ are decomposed to molecules present in _B_ . This process is typically abstracted as navigating through an AND-OR tree, comprising selection, expansion, and update phases, as illustrated in Figure A1. In the planning-based paradigm, explicit value functions _fV_ : _M �→_ **R** , which map an intermediate molecule to a score, are necessary to select the appropriate _m ∈ I_ for further decomposition. 2.3 RETHINKING MULTI-STEP RETROSYNTHESIS Our vision is to generate complete retrosynthesis routes, _Rt_ , in a single pass, without relying on the iterative selection-expansion phases typical of traditional methods. Although generated _Rt_ may not represent the final route, it can be iteratively refined based on user preferences or expert knowl- edge as holistically, with the assistance of LLMs. This process allows for flexible adjustments, as modifications can be applied to a complete route rather than to partial sequences. In line with Strieth- Kalthoff et al. (2024)’s vision of utilising both experts knowledge and data-intensive models, this approach fosters a more dynamic, user-driven process while improving the reliability and quality of the retrosynthesis route by enabling direct user feedback and simplifying optimization. 3 UTILIZING LLM FOR RETROSYNTHESIS ROUTE GENERATION **132 Pipeline** Building on our vision of holistic retrosynthesis route generation, we propose a retrosyn- thesis route generation framework that employs molecular-similarity-based RAG to generate an ini- tial, possibly flawed retrosynthesis route _Rt_ 0. This route is then iteratively refined using feedback from expert models and local knowledge databases to form the final prediction _Rt_ . The overall pipeline is illustrated in Figure 2, with pseudocode provided in Algorithm 1. Our approach com- prises four key components: a molecular-fingerprint-based RAG module, an LLM-backed formatter module, an expert-powered feedback module, and a local knowledge database module. These com- ponents will be discussed in detail in the subsequent sections. **140 141 Molecular-similarity-based Retrieval-Augmented Generation** Unlike RAG applications in the natural language domain where the similarity metric is calculated on the embedding of texts, we utilize the similarity of molecular fingerprints to find similar molecules and provide their synthe- sis routes to the LLM for an initial generation. More specifically, a vector database that uses the molecular fingerprint as embedding and Tanimoto similarity as a similarity metric is applied for the retrieval. We begin by filtering out routes associated with the top five most similar molecules, each having a Tanimoto similarity greater than 0.5 in the database; these are designated as the retrieved routes. If no similar routes are found, we instead rely on representative routes. To identify these, we calculate the route fingerprint as the sum of the reaction fingerprints, following the method pro- posed by Schwaller et al. (2021). We then apply the Density-based spatial clustering of applications with noise (DBSCAN) clustering algorithm (Ester et al., 1996) to these route fingerprints, gener- ating five distinct reaction clusters. Within each cluster, the route corresponding to the molecule nearest to the cluster centroid is selected as the representative route. Since directly restricting the output format may lead to performance degradation as suggested by Tam et al. (2024), we provide those reference routes as textual descriptions in the prompt as shown in Figure 3c. The textual de- scription is generated using a rule-based method, highlighting route connectivity information. A Chain-of-Thought(CoT)-like (Wei et al., 2023) prompt with reference routes and specific instruc- tions to generate textual descriptions of routes is fed into the LLM to guide the generation, the prompt template is included in Table A3. **158 159 LLM-backed Formatter** LLM-backed formatter converts the textual description of a retrosynthe- sis route into a format readable to human experts and compatible with expert models. Particularly,
|
| 16 |
+
|
| 17 |
+
> 1[URL removed]
|
| 18 |
+
|
| 19 |
+
3
|
| 20 |
+
|
| 21 |
+
Figure 2: Pipeline for generating retrosynthesis routes using LLMs. The process begins with the user inputting a target molecule (Step ①). The system then queries a route database to retrieve similar retrosynthesis routes (Step ②), which guides the LLM in generating an initial prediction (Step ③). The predicted retrosynthesis route is converted to JSON format with help from LLMs (Steps ④ and ⑤). The JSON-formatted route is sent for expert model feedback (Step ⑥) to verify the validity of the route, assessing various criteria such as route validity, reaction validity, and molecule availability. If the route is fully valid, it is added to the route database (Step ⑦(i)). In cases where the route is partially valid, the pipeline queries new frontiers and back-prompts the LLM to refine the prediction (Steps ⑦(ii) and ⑦(iii)). Steps ③–⑦ are repeated until a fully valid retrosynthesis route is generated or a predefined budget is reached. [ Fc1ccc2c(OCCc3ccc(Oc4ccc(C(F)(F)F) cn4)c3)nnc2 >> Fc1ccc2c(C1)ncnc12. OCCC1ccc(Oc2ccc(C(F)(F)F)cn2)cc1, OCCC1ccc(Oc2ccc(C(F)(F)F)cn2)cc1 >> FC(F)Fc1ccc(Cl)c1. OCCCC1ccc(O)cc1 ] (a) Visualized example route. (b) Example route represented as a list of reaction SMILES The target molecule, Fc1cccc2c(OCCc3ccc(Oc4ccc(C(F)(F)F)cn4)cc3)ncnc12, can be synthesized by reacting the following precursor molecules: Fc1cccc2c(Cl)ncnc12 and OCCc1ccc(Oc2ccc(C(F)(F)F)cn2)cc1. Toreactantsynthesizein theFc1cccc2c(Cl)ncnc12,above reaction Fc1cccc2c(OCCc3ccc(Oc4ccc(C(F)which is a precursor { 'molecule': (F)F)cn4)cc3)ncnc12>>Fc1cccc2c(Cl)ncnc12.OCCc1ccc(Oc2ccc(C(F) 'Fc1cccc2c(OCCc3ccc(Oc4ccc(C(F)(F)F)cn4)cc3)ncnc12', (F)F)cn2)cc1, since it is commercially available as a building 'children': [ block material, so no further synthesis is needed. { 'molecule': 'Fc1cccc2c(Cl)ncnc12', ToprecursorsynthesizereactantOCCc1ccc(Oc2ccc(C(F)(F)F)cn2)cc1,in the above reaction which is a }, 'children': [] Fc1cccc2c(OCCc3ccc(Oc4ccc(C(F)(F)F)cn4)cc3)ncnc12>>Fc1cccc2c(Cl)ncnc12.OCCc1ccc(Oc2ccc(C(F)(F)F)cn2)cc1, can be synthesized by reacting the following { 'molecule': 'OCCc1ccc(Oc2ccc(C(F)(F)F)cn2)cc1', precursor molecules: FC(F)(F)c1ccc(Cl)nc1 and OCCc1ccc(O)cc1. 'children': [ { Toreactantsynthesizein theFC(F)(F)c1ccc(Cl)nc1,above reaction OCCc1ccc(Oc2ccc(C(F)which is a precursor 'molecule':'children': 'FC(F)(F)c1ccc(Cl)nc1',[] (F)F)cn2)cc1>>FC(F)(F)c1ccc(Cl)nc1.OCCc1ccc(O)cc1,commercially available as a building block material,sinceso noit is },{ **207208** Tofurtherthe(F)c1ccc(Cl)nc1.OCCc1ccc(O)cc1,synthesizeabovesynthesisreactionOCCc1ccc(O)cc1,isOCCc1ccc(Oc2ccc(C(F)(F)F)cn2)cc1>>FC(F)needed.whichsinceis aitprecursoris commerciallyreactant in }] 'molecule':'children': 'OCCc1ccc(O)cc1',[] availablesynthesis asis aneeded.building block material, so no further ]} } (c) Example route represented as textual descriptions. (d) Example route represented as a tree in JSON. Figure 3: Different sequential representations of retrosynthesis routes the route is formatted into a synthesis tree in JSON format as shown in Figure 3d. This formatter is also in charge of completing or proofreading the generated route. For instance, the generated description may contain a category of molecules instead of a specific molecule, the formatter is
|
| 22 |
+
|
| 23 |
+
4
|
| 24 |
+
|
| 25 |
+
prompted to provide a concrete example with its knowledge. Moreover, the description may contain IUPAC names while expert models require the SMILES string, hence an external tool is provided to the formatter to query PubChem for this naming conversion. **219 220 Feedback from Experts** The synthesis tree is evaluated by a series of expert models for feedback, ranging from molecule-wise to reaction-wise, and finally route-wise. Specifically, LLM-generated routes are first analyzed for SMILES validity and node availability. This is done using RDKit and cross-referencing with the molecule-level availability database. Any invalid SMILES or unavailable leaf nodes are flagged in the feedback. Next, forward reaction prediction models are applied to assess whether the proposed reactants can synthesize the target products. If the predicted reactions are infeasible, reaction-level database and retrosynthesis prediction models are employed to gener- ate suggestions for refining the LLM-generated routes. Route-wise feedback focuses on identifying disconnected synthesis pathways or incorrect final products. For forward reaction prediction, we utilize MolecularTransformer (Schwaller et al., 2019), a template-free approach, and LocalTrans- form (Chen & Jung, 2022), a template-free approach. Retrosynthesis predictions are performed using LocalRetro (Chen & Jung, 2021), a template-based framework, and a one-step retrosynthesis MLP model described in (Chen et al., 2020). Finally, a rule-based system integrates input from local expert models to address various types of errors, as outlined in Table A2. Note that those ex- pert models, while performing well on individual datasets, often fail to cope with out-of-distribution datasets as pointed out by Yu et al. (2024b). Hence, we also build a web-based interface to take advice from human experts as illustrated in Figure A3 While the framework has the capability to incorporate feedback from human experts, this feature has not been tested in our experiments.
|
| 26 |
+
|
| 27 |
+
-
|
| 28 |
+
|
| 29 |
+
**237 Local Knowledge Databases** Following the feedback module, the local knowledge databases are organized into three levels of granularity: molecule level, reaction level, and route level. The molecule-level database contains 23 million commercially available molecules. The reaction-level database is initialized with all retrosynthesis reactions from the training dataset and is expanded us- ing the results from retrosynthesis prediction models. The route database starts with all routes and sub-routes from the training dataset and is further expanded by incorporating LLM-generated routes or sub-routes once they have passed all expert scrutinies. Sub-routes refer to the synthesis pathways of intermediate products.
|
| 30 |
+
|
| 31 |
+
- 4 BENCHMARKING LLMS FOR RETROSYNTHESIS ROUTE GENERATION 4.1 EXPERIMENTAL SETUP • **Dataset** We perform experiments on retro* dataset introduced by Chen et al. (2020) and evaluate the performance of our framework on a slightly harder subset of its test set as shown in Table A1. Experiments on routes extracted from the Pistachio dataset[2] are presented in A.10. • **Baseline** We select Retro* (Chen et al., 2020) and EG-MCTS (Hong et al., 2023) as our baselines. We limit the number of expansions for baseline methods to 5 as only 5 suggested reactions are given to LLMs and the iteration budget is set to 500 as in (Chen et al., 2020). We also fine- tuned ChemDFM-V1.5-8B (Zhao et al., 2024) to generate retrosynthesis routes as the baseline of fine-tuning approach, more details on the fine-tuning process can be found in Table A6. • **Metrics** We employ a diverse set of both text-based and chemistry-based metrics to evaluate the quality of the generated retrosynthesis routes, considering their similarity to reference routes as well as their chemical feasibility, including: 1) _Query Success Rate_ , the percentage of instances where a route is successfully generated for a target molecule, regardless of quality; 2) _ROUGE_ (Recall-Oriented Understudy for Gisting Evaluation), introduced by Lin (2004), measures the overlap of textual elements between generated and reference outputs. Specifically, we report the
|
| 32 |
+
|
| 33 |
+
- ROUGE-1 score between the string representation of the ground truth retrosynthesis tree and the
|
| 34 |
+
|
| 35 |
+
- generated retrosynthesis tree, both formatted in JSON, as illustrated in Fig. 3d. 3) _BLEU_ (Bilin-
|
| 36 |
+
|
| 37 |
+
- gual Evaluation Understudy), proposed by Papineni et al. (2002), evaluates the precision of n-gram overlaps between the generated and reference outputs. Similar to ROUGE, we calculate the BLEU score using the string representations of the retrosynthesis trees. 4) _Exact Match_ evaluates the per- centage of instances where the generated retrosynthesis tree is identical to the reference tree. To
|
| 38 |
+
|
| 39 |
+
> 2[URL removed]
|
| 40 |
+
|
| 41 |
+
5
|
| 42 |
+
|
| 43 |
+
ensure consistency, retrosynthesis trees are canonicalized by standardizing molecule SMILES and sorting precursor molecules alphabetically. 5) _Molecular Validity_ , the percentage of chemically feasible molecules in the generated routes; 6) _Route Validity_ , where a route is valid if the final product is the target molecule, all molecules are chemically feasible, all reactions are round-trip (RT) valid, and all leaf nodes are commercially purchasable; 7) _Avg. Route Length_ , the average number of reactions used in valid routes to synthesize target molecules. We extend the original definition of round-trip (RT) validity from Schwaller et al. (2020), defining it as the ability to synthesize the same products from the given reactants. We use an ensemble approach combining database, template-free, and template-based models to evaluate RT accuracy. A reaction is con- sidered RT valid if it exists in the reaction database (of reaction from all splits) or is classified as top-5 RT valid by either a template-free or template-based model. Though several methods are applied for RT validation, it remains flawed without experimental verification. • **LLMs** We conducted experiments using the following models: GPT-4-turbo, Claude-3.5-haiku, and Deepseek-V2.5[3] . Deepseek-V2.5 is a representative of open-sourced LLM but we use its API version. The pricing for these models varies significantly: GPT-4-turbo costs $10 per million input tokens and $30 per million output tokens, Claude-3-Haiku is priced at $0.25 per million input tokens and $1.25 per million output tokens, and Deepseek-V2.5 charges $0.14 per million input tokens and $0.25 per million output tokens[4] . • **Configuration** We set the iteration budget to 5. In each iteration, local experts can provide up to 5 valid single-step reactions for the LLMs to consider when no matching reaction is found in the database. Unless otherwise specified, the same set of LLMs is used for both generation and formatting tasks. In case of an unexpected error, the LLM is allowed up to 3 retry attempts. 4.2 MAIN RESULTS **293 294 295 Method Metric Query Success Rate ↑ Rouge ↑ Bleu ↑ Exact Match ↑ Molecule Validity ↑ Route Validity ↑ of Valid RouteAverage Length ↓ 296** GPT-4-turbo 100.00% 0.7649 0.6742 14.50% 99.21% 79.50% 3.30 Claude-3-haiku 100.00% 0.7279 0.5493 15.00% 93.52% 62.50% 2.99 Deepseek-V2.5 100.00% 0.7399 0.4428 17.00% 86.76% 67.50% 2.75 Finetuned w RAG 100.00% 0.6692 0.6724 5.00% 98.48% 26.50% 1.81 Retro* 98.00% 0.7499 0.7825 30.50% 100.00% 83.00% 2.58 EG-MTCS 99.0% 0.7447 0.7554 27.50% 100.0% 82.50% 2.34 Ground truth 100.00% 1.0000 1.0000 100.00% 100.00% 100.00% 3.12 Table 1: Comparison of our proposed methods backed by different LLMs with the baseline. Molecule validity for Retro* is measured based on their predicted routes, while in our proposed framework, it is measured on the final predicted routes. The same applies to product similarity and route round-trip validity. The average route length is reported only for round-trip valid routes. We report the analysis on the route-level metrics of our proposed framework using different LLMs against baseline and ground truth as shown in Table 1. We report several key findings as follows. **308 309 Our method is capable of generating round-trip valid retrosynthesis routes.** In our proposed framework, specifically, the one backed by GPT-4-turbo, achieves a route round-trip validity of 79.5%, which is comparable to the baseline Retro* method at 83.0%. Since our feedback and suggestions primarily target round-trip validity, this demonstrates the effectiveness of our proposed refinement scheme, which could be extended to other metrics with proper suggestions provided. Additionally, the GPT-4-turbo-backed approach successfully identified several round-trip valid routes that Retro* was unable to generate as shown in case analysis in Section A.6. **315 316 Finetuned LLMs Understand Formatting but Struggle with Retrosynthesis Planning Nuance. 317** While finetuned LLMs achieve competitive Rouge and Bleu scores compared to our proposed GPT- 4-turbo-based approach (0.6692 vs. 0.7649 for Rouge and 0.6724 vs. 0.6742 for Bleu), they fail to generate as many valid retrosynthesis routes. This suggests that while these models effectively learn the structure and formatting of retrosynthesis trees during supervised fine-tuning, they lack the deeper understanding required to capture the nuanced decision-making processes involved in
|
| 44 |
+
|
| 45 |
+
the deeper understanding required to capture the nuanced decision-making processes involved in 3We use gpt-4-turbo-2024-04-09, claude-3-haiku-20240307 and refer them as gpt-4-turbo and claude-3- haiku for brevity.
|
| 46 |
+
|
| 47 |
+
4As of September 2024.
|
| 48 |
+
|
| 49 |
+
6
|
| 50 |
+
|
| 51 |
+
retrosynthesis planning. Even chemistry-aware models, such as ChemDFM, demonstrate limited ability to fully emulate these subtleties, emphasizing the added value of our approach. **326 327 Traditional planners still excel in identifying more reliable routes.** While our framework shows promising results in some metrics, traditional planners such as Retro* still hold a clear advantage in terms of molecule validity and route efficiency. Retro* achieves 100% molecule validity, meaning that every molecule in the generated routes is chemically valid, whereas GPT-4-turbo lags slightly behind at 99.21%. Additionally, Retro* consistently produces shorter routes, with an average valid route length of 2.58, compared to the longer average of 3.30 steps in GPT-4-turbo. This suggests that traditional planners not only maintain better accuracy in generating valid molecules but also find more concise and efficient retrosynthesis routes. It is worth noting that while our current framework primarily focuses on route validity, introducing explicit feedback regarding route length could fur- ther enhance the performance of our framework—a direction we reserve for future work. A detailed analysis of the source of the performance differences will be presented in the following text.
|
| 52 |
+
|
| 53 |
+
## 4.3 INSIGHTS FROM THE EXPERIMENTS
|
| 54 |
+
|
| 55 |
+
> **339 RAG Quality Matters.** We plot the reaction-level top-5 round-trip validity of each route generated
|
| 56 |
+
|
| 57 |
+
in the first iteration against two factors: the synthesis difficulty of the molecule, measured by its
|
| 58 |
+
|
| 59 |
+
SA score, and the quality of the retrieved examples, measured by the average molecular similarity between the target molecule and the retrieved examples, as shown in Figure 4a. Additionally, we compute the correlation coefficient and p-value using the Spearman rank correlation test. The re- sults indicate a weak but statistically significant positive correlation between the round-trip validity of the generated routes and the quality of retrieval. However, no meaningful relationship is observed between the round-trip validity and the synthesis difficulty during the first iteration. This suggests that the performance of our proposed approach could be further enhanced by expanding the route database with additional relevant examples for retrieval. We also conducted an ablation experiment (a) Reaction-level RT validity by molecule with re(b) No. of iterations it takes for LLMs to generate an spect to retrieval quality and synthesis difficulty. RT-valid route. Figure 4: Details of LLM-generated RT valid retrosynthesis routes with respect to synthesis diffi- culties or the number of iterations. in which only representative routes were fed into GPT-4-turbo as reference routes to guide the gen-
|
| 60 |
+
|
| 61 |
+
eration process, and we report the performance in the initial guess, as shown in Table 2. Compared
|
| 62 |
+
|
| 63 |
+
to our current setting, where routes from structurally similar molecules are used as references, this
|
| 64 |
+
|
| 65 |
+
approach fails to capture the dynamics of chemical reactions and struggles to generate round-trip
|
| 66 |
+
|
| 67 |
+
valid reactions or routes (24.42% vs 51.64%). However, the molecule validity remains relatively high (80.6% vs. 87.29%), suggesting that the LLM can understand the syntax of SMILES from those example routes given. An experiment of RAG based on a chiral-aware molecular fingerprint (Orsi & Reymond, 2024) is presented in Table A5.
|
| 68 |
+
|
| 69 |
+
7
|
| 70 |
+
|
| 71 |
+
**378 Metric No. of 379 Method Rouge ↑ Bleu ↑ Exact Match ↑ Molecule Validity ↑ Route Validity ↑ Valid Route ↑ 380** Representative-only 0.5800 0.6051 0.00% 80.65% 24.42% 0 Similarity-based 0.6615 0.7048 8.00% 89.63% 51.64% 60 Table 2: Ablation study of solely using representative routes as references to the LLMs for initial route generation. **385 LLMs “Cheat” but Iterative Refinement and Formatter Can Intervene.** LLMs often “cheat” during retrosynthesis route generation when faced with difficult-to-synthesize molecules or com- plex chemical structures. They may improperly split a SMILES string into two halves, disre- garding the chemical validity of the resulting fragments and the reaction itself. Additionally, they might prematurely halt the process, falsely claiming that these challenging molecules are commer- cially available to avoid further synthesis planning. As shown in Figure 5a, the LLM generates ‘COc1ccc(C(=O)OH)c(O)c1O’ in its response with an extra hydrogen atom, rendering it an invalid SMILES. The LLM also falsely claims that the molecule ‘COc1ccc(C(=O)Cl)c(O)c1O’ is com- mercially available, despite it not being found in any database of purchasable molecules. Another common issue is the erroneous placement of the product, either final or intermediate, back into the reactants, indicative of a faulty or incomplete synthesis route as shown in Figure 5c. With the use of feedback and a formatter, those ‘cheated’ responses can be corrected as demonstrated in Figure 5b and Figure 5d. (a) LLM produces molecule against SMILES gram(b) With proper feedback, LLM may replace the remar, claims commercial availability wrongly and action containing invalid molecules with a round-trip stops retrosynthesis prematurely. valid reaction. (c) LLM includes the product as a reactant in its pre(d) Duplicate products can be identified and removed dicted retrosynthesis route. by the LLM-backed formatter. Figure 5: LLMs ‘cheat’ in initial responses but are later corrected within our proposed framework. **423 424 Routes Are Indeed Refined During Iterative Refinement Process.** The iterative refinement pro- cess functions more than correcting the formats of LLM-generated routes and addressing errors, it is also the key factor in ensuring the generation of round-trip valid routes. The distribution of the
|
| 72 |
+
|
| 73 |
+
**Routes Are Indeed Refined During Iterative Refinement Process.** The iterative refinement pro- cess functions more than correcting the formats of LLM-generated routes and addressing errors, it is also the key factor in ensuring the generation of round-trip valid routes. The distribution of the number of iterations required for LLMs to produce a round-trip valid route is shown in Figure 4b. Although LLMs can generate a round-trip valid route using RAG without refinement in some cases, a significant number of valid routes are discovered only after several iterations of refinement. On average, GPT-4-turbo requires 1.90 iterations to generate a round-trip valid route, compared to 1.92 for Claude-3-haiku and 1.55 for Deepseek-V2.5. At the reaction level, the iterative refinement process significantly increases the reaction-level top-5 round-trip validity, as shown in Table 3. For
|
| 74 |
+
|
| 75 |
+
8
|
| 76 |
+
|
| 77 |
+
routes generated with GPT-4-turbo, reaction-level round-trip validity improves from 51.64% in the first iteration to 89.81% in the final iteration. **434 435 Balance Between Prior Chemical Knowledge and General Ability** As shown in Figure 4b, Deepseek generates the highest number of round-trip valid routes in the first iteration, suggesting a stronger capability in handling chemistry-specific tasks. However, the reaction validity of Deepseek- generated routes declines as the process continues as shown in Table 3. Upon manual inspection of the routes across iterations, it was found that the Deepseek-backed formatter may not properly con- vert routes from textual descriptions to retrosynthesis trees in JSON format, revealing a limitation in its general instruction following capabilities. Ablation experiments using the Deepseek-backed generator and GPT-4-turbo-backed formatter are presented in Table 4. With the GPT-4-turbo-backed formatter, Deepseek shows significantly improved results. Molecule validity increases from 86.76% to 93.45%, and reaction round-trip validity improves from 52.44% to 75.42%, resulting in a 5% increase in overall route round-trip validity. This introduces another design consideration, balancing capabilities between the chemistry domain and the general domain. **446 Method 447 Reacion Retro*(5) GPT-4-turbo Claude-Haiku Deepseek-V2.5 GPT-4-turbo FormatterDeepseek-V2.5 with 448 RT Validity ↑ 449** Before Refinement 94.34% 51.64% 52.89% 63.67% 60.36% After Refinement 89.81% 67.18% 52.44% 75.42% Table 3: Reaction-level top-5 RT validity before and after five rounds of refinements. **452 453 454 Method Metric Success RateQuery** _↑_ **Rouge** _↑_ **Bleu** _↑_ **Exact Match** _↑_ **MoleculeValidity** _↑_ **ValidityRoute** _↑_ **Valid RouteLength ofAverage** _↓_ **Final PredictionRT Validity ofReaction** _↑_ Deepseek Generatorw Deepseek Formatter 100.00% 0.7399 0.4428 17.00% 86.76% 67.50% 2.75 52.44% Deepseek Generator 100.00% 0.7541 0.6742 18.50% 93.45% 72.50% 2.85 75.42% w GPT-4 Formatter Table 4: The overall performance hinges on the performance of the formatter. 5 RELATED WORKS 5.1 RETROSYNTHESIS PLANNING In the early days, from the proposal of retrosynthesis by Corey (1967) in the 1960s to the first decade of this century, chemists relied heavily on their expertise and rule-based methods to navigate the complex space of chemical transformations. This approach, while effective for certain prob- lems, was limited by the scope and scalability of human intuition and manually curated rules. The landscape began to shift with the pioneering work of Segler et al. (2018), who introduced Monte Carlo Tree Search (MCTS) augmented with neural networks. This method represented a significant breakthrough, using machine learning to predict reaction outcomes and guide the search process, marking one of the first instances where computational intelligence illuminated retrosynthetic plan- ning. Building on this foundation, several advanced algorithms have since been developed to explore the vast space of chemical transformations further. Hong et al. (2023) further improves the efficiency and performance of MCTS by replacing rollouts with an experience-guided neural network. Retro* (Chen et al., 2020) and RetroPrimeWang et al. (2021) employ a trained value function to steer the expansion with A* algorithm (Hart et al., 1968). Schwaller et al. (2020) employs a hyper-graph exploration strategy backed by forward reaction prediction models and synthesis difficulty scores. Reinforcement learning-based methods, such as those proposed by Yuan et al. (2024); Yu et al. (2022); Schreck et al. (2019), update the scoring function during self-play, allowing the model to learn and improve its decision-making by simulating retrosynthetic pathways. updates the score function during self-play. Yu et al. (2022) applied a goal-driven actor-critic reinforcement-learning agent to guide the expansion and Yuan et al. (2024) utilized a critic model of route quality based on yields. Aligned with previous efforts in route-aware retrosynthesis planning, Liu et al. (2023b) represented the current synthetic route as graphs to facilitate single-step retrosynthesis predictions.
|
| 78 |
+
|
| 79 |
+
Despite significant advancements in machine learning-based retrosynthesis planning, leading commercial software like SYNTHIA™(formerly Chematica (Grzybowski et al., 2018)) continues to
|
| 80 |
+
|
| 81 |
+
9
|
| 82 |
+
|
| 83 |
+
integrate expert-encoded chemical rules with sophisticated algorithms. This approach underscores the importance of combining human expertise with data-driven models to enhance the accuracy and reliability of synthetic pathway predictions. As highlighted by Strieth-Kalthoff et al. (2024), the future of retrosynthesis planning lies in the tight cooperation between data-intensive models and human expertise, ensuring that computational predictions are both feasible and scalable.
|
| 84 |
+
|
| 85 |
+
5.2 LLM FOR PLANNING
|
| 86 |
+
|
| 87 |
+
Recent advances in large language models (LLMs) have revolutionized the way complex planning processes are approached on diverse tasks from internet browsing to robotics (Hu et al., 2024; Prasad et al., 2024; Sun et al., 2023; Zhang & Lu, 2024; Tan et al., 2024; Zhou et al., 2023; Yu et al., 2024a; Shinn et al., 2023; Yao et al., 2023; Lu et al., 2023; Trinh et al., 2024). One diversion between LLMs and traditional planners is that LLMs may produce plans that include impossible actions. To ground LLMs to the feasible action spaces, previous approaches provide available actions in different granularity as external tools to agent-like planners (Prasad et al., 2024; Hu et al., 2024) or as functions to code-style planner Sun et al. (2023); Zhang & Lu (2024). Some approaches (Liu et al., 2023a) also use LLMs as a format converter to translate actual problem text into sequences compatible with traditional planners and use them to solve the planning problem. Another important designing factor in LLM planning is the utilization of feedback provided by the underlying systems. Methods like Chain-of-thought (Wei et al., 2023), Least-to-most (Zhou et al., 2023) generate plans in a single pass without taking any feedback. ReAct (Yao et al., 2023) decouples one planning step into a dedicated reasoning stage and an acting stage, where observations in previous steps are utilized in the reasoning stage of the current step. Adaplanner (Sun et al., 2023) further refines the entire plan with feedback on the execution results of the current plan from LLMs.
|
| 88 |
+
|
| 89 |
+
Albeit the rapid development of LLMs in the field of planning, Kambhampati et al. (2024) advo- cated that LLMs themselves cannot perform planning due to the underlying n-gram-like generation mechanism. Instead, Kambhampati et al. (2024) suggested that LLMs can be utilized in the overall planning process as auxiliary parts like format translators, summarizers whereas the soundness of the entire planning pipeline is bounded by the experts (human beings or models) involved. Our method aligns with this philosophy where the local experts back the soundness of generated retrosynthesis routes, and also with the philosophy suggested by Strieth-Kalthoff et al. (2024). 6 CONCLUSION & FUTURE DIRECTIONS In this work, we have introduced a new methodology for retrosynthesis route generation and pro- posed a novel framework for leveraging LLMs with RAG and iterative refinement through expert feedback. Our approach demonstrates the ability of LLMs to successfully generate retrosynthesis routes with high query success rates and competitive route quality compared to traditional methods. Notably, the iterative refinement process enhances the feasibility of generated routes, addressing the challenges associated with round-trip validity and retrieval quality.
|
| 90 |
+
|
| 91 |
+
Despite promising results, challenges remain in balancing LLM generalization with domain-specific
|
| 92 |
+
|
| 93 |
+
chemical knowledge. Expanding the route database and enhancing feedback mechanisms could
|
| 94 |
+
|
| 95 |
+
improve performance and enable advanced expert systems with human-in-the-loop strategies. Our experiments also indicate that instruction-based fine-tuning struggles to fully capture retrosynthesis complexities, highlighting the need for improved tokenization or training objectives. Additionally, the scalability of our approach is limited by latency of token generation. While we avoided sampling for reproducibility, future work could explore sampling multiple routes in a single pass to address this limitation.
|
| 96 |
+
|
| 97 |
+
Overall, our findings suggest that LLMs hold significant potential for automating complex retrosyn- thesis tasks, paving the way for more efficient and scalable approaches in chemical synthesis plan- ning. Future directions will explore the integration of dynamic knowledge updates and optimization of LLM prompt structures to further enhance performance in out-of-distribution scenarios.
|
| 98 |
+
|
| 99 |
+
10
|
| 100 |
+
|
| 101 |
+
## REPRODUCIBILITY STATEMENT
|
| 102 |
+
|
| 103 |
+
Weights for all models are downloaded from their official repositories respectively[5] . We set LLMs’ sampling temperature to 0 during route generation for reproducibility and set the temperature to 0.2 during formatting.
|
| 104 |
+
|
| 105 |
+
## REFERENCES
|
| 106 |
+
|
| 107 |
+
- Cayque Monteiro Castro Nascimento and Andr´e Silva Pimentel. Do large language models under- stand chemistry? a conversation with chatgpt. _Journal of Chemical Information and Modeling_ , 63 (6):1649–1655, 2023. doi: 10.1021/acs.jcim.3c00285. URL [URL removed] acs.jcim.3c00285. PMID: 36926868.
|
| 108 |
+
|
| 109 |
+
- Binghong Chen, Chengtao Li, Hanjun Dai, and Le Song. Retro*: Learning Retrosynthetic Planning
|
| 110 |
+
|
| 111 |
+
- with Neural Guided A* Search, June 2020. URL [URL removed]
|
| 112 |
+
|
| 113 |
+
- arXiv:2006.15820 [cs, stat].
|
| 114 |
+
|
| 115 |
+
- Shuan Chen and Yousung Jung. Deep Retrosynthetic Reaction Prediction using Local Reactivity and Global Attention. _JACS Au_ , 1(10):1612–1620, October 2021. doi: 10.1021/jacsau.1c00246. URL [URL removed] Publisher: American Chemical Society.
|
| 116 |
+
|
| 117 |
+
- Shuan Chen and Yousung Jung. A generalized-template-based graph neural network for accurate organic reactivity prediction. _Nature Machine Intelligence_ , 4(9):772–780, 2022.
|
| 118 |
+
|
| 119 |
+
- Elias James Corey. General methods for the construction of complex molecules. _Pure and Applied_ _chemistry_ , 14(1):19–38, 1967. Carl Edwards, Aakanksha Naik, Tushar Khot, Martin Burke, Heng Ji, and Tom Hope. SynerGPT:
|
| 120 |
+
|
| 121 |
+
- In-Context Learning for Personalized Drug Synergy Prediction and Drug Design, July 2023. URL [URL removed] Pages: 2023.07.06.547759 Section: New Results. Peter Ertl and Ansgar Schuffenhauer. Estimation of synthetic accessibility score of drug-like molecules based on molecular complexity and fragment contributions. _Journal of cheminformatics_ , 1:1–11, 2009.
|
| 122 |
+
|
| 123 |
+
- Martin Ester, Hans-Peter Kriegel, J¨org Sander, Xiaowei Xu, et al. A density-based algorithm for discovering clusters in large spatial databases with noise. In _kdd_ , volume 96, pp. 226–231, 1996. Yin Fang, Ningyu Zhang, Zhuo Chen, Lingbing Guo, Xiaohui Fan, and Huajun Chen. Domain- Agnostic Molecular Generation with Self-feedback, October 2023. URL [URL removed] org/abs/2301.11259. arXiv:2301.11259 [cs].
|
| 124 |
+
|
| 125 |
+
- Bartosz A Grzybowski, Sara Szymku´c, Ewa P Gajewska, Karol Molga, Piotr Dittwald, Agnieszka Wołos, and Tomasz Klucznik. Chematica: a story of computer code that started to think like a chemist. _Chem_ , 4(3):390–398, 2018. Peter E Hart, Nils J Nilsson, and Bertram Raphael. A formal basis for the heuristic determination
|
| 126 |
+
|
| 127 |
+
- of minimum cost paths. _IEEE transactions on Systems Science and Cybernetics_ , 4(2):100–107,
|
| 128 |
+
|
| 129 |
+
- 1968.
|
| 130 |
+
|
| 131 |
+
-
|
| 132 |
+
|
| 133 |
+
Siqi Hong, Hankz Hankui Zhuo, Kebing Jin, Guang Shao, and Zhanwen Zhou. Retrosynthetic planning with experience-guided monte carlo tree search. _Communications Chemistry_ , 6(1):120, 2023. Mengkang Hu, Yao Mu, Xinmiao Yu, Mingyu Ding, Shiguang Wu, Wenqi Shao, Qiguang Chen, Bin Wang, Yu Qiao, and Ping Luo. Tree-Planner: Efficient Close-loop Task Planning with Large Language Models, July 2024. URL [URL removed] arXiv:2310.08582 [cs].
|
| 134 |
+
|
| 135 |
+
> 5Hypertext references: Retro*; LocalRetro; LocalTransform; MolecularTransformer.
|
| 136 |
+
|
| 137 |
+
11
|
| 138 |
+
|
| 139 |
+
- Subbarao Kambhampati, Karthik Valmeekam, Lin Guan, Mudit Verma, Kaya Stechly, Siddhant
|
| 140 |
+
|
| 141 |
+
- Bhambri, Lucas Saldyt, and Anil Murthy. LLMs Can’t Plan, But Can Help Planning in LLM-Modulo Frameworks, June 2024. URL [URL removed] arXiv:2402.01817 [cs].
|
| 142 |
+
|
| 143 |
+
- Jiatong Li, Yunqing Liu, Wenqi Fan, Xiao-Yong Wei, Hui Liu, Jiliang Tang, and Qing Li. Em- powering Molecule Discovery for Molecule-Caption Translation with Large Language Models: A ChatGPT Perspective, June 2023. URL [URL removed]
|
| 144 |
+
|
| 145 |
+
- arXiv:2306.06615 [cs].
|
| 146 |
+
|
| 147 |
+
- Chin-Yew Lin. Rouge: A package for automatic evaluation of summaries. In _Text summarization_ _branches out_ , pp. 74–81, 2004. Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qiang Liu, Shiqi Zhang, Joydeep Biswas, and Peter Stone.
|
| 148 |
+
|
| 149 |
+
- LLM+P: Empowering Large Language Models with Optimal Planning Proficiency, September
|
| 150 |
+
|
| 151 |
+
- 2023a. URL [URL removed] arXiv:2304.11477 [cs].
|
| 152 |
+
|
| 153 |
+
- Songtao Liu, Zhengkai Tu, Minkai Xu, Zuobai Zhang, Lu Lin, Rex Ying, Jian Tang, Peilin Zhao, and Dinghao Wu. FusionRetro: Molecule Representation Fusion via In-Context Learning for Retrosynthetic Planning, May 2023b. URL [URL removed] arXiv:2209.15315 [physics, q-bio]. Zequn Liu, Wei Zhang, Yingce Xia, Lijun Wu, Shufang Xie, Tao Qin, Ming Zhang, and Tie-Yan Liu. MolXPT: Wrapping Molecules with Text for Generative Pre-training. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), _Proceedings of the 61st Annual Meeting of the_ _Association for Computational Linguistics (Volume 2: Short Papers)_ , pp. 1606–1616, Toronto, Canada, July 2023c. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-short. 138. URL [URL removed] Pan Lu, Baolin Peng, Hao Cheng, Michel Galley, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu,
|
| 154 |
+
|
| 155 |
+
- and Jianfeng Gao. Chameleon: Plug-and-Play Compositional Reasoning with Large Language Models, October 2023. URL [URL removed] arXiv:2304.09842 [cs]. Markus Orsi and Jean-Louis Reymond. One chiral fingerprint to find them all. _Journal of chemin-_ _formatics_ , 16(1):53, 2024. Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In _Proceedings of the 40th annual meeting of the Association_ _for Computational Linguistics_ , pp. 311–318, 2002. Archiki Prasad, Alexander Koller, Mareike Hartmann, Peter Clark, Ashish Sabharwal, Mohit
|
| 156 |
+
|
| 157 |
+
- Bansal, and Tushar Khot. ADaPT: As-Needed Decomposition and Planning with Language Mod-
|
| 158 |
+
|
| 159 |
+
- els, April 2024. URL [URL removed] arXiv:2311.05772 [cs].
|
| 160 |
+
|
| 161 |
+
- Mayk Caldas Ramos, Shane S. Michtavy, Marc D. Porosoff, and Andrew D. White. Bayesian Optimization of Catalysts With In-context Learning, April 2023. URL [URL removed] abs/2304.05341. arXiv:2304.05341 [physics]. John S Schreck, Connor W Coley, and Kyle JM Bishop. Learning retrosynthetic planning through
|
| 162 |
+
|
| 163 |
+
- simulated experience. _ACS central science_ , 5(6):970–981, 2019. Philippe Schwaller, Teodoro Laino, Th´eophile Gaudin, Peter Bolgar, Christopher A. Hunter, Costas Bekas, and Alpha A. Lee. Molecular Transformer: A Model for Uncertainty-Calibrated Chemical Reaction Prediction. _ACS Cent. Sci._ , 5(9):1572–1583, September 2019. ISSN 2374-7943. doi: 10. 1021/acscentsci.9b00576. URL [URL removed]
|
| 164 |
+
|
| 165 |
+
- Publisher: American Chemical Society.
|
| 166 |
+
|
| 167 |
+
-
|
| 168 |
+
|
| 169 |
+
- Philippe Schwaller, Riccardo Petraglia, Valerio Zullo, Vishnu H. Nair, Rico Andreas Haeuselmann, Riccardo Pisoni, Costas Bekas, Anna Iuliano, and Teodoro Laino. Predicting retrosynthetic pathways using transformer-based models and a hyper-graph exploration strategy. _Chem. Sci._ , 11(12):3316–3325, 2020. ISSN 2041-6520, 2041-6539. doi: 10.1039/C9SC05704H. URL [URL removed]
|
| 170 |
+
|
| 171 |
+
12
|
| 172 |
+
|
| 173 |
+
Philippe Schwaller, Daniel Probst, Alain C Vaucher, Vishnu H Nair, David Kreutter, Teodoro Laino, and Jean-Louis Reymond. Mapping the space of chemical reactions using attention-based neural networks. _Nature machine intelligence_ , 3(2):144–152, 2021.
|
| 174 |
+
|
| 175 |
+
- Marwin HS Segler, Mike Preuss, and Mark P Waller. Planning chemical syntheses with deep neural networks and symbolic ai. _Nature_ , 555(7698):604–610, 2018. Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and
|
| 176 |
+
|
| 177 |
+
- Shunyu Yao. Reflexion: Language Agents with Verbal Reinforcement Learning, October 2023.
|
| 178 |
+
|
| 179 |
+
- URL [URL removed] arXiv:2303.11366 [cs].
|
| 180 |
+
|
| 181 |
+
- Felix Strieth-Kalthoff, Sara Szymkuc, Karol Molga, Al´an Aspuru-Guzik, Frank Glorius, and Bar- tosz A Grzybowski. Artificial intelligence for retrosynthetic planning needs both data and expert knowledge. _Journal of the American Chemical Society_ , 146(16):11005–11017, 2024. Haotian Sun, Yuchen Zhuang, Lingkai Kong, Bo Dai, and Chao Zhang. AdaPlanner: Adaptive Planning from Feedback with Language Models, May 2023. URL [URL removed]
|
| 182 |
+
|
| 183 |
+
- 2305.16653. arXiv:2305.16653 [cs].
|
| 184 |
+
|
| 185 |
+
- Zhi Rui Tam, Cheng-Kuang Wu, Yi-Lin Tsai, Chieh-Yen Lin, Hung-yi Lee, and Yun-Nung Chen. Let me speak freely? a study on the impact of format restrictions on performance of large language models. _arXiv preprint arXiv:2408.02442_ , 2024. Weihao Tan, Wentao Zhang, Xinrun Xu, Haochong Xia, Ziluo Ding, Boyu Li, Bohan Zhou, Junpeng Yue, Jiechuan Jiang, Yewen Li, Ruyi An, Molei Qin, Chuqiao Zong, Longtao Zheng, Yujie Wu, Xiaoqiang Chai, Yifei Bi, Tianbao Xie, Pengjie Gu, Xiyun Li, Ceyao Zhang, Long Tian, Chaojie
|
| 186 |
+
|
| 187 |
+
- Wang, Xinrun Wang, B¨orje F. Karlsson, Bo An, Shuicheng Yan, and Zongqing Lu. Cradle:
|
| 188 |
+
|
| 189 |
+
- Empowering Foundation Agents Towards General Computer Control, July 2024. URL http:
|
| 190 |
+
|
| 191 |
+
- //arxiv.org/abs/2403.03186. arXiv:2403.03186 [cs].
|
| 192 |
+
|
| 193 |
+
- Trieu H Trinh, Yuhuai Wu, Quoc V Le, He He, and Thang Luong. Solving olympiad geometry without human demonstrations. _Nature_ , 625(7995):476–482, 2024. Xiaorui Wang, Yuquan Li, Jiezhong Qiu, Guangyong Chen, Huanxiang Liu, Benben Liao, ChangYu Hsieh, and Xiaojun Yao. RetroPrime: A Diverse, plausible and Transformer-based method
|
| 194 |
+
|
| 195 |
+
- for Single-Step retrosynthesis predictions. _Chemical Engineering Journal_ , 420:129845, Septem-
|
| 196 |
+
|
| 197 |
+
- ber 2021. ISSN 13858947. doi: 10.1016/j.cej.2021.129845. URL [URL removed]
|
| 198 |
+
|
| 199 |
+
- elsevier.com/retrieve/pii/S1385894721014303.
|
| 200 |
+
|
| 201 |
+
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, and Denny Zhou. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models, January 2023. URL [URL removed] arXiv:2201.11903 [cs]. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao.
|
| 202 |
+
|
| 203 |
+
- ReAct: Synergizing Reasoning and Acting in Language Models, March 2023. URL http:
|
| 204 |
+
|
| 205 |
+
- //arxiv.org/abs/2210.03629. arXiv:2210.03629 [cs].
|
| 206 |
+
|
| 207 |
+
- Fangxu Yu, Lai Jiang, Haoqiang Kang, Shibo Hao, and Lianhui Qin. Flow of Reasoning: Efficient Training of LLM Policy with Divergent Thinking, June 2024a. URL [URL removed] abs/2406.05673. arXiv:2406.05673 [cs]. Yemin Yu, Ying Wei, Kun Kuang, Zhengxing Huang, Huaxiu Yao, and Fei Wu. Grasp: Navigating retrosynthetic planning with goal-driven policy. In S. Koyejo, S. Mo-
|
| 208 |
+
|
| 209 |
+
- hamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (eds.), _Advances in Neural In-_
|
| 210 |
+
|
| 211 |
+
- _formation Processing Systems_ , volume 35, pp. 10257–10268. Curran Associates, Inc.,
|
| 212 |
+
|
| 213 |
+
- 2022. URL [URL removed] file/42beaab8aa8da1c77581609a61eced93-Paper-Conference.pdf.
|
| 214 |
+
|
| 215 |
+
- Yemin Yu, Luotian Yuan, Ying Wei, Hanyu Gao, Fei Wu, Zhihua Wang, and Xinhai Ye. Retroood: Understanding out-of-distribution generalization in retrosynthesis prediction. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 38, pp. 374–382, 2024b.
|
| 216 |
+
|
| 217 |
+
13
|
| 218 |
+
|
| 219 |
+
- Luotian Yuan, Yemin Yu, Ying Wei, Yongwei Wang, Zhihua Wang, and Fei Wu. Active retrosyn-
|
| 220 |
+
|
| 221 |
+
- thetic planning aware of route quality. In _The Twelfth International Conference on Learning_ _Representations_ , 2024. URL [URL removed]
|
| 222 |
+
|
| 223 |
+
-
|
| 224 |
+
|
| 225 |
+
- Zheni Zeng, Yuan Yao, Zhiyuan Liu, and Maosong Sun. A deep-learning system bridging molecule structure and biomedical text with comprehension comparable to human professionals. _Nat_ _Commun_ , 13(1):862, February 2022. ISSN 2041-1723. doi: 10.1038/s41467-022-28494-3. URL [URL removed] Number: 1
|
| 226 |
+
|
| 227 |
+
- Publisher: Nature Publishing Group.
|
| 228 |
+
|
| 229 |
+
- Wanpeng Zhang and Zongqing Lu. AdaRefiner: Refining Decisions of Language Models with Adaptive Feedback. In Kevin Duh, Helena Gomez, and Steven Bethard (eds.), _Findings of the_ _Association for Computational Linguistics: NAACL 2024_ , pp. 782–799, Mexico City, Mexico, June 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-naacl.50. URL [URL removed]
|
| 230 |
+
|
| 231 |
+
-
|
| 232 |
+
|
| 233 |
+
- Zihan Zhao, Da Ma, Lu Chen, Liangtai Sun, Zihao Li, Hongshen Xu, Zichen Zhu, Su Zhu, Shuai Fan, Guodong Shen, et al. Chemdfm: Dialogue foundation model for chemistry. _arXiv preprint_ _arXiv:2401.14818_ , 2024.
|
| 234 |
+
|
| 235 |
+
- Denny Zhou, Nathanael Sch¨arli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuur- mans, Claire Cui, Olivier Bousquet, Quoc Le, and Ed Chi. Least-to-Most Prompting Enables Complex Reasoning in Large Language Models, April 2023. URL [URL removed]
|
| 236 |
+
|
| 237 |
+
- abs/2205.10625. arXiv:2205.10625 [cs].
|
| 238 |
+
|
| 239 |
+
-
|
| 240 |
+
|
| 241 |
+
14
|
| 242 |
+
|
| 243 |
+
A APPENDIX A.1 AND-OR TREE ABSTRACTION USED IN PRIOR APPROACHES
|
| 244 |
+
|
| 245 |
+
Previous retrosynthesis planning approaches abstract the problem as navigating through an AND-
|
| 246 |
+
|
| 247 |
+
OR tree as shown in Figure A1.
|
| 248 |
+
|
| 249 |
+
Figure A1: The traditional paradigm of planning-based retrosynthesis route generation represents the process as an AND-OR tree, where molecule nodes serve as OR nodes and reaction nodes as AND nodes. First, the planner selects a node to expand based on estimated cost. Next, a single-step retrosynthesis reaction is applied to the molecule nodes, expanding them into an AND-OR subtree. Finally, the cost along the pathway is updated in preparation for the next selection. The AND-OR tree is rooted on the target molecule node and has commercially purchasable materials as leaf nodes. A.2 DATASET STATISTICS We report the dataset statistics in Table A1. The test subset consists of the first 200 routes from the test set and is slightly more challenging to synthesize compared to the overall test set. **789 790 Split No. of Routes Avg. Route Length Avg. SA Score 791** Train 299202 1.76 2.64 Test (all) 79529 3.04 2.77 Test (subset) 200 3.12 2.81 Table A1: Statistics of the dataset used in the experiments. SA (synthetic accessibility) Score (Ertl & Schuffenhauer, 2009) is a heuristic metric to evaluate the difficulty of synthesis, with 10 being the hardest and 1 being the easiest. A.3 SUGGESTION AND FEEDBACK SCHEMA
|
| 250 |
+
|
| 251 |
+
We summarize various scenarios where the LLM may generate incorrect routes, along with corresponding descriptions and suggestions for refinement, as shown in Table A2.
|
| 252 |
+
|
| 253 |
+
## A.4 PROMPTS USED
|
| 254 |
+
|
| 255 |
+
##
|
| 256 |
+
|
| 257 |
+
We provide the prompts used in our experiments in Table A3 and Table A4. Placeholders enclosed by _{{}}_ are used and will be filled with corresponding text during inference. While we manually refined our prompts, there remains room for improvement, and further refinement could enhance overall performance. We leave tasks such as automatic prompt construction for future work.
|
| 258 |
+
|
| 259 |
+
15
|
| 260 |
+
|
| 261 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|||
|
| 262 |
+
|---|---|---|
|
| 263 |
+
||**Scenario**<br>**Description**|**Suggestion**|
|
| 264 |
+
||Wrong Product<br>The fnal product molecule is<br>not the target molecule.|Round-trip valid single-step<br>retrosynthesis reactions for<br>the product molecule.|
|
| 265 |
+
||Cyclic Route<br>Duplicate product molecules<br>appear in the reactants.|NA|
|
| 266 |
+
||Disconnected Route<br>Invalid JSON format.|NA|
|
| 267 |
+
||Unnecessary Subroute<br>Molecule_{_mol smiles_}_is<br>already available.|You must stop its synthesis<br>here.|
|
| 268 |
+
||Not Round-trip Valid<br>Reaction_{_reaction smiles_}_is<br>not round-trip valid.|Round-trip valid single-step<br>retrosynthesis reactions for<br>theproduct molecule.|
|
| 269 |
+
|||I cannot fnd any valid<br>reactions to replace it. Please<br>restart from its precursor.|
|
| 270 |
+
||Invalid Product Molecule<br>Product molecule_{_mol<br>smiles_}_in reaction_{_reaction<br>smiles_}_is invalid.|NA|
|
| 271 |
+
||Invalid Reactant Molecule<br>Reactants molecule(s)_{_mol<br>smiles_}_in reaction_{_reaction<br>smiles_}_is invalid.|Round-trip valid single-step<br>retrosynthesis reactions for<br>the product molecule.|
|
| 272 |
+
||Duplicate Product in<br>Reactants<br>Product molecule_{_mol<br>smiles_}_appears in the<br>reactants.|NA|
|
| 273 |
+
||Unavailable Starting Material<br>Starting material molecule<br>_{_mol smiles_}_is not<br>commercially available.|Round-trip valid single-step<br>retrosynthesis reactions for<br>theproduct molecule.|
|
| 274 |
+
|||I cannot fnd any valid<br>reactions to replace it. Please<br>restart from its precursor.|
|
| 275 |
+
||Table A2: Feedback templates for different scenarios are provided. The text in the “description”<br>and “suggestion” columns will be fed to the LLM to assist in refning the route. Placeholders_{}_are<br>used, with specifc molecules or reaction SMILES provided in the actual suggestions.||
|
| 276 |
+
|
| 277 |
+
16
|
| 278 |
+
|
| 279 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>||
|
| 280 |
+
|---|---|
|
| 281 |
+
||**System Prompt for Route Generation**|
|
| 282 |
+
||As a professional chemist specialized in synthesis analysis, you are tasked with generating a full<br>retrosynthesis route for a target molecule provided in SMILES format.<br>A retrosynthesis route is a series of retrosynthesis reactions that starts from the target molecule<br>and ends with some commercially purchasable compounds.<br>To assist you, example retrosynthesis routes that are either close to the target molecule or repre-<br>sentative will be provided.<br>Your responses will receive reaction-wise feedback from chemical experts based on the validity<br>of SMILES inside each reaction and the round-trip validity of the reaction.<br>A round-trip valid reaction means that it’s predicted to produce the products in the reaction given<br>the reactants.<br>You will start with the provided examples and iteratively improve your retrosynthesis route based<br>on the feedback.<br>Here’s the Step-by-Step Breakdown for this task:<br>Step 1: Identify the target molecule.<br>Step 2: Decompose the target molecule into precursor molecules. Note that precursor molecules<br>are not necessarily smaller and simpler to synthesize, you should prioritize those molecules that<br>you already know how to synthesize,even though they might be harder to synthesize.<br>Step 3: For each precursor molecule, repeat the decomposition process until the simplest starting<br>materials are reached.<br>The decomposition process should be recursive, where each precursor can further break down<br>into its own precursors.<br>Here is the format of target molecule provided:<br>_<_target<br>~~m~~olecule_>_<br>_{{_<br>TARGET<br>~~M~~OLECULE<br>_}}_<br>_<_/target<br>~~m~~olecule_>_<br>Here is the format of example retrosynthesis routes:<br>_<_example<br>routes_>_<br>_{{_<br>EXAMPLE<br>~~R~~OUTES<br>_}}_<br>_<_/example<br>~~r~~outes_>_<br>After your initial attempt, you will receive feedback in the following format:<br>_<_feedback_>_<br>_{{_<br>FEEDBACK<br>_}}_<br>_<_/feedback_>_<br>Based on this feedback, generate an improved retrosynthesis route, again following the same<br>format as shown in the examples.<br>Only present the retrosynthesis route and nothing else.|
|
| 283 |
+
||Table A3: System Prompt for Retrosynthesis Route Generation with Refnements|
|
| 284 |
+
|
| 285 |
+
17
|
| 286 |
+
|
| 287 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>||
|
| 288 |
+
|---|---|
|
| 289 |
+
||**Retrieved Routes Templates**|
|
| 290 |
+
||_{_<br>“TargetMolecule”:<br>_{{_example<br>~~m~~ol_}}_<br>“RetrosynthesisRoute”:<br>_{{_example<br>~~r~~oute_}}_<br>_}_|
|
| 291 |
+
||**JSON Formatter Prompt Template and Template for Retrieved Routes**|
|
| 292 |
+
||Instruction<br>——<br>As a professional research assistant, it is your job to convert the text description of a retrosyn-<br>thesis route into a tree in JSON format.<br>The given description may not be complete, it is also your job to complete the reactions in the<br>route with the correct retrosynthesis reactions.<br>No reagent information is required, please exclude them from your responses.<br>In the case that IUPAC names appear in the description, use provided tool to convert it to a<br>SMILES string.<br>Output format<br>——<br>Your output should be in JSON format like<br>_{_<br>“molecule”: “TARGET<br>~~M~~OLECULE<br>~~S~~MILES”,<br>“children”: [<br>_{_<br>“molecule”: “PRECURSOR<br>~~1~~<br>~~S~~MILES”,<br>“children”:<br>...<br>]<br>_}_,<br>_{_<br>“molecule”: “PRECURSOR<br>~~2~~<br>~~S~~MILES”,<br>“children”: [<br>_{_<br>“molecule”: “SUB<br>PRECURSOR<br>1<br>~~S~~MILES”,<br>“children”: [<br>...<br>]<br>_}_<br>]<br>_}_<br>]<br>_}_<br>where key “molecule” is the synthesis result of all molecules in the key “children”, in a recur-<br>sive manner.<br>Key “molecule” must be a valid SMILES representation of a valid molecule, you can leave<br>“children” as an empty list if it’s commercially available.<br>User’s input<br>——<br>Input route description:<br>_{{_input_}}_|
|
| 293 |
+
||Table A4: Prompt Template for JSON Formatter|
|
| 294 |
+
|
| 295 |
+
18
|
| 296 |
+
|
| 297 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>**1000**<br>**1001**<br>**1002**<br>**1003**<br>**1004**<br>**1005**<br>**1006**<br>**1007**<br>**1008**<br>**1009**<br>**1010**<br>**1011**<br>**1012**<br>**1013**<br>**1014**<br>**1015**<br>**1016**<br>**1017**<br>**1018**<br>**1019**<br>**1020**<br>**1021**<br>**1022**<br>**1023**<br>**1024**<br>**1025**<br>**(1)** <br>**(2)** <br>**(3) **<br>**(4)**<br>**(5)**<br>**(6)**<br>**(7)**<br>**(8)**<br>**(9)**<br>**(10)**<br>**(11)**<br>**(12)**<br>**(13)**<br>**(14)**<br>**(15)**<br>**(16)**<br>**(17)**<br>**(18)**<br>**(19)**<br>**(20)**<br>**(21)**<br>**(22)**<br>**(23)**<br>**(24)**<br>**(25)**<br>**(26)**<br>**(27)**<br>**(28)**<br>**(29)**<br>**(30)**<br>**(31)**<br>**(32) **<br>**(33) **|A.5<br>PSEUDOCODE OFPROPOSEDAPPROACH|
|
| 298 |
+
|---|---|
|
| 299 |
+
||**Algorithm 1:**Retrosynthesis Route Generation with LLM|
|
| 300 |
+
||**Input:** Target Molecule_t_; Iteration Budget_N_; Frozen Pretrained LLM with Weights_θ_;<br>**Output:** Predicted Retrosynthesis Route_R_<br> GenerateRoute(_t, N_)<br> _i ←_0;<br> **while**_i ≥N_ **do**<br>/* Molecular-Similarity-Based RAG<br>*/<br>**if**_i_= 0**then**<br>_{RT_<br>_sim} ←Retrieve_(_DBRoute, t_);<br>_{RJ_<br>_sim} ←Describe_(_{RJ_<br>_sim}_);<br>_RT_<br>_i ←f_(_template_<br>~~_g_~~_en_(_t, {RT_<br>_sim}_)_|θ_);<br>**else**<br>_RT_<br>_i ←f_(_template_<br>~~_g_~~_en_(_t, {RT_<br>_sim}, RT_<br>_i−_1_, suggestioni−_1_|θ_);<br>**end**<br>/* LLM-backed Formatter<br>*/<br>_RJ_<br>_i ←f_(_templateformat_(_RT_<br>_i_ )_|θ_);<br>/* Suggestion from Expert Models<br>*/<br>_suggestioni, frontieri ←suggest_(_RJ_<br>_i_ );<br>/* Local Knowledge Base Update<br>*/<br>**if**_frontieri ≡_∅**then**<br>// _RJ_<br>_i_<br>is Valid<br>Update_DBRoute_with_RJ_<br>_i_ ;<br>**break**;<br>**else**<br>**if**_t /∈frontieri_ **then**<br>// _RJ_<br>_i_<br>is Partially Valid<br>_sub_<br>~~_t_~~_raj ←{}_;<br>**for**_each new target t′ in frontieri_ **do**<br>**if**_t′ ∈DBsubroutes_ **then**<br>_sub_<br>~~_t_~~_raj_[_t′_]_←DBsubroutes_[_t′_]<br>**else**<br>_sub_<br>~~_t_~~_raj_[_t′_]_←_GenerateRoute(_t′,_max(_N −_1_,_0));<br>_DBsubroutes_[_t′_]_←sub_<br>~~_t_~~_raj_[_t′_]<br>**end**<br>**end**<br>_RJ_<br>_i ←Insert_(_RJ_<br>_i , sub_<br>_traj_);<br>_suggestioni ←suggest_(_RJ_<br>_i_ );<br>**end**<br>**end**<br>_i ←i_+ 1;<br> **end**<br> **Return**_RJ_<br>_i_ ;|
|
| 301 |
+
||A.6<br>CASEANALYSIS<br>We present three case studies: where the LLM generates a round-trip valid route while Retro* fails<br>to (1) generate a valid route or (2) even provide a prediction, and (3) where Retro* generates a<br>round-trip valid route while the LLM fails to generate a valid route, as illustrated in Figure A2.<br>In the frst case, Retro* may fail to generate a round-trip valid route due to an invalid reaction in one<br>step of the retrosynthesis process, as shown in Figure A2a. In contrast, the LLM corrects its initial<br>prediction in the frst trial and successfully generates a fully valid round-trip route.|
|
| 302 |
+
|
| 303 |
+
19
|
| 304 |
+
|
| 305 |
+
**1026** It is also possible for Retro* to exhaust its entire iteration budget (500 iterations), as demonstrated **1027** in Figure A2b. In this case, Retro* spends excessive resources on subroutes that lead to dead ends, **1028** such as ‘ClP(Cl)(Cl)(Cl)Cl’ and ‘O=S(Cl)Cl’, for which no expert can provide any valid single-step **1029** retrosynthesis suggestion. However, the LLM overcomes this challenge by leveraging expert advice **1030** to generate a valid route. Upon manually examining the suggestions that contributed to the valid **1031** route, we found that all of them came from the same single retrosynthesis model used by Retro*. **1032** This suggests that the LLM can effectively select a single-step model leading to overall success, **1033** even without relying on an explicit value function. **1034** The LLM may also encounter dead ends, as shown in Figure A2c, where several attempts are made **1035** to synthesize ‘CCOC(=O)c1c(O)c2cc(Br)c(C)c(C)c2oc1=O’. However, it is worth noting that, com- **1036** pared to the 500 iteration budget used by Retro*, we only utilized 5 iterations to refine the route. **1037** With additional iterations, the issue may potentially be resolved. **1038 1039** A.7 USER INTERFACE FOR THE RETROSYNTHESIS AGENT **1040 1041** We showcase the user interface of our proposed framework, hosted on a local server, as illustrated in **1042** Figure A3. The user inputs the SMILES representation of the target molecule, and RAG is performed **1043** implicitly. Once the LLM generates a route prediction, the user can either provide feedback directly **1044** or opt for ‘surrogate’ feedback generated by local expert models. This process continues until a **1045** configurable iteration budget is reached or a valid route is found. **1046 1047** A.8 USING 3D-AWARE MOLECULAR FINGERPRINTS FOR RETRIEVAL **1048 1049** We rebuilt our route database using MinHashed Atom-Pair for Chiral (MAP4C), a chiral-aware **1050** molecular fingerprint described by Orsi & Reymond (2024) and evaluated its impact on Retrieval- **1051** Augmented Generation (RAG) performance. Using DeepSeek, we tested this approach on the **1052** Retro* dataset after a single iteration, presenting empirical results highlighting molecular finger- **1053** prints’ influence on RAG efficacy. **1054 Metric 1055 Retrieval Scheme Rouge Bleu Exact Match Molecule Validity** _↑_ **Reaction RT Validity** _↑_ **No. of RT Valid Routes** _↑_ **1056** No RAG at all 0.4485 0.2900 0.00% 58.31% 30.00% 1 **1057** MAP4C FingerprintsMorgan Fingerprints 0.64420.6605 0.59210.5611 7.54%9.14% **87.68%** 89.55% **46.20%** 43.21% **78** 36 **1058 1059** Table A5: Ablation study of using chiral-aware molecular fingerprints for similarity calculation in **1060** retrieval. **1061 1062 1063** A.9 EVALUATION ON CHEMISTRY-AWARE LLMS **1064 1065** We evaluated ChemDFM-v1.5-8B (Zhao et al., 2024) for retrosynthesis route generation under four **1066** configurations: (1) Vanilla, (2) fine-tuned, (3) RAG-enhanced, and (4) fine-tuned with RAG. Fine- **1067** tuning was performed on the Retro* training dataset to generate JSON-formatted routes from prod- **1068** uct SMILES, using low-rank adapters to reduce trainable parameters. In RAG settings, reference **1069** routes were extracted as described in the main text and provided only during inference. We report the evaluation results in Table A7. It is worth noting that while fine-tuned LLMs achieve similar **1070** results in text-related metrics like BLEU and Rouge, meaning fine-tuned LLMs possess the ability **1071** to produce retrosynthesis trees similar to the ground truth as provided for supervised fine-tuning, **1072** they struggle to generate valid routes, even pretrained with chemistry knowledge. Compared to our **1073** approach without refinement, **1074**
|
| 306 |
+
|
| 307 |
+
We evaluated ChemDFM-v1.5-8B (Zhao et al., 2024) for retrosynthesis route generation under four configurations: (1) Vanilla, (2) fine-tuned, (3) RAG-enhanced, and (4) fine-tuned with RAG. Finetuning was performed on the Retro* training dataset to generate JSON-formatted routes from product SMILES, using low-rank adapters to reduce trainable parameters. In RAG settings, reference routes were extracted as described in the main text and provided only during inference. We report the evaluation results in Table A7. It is worth noting that while fine-tuned LLMs achieve similar results in text-related metrics like BLEU and Rouge, meaning fine-tuned LLMs possess the ability to produce retrosynthesis trees similar to the ground truth as provided for supervised fine-tuning, they struggle to generate valid routes, even pretrained with chemistry knowledge. Compared to our approach without refinement,
|
| 308 |
+
|
| 309 |
+
**1075 1076 1077 1078**
|
| 310 |
+
|
| 311 |
+
**1079**
|
| 312 |
+
|
| 313 |
+
Table A6: Details of supervised fine-tuning baseline.
|
| 314 |
+
|
| 315 |
+
20
|
| 316 |
+
|
| 317 |
+
**1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097** (a) LLM gives a round-trip valid route while retro* cannot. **1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112** (b) LLM gives a round-trip valid route while retro* failed to find one route. **1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128** (c) Retro* gives a round-trip valid route while LLM cannot. **1129** Figure A2: Three case analyses were visualized. Molecules in green boxes are commercially avail- **1130** able, while those in red boxes are not. Reactions in black indicate round-trip validity, whereas those **1131** in red do not. **1132 1133**
|
| 318 |
+
|
| 319 |
+
21
|
| 320 |
+
|
| 321 |
+
|**1134**<br>**1135**<br>**1136**<br>**1137**<br>**1138**<br>**1139**<br>**1140**<br>**1141**<br>**1142**<br>**1143**<br>**1144**<br>**1145**<br>**1146**<br>**1147**<br>**1148**<br>**1149**<br>**1150**<br>**1151**<br>**1152**<br>**1153**<br>**1154**<br>**1155**<br>**1156**<br>**1157**<br>**1158**<br>**1159**<br>**1160**<br>**1161**<br>**1162**<br>**1163**<br>**1164**<br>**1165**<br>**1166**<br>**1167**<br>**1168**<br>**1169**<br>**1170**<br>**1171**<br>**1172**<br>**1173**<br>**1174**<br>**1175**<br>**1176**<br>**1177**<br>**1178**<br>**1179**<br>**1180**<br>**1181**<br>**1182**<br>**1183**<br>**1184**<br>**1185**<br>**1186**<br>**1187**|Figure A3: Demonstration of Web UI|
|
| 322 |
+
|---|---|
|
| 323 |
+
||**Model**<br>**Metric**<br>**Query**<br>**Success Rate**_↑_<br>**Rouge**_↑_<br>**BLEU**_↑_<br>**Exact Match**_↑_<br>**Molecule Validity**_↑_<br>**Reaction RT Validity**_↑_<br>**Route Validity**_↑_<br>**Average Length**<br>**of Valid Route ↓**|
|
| 324 |
+
||Vanilla<br>8.50%<br>0.3545<br>0.4771<br>0.00%<br>0.00%<br>0.00%<br>0.00%<br>NA<br>Vanilla w RAG<br>5.50%<br>0.3805<br>0.4738<br>0.00%<br>0.00%<br>0.00%<br>0.00%<br>NA<br>Finetuned<br>100.00%<br>0.5513<br>0.6948<br>10.00%<br>98.28%<br>73.50%<br>26.00%<br>1.87<br>Finetuned w RAG<br>100.00%<br>0.6692<br>0.6724<br>9.50%<br>98.48%<br>73.83%<br>26.50%<br>1.81|
|
| 325 |
+
||Table A7: Performance of local fnetuned LLMs on retro* dataset.|
|
| 326 |
+
|
| 327 |
+
22
|
| 328 |
+
|
| 329 |
+
**1188** A.10 EVALUATION ON PISTACHIO DATASET **1189 1190** We extract synthesis routes from the Pistachio dataset after applying rule-based filtering to remove **1191** reactions that are either incomplete or uninformative. Following the approach of Chen et al. (2020), **1192** we construct the training dataset of routes using reactions from the training set, the testing dataset **1193** of routes using reactions from both the training and testing sets, and the validation dataset of routes **1194** using reactions from both the training and validation sets. We further remove duplicate routes in **1195** testing or validation datasets that appear in the training set, and filter out routes that are directly **1196** synthesised by starting materials. We assess our model on 50 routes in the testing dataset. The statistical details of the Pistachio dataset are provided in Table A8. One thing to note that our **1197** filtering includes removing non-necessary reactants from the reactions (reactants with molecular **1198** similarity compared to the product less than a threshold) and also breaking multi-products reaction **1199** into several reactions, together with the distribution shifts from USPTO to Pistachio, expert models **1200** may not perform well on the new route dataset. We present the results on the Pistachio dataset in **1201** Table A9. Our proposed method, using Deepseek, achieves a higher ROUGE score but a lower **1202** BLEU score. Upon careful examination, the low BLEU score is attributed to hallucinations by the **1203** LLM, which generate unwanted lengthy sequences for certain molecules. Additionally, our method **1204** achieves a higher exact match rate, primarily due to the overlapping reactions used in constructing **1205** different dataset splits. Lastly, we observe a comparable route validity between our approach and EG-MCTS. **1206 1207 1208 Split No. of Routes Avg. Route Length Avg. SA Score 1209** Train 73256 2.96 2.91 **1210** Validation 343 2.95 3.22 **1211** Test (all) 308 3.00 3.19 **1212** Test (subset) 50 2.76 3.18 **1213 1214** Table A8: Statistics of Pistachio dataset used in the experiments. SA (synthetic accessibility) Score **1215** (Ertl & Schuffenhauer, 2009) is a heuristic metric to evaluate the difficulty of synthesis, with 10 being the hardest and 1 being the easiest. **1216 1217 1218 1219 Model Metric Success RateQuery** _↑_ **Rouge** _↑_ **BLEU** _↑_ **Exact Match** _↑_ **Molecule Validity** _↑_ **Route Validity** _↑_ **of Valid RouteAverage Length ↓ 1220** Retro* 94.00% 0.7177 0.5281 6.00% 100.0% 72.00% 3.28 EG-MCTS 92.00% 0.6985 0.5285 6.00% 100.0% 56.00% 1.96 **1221** Deepseek 100.00% 0.7479 0.2682 46.00% 92.59% 60.00% 2.57 **1222 1223** Table A9: Performance on pistachio route dataset. **1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234**
|
| 330 |
+
|
| 331 |
+
**1235 1236 1237 1238 1239**
|
| 332 |
+
|
| 333 |
+
**1240**
|
| 334 |
+
|
| 335 |
+
**1241**
|
| 336 |
+
|
| 337 |
+
23
|
| 338 |
+
|
open_review/iclr2025_13843.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13843",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Generate explorative goals with large language model guidance",
|
| 6 |
+
"abstract": "Reinforcement learning (RL) struggles with sparse reward environments.\nRecent developments in intrinsic motivation have revealed the potential of language models to guide agents in exploring the environment.\nHowever, the mismatch between the granularity of environment transitions and natural language descriptions hinders effective exploration for current methods.\nTo address this problem, we introduce a model-based RL method named Language-Guided Explorative Goal Generation (LanGoal), which combines large language model (LLM) guidance with intrinsic exploration reward by learning to propose meaningful goals.\nLanGoal learns a hierarchical policy together with a world model. The high-level policy learns to propose goals based on LLM guidance to explore the environment, and the low-level policy learns to achieve the goals.\nExtensive results on Crafter demonstrate the effectiveness of LanGoal compared to recent methods.",
|
| 7 |
+
"rebuttal": "We thank the reviewer for the thoughtful feedback on our paper. We appreciate your detailed analysis and constructive suggestions.\n\n> motivation and existing methods.\n\nWe thank the reviewer for the providing the related papers. We will clarify the motivations, related works and comparisons with existing approaches in future version.\n\n> Method details.\n\nWe have fixed the unclear notations in method details and algorithm 1. We will elaborate the design and motivation of the method in a future version.\n\n\n> Results.\n\nWe agree that the test-time technique only brings marginal performance gain. We remove it from Section 5.2, and keep it in Section 5.3 for ablation study, to show whether the high-level policy can generate goal states regards to the LLM instructions.\n\nWe thank the reviewer for the thoughtful feedback on our paper. We appreciate your detailed analysis and constructive suggestions.\n\n> Limited Novelty.\n\nIt is true that our method is based on existing concepts. The main novelty of our paper is to combine the hierarchical policy with the language-based goal generation, and train this policy with world model. In this way, we reduce the query frequency of LLM, and enable goal state generation follows LLM instructions.\n\n> Limited Environment Generalizability.\n\nWe will test our method on more environments on other navigation tasks and open-world tas [...]\n\nWe thank the reviewer for their feedback on our paper.\n\n\n> 4.2 of \"LanGoal,\" all the equations are identical or nearly identical to those in Section 4.3 of DLLM, including specific abbreviations such as \"catxent\" .\n\nWe apologize for missing the reference since we only predict additional objects compared with RSSM of DreamerV3 [1]. \n\nWe find that **DLLM use exactly same equations with Dynalang [2] without reference, so we add both references** in Section 4.2 in our revised version.\n\n\n> Reward design.\n\nWe use similar reward design(thresholded cosine similarity) as DLLM only on the part of langua [...]\n\nWe thank the reviewer for their feedback on our paper.\n\n> 4.2 of \"LanGoal,\" all the equations are identical or nearly identical to those in Section 4.3 of DLLM, including specific abbreviations such as \"catxent\".\n\nWe apologize for missing the reference since we only predict additional objects compared with RSSM of DreamerV3 [1]. \n\nWe find that **DLLM use exactly same equations with Dynalang [2] without reference, so we add both references** in Section 4.2 in our revised version.\n\n> Reward design.\n\nWe use similar reward design(i.e., thresholded cosine similarity) as DLLM only on the part of lan [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
1,
|
| 10 |
+
1,
|
| 11 |
+
3,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 2.0,
|
| 15 |
+
"score_variance": 1.33,
|
| 16 |
+
"score_spread": 2,
|
| 17 |
+
"score_min": 1,
|
| 18 |
+
"score_max": 3,
|
| 19 |
+
"decision": "",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "",
|
| 22 |
+
"forum_id": "hCfhfwSfCg",
|
| 23 |
+
"primary_area": "reinforcement learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_hsev",
|
| 28 |
+
"review_id": "lEKzhUlbIf",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 1,
|
| 31 |
+
"soundness": 1,
|
| 32 |
+
"presentation": 1,
|
| 33 |
+
"contribution": 1,
|
| 34 |
+
"confidence": 5
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2037,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 895788,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_UyTj",
|
| 44 |
+
"review_id": "8NUJFw95xr",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 1,
|
| 47 |
+
"soundness": 1,
|
| 48 |
+
"presentation": 1,
|
| 49 |
+
"contribution": 1,
|
| 50 |
+
"confidence": 5
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2541,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1030994,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_kseo",
|
| 60 |
+
"review_id": "ysahlutyeK",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 1,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 6883,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1326562,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_4zna",
|
| 76 |
+
"review_id": "jDptikf9lz",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 1,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 6971,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1800791,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13843.md
ADDED
|
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## GENERATE EXPLORATIVE GOALS WITH LARGE LANGUAGE MODEL GUIDANCE
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Reinforcement learning (RL) struggles with sparse reward environments. Recent developments in intrinsic motivation have revealed the potential of language models to guide agents in exploring the environment. However, the mismatch between the granularity of environment transitions and natural language descriptions hinders effective exploration for current methods. To address this problem, we introduce a model-based RL method named Language-Guided Explorative Goal Generation (LanGoal), which combines large language model (LLM) guidance with intrinsic exploration reward by learning to propose meaningful goals. LanGoal learns a hierarchical policy together with a world model. The high-level policy learns to propose goals based on LLM guidance to explore the environment, and the lowlevel policy learns to achieve the goals. Extensive results on _Crafter_ demonstrate the effectiveness of LanGoal compared to recent methods.
|
| 10 |
+
|
| 11 |
+
1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Reinforcement learning has been widely used in decision-making tasks, but it struggles with longhorizon tasks and sparse reward settings. Especially in open-world tasks (Milani et al., 2020; Guss et al., 2021; Kanervisto et al., 2022), the agent needs to explore and make decisions to reach the goal in very large state space. Tasks like _obtain a diamond_ in Minecraft, can involve long-horizon decision-making process and exploration for sparse reward signals, which significantly increase the difficulty of the task. Given the intrinsic difficulty, reinforcement learning (RL) methods have been struggling to solve such tasks. Existing methods propose curiosity-driven exploration(Pathak et al., 2017; Ecoffet & Lehman, 2021), maximize disagreement between ensemble of models(Burda et al., 2019), or use intrinsic motivation(Schmidhuber, 1991; Pathak et al., 2017) to encourage the agent to explore the environment.
|
| 14 |
+
|
| 15 |
+
Given the intrinsic difficulty, reinforcement learning (RL) methods have been struggling to solve such tasks. Existing methods propose curiosity-driven exploration(Pathak et al., 2017; Ecoffet & Lehman, 2021), maximize disagreement between ensemble of models(Burda et al., 2019), or use intrinsic motivation(Schmidhuber, 1991; Pathak et al., 2017) to encourage the agent to explore the environment. Most of these methods give the agent a reward bonus when reaching unseen states, which can help the agent explore efficiently and avoid local optima. However, intrinsic reward methods can mislead the agent to favor meaningless noisy states or states with high transition uncertainty rather than reaching the goal, which leads to the inefficiency of the method in sparse reward settings. Recently, with the rise of large language models (LLMs) and their ability as a few-shot learner (Achiam et al., 2023; Brown et al., 2020), they have been gradually used in decision-making tasks. Enriched with commonsense, LLMs can make reasoning and planning at abstract natural language level, break down the task into sub-tasks for downstream RL methods. LLMs can also provide promptable representation or exploration guidance with semantic meaning to the RL policy (Chen et al., 2024; Zhang & Lu, 2024), enabling the agent to make decisions with respect to the prompt. Thus, methods that combining LLMs with RL have been proposed to improve the performance of decision-making tasks. However, the primary challenge lies in the combination of LLMs and RL methods, which requires a fast adaptation of the RL policy to the semantic meaning of environment state in an online manner. Existing works learn model-free policy with guidance from LLM, but lack of understanding of the semantic meaning. Thus, RL policy may not follow the guidance of LLMs or make a balance between reaching the LLM goals and exploration during the online training, which leads to the inefficiency of the method. Besides, RL policy may not be able to reach the goal proposed by LLMs when interacting with the environment, further compromising their effectiveness in goal-reaching tasks.
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
In this paper, we propose LanGoal, a model-based reinforcement learning method with hierarchical policy that combines with the LLM guidance efficiently. We claim that a hierarchical behavior is beneficial for the agent to solve this problem by setting a meaningful goal regarding the LLM guidance. Our method consists of a hierarchical policy training together with a world model. LLM gives semantic guidance to the high-level policy, which generates abstract actions as goals for the low-level policy as controller to reach. Inspired by recent advancement in controllable generation(Ho & Salimans, 2022; Dhariwal & Nichol, 2021) and its application in RL, we propose a novel method to combine the LLM guidance with the high-level policy to propose meaningful goals. This, as a result, improves the overall goal-reaching ability. We conduct extensive experiments to show the effectiveness of our method, compared with various baselines using different RL methods and LLMs. Our results reveal the potential of improving the performance on decision-making tasks combining LLMs and RL.
|
| 20 |
+
|
| 21 |
+
**Contributions.** The main contributions of this paper are as follows:
|
| 22 |
+
|
| 23 |
+
• We propose a novel model-based reinforcement learning method with hierarchical policy that combines with the LLM guidance efficiently. • We introduce a new method to improve the effect of goal-reaching ability and inference performance at test time. • We conduct extensive experiments on tasks in open-ended environment _Crafter_ to show the effectiveness of our method, compared with various baselines using different RL methods and large language models. 2 RELATED WORKS **077 078 Model-based RL.** Model-based RL(MBRL) methods learn a world model through online interactions or offline dataset (Ha & Schmidhuber, 2018; Hafner et al., 2020). Agent then learns a policy with the generated trajectories from interaction with the world model and improves the data efficiency. Existing works successfully apply MBRL methods in various domains including Atari games, locomotion tasks and open-ended environments, demonstrating the scalability of MBRL methods in decision-making tasks. (Hafner et al., 2023; 2021; 2019; Hansen et al., 2022; 2024). Lin et al. (2024) trains a multimodal world model using natural language descriptions and visual observations in the environment, enabling the agent to learn representations combining both modalities. We employ similar idea to learn multimodal embeddings for world model, while also consider incorporating the guidance from LLM using a hierarchical policy to improve exploration ability. **087 Hierarchical reinforcement learning for exploration.** Hierarchical reinforcement learning offers a promising way to improve the exploration ability of RL methods, particularly in sparse reward settings. Hierarchical policy integrate effectively with intrinsic reward methods to facilitate temporal abstraction (Kulkarni et al., 2016; Gumbsch et al., 2023), design dense reward for agents to explore the environment (Steccanella et al., 2020; McClinton et al., 2021). Existing works also combines hierarchical policy learning with world model to improve the exploration ability of model-based RL methods. Hierarchical policy set random goals (Mendonca et al., 2021) or emply a divide-and- conquer-like strategy (Hamed et al., 2024) to explore the environment. Hafner et al. (2022) introduce a method to learn a hierarchical policy with intrinsic reward combines with world model, which helps the agent to explore in sparse reward settings. These methods typically utilize model uncertainty to encourage the agent to visit unseen states or transitions with high uncertainty. However, such intrinsic rewards or heuristic methods can mislead the agent, such as favoring the states with high transition uncertainty rather than reaching the goal, which leads to the inefficiency of the method in sparse reward settings. Especially when meeting large state space and complex tasks, intrinsic reward methods may fail to guide the agent to reach the goal efficiently. In this work, we combine guidance from LLM with intrinsic reward, aiding the agent to explore the environment towards meaningful goals. We train a hierarchical policy to generate goals with aligned with LLM guidance, and try to explore and adhere to the guidance simultaneously. **105 RL with LLM guidance.** Open-ended environments(Milani et al., 2020; Guss et al., 2021; Kanervisto et al., 2022; Hafner, 2021; Matthews et al., 2024) aresignificant due to their connections with reality. Tasks in open-ended environments, like _obtain a diamond_ , can involve long-horizon decision making, which significantly increase the difficulty of the task. However, RL methods struggle with low sample
|
| 24 |
+
|
| 25 |
+
2
|
| 26 |
+
|
| 27 |
+
efficiency, especially when meeting sparse reward settings. Recent advancements in natural language processing with LLMs have garnered significant attention. LLMs such as GPT series(Brown et al., 2020; Achiam et al., 2023) are regarded as promising on decision making. LLMs are also highly expected to improve RL methods by offering semantic information and commonsense of the task (Chen et al., 2024; Zhang & Lu, 2024). One way is to give better representation or goals to the policy. P2RL(Chen et al., 2024) generates promptable representations for policy learning by visual question answering with environment observations. Zhang et al. (2023); Zhou et al. (2024) generate task image with the help of LLM as goal for the low level policy. Another way is reward shaping. LiFT(Nam et al., 2023) adjust MineClip reward by refining the description of current observation with MLLM. Zhang et al. (2024) compares different types including codes, preferences and goals on downstream RL methods. Prakash et al. (2023) train hierarchical policy as skills with LLM decide which skill to use next. While few of them have addressed the misalignment between the granularity of environment transitions and natural language descriptions, which can be less helpful when suitable language descriptions of transitions are unavailable in the environment. 3 PRELIMINARIES We consider a partially observable Markov decision process (POMDP) defined by a tuple ( _S, A, O, P, R, γ_ ), where _S_ is the state space, _A_ is the action space, _O_ is the observation space, _P_ is the transition function, _R_ is the reward function, and _γ_ is the discount factor. The goal of the agent is to learn a policy _π_ that maximizes the expected return E _π_ [[�] _[∞] t_ =0 _[γ][t][r][t]_[]][.] We further define a set of goals _G_ that the agent can reach in the environment. These goals can be expressed in natural language or other forms of semantic information like embeddings, and we assume that for any two states _xt, xt_ + _h ∈O_ with fixed interval _h_ , the expression of the state changes can also be represented by natural language _f_ ( _xt, xt_ + _h_ ) = _gt_[inv] _∈G_ . Given an observation _xt ∈O_ and its language description _lt_ at timestep _t_ , LLM can decide a _gt ∈G_ as goal for the policy to reach, then the RL policy _π_ takes _gt_ and _ot_ as input to make action _at_ in the environment until the next goal is proposed by LLM. Semantic instruction **142 vt zt vt+h zt+h** Hierarchical policy World Model **143 144 at at+1 145 146 st st+1 st+h 147 148 149 ENC DEC ENC DEC ENC DEC 150 151 152 lt lt+h 153** o t ොo t ොv t o t+1 ොo t+1 o t+h ොo t+h ොv t+h Figure 1: World model learning structure of LanGoal. Components like reward prediction are omitted for clarity. For every _H_ timesteps, the agent query LLM to obtain an embedded natural language goal _vt_ . The higher-level policy takes _st_ and _vt_ as input to propose a goal _zt_ . The lower-level policy then generate a sequence of actions _at_ and interact with the environment until the next goal is proposed.
|
| 28 |
+
|
| 29 |
+
3
|
| 30 |
+
|
| 31 |
+
## 4 METHODS
|
| 32 |
+
|
| 33 |
+
In this section, we introduce the proposed method in detail. We first introduce how we prompt the LLM to generate skills for high-level policy, then we describe the world model and design of hierarchical policy. Finally, we introduce our method during test time to improve the goal-reaching ability.
|
| 34 |
+
|
| 35 |
+
## 4.1 PROMPTING LLM FOR GUIDANCE GENERATION
|
| 36 |
+
|
| 37 |
+
-
|
| 38 |
+
|
| 39 |
+
We query the LLM for a fixed timestep interval _H_ to ensure the responsed natural language goal is
|
| 40 |
+
|
| 41 |
+
reachable for RL policy in the environment. Given the observation _ot_ at timestep _t_ , we first transform
|
| 42 |
+
|
| 43 |
+
it into a natural language description _lt_ , which contains the necessary semantic information of the environment such as the inventory, location, and task description in the environment. Additionally, we employ a captioner to label the state changes in previous _H_ steps, showing which goal is actually reached by RL policy, denoted as _gt_[inv] as its analogy to inverse dynamics. Then we prompt the LLM with _lt_ to decide a goal _gt_ to reach and use a pretrained encoder to transform _gt_ into a vector _vt_ for high-level policy as input. We also use the same encoder to transform _gt_[inv] into a vector _vt_[inv] as additional information to train the world model. The detailed design of the prompt, captioner and encoder are provided in Appendices B and C.
|
| 44 |
+
|
| 45 |
+
## 4.2 WORLD MODEL LEARNING
|
| 46 |
+
|
| 47 |
+
We basically follow previous works to use the Recurrent State-Space Model (RSSM) (Hafner et al., 2023) as the dynamics model and predict the next state, reward and terminal signal. However, we additionally predict the goal representation _vt_ proposed by LLM and the goal representation that actually reached during the previous _H_ steps, denoted as _vt_[inv][.][This can help leverage the information] of LLM guidance, measure the semantic similarity between the proposed goal and the current state when training the policy using imaging with the world model. We refer to (Lin et al., 2024; Liu et al., 2024) to give a concise expression of the world model, consists several networks that are optimized jointly: ˆ Sequence model: _st, ht_ = seq _θ_ ( _ht−_ 1 _, st−_ 1 _, at−_ 1) Encoder: _st ∼_ enc _θ_ ( _st | ht, ot_ ) Multimodal decoder: _x_ ˆ _t,_ ˆ _vt,_ ˆ _rt,_ ˆ _ct_ = dec _θ_ ( _st, ht_ ) (1) ˆ _vt_[inv] = dec _θ_ ( _st−H , st_ ) Where _ht_ is recurrent state of the sequence model. The loss of the world model consists of the reconstruction loss, the prediction loss, and the reward loss. All loss terms are written as: ˆ Reconstruction Loss: _Lx_ = _∥xt − xt∥_[2] 2 _[,]_ _Lv_ = _∥v_ ˆ _t − vt∥_[2] 2 _[,]_ **202203** _L_[inv] _v_[=] �� _v_ ˆ _t_ inv _− vt_[inv] ��22 _[,]_ Reward Loss: _Lr_ = catxent (ˆ _rt,_ twohot ( _rt_ )) _,_ (2) Continue Loss: _Lc_ = binxent (ˆ _ct, ct_ ) _,_ ˆ Prediction Loss: _L_ pred = max (1 _,_ KL [sg ( _st_ ) _||st_ ]) _,_ Regularizer: _L_ reg = max (1 _,_ KL [ _st||_ sg (ˆ _st_ )]) _,_ where catxent is the categorical cross-entropy loss, binxent is the binary cross-entropy loss, sg is the stop gradient operator, KL refers to the Kullback-Leibler (KL) divergence. We then have total loss for the world model: _L_ RSSM = _Lx_ + _Lv_ + _L_[inv] _v_[+] _[ L][r]_[+] _[ L][c]_[+] _[ β]_[1] _[L]_[pred][+] _[ β]_[2] _[L]_[reg] _[,]_ (3) in which _β_ 1 = 1 _._ 0, _β_ 2 = 0 _._ 1.
|
| 48 |
+
|
| 49 |
+
4
|
| 50 |
+
|
| 51 |
+
4.3 HIERARCHICAL POLICY We design a hierarchical policy with two levels of policies to leverage LLM guidance for exploration. The low-level policy is a goal-reaching policy, try to reach the goal set by high-level policy. The high-level policy determines the goal state that meets both the LLM-proposed goal and the need to explore the environment. For simplicity, we synchronize the decision frequency of the high-level policy with that of the LLM, proposing a goal _zt_ at every _H_ timesteps with high-level policy whenever the LLM proposes _gt_ . A different design of decision frequency is also feasible, which is left for future work.
|
| 52 |
+
|
| 53 |
+
> **225 Goal autoencoder.** The goal state can be a high-dimensional continuous vector which is hard to make decisions for high-level policy. Thus, we use an autoencoder to transform the goal state into a discrete action space with lower dimension. The autoencoder compresses the state _st_ into high-level action space, and reconstruct the original state _s_ ˆ _t_ from the given high-level action or compressed representation _ut_ . The reconstruct error is used to measure the novelty of the goal. Then we set dec _[H] θ_[(] _[z][t]_[)][ as the goal for the low-level policy to reach.][We refer to Hafner et al. (2022) to design the] action space of high-level policy. Specifically, the goal encoder takes _st_ as input and predicts a matrix of 8 _×_ 8 logits, samples a one-hot vector from each row, and flattens the results into a sparse vector with 8 out of 64 dimensions set to 1 and the others to 0. Gradients are backpropagated through the sampling by straight-through estimation (Bengio et al., 2013). The goal autoencoder is optimized
|
| 54 |
+
|
| 55 |
+
end-to-end using the variational objective:
|
| 56 |
+
|
| 57 |
+
> **235236** _L_ ( _θ_ ) = �� dec _Hθ_[(] _[z][t]_[)] _[ −][s][t]_ ��2 + _βD_ KL[enc _Hθ_[(] _[z][t][|][ s][t]_[)] _[ ∥][p]_[(] _[z]_[)]] where _zt ∼_ enc _[H] θ_[(] _[z][t][|][ s][t]_[)] (4) The components in hierarchical policy represent as: High-level Encoder: _ut ∼_ enc _[H] θ_[(] _[u][t][|][ s][t]_[)] ˆ High-level Decoder: _st_ + _h ∼_ dec _[H] θ_[(ˆ] _[s][t]_[+] _[h][|][ u][t]_[)]
|
| 58 |
+
|
| 59 |
+
High-level policy: _zt ∼ πϕ[H]_[(] _[z][t][|][ s][t][, v][t]_[)] (5) Low-level policy: _at ∼ πϕ[L]_[(] _[a][t][|][ s][t][,]_[ dec] _[H] θ_[(] _[z][t]_[))] **244 Reward design.** The high-level policy is encouraged to explore the environment towards the goal state generated by LLMs and try to reach a novel state in the meantime. When the high-level policy proposed a goal _zt_ , it receives an exploration reward with related to the reconstruction error between the future state _st_ + _H_ and the decoded goal dec _[H] θ_[(] _[z][t]_[)][,][denoted][as] _[r][expl]_[.][The][low-level][policy][is]
|
| 60 |
+
|
| 61 |
+
encouraged to reach the goal by maximizing the cosine similarity between the goal and current state
|
| 62 |
+
|
| 63 |
+
as goal-reaching reward, denoted as _rgoal_ . We also check if the goal proposed by LLM is reached
|
| 64 |
+
|
| 65 |
+
or not and give guidance-following reward according to the cosine similarity of semantic guidance
|
| 66 |
+
|
| 67 |
+
_vt_ and _vt[inv]_ , denoted as _rLLM_ . If the cosine similarity falls below 0.6, _rLLM_ is set to 0 to ensure the policy’s behavior correlates with _gt_ and to prevent over-exploitation of this reward signal. Both rewards of high-level policy and low-level policy include the environment reward _rt_ and the reward of reaching the goal by LLM _rLLM_ to avoid misalignment between different levels of the policy. The reward items are written as: _r_ expl = _∥_ dec _[H] θ_[(] _[z][t]_[)] _[ −][s][t]_[+] _[H][∥]_[2] 2
|
| 68 |
+
|
| 69 |
+
> **257258** _r_ LLM = _vt · vt_[inv] if cos( _vt, vt_[inv][)] _[ >]_[ 0] _[.]_[6] else 0 _∥vt∥∥vt_[inv] _[∥]_
|
| 70 |
+
|
| 71 |
+
_r_ goal = dec _[H] θ_[(] _[z][t]_[)] _[ ·][ s][t]_ (6) _∥_ dec _[H] θ_[(] _[z][t]_[)] _[∥∥][s][t][∥]_ _r_ high = _r_ t + _r_ LLM + _r_ expl
|
| 72 |
+
|
| 73 |
+
_r_ low = _r_ t + _r_ LLM + _r_ goal **264 265 Actor-Critic Learning.** We use actor-critic learning to optimize the hierarchical policy and the critic **266267** and learn separate critic model for each component of the reward.critic with abstract trajectories _{s_ ˆ _t,_ ˆ _zt,_ ˆ _st_ + _H ,_ ˆ _r_ high _}_ extracted from imagined trajectories generated byWe train the high-level policy and the world model. See details in Appendix D. Following the expression in (Lin et al., 2024; Liu et al., 2024), the actor and the critic give:
|
| 74 |
+
|
| 75 |
+
Actor: _πϕ[H]_[(] _[z][t][|][ s][t][, v][t]_[)] _[,] πϕ[L]_[(] _[a][t][|][ s][t][,]_[ dec] _[H] θ_[(] _[z][t]_[))] Critic: _Vψ[H]_[(] _[s][t]_[)] _[,] Vψ[L]_[(] _[z][t]_[)] _[.]_ (7)
|
| 76 |
+
|
| 77 |
+
5
|
| 78 |
+
|
| 79 |
+
## 4.4 TEST-TIME TECHNIQUES
|
| 80 |
+
|
| 81 |
+
> **272 Classifier-free guidance.** Classi-
|
| 82 |
+
|
| 83 |
+
fier guidance (Dhariwal & Nichol,
|
| 84 |
+
|
| 85 |
+
2021) and classifier-free guidance **Algorithm 1** LanGoal (CFG) (Ho & Salimans, 2022) are first proposed for controllable gen- **while** acting **do 277** eration. By conditioning the model Step environment _ot, rt, ctt, rt, ct, rt, ctt, ct, ctt ←_ env(( _ot−t−−_ 1 _, at−t−−_ 1).).. on the classifier explicitly or implic- _// Update goal with LLM and high-level policy_ itly, these methods approximate con-ditional score function in diffusion **if** _tggt_ mod _t ∼_ LLM= 0(( _H_ = 0(( _gtt|ololl_ **then** _|ololl_ ) _vtt_ = txt txt ~~e~~ nc(( _vtt | gt gtt_ ) models and can generate samples thatare more likely to be classified as the _ztt ∼ πϕϕ[[H]]_[[(]] _[[z][t]][[t]][[|][ s][t][, v][t]][[ s][t][, v][t]][[t][, v][t]][[, v][t]][[t]]_[[)][.]][[.]]
|
| 86 |
+
|
| 87 |
+
target class given a larger guidance _att ∼ πϕϕ[[L]]_[[(]] _[[a][t]][[t]][[|][ s][t][, z][t]][[ s][t][, z][t]][[t][, z][t]][[, z][t]][[t]]_[[)][.]][[.]]
|
| 88 |
+
|
| 89 |
+
scale. Without theoretical guarantee, **while** training **do**
|
| 90 |
+
|
| 91 |
+
CFG has also been used analogously Sample batch _{x, a, r}x, a, r}}_ from replay buffer.
|
| 92 |
+
|
| 93 |
+
for goal-reaching policy (Zhou et al., Update world model Update high-level autoencoder 2024) and generative models like con- _// Imaging_ **287288** ditional variational autoencoders (Lif-shitz et al., 2024) and achieve better Predict rewardsImagine trajectory _{rr {t,t,,_ ˆ _{t,t,,_ ˆ _s_ ˆ _rtLLM,tLLM,LLM,_ ˆ _at,t,,_ ˆ _,r_ ˆ _rt,goalt,goal,goalgoalot},t},},,_ ˆ _ot},t},},,_ with world model. ˆ ˆ _rexpl}expl}}_ . controllability. In this case, policy Update high-level policy and critic with abstract trajectories. with CFG can be interpreted as a biUpdate low-level policy and critic with imagined trajectories. ased sampler, which favors goals that **while** testing **do 292** are more likely to be classified as the Step environment _ot, rt, ct, gtt, rt, ct, gt, rt, ct, gtt, ct, gt, ct, gtt, gt, gtt ←_ env(( _ot−t−−_ 1 _, at−t−−_ 1).).. target class. _// Update goal if goal is reached or after H steps_
|
| 94 |
+
|
| 95 |
+
> **293 if** _t_ mod _H_ = 0 or cos( or cos( cos( _vt, vtt, vt, vtt_[[inv]] _−HH_[[)]] _[[ >]]_[[ 0]] _[[.]]_[[9]] **[[ then]] 294** During test time, we also use the _vtt_ = txt txt ~~e~~ nc(( _vtt |_ LLM(( _gtt | ol oll_ )) **295296** CFG policypolicy to propose goals to check if the _πCF G_ on the higher-level _att z∼t∼tt ∼πϕπϕϕ[[L]] π_[[(]] _CF G[[a][H][t][|][s][t]][[H][t][|][s][t]][[t][|][s][t]][[|][s][t]][[s][t]][[t]]_[[(]] _[[, z][z][t][t]][[z][t][t]][[t][t]][[t]]_[[)]] _[[|][ s]][[ s]]_[[.]] _[[t][, v][t]][[, v][t]][[t]]_[[)][.]][[.]] high-level policy learns to propose goals following the LLM’s guidance. CFG policy gives: _πCF G_ = (1 + _λ_ ) _πϕ[H]_[(] _[z][t][|][ s][t][, v][t]_[)] _[ −][λπ] ϕ[H]_[(] _[z][t][|][ s][t][, v][t]_[=] _[ ∅]_[)] (8) Where _λ_ is a parameter to control guidance scale of condition, and _∅_ represents the empty goal. Here we use the caption “no operation” as the empty goal, which means the agent is captioned as not reaching any goal between the interval of two LLM decisions. We set _λ_ = 4 _._ 0 in our experiment.
|
| 96 |
+
|
| 97 |
+
> **307 Adaptive goal-reset interval.** Lower-level policy may reach the goal set by LLM before the
|
| 98 |
+
|
| 99 |
+
predetermined time interval while still trying to reach the continuous goal. To better utilize the LLM guidance when testing, we propose an adaptive goal-reset interval, allowing for the revision of goals established by the LLM during test execution.
|
| 100 |
+
|
| 101 |
+
Since we have trained the goal embedding predictor _vtt_ and _vtt_[[inv]] _−HH_[[with the same timestep interval]] _[[ H]]_ we can adjust the goal reset interval based on the cosine similarity between _vtt_ and _vtt_[[inv]] _−HH_[[.]][[At each]] timestep, we calculate the cosine similarity between _vtt_ and _vtt_[[inv]] _−HH_[[before the policy has taken action.]] If the similarity exceeds a preset threshold _τ_ = 0 _._ 9, we regard the goal has been reached during the, we regard the goal has been reached during the
|
| 102 |
+
|
| 103 |
+
past _H_ timesteps and subsequently reset the goal indicated by the LLM. We query LLM with current
|
| 104 |
+
|
| 105 |
+
description of observation _ltt_ to obtain a new _vtt_ and set a new goal with _πϕϕ[[H]]_[[for the lower-level policy]]
|
| 106 |
+
|
| 107 |
+
to reach. Refer to Algorithm 1 for more details.
|
| 108 |
+
|
| 109 |
+
**while** acting **do** Step environment _ot, rt, ctt, rt, ct, rt, ctt, ct, ctt ←_ env(( _ot−t−−_ 1 _, at−t−−_ 1).).. _// Update goal with LLM and high-level policy_ **if** mod _H_ **then** _tggt ∼_ LLM= 0(( _gtt|ololl_ ) _vtt_ = txt txt ~~e~~ nc(( _vtt | gt gtt_ ) _ztt ∼ πϕϕ[[H]]_[[(]] _[[z][t]][[t]][[|][ s][t][, v][t]][[ s][t][, v][t]][[t][, v][t]][[, v][t]][[t]]_[[)][.]][[.]] _att ∼ πϕϕ[[L]]_[[(]] _[[a][t]][[t]][[|][ s][t][, z][t]][[ s][t][, z][t]][[t][, z][t]][[, z][t]][[t]]_[[)][.]][[.]] **while** training **do** Sample batch _{x, a, r}x, a, r}}_ from replay buffer. Update world model Update high-level autoencoder _// Imaging_ Imagine trajectory _s_ ˆ _,_ ˆ _at,t,,_ ˆ _r_ ˆ ˆ Predict rewardsImagine trajectory _{rr {t,t,,_ ˆ _rtLLM,tLLM,LLM, ,r_ ˆ _rt,goalt,goal,goalgoalot},t},},,_ with world model. ˆ ˆ _rexpl}expl}}_ . Update high-level policy and critic with abstract trajectories. Update low-level policy and critic with imagined trajectories. **while** testing **do** Step environment _ot, rt, ct, gtt, rt, ct, gt, rt, ct, gtt, ct, gt, ct, gtt, gt, gtt ←_ env(( _ot−t−−_ 1 _, at−t−−_ 1).).. _// Update goal if goal is reached or after H steps_ **if** _t_ mod _H_ = 0 or cos( or cos( cos( _vt, vtt, vt, vtt_[[inv]] _−HH_[[)]] _[[ >]]_[[ 0]] _[[.]]_[[9]] **[[ then]]** _vtt_ = txt txt ~~e~~ nc(( _vtt |_ LLM(( _gtt | ol oll_ )) _att z∼t∼tt ∼πϕπϕϕ[[L]] π_[[(]] _CF G[[a][H][t][|][s][t]][[H][t][|][s][t]][[t][|][s][t]][[|][s][t]][[s][t]][[t]]_[[(]] _[[, z][z][t][t]][[z][t][t]][[t][t]][[t]]_[[)]] _[[|][ s]][[ s]]_[[.]] _[[t][, v][t]][[, v][t]][[t]]_[[)][.]][[.]]
|
| 110 |
+
|
| 111 |
+
**==> picture [311 x 14] intentionally omitted <==**
|
| 112 |
+
|
| 113 |
+
Since we have trained the goal embedding predictor _vtt_ and _vtt_[[inv]] _−HH_[[with the same timestep interval]] _[[ H]]_[,] we can adjust the goal reset interval based on the cosine similarity between _vtt_ and _vtt_[[inv]] _−HH_[[.]][[At each]] timestep, we calculate the cosine similarity between _vtt_ and _vtt_[[inv]] _−HH_[[before the policy has taken action.]] If the similarity exceeds a preset threshold _τ_ = 0 _._ 9, we regard the goal has been reached during the, we regard the goal has been reached during the past _H_ timesteps and subsequently reset the goal indicated by the LLM. We query LLM with current description of observation _ltt_ to obtain a new _vtt_ and set a new goal with _πϕϕ[[H]]_[[for the lower-level policy]] to reach. Refer to Algorithm 1 for more details.
|
| 114 |
+
|
| 115 |
+
5 EXPERIMENTS
|
| 116 |
+
|
| 117 |
+
Our experiments mainly aims to evaluate the following aspects of our method: 1. our proposed method can improve the performance of decision-making tasks and make meaningful explorations. 2. our method can achieve better goal-reaching ability compared with the state-of-the-art methods.
|
| 118 |
+
|
| 119 |
+
6
|
| 120 |
+
|
| 121 |
+
5.1 EXPERIMENTAL SETTINGS **325 326 Environment.** The Crafter environment is a grid world that features pure pixel observation and discrete action space. Crafter is designed similarly as a 2D Minecraft, featuring a procedurally generated, partially observable world. The player’s goal is to unlock the entire achievement tree by collecting items, crafting tools and defeating monsters. The player will obtain +1 reward for each achievement unlocked and +/- 0.1 reward for obtaining or losing health points. Besides the trajectory reward, Crafter also consider the Crafter score as evaluation metrics, computed as _S_ = exp( _[.] N_[1] � _Ni_ =1[ln(1 +] _[ s][i]_[))] _[ −]_[1][, where] _[ s][i][∈]_[[0; 100]][ is the agent’s success rate of achievement] _i_ and _N_ = 22 is the number of achievements. **334 335 Baselines.** We consider employing ELLM (Du et al. (2023)), Dynalang (Lin et al. (2024)) and AdaRefiner (Zhang & Lu (2024)) as baselines that include natural language information in RL methods. We refer to the results of Dynalang from (Liu et al., 2024). We also compare against: • other baseline algorithms that do not utilize natural language in each environment from (Hafner, 2021), including PPO (Schulman et al. (2017)), Rainbow (Hessel et al. (2018)). • recent method that only use LLM to make decisions, including SPRING (Wu et al. (2023)), Reflexion (Shinn et al. (2024)) and ReAct (Yao et al. (2023)) from (Zhang & Lu, 2024). **342 343 LLM.** LanGoal use gpt-4-turbo-2024-04-09 as LLM in our experiments. We cached outputs of LLM for each query regards to their necessary information and reuse them if meeting the same query again to help reduce the running time. 5.2 RESULTS We train our method on Crafter with 1M and 5M steps to match different settings of previous works. Table 1 shows the results comparing with baselines. Our method outperforms all the compared methods on score, indicating a greater success rate in accomplishing difficult tasks. Additionally, our test-time techniques further enhance the performance, achieving even higher scores. Figure 2 illustrates the success rate for each task trained with 1M steps, in comparison with DreamerV3. LanGoal excels on relatively hard tasks, e.g. “collect iron” and “make stone pickaxe”. We also display the success rate of each task when trained after 5M steps in Figure 3, shown in appendix. Our method continues to maintain a higher success rate on these challenging tasks. 5.3 ABLATION STUDY We conduct ablation study to evaluate the effectiveness of each component of our method. The results are shown in table 2. We also record the proportion of reached goals from LLM in the last column for each setting. **363 364 LLM Guidance.** To evaluate the effectiveness of LLM guidance, we compare the performance of our method with different size of LLMs. We use GPT-4(gpt-4-turbo-2024-04-09) and GPT-4o- mini(gpt-4o-mini-2024-07-18) to generate goals for the agent and evaluate the performance of our method, denoted as LanGoal and LanGoal(w/ 4o-mini) respectively in table 2. We observe slight performance drop after replacing LLM, but the results still surpass other RL methods. We also note that smaller LLM like GPT-4o-mini tends to generate more unreached goals regardless of current state, or simply choose goals to keep agent alive. While larger LLM like GPT-4 can make decision regarding to the current state and propose meaningful goals for the agent, indicating the importance of effective LLM guidance.
|
| 122 |
+
|
| 123 |
+
> **373 Hierarchical Policy.** We compare the performance of our method with and without the hierarchical
|
| 124 |
+
|
| 125 |
+
policy. In this setting, we still apply _rLLM_ into the reward to encourage the agent to reach the goal
|
| 126 |
+
|
| 127 |
+
proposed by LLM. The lower-level policy then takes the state _st_ and embeddings of natural language description _vt_ as input, denoted as LanGoal(w/o Hier) in table 2. From the results, we observe that simply adding _rLLM_ into the reward cause explicit performance drop on all metrics, validating the misalignment problem between the natural language description and the environment transition.
|
| 128 |
+
|
| 129 |
+
7
|
| 130 |
+
|
| 131 |
+
|||||Method||||Score||Reward||Steps|Steps|||||||||
|
| 132 |
+
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 133 |
+
|||||**LanGoal**||||**34.0**_±_0.3||**14.1**_±_2.2||5M||||||||||
|
| 134 |
+
|||||AdaRefner (w/ GPT-4)||||28.2_±_1.8||12.9_±_1.2||5M||||||||||
|
| 135 |
+
|||||AdaRefner (w/ GPT-3.5)||||23.4_±_2.2||11.8_±_1.7||5M||||||||||
|
| 136 |
+
|||||ELLM||||-||6.0_±_0.4||5M||||||||||
|
| 137 |
+
|||||DreamerV3||||32.9_±_0.5||13.7_±_2.5||5M||||||||||
|
| 138 |
+
|||||**LanGoal**||||**23.8**_±_3.6||**11.4**_±_2.4||1M||||||||||
|
| 139 |
+
|||||Achievement Distillation||||21.8_±_1.4||12.6_±_0.3||1M||||||||||
|
| 140 |
+
|<br><br>||||Dynalang<br>AdaRefner (w/ GPT-4)<br>PPO (ResNet)<br>DreamerV3||||16.4_±_1.7<br>15.8_±_1.4<br>15.6_±_1.6<br>14.5_±_1.6||11.5_±_1.4<br>12.3_±_1.3<br>10.3_±_0.5<br>11.7_±_1.9||1M<br>1M<br>1M<br>1M||||||||||
|
| 141 |
+
|||||PPO||||4.6_±_0.3||4.2_±_1.2||1M||||||||||
|
| 142 |
+
|||||Rainbow||||4.3_±_0.2||5.0_±_1.3||1M||||||||||
|
| 143 |
+
|||||SPRING (w/ GPT-4)||||27.3_±_1.2||12.3_±_0.7||-||||||||||
|
| 144 |
+
|||||Refexion (w/ GPT-4)||||11.7_±_1.4||9.1_±_0.8||-||||||||||
|
| 145 |
+
|||||ReAct (w/ GPT-4)||||8.3_±_1.2||7.4_±_0.9||-||||||||||
|
| 146 |
+
|||||Vanilla GPT-4||||3.4_±_1.5||2.5_±_1.6||-||||||||||
|
| 147 |
+
|||||Human Experts||||50.5_±_6.8||14.3_±_2.3||-||||||||||
|
| 148 |
+
|||||Random||||1.6_±_0.0||2.1_±_1.3||-||||||||||
|
| 149 |
+
|<br><br>|Table 1: The results on Crafter. w/ test represents using test-time techniques in Section 4.4. We report<br>mean and standard deviation of algorithm performance across 5 random seeds for LanGoal.|||||||||||||||||||||
|
| 150 |
+
|||||||||||||||||||||||
|
| 151 |
+
|||||||||||||||||||||||
|
| 152 |
+
|||||||||||||||||||||||
|
| 153 |
+
|<br>||||LanGoal(w/test)||||||DreamerV3||||||||||||
|
| 154 |
+
||||100.00|||||||||||||||||||
|
| 155 |
+
|||||||||||||||||||||||
|
| 156 |
+
|||||||||||||||||||||||
|
| 157 |
+
|<br><br><br><br><br>||Success Rate (%)|0.10<br>1.00<br>10.00|||||||||||||||||||
|
| 158 |
+
|||||||||||||||||||||||
|
| 159 |
+
|||||||||||||||||||||||
|
| 160 |
+
||||0.01|||||||||||||||||||
|
| 161 |
+
|<br><br><br><br>|||collect coal<br>collect diamond<br>collect drink<br>collect iron<br>collect sapling<br>collect stone<br>collect wood<br>defeat skeleton<br>defeat zombie<br>eat cow<br>eat plant<br>make iron pickaxe<br>make iron sword<br>make stone pickaxe<br>make stone sword<br>make wood pickaxe<br>make wood sword<br>place furnace<br>place plant<br>place stone<br>place table<br>wake up|||||||||||||||||||
|
| 162 |
+
|||||||||||||||||||||||
|
| 163 |
+
|||||Figure 2: success rate on each task trained with 1M steps.||||||||||||||||||
|
| 164 |
+
|||||||||||||||||||||||
|
| 165 |
+
|||||||||||||||||||||||
|
| 166 |
+
|||||||||||||||||||||||
|
| 167 |
+
||**Test-time Techniques.** We also compare the||||||performance of our method with|||||||||and without the||||||
|
| 168 |
+
||test-time techniques. The results are shown|||||in||table 2.|Besides the marginal|||||performance gain,||||||||
|
| 169 |
+
||test-time techniques further improve the proportion of reached goals from LLM,|||||||||||||||||shows that the||||
|
| 170 |
+
||high-level policy proposes goals following the LLM’s guidance. As the high-level||||||||||||||policy|||||maximizes||
|
| 171 |
+
||the goal-reaching reward and the guidance-following reward simultaneously||||||||||||and||||LLM||||may give|
|
| 172 |
+
||unreachable||guidance, some of the guidance||may not be reached.|||||||||||||||||
|
| 173 |
+
|
| 174 |
+
8
|
| 175 |
+
|
| 176 |
+
||Method<br>Score<br>Reward|Steps|Reached Goal|
|
| 177 |
+
|---|---|---|---|
|
| 178 |
+
||LanGoal(w/ test)<br>34.3_±_1.0<br>14.1_±_2.3|5M|40.5%|
|
| 179 |
+
||LanGoal<br>34.0_±_0.3<br>14.1_±_2.2|5M|38.7%|
|
| 180 |
+
||LanGoal(w/ test)<br>24.5_±_3.8<br>11.6_±_2.3|1M|44.0%|
|
| 181 |
+
||LanGoal<br>23.8_±_3.6<br>11.4_±_2.4|1M|43.7%|
|
| 182 |
+
||LanGoal(w/o Hier)<br>19.6_±_2.9<br>10.7_±_1.3|1M|41.7%|
|
| 183 |
+
||LanGoal(w/ 4o-mini)<br>22.3_±_1.9<br>10.8_±_1.8|1M|42.5%|
|
| 184 |
+
||DreamerV3<br>14.5_±_1.6<br>11.7_±_1.9|1M|-|
|
| 185 |
+
|<br>|Table 2: Results of ablation studies. We report mean and standard deviation of each setting across 5<br>random seeds.|||
|
| 186 |
+
|||||
|
| 187 |
+
|<br>|6<br>CONCLUSION|||
|
| 188 |
+
|||||
|
| 189 |
+
|<br><br><br>|In this paper, we propose a novel method for decision-making tasks with language models, which is<br>able to generate meaningful goals and reach them with high success rate. We also provide a novel<br>test-time technique to improve overall performance of the model. Ablation studies on Crafter and<br>demonstrate the effectiveness of each component of our method.|||
|
| 190 |
+
|||||
|
| 191 |
+
||REFERENCES|||
|
| 192 |
+
||Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad,|Ilge Akkaya, Florencia Leoni Aleman,||
|
| 193 |
+
||Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report.|||
|
| 194 |
+
||_arXiv preprint arXiv:2303.08774_, 2023.|||
|
| 195 |
+
|||||
|
| 196 |
+
|
| 197 |
+
- Yoshua Bengio, Nicholas Leonard, and Aaron Courville.´ Estimating or propagating gradients through stochastic neurons for conditional computation. _arXiv preprint arXiv:1308.3432_ , 2013.
|
| 198 |
+
|
| 199 |
+
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. _Advances in neural information processing systems_ , 33:1877–1901, 2020. Yuri Burda, Harrison Edwards, Amos Storkey, and Oleg Klimov. Exploration by random network
|
| 200 |
+
|
| 201 |
+
- distillation. In _International Conference on Learning Representations_ , 2019.
|
| 202 |
+
|
| 203 |
+
- William Chen, Oier Mees, Aviral Kumar, and Sergey Levine. Vision-language models provide promptable representations for reinforcement learning. In _Automated Reinforcement Learning:_ _Exploring Meta-Learning, AutoML, and LLMs_ , 2024. Prafulla Dhariwal and Alexander Nichol. Diffusion models beat gans on image synthesis. _Advances_ _in neural information processing systems_ , 34:8780–8794, 2021. Yuqing Du, Olivia Watkins, Zihan Wang, Cedric Colas,´ Trevor Darrell, Pieter Abbeel, Abhishek Gupta, and Jacob Andreas. Guiding pretraining in reinforcement learning with large language models. In _International Conference on Machine Learning_ , pp. 8657–8677. PMLR, 2023.
|
| 204 |
+
|
| 205 |
+
- Adrien Ecoffet and Joel Lehman. Reinforcement learning under moral uncertainty. In _International_ _conference on machine learning_ , pp. 2926–2936. PMLR, 2021. Christian Gumbsch, Noor Sajid, Georg Martius, and Martin V Butz. Learning hierarchical world models with adaptive temporal abstractions from discrete latent dynamics. In _The Twelfth International_
|
| 206 |
+
|
| 207 |
+
- _Conference on Learning Representations_ , 2023.
|
| 208 |
+
|
| 209 |
+
- William Hebgen Guss, Stephanie Milani, Nicholay Topin, Brandon Houghton, Sharada Mohanty, Andrew Melnik, Augustin Harter, Benoit Buschmaas, Bjarne Jaster, Christoph Berganski, et al. Towards robust and domain agnostic reinforcement learning competitions: Minerl 2020. In _NeurIPS 2020 Competition and Demonstration Track_ , pp. 233–252. PMLR, 2021.
|
| 210 |
+
|
| 211 |
+
-
|
| 212 |
+
|
| 213 |
+
- David Ha and J¨urgen Schmidhuber. World models. _arXiv preprint arXiv:1803.10122_ , 2018.
|
| 214 |
+
|
| 215 |
+
- Danijar Hafner. Benchmarking the spectrum of agent capabilities. _arXiv preprint arXiv:2109.06780_ , 2021.
|
| 216 |
+
|
| 217 |
+
9
|
| 218 |
+
|
| 219 |
+
- Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James
|
| 220 |
+
|
| 221 |
+
- Davidson. Learning latent dynamics for planning from pixels. In _International conference on_ _machine learning_ , pp. 2555–2565. PMLR, 2019. Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. In _International Conference on Learning Representations_ , 2020.
|
| 222 |
+
|
| 223 |
+
- Danijar Hafner, Timothy P Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. In _International Conference on Learning Representations_ , 2021.
|
| 224 |
+
|
| 225 |
+
- Danijar Hafner, Kuang-Huei Lee, Ian Fischer, and Pieter Abbeel. Deep hierarchical planning from pixels. _Advances in Neural Information Processing Systems_ , 35:26091–26104, 2022. Danijar Hafner, Jurgis Pasukonis, Jimmy Ba, and Timothy Lillicrap. Mastering diverse domains through world models. _arXiv preprint arXiv:2301.04104_ , 2023. Hany Hamed, Subin Kim, Dongyeong Kim, Jaesik Yoon, and Sungjin Ahn. Dr. strategy: Model-based generalist agents with strategic dreaming. _arXiv preprint arXiv:2402.18866_ , 2024. Nicklas Hansen, Hao Su, and Xiaolong Wang. Td-mpc2: Scalable, robust world models for continuous control. In _The Twelfth International Conference on Learning Representations_ , 2024. Nicklas A Hansen, Hao Su, and Xiaolong Wang. Temporal difference learning for model predictive control. In _International Conference on Machine Learning_ , pp. 8387–8406. PMLR, 2022. Matteo Hessel, Joseph Modayil, Hado Van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Dan Horgan, Bilal Piot, Mohammad Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. In _Proceedings of the AAAI conference on artificial intelligence_ , volume 32, 2018. Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. _arXiv preprint arXiv:2207.12598_ ,
|
| 226 |
+
|
| 227 |
+
- 2022.
|
| 228 |
+
|
| 229 |
+
- Anssi Kanervisto, Stephanie Milani, Karolis Ramanauskas, Nicholay Topin, Zichuan Lin, Junyou Li, Jianing Shi, Deheng Ye, Qiang Fu, Wei Yang, et al. Minerl diamond 2021 competition: Overview, results, and lessons learned. _NeurIPS 2021 Competitions and Demonstrations Track_ , pp. 13–28, 2022. Tejas D Kulkarni, Karthik Narasimhan, Ardavan Saeedi, and Josh Tenenbaum. Hierarchical deep
|
| 230 |
+
|
| 231 |
+
- reinforcement learning: Integrating temporal abstraction and intrinsic motivation. _Advances in_ _neural information processing systems_ , 29, 2016. Shalev Lifshitz, Keiran Paster, Harris Chan, Jimmy Ba, and Sheila McIlraith. Steve-1: A generative model for text-to-behavior in minecraft. _Advances in Neural Information Processing Systems_ , 36, 2024.
|
| 232 |
+
|
| 233 |
+
- Jessy Lin, Yuqing Du, Olivia Watkins, Danijar Hafner, Pieter Abbeel, Dan Klein, and Anca Dragan. Learning to model the world with language. In _Forty-first International Conference on Machine_ _Learning_ , 2024. Zeyuan Liu, Ziyu Huan, Xiyao Wang, Jiafei Lyu, Jian Tao, Xiu Li, Furong Huang, and Huazhe Xu. World models with hints of large language models for goal achieving. _arXiv preprint_
|
| 234 |
+
|
| 235 |
+
- _arXiv:2406.07381_ , 2024.
|
| 236 |
+
|
| 237 |
+
- Michael Matthews, Michael Beukman, Benjamin Ellis, Mikayel Samvelyan, Matthew Jackson, Samuel Coward, and Jakob Foerster. Craftax: A lightning-fast benchmark for open-ended rein- forcement learning. _arXiv preprint arXiv:2402.16801_ , 2024.
|
| 238 |
+
|
| 239 |
+
- Willie McClinton, Andrew Levy, and George Konidaris. Hac explore: Accelerating exploration with
|
| 240 |
+
|
| 241 |
+
- hierarchical reinforcement learning. _arXiv preprint arXiv:2108.05872_ , 2021.
|
| 242 |
+
|
| 243 |
+
- Russell Mendonca, Oleh Rybkin, Kostas Daniilidis, Danijar Hafner, and Deepak Pathak. Discovering and achieving goals via world models. _Advances in Neural Information Processing Systems_ , 34: 24379–24391, 2021.
|
| 244 |
+
|
| 245 |
+
10
|
| 246 |
+
|
| 247 |
+
- Stephanie Milani, Nicholay Topin, Brandon Houghton, William H Guss, Sharada P Mohanty, Keisuke
|
| 248 |
+
|
| 249 |
+
- Nakata, Oriol Vinyals, and Noboru Sean Kuno. Retrospective analysis of the 2019 minerl competi- tion on sample efficient reinforcement learning. In _NeurIPS 2019 competition and demonstration_ _track_ , pp. 203–214. PMLR, 2020. Taewook Nam, Juyong Lee, Jesse Zhang, Sung Ju Hwang, Joseph J Lim, and Karl Pertsch. Lift: Unsupervised reinforcement learning with foundation models as teachers. In _Second Agent Learning in Open-Endedness Workshop_ , 2023.
|
| 250 |
+
|
| 251 |
+
- Deepak Pathak, Pulkit Agrawal, Alexei A Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In _International conference on machine learning_ , pp. 2778–2787. PMLR, 2017. Bharat Prakash, Tim Oates, and Tinoosh Mohsenin. Llm augmented hierarchical agents. _arXiv_
|
| 252 |
+
|
| 253 |
+
- _preprint arXiv:2311.05596_ , 2023.
|
| 254 |
+
|
| 255 |
+
- Jurgen Schmidhuber.¨ A possibility for implementing curiosity and boredom in model-building neural controllers. In _Proceedings of the first international conference on simulation of adaptive behavior_ _on From animals to animats_ , pp. 222–227, 1991. John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy
|
| 256 |
+
|
| 257 |
+
- optimization algorithms. _arXiv preprint arXiv:1707.06347_ , 2017.
|
| 258 |
+
|
| 259 |
+
- Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. _Advances in Neural Information Processing_ _Systems_ , 36, 2024. Lorenzo Steccanella, Simone Totaro, Damien Allonsius, and Anders Jonsson. Hierarchical reinforce-
|
| 260 |
+
|
| 261 |
+
- ment learning for efficent exploration and transfer. In _4th Lifelong Machine Learning Workshop at_ _ICML 2020_ , 2020. Richard S Sutton and Andrew G Barto. _Reinforcement learning: An introduction_ . MIT press, 2018. Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. Minilm: Deep self-
|
| 262 |
+
|
| 263 |
+
- attention distillation for task-agnostic compression of pre-trained transformers. _Advances in Neural_ _Information Processing Systems_ , 33:5776–5788, 2020. Yue Wu, So Yeon Min, Shrimai Prabhumoye, Yonatan Bisk, Ruslan Salakhutdinov, Amos Azaria, Tom Mitchell, and Yuanzhi Li. Spring: Gpt-4 out-performs rl algorithms by studying papers and reasoning. _arXiv preprint arXiv:2305.15486_ , 12, 2023.
|
| 264 |
+
|
| 265 |
+
- Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models. In _The Eleventh International_ _Conference on Learning Representations_ , 2023. Chi Zhang, Penglin Cai, Yuhui Fu, Haoqi Yuan, and Zongqing Lu. Creative agents: Empowering agents with imagination for creative tasks. _arXiv preprint arXiv:2312.02519_ , 2023.
|
| 266 |
+
|
| 267 |
+
- Fuxiang Zhang, Junyou Li, Yi-Chen Li, Zongzhang Zhang, Yang Yu, and Deheng Ye. Improving sample efficiency of reinforcement learning with background knowledge from large language models. _arXiv preprint arXiv:2407.03964_ , 2024.
|
| 268 |
+
|
| 269 |
+
_arXiv preprint arXiv:2407.03964_ , 2024. Wanpeng Zhang and Zongqing Lu. Adarefiner: Refining decisions of language models with adaptive feedback. In _Findings of the Association for Computational Linguistics: NAACL 2024_ , pp. 782–799, 2024. Enshen Zhou, Yiran Qin, Zhenfei Yin, Yuzhou Huang, Ruimao Zhang, Lu Sheng, Yu Qiao, and Jing Shao. Minedreamer: Learning to follow instructions via chain-of-imagination for simulated-world control. _arXiv preprint arXiv:2403.12037_ , 2024.
|
| 270 |
+
|
| 271 |
+
11
|
| 272 |
+
|
| 273 |
+
A IMPLEMENTATION DETAILS **595 596 Hyperparameters.** We keep most hyperparameters for world model learning and low-level policy learning the same as the (Hafner et al., 2023). For high-level policy, we test different sizes of action
|
| 274 |
+
|
| 275 |
+
interval from _{_ 2,4,8 _}_ and find that 8 is a good trade-off between exploration and high-level policy
|
| 276 |
+
|
| 277 |
+
training. When querying the LLM, we use its default hyperparameters.We test different CFG scale
|
| 278 |
+
|
| 279 |
+
from _{_ 1.0, 2.0, 3.0, 4.0 _}_ and find that 4.0 provides the best performance.
|
| 280 |
+
|
| 281 |
+
Hyperparameter Value Env steps 5M Imagination horizon _T_ 15 Train ratio 512 Batch size 16
|
| 282 |
+
|
| 283 |
+
Batch length 64
|
| 284 |
+
|
| 285 |
+
GRU recurrent units 4096 Decoder hidden units 1024 Decoder layers 5 enc _[H]_ classes 8 enc _[H]_ latents 8 _π[H]_ action space 8 _×_ 8 _π[H]_ action interval 8 _π[H]_ entropy _η_ 0.5
|
| 286 |
+
|
| 287 |
+
_π[L]_ entropy _η_ 3e-4
|
| 288 |
+
|
| 289 |
+
LLM query interval 8 Similarity threshold 0.6 Goal-rest Similarity 0.9 CFG scale 4.0 Table 3: Hyperparameters of LanGoal.
|
| 290 |
+
|
| 291 |
+
B PROMPT DETAILS
|
| 292 |
+
|
| 293 |
+
We give the system prompt start by presenting the framework of the Crafter environment, employing
|
| 294 |
+
|
| 295 |
+
Minecraft as an analogy. For each query, we extract necessary information from the observation and
|
| 296 |
+
|
| 297 |
+
internal function of Crafter, including objects and creatures within the player’s field of view, items in player’s inventory, the player’s health status and all goals should be reached. LLM then takes the system prompt and the information as input and output one goal for RL policy to reach. The following is a query example: This is a game like minecraft. Given the player’s state, your
|
| 298 |
+
|
| 299 |
+
task is to choose the nearest goal the player can reach based
|
| 300 |
+
|
| 301 |
+
on your knowledge in minecraft. The final purpose of player
|
| 302 |
+
|
| 303 |
+
is to keep player state healthy and finish all goals. Answer
|
| 304 |
+
|
| 305 |
+
briefly with only one goal. You can answer reached goal if necessary. Give your answer start with "goal". Here is the player’s state: player state: [player ~~s~~ tate] inventory: [inventory] reached goal: [reached ~~g~~ oals] unreached goal: [unreached ~~g~~ oals] nearby objects: [objects] C CAPTIONER AND TEXT ENCODER
|
| 306 |
+
|
| 307 |
+
We categorized the transitions into the following types :
|
| 308 |
+
|
| 309 |
+
12
|
| 310 |
+
|
| 311 |
+
• subgoals. (e.g. collect iron, make stone pickaxe, wake up)
|
| 312 |
+
|
| 313 |
+
- other movements. (e.g. move up/down, no operation)
|
| 314 |
+
|
| 315 |
+
We use the internal information of Crafter environment to determine the type of the transition. When multiple subgoals is reached during the period, we caption the period as the less reached subgoal. We use SentenceBert all-MiniLM-L6-v2 (Wang et al., 2020) as the text encoder. D ACTOR-CRITIC LEARNING The actor aims to maximize the cumulative returns, i.e., _∞_ _Rt_ = _[.]_ � _γ[τ]_ ( _rt_ + _τ_ ) _._ (9) _τ_ =0 Here _rt_ + _τ_ represents the respective rewards of the low-level policy and the high-level policy at time step _t_ + _τ_ . Then the bootstrapped _λ_ -returns Sutton & Barto (2018) could be written as: _. ._ _Rt[λ]_ = _rt_ + _γct_ �(1 _− λ_ ) _Vψ_ ( _st_ +1) + _λRt[λ]_ +1� _, RT[λ]_ = _Vψ_ ( _sT_ ) _._ (10) The actor and the critic are updated via the following losses: _LV_ = catxent ( _Vψ_ ( _st_ ) _,_ sg (twohot ( _Rt_ ))) _,_ [(] _[R][t][ −][V]_[(] _[s][t]_[))] (11) _Lπ_ = _−_[s][g] max(1 _, S_ ) log _πϕ_ ( _at | st_ ) _− η_ H [ _πϕ_ ( _at | st_ )] _._ where _S_ is the exponential moving average between the 5th and 95th percentile of _Rt_ , _H_ is the entropy of the policy. E MORE RESULTS LanGoal(w/test) DreamerV3 100.00 10.00 1.00 0.10 0.01 Figure 3: success rate for each task trained with 5M steps. LanGoal still performs well on hard tasks like _make iron pickaxe_ and _make iron sword_ .
|
| 316 |
+
|
| 317 |
+
13
|
| 318 |
+
|
open_review/iclr2025_13846.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13846",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Quantum-PEFT: Ultra parameter-efficient fine-tuning",
|
| 6 |
+
"abstract": "This paper introduces Quantum-PEFT that leverages quantum computations for parameter-efficient fine-tuning (PEFT). Unlike other additive PEFT methods, such as low-rank adaptation (LoRA), Quantum-PEFT exploits an underlying full-rank yet surprisingly parameter efficient _quantum unitary parameterization_. With the use of Pauli parameterization, the number of trainable parameters grows only logarithmically with the ambient dimension, as opposed to linearly as in LoRA-based PEFT methods. Quantum-PEFT achieves vanishingly smaller number of trainable parameters than the lowest-rank LoRA as dimensions grow, enhancing parameter efficiency while maintaining a competitive performance. We apply Quantum-PEFT to several transfer learning benchmarks in language and vision, demonstrating significant advantages in parameter efficiency.",
|
| 7 |
+
"rebuttal": "We thank the reviewer for the reply.\nWe provide the following comparisons, empirical results on Llama, and further clarifications on our focus, as detailed below (will be included in the final version).\n\n**Comparisons.** \nQuantum-PEFT's gains are rooted in fundamental mathematical principles, i.e., representing weight updates with highly compact unitary parameterizations, and therefore generally applicable independently of the underlying pre-trained model architecture.\nThis approach contrasts with LISA [1], which relies on layer-wise sampling motivated by LLM training behaviors.\nLoReFT [2] leverages intervention in activation space at specific positions within the Transformer, which would require careful tuning per architecture and task.\nMORA [3] highlights the importance of high-rank matrices in Llama benchmarks, where Quantum-PEFT uses underlying full-rank unitary parameterizations, which further suggests that Quantum-PEFT can also perform well in multiple tasks, including Llama benchmarks, while also benefitting from better-than-LoRA scaling unlike MORA's linear scaling.\nQuanTA [4] does not consider unitary gains, while our SVD form offers enhanced regularization akin to AdaLoRA and improved training stability due to unitary normalization (e.g., [5]), both of which are beneficial when handling larger and deeper models with higher risk of overfitting and training instabilities, further suggesting favorable scaling of Quantum-PEFT to large models such as Llama applied to challenging NLG tasks requiring improved generalization capabilities.\n\n**NLG Llama evaluations.** \nIn response to the reviewer's feedback and to enable direct comparison with the provided references, we conducted additional experiments using Llama2-7B on arithmetic reasoning tasks by fine-tuning on MATH10K under the same settings as in QuanTA [4].\nFrom the results, we observe that Quantum-PEFT achieves competitive performance with the newer methods on these math benchmarks while using fewer parameters.\nThese results on Llama benchmarks provide further empirical evidence for the broad applicability and efficiency of Quantum-PEFT.\n\n\n| Method | Params (%) | AQuA | GSM8K | MAWPS | SVAMP | Avg |\n| ------------ | -------- | ---- | ----- | ----- | ----- | ---- |\n| LoRA | 0.826 | 17.5 | 65.7 | 91.2 | 80.8 | 63.8 |\n| LoReFT | 0.031 | 18.0 | 60.8 | 89.1 | 76.2 | 61.0 |\n| QuanTA | 0.195 | 16.7 | 67.0 | 94.3 | 80.3 | 64.6 |\n| MORA | 0.824 | 17.2 | 64.5 | 90.8 | 80.5 | 63.3 |\n| Quantum-PEFT | 0.017 | 16.9 | 66.9 | 93.9 | 80.9 | 64.7 |\n\n\n**Focus**.\nOur core contribution is proposing a new PEFT framework grounded in extremely efficient Pauli parameterization to enable logarithmic scaling of trainable parameters with unitary constraints, rather than mostly focusing on the specific application of LLM finetuning as done in [1,3,4].\nThe wide range of provided evaluations, including diverse language tasks on both well-established benchmarks and newer models, as well as vision tasks with vision transformers, demonstrate Quantum-PEFT effectiveness across multiple tasks and architectures.\nThe theoretical foundation, the demonstrated cross-domain efficacy, and the significant reduction in trainable parameters underscore the effectiveness of our contribution to the PEFT field.\nWe thank the reviewer for the feedback and we remain available for further discussions.\n\n\n[1] LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning. NeurIPS 2024. \n[2] ReFT: Representation Finetuning for Language Models. NeurIPS 2024. \n[3] MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning. \n[4] QuanTA: Efficient High-Rank Fine-Tuning of LLMs with Quantum-Informed Tensor Adaptation. NeurIPS 2024.\n[5] Efficient Riemannian optimization on the Stiefel manifold via the Cayley transform. ICLR 2020.\n\nThe relation of the Pauli parameterization to the Tensor-train is illustrated in Fig. 5. \nLoRA is 2-mode TTD (denoted as ''LoRA (TTD)'' in Fig. 5), which has 2 tensor nodes having $2NK$ parameters in total. \nIt is well-known that any tensor trains can be transformed into a canonical form, where all tensor nodes are unitary with one additional diagonal node. \nThe canonical form of LoRA (2-mode TTD) becomes an SVD form, having left unitary, right unitary, and diagonal, which is denoted as ''Quantum-PEFT (SVD)'' in Fig. 5. This has benefits from non-canonical form: 1) the required number of param [...]\n\nWe thank the reviewer for the valuable feedback and address the concerns below.\n\n> Q1. The paper describe the compute ansatz in (2). However, the backward-pass, especially computing the gradient update of the parameters is not covered\n\nThank you for your comment. The trainable parameter $\\theta_{k,i}$ in Eq. (2) is associated with individual RY gate, defined in (1). RY gate is based on trigonometric function wrt $\\theta$, and thus closed-form expression of the gradient is known:\n$\\frac{\\partial \\mathsf{RY}(\\theta)}{\\partial \\theta} = \\frac{1}{2}\n\\begin{bmatrix}\n-\\sin(\\theta/2) & -\\cos(\\theta/2 [...]\n\nWe thank the reviewer for the valuable feedback.\n\n> Q1. Delineation of learnable parameters\n\nWe have carefully revised Section 4.1 to more clearly delineate the trainable parameters. In Quantum-PEFT, we use parameter-efficient representation of unitary transformations, i.e., the trainable parameters are Lie algebra for unitary parameterization.\nSpecifically, in Eq. (2), the trainable parameters are the rotation angles $\\theta_{k,l}$ associated with the employed RY gates.\nIn fact, in (2) the Lie algebra, i.e., $\\theta_{k,l}$, for each RY gates is trainable. \nThe RY gate has a single parameter, [...]\n\nWe thank the reviewer for the valuable feedback and address all remaining concerns below.\n\n> Q1. It would be great if authors could add some self-contained introduction to the necessary quantum concepts used in the paper.\n\nWhile Quantum-PEFT draws inspiration from quantum computation \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 6.0,
|
| 15 |
+
"score_variance": 0,
|
| 16 |
+
"score_spread": 0,
|
| 17 |
+
"score_min": 6,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "This paper proposed Quantum-PEFT, which leverages quantum computations for parameter-efficient fine-tuning (PEFT). The topic is interdisciplinary, and initially the reviewers raised various questions both from the perspective of machine learning and quantum computing, including accessibility for a broader audience, evaluation on larger models, comparison with recent PEFT methods, choice of L, computational complexity, etc. The authors did an excellent job during the rebuttal period, with various empirical experiments added to address these concerns. The scores from reviewers were subsequently increased to be all positive.\n\nTherefore, the decision is to accept this paper at ICLR 2025. In any case, the authors should carefully merge all points raised during rebuttal to the final version of the paper.",
|
| 22 |
+
"forum_id": "dgR6i4TSng",
|
| 23 |
+
"primary_area": "foundation or frontier models, including LLMs",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_nb9o",
|
| 28 |
+
"review_id": "ooKU1tod8L",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1363,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 2240271,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_XPHL",
|
| 44 |
+
"review_id": "oY89328lyq",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2546,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2354483,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_og4k",
|
| 60 |
+
"review_id": "lUZh1OFVRX",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1869,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 908666,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_1BuM",
|
| 76 |
+
"review_id": "FJfJ3XvYgo",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2628,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 3381077,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13846.md
ADDED
|
@@ -0,0 +1,608 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - - QUANTUM-PEFT: ULTRA PARAMETER EFFICIENT FINE TUNING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
This paper introduces Quantum-PEFT that leverages quantum computations for parameter-efficient fine-tuning (PEFT). Unlike other additive PEFT methods, such as low-rank adaptation (LoRA), Quantum-PEFT exploits an underlying full-rank yet surprisingly parameter-efficient _quantum unitary parameterization_ . With the use of Pauli parameterization, the number of trainable parameters grows only logarithmically with the ambient dimension, as opposed to linearly as in LoRAbased PEFT methods. Quantum-PEFT achieves vanishingly smaller number of trainable parameters than the lowest-rank LoRA as dimensions grow, enhancing parameter efficiency while maintaining a competitive performance. We apply Quantum-PEFT to several transfer learning benchmarks in language and vision, demonstrating significant advantages in parameter efficiency.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Fine-tuning large pre-trained models is a cost-effective method to adapt a general-purpose model to additional domains and tasks in computer vision and natural language processing (Devlin et al., 2018; Liu et al., 2019; He et al., 2021b; Radford et al., 2019; Brown et al., 2020; Dubey et al., 2024). Yet, even the practice of fine-tuning for each application can be costly as models scale to billions or trillions of parameters. The substantial memory requirements, such as GPT-3’s 350GB footprint (Brown et al., 2020), can pose significant resource challenges, restricting practical deployment.
|
| 14 |
+
|
| 15 |
+
Parameter-efficient fine-tuning (PEFT) addresses the resource challenges of task specialization for massive pre-trained networks without the need to fine-tune parameters in full model weights dimensions (Aghajanyan et al., 2021; Hu et al., 2021; Edalati et al., 2023). For instance, low-rank adaptation (LoRA) (Hu et al., 2021) uses low-rank decompositions to modify weights, whereby reducing the number of trainable parameters. Despite its efficiency, there are limitations to the number of parameters, which include a compression ratio constrained by rank-1 decompositions and a linear scaling of trainable parameters with weight matrix dimensions.
|
| 16 |
+
|
| 17 |
+
We introduce Quantum-PEFT, a novel framework that achieves extremely parameter-efficient finetuning beyond LoRA-variants, e.g., (Zhang et al., 2023; Qiu et al., 2023; Liu et al., 2023b; Yeh et al., 2024), by leveraging quantum unitary parameterizations (Biamonte et al., 2017; Schuld et al., 2015). Quantum circuits are a way to represent unitary matrices as a product of smaller unitary matrices (i.e., quantum gates) with a total number of parameters growing logarithmically with the dimension, offering an extremely efficient framework for effective PEFT parameterizations. The core idea is to reparameterize the layers of pre-trained networks as generalized quantum circuits capturing complex transformations, which then only require a logarithmic number of trainable parameters. The ultra parameter efficiency is enabled by parameterizing the low-rank subspaces via Kronecker products of generalized Pauli rotations. The key contributions of our work include:
|
| 18 |
+
|
| 19 |
+
- We introduce new quantum-inspired modules based on generalized Pauli parametrization and quantum tensor network.
|
| 20 |
+
|
| 21 |
+
1
|
| 22 |
+
|
| 23 |
+
**==> picture [390 x 155] intentionally omitted <==**
|
| 24 |
+
|
| 25 |
+
**----- Start of picture text -----**<br>
|
| 26 |
+
orthogonal<br>U U Q P<br>node<br>A<br>W [�] W [�] Λ W [�] Λ diagonal<br>node<br>B<br>orthogonal<br>V [⊤] V [⊤] Q P<br>node<br>(a) LoRA (b) AdaLoRA (c) Quantum-PEFT<br>**----- End of picture text -----**<br>
|
| 27 |
+
|
| 28 |
+
Figure 1: Overview of Quantum-PEFT compared to LoRA and AdaLoRA for PEFT. _W_ is the frozen pretrained weight, green boxes represent trainable parameters. LoRA updates _W_ by training the low-rank matrices _A, B_ . AdaLoRA introduces the SVD trainable form _U,_ Λ _, V_ with regularizer �� _U ⊤U − I_ ��2 + �� _V ⊤V − I_ ��2. In Quantum-PEFT, the matrices _U, V_ are not trainable parameters, but rather computed through quantum mappings of _orders-of-magnitude smaller_ intrinsic parameters. Contrary to AdaLoRA, _U, V_ are left-orthogonal by construction in Quantum-PEFT.
|
| 29 |
+
|
| 30 |
+
- We propose a novel framework, named Quantum-PEFT, that leverages quantum unitary parameterizations for extremely parameter-efficient fine-tuning, achieving orders-ofmagnitudes higher compression rates over state-of-the-art PEFT methods.
|
| 31 |
+
|
| 32 |
+
- Quantum-PEFT with Pauli parameterization enables logarithmic scaling of trainable parameters with respect to the ambient dimension of the model, realizing even smaller number of parameters than the lowest-rank LoRA.
|
| 33 |
+
|
| 34 |
+
- Through extensive experiments on language and vision tasks, we show Quantum-PEFT’s significant advantage in parameter efficiency, achieving 5 to 25-fold reduction in trainable parameters compared to LoRA, yet maintaining competitive performance.
|
| 35 |
+
|
| 36 |
+
## 2 RELATED WORK
|
| 37 |
+
|
| 38 |
+
**Parameter-efficient fine-tuning (PEFT)** Parameter-efficient fine-tuning (PEFT) methods allow significantly lower model training cost for different downstream tasks. A plethora of methods have been proposed for PEFT (Houlsby et al., 2019; Aghajanyan et al., 2021; Hu et al., 2021; Edalati et al., 2023; Lester et al., 2021; Li and Liang, 2021; He et al., 2021a; Karimi Mahabadi et al., 2021; Chen et al., 2022; Jie and Deng, 2023; Hao et al., 2022; Houlsby et al., 2019; Pfeiffer et al., 2021), among which reparameterization-based techniques (Aghajanyan et al., 2021; Hu et al., 2021; Edalati et al., 2023) bear the most relevance to our study, where the model architecture is not changed but reparametrized with a lower number of trainable parameters. LoRA (Hu et al., 2021) updates the pretrained weight matrix through the addition of a product of two low-rank matrices with widespread adoption (Zi et al., 2023; Chavan et al., 2023; Hayou et al., 2024; Zhu et al., 2024). Many variants were introduced, e.g., tensor factorization (Edalati et al., 2023; Bershatsky et al., 2024; Chen et al., 2024a), nonlinear mappings (Liu et al., 2023a), Hadamard (Yeh et al., 2024) and Kronecker product (Edalati et al., 2023), layer sampling (Pan et al., 2024), embedding finetuning (Wu et al., 2024), and high-rank updates (Jiang et al., 2024b; Chen et al., 2024b). Additional discussions in Appendix A.6.
|
| 39 |
+
|
| 40 |
+
**Unitary-constrained PEFT** AdaLoRA (Zhang et al., 2023) introduces dynamic rank adjustment during fine-tuning, with additional regularizer for orthogonality. Unlike AdaLoRA with inexact orthogonality and extra regularization, we directly parameterize full-rank unitary matrices via efficient quantum circuit embeddings. Orthogonal fine-tuning (OFT) (Qiu et al., 2023; Liu et al., 2023b) employs a unitary matrix to transform the pretrained weights. OFT typically requires more trainable parameters and rely on expensive Cayley transform, highlighting the need for more efficient methods.
|
| 41 |
+
|
| 42 |
+
2
|
| 43 |
+
|
| 44 |
+
**==> picture [302 x 108] intentionally omitted <==**
|
| 45 |
+
|
| 46 |
+
**----- Start of picture text -----**<br>
|
| 47 |
+
x L layers x L layers<br>RY RY S U( N’ )<br>CZ SU(4) SU( N’ [2] ) O(1)<br>RY RY RY SU( N’ )<br>SU( N’ [2] ) O(1)<br>RY RY RY S U( N’ )<br>SU( N’ [2] ) O(1)<br>RY RY RY SU( N’ )<br>RY SU(4) [2] RY SU( N’ ) SU( N’ [2] ) O(1)<br>SU(2) [5] SU(4)<br>(a) Simplified two-design ansatz (b) Generalized Network<br>**----- End of picture text -----**<br>
|
| 48 |
+
|
| 49 |
+
Figure 2: QML components. (a) Simplified two-design ansatz as (2). It alternates RY and CZ, i.e., a product of small unitary matrices. (b) Generalized quantum-inspired network for our unitary node. It generalizes the two-design ansatz to arbitrary dimensions by employing SU( _N[′]_ ) blocks.
|
| 50 |
+
|
| 51 |
+
**Unitary-constrained machine learning** Unitary constraints can make training more stable and improve generalization, e.g., (Arjovsky et al., 2016; Jing et al., 2017; Chang and Wang, 2021). Different parametrizations are used, e.g., orthogonal weights through the Cayley transform (Helfrich et al., 2018) and Householder reflection (Mhammedi et al., 2017; Huang et al., 2022). Stiefel manifold optimization in ML is widely studied (Wisdom et al., 2016; Bansal et al., 2018; Li et al., 2019). Riemannian optimization has been considered for low-rank neural networks (Schotthöfer et al., 2022; Zangrando et al., 2024; Schotthöfer and Laiu, 2024). where they directly optimize the low-rank network factors with manifold optimization. Our approach differs as we do not optimize over the orthogonal factors directly, but rather parameterize them through trainable intrinsic weights.
|
| 52 |
+
|
| 53 |
+
**Quantum machine learning** Relevant quantum machine learning (QML) concepts include expressibility and entangling (Sim et al., 2019; Pérez-Salinas et al., 2020). Variational principles for quantum neural networks are in (Farhi and Neven, 2018), with extensions for quanvolutional networks (Henderson et al., 2020), quantum autoencoders (Romero et al., 2017), support vector machines (Suykens, 2013; Rebentrost et al., 2014), quantum graph neural networks (Zheng et al., 2021), and quantum generative adversarial networks (Lloyd and Weedbrook, 2018; Dallaire-Demers and Killoran, 2018). Quantum circuits are analytically differentiable enabling gradient optimization (Schuld et al., 2019).
|
| 54 |
+
|
| 55 |
+
## 3 PRELIMINARIES
|
| 56 |
+
|
| 57 |
+
**Notations:** Let SU( _N_ ), su _N_ , SO( _N_ ), O( _N_ ), and _VK_ ( _N_ ) denote the special unitary Lie group of size _N_ , its Lie algebra, special orthogonal group, orthogonal group, and real-valued Stiefel manifold having orthonormal _K_ frames _VK_ ( _N_ ) = _{X ∈_ R _[N][×][K] |X[⊤] X_ = _IK}_ , respectively. We denote _I_ , R, _⊗_ , [ _·_ ] _[⊤]_ , and _ȷ_ as identity matrix of proper size, real numbers field, Kronecker product, transpose, and imaginary number, respectively. Let _L_ , _q_ , _N[′]_ , _K[′]_ be the number of alternating entanglement layers, the number of qubits, orthogonal node size, and intrinsic rank, respectively. We denote the derived unitary matrices as _Q_ , e.g, _Q_ P denotes the unitary Pauli-parameterizated matrix. _θ_ represents angles in Pauli parametrization, which are trainable parameters. RY( _θ_ ) and CZ represent the quantum RY rotation gate and controlled-Z gate, respectively. Detailed list of symbols is in Appendix A.7. In QML, neural network modules are realized by embedding classical data and weight values as quantum variational parameters such as Pauli rotation angles to control measurement outcomes. QML provides universal approximation property (Pérez-Salinas et al., 2020) and exponentially rich expressibity (Sim et al., 2019). Any quantum circuit can be decomposed (Kitaev, 1997) into a series of single-qubit rotations and two-qubit entanglements.
|
| 58 |
+
|
| 59 |
+
**Pauli matrices** Pauli operators play an important role to generate any unitary rotations up to a global phase. The group SU( _N_ )—the Lie group of unitary _N × N_ matrices having determinant 1—can be generated by the Lie algebra su _N_ , i.e., the set of _N × N_ skew-Hermitian matrices. For single-qubit rotations over SU(2), the Lie algebra is a span of _{ȷX, ȷY, ȷZ}_ , with Pauli matrices: _X_ = [[0] 1[1] 0[]] _[, Y]_[=] � 0 _ȷ −_ 0 _ȷ_ � _, Z_ = � 10 _−_ 01 � _._ The exponential mapping of its linear combinations generates SU(2). For example, quantum RY rotation gate is given as
|
| 60 |
+
|
| 61 |
+
**==> picture [356 x 25] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
3
|
| 64 |
+
|
| 65 |
+
which alone spans the special orthogonal group SO(2) and forms O(2) along with a reflection _Z_ .
|
| 66 |
+
|
| 67 |
+
**Quantum circuits and matrix operations** A quantum circuit consists of a sequence of quantum gates applied to a quantum state. Mathematically, a quantum circuit can be viewed as a unitary matrix transforming one state (i.e., a tensor) to another tensor. The quantum circuit is a product of smaller unitary matrices (individual gates). We primarily employ two gates: single-qubit rotations RY gates, represented by 2 _×_ 2 unitary matrices, and entangling 2-qubit CZ gates (4 _×_ 4 diagonal unitary matrices). A quantum circuit is built from a series of gates and can represent any unitary matrix.
|
| 68 |
+
|
| 69 |
+
**Two-design ansatz** In QML, two-design ansatz (Cerezo et al., 2021) use a small number of parameters in order of _O_ [log2( _N_ )] to represent unitary matrices SU( _N_ ) whose statistical properties are identical to ensemble random unitaries. This property suggests that gradient optimization can uniformly adjust few-parameter Pauli rotation angles along the unitary group SU( _N_ ). Comparing to the full degree of freedoms of dim[SU( _N_ )] = _N_[2] _−_ 1 for any skew-Hermitian matrices, the QML has a great potential to realize parameter-efficient representation in its logarithmic order. In the following, we introduce a generalized framework to extend the QML features for extremely parameter-efficient neural network modules, which constitute the building blocks of Quantum-PEFT.
|
| 70 |
+
|
| 71 |
+
## 4 QUANTUM-PEFT
|
| 72 |
+
|
| 73 |
+
We propose to parameterize the matrix added to the pretrained weights _W_ by leveraging an ultra compact representation based on quantum unitary parameterizations. Similarly to AdaLoRA (Zhang et al., 2023), we reparametrize the weight updates as a product of unitary matrices _U ∈VK_ ( _N_ ) _⊂_ R _[N][×][K] , V ∈VK_ ( _M_ ) _⊂_ R _[M][×][K]_ and a diagonal matrix _Λ ∈_ R _[K][×][K]_ . Specifically, the weight update _∆W_ for a weight matrix _W ∈_ R _[N][×][M]_ is given by: _∆W_ = _UΛV[⊤]_ . In Quantum-PEFT, the low-rank _U, V_ are not optimization variables, but rather are expressed via efficient unitary parameterizations, i.e., Kronecker products of generalized Pauli rotations. In this way, the number of trainable parameters depends on the chosen underlying unitary parametrization. Our PEFT pipeline is shown in Figure 1.
|
| 74 |
+
|
| 75 |
+
## 4.1 QUANTUM-PEFT: PAULI, ORTHOGONAL AND DIAGONAL NODES
|
| 76 |
+
|
| 77 |
+
In this section, we introduce generalized quantum-inspired modules as the core building blocks of Quantum-PEFT, i.e., product of RY and CZ gates for trainable orthogonal nodes (akin to generalized RY modules), and trainable diagonal nodes (akin to generalized CZ modules). We additionally show how to solve the power-of-two scaling limitation of QML and address efficient computation.
|
| 78 |
+
|
| 79 |
+
**Pauli parameterization** The simplified two-design ansatz (Cerezo et al., 2021) visualized in Figure 2a in Appendix uses an alternating circuit composed of RY and controlled-Z (CZ) entangling gates: CZ = diag[1 _,_ 1 _,_ 1 _, −_ 1], which is an element of reflection groups O(1)[4] = _{±_ 1 _}_[4] . This ansatz is suited for neural networks as they are real-valued quantum operations over SO( _N_ ), i.e., not complex-valued operations over SU( _N_ ) arising when using RZ or RX rotations. In Quantum-PEFT, we propose to use the Pauli parameterization based on this construction, as given below:
|
| 80 |
+
|
| 81 |
+
**==> picture [392 x 42] intentionally omitted <==**
|
| 82 |
+
|
| 83 |
+
where _L_ is the number of alternating entanglement layers, and _q_ = log2( _N_ ) is the number of qubits; in (2) _q_ is odd s.t. ( _q −_ 1) _/_ 2 is integer and the _q_ even case can be trated similarly. In (2), the trainable parameters are the rotation angles _θk,l_ associated with the employed RY gates (1). The _θk,l_ for each RY gates is trainable, where the RY gate (1) has a single parameter. This Pauli parameterization therefore has (2 _L_ + 1) log2( _N_ ) _−_ 2 _L_ parameters, increasing only logarithmically with the matrix size _N_ . The entangling capacity is controlled by _L_ and is further discussed in Appendix A.4. While the tensor rank is 2, thanks to the alternating CZ entanglement, the effective rank of the matrix _Q_ P is of full _N_ contrary to low-rank AdaLoRA (Zhang et al., 2023). Not only parameter efficient, but Pauli parametrization is also computationally efficient as it takes _O_ [ _N_ log2( _N_ ) _L_ ] operations compared to quadratic complexity for unitary matrix rotations. Motivated by this quantum-inspired network, we further generalize the parameterization from SU(2) to SU( _N[′]_ ) with an arbitrary size of _N[′] >_ 2 as
|
| 84 |
+
|
| 85 |
+
4
|
| 86 |
+
|
| 87 |
+
**==> picture [399 x 165] intentionally omitted <==**
|
| 88 |
+
|
| 89 |
+
**----- Start of picture text -----**<br>
|
| 90 |
+
Exponential,<br>Taylor<br>K N [′] N [′]<br>K K N [′]<br>B − B [⊤] Map Truncate<br>(a) Trainable mapping N [′] N [′] Q<br>to Stiefel manifold<br>K [′]<br>Parameter Skew-Symmetry Unitary Stiefel<br>K { +1 , − 1 } [K]<br>(b) Trainable diagonal Map K K<br>nodes<br>Diagonal Parameter Identity,<br>Rademacher<br>**----- End of picture text -----**<br>
|
| 91 |
+
|
| 92 |
+
Figure 3: Quantum-PEFT modules with corresponding tensor diagrams. (a) Trainable mapping onto the Stiefel manifold _VK_ ( _N[′]_ ). Intrinsic rank _K[′]_ : top _K[′]_ columns are trainable parameters in _B_ . (b) Generalized CZ modules for diagonal nodes on either O(1) _[N][ ′]_ or R _[N][′]_ .
|
| 93 |
+
|
| 94 |
+
shown in Figure 2b as a building block to _represent a large unitary matrix_ SU( _N_ ) _with a smaller number of unitary factors_ SU( _N[′]_ ) _in a logarithmic scale of O_ [log _N ′_ ( _N_ )]. To this end, we show how to ( _i_ ) generalize RY gates by generating unitary matrices from skew-symmetric matrices, and ( _ii_ ) use recursive cosine-sine decomposition to allow non-power-of-two _N_ .
|
| 95 |
+
|
| 96 |
+
**Mapping to Stiefel manifold** Arbitrary unitary rotations of size _N[′]_ can be realized by mapping skew-Hermitian matrices for SU( _N[′]_ ) or skew-symmetric matrices for SO( _N[′]_ ). We consider mapping methods for orthogonal nodes below. Let _B ∈_ R _[N][′][×][N][′]_ be a strictly lower-triangular matrix with nonzero trainable parameters from _BK ∈_ R _[N][′][×][K]_ with _K ≤ N[′]_ ( _N[′] −_ 1) _/_ 2. Given a skew-symmetric matrix _A_ = _B − B[⊤] ∈_ R _[N][′][×][N][′]_ , we can generate a corresponding unitary (orthogonal) matrix, e.g., with exponential mapping or Taylor series
|
| 97 |
+
|
| 98 |
+
**==> picture [274 x 31] intentionally omitted <==**
|
| 99 |
+
|
| 100 |
+
where the mapping _Q[′]_ T[is an approximated version of] _[ Q][′]_ E[up to a polynomial order] _[ P]_[to avoid matrix] exponentiation. Diverse unitary parameterizations are possible, e.g., Cayley transform, Householder reflection, Givens rotation; we focus on _Q[′]_ T[as it shows a good trade-off between accuracy, speed,] and parameter efficiency. We refer to Appendix A.1 for detailed comparisons and discussions.
|
| 101 |
+
|
| 102 |
+
Figure 3(a) illustrates the pipeline to generate matrices on the Stiefel manifold _VK_ ( _N[′]_ ) from trainable parameters through the exponential/Taylor mapping. After mapping skew-symmetric matrix, truncating the square unitary matrix as _Q_ : _K,_ : generates a right-orthogonal matrix. As all the mappings described above are differentiable, the Lie algebra can be trained via gradient methods, and we use PyTorch’s autograd to compute the backward pass gradient. QML literature has employed the gradient method successfully (You et al., 2023; Bermejo et al., 2024) and we empirically observed no issues in loss convergence. While most mapping methods are studied in other literature (Qiu et al., 2023; Liu et al., 2023b; Chang and Wang, 2021; Wisdom et al., 2016; Bansal et al., 2018; Li et al., 2019), in a PEFT context we can further reduce the number of parameters by masking out the Lie parameters. For example, only the top _K[′]_ columns of _BK_ are trainable, while the other parameters are frozen or null-out. We call _K[′]_ an intrinsic rank to cover a subset of _VK_ ( _N[′]_ ).
|
| 103 |
+
|
| 104 |
+
A naive implementation of the above mapping pipeline can use redundant memory before truncation. We resolve the memory redundancy by tensor contraction ordering (Pfeifer et al., 2014), except for _Q[′]_ E[,][e.g.,][multiplying][unitary][matrix][with][a][feature][vector] _[x][∈]_[R] _[N][ ′]_[is][recursively][contracted] 1 as _Q[′]_ T _[x]_[=][�] _p p_ ![(] _[B][−][B][⊤]_[)] _[p][x]_[,][which][does][not][require][the][full][matrix] _[Q][′]_ T[but][only][a][series][of] low-rank multiplications with _B_ . Computational complexity of the mapping and numerical accuracy considerations are discussed in the next subsection.
|
| 105 |
+
|
| 106 |
+
5
|
| 107 |
+
|
| 108 |
+
Table 1: Memory requirements to store trained LoRA and _Q_ P weights for DeBERTaV3 base, Llama 3.1 405B, and GPT-4.
|
| 109 |
+
|
| 110 |
+
||Table 1: Memory requirements to store trained LoRA and _Q_P|Table 1: Memory requirements to store trained LoRA and _Q_P|Table 1: Memory requirements to store trained LoRA and _Q_P|
|
| 111 |
+
|---|---|---|---|
|
| 112 |
+
|_N_<br>_K_<br>_N_<br>(a) LoRA (TTD)<br>_N_<br>_K_<br>_N_<br>(b) AdaLoRA (CP)<br>_K_<br>_N_<br>_K_<br>_N_<br>(c) Quantum-PEFT (TD)<br>_K_<br>Figure 4: Tensor diagram<br>of LoRA variants.|weights for DeBERTaV3 base, Llama 3.1 405B, and GPT-4.|||
|
| 113 |
+
||Rank|LoRA<br># Parameters Required Bytes|Quantum-PEFT<br># Parameters Required Bytes|
|
| 114 |
+
|||||
|
| 115 |
+
||BASE<br>1<br>16<br>256|36.9K<br>0.14MB<br>589.8K<br>2.25MB<br>9437.2K<br>36.00MB|3.69K<br>0.01MB<br>3.98K<br>0.02MB<br>9.7K<br>0.04MB|
|
| 116 |
+
|||||
|
| 117 |
+
||LLAMA<br>1<br>16<br>256|8.26M<br>31.51MB<br>132.1M<br>0.50GB<br>2188.2M<br>8.35GB|60.7K<br>0.23MB<br>64.5K<br>0.25MB<br>127.3K<br>0.49MB|
|
| 118 |
+
|||||
|
| 119 |
+
||GPT-4<br>1<br>16<br>256|36.7M<br>140MB<br>586.6M<br>2.24GB<br>9385.6M<br>35.80GB|269.7K<br>1.03MB<br>286.4K<br>1.09MB<br>565.1K<br>2.15MB|
|
| 120 |
+
|
| 121 |
+
**Overcoming the power-of-** _N[′]_ **limitation** The pipeline in Figure 3(a) can be seen as generalized RY modules for SU( _N[′]_ ), then assembled to construct a larger unitary node SU( _N_ ) as visualized in Figure 2b, meant to be used within _Q_ P s.t. Quantum-PEFT can handle arbitrary dimensions _N[′] >_ 2. However, _N_ should be a power of _N[′]_ . Using quantum Shannon decomposition (QSD) (Shende et al., 2005) i.e. recursive cosine-sine decomposition (CSD), any unitary matrix SU( _N_ ) can be constructed by SU( _N_ 1) and SU( _N_ 2) for lower dimensions such that _N_ 1 _≥ N_ 2 and _N_ 1 + _N_ 2 = _N_ for _N >_ 1:
|
| 122 |
+
|
| 123 |
+
**==> picture [285 x 32] intentionally omitted <==**
|
| 124 |
+
|
| 125 |
+
where _U ∈_ SU( _N_ ), _U_ 1 _, V_ 2 _∈_ SU( _N_ 1), _U_ 2 _, V_ 1 _∈_ SU( _N_ 2), diagonal cosine and sine matrices such that _C_[2] + _S_[2] = _I ∈_ R _[N]_[2] _[×][N]_[2] . Hence, power-of- _N[′]_ rotations such as Kronecker products of Pauli rotations can be still used for arbitrary size of matrices. It hence can solve the power-of- _N[′]_ limitation. _Example_ 4.1 _._ In the simple case _N[′]_ = 2, _N_ 1 and _N_ 2 are adjustable parameters s.t. _N_ = _N_ 1 + _N_ 2 with non-power-of-two _N_ . For example, when _N_ = 12, we can use _N_ 1 = 8 = 2[3] and _N_ 2 = 4 = 2[2] , where we can use four power-of-two unitary matrices of _U_ 1 _, U_ 2 _, V_ 1 _, V_ 2 as well as cos-sine RY rotations. QSD allows recursive decomposition. For example, when _N_ = 28, we apply cos-sin decomposition twice to have _N_ = 2[4] + 2[3] + 2[2] , where the first ( _N_ 1 _, N_ 2) = (2[4] _,_ 2[3] + 2[2] ) and the second CSD for the _N_ 2 part will be further decomposed as ( _N_ 1 _, N_ 2) = (2[3] _,_ 2[2] ).
|
| 126 |
+
|
| 127 |
+
**Diagonal node** Generalizing CZ modules provides a few options: trainable diagonal matrix in any real number R _[K]_ , discrete number, and binary _{±_ 1 _}[K]_ . Trainable discrete diagonal matrix can be realized e.g. by Gumbel softmax or ReinMax trick (Liu et al., 2024). We refer to a trainable binary diagonal matrix as Rademacher mapping, which can create perfect unitarity and reflection group in O(1) _[K]_ . Specifically, Rademacher mapping with ReinMax trick is given as _Q_ R = diag[ReinMax _τ_ ([ _Λ, −Λ_ ]) _×_ [+1 _, −_ 1]] with a temperature _τ_ and diagonal parameter _Λ ∈_ R _[K]_ . Fig. 3(b) illustrates diagonal nodes and its tensor diagram. When identity map is used, it can be used as singular values of any matrices under its singular-value decomposition (SVD). Therefore, the use of both trainable unitary matrices and diagonal matrices is sufficient for general representation of any matrix through its SVD , solving the only-unitarity limitation of typical QML.
|
| 128 |
+
|
| 129 |
+
## 4.2 QUANTUM-PEFT: ANALYSIS
|
| 130 |
+
|
| 131 |
+
Quantum-PEFT leverages a parameter-efficient network by exploiting the new modules: trainable small orthogonal matrices parameterized by the Lie algebra to generate Stiefel manifold _VK_ ( _N_ ) via our generalized RY modules; trainable diagonal nodes either on R _[K]_ or O(1) _[K]_ via our generalized CZ modules; and the Pauli parameterization. We now analyze the orders-of-magnitude improvements in parameter efficiency w.r.t. existing LoRA variants and give more discussions.
|
| 132 |
+
|
| 133 |
+
**Parameter efficiency** LoRA uses two _K_ -rank matrices, having 2 _NK_ parameters. This is known as 2-mode tensor train decomposition (TTD). Any TTD can be transformed into its canonical form, having multiple unitary nodes and one diagonal node. AdaLoRA uses approximated SVD, where unitarity
|
| 134 |
+
|
| 135 |
+
6
|
| 136 |
+
|
| 137 |
+
is not perfectly imposed, leading to _K_ ( _K_ + 1) redundant parameters and extra regularization terms. From the tensor network perspective, AdaLoRA falls under Canonical Polyadic (CP) decomposition which does not strictly assume orthogonality. Using the Lie algebra, Quantum-PEFT can readily realize the non-redundant parameterization for trainable SVD (i.e., 2-mode Tucker decomposition: TD). In this form, the number of trainable parameters depends on the chosen underlying parametrization for the orthogonal matrices. Specifically, the Taylor parametrization _Q[′]_ T[for the maximum decomposition] size _N[′]_ = _N, K[′]_ = _K_ yields 2 _NK − K_[2] trainable parameters, and the Pauli parametrization _Q_ P achieves an extremely compact representation with only _O_ (2((2 _L_ + 1) log2( _N_ ) _−_ 2 _L_ ) + _K_ ) parameters , scaling logarithmically with the matrix dimension _N_ . The underlying parameterizations induced by our generalized RY modules spanning orthogonal group can effectively capture a full-rank weight update. This contrasts with AdaLoRA (Zhang et al., 2023), which uses approximate orthogonality imposed by regularization terms in optimization, failing to reduce the number of trainable parameters being limited by the low-rank decomposition. Consequently, Quantum-PEFT enables orders-of-magnitude parameter reduction compared to conventional LoRA-based approaches. The theoretical memory requirements of PEFT applied to query/value weights in comparison to LoRA are shown in Table 1 and Figure 4 shows tensor diagrams under tensor network interpretation. More discussions of other tensor networks are found in Appendix A.3.
|
| 138 |
+
|
| 139 |
+
**Computational complexity** Regarding computational complexity of computing the mapping, Pauli parameterization _Q_ P has runtime _O_ (( _L_ + 1) _N_ log2( _N_ )) with the efficient Kronecker Shuffle algorithm (Plateau, 1985), while the number of trainable parameters scales logarithmically with _N_ . This shows that, up to small constant factors (e.g., _L_ can be set to 1 for PEFT with sensitivity analysis in Appendix A.4), the computational complexity remains highly competitive with LoRA’s _O_ (2 _NK_ ) even with the mapping. Contrary to LoRA, the logarithmic scaling of parameters allowed by our construction translates to a substantial reduction in memory footprint, which becomes increasingly important when dealing with very large models. The Taylor mapping _Q[′]_ T[has complexity] _[ O]_[(2(] _[P]_[+ 1)] _[NK]_[)][,] yielding a comparable time complexity order with LoRA _O_ (2 _NK_ ) at _N_ = _N[′] , K_ = _K[′]_ . We remark that the Taylor parameterization can be used independently, namely _Q_ T, to generate orthogonal matrices from underlying small trainable weights as in Figure 3(a), which is computationally cheap and results in _O_ (2 _NK − K_[2] ) parameters. This setup is preferred for reduced training time when more memory bandwidth is available, while _Q_ P provides the highest parameter savings.
|
| 140 |
+
|
| 141 |
+
**Quantization** To further save memory, we can use a standard integer quantization for trainable parameter: _θ_ : _θ_ q = round(( _θ −µ_ ) _/β_ ) _β_ + _µ_ , where scale value _β_ = ( _θ_ max _−θ_ min) _/_ (2 _[n] −_ 1) and zero value _µ_ = _θ_ min for _n_ -bit quantization. The maximum _θ_ max and minimum values _θ_ min are obtained in a chunk of group size _g_ . When the quantization is applied on the Lie parameters, we employ the straight-through trick for quantization-aware training (QAT), i.e., _θ_ := _θ_ q + _θ − θ._ detach(), where _._ detach() means no gradient passing. Once trained, the required memory will be _n_ + 32 _/g_ bits per Lie parameter when _β_ and _µ_ use floating-point (FP) 16 bits precision.
|
| 142 |
+
|
| 143 |
+
## 5 EXPERIMENTS
|
| 144 |
+
|
| 145 |
+
We evaluate our Quantum-PEFT for DeBERTaV3 (He et al., 2023), GPT-2 (Radford et al., 2019), ViT (Dosovitskiy et al., 2020), and Mistral-7B (Zhang et al., 2023) on diverse fine-tuning. We finetune (1) DeBERTaV3 and Mistral-7B on the General Language Understanding Evaluation (GLUE) benchmark (Wang et al., 2019); (2) GPT-2 Medium on E2E Challenge following the original LoRA paper (Hu et al., 2021); and (3) ViT on CIFAR10 (Krizhevsky et al., 2009). Our experiments are not to claim that Quantum-PEFT always improves accuracy w.r.t. LoRA, but to show that Quantum-PEFT can maintain a competitive level of accuracy with orders-of-magnitude fewer parameters.
|
| 146 |
+
|
| 147 |
+
## 5.1 GLUE BENCHMARK
|
| 148 |
+
|
| 149 |
+
The experiment is conducted on the GLUE benchmark, which consists of NLP understanding tasks. Our experiment follows the set-up in (Zhang et al., 2023). The fine-tuning is applied on DeBERTaV3base (He et al., 2023). We compare Quantum-PEFT with the following baselines: Full parameters fine-tuning (FT), LoRA (Hu et al., 2021), BitFit (Zaken et al., 2022), adapter tuning with Houlsby adapter (HAdapter) (Houlsby et al., 2019), adapter tuning with Pfeiffer adapter (PAdapter) (Pfeiffer et al., 2021), AdaLoRA (Zhang et al., 2023), LoKr (Yeh et al., 2024), LoHa (Hao et al., 2022), MORA
|
| 150 |
+
|
| 151 |
+
7
|
| 152 |
+
|
| 153 |
+
Table 2: Results with DeBERTaV3 base on GLUE benchmark. We present the Matthew’s correlation for CoLA, the average correlation for STS-B, and the accuracy for other tasks. In each column, the best-performing PEFT approach is highlighted in **bold** and the second best is underlined.
|
| 154 |
+
|
| 155 |
+
|Method|# Trainable<br>Parameters||SST-2|CoLA|RTE|MRPC|STS-B||Avg.<br>Memory|
|
| 156 |
+
|---|---|---|---|---|---|---|---|---|---|
|
| 157 |
+
|||||||||||
|
| 158 |
+
|FT|184M||95.63|69.19|83.75|89.46|91.60||85.93<br>14200_×_|
|
| 159 |
+
|||||||||||
|
| 160 |
+
|BitFit<br>HAdapter<br>PAdapter<br>HAdapter<br>PAdapter<br>LoRA<br>AdaLoRA<br>LoHa<br>LoKr<br>MORA<br>QuanTA|0.1M<br>0.61M<br>0.60M<br>0.31M<br>0.30M<br>0.33M<br>0.32M<br>0.33M<br>0.073M<br>0.49M<br>0.093M||94.84<br>95.30<br>95.53<br>95.41<br>94.72<br>94.95<br>95.80<br>95.50<br>95.07<br>95.79<br>95.30|66.96<br>67.87<br>69.48<br>67.65<br>69.06<br>68.71<br>**70.04**<br>66.52<br>69.46<br>67.13<br>67.75|78.70<br>85.56<br>84.12<br>83.39<br>84.48<br>85.56<br>**87.36**<br>80.43<br>85.20<br>85.19<br>84.48|87.75<br>89.22<br>89.22<br>89.25<br>89.71<br>89.71<br>90.44<br>89.95<br>89.71<br>89.08<br>89.22|91.35<br>91.30<br>91.52<br>91.31<br>91.38<br>**91.68**<br>91.63<br>89.46<br>90.76<br>90.13<br>91.01||83.92<br>7.69_×_<br>85.85<br>46.92_×_<br>85.97<br>46.15_×_<br>85.40<br>23.85_×_<br>85.87<br>23.08_×_<br>86.12<br>25.38_×_<br>**87.05**<br>24.62_×_<br>84.37<br>25.38_×_<br>86.04<br>5.62_×_<br>85.46<br>37.87x<br>85.55<br>7.15x|
|
| 161 |
+
|||||||||||
|
| 162 |
+
|Quantum-PEFT|**0.013M**||**95.85**|67.85|86.57|**90.78**|91.06||86.42<br>**1**_×_|
|
| 163 |
+
|
| 164 |
+
Table 3: Results for different adaptation methods on the E2E benchmark and GPT2 Medium model. Quantum-PEFT achieves similar performance as LoRA with 4 times less trainable parameters and better performance than LoKr with same parameters.
|
| 165 |
+
|
| 166 |
+
|Method|# Trainable<br>Parameters|BLEU<br>NIST<br>METEOR<br>ROUGE-L<br>CIDEr|BLEU<br>NIST<br>METEOR<br>ROUGE-L<br>CIDEr|BLEU<br>NIST<br>METEOR<br>ROUGE-L<br>CIDEr|
|
| 167 |
+
|---|---|---|---|---|
|
| 168 |
+
||||||
|
| 169 |
+
|FT|354.92M|68.2<br>8.62|46.2|71.0<br>2.47|
|
| 170 |
+
||||||
|
| 171 |
+
|LoRA<br>AdaLoRA<br>LoHa<br>LoKr|0.39M<br>0.38M<br>0.39M<br>**0.098M**|66.88<br>8.55<br>64.64<br>8.38<br>65.03<br>8.45<br>63.90<br>8.27|**45.48**<br>43.49<br>43.76<br>42.35|**68.40**<br>**2.31**<br>65.90<br>2.18<br>66.54<br>2.22<br>65.22<br>2.04|
|
| 172 |
+
||||||
|
| 173 |
+
|Quantum-PEFT|**0.098M**|**67.46**<br>**8.58**|45.02|67.36<br>**2.31**|
|
| 174 |
+
|
| 175 |
+
(Jiang et al., 2024b), and QuanTA (Chen et al., 2024b). We fine-tune the query/key/value projection matrices, the output projection in the attention block, and the weight matrices in two-layer MLPs. For all of the baselines, we follow the hyperparameters in (Zhang et al., 2023). For Quantum-PEFT, we use _Q_ P with _L_ = 1 in all tasks. We select the best learning rate by parameters sweep. We conduct five runs with different random seeds and report the mean. We use the same number of training epochs as in AdaLoRA. Due to limited computing resources, we focus on tasks with training instances less than 100k, including SST-2, CoLA, RTE, MRPC, and STS-B. Detailed setups are given in Appendix B.
|
| 176 |
+
|
| 177 |
+
The results are summarized in Table 2. We can see that in both SST-2 and MRPC tasks, QuantumPEFT can outperform AdaLoRA. On other tasks, Quantum-PEFT can still achieve comparable performance with other baselines. Notably, Quantum-PEFT only requires 0 _._ 013 million parameters, which are 25 times fewer than LoRA.
|
| 178 |
+
|
| 179 |
+
## 5.2 E2E BENCHMARK
|
| 180 |
+
|
| 181 |
+
We fine-tune GPT-2 (Radford et al., 2019) Medium on the common E2E natural language generation benchmark (Novikova et al., 2017), following the setups of (Hu et al., 2021). GPT2-Medium has 354M parameters with 24 transformer layers. The E2E benchmark consists of 42,200 samples for training, 4,600 for validation, and 4,600 for testing. We compare LoRA (Hu et al., 2021),
|
| 182 |
+
|
| 183 |
+
8
|
| 184 |
+
|
| 185 |
+
Table 4: Efficiency comparison on GPT2-Medium.
|
| 186 |
+
|
| 187 |
+
|Resource|LoRA|AdaLoRA|LoHa|LoKr|Quantum-PEFT|
|
| 188 |
+
|---|---|---|---|---|---|
|
| 189 |
+
|Training Time (ms/batch)|1719.06|1795.91|1874.04|1790.24|1723.39|
|
| 190 |
+
|Memory Ratio|4.03_×_|4.03_×_|4.03_×_|1_×_|1_×_|
|
| 191 |
+
|
| 192 |
+
Table 5: Results with Mistral-7B on GLUE Benchmark. The reported metrics are as in Table 2.
|
| 193 |
+
|
| 194 |
+
|Method|# Trainable<br>Parameters|SST-2<br>CoLA<br>RTE<br>MRPC<br>STS-B|Avg.|
|
| 195 |
+
|---|---|---|---|
|
| 196 |
+
|LoRA<br>AdaLoRA<br>Quantum-PEFT|3.54M<br>3.54M<br>**0.758M**|96.21<br>68.83<br>87.46<br>87.74<br>90.70<br>**96.90**<br>70.38<br>87.53<br>89.52<br>90.96<br>96.67<br>**70.61**<br>**88.10**<br>**89.94**<br>**91.63**|86.19<br>87.06<br>**87.39**|
|
| 197 |
+
|
| 198 |
+
AdaLoRA (Zhang et al., 2023), LoKr (Yeh et al., 2024), LoHa (Hyeon-Woo et al., 2022), and full FT with Quantum-PEFTwith the simple independent Taylor parameterization _Q_ T _, P_ = 3 for efficient computations at larger model size. Full FT results are sourced from prior works (Zi et al., 2023). For fair comparison, we use the same training settings and hardware, i.e., 4 NVIDIA A100 GPUs, for all methods. We train the baselines using the code provided by the respective authors or using the peft library from Hugging Face. We apply PEFT to the query and value projection layers in each attention block and use the same number of training epochs, batch size, and LoRA scaling, except different learning rate. Table with all hyperparameters is provided in Appendix B.
|
| 199 |
+
|
| 200 |
+
Table 3 shows the results for E2E Challenge dataset. Quantum-PEFT’s performance is on par or better than LoRA with approximately 4 times less trainable parameters, and significantly beats LoKr with the same number of parameters. For the BLEU metric, our method obtains 0 _._ 58 gain compared with LoRA, with comparable results on the other metrics. We report results from the final epoch, whereas Hu et al. (2021) presented the best performance observed during training, and used 4 GPUs rather than 1 due to time constraints, which may contribute to the observed variances w.r.t. the reported performance in (Hu et al., 2021). These results demonstrate that Quantum-PEFT can achieve a comparable level of accuracy to the baselines while using significantly fewer parameters. In Table 4, we evaluate the training time and memory benefits of our method over LoRA while fine-tuning GPT2-Medium. We find that using Quantum-PEFT results in similar training time to LoRA. W.r.t. memory requirements, we observe a 4x reduction in storage with Quantum-PEFT on GPT2-Medium.
|
| 201 |
+
|
| 202 |
+
## 5.3 LARGE-SCALE FINE-TUNING
|
| 203 |
+
|
| 204 |
+
To assess the effectiveness of Quantum-PEFT at larger model scales, we fine-tune the Mistral-7B model (Jiang et al., 2024a). Mistral-7B is a recent language model exhibiting strong performance at its size, outperforming the larger Llama 2-13B on many benchmarks (Jiang et al., 2024a; Zhang and Pilanci, 2024). We experiment our method with this new language model on the GLUE benchmark for natural language understanding problems. We use the LoRA-related hyperparameters as with the DeBERTaV3 experiments. We use the optimization setups from (Zhang and Pilanci, 2024), where for all methods we use 4-bit quantization, employ AdamW optimizer over 5 epochs, and also fine-tune the gate projection matrices. Table 5 presents the results. Quantum-PEFT significantly outperforms the strongest methods on GLUE from Section 5.1 on almost all datasets, while using 4 _._ 67 _×_ fewer trainable parameters than LoRA. This further highlights Quantum-PEFT’s parameter efficiency and even superior-than-LoRA performance when scaling to billion-scale large language models.
|
| 205 |
+
|
| 206 |
+
## 5.4 IMAGE CLASSIFICATION BENCHMARK
|
| 207 |
+
|
| 208 |
+
We evaluate a transfer learning task of the ViT model (google/vit-base-patch16-224) pre-trained on ImageNet-21k (Deng et al., 2009) towards CIFAR10 dataset (Krizhevsky et al., 2009). Detailed settings are found in Appendix B. The base model is frozen after being quantized with 3 bits, and adapters for query and value projections are updated. For Quantum-PEFT, we use _Q_ P parameterization for _K_ = _L_ = 1. Table 6 shows the comparison of full FT, LoRA, and QuantumPEFT. When no fine-tuning was applied, the classification accuracy of the original ViT is poor, and thus fine-tuning is important. Compared to the full FT which requires 95 _._ 81M parameters, PEFT can significantly reduce the required number of trainable parameters, especially with our Quantum-
|
| 209 |
+
|
| 210 |
+
9
|
| 211 |
+
|
| 212 |
+
Table 6: Results for ViT transfer learning from ImageNet-21k to CIFAR10. Base ViT 3-bit quantized.
|
| 213 |
+
|
| 214 |
+
|Method|Original<br>FT<br>LoRA_K_=1<br>LoRA_K_=2<br>LoRA_K_=4<br>Quantum-PEFT|
|
| 215 |
+
|---|---|
|
| 216 |
+
|||
|
| 217 |
+
|# Parameters<br>Accuracy|—<br>85.81M<br>0.037M<br>0.074M<br>0.147M<br>**0.007M**<br>76.21%<br>98.05%<br>98.14%<br>98.30%<br>98.39%<br>**98.46%**|
|
| 218 |
+
|
| 219 |
+
Table 7: Quantization impact on Lie parameters with Taylor parameterization for ViT transfer learning from ImageNet-21k to CIFAR10. Base ViT is not quantized.
|
| 220 |
+
|
| 221 |
+
|Quantization|FP32<br>INT8<br>INT4<br>INT3<br>INT2<br>INT1|
|
| 222 |
+
|---|---|
|
| 223 |
+
|||
|
| 224 |
+
|# Bits per parameter<br>Accuracy (Uniform Bit Loading)<br>Accuracy (Adaptive Bit Loading)|32<br>8.25<br>4.25<br>3.25<br>2.25<br>1.25<br>98.81%<br>**98.79%**<br>98.78%<br>98.75%<br>98.67%<br>97.96%<br>98.81%<br>98.78%<br>**98.87%**<br>**98.80%**<br>**98.77%**<br>**98.64%**|
|
| 225 |
+
|
| 226 |
+
PEFT. For example, Quantum-PEFT has 21-hold fewer parameters than LoRA with rank 4. More importantly, Quantum-PEFT shows superior performance despite the fact of the fewest parameters.
|
| 227 |
+
|
| 228 |
+
**Quantization** Table 7 shows the QAT performance with different number of bits per the Lie parameter for Taylor parameterization ( _Q_ T, _K_ = _K[′]_ = 4 and _P_ = 18). Here, the base ViT model is not quantized, while only adapters are quantized. We use _g_ = 128 and FP16 for scale and zero values _β_ and _µ_ . We observe that reducing the precision for the Lie parameterization can gradually degrade. Nevertheless, thanks to QAT, no significant loss can be seen even with 1-bit integer quantization from FP32: i.e., 0 _._ 65% degradation. We also evaluate the performance of mixed-precision Taylor parameterization. One can see that adaptive bit loading can significantly improve the performance at few-bit quantization regimes. For instance, adaptive 1-bit quantization of Lie parameters has just 0 _._ 17% loss from FP32 and 0 _._ 28% improvement from uniform 1-bit quantization. This may come from the effective pruning gain. More details of quantization are given in Appendix A.3 and A.5.
|
| 229 |
+
|
| 230 |
+
**Sensitivity analysis of intrinsic rank** Our introduced intrinsic rank _K[′]_ can reduce the trainable parameters than the specified rank _K_ , by masking the top _K[′]_ columns of Lie parameters. In Table 8, we show the impact of varying _K[′]_ in the same settings as Table 7 on the ViT transfer learning task. Decreasing _K[′]_ gradually reduces the required number of parameters. While the subspace rank is _K_ = 8, the number of parameters can be effectively _K[′] ≤ K_ . The performance degradation from _K[′]_ = 8 to _K[′]_ = 1 is only 0 _._ 49%, and more importantly the accuracy is still better than LoRA in Table 6. For example, LoRA with _K_ = 1 has an accuracy of 98 _._ 14%, while Quantum-PEFT _Q_ T parameterization with _K_ = 8 and _K[′]_ = 1 has 98 _._ 38%, at the comparable number of parameters. It shows the great potential of masking out the Lie parameters while keeping higher subspace rank.
|
| 231 |
+
|
| 232 |
+
Table 8: Impact of intrinsic rank _K[′]_ for ViT transfer learning from ImageNet-21k to CIFAR10.
|
| 233 |
+
|
| 234 |
+
|Intrinsic rank_K′_|1<br>2<br>3<br>4<br>5<br>6<br>7<br>8|
|
| 235 |
+
|---|---|
|
| 236 |
+
|||
|
| 237 |
+
|# Parameters<br>Accuracy|0.037M<br>0.074M<br>0.111M<br>0.147M<br>0.184M<br>0.221M<br>0.257M<br>0.294M<br>98.38%<br>98.52%<br>98.76%<br>98.74%<br>98.63%<br>98.79%<br>98.81%<br>98.87%|
|
| 238 |
+
|
| 239 |
+
## 6 CONCLUSIONS
|
| 240 |
+
|
| 241 |
+
In this work, we introduced Quantum-PEFT, a novel framework leveraging quantum machine learning principles to achieve extremely parameter-efficient fine-tuning of large pre-trained models. Through reparameterization as generalized quantum circuits, Quantum-PEFT represents weight updates using highly compact unitary matrix embeddings. Quantum-PEFT can achieve even lower parameter number than the lowest-rank LoRA; unlike prior low-rank adaptation methods bottlenecked by linear parameter growth, the employed Pauli parametrization scales logarithmically with the model size. By use of QSD, our unitary node can use non-power-of-two dimensions. Our experiments across language and vision benchmarks validate Quantum-PEFT’s excellent capabilities, achieving ordersof-magnitudes higher compression rates than LoRA while maintaining competitive performance.
|
| 242 |
+
|
| 243 |
+
10
|
| 244 |
+
|
| 245 |
+
## REFERENCES
|
| 246 |
+
|
| 247 |
+
- Armen Aghajanyan, Sonal Gupta, and Luke Zettlemoyer. Intrinsic dimensionality explains the effectiveness of language model fine-tuning. In _ACL_ , 2021.
|
| 248 |
+
|
| 249 |
+
- Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. In _International Conference on Machine Learning (ICML)_ , 2016.
|
| 250 |
+
|
| 251 |
+
- Nitin Bansal, Xiaohan Chen, and Zhangyang Wang. Can we gain more from orthogonality regularizations in training deep CNNs? In _Proceedings of the 32nd International Conference on Neural Information Processing Systems_ , pages 4266–4276, Red Hook, NY, USA, 2018. Curran Associates Inc.
|
| 252 |
+
|
| 253 |
+
- Pablo Bermejo, Borja Aizpurua, and Román Orús. Improving gradient methods via coordinate transformations: Applications to quantum machine learning. _Physical Review Research_ , 6(2): 023069, 2024.
|
| 254 |
+
|
| 255 |
+
- Daniel Bershatsky, Daria Cherniuk, Talgat Daulbaev, and Ivan Oseledets. LoTR: Low tensor rank weight adaptation. _arXiv preprint arXiv:2402.01376_ , 2024.
|
| 256 |
+
|
| 257 |
+
- Jacob Biamonte, Peter Wittek, Nicola Pancotti, Patrick Rebentrost, Nathan Wiebe, and Seth Lloyd. Quantum machine learning. _Nature_ , 549(7671):195–202, 2017.
|
| 258 |
+
|
| 259 |
+
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. In _NIPS_ , 2020.
|
| 260 |
+
|
| 261 |
+
- Renan Cabrera, Traci Strohecker, and Herschel Rabitz. The canonical coset decomposition of unitary matrices through Householder transformations. _Journal of Mathematical Physics_ , 51(8), 2010.
|
| 262 |
+
|
| 263 |
+
- Marco Cerezo, Akira Sone, Tyler Volkoff, Lukasz Cincio, and Patrick J Coles. Cost function dependent barren plateaus in shallow parametrized quantum circuits. _Nature communications_ , 12 (1):1791, 2021.
|
| 264 |
+
|
| 265 |
+
- Hao-Yuan Chang and Kang L Wang. Deep unitary convolutional neural networks. In _ICANN_ , 2021.
|
| 266 |
+
|
| 267 |
+
- Arnav Chavan, Zhuang Liu, Deepak Gupta, Eric Xing, and Zhiqiang Shen. One-for-all: Generalized LoRA for parameter-efficient fine-tuning. _arXiv preprint arXiv:2306.07967_ , 2023.
|
| 268 |
+
|
| 269 |
+
- Shoufa Chen, Chongjian Ge, Zhan Tong, Jiangliu Wang, Yibing Song, Jue Wang, and Ping Luo. Adaptformer: Adapting vision transformers for scalable visual recognition. _NIPS_ , 2022.
|
| 270 |
+
|
| 271 |
+
- Xiangyu Chen, Jing Liu, Ye Wang, Matthew Brand, Guanghui Wang, Toshiaki Koike-Akino, et al. Superlora: Parameter-efficient unified adaptation of multi-layer attention modules. _arXiv preprint arXiv:2403.11887_ , 2024a.
|
| 272 |
+
|
| 273 |
+
- Zhuo Chen, Rumen Dangovski, Charlotte Loh, Owen M Dugan, Di Luo, and Marin Soljacic. QuanTA: Efficient high-rank fine-tuning of LLMs with quantum-informed tensor adaptation. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2024b.
|
| 274 |
+
|
| 275 |
+
- Pierre-Luc Dallaire-Demers and Nathan Killoran. Quantum generative adversarial networks. _Physical Review A_ , 98(1):012324, 2018.
|
| 276 |
+
|
| 277 |
+
- Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In _Conference on Computer Vision and Pattern Recognition (CVPR)_ , 2009.
|
| 278 |
+
|
| 279 |
+
11
|
| 280 |
+
|
| 281 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. _arXiv preprint arXiv:1810.04805_ , 2018.
|
| 282 |
+
|
| 283 |
+
- Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In _International Conference on Learning Representations (ICLR)_ , 2020.
|
| 284 |
+
|
| 285 |
+
- Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The llama 3 herd of models. _arXiv preprint arXiv:2407.21783_ , 2024.
|
| 286 |
+
|
| 287 |
+
- Ali Edalati, Marzieh Tahaei, Ivan Kobyzev, Vahid Partovi Nia, James J Clark, and Mehdi Rezagholizadeh. Krona: Parameter efficient tuning with Kronecker adapter. In _Efficient Natural Language and Speech Processing Workshop at NeurIPS_ , 2023.
|
| 288 |
+
|
| 289 |
+
- Edward Farhi and Hartmut Neven. Classification with quantum neural networks on near term processors. _arXiv preprint arXiv:1802.06002_ , 2018.
|
| 290 |
+
|
| 291 |
+
- Tianxiang Hao, Hui Chen, Yuchen Guo, and Guiguang Ding. Consolidator: Mergable adapter with group connections for visual adaptation. In _International Conference on Learning Representations (ICLR)_ , 2022.
|
| 292 |
+
|
| 293 |
+
- Soufiane Hayou, Nikhil Ghosh, and Bin Yu. Lora+: Efficient low rank adaptation of large models. In _International Conference on Machine Learning (ICML)_ , 2024.
|
| 294 |
+
|
| 295 |
+
- Junxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick, and Graham Neubig. Towards a unified view of parameter-efficient transfer learning. In _International Conference on Learning Representations (ICLR)_ , 2021a.
|
| 296 |
+
|
| 297 |
+
- Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. In _International Conference on Learning Representations (ICLR)_ , 2021b.
|
| 298 |
+
|
| 299 |
+
- Pengcheng He, Jianfeng Gao, and Weizhu Chen. Debertav3: Improving DeBERTa using electrastyle pre-training with gradient-disentangled embedding sharing. In _International Conference on Learning Representations (ICLR)_ , 2023.
|
| 300 |
+
|
| 301 |
+
- Kyle Helfrich, Devin Willmott, and Qiang Ye. Orthogonal recurrent neural networks with scaled Cayley transform. In _International Conference on Machine Learning (ICML)_ , 2018.
|
| 302 |
+
|
| 303 |
+
- Maxwell Henderson, Samriddhi Shakya, Shashindra Pradhan, and Tristan Cook. Quanvolutional neural networks: powering image recognition with quantum circuits. _Quantum Machine Intelligence_ , 2(1):2, 2020.
|
| 304 |
+
|
| 305 |
+
- Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. In _International Conference on Machine Learning (ICML)_ , 2019.
|
| 306 |
+
|
| 307 |
+
- Edward J Hu, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. LoRA: Low-rank adaptation of large language models. In _International Conference on Learning Representations (ICLR)_ , 2021.
|
| 308 |
+
|
| 309 |
+
- Huaibo Huang, Xiaoqiang Zhou, and Ran He. Orthogonal Transformer: An Efficient Vision Transformer Backbone with Token Orthogonalization. In _Advances in Neural Information Processing Systems_ , 2022.
|
| 310 |
+
|
| 311 |
+
- Nam Hyeon-Woo, Moon Ye-Bin, and Tae-Hyun Oh. Fedpara: Low-rank hadamard product for communication-efficient federated learning. In _International Conference on Learning Representations (ICLR)_ , 2022.
|
| 312 |
+
|
| 313 |
+
- Albert Q Jiang, Alexandre Sablayrolles, Antoine Roux, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Emma Bou Hanna, Florian Bressand, et al. Mixtral of experts. _arXiv preprint arXiv:2401.04088_ , 2024a.
|
| 314 |
+
|
| 315 |
+
12
|
| 316 |
+
|
| 317 |
+
Ting Jiang, Shaohan Huang, Shengyue Luo, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang, Deqing Wang, and Fuzhen Zhuang. Mora: High-rank updating for parameter-efficient fine-tuning, 2024b.
|
| 318 |
+
|
| 319 |
+
- Shibo Jie and Zhi-Hong Deng. Fact: Factor-tuning for lightweight adaptation on vision transformer. In _AAAI Conference on Artificial Intelligence_ , 2023.
|
| 320 |
+
|
| 321 |
+
- Li Jing, Yichen Shen, Tena Dubcek, John Peurifoy, Scott Skirlo, Yann LeCun, Max Tegmark, and Marin Soljaˇci´c. Tunable efficient unitary neural networks (EUNN) and their application to RNNs. In _International Conference on Machine Learning (ICML)_ , 2017.
|
| 322 |
+
|
| 323 |
+
- Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. Compacter: Efficient low-rank hypercomplex adapter layers. _NIPS_ , 2021.
|
| 324 |
+
|
| 325 |
+
- A Yu Kitaev. Quantum computations: algorithms and error correction. _Russian Mathematical Surveys_ , 52(6):1191, 1997.
|
| 326 |
+
|
| 327 |
+
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 328 |
+
|
| 329 |
+
Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In _Conference on Empirical Methods in Natural Language Processing (EMNLP)_ , 2021.
|
| 330 |
+
|
| 331 |
+
- Jun Li, Fuxin Li, and Sinisa Todorovic. Efficient Riemannian Optimization on the Stiefel Manifold via the Cayley Transform. In _The 8th International Conference on Learning Representations_ , 2019.
|
| 332 |
+
|
| 333 |
+
- Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In _Annual Meeting of the Association for Computational Linguistics (ACL)_ , 2021.
|
| 334 |
+
|
| 335 |
+
- Jing Liu, Toshiaki Koike-Akino, Pu Wang, Matthew Brand, Ye Wang, and Kieran Parsons. LoDA: Low-dimensional adaptation of large language models. _NeurIPS’23 Workshop on on Efficient Natural Language and Speech Processing_ , 2023a.
|
| 336 |
+
|
| 337 |
+
- Liyuan Liu, Chengyu Dong, Xiaodong Liu, Bin Yu, and Jianfeng Gao. Bridging discrete and backpropagation: Straight-through and beyond. _Advances in Neural Information Processing Systems_ , 36, 2024.
|
| 338 |
+
|
| 339 |
+
- Weiyang Liu, Zeju Qiu, Yao Feng, Yuliang Xiu, Yuxuan Xue, Longhui Yu, Haiwen Feng, Zhen Liu, Juyeon Heo, Songyou Peng, Yandong Wen, Michael J. Black, Adrian Weller, and Bernhard Schölkopf. Parameter-Efficient Orthogonal Finetuning via Butterfly Factorization. In _The Twelfth International Conference on Learning Representations_ , 2023b.
|
| 340 |
+
|
| 341 |
+
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. _arXiv preprint arXiv:1907.11692_ , 2019.
|
| 342 |
+
|
| 343 |
+
- Seth Lloyd and Christian Weedbrook. Quantum generative adversarial learning. _Physical review letters_ , 121(4):040502, 2018.
|
| 344 |
+
|
| 345 |
+
- Zakaria Mhammedi, Andrew Hellicar, Ashfaqur Rahman, and James Bailey. Efficient orthogonal parametrisation of recurrent neural networks using Householder reflections. In _International Conference on Machine Learning (ICML)_ , 2017.
|
| 346 |
+
|
| 347 |
+
- Jekaterina Novikova, Ondˇrej Dušek, and Verena Rieser. The E2E dataset: New challenges for end-to-end generation. _arXiv preprint arXiv:1706.09254_ , 2017.
|
| 348 |
+
|
| 349 |
+
- Rui Pan, Xiang Liu, Shizhe Diao, Renjie Pi, Jipeng Zhang, Chi Han, and Tong Zhang. Lisa: Layerwise importance sampling for memory-efficient large language model fine-tuning. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2024.
|
| 350 |
+
|
| 351 |
+
- Adrián Pérez-Salinas, Alba Cervera-Lierta, Elies Gil-Fuster, and José I Latorre. Data re-uploading for a universal quantum classifier. _Quantum_ , 4:226, 2020.
|
| 352 |
+
|
| 353 |
+
- Robert NC Pfeifer, Jutho Haegeman, and Frank Verstraete. Faster identification of optimal contraction sequences for tensor networks. _Physical Review E_ , 90(3):033315, 2014.
|
| 354 |
+
|
| 355 |
+
13
|
| 356 |
+
|
| 357 |
+
Jonas Pfeiffer, Aishwarya Kamath, Andreas Rücklé, Kyunghyun Cho, and Iryna Gurevych. Adapterfusion: Non-destructive task composition for transfer learning. In _Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics_ , 2021.
|
| 358 |
+
|
| 359 |
+
- Brigitte Plateau. On the stochastic structure of parallelism and synchronization models for distributed algorithms. In _Proceedings of the 1985 ACM SIGMETRICS conference on Measurement and modeling of computer systems_ , pages 147–154, 1985.
|
| 360 |
+
|
| 361 |
+
- Zeju Qiu, Weiyang Liu, Haiwen Feng, Yuxuan Xue, Yao Feng, Zhen Liu, Dan Zhang, Adrian Weller, and Bernhard Schölkopf. Controlling text-to-image diffusion by orthogonal finetuning. _NIPS_ , 2023.
|
| 362 |
+
|
| 363 |
+
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. _OpenAI blog_ , 1(8):9, 2019.
|
| 364 |
+
|
| 365 |
+
- Patrick Rebentrost, Masoud Mohseni, and Seth Lloyd. Quantum support vector machine for big data classification. _Physical review letters_ , 113(13):130503, 2014.
|
| 366 |
+
|
| 367 |
+
- Jonathan Romero, Jonathan P Olson, and Alan Aspuru-Guzik. Quantum autoencoders for efficient compression of quantum data. _Quantum Science and Technology_ , 2(4):045001, 2017.
|
| 368 |
+
|
| 369 |
+
- Steffen Schotthöfer, Emanuele Zangrando, Jonas Kusch, Gianluca Ceruti, and Francesco Tudisco. Low-rank lottery tickets: finding efficient low-rank neural networks via matrix differential equations. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2022.
|
| 370 |
+
|
| 371 |
+
- Steffen Schotthöfer and M. Paul Laiu. Federated dynamical low-rank training with global loss convergence guarantees. In _International Workshop on Federated Foundation Models in Conjunction with NeurIPS 2024_ , 2024.
|
| 372 |
+
|
| 373 |
+
Maria Schuld, Ilya Sinayskiy, and Francesco Petruccione. An introduction to quantum machine learning. _Contemporary Physics_ , 56(2):172–185, 2015.
|
| 374 |
+
|
| 375 |
+
Maria Schuld, Ville Bergholm, Christian Gogolin, Josh Izaac, and Nathan Killoran. Evaluating analytic gradients on quantum hardware. _Physical Review A_ , 99(3):032331, 2019.
|
| 376 |
+
|
| 377 |
+
- Vivek V Shende, Stephen S Bullock, and Igor L Markov. Synthesis of quantum logic circuits. In _Proceedings of the 2005 Asia and South Pacific Design Automation Conference_ , pages 272–275, 2005.
|
| 378 |
+
|
| 379 |
+
- Sukin Sim, Peter D Johnson, and Alán Aspuru-Guzik. Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms. _Advanced Quantum Technologies_ , 2(12):1900070, 2019.
|
| 380 |
+
|
| 381 |
+
- Johan A. K. Suykens. Generating quantum-measurement probabilities from an optimality principle. _Phys. Rev. A_ , 87:052134, 2013.
|
| 382 |
+
|
| 383 |
+
- Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In _ICLR_ , 2019.
|
| 384 |
+
|
| 385 |
+
- Scott Wisdom, Thomas Powers, John Hershey, Jonathan Le Roux, and Les Atlas. Full-capacity unitary recurrent neural networks. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2016.
|
| 386 |
+
|
| 387 |
+
- Zhengxuan Wu, Aryaman Arora, Zheng Wang, Atticus Geiger, Dan Jurafsky, Christopher D Manning, and Christopher Potts. ReFT: Representation finetuning for language models. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2024.
|
| 388 |
+
|
| 389 |
+
- Shin-Ying Yeh, Yu-Guan Hsieh, Zhidong Gao, Bernard B W Yang, Giyeong Oh, and Yanmin Gong. Navigating text-to-image customization: From lyCORIS fine-tuning to model evaluation. In _International Conference on Learning Representations (ICLR)_ , 2024.
|
| 390 |
+
|
| 391 |
+
- Xuchen You, Shouvanik Chakrabarti, Boyang Chen, and Xiaodi Wu. Analyzing convergence in quantum neural networks: Deviations from neural tangent kernels. In _International Conference on Machine Learning (ICML)_ , 2023.
|
| 392 |
+
|
| 393 |
+
14
|
| 394 |
+
|
| 395 |
+
- Elad Ben Zaken, Yoav Goldberg, and Shauli Ravfogel. Bitfit: Simple parameter-efficient finetuning for transformer-based masked language-models. In _Annual Meeting of the Association for Computational Linguistics (ACL)_ , 2022.
|
| 396 |
+
|
| 397 |
+
- Emanuele Zangrando, Steffen Schotthöfer, Gianluca Ceruti, Jonas Kusch, and Francesco Tudisco. Geometry-aware training of factorized layers in tensor tucker format. In _Advances in Neural Information Processing Systems (NeurIPS)_ , 2024.
|
| 398 |
+
|
| 399 |
+
- Fangzhao Zhang and Mert Pilanci. Riemannian preconditioned lora for fine-tuning foundation models. In _International Conference on Machine Learning (ICML)_ , 2024.
|
| 400 |
+
|
| 401 |
+
- Qingru Zhang, Minshuo Chen, Alexander Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. Adaptive budget allocation for parameter-efficient fine-tuning. In _International Conference on Learning Representations (ICLR)_ , 2023.
|
| 402 |
+
|
| 403 |
+
- Jin Zheng, Qing Gao, and Yanxuan Lü. Quantum graph convolutional neural networks. In _2021 40th Chinese Control Conference (CCC)_ , pages 6335–6340. IEEE, 2021.
|
| 404 |
+
|
| 405 |
+
- Jiacheng Zhu, Kristjan Greenewald, Kimia Nadjahi, Haitz Sáez de Ocáriz Borde, Rickard Brüel Gabrielsson, Leshem Choshen, Marzyeh Ghassemi, Mikhail Yurochkin, and Justin Solomon. Asymmetry in low-rank adapters of foundation models. In _International Conference on Machine Learning (ICML)_ , 2024.
|
| 406 |
+
|
| 407 |
+
- Bojia Zi, Xianbiao Qi, Lingzhi Wang, Jianan Wang, Kam-Fai Wong, and Lei Zhang. DeltaLoRa: Fine-tuning high-rank parameters with the delta of low-rank matrices. _arXiv preprint arXiv:2309.02411_ , 2023.
|
| 408 |
+
|
| 409 |
+
15
|
| 410 |
+
|
| 411 |
+
## A FURTHER DETAILS AND DISCUSSIONS ON QUANTUM-PEFT
|
| 412 |
+
|
| 413 |
+
To further elaborate on Quantum-PEFT, we provide the tensor network diagrams in Figure 5 exemplifying its mechanism w.r.t. other LoRA-based methods.
|
| 414 |
+
|
| 415 |
+
**==> picture [396 x 200] intentionally omitted <==**
|
| 416 |
+
|
| 417 |
+
**----- Start of picture text -----**<br>
|
| 418 |
+
N K N LoRA (TTD) N/N’ N’ N/N’ N’<br>2 NK KronA K LoKr<br>N K K N N [2] /N’ [2 ] +N’ [2] 2 N’K+N [2] /N’ [2]<br>LoDA N/N’ N [’] N/N’ N’<br>2 NK+ a<br>N K K N<br>AdaLoRA (CP) K K<br>N K K N 2 NK+K … SuperLoRA (TD) N [2/] [D] KD+K [D]<br>Quantum-PEFT (SVD)<br>2 NK-K [2] N [2/] [D] N [2/] [D] N [2/] [D]<br>K … K K K<br>LoTR (TTD)<br>N [2/] [D] N [2/] [D] N [2/] [D] N [2/] [D] K (2+( D -2) K ) … Quantum-PEFT (TD) N [2/] [D] KD+K [D] -DK ( K +1)/2<br>K … N [2/] [D] N [2/] [D]<br>Quantum-PEFT (TTD) L<br>N [2/] [D] N [2/] [D] N [2/] [D] N [2/] [D] K (2+( D -2) K )- K ( D ( K +1)/2-1)<br>N N<br>…<br>K Quantum-PEFT (TRD)<br>DN [2/D] K [2] -K ( DK +1)/2 Quantum-PEFT (STD)<br>N [2/] [D] N [2/] [D] N [2/] [D] (2 L +1)log( N )<br>…<br>**----- End of picture text -----**<br>
|
| 419 |
+
|
| 420 |
+
Figure 5: Tensor diagrams of Quantum-PEFT and LoRA variants in tensor network perspectives for a matrix size of _N_ and rank _K_ . The number of parameters are also present. Circle denotes dense multi-linear tensor node. Slashed open circles denote diagonal node. Half-closed circles denote unitary node. Delay symbols denote nonlinear nodes.
|
| 421 |
+
|
| 422 |
+
## A.1 COMPARISONS OF DIVERSE UNITARY MAPPINGS
|
| 423 |
+
|
| 424 |
+
**Unitary mappings** Various methods to generate unitary matrices from skew-symmetric matrices are possible. In Section 4.1, we focused on exponential and Taylor mappings. Given a skew-symmetric matrix _A_ = _B − B[⊤] ∈_ R _[N][′][×][N][′]_ , we can generate a corresponding unitary (orthogonal) matrix, e.g., with exponential mapping, Cayley transform, Householder reflection, Givens rotation and those variants, respectively, as follows:
|
| 425 |
+
|
| 426 |
+
**==> picture [367 x 66] intentionally omitted <==**
|
| 427 |
+
|
| 428 |
+
where N[ _·_ ] is a normalization operator for canonical coset decomposition (CCD) (Cabrera et al., 2010), and _Gn_ ( _θ_ ) denotes the Givens matrix which is identity except that the _n_ and ( _n_ + 1)-th diagonal block is replaced with RY rotation. The mappings of _Q_ T and _Q_ N are respectively approximated versions of _Q_ E and _Q_ C to avoid matrix exponentiation and inversion via Taylor series and Neumann series approximations up to a polynomial order _P_ . Note that _Q_ P, _Q_ E and _Q_ G are identical to RY at _N[′]_ = 2.
|
| 429 |
+
|
| 430 |
+
**Comparison of unitary mappings** Fig. 6 shows the comparison of different unitary mapping methods over different matrix size _N_ for a rank of _K_ = 4. We examined the unitarity test and speed bench on RTX6000 GPU for forward and backward processing. The unitarity error measures an averaged _ℓ∞_ norm of _∥QQ[⊤] − I∥∞_ over a batch size of 32 and 10 random seeds. The exponential mapping uses torch.linalg.matrix_exp, and matrix inversion for Cayley transform uses torch.linalg.solve. We assume _P_ = 18 polynomial order for Taylor and Neumann series. It was found that Neumann series and exponential mapping become inaccurate as the matrix size is
|
| 431 |
+
|
| 432 |
+
16
|
| 433 |
+
|
| 434 |
+
**==> picture [376 x 128] intentionally omitted <==**
|
| 435 |
+
|
| 436 |
+
**----- Start of picture text -----**<br>
|
| 437 |
+
10 [-3] 10 [2]<br>Exponential Exponential<br>Cayley Cayley<br>Householder Householder<br>10 [-4] Givens 10 [1] Givens<br>Taylor Taylor<br>Neumann Neumann<br>Pauli Pauli<br>10 [-5] 10 [0] Rademacher<br>10 [-6] 10 [-1]<br>10 [-7] 10 [-2]<br>10 [-8] 10 [-3]<br> 1 10 100 1000 1 10 100 1000<br>Matrix Size Matrix Size<br>Unitarity Error<br>Processing Time (us)<br>**----- End of picture text -----**<br>
|
| 438 |
+
|
| 439 |
+
Figure 6: Unitarity error analysis and speed bench including forward and backward passes for different unitary mapping methods as a function of matrix size of _N_ for a rank of _K_ = 4 on an NVIDIA RTX6000 GPU 24GB.
|
| 440 |
+
|
| 441 |
+
increased. While Pauli parameterization has relatively higher error than the rest of methods, it can be much faster in large matrix size. Householder reflections and Givens rotations had slower behaviors due to sequential nature. Although Rademacher diagonal matrix of _{±_ 1 _}[K]_ has a low complexity and perfect unitarity (here, we used ReinMax trick), it alone does not cover the Stiefel manifold _VK_ ( _N_ ). Overall, Taylor series method showed a good trade-off between accuracy and speed. Note that most large foundation models use thousands for a matrix size of _N_ per weight. Therefore, the accuracy and speed at large matrix size regimes are important. With these trade-offs in mind, in the experiments we evaluate the Taylor _Q_ T and Pauli _Q_ P parametrizations, where Pauli gives logarithmic number of trainable parameters in the ambient dimension and Taylor shows satisfactory speed for larger models.
|
| 442 |
+
|
| 443 |
+
## A.2 QUANTUM-INSPIRED PEFT MODULES
|
| 444 |
+
|
| 445 |
+
**Generalized measurements** As well as generalized-RY gates and CZ gates, we introduce generalized measurement module. Although quantum operation is linear, quantum measurement can be nonlinear in general. Hence, motivated from the quantum measurement to solve the linearity constraint, we can impose nonlinearity using activation functions. Using log-softmax after squaring corresponds to measuring quantum state probability. For our case, such nonlinear activations can be imposed at any mid-circuit operations. In Fig. 5, we introduce a new tensor diagram with delay symbols representing the nonlinear node. Nonlinear mapping can be also trainable when using _·_ another multi-layer perceptron (MLP) as used in LoDA. Letting _f_ ( ) be such a nonlinear function, tensor contraction can be done via _nonlinear_ Einstein sum: _f_[out] ([�] _f_[in] ([�] _Q_[[] _i,j[k]_[]][))][ for parent tensor] nodes _{Q_[[] _[k]_[]] _}_ , where _f_[out] and _f_[in] denote outer nonlinearity and inner nonlinearity, respectively. Note that the nonlinear nodes can only pass the data after tensor contraction from all ancestor nodes.
|
| 446 |
+
|
| 447 |
+
## A.3 TENSOR NETWORK IMPLICATION
|
| 448 |
+
|
| 449 |
+
Fig. 5 shows tensor diagrams for various LoRA variants. Our Quantum-PEFT framework can unify them with reduced number of parameters by exploiting trainable orthogonal nodes, trainable diagonal nodes, and trainable nonlinear nodes. As mentioned, LoRA uses 2-mode tensor train decomposition (TTD) which is also known as matrix product state (MPS) tensor network. However, LoRA is parameter redundant as any tensor network via TTD can be reformulated into its canonical form having multiple unitary nodes and only one diagonal node, resulting into fewer parameters. LoDA introduced the nonlinear node in tensor network. AdaLoRA is based on CP decomposition, which has parameter redundant. LoTR extends LoRA towards higher-mode TTD. SuperLoRA uses another tensor network based on higher-oder Tucker decomposition (TD), while nonlinear mapping is optionally introduced. In fact, TTD and TD can be normalized except one node (i.e., the canonical form), and hence our Quantum-PEFT based on the Lie algebra can eliminate the redundant parameters to improve the efficiency for LoRA, LoTR and SuperLoRA. Similarly, our framework provides parameter-efficient unitary nodes in most other tensor networks including tensor ring decomposition (TRD), hierarchical Tucker decompostion (HTD) a.k.a. tree tensor network
|
| 450 |
+
|
| 451 |
+
17
|
| 452 |
+
|
| 453 |
+
**==> picture [396 x 121] intentionally omitted <==**
|
| 454 |
+
|
| 455 |
+
**----- Start of picture text -----**<br>
|
| 456 |
+
SU( N )<br>VK ( N ) VK ( N ) N [1/3] L Truncate<br>N K K N<br>N N à K<br>SU( N [1/3] )<br>Parameters: Parameters:<br>NK - K ( K -1)/2 (3+2 L ) N [1/3] ( N [1/3] -1)/2<br>Quantum-PEFT STD Renormalization for N ’= N [1/3]<br>**----- End of picture text -----**<br>
|
| 457 |
+
|
| 458 |
+
Figure 7: STD renormalization step example when _N[′]_ = _N_[1] _[/]_[3] . The total number of parameters is reduced from 729 to 180 for a unitary node when _K_ = 1 _, N_ = 3[6] _, N[′]_ = 3[2] _, L_ = 1.
|
| 459 |
+
|
| 460 |
+
Table 9: Accuracy on the ViT CIFAR10 transfer learning task with varying entanglement layers _L_ .
|
| 461 |
+
|
| 462 |
+
|_L_|1<br>2<br>3<br>4<br>8<br>16<br>32|
|
| 463 |
+
|---|---|
|
| 464 |
+
|Accuracy<br>96.09%<br>96.54%<br>96.71%<br>96.71%<br>96.71%<br>96.71%<br>96.71%||
|
| 465 |
+
|
| 466 |
+
(TTN), multi-scale entanglement renormalization ansatz (MERA), and projected entangled pair states (PEPS). As descussed, Pauli parameterization based on STD ansatz can further reduce the number of parameters for those tensor networks into a logarithmic scale. Note that STD parameterization can be regarded as a renormalization step of each orthogonal node in tensor networks. Fig. 7 shows an example of the STD renormalization step when _N_ is 3-folded into _N[′]_ = _N_[1] _[/]_[3] . The total number of parameters to represent the unitary node for _VK_ ( _N_ ) can be reduced in a logarithmic order of log _N ′_ ( _N_ ). When _K_ = 1 _, N_ = 3[9] _, N[′]_ = 3[2] _, L_ = 1, it becomes 180 from 729. Reducing the size of _N[′]_ can further improve the parameter efficiency.
|
| 467 |
+
|
| 468 |
+
Table 10 shows an example result for ViT CIFAR10 transfer learning task, using Taylor parameterization (with _K_ = _K[′]_ = 4 and _P_ = 18) for different tensor networks, including CP, TRD, HTD (TTN), TD, and TTD (MPS). We find that all tensor networks offer competitive performance to LoRA.
|
| 469 |
+
|
| 470 |
+
## A.4 FURTHER ANALYSIS OF ENTANGLEMENT LAYERS
|
| 471 |
+
|
| 472 |
+
The relationship between circuit depth and entanglement capacity has been explored in quantum information theory, providing insights into the expressive power of quantum circuits. For instance, Sim et al. (2019) analyzed the entangling capabilities of various quantum circuits, establishing a connection between the number of layers _L_ and entanglement. It was shown that generally deeper circuits exhibit an increased entanglement capacity, which can contribute to richer representations in the context of quantum machine learning. In our proposed Quantum-PEFT framework, the number of alternating entanglement layers _L_ in the Pauli parametrization _Q_ P (Equation (2)) governs the circuit depth. Deeper circuits, while potentially more expressive, they also introduce additional trainable parameters and computational overhead. Our empirical findings suggest that circuits with _L_ = 1 provides a good balance between performance and efficiency for PEFT tasks. Increasing _L_ can lead to moderate performance improvements, but the gains tend to diminish with larger values of _L_ , indicating a saturation effect. To further investigate the impact of _L_ , we conducted a sensitivity analysis on the ViT CIFAR10 transfer learning task described in Section 5.4 We evaluated the performance of Quantum-PEFT across various values of _L_ , while keeping other hyperparameters fixed and with the base ViT model quantized to 2 bits. The results, summarized in Table 9, demonstrate the saturation behavior, as no further gain is attained beyond _L_ = 3. Overall, the optimal value of _L_ is taskdependent, depending on the complexity of the target task, where the trade-off between performance gains and increased computational complexity needs to be carefully considered.
|
| 473 |
+
|
| 474 |
+
18
|
| 475 |
+
|
| 476 |
+
Table 10: Different tensor network results with Taylor parameterization for ViT transfer learning from ImageNet-21k to CIFAR10. Base ViT is not quantized.
|
| 477 |
+
|
| 478 |
+
|Method|CP<br>TRD<br>HTD (TTN)<br>TD<br>TTD (MPS)|
|
| 479 |
+
|---|---|
|
| 480 |
+
|# Parameters<br>0.074M<br>0.147M<br>0.026M<br>0.074M<br>0.111M<br>Accuracy<br>98.53%<br>98.14%<br>98.11%<br>98.05%<br>98.81%||
|
| 481 |
+
|
| 482 |
+
**==> picture [397 x 104] intentionally omitted <==**
|
| 483 |
+
|
| 484 |
+
**----- Start of picture text -----**<br>
|
| 485 |
+
Bit Loading Allocation Bits<br>K Q [[1]] Q [[2]] L Q [[3]] 1, 0 bit K 3, 2 16bits 8, 4 bits 3 5 4 0 5 1 4 3 5<br>N [2/3] K<br>N [2/3] N [2/3] N [2/3]<br>Quantum-PEFT (TRD)<br>3 N [2/3] K [2] -K (3 K +1)/2 Q [[1]] Q [[2]] L Q [[3]] Group<br>(a) TRD Tensor Network (b) Mixed-Precision Bit Loading (c) Adaptive Allocation/Pruning<br>D<br>Range<br>**----- End of picture text -----**<br>
|
| 486 |
+
|
| 487 |
+
Figure 8: Mixed-precision Quantum-PEFT in 3-dimensional TRD tensor network. Each tensor node and tensor parameter can have non-uniform bit assignments. Adaptive bit loading depends on group range _∆_ . Assignment of 0 bit corresponds to adaptive structural pruning.
|
| 488 |
+
|
| 489 |
+
## A.5 BROADER IMPACTS AND FUTURE WORK
|
| 490 |
+
|
| 491 |
+
It is interesting to investigate how we can further reduce the memory for trainable parameters by employing quantization or pruning.
|
| 492 |
+
|
| 493 |
+
**Mixed-precision tensor network** One could consider a mixed-precision tensor network, where each tensor node and its parameter group can have different precisions. Fig. 8(a) shows an example of Quantum-PEFT in 3-dimensional TRD tensor network. The TRD is formulated by 3 unitary nodes _{Q_[[] _[k]_[]] _}_ and 1 diagonal node _Λ_ . Specifically the ( _i, j, k_ )-th element is given by nonlinear Einstein sum: _Wi,j,k_ = _f_[out] ([�] _l,m,n[f]_[ in][(] _[Q]_[[1]] _l,i,m[Q] m,j,n_[[2]] _[Λ][n,n][Q]_[[3]] _n,k,l_[))][.][As shown in Fig. 8(b), each node has] trainable parameters _θ_ , and we can adaptively assign more bits or fewer bits depending on the group range _∆i_ = _θi,_ max _− θi,_ min for the _i_ -th group. For example, the bit loading may use the following strategy: _qi_ = round( _q_ log2( _∆[κ] i[/] ∆_[¯] )) with an average range _∆_[¯] = E[ _∆[κ] i_[]][ where] _[ q][i]_[ bits are assigned] for the _i_ -th group with an exponent _κ >_ = 0. When _κ_ = 0, it reduces to uniform bit loading: i.e., _qi_ = _q_ for all group _i_ . More sophisticated but time-consuming strategy is to consider the quantization error of the weight matrix min _|W_ q _− W |_ , which requires combinatorial optimization. When the bit allocation is zero (i.e., _∆i_ is close to zero) as shown in Fig. 8(c), it corresponds to structural pruning except that the masked group can still hold non-zero values _µ_ . Further fine-grained pruning is also possible by nulling out _θ_ if the value magnitude is smaller than a threshold. Therefore, it can accomplish an adaptive rank mechanism similar to AdaLoRA.
|
| 494 |
+
|
| 495 |
+
**Pretrained model compression** In fact, Quantum-PEFT framework can also be applicable to compress the pretrained model before adaptation. Tensor rank decomposition, quantization and pruning can be applied to pretrained model before transfer learning tasks, similar to Q-LoRA, R- LoDA, and S-LoDA. For ViT transfer learning task, we evaluated 3-bit quantization of pre-trained models.
|
| 496 |
+
|
| 497 |
+
## A.6 FURTHER COMPARISONS WITH RELATED WORK
|
| 498 |
+
|
| 499 |
+
We provide the following remarks elaborating on the difference between the proposed Quantum-PEFT method with recent related works on PEFT. Several recent works explore alternative approaches to parameter-efficient fine-tuning. Quantum-PEFT is a new technique for low-rank based PEFT. Some recent works explore alternative approaches to LoRA-based fine-tuning. For example, Pan
|
| 500 |
+
|
| 501 |
+
19
|
| 502 |
+
|
| 503 |
+
et al. (2024) fine-tune some important sampled layers while freezing the rest for some certain iterations, an orthogonal approach to LoRA. Their results show that Pan et al. (2024) share similar memory requirements as LoRA; in contrast, Quantum-PEFT achieves significantly higher parameter efficiency than LoRA. Other works adapt the intermediate embeddings learned by the models, which differs from LoRA-based methods that adapt the weights directly. In this sense, Wu et al. (2024) intervene on a low-rank subspace of the intermediate model embeddings rather than model weights. One disadvantage of this method is that it creates multiple additional hyperparameters, i.e., prefix and suffix positions to intervene on and which layers to intervene on, creating a combinatorial growth of hyperparameters. Therefore, their claimed higher efficiency comes at the cost of higher computational burden of hyperparameter tuning for each task. On the other hand, Quantum-PEFT mainly considers two hyperparameters, i.e., the intrinsic rank _K[′]_ and the number of entanglement layers _L_ . Quantum-PEFT considers highly-efficient unitary quantum paramatrization, which is effectively full-rank. Recent work (Jiang et al., 2024b) has investigated high-rank fine-tuning. It employs a learnable square matrix _M ∈_ R _K_[ˆ] _×K_[ˆ] for full-rank fine-tuning and compatibility mappings to ensure that the dimensions match with the weight _W ∈_ R _[N][×][M]_ . They set _K_[ˆ] = _⌊_ �( _N_ + _M_ ) _K⌋_ to achieve the highest rank with square matrix at the same total number of trainable parameters of LoRA with rank _K_ . (Jiang et al., 2024b) is therefore not able to have a lower-than-LoRA scaling, which is instead achieved by Quantum-PEFT. (Chen et al., 2024b) is a tensor-networkinspired parameterization without consideration of unitary gain, where their parameterization leads to parameter redundancy. Our Pauli parameterization under Lie algebra can strictly maintain unitary constraint without parameter redundancy. In fact, (Chen et al., 2024b) is based on tensor folding, requiring in principle that the matrix size is factorizable as _d_ = _d_ 1 _× d_ 2 _× · · · × dN_ . Therefore, it is not readily compatible for arbitrary size. For example, if the matrix size is _d_ = 257, it is difficult to fold into multiple axis. We clearly provided the way to solve this issue by quantum Shannon decomposition, which enables to decompose into sum of powers-of-two: i.e., _N_ 1 = 256 and _N_ 2 = 1. Furthermore, Quantum-PEFT provides more general applicability and insight to any arbitrary tensor network to reduce the parameter number as shown in Figures 5 and 7, and provides more flexibility with adjustable entangling layer size _L_ , which is not explored in (Chen et al., 2024b).
|
| 504 |
+
|
| 505 |
+
## A.7 LIST OF SYMBOLS
|
| 506 |
+
|
| 507 |
+
For ease of reference, we provide a table of notations used in this work in Table 11.
|
| 508 |
+
|
| 509 |
+
## B DETAILED EXPERIMENTAL SETUPS
|
| 510 |
+
|
| 511 |
+
## B.1 GLUE BENCHMARK
|
| 512 |
+
|
| 513 |
+
Below, we provide a summary of the tasks in the GLUE benchmark that are used in this work.
|
| 514 |
+
|
| 515 |
+
- SST-2: stands for The Stanford Sentiment Treebank, a dataset on sentiment analysis tasks with two labels. The size of the training set is 67k, and the size of the test set is 1.8k.
|
| 516 |
+
|
| 517 |
+
- CoLA, represents The Corpus of Linguistic Acceptability, a dataset on sentence classification with two labels. It consists of 8.5k training data and 1k test data.
|
| 518 |
+
|
| 519 |
+
- RTE: stands for The Recognizing Textual Entailment, including 2.5k training data points and 3k test data points.
|
| 520 |
+
|
| 521 |
+
- MRPC: represents The Microsoft Research Paraphrase Corpus, a dataset on pairwise text classification with 3.7k training points and 1.7k test points.
|
| 522 |
+
|
| 523 |
+
- STS-B: represents The Semantic Textual Similarity Benchmark, a task on measuring text similarity with 7k training points and 1.4k test points.
|
| 524 |
+
|
| 525 |
+
We select the same number of epochs for Quantum-PEFT as in AdaLoRA. We perform a hyperparameters sweep for the learning rate over _{_ 0 _._ 01 _,_ 0 _._ 03 _,_ 0 _._ 06 _,_ 0 _._ 001 _,_ 0003 _,_ 0 _._ 006 _}_ . We select the best learning rate and the best checkpoints over each epoch. We present the hyperparameters for Quantum-PEFT in Table 12.
|
| 526 |
+
|
| 527 |
+
20
|
| 528 |
+
|
| 529 |
+
Table 11: List of symbols.
|
| 530 |
+
|
| 531 |
+
|Notation|Description|
|
| 532 |
+
|---|---|
|
| 533 |
+
|SU(_N_)|Special unitary group of size_N_|
|
| 534 |
+
|su(_N_)|Lie algebra ofSU(_N_)|
|
| 535 |
+
|SO(_N_)|Special orthogonal group of size_N_|
|
| 536 |
+
|O(_N_)|Orthogonal group of size_N_|
|
| 537 |
+
|_VK_(_N_)|Stiefel manifold of_K_ orthonormal frames inR_N_|
|
| 538 |
+
|_IN_|Identity matrix of size_N_|
|
| 539 |
+
|R|Field of real numbers|
|
| 540 |
+
|_⊗_|Kronecker product|
|
| 541 |
+
|[_·_]_⊤_|Transpose|
|
| 542 |
+
|_ȷ_|Imaginary number|
|
| 543 |
+
|_Am_:_n,_:|Submatrix of_A_with rows_m_to_n_|
|
| 544 |
+
|_A_:_,k_|_k_-th column of matrix_A_|
|
| 545 |
+
|diag[_·_]|Creates a diagonal matrix|
|
| 546 |
+
|_L_|Number of alternating entanglement layers|
|
| 547 |
+
|_q_|Number of qubits|
|
| 548 |
+
|_N ′_|Orthogonal node size|
|
| 549 |
+
|_K′_|Intrinsic rank|
|
| 550 |
+
|_P_|Taylor expansion order|
|
| 551 |
+
|_Q_P|Pauli-parameterizated unitary matrix|
|
| 552 |
+
|_Q′_<br>E|Unitary matrix from exponential mapping|
|
| 553 |
+
|_Q′_<br>T|Unitary matrix from Taylor series expansion|
|
| 554 |
+
|RY(_θ_)|Quantum RY rotation gate with angle_θ_|
|
| 555 |
+
|CZ|Quantum controlled-Z gate|
|
| 556 |
+
|_W_|Pre-trained weight matrix|
|
| 557 |
+
|_∆W_|Weight update matrix|
|
| 558 |
+
|_U_|Left singular vector matrix|
|
| 559 |
+
|_V_|Right singular vector matrix|
|
| 560 |
+
|_Λ_|Diagonal matrix of singular values|
|
| 561 |
+
|_B_,_BK_|Lower triangular matrix and its parameter matrix|
|
| 562 |
+
|_C_,_S_|Cosine and sine diagonal matrices from CSD|
|
| 563 |
+
|_n_|Number of bits for quantization|
|
| 564 |
+
|_g_|Quantization group size|
|
| 565 |
+
|_β_,_µ_|Quantization scale and zero-point|
|
| 566 |
+
|_θ_|Trainable parameter|
|
| 567 |
+
|_θq_|Quantized trainable parameter|
|
| 568 |
+
|
| 569 |
+
Table 12: Hyperparameter configurations for Quantum-PEFT on the GLUE benchmark.
|
| 570 |
+
|
| 571 |
+
|Hyperparameter|SST-2|CoLA|RTE|MRPC|STS-B|
|
| 572 |
+
|---|---|---|---|---|---|
|
| 573 |
+
|# GPUs|1|1|1|1|1|
|
| 574 |
+
|Optimizer|AdamW|AdamW|AdamW|AdamW|AdamW|
|
| 575 |
+
|Learning Rate Schedule|Linear|Linear|Linear|Linear|Linear|
|
| 576 |
+
|Weight Decay|0.01|0.01|0.01|0.01|0.01|
|
| 577 |
+
|Batch Size|256|128|128|128|128|
|
| 578 |
+
|Epochs|24|25|50|30|25|
|
| 579 |
+
|Warmup ratio|0.1|0.1|0.1|0.1|0.1|
|
| 580 |
+
|Max sequence length|128|64|320|320|128|
|
| 581 |
+
|Rank_K_|3|3|3|3|3|
|
| 582 |
+
|_α_|32|32|32|32|32|
|
| 583 |
+
|Learning Rate|0.006|0.01|0.06|0.01|0.03|
|
| 584 |
+
|Unitary Parametrization|_Q_P(_L_= 1)|_Q_P(_L_= 1)|_Q_P(_L_= 1)|_Q_P(_L_= 1)|_Q_P(_L_= 1)|
|
| 585 |
+
|
| 586 |
+
## B.2 E2E BENCHMARK
|
| 587 |
+
|
| 588 |
+
Table 14 lists hyperparameters for the experiment on transfer learning task of E2E benchmark.
|
| 589 |
+
|
| 590 |
+
21
|
| 591 |
+
|
| 592 |
+
Table 14: E2E benchmark for GPT2 Medium.
|
| 593 |
+
|
| 594 |
+
Table 13: CIFAR-10 transfer learning for ViT.
|
| 595 |
+
|
| 596 |
+
|Table 13: CIFAR-10 transfer learning for ViT.||
|
| 597 |
+
|---|---|
|
| 598 |
+
|Hyperparameter<br>LoRA<br>Quantum-PEFT<br># GPUs<br>1<br>1<br>Optimizer<br>AdamW<br>AdamW<br>Learning Rate<br>Schedule<br>Constant<br>Constant<br>Weight Decay<br>0.01<br>0.01<br>Batch Size<br>32<br>32<br>Epochs<br>100<br>100<br>Patience<br>5<br>5<br>Rank_K_<br>1,2,4<br>1, 4<br>Learning Rate<br>0.001<br>0.003<br>Unitary<br>Parametrization<br>—<br>_Q_P (_L_ = 1),<br>_Q_T (_P_ = 18)|Hyperparameter<br>LoRA<br>Quantum-PEFT|
|
| 599 |
+
||# GPUs<br>4<br>4<br>Optimizer<br>AdamW<br>AdamW<br>Learning Rate<br>Schedule<br>Linear<br>Linear<br>Weight Decay<br>0.01<br>0.01<br>Batch Size<br>8<br>8<br>Epochs<br>5<br>5<br>Warmup Steps<br>500<br>500<br>Label Smooth<br>0.1<br>0.1<br>Rank_K_<br>4<br>2 (_K′_ = 1)<br>_α_<br>32<br>32<br>Learning Rate<br>0.0002<br>0.002<br>Unitary<br>Parametrization<br>—<br>_Q_T(_P_ = 3)|
|
| 600 |
+
|
| 601 |
+
## B.3 VIT CIFAR10 TASK
|
| 602 |
+
|
| 603 |
+
Table 13 lists hyperparameters for the experiment on transfer learning task of ViT. The base ViT model (google/vit-base-patch16-224)[1] pretrained on ImageNet-21k has 12 layers of multi-head attention modules, each of which has 12 heads, 768 features, and a token length of 769. CIFAR10 is an image classification dataset having 10 classes of 32 _×_ 32 colored images with 50k training samples and 10k test samples. We use up-sampling to 224 _×_ 224 resolutions with random resized cropping and horizontal flip. The original classifier head has 1000 class output, and we selected 10 outputs based on the prediction score of CIFAR10 training data in prior to PEFT process. All weights and biases of the base ViT model including the classifier head are frozen after being quantized with 3-bit integers via rounding as described in Appendix A.5. Therefore, the base model is compressed from floating-point 32 bits to integer 3 bits (with auxiliary scale and zero values _β_ and _µ_ for _g_ = 128 group), i.e., from 330MiB to 34MiB storage. It was confirmed that less than 3-bit quantization for the base ViT model compression had poor performance: 56 _._ 0% accuracy with 1 bit and 97 _._ 4% with 2 bits. The required run-time on GPU A40 40GB was about 3 _._ 37 second per iteration, and 5284 _._ 16 second per epoch.
|
| 604 |
+
|
| 605 |
+
> 1[URL removed]
|
| 606 |
+
|
| 607 |
+
22
|
| 608 |
+
|
open_review/iclr2025_13848.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13848",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Geometric and Physical Constraints Synergistically Improve Neural PDE Integration",
|
| 6 |
+
"abstract": "Neural PDE surrogates can improve on cost-accuracy tradeoffs of classical solvers, but often generalize poorly to new initial conditions, accumulate errors over time. To close the performance gap between training and long-term inference, we constrain neural surrogates with symmetry equivariance and physical conservation laws as hard constraints, using novel input and output layers that support scalar and vector fields on the staggered grids commonly used in computational fluid dynamics. We systematically investigate how these constraints affect accuracy, individually and in combination, on two challenging tasks: shallow water equations with closed boundaries and decaying incompressible turbulence. Compared to a strong baseline, both types of constraints improve performance consistently across autoregressive prediction steps, accuracy measures, and network sizes. Symmetries are more effective but do not make physical constraints redundant. Doubly-constrained surrogates were more accurate for the same network and dataset sizes, and generalized better to initial conditions and durations beyond the range of training data.",
|
| 7 |
+
"rebuttal": "The comparison between the original U-net and a modern U-net optimized on PDE tasks can be found in [Gupta & Brandstaetter, 2022](https://arxiv.org/abs/2209.15616). The tables in the supplementary material given the fullest comparison on SWE and Navier Stokes tasks (not the same as our tasks, as these versions did not use mass- or momentum-conserving solvers and used differents BCs). Code implementations for U-net variants accompany this paper, and an independent implementation for modern U-net with some minor variations (e.g. ConvNext blocks) can be found in [Kohl et al., 2023](https://arxiv.org/abs/2309.01745).\n\nThere is nothing specific to the original or modern Unets that would break equivariance on a staggered grid -- rather, any existing input layer that does not take the grid into account will break equivariance. We therefore could not fairly compare any existing U-net implementation to our results on our task, since these lack support for C-grids and would not be equivariant. We chose to modify the modern U-net, which has become a standard strong baseline for subsequent improvement as a neural PDE surrogate, for example through generative modeling (Kohl et al. 2023) or PDErefiner ([Lippe et al. 2023](https://arxiv.org/abs/2308.05732)). We thus combined our novel input/output layers with the existing modern U-net architecture. We could have done the same for the original U-net, ResNet or other architecture. If we were to devote additional time and resources toward creating an equivariant version of a second existing architecture, we would likely not choose the 2015 U-net but rather a Dilated ResNet, or possibly an attention-based architecture. We note that our manuscript now compares to FNO as a baseline, though we do not have an equivariant version of this architecture.\n\n> Significance and scope\n> \n> The work is restricted to considering finite symmetry groups of discrete grids (the p4m group of translations, reflections, and rotations, and subgroups thereof). While the symmetry groups under consideration are exact (and probably a lot simpler to implement than groups of continuous actions), they are indeed rather limited in scope. It would have been nice to see explorations in other groups. PDEs have quite interesting Lie point symmetry groups e.g. Brandstetter et al. (2022) and Wang et al. (2021) and it would have been nice to show that equivariance to these [...]\n\n>Misleading messaging...\n\nWe must agree with the reviewer on this point. We have thoroughly revised the relevant language including the title, abstract and introduction as suggested. While the literature on ML-based prediction of PDE system states uses inconsistent nomenclature, with various papers referring to integrating, solving, predicting or modeling the PDE, we now refer to neural surrogates that predict future PDE states.\n\n>Lacking explanation of the proposed method:...\n\nWe have revised the main text, figure captions and supplementary materials to provide additional detail. We have adde [...]\n\n> Novelty...\n\nWe acknowledge that our manuscript does not introduce new algorithms or complete new architectures, but argue that it nonetheless contains important empirical findings. These include:\n* The effectiveness of combining physical and geometric constraints.\n* The comparison of these techniques with alternatives (such as FNOS or training with input noise).\n* The evaluation of these benefits across dataset and architecture sizes, and across tasks.\n\nFundamentally, machine learning researchers need better tools to control the long-term behavior of trained dynamical models, and we would as [...]\n\n### General reply to reviewers\nWe wish to thank all 3 reviewers for substantive and constructive comments, which we believe have substantially improved the manuscript. These improvements include several new quantitative results, many errors and fixes, and above all an increase in clarity. We believe this manuscript is now significantly improved in how it conveys the work we carried out, and how this work relates to other work in the field.",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
3,
|
| 11 |
+
6
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 4.0,
|
| 14 |
+
"score_variance": 3,
|
| 15 |
+
"score_spread": 3,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 6,
|
| 18 |
+
"decision": "Reject",
|
| 19 |
+
"rebuttal_validity_ground_truth": false,
|
| 20 |
+
"meta_review": "This paper studies to incorporate symmetries (the p4m group of translations, reflections, and rotations,) and physical constraints (conservation laws) to improve the neural PDE solvers. Some reviewers acknowledge the paper is well-written and has some value to the community; however, there remain significant concerns, including the limited novelty esp. compared to existing studies, misleading messaging (the authors revised the title based on the suggestion from reviewers), limited scope (only focuses on p4m group), weak experiments, etc. Given these considerations, I believe the paper is not ready for publication in its current state. I suggest the authors significantly revise the paper for future submissions.",
|
| 21 |
+
"forum_id": "gz8Rr1iuDK",
|
| 22 |
+
"primary_area": "learning on time series and dynamical systems",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_wqWf",
|
| 27 |
+
"review_id": "7e7M2j5Ntu",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 3,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 3342,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 960193,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_8dXp",
|
| 43 |
+
"review_id": "lerJJJSOsK",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 3,
|
| 46 |
+
"soundness": 2,
|
| 47 |
+
"presentation": 2,
|
| 48 |
+
"contribution": 2,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 4039,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 1145536,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_qgvH",
|
| 59 |
+
"review_id": "LgqW8TMONL",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 6,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 3,
|
| 65 |
+
"confidence": 5
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 4996,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 1289550,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": []
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"any_review_edit_detected": true,
|
| 75 |
+
"any_post_rebuttal_text_signal": false,
|
| 76 |
+
"review_score_dimensions": [
|
| 77 |
+
"rating",
|
| 78 |
+
"soundness",
|
| 79 |
+
"presentation",
|
| 80 |
+
"contribution",
|
| 81 |
+
"confidence"
|
| 82 |
+
]
|
| 83 |
+
}
|
open_review/iclr2025_13848.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13849.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13849",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Cluster-Driven Adversarial Perturbations for Robust Contrastive Learning",
|
| 6 |
+
"abstract": "Adversarial contrastive learning aims to learn a representation space robust to adversarial inputs using only unlabeled data. Existing methods typically generate adversarial perturbations by maximizing the contrastive loss during adversarial training. However, we find that the effectiveness of this approach is influenced by the composition of positive and negative examples in a minibatch, which is not explicitly controllable. To address this limitation, we propose a novel approach to adversarial contrastive learning, where adversarial perturbations are generated based on the clustering structure of the representation space learned through contrastive learning. Our method is motivated by the observation that contrastive learning produces a well-separated representation space, where similar data points cluster together in space, while dissimilar ones are positioned farther apart. We hypothesize that perturbations directed toward neighboring (the second nearest to be specific) clusters are likely to cross the decision boundary of a downstream classifier built upon contrastive learning, effectively acting as adversarial examples. A key challenge in our approach is to determine a sufficiently large number of clusters, for which the number of classes in the downstream task would serve the purpose but is typically unknown during adversarial contrastive learning. Therefore, we employ the silhouette score to identify the optimal number of clusters, ensuring high-quality clustering in the representation space. Compared to the existing approaches, our method achieved up to $2.25$\\% and $5.05$\\% improvements in robust accuracy against PGD and Auto-Attack, respectively, showing slight improvement in standard accuracy as well in most cases.",
|
| 7 |
+
"rebuttal": "Thank you for your response. We would like to provide additional answers to address points that were not covered in our previous reply.\n\nFor the second weakness, as noted in our response to W1 and Q1, we have mitigated scalability issues arising from K-means clustering by utilizing a GPU-accelerated implementation. This approach significantly reduces computational overhead, ensuring the scalability of our method.\n\nRegarding the third weakness, our method relies on three key assumptions to generate effective adversarial examples: \n - Representation space structure: In the representation space learned through contrastive learning, similar data points are positioned closely. This property, supported by prior work [1], results in a well-clustered structure when appropriate clustering is applied.\n - Task similarity: The spatial structure of similarity and dissimilarity among input data in contrastive learning is sufficiently similar to that of the downstream task, ensuring well-aligned cluster structures.\n - Well-separated dataset: In the input space of the downstream task, data points from the same class are close to each other, while data points from different classes are located far apart. \n\nUnder these assumptions, NCP-ACL performs clustering with $K$ that maximizes the silhouette score, thereby increasing the likelihood that each cluster consists of data points from the same class. \n\nIn the NCP-ACL method, perturbations are generated by moving away from the nearest cluster while targeting a neighboring cluster. Clusters formed with the highest silhouette score are likely to group data points from the same class tightly. Thus, perturbations that move away from the regions where data points of the same class are densely gathered increase the likelihood of crossing decision boundaries and creating adversarial examples. Simultaneously, directing perturbations toward the neighboring clusters on the data manifold helps prevent deviations from the underlying data manifold, ensuring that adversarial examples remain realistic and meaningful.\n\nWe acknowledge that these assumptions may not hold perfectly, as contrastive learning is performed without labeled data. However, this approach allows us to effectively generate adversarial examples using unlabeled data, supported by our experimental results.\n\nPlease feel free to leave a comment if you have any additional questions or concerns.\n\n[1] T. Wang and P. Isola, ''Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere,'' ICML'20\n\nThank you, Reviewer bfjU, for your valuable and insightful feedback.\n\n> **Response to Q1**\n\nWe acknowledge adversarial detection and purification methods can maintain standard accuracy. However, they introduce significant computational overhead during both training and inference. This makes them unsuitable for real-time applications such as autonomous driving or fraud detection, where rapid predictions are essential and additional latency is unacceptable. Furthermore, adversarial detection methods may produce false positives, misclassifying benign inputs as adversarial. Such errors can block t [...]\n\n> **Experiments on the prediction distribution for adversarial examples** \n\nThe table below presents the experimental results comparing the prediction probabilities for adversarial examples generated using each method. Specifically, it shows the average prediction probabilities of the correct label (true label) and the incorrect label (misclassified label).\n\nThe results demonstrate that in most cases, the adversarial examples generated by NCP-ACL are more effective, as evidenced by the higher prediction probabilities of the incorrect label compared to other methods. While these results are mea [...]\n\nWe sincerely thank the reviewer for taking the time to provide thoughtful feedback and constructive comments.\n\n> **Explanation for Choosing K with the Highest Silhouette Score in NCP-ACL**\n\nWe acknowledge that our initial explanation for choosing $K$ with the highest silhouette score was insufficient. Below, we provide additional clarification to better justify our approach.\n\nThe silhouette score is a metric used to evaluate the clustering quality by assessing how similar each data point is to its own cluster compared to the nearest neighboring cluster. Formally, the silhouette score $s(i)$ fo [...]\n\nWe sincerely thank Reviewer TbcU for their thoughtful feedback and valuable suggestions.\n\n> **Response to W1&Q1**\n\nTo evaluate the computational cost of the additional clustering step in NCP-ACL, we compared its total training time with other SOTA methods. As shown in Table 1, NCP-ACL achieves competitive training time. It achieves the second shortest training time for CIFAR-10 and CIFAR-100. For STL-10, its training time is slightly longer than the second shortest (DYNACL), but the difference is minimal, demonstrating comparable efficiency.\n\nTable 2 provides a detailed breakdown of NCP-ACL's [...]\n\n> **Response to Q5**\n\nAs highlighted in the first general response, Eqn. (4) achieves a significant improvement over Eqn. (2) by addressing the problem of adversarial examples deviating from the manifold. Specifically, it introduces an additional term that directs perturbations toward neighboring clusters, ensuring that the generated adversarial examples remain closer to the data manifold. This adjustment improves the robustness of adversarial training.\n\nAdditionally, while Eqn. (2) generates perturbations based on the fixed representations learned by the SimCLR encoder, Eqn. (4) adapts pertur [...]\n\n> **Response to Q1**\n\nIn this work, we follow the definition of adversarial examples from [1], where they are described as imperceptible, non-random perturbations added to original images that alter a neural network’s predictions. The primary goal of adversarial contrastive learning is to train an encoder that enhances robustness against adversarial attacks in downstream tasks. This requires ge\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
5,
|
| 11 |
+
6,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 0.33,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "The key idea of this paper is quite interesting: first finding that the effectiveness of adversarial contrastive learning is influenced by the composition of positive and negative examples in a minibatch, then proposing a novel approach to adversarial contrastive learning, where adversarial perturbations are generated based on the clustering structure of the representation space learned through contrastive learning. Reviewers also like this idea and agree on its novelty. However, the current evaluation (empirical or theoretical) is still weak and cannot fully support the claim made in the current version. Another round would be beneficial for further improving this paper's quality.",
|
| 22 |
+
"forum_id": "rlsWIBDWhW",
|
| 23 |
+
"primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_W6GT",
|
| 28 |
+
"review_id": "Ih3tSTYR7I",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 5726,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 2155976,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_E4Lt",
|
| 44 |
+
"review_id": "nDljqE7zd8",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2066,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 770409,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_bfjU",
|
| 60 |
+
"review_id": "XUljJDzBZV",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 6308,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2482480,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_TbcU",
|
| 76 |
+
"review_id": "pbo1FYQT3K",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 4,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 5
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2715,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1297548,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13849.md
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## CLUSTER-DRIVEN ADVERSARIAL PERTURBATIONS FOR ROBUST CONTRASTIVE LEARNING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Adversarial contrastive learning aims to learn a representation space robust to adversarial inputs using only unlabeled data. Existing methods typically generate adversarial perturbations by maximizing the contrastive loss during adversarial training. However, we find that the effectiveness of this approach is influenced by the composition of positive and negative examples in a minibatch, which is not explicitly controllable. To address this limitation, we propose a novel approach to adversarial contrastive learning, where adversarial perturbations are generated based on the clustering structure of the representation space learned through contrastive learning. Our method is motivated by the observation that contrastive learning produces a well-separated representation space, where similar data points cluster together in space, while dissimilar ones are positioned farther apart. We hypothesize that perturbations directed toward neighboring (the second nearest to be specific) clusters are likely to cross the decision boundary of a downstream classifier built upon contrastive learning, effectively acting as adversarial examples. A key challenge in our approach is to determine a sufficiently large number of clusters, for which the number of classes in the downstream task would serve the purpose but is typically unknown during adversarial contrastive learning. Therefore, we employ the silhouette score to identify the optimal number of clusters, ensuring high-quality clustering in the representation space. Compared to the existing approaches, our method achieved up to 2 _._ 25% and 5 _._ 05% improvements in robust accuracy against PGD and Auto-Attack, respectively, showing slight improvement in standard accuracy as well in most cases.
|
| 10 |
+
|
| 11 |
+
together in space, while dissimilar ones are positioned farther apart. We hypothe- size that perturbations directed toward neighboring (the second nearest to be spe- cific) clusters are likely to cross the decision boundary of a downstream classifier built upon contrastive learning, effectively acting as adversarial examples. A key challenge in our approach is to determine a sufficiently large number of clusters, for which the number of classes in the downstream task would serve the purpose but is typically unknown during adversarial contrastive learning. Therefore, we employ the silhouette score to identify the optimal number of clusters, ensuring high-quality clustering in the representation space. Compared to the existing ap- proaches, our method achieved up to 2 _._ 25% and 5 _._ 05% improvements in robust accuracy against PGD and Auto-Attack, respectively, showing slight improvement in standard accuracy as well in most cases. 1 INTRODUCTION The challenge of learning meaningful representations from unlabeled data remains crucial due to the scarcity of labeled data and the high cost of labeling. Self-supervised learning uses pretext tasks (e.g., jigsaw puzzles (Noroozi & Favaro, 2016) or rotation prediction (Gidaris et al., 2018)) to capture the underlying structure of unlabeled data. Among these approaches, contrastive learning (Hadsell et al., 2006; Chen et al., 2020; He et al., 2020; Chen & He, 2021) has made significant progress by pulling positive pairs closer while pushing the negative pairs farther apart in the representation space. Furthermore, the representations learned by contrastive learning achieve comparable performance with supervised learning on downstream tasks.
|
| 12 |
+
|
| 13 |
+
The success of contrastive learning has prompted interest in learning adversarially robust repre-
|
| 14 |
+
|
| 15 |
+
sentations from unlabeled data. Recent works have focused on combining adversarial training with
|
| 16 |
+
|
| 17 |
+
contrastive learning to enhance robustness (Zhang et al., 2022; Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Luo et al., 2023). While adversarial training in supervised learning aims to correctly classify adversarial examples, adversarial contrastive learning achieves robustness by ensuring that adversarial and clean examples have similar representations.
|
| 18 |
+
|
| 19 |
+
In adversarial contrastive learning, generating adversarial examples is challenging due to the absence
|
| 20 |
+
|
| 21 |
+
of labeled data. Existing approaches (Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Luo et al.,
|
| 22 |
+
|
| 23 |
+
2023) have addressed this challenge by maximizing the contrastive loss to generate perturbations for adversarial training. However, without explicitly considering the relationship between the resulting perturbations and the decision boundary of a downstream classifier, there is no guarantee that the created perturbations will be adversarial with respect to the decision boundary.
|
| 24 |
+
|
| 25 |
+
1
|
| 26 |
+
|
| 27 |
+
To address the limitation of prior approaches, we focus on the well-clustered representations learned by contrastive learning, where similar data points are closely clustered, while dissimilar points are farther apart. We conjecture that the perturbation directed toward the neighboring cluster may cross the decision boundary of a downstream classifier when the neighboring cluster is composed of dis- similar data to the original sample, given that the representations tend to be linearly separable (Chen et al., 2020; He et al., 2020; HaoChen et al., 2021; Tosh et al., 2021) and the data distribution of the downstream task is sufficiently similar to that of data used for contrastive learning. Based on this idea, we propose a novel cluster-driven adversarial contrastive learning method. Our main contributions are: • We propose a new adversarial contrastive learning framework utilizing the clustering struc- ture in the representation space. Our method chooses the number of clusters by the silhou- ette score, eliminating the need for an extra hyperparameter tuning. • We show by experiment that our proposed method can produce a fully robust representa-
|
| 28 |
+
|
| 29 |
+
- • We show by experiment that our proposed method can produce a fully robust representa- tion, that is, adversarial linear fine-tuning makes little difference to standard linear fine- tuning.
|
| 30 |
+
|
| 31 |
+
• Our experimental results show that our proposed method outperforms the state-of-the-art methods in robust accuracy against PGD and Auto-Attack adversaries, with a slight in- crease in standard accuracy in the majority of cases.
|
| 32 |
+
|
| 33 |
+
2 RELATED WORKS
|
| 34 |
+
|
| 35 |
+
> **076 Adversarial training.** Since the discovery of neural networks’ vulnerablility to adversarial at-
|
| 36 |
+
|
| 37 |
+
tacks (Szegedy et al., 2014), various defense methods (Madry et al., 2018; Zhang et al., 2019; Paper- not et al., 2016; Xu et al., 2018; Metzen et al., 2017; Xie et al., 2019) have been proposed to enhance their adversarial robustness.
|
| 38 |
+
|
| 39 |
+
Among these defenses, adversarial training has emerged as one of the most widely adopted ap-
|
| 40 |
+
|
| 41 |
+
proaches, where adversarial examples are incorporated into the training process to improve adver-
|
| 42 |
+
|
| 43 |
+
sarial robustness. Standard adversarial training (Madry et al., 2018) is formulated as follows: min _f ∈F_[E][(˜] _[x,y]_[)] _[∼D]_ � _||δ_ max _||∞≤ϵ[L]_[CE][(] _[f]_[(˜] _[x]_[ +] _[ δ]_[)] _[, y]_[)] � _._ Here,Specifically, _L_ CE( _·, f ·_ ) :is _X_ the _→_ cross-entropyR _[d]_ maps input dataloss, _fx_ ˜( _∈X·_ ) is anto ainstance _d_ -dimensional output. The setfrom a family of neural _F_ networksincludes all _F_ . possible neural networks. (˜ _x, y_ ) is a pair of an input and its label sampled from a data distribution _D_ , and _δ_ is an adversarial perturbation. However, there is a trade-off between standard generalization and adversarial roubstness (Tsipras et al., 2019), which leads adversarial training to reduce standard accuracy. TRADES (Zhang et al., 2019), a variant of standard adversarial training, was proposed to strike a balance between robustness and standard accuracy more effectively. TRADES optimizes the following objective:
|
| 44 |
+
|
| 45 |
+
min _L_ CE( _f_ (˜ _x_ ) _, y_ ) + _λ_ max _,_ _f ∈F_[E] � _||δ||∞≤ϵ_[KL][(] _[f]_[(˜] _[x]_[)] _[, f]_[(˜] _[x]_[ +] _[ δ]_[))] � where KL denotes the KL-divergence and _λ >_ 0 is a trade-off parameter that balances the standard accuracy and the robustness. The first term ensures that the model maintains strong performance on clean examples, while the second term encourages consistent predictions between clean and adversarial examples, thereby improving robustness. **100 101 Contrastive learning.** Contrastive learning (Hadsell et al., 2006) is a self-supervised learning approach that learns representations from unlabeled data by encouraging the positive pairs to be similar and the negative pairs to be dissimilar in their representations. Contrastive learning optimizes neural networks _f_ and _g_ through the following objective:
|
| 46 |
+
|
| 47 |
+
**==> picture [148 x 21] intentionally omitted <==**
|
| 48 |
+
|
| 49 |
+
where _x_ is the anchor sample, _P_ ( _x_ ) denotes a set of positive samples, and _N_ ( _x_ ) represents a set of negative samples. The neural network _f_ is an encoder that extracts the representation vector _z_ from
|
| 50 |
+
|
| 51 |
+
2
|
| 52 |
+
|
| 53 |
+
the anchor sample _x_ and _g_ is a projection head. A typical contrastive loss _L_ CL can be defined as follows (Chen et al., 2020): **110111** _L_ CL( _x, P_ ( _x_ ) _, N_ ( _x_ ); _g, f_ ) := _−_ log � _xp∈P_ ( _x_ )[exp][(][sim][(] _[g][ ◦][f]_[(] _[x]_[)] _[, g][ ◦][f]_[(] _[x][p]_[))] _[/τ]_[)] (1) � _xa∈N_ ( _x_ ) _∪P_ ( _x_ )[exp][(][sim][(] _[g][ ◦][f]_[(] _[x]_[)] _[, g][ ◦][f]_[(] _[x][a]_[))] _[/τ]_[)] _[,]_ **113114** (where _t_ (˜ _x_ ) _, tτ[′]_ (˜ _x>_ )) is built by applying transformations0 is a temperature parameter. For an _t_ andoriginal _t[′]_ to sample _x_ ˜, respectively, where _x_ ˜, the positive _t_ andpair _t_ ( _[′] x, x_ are ran-p) = domly sampled from a pre-defined transformation set _T_ . Transformed versions of other samples within the mini-batch are treated as negative samples. The function sim( _u, v_ ) denotes the similarity between vectors _u_ and _v_ , with cosine similarity being a commonly used measure. Cosine similarity is defined as the dot product between _ℓ_ 2 normalized vectors _u_ and _v_ . Additionally, _g ◦ f_ denotes the composition of neural networks _g_ and _f_ .
|
| 54 |
+
|
| 55 |
+
**Adversarial contrastive learning.** Motivated by the remarkable achievements of contrastive learning, several methods have been proposed to integrate adversarial training with contrastive learning to enhance the robustness.
|
| 56 |
+
|
| 57 |
+
Jiang et al. (2020) enforces the representations to be invariant to perturbations by performing contrastive learning on the perturbed positive pair ( _x_ + _δx_ , _xp_ + _δp_ ) instead of ( _x_ , _x_ p), where _δx_ and _δp_ are adversarial perturbations applied to the anchor sample _x_ and positive sample _xp_ , respectively. Similarly, Kim et al. (2020) proposed a robust contrastive learning (RoCL) framework that maximizes the cosine similarity between the representations of the clean (anchor) sample _x_ and the sample with a perturbation _x_ + _δx_ by including _x_ + _δx_ in the positive set _P_ ( _x_ ) of the contrastive loss.
|
| 58 |
+
|
| 59 |
+
Adversarial contrastive learning (ADVCL) (Fan et al., 2021) advances the RoCL by introducing thehigh-frequency component of the original sample _x_ ˜ as an additional positive sample, considering that the adversarial perturbations are primarily concentrated on the high-frequency region (Wang et al., 2020). In addition, ADVCL incorporates supervision loss using pseudo-labels generated by an additional encoder pre-trained on the ImageNet dataset (Deng et al., 2009).
|
| 60 |
+
|
| 61 |
+
Zhang et al. (2022) proposed decoupled adversarial contrastive learning (DeACL) that divides the previous adversarial contrastive learning into two stages: in stage 1, (standard) contrastive learning is adopted to train an encoder; in stage 2, adversarial training is performed with perturbations generated using the encoder pre-trained in stage 1.
|
| 62 |
+
|
| 63 |
+
Dynamic adversarial contrastive learning (DYNACL) (Luo et al., 2023) introduces a dynamic aug- mentation strategy on the method proposed by Jiang et al. (2020), where the strength of data aug- mentation is gradually reduced as the training progresses. This approach balances the need for strong augmentation in representation learning while mitigating its negative impact on robustness. DYNACL++ (Luo et al., 2023) post-processes the encoder trained with DYNACL via linear probing and adversarial full fine-tuning (Kumar et al., 2022), where pseudo-labels are generated using the encoder pre-trained with DYNACL. Xu et al. (2023a) proposed a robustness-aware coreset selec- tion method to accelerate existing adversarial contrastive learning methods. In addition, Xu et al. (2023b) enhanced the robustness of existing adversarial contrastive learning methods (Jiang et al., 2020; Luo et al., 2023) by incorporating adversarial invariant regularization (AIR) into the adversar- ial contrastive loss.
|
| 64 |
+
|
| 65 |
+
3 METHODOLOGY 3.1 MOTIVATION
|
| 66 |
+
|
| 67 |
+
In this section, we discuss the limitations of existing adversarial contrastive learning methods and explain the motivation for proposing a novel perturbation generation approach.
|
| 68 |
+
|
| 69 |
+
For a given unlabeled dataset, adversarial contrastive learning aims to build an adversarially robust encoder whose learned representations preserve resistance to adversarial attacks in the downstream tasks. The existing adversarial contrastive learning methods (Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Luo et al., 2023) generate perturbations for adversarial training by maximizing the contrastive loss as follows:
|
| 70 |
+
|
| 71 |
+
**==> picture [256 x 19] intentionally omitted <==**
|
| 72 |
+
|
| 73 |
+
3
|
| 74 |
+
|
| 75 |
+
Table 1: Comparison of adversarial impact between random noise and perturbations directed to-
|
| 76 |
+
|
| 77 |
+
ward the neighboring cluster. The evaluation is performed on the amount of decrease in predicted
|
| 78 |
+
|
| 79 |
+
probability for the true class (Prob. Dec.) and attack success rate (Attk. Succ.). All values are in %. Perturbations generated by our approach are denoted as _δ_ nbr. CIFAR-10 CIFAR-100 STL-10 Prob. Dec. Attk. Succ. Prob. Dec. Attk. Succ. Prob. Dec. Attk. Succ.
|
| 80 |
+
|
| 81 |
+
random noise 1.84 2.59 4.41 9.56 1.01 1.49
|
| 82 |
+
|
| 83 |
+
_δ_ nbr 15.97 22.08 36.62 56.74 25.99 30.66 where _Pδ_ ( _x_ ) = _{xp_ + _δp | xp ∈P_ ( _x_ ) _, ||δp||∞ ≤ ϵ}_ denotes the perturbed positive set and _Nδ_ ( _x_ ) = _{xn_ + _δn | xn ∈N_ ( _x_ ) _, ||δn||∞ ≤ ϵ}_ represents the perturbed negative set. As a result, the perturbed anchor sample _x_ + _δx[∗]_[is][likely][to][move][closer][to][the][perturbed][negative][set] _[N][δ]_[(] _[x]_[)] (given a sufficiently large number of negative samples) and farther from the perturbed positive set _Pδ_ ( _x_ ). However, the perturbation budget _ϵ_ is often small, and therefore the perturbed positive and negative samples will remain close to their original counterparts. This implies that the generation
|
| 84 |
+
|
| 85 |
+
> **179180** thedata points in a mini-batch excluding the original sampleof _δx_ perturbation _[∗]_[will be dominantly influenced by the positive set] _δx[∗]_[is][likely][to][be][adversarial][if][the][negative] _[ P] x_[(] ˜ _[x]_ of an anchor point[)][ and negative set][samples][(usually] _[ N] x_ ) belong to different[implemented][(] _[x]_[)][. Consequently,][using]
|
| 86 |
+
|
| 87 |
+
classes compared to _x_ . However, there is no guarantee for such composition because mini-batch
|
| 88 |
+
|
| 89 |
+
samples are selected uniformly at random, and thus, the effectiveness of created perturbations can be limited. On the other hand, Zhang et al. (2022) proposed to generate adversarial perturbations not by maxi-
|
| 90 |
+
|
| 91 |
+
mizing the contrastive loss, but by minimizing the cosine similarity with the representations of the
|
| 92 |
+
|
| 93 |
+
encoder pre-trained with SimCLR (Chen et al., 2020): _δx[∗][∈] ||_[arg max] _δx||∞≤ϵ_ CosSim( _fθ_ ( _x_ + _δx_ ) _, f_ pre( _x_ )) _,_ (2) _u[[T]] v_ where CosSim(( _u, v_ ) = _− ∥u∥∥v∥u∥∥v∥∥∥v∥v∥∥_[[denotes the negative dot product between]] _[[ ℓ]]_[[2]][[normalized vectors]] _[[ u]]_ and _v_ (i.e. negative cosine similarity), _fθθ_ is the encoder adversarially trained and _f_ pre refers to the encoder pre-trained using SimCLR. However, it is unclear whether the perturbation generated by the above optimization (Eq. (2)) would be adversarial, effectively pushing _x_ to the other classes.
|
| 94 |
+
|
| 95 |
+
To address the limitations of the current approaches mentioned above, we suggest a new idea uti- lizing the geometrical structure of the representation space learned by contrastive learning. This representation space is defined by well-structured clusters of semantically similar data and clear distinctions between dissimilar data. Building on these properties, we propose a novel approach to generate perturbations directed toward the neighboring clusters (we choose the second nearest cluster as the neighbor based on our empirical results).
|
| 96 |
+
|
| 97 |
+
As a proof of concept for our idea, we conducted experiments to assess the adversarial effective- ness of perturbations generated toward the neighboring clusters in the representation space learned by SimCLR. For evaluation, we attached a linear classifier to the frozen encoder pre-trained with SimCLR and fine-tuned it. We then measured the probability of misclassification (attack success rate) and the amount of decrease in predicted probability for the true class induced by the perturba- tions. Details on the experimental procedure are available in the Appendix A.1. Table 1 compares the adversarial effectiveness of random noise and the perturbations generated by our approach. Our perturbations reduce the predicted probability for the true class by up to 25 _._ 7 times more and achieve an attack success rate by up to 20 _._ 6 times more compared to random noise. This suggests that the
|
| 98 |
+
|
| 99 |
+
perturbations directed toward neighboring clusters are likely to act as adversarial examples. 3.2 NCP-ACL
|
| 100 |
+
|
| 101 |
+
_u[[T]] v_ where CosSim(( _u, v_ ) = _− ∥u∥∥v∥u∥∥v∥∥∥v∥v∥∥_[[denotes the negative dot product between]] _[[ ℓ]]_[[2]][[normalized vectors]] _[[ u]]_ and _v_ (i.e. negative cosine similarity), _fθθ_ is the encoder adversarially trained and _f_ pre refers to the encoder pre-trained using SimCLR. However, it is unclear whether the perturbation generated by the above optimization (Eq. (2)) would be adversarial, effectively pushing _x_ to the other classes.
|
| 102 |
+
|
| 103 |
+
In this section, we describe our proposal method, which we call NCP-ACL (Neighboring-Cluster Pursuit Adversarial Contrastive Learning). The overall structure of our NCP-ACL consists of two stages to make use of the clustering structure of the representation space learned through contrastive learning: (1) pre-training the encoder with standard contrastive learning; (2) performing the adversarial training based on the pre-trained encoder. We denote by _fθ_ 1 the encoder pre-trained at the
|
| 104 |
+
|
| 105 |
+
4
|
| 106 |
+
|
| 107 |
+
Figure 1: **Overview of our proposed method, NCP-ACL** . (a) In Stage 1, we obtain the represen- tation space where clusters consisting of semantically similar data are clearly distinct. (b) In stage 2, we generate perturbations directed toward neighboring (the second nearest) clusters for adver- sarial training. Red arrows represent successful adversarial perturbations generated by NCP-ACL crossing the decision boundary of the downstream classifier, while grey dashed arrows indicate non- adversarial perturbations that could be generated when the neighboring cluster belongs to the same class. first stage, and by _fθ_ 2 the encoder trained at the second stage; _fθ_ 2 will be our final outcome. The mechanism of our proposed method is illustrated in Fig. 1. **241 242 Stage 1: standard contrastive learning.** We first train the encoder _fθ_ 1 with SimCLR (Chen et al., 2020), one of the standard (non-robust) contrastive learning methods, which learns to locate seman- tically similar data points close to each other in the resulting representation space. In particular, the encoder _fθ_ 1 is trained with the contrastive loss in Eq. (1). **246 247 Stage 2: NCP adversarial training.** In the second stage, called the NCP (Neighboring-Cluster Pursuit) adversarial training, we train the adversarially robust encoder _fθ_ 2 initialized with pre-trained weights from the encoder _fθ_ 1. We employ the adversarial training loss from Zhang et al. (2022), a variant of TRADES (Zhang et al., 2019), which replaces both cross entropy loss and KL divergence loss with cosine similarity loss. The adversarial training loss is defined as follows: _L_ NCP-ACL( _x_ ; _θ_ 2) := CosSim( _fθ_ 2( _x_ ) _, z_ 1) + _λ_ CosSim( _fθ_ 2( _x_[adv] ) _, fθ_ 2( _x_ )) _,_ (3) where _z_ 1 = _fθ_ 1( _x_ ) denotes the representation of the input _x_ produced by the encoder _fθ_ 1 (whose weight _θ_ 1 is frozen at stage 2) and _x_[adv] is the adversarial input created from _x_ . The first term in Eq. (3) aims to preserve the characteristics of representation space learned at stage 1 by maximizing the cosine similarity between representation vectors of _fθ_ 1 and _fθ_ 2, which is related to the standard accuracy of our final model _fθ_ 2. The second term is to make the representation vector of the adversarial input _x_[adv] similar to the representation vector of the clean example, thereby enhancing the adversarial robustness of _fθ_ 2. Here, _λ >_ 0 is a hyperparameter for balancing the standard and robust errors. We propose to generate the adversarial input _x_[adv] through the following process: (i) we extract the representation vectors of training data using the encoder _fθ_ 2; (ii) we apply the spherical K-means clustering (Hornik et al., 2012) to the extracted representation vectors. Since the representation space is learned using contrastive loss based on the cosine similarity, spherical K-means clustering is used instead of regular K-means; (iii) For each data point _x_ , we find the centroid of the cluster it belongs to, denoted as _Cx_ , and the centroid of the neighboring cluster, denoted as _C_ nbr( _x_ ) (we selected the second nearest cluster as the neighbor according to our empirical results described in Appendix B.2); (iv) finally, we create the adversarial perturbation _δ[∗]_ as a solution to the following optimization: _[[∗]]_
|
| 108 |
+
|
| 109 |
+
_δ[[∗]] ∈_ arg max _||δ||∞≤ϵ {_ CosSim( _fθ_ 2( _x_ + _δ_ ) _, Cx_ ) _−_ CosSim( _fθ_ 2( _x_ + _δ_ ) _, C_ nbr( _x_ )) _},_ (4)
|
| 110 |
+
|
| 111 |
+
5
|
| 112 |
+
|
| 113 |
+
|||
|
| 114 |
+
|---|---|
|
| 115 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|**Algorithm 1**Stage 2: NCP adversarial trainingalgorithm|
|
| 116 |
+
||**Input**: A dataset D, a pre-trained encoder _fθ_1, the number of training epochs _N_, the number of<br>training steps_T_, and a hyperparameter_λ >_0.<br>**Output**: an adversarially robust encoder_fθ_2.<br>**Initialize**_fθ_2 with the pre-trained weights of_fθ_1.<br>**for**epoch_∈{_0_, . . . , N −_1_}_**do**<br>Perform the spherical K-means clustering onD.<br>Compute cluster centroids_{_ ˜_Ck}K_<br>_k_=1.<br>**for**step_∈{_0_, . . . , T −_1_}_**do**<br>Sample a mini-batch_B_ =_{x_0_, . . . , xm−_1_}_<br>**for**_i_= 0_, . . . , m −_1(in parallel)**do**<br>_zi ←fθ_1(_xi_).<br>_Cxi ←_the nearest centroid to_xi_ in_{_ ˜_Ck}K_<br>_k_=1.<br>_C_nbr(_xi_) _←_the second nearest (neighboring) centroid to_xi_.<br>_x_adv<br>_i_<br>_←xi_+_δ∗_<br>_i_ , where_δ∗_<br>_i_ is a solution to Equation (4).<br>**end for**<br>Update_θ_2by minimizing �_m−_1<br>_i_=0 _L_NCP-ACL(_xi_).<br>**end for**<br>**end for**|
|
| 117 |
+
||for which we used the 5-step projected gradient descent (PGD) with a perturbation budget of<br>_ϵ_ = 8_/_255. Here, the frst term directs the perturbation away from the cluster to which the data<br>point_x_belongs, aiming to enhance the adversarial effect by pushing the data point away from the<br>distribution of similar data. The effect of the frst term is validated through an ablation study in<br>the Appendix B.1. The second term guides the perturbation toward the neighboring cluster.<br>The resulting adversarial input_x_adv =_x_+_δ∗_is expected to be located farther from_Cx_and closer to<br>_C_nbr(_x_) compared to the original input_x_in the representation space. As illustrated in the right side<br>of Fig. 1, depending on the relative position of the neighboring cluster and the decision boundary<br>of the downstream classifer in the representation space, the generated perturbations can be either<br>adversarial (red arrows) or non-adversarial (gray dashed arrows). In particular, perturbations are<br>likely to be non-adversarial, when the data point is located between the neighboring cluster and the<br>decision boundary. In this case, we expect _x_adv to act as a positive sample in regular contrastive<br>learning, since the perturbation is directed toward a cluster composed of data from the same class as<br>the data point_x_in the downstream task. The procedure of the stage2is summarized in Algorithm 1.<br>4<br>EXPERIMENTS|
|
| 118 |
+
|
| 119 |
+
In this section, we evaluate the effectiveness of our proposed method, NCP-ACL, against the cur- rent state-of-the-art (SOTA) methods, including ADVCL (Fan et al., 2021), DeACL (Zhang et al., 2022), DYNACL (Luo et al., 2023), DYNACL++ (Luo et al., 2023) and DYNACL-AIR++ (Xu et al., 2023b). The comparison focuses on the quality of the encoder representations learned by each method, providing an in-depth analysis of adversarial robustness achieved by adversarial contrastive methods. Unless otherwise noted, we reported the average results over five runs with different ran- dom seeds.
|
| 120 |
+
|
| 121 |
+
4.1 EXPERIMENTAL SETUP
|
| 122 |
+
|
| 123 |
+
> **319 Datasets and model architecture.** We evaluate the performance of our proposed method and the
|
| 124 |
+
|
| 125 |
+
SOTA approaches on three standard benchmark datasets for adversarial contrastive learning: CIFAR-
|
| 126 |
+
|
| 127 |
+
10 (Krizhevsky & Hinton, 2009), CIFAR-100 (Krizhevsky & Hinton, 2009), and STL-10 (Coates et al., 2011). Consitent with prior works (Zhang et al., 2022; Kim et al., 2020; Jiang et al., 2020; Fan et al., 2021; Luo et al., 2023; Xu et al., 2023a;b), we adopt the ResNet-18 (He et al., 2016) as the encoder architecture for the evaluation.
|
| 128 |
+
|
| 129 |
+
6
|
| 130 |
+
|
| 131 |
+
0.19 0.20 0.16 0.18 0.18 0.17 0.16 0.14 0.160.15 0.140.12 0.120.10 **327328** 0.140.130.12 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 0.100.080.06 10 30 50 70 90 110 130 150 170 190 210 230 250 270 290 0.080.06 5 35 65 95 125 155 185 215 245 275 305 335 365 395 425 Numer of Clusters Numer of Clusters Numer of Clusters (a) CIFAR-10 (b) CIFAR-100 (c) STL-10 Figure 2: Silhouette scores with different numbers of clusters _K_ on CIFAR-10, CIFAR-100, and STL-10. The optimal _K_ values, corresponding to the highest silhouette scores, are 70, 150, and 215 for CIFAR-10, CIFAR-100, and STL-10, respectively. Due to the space constraint, we only present the results with the random seed set to 0. Table 2: Performance comparison of adversarial contrastive learning methods on CIFAR10, CI- FAR100, and STL10 datasets. Standard linear fine-tuning (SLF) has been applied for performance evaluation in terms of standard accuracy (SA), robust accuracy (RA), and Auto-Attack accuracy (AA). The best and the second best cases are marked with boldface and underlines, resp. ‘n/a’ indi- cates that the method is not applicable due to the absence of a required information. CIFAR-10 CIFAR-100 STL-10 Method SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) ADVCL 80.85 50.45 42.57 48.34 27.67 19.78 n/a n/a n/a DeACL 80.17 53.95 45.31 52.79 30.74 20.34 80.87 65.86 58.50 DYNACL 75.38 48.48 45.56 45.85 22.76 19.43 69.61 48.76 47.17 DYNACL++ 79.79 49.37 47.05 **53.93** 21.97 19.71 70.97 49.91 47.80 DYNACL-AIR++ 81.86 49.01 47.12 53.90 23.20 20.69 71.36 50.23 48.42 NCP-ACL (ours) **82.02 54.06 49.22** 51.00 **32.01 23.32 84.06 68.11 63.55 349 350 351 Fine-tuning strategies.** To compare the performance of adversarial contrastive learning methods, we attach a linear classification layer on top of the respective final encoder learned by each method. To train the linear classification layer on the frozen encoder, we consider two types of fine-tuning strategies: standard linear fine-tuning (SLF) and adversarial linear fine-tuning (ALF). In SLF, the linear classification layer is trained with original training examples and their corresponding ground- truth labels, while in ALF, it is trained with adversarial examples generated by the 10-step 10-step-step _ℓ∞∞_ -PGD attack (Madry et al., 2018) with a perturbation budget of _ϵ_ = 8 _/_ 255 and a step size of and a step size of _α_ = 2 _/_ 255.. **357 358 Evaluation metrics.** Performance evaluation is conducted using three metrics: standard accuracy (SA), robust accuracy (RA), and Auto-Attack accuracy (AA). Each corresponds to accuracy on clean data, adversarial examples generated by 20-step-step _ℓ∞∞_ -PGD attack with _ϵ_ = 8 _/_ 255 and _α_ = 2 _/_ 255,, and adversarial examples from Auto-Attack (Croce & Hein, 2020) with _ϵ_ = 8 _/_ 255 in _ℓ∞∞_ -norm, respectively. **363 364 Selection of the number of clusters.** In stage 2 of our proposed NCP-ACL, the number of clusters 2 of our proposed NCP-ACL, the number of clusters of our proposed NCP-ACL, the number of clusters _K_ is required as a hyperparameter for spherical K-means clustering. With unknown class numbers in the downstream task, we determine the value of _K_ using the silhouette score (Rousseeuw, 1987), a metric for evaluating clustering quality. We compute silhouette scores by clustering representa- tions extracted from the initial encoder _fθθ_ 2,, and fix the optimal _K_ value throughout training. This approach eliminates the need for additional hyperparameter tuning to select the number of clusters, thus significantly reducing the computational cost. Figure 2 shows silhouette scores for varying _K_ on CIFAR-10, CIFAR-100, and STL-10 with the random seed fixed at 0. Here, the optimal 0. Here, the optimal. Here, the optimal _K_ values are 70,, 150,, and 215 for CIFAR-10, CIFAR-100, and STL-10, respectively. Additional details are provided in Appendix A.2. 4.2 PERFORMANCE EVALUATION OF ADVERSARIAL CONTRASTIVE LEARNING **375 376 Evaluation of representation quality via standard linear fine-tuning.** To compare the quality of representations learned by adversarial contrastive learning methods, we first report the performance
|
| 132 |
+
|
| 133 |
+
**Fine-tuning strategies.** To compare the performance of adversarial contrastive learning methods, we attach a linear classification layer on top of the respective final encoder learned by each method. To train the linear classification layer on the frozen encoder, we consider two types of fine-tuning strategies: standard linear fine-tuning (SLF) and adversarial linear fine-tuning (ALF). In SLF, the linear classification layer is trained with original training examples and their corresponding groundtruth labels, while in ALF, it is trained with adversarial examples generated by the 10-step 10-step-step _ℓ∞∞_ -PGD attack (Madry et al., 2018) with a perturbation budget of _ϵ_ = 8 _/_ 255 and a step size of and a step size of _α_ = 2 _/_ 255..
|
| 134 |
+
|
| 135 |
+
**Evaluation metrics.** Performance evaluation is conducted using three metrics: standard accuracy (SA), robust accuracy (RA), and Auto-Attack accuracy (AA). Each corresponds to accuracy on clean data, adversarial examples generated by 20-step-step _ℓ∞∞_ -PGD attack with _ϵ_ = 8 _/_ 255 and _α_ = 2 _/_ 255,, and adversarial examples from Auto-Attack (Croce & Hein, 2020) with _ϵ_ = 8 _/_ 255 in _ℓ∞∞_ -norm, respectively.
|
| 136 |
+
|
| 137 |
+
**Selection of the number of clusters.** In stage 2 of our proposed NCP-ACL, the number of clusters 2 of our proposed NCP-ACL, the number of clusters of our proposed NCP-ACL, the number of clusters _K_ is required as a hyperparameter for spherical K-means clustering. With unknown class numbers in the downstream task, we determine the value of _K_ using the silhouette score (Rousseeuw, 1987), a metric for evaluating clustering quality. We compute silhouette scores by clustering representations extracted from the initial encoder _fθθ_ 2,, and fix the optimal _K_ value throughout training. This approach eliminates the need for additional hyperparameter tuning to select the number of clusters, thus significantly reducing the computational cost. Figure 2 shows silhouette scores for varying _K_ on CIFAR-10, CIFAR-100, and STL-10 with the random seed fixed at 0. Here, the optimal 0. Here, the optimal. Here, the optimal _K_ values are 70,, 150,, and 215 for CIFAR-10, CIFAR-100, and STL-10, respectively. Additional details are provided in Appendix A.2.
|
| 138 |
+
|
| 139 |
+
**Evaluation of representation quality via standard linear fine-tuning.** To compare the quality of representations learned by adversarial contrastive learning methods, we first report the performance results using the standard linear fine-tuning (SLF) as the fine-tuning strategy. Table 2 shows the
|
| 140 |
+
|
| 141 |
+
7
|
| 142 |
+
|
| 143 |
+
Table 3: The effect of different fine-tuning strategies: SLF and ALF. In both, adversarial contrastive
|
| 144 |
+
|
| 145 |
+
learning is performed to learn a robust encoder. In SLF, an attached linear classifier on top of the
|
| 146 |
+
|
| 147 |
+
encoder is fine-tuned with clean labeled samples. In ALF, the linear classifier is fine-tuned instead with PGD-based adversarial training. The results are obtained using CIFAR-10. SLF ALF Method SA (%) RA (%) AA(%) SA (%) RA (%) AA(%)
|
| 148 |
+
|
| 149 |
+
ADVCL 80.85 50.45 42.57 80.00 51.93 44.65
|
| 150 |
+
|
| 151 |
+
DeACL 80.17 53.95 45.31 78.81 **54.61** 46.09
|
| 152 |
+
|
| 153 |
+
DYNACL 75.38 48.48 45.56 72.89 49.66 46.01
|
| 154 |
+
|
| 155 |
+
DYNACL++ 79.79 49.37 47.05 78.82 51.18 48.46 DYNACL-AIR++ 81.86 49.01 47.12 79.59 51.77 48.66 NCP-ACL (ours) **82.02 54.06 49.22 80.40 54.61 49.23 391 392 393** performance comparison across CIFAR-10, CIFAR-100, and STL-10, with the best and the second- best results highlighted in boldface and underlines, respectively (results of ADVCL and DeACL for CIFAR-10 and CIFAR-100 were taken from the corresponding papers). Across all three datasets, NCP-ACL consistently achieved the best performance in terms of standard accuracy (SA), robust accuracy (RA), and Auto-Attack accuracy (AA) except for SA on CIFAR-100. In the case of CIFAR-
|
| 156 |
+
|
| 157 |
+
100, ours showed about a 3% drop in SA compared to the best performer of the case, DYNACL++.
|
| 158 |
+
|
| 159 |
+
We believe that it was a trade-off made by our method to achieve about 10% and 4% boost in RA
|
| 160 |
+
|
| 161 |
+
and AA, resp., compared to the performance numbers of DYNACL++, and one can probably find an
|
| 162 |
+
|
| 163 |
+
operating point of ours to improve SA further, perhaps sacrificing RA and AA slightly. For example,
|
| 164 |
+
|
| 165 |
+
as shown in Fig. 3, setting _K_ = 10 instead of our _K_ = 150 (based on the best silhouette score) in- creases SA by about 1% to 51 _._ 76% while RA and AA decrease to 30 _._ 66% and 21 _._ 77%, respectively. However, despite this decrease, both RA and AA still significantly outperform DynACL++. (The results for AdvCL on STL-10 are unavailable: AdvCL requires pseudo-labels generated by an addi- tional encoder pre-trained on ImageNet, which were not provided. Despite generating pseudo-labels ourselves, we were unable to achieve comparable performance.) The experimental result indicates that our proposed method is likely to produce more robust representations, demonstrating the effec- tiveness of our approach as an adversarial contrastive learning strategy. **408 409 Evaluation of representation quality via adversarial linear fine-tuning.** In Table 3, we compare the performance of adversarial contrastive methods on CIFAR10 with the adversarial linear fine-
|
| 166 |
+
|
| 167 |
+
tuning (ALF). Note that ALF serves as additional robust training for the linear classifier attached
|
| 168 |
+
|
| 169 |
+
on top of the encoders trained through adversarial contrastive learning, where adversarial inputs
|
| 170 |
+
|
| 171 |
+
generated by the PGD attack are used. We can see that our proposal method NCP-ACL outperforms
|
| 172 |
+
|
| 173 |
+
all competitors in the ALF setting as well. Also, the performance numbers of NCP-ACL with ALF have not changed much from those with SLF, indicating that the extra robust training by ALF may not be necessary for our method.
|
| 174 |
+
|
| 175 |
+
4.3 IMPACT OF THE NUMBER OF CLUSTERS ON PERFORMANCE Our method uses spherical K-means clustering for generating perturbations for adversarial training. Therefore, the method’s sensitivity to the choice of _K_ values could be an issue. Therefore, we ana- lyzed the relationship between the number of clusters and the performance of NCP-ACL regarding standard accuracy (SA), robust accuracy (RA), and Auto-Attack accuracy (AA). In Fig. 3, the plots show how these performance metrics change due to the choice of the number of clusters _K_ . The red striped bars show the performance with the best _K_ value for the silhouette score, which we chose
|
| 176 |
+
|
| 177 |
+
for our experiments.
|
| 178 |
+
|
| 179 |
+
-
|
| 180 |
+
|
| 181 |
+
Overall, the results show that when the value of _K_ increases over a threshold (e.g., _K ≥_ 20 for CIFAR-10), the RA and AA values are not very sensitive to the choice of _K_ . In addition, we can achieve near-best performance by using the _K_ value with the highest silhouette score, where the experiments are performed with this _K_ value.
|
| 182 |
+
|
| 183 |
+
-
|
| 184 |
+
|
| 185 |
+
- We guess that when _K_ is large enough, the clusters’ boundaries of data from different classes tend to align with the decision boundaries of downstream classifiers. When _K_ is larger than necessary,
|
| 186 |
+
|
| 187 |
+
8
|
| 188 |
+
|
| 189 |
+
**==> picture [432 x 652] intentionally omitted <==**
|
| 190 |
+
|
| 191 |
+
**----- Start of picture text -----**<br>
|
| 192 |
+
432 83 55 50<br>433 82 54 49<br>434 81 53 48<br>435<br>80 52 47<br>436<br>79 51 46<br>437<br>78 50 45<br>438 10 20 30 40 50 60 70 80 90 100 10 20 30 40 50 60 70 80 90 100 10 20 30 40 50 60 70 80 90 100<br>Numer of Clusters Numer of Clusters Numer of Clusters<br>439<br>440 (a) CIFAR-10<br>441 52 33 24<br>442 51 32 23<br>443 50 31 22<br>444 49 30 21<br>445 48 29 20<br>446 47 28 19<br>10 30 50 70 90 110 130 150 170 190 10 30 50 70 90 110 130 150 170 190 10 30 50 70 90 110 130 150 170 190<br>447 Numer of Clusters Numer of Clusters Numer of Clusters<br>448<br>(b) CIFAR-100<br>449<br>84 70 65<br>450 83<br>451 82 65 60<br>452 81 60 55<br>453 80 55 50<br>454 79<br>50 45<br>455 78 5 35 65 95 125 155 185 215 245 275 5 35 65 95 125 155 185 215 245 275 5 35 65 95 125 155 185 215 245 275<br>456 Numer of Clusters Numer of Clusters Numer of Clusters<br>457 NCP-ACL K with the best silhouette score<br>458<br>(c) STL-10<br>459<br>460 Figure 3: The relation between prediction performance and the number of clusters K in NCP-ACL.<br>461 The accuracy with the K value that achieved the highest silhouette score is marked in the red striped<br>462 pattern (the results with the random seed set to 0 are shown).<br>463<br>464<br>465<br>466 we conjecture that the clustering will likely form more clusters within each class. This may result<br>467 in the perturbations created by NCP-ACL as non-adversarial since the second nearest clusters may<br>468 become more likely to consist of the data from the same class as the nearest clusters. The tendency<br>469 of standard accuracy drops with the increment of K in CIFAR-10 and CIFAR-100 might reflect the<br>470 phenomenon where non-adversarial augmentations work against classifying regular inputs. Still, the<br>471 effect of K being large does not seem significant, at least in the range of K values we tried.<br>472<br>473<br>474<br>5 CONCLUSION<br>475<br>476<br>477<br>In this paper, we proposed a novel adversarial contrastive learning method called NCP-ACL. We<br>478<br>tried to address the problem in the current methodologies where adversarial examples are typically<br>479<br>constructed by maximizing the contrastive learning loss, and as a result, the generated perturba-<br>480 tion may not be adversarial with respect to the decision boundary obtained through fine-tuning.<br>481 In NCP-ACL, we utilized the well-clustered representations learned by contrastive learning, where<br>482 we generated adversarial inputs by directing the perturbations toward the neighboring clusters. In<br>483 this way, we expected that the perturbations would be toward the direction of crossing the decision<br>484 boundary of a downstream classifier. Through the experiments, we showed that our proposal out-<br>485 performs the current state-of-the-art methods in learning robust representations, leading to higher<br>standard and robust predictions after fine-tuning.<br>Standrad Accuracy Robust Accuracy AutoAttack Accuracy<br>Standrad Accuracy Robust Accuracy AutoAttack Accuracy<br>Standrad Accuracy Robust Accuracy AutoAttack Accuracy<br>**----- End of picture text -----**<br>
|
| 193 |
+
|
| 194 |
+
9
|
| 195 |
+
|
| 196 |
+
REFERENCES
|
| 197 |
+
|
| 198 |
+
- K-means and K-nn using NVIDIA CUDA, 2019. [URL removed]
|
| 199 |
+
|
| 200 |
+
- Olivier Bachem, Mario Lucic, S. Hamed Hassani, and Andreas Krause. Fast and provably good seedings for k-means. In _Advances in Neural Information Processing Systems_ , 2016.
|
| 201 |
+
|
| 202 |
+
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In _International Conference on Machine Learning_ , 2020.
|
| 203 |
+
|
| 204 |
+
- Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In _Proceedings of_ _the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , 2021.
|
| 205 |
+
|
| 206 |
+
Adam Coates, Honglak Lee, and Andrew Ng. An analysis of single-layer networks in unsupervised feature learning. In _Proceedings of the International Conference on Artificial Intelligence and_ _Statistics_ , 2011.
|
| 207 |
+
|
| 208 |
+
- Francesco Croce and Matthias Hein. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks. In _International Conference on Machine Learning_ , 2020. Victor Guilherme Turrisi da Costa, Enrico Fini, Moin Nabi, Nicu Sebe, and Elisa Ricci. solo-learn:
|
| 209 |
+
|
| 210 |
+
- A library of self-supervised methods for visual representation learning. _JMLR_ , 2022.
|
| 211 |
+
|
| 212 |
+
- Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In _Proceedings of the IEEE/CVF Conference on Computer Vision_ _and Pattern Recognition_ , 2009. Lijie Fan, Sijia Liu, Pin-Yu Chen, Gaoyuan Zhang, and Chuang Gan. When does contrastive learning preserve adversarial robustness from pretraining to finetuning? In _Advances in Neural Information Processing Systems_ , 2021.
|
| 213 |
+
|
| 214 |
+
-
|
| 215 |
+
|
| 216 |
+
- Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In _International Conference on Learning Representations_ , 2018. Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In _IEEE Computer Society Conference on Computer Vision and Pattern Recognition_ , 2006.
|
| 217 |
+
|
| 218 |
+
- Jeff Z. HaoChen, Colin Wei, Adrien Gaidon, and Tengyu Ma. Provable guarantees for self-
|
| 219 |
+
|
| 220 |
+
- supervised deep learning with spectral contrastive loss. In _Advances in Neural Information Pro-_ _cessing Systems_ , 2021. Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , 2016.
|
| 221 |
+
|
| 222 |
+
- Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for un-
|
| 223 |
+
|
| 224 |
+
- supervised visual representation learning. In _Proceedings of the IEEE/CVF Conference on Com-_
|
| 225 |
+
|
| 226 |
+
- _puter Vision and Pattern Recognition_ , 2020. Kurt Hornik, Ingo Feinerer, Martin Kober, and Christian Buchta. Spherical k-means clustering. _Journal of Statistical Software_ , 2012. Ziyu Jiang, Tianlong Chen, Ting Chen, and Zhangyang Wang. Robust pre-training by adversarial contrastive learning. In _Advances in Neural Information Processing Systems_ , 2020.
|
| 227 |
+
|
| 228 |
+
- Minseon Kim, Jihoon Tack, and Sung Ju Hwang. Adversarial self-supervised contrastive learning. In _Advances in Neural Information Processing Systems_ , 2020. Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
|
| 229 |
+
|
| 230 |
+
10
|
| 231 |
+
|
| 232 |
+
- Ananya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma, and Percy Liang. Fine-
|
| 233 |
+
|
| 234 |
+
- tuning can distort pretrained features and underperform out-of-distribution. In _International Con-_ _ference on Learning Representations_ , 2022. Rundong Luo, Yifei Wang, and Yisen Wang. Rethinking the effect of data augmentation in adver- sarial contrastive learning. In _International Conference on Learning Representations_ , 2023. Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In _International Conference on_ _Learning Representations_ , 2018. Jan Hendrik Metzen, Tim Genewein, Volker Fischer, and Bastian Bischoff. On detecting adversarial perturbations. In _International Conference on Learning Representations_ , 2017. Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In _European Conference on Computer Vision_ , 2016. Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In _IEEE Symposium on Security and Privacy_ , pp. 582–597, 2016.
|
| 235 |
+
|
| 236 |
+
- Peter J. Rousseeuw. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. _Journal of Computational and Applied Mathematics_ , 1987. Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In _International Conference on_
|
| 237 |
+
|
| 238 |
+
- _Learning Representations_ , 2014.
|
| 239 |
+
|
| 240 |
+
- Christopher Tosh, Akshay Krishnamurthy, and Daniel Hsu. Contrastive estimation reveals topic posterior information to linear models. _Journal of Machine Learning Research_ , 2021. Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry.
|
| 241 |
+
|
| 242 |
+
- Robustness may be at odds with accuracy. In _International Conference on Learning Representa-_
|
| 243 |
+
|
| 244 |
+
- _tions_ , 2019.
|
| 245 |
+
|
| 246 |
+
- Zifan Wang, Yilin Yang, Ankit Shrivastava, Varun Rawal, and Zihao Ding. Towards frequency-based explanation for robust cnn. _arXiv preprint arXiv:2005.03141_ , 2020. Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan Yuille, and Kaiming He. Feature denoising
|
| 247 |
+
|
| 248 |
+
- for improving adversarial robustness. In _Proceedings of the IEEE/CVF Conference on Computer_
|
| 249 |
+
|
| 250 |
+
- _Vision and Pattern Recognition_ , 2019.
|
| 251 |
+
|
| 252 |
+
Weilin Xu, David Evans, and Yanjun Qi. Feature squeezing: Detecting adversarial examples in deep neural networks. In _Proceedings of Network and Distributed System Security Symposium_ , 2018. Xilie Xu, Jingfeng Zhang, Feng Liu, Masashi Sugiyama, and Mohan Kankanhalli. Efficient adver- sarial contrastive learning via robustness-aware coreset selection. In _Advances in Neural Infor-_ _mation Processing Systems_ , 2023a. Xilie Xu, Jingfeng Zhang, Feng Liu, Masashi Sugiyama, and Mohan Kankanhalli. Enhancing ad- versarial contrastive learning via adversarial invariant regularization. In _Advances in Neural In-_ _formation Processing Systems_ , 2023b. Chaoning Zhang, , Kang Zhang, Chenshuang Zhang, Axi Niu, Jiu Feng, Chang D. Yoo, and In So Kweon. Decoupled adversarial contrastive learning for self-supervised adversarial robustness. In _European Conference on Computer Vision_ , 2022. Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric P. Xing, Laurent El Ghaoui, and Michael I. Jordan. Theoretically principled trade-off between robustness and accuracy. In _International Conference_ _on Machine Learning_ , 2019.
|
| 253 |
+
|
| 254 |
+
11
|
| 255 |
+
|
| 256 |
+
## A EXPERIMENTAL DETAILS A.1 SETUP FOR PROOF OF CONCEPT EXPERIMENT
|
| 257 |
+
|
| 258 |
+
To validate whether perturbations generated toward neighboring clusters act adversarially, we con- duct a proof-of-concept experiment. The overall process consists of five steps: (i) We train the en- coder using SimCLR. (ii) We perform spherical K-means clustering on the representations learned in step (i), where the resulting clusters are expected to consist of similar data points. Here, the number of clusters _K_ is selected using the silhouette score. (iii) For each data point, we generate a perturba- tion directed toward the centroid of the neighboring cluster. (iv) For evaluating the adversarial effec- tiveness of generated perturbations, we attach a linear classifier to the frozen encoder pre-trained in step (i) and train the linear classifier using labeled training samples. (v) Using the model from step (iv), we measure the attack success rate and average decrease in prediction probability for the true class caused by perturbations. We employ the ResNet18 architecture for the encoder. Perturbations are generated by optimiz- ing Eq. (4) without the first term CosSim( _f_ ( _x_ + _δ_ ) _, Cx_ ), where we use 5-step PGD with a per- turbation budget of _ϵ_ = 8 _/_ 255. To precisely measure the adversarial effect of perturbations, we evaluate only on test samples correctly classified by the model from step (4). From experimental results presented in Table 1, we confirm that the perturbations generated by our approach are likely to cross the decision boundary of the downstream classifier. A.2 PRE-TRAINING SETTINGS
|
| 259 |
+
|
| 260 |
+
A.2.1 STAGE 1: STANDARD CONTRASTIVE LEARNING We use the solo-learn (da Costa et al., 2022), a library of self-supervised methods, for the SimCLR implementation. Following Chen et al. (2020), we train the model for 1000 epochs with a batch size of 512. For CIFAR-10 and CIFAR-100, we adopt the LARS optimizer with momentum 0 _._ 9, weight decay 1e-4, and cosine learning rate decay with a 10-epoch linear warm-up. For STL-10, weight decay is set to 1e-5. The temperature parameter in contrastive loss is set to 0 _._ 5. For data augmentation, we use a random resized crop with a size of 32 and a scale between 0 _._ 08 and 1 _._ 0, color jitter with a strength of 0 _._ 5 and a probability of 0 _._ 8, grayscale with a probability of 0 _._ 2, Gaussian blur with a probability of 0 _._ 5, and horizontal flip with a probability of 0 _._ 5 for CIFAR-10 and CIFAR-100. For STL-10, we only adjust the size parameter of the random resized crop to 96 and the strength of the color jitter to 1 _._ 0. A.2.2 STAGE 2: NCP ADVERSARIAL TRAINING We employ the spherical K-mean clustering implementations provided by kmcuda (kmc, 2019) and AFK-MC[2] (Bachem et al., 2016) to improve speed and scalability. kmcuda is a GPU-accelerated K-means implementation, while AFK-MC[2] is a simple and fast seeding algorithm for K-means clustering. The number of clusters for spherical K-means clustering was determined using the sil- houette score. The optimal _K_ values across different random seeds are 70, 60, 70, 90, and 75 for CIFAR-10, 150, 125, 130, 85, and 110 for CIFAR-100, and 210, 145, 155, 200, and 175 for STL-10. In the case of STL-10, the training dataset consists of 5 _,_ 000 labeled samples and 100 _,_ 000 unlabeled samples, where unlabeled samples include other types of animals (bears, rabbits, etc.) and vehicles (trains, buses, etc.) not found in the labeled set. This explains why the best _K_ value for STL-10 is considerably larger than its number of classes, 10.
|
| 261 |
+
|
| 262 |
+
. In stage 2, the model is trained for 200, 100, and 1000 epochs on CIFAR-10, CIFAR-100, and STL- 10, respectively. For other hyperparameters, we follow the settings of DeACL (Zhang et al., 2022), using a batch size of 256 and a learning rate of 0 _._ 5. For data augmentation, as in DeACL, we apply weak augmentation comprised of random crop (after padding) to the original image size (32 for CIFAR-10 and CIFAR-100, 96 for STL-10) and horizontal flip with a probability of 0 _._ 5. We set _λ_ to 6. In addition, we adopt the dual batch normalization method from Jiang et al. (2020), which utilizes separate batch normalization layers: one for clean examples and the other for adversarial examples.
|
| 263 |
+
|
| 264 |
+
12
|
| 265 |
+
|
| 266 |
+
Table 4: The effect of different perturbation generation strategies in adversarial contrastive learning.
|
| 267 |
+
|
| 268 |
+
Strategy (i) generates perturbations away from the data point’s own cluster, strategy (ii) generates
|
| 269 |
+
|
| 270 |
+
perturbations toward the neighboring cluster, and strategy (iii) is our approach, combining both strategies. CIFAR-10 CIFAR-100 STL-10 SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) strategy (i) 82.29 52.06 47.77 50.82 31.08 22.18 83.76 65.70 61.12 strategy (ii) **83.46** 52.05 47.16 **52.93** 31.05 22.26 83.86 61.06 55.40 strategy (iii) (ours) 82.02 **54.06 49.22** 51.00 **32.01 23.32 84.06 68.11 63.55 657 658 659** A.3 FINE-TUNING SETTINGS
|
| 271 |
+
|
| 272 |
+
A.3.1 STANDARD LINEAR FINE-TUNING We train the linear classification layer with 25 epochs and a batch size of 512 using clean examples, 512 using clean examples, using clean examples, where the encoder pre-trained using NCP-ACL is fixed. We adopt SGD optimizer with momentum 0 _._ 9 and weight decay 2e-4. The learning rate is set to 0 and weight decay 2e-4. The learning rate is set to 0 2e-4. The learning rate is set to 0e-4. The learning rate is set to 04. The learning rate is set to 0. The learning rate is set to 0 0 _._ 1 on CIFAR-10 and 10 on CIFAR-10 and 10 10 _._ 0 for CIFAR-100 and for CIFAR-100 and STL-10. The learning rate decays by 10 times at epochs 15 and 20. 15 and 20. and 20. 20.. A.3.2 ADVERSARIAL LINEAR FINE-TUNING For adversarial linear fine-tuning, we train the linear classification layer for 25 epochs using adver- sarial examples generated by the 10-step _ℓ∞_ -PGD attack with _ϵ_ = 8 _/_ 255 and _α_ = 2 _/_ 255. We set the learning rate to 0 _._ 1 on CIFAR-10. In addition, we use the SGD optimizer and learning rate decay
|
| 273 |
+
|
| 274 |
+
with the same settings as the standard linear fine-tuning.
|
| 275 |
+
|
| 276 |
+
We train the linear classification layer with 25 epochs and a batch size of 512 using clean examples, 512 using clean examples, using clean examples, where the encoder pre-trained using NCP-ACL is fixed. We adopt SGD optimizer with momentum 0 _._ 9 and weight decay 2e-4. The learning rate is set to 0 and weight decay 2e-4. The learning rate is set to 0 2e-4. The learning rate is set to 0e-4. The learning rate is set to 04. The learning rate is set to 0. The learning rate is set to 0 0 _._ 1 on CIFAR-10 and 10 on CIFAR-10 and 10 10 _._ 0 for CIFAR-100 and for CIFAR-100 and STL-10. The learning rate decays by 10 times at epochs 15 and 20. 15 and 20. and 20. 20..
|
| 277 |
+
|
| 278 |
+
B ADDITIONAL EXPERIMENTS
|
| 279 |
+
|
| 280 |
+
B.1 ABLATION STUDY ON PERTURBATION GENERATION STRATEGIES
|
| 281 |
+
|
| 282 |
+
This section compares the effectiveness of different perturbation generation strategies in adversar- ial contrastive learning. We focus on three distinct perturbation generation strategies derived from components of Eq. (4): (i) generating perturbations directed away from the cluster to which each data point belongs, (ii) generating perturbations directed toward the neighboring cluster, and (iii) generating perturbations that are directed toward the neighboring cluster while simultaneously mov- ing away from the data point’s own cluster. Strategy (i) corresponds to maximizing the first term in Eq. (4), strategy (ii) corresponds to minimizing the second term in Eq. (4), and strategy (iii) uses the entire equation for creating perturbations as employed in our method. Using the two-stage framework of NCP-ACL, we perform adversarial contrastive learning with perturbations generated by the three strategies described above. To assess the robustness of the learned representations, we apply standard linear fine-tuning to the adversarially trained encoder. Table 4 presents the performance comparison across CIFAR-10, CIFAR-100, and STL-10. The results show that combining strategies (i) and (ii) generates the most effective perturbations for adversarial train- ing, thereby achieving the best robust accuracy.
|
| 283 |
+
|
| 284 |
+
## B.2 EFFECT OF TARGETING DIFFERENT NEIGHBORING CLUSTERS FOR ADVERSARIAL CONTRASTIVE LEARNING
|
| 285 |
+
|
| 286 |
+
In our NCP-ACL, we generate perturbations that are directed away from the cluster to which the data point belongs and simultaneously toward the neighboring cluster. Specifically, we used the second nearest cluster as the neighboring cluster for perturbation generation. In this section, we conduct experiments to analyze the impact of targeting different neighboring clusters on the quality of leaned representations. That is, we compared the performance of adversarial contrastive learning when directing perturbations toward the farther neighboring clusters instead of the second nearest one.
|
| 287 |
+
|
| 288 |
+
13
|
| 289 |
+
|
| 290 |
+
Table 5: The impact of targeting different neighboring clusters for adversarial contrastive learning.
|
| 291 |
+
|
| 292 |
+
Targeting the second closest neighboring cluster ( _n_ = 2) was used in our method, and performance
|
| 293 |
+
|
| 294 |
+
is compared when perturbations are targeted to the third ( _n_ = 3), fourth ( _n_ = 4), and fifth ( _n_ = 5) closest neighboring clusters. CIFAR-10 CIFAR-100 STL-10 SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) SA(%) RA(%) AA(%) _n_ = 2 (NCP-ACL) 82.02 54.06 49.22 51.00 32.01 23.32 84.06 68.11 63.55 _n_ = 3 81.73 54.41 49.93 51.06 32.32 23.64 83.50 68.38 64.25 _n_ = 4 81.87 53.91 49.85 51.16 31.91 23.63 83.47 68.01 63.67
|
| 295 |
+
|
| 296 |
+
_n_ = 5 82.09 54.11 49.72 51.14 31.61 23.41 83.17 67.79 63.39
|
| 297 |
+
|
| 298 |
+
Using the same two-stage framework as in Appendix B.1, we performed adversarial training with perturbations generated toward different neighboring clusters. From Table 5, we observe little per- formance difference across these variations – therefore, we simply set the second nearest cluster ( _n_ = 2) as the neighboring cluster.
|
| 299 |
+
|
| 300 |
+
14
|
| 301 |
+
|
open_review/iclr2025_13850.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13850",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "TableTextGrad: A Reflexive Framework for Tabuar Understanding",
|
| 6 |
+
"abstract": "Table understanding is a complex task that requires not only grasping the semantics of free-form questions but also accurately reasoning over semi-structured tables. Recently, promising approaches designed sophisticated prompts that leverage large language models (LLMs) by combining Chain-of-Thought strategies with function calls, consequently demonstrating competitive results without requiring fine-tuning. \nHowever, creating sufficiently effective prompts remains a challenge. Without fine-tuning, all necessary priors must be incorporated directly into the initial prompt, making prompt design even more critical.\nMotivated by the recent advancements in the ''textual gradient'' space, we introduce TableTextGrad, a novel framework that enables automatic prompt optimization by leveraging the ``differentiation'' of prompting pipelines through textual gradients. Concretely, according to the feedback of LLMs, TableTextGrad iteratively refines each function within the Chain-of-Thought steps and function calls, resulting in more accurate and reliable table reasoning outcomes. Experiments on table question-answering datasets demonstrate that our integrated approach achieves significant improvements, setting new state-of-the-art results on the WikiTableQA benchmark. Our TableTextGrad not only enhances the reasoning capabilities of LLMs in the table reasoning task but also lays a groundwork for more robust and generalizable prompting pipelines due to its simplicity and effectiveness.",
|
| 7 |
+
"rebuttal": "We sincerely apologize for the delay in our response, as we needed additional time to conduct new experiments, particularly on FeTaQA and noisy questions, to address your valuable feedback thoroughly. We have updated the PDF, with all changes and additions highlighted in red for your convenience.\n\nBelow are the key updates we have made to enhance the comprehensiveness of our evaluation and address the concerns raised:\n\n- FeTaQA Evaluation: Added experiments demonstrating that our framework beats baselines on FeTaQA, a free-form table QA dataset (Appendix A.3).\n- Poor Prompt Initialization: Included tests showing that TableTextGrad can recover and optimize reasoning performance even under suboptimal initial prompts (Section 4.4).\n- Noisy Questions: Conducted experiments illustrating that TableTextGrad is capable of deciphering intent and reasoning effectively despite noisy input questions (Section 4.5).\n- Relevant Row/Column Identification: Added evaluations to demonstrate our framework’s ability to accurately identify relevant rows and columns (Appendix A.4).\n\nWe hope these additions address your concerns. Thank you for your patience and for your thoughtful feedback, which has significantly strengthened this work!\n\nThank you for reviewing our paper and finding it well motivated! \n\n- SOTA claim\n\nWe appreciate the reviewer bringing the E5 paper to our attention. We were not aware of this paper during the preparation of our submission, and we acknowledge their reported result of 88.77 on TabFact, which slightly surpasses our score of 88.75 by 0.02 points. While our claim of state-of-the-art performance was made based on the studies we were aware of at the time, we recognize that this result challenges that claim.\n\nThat said, we emphasize that the difference of 0.02 is negligible in practical terms and withi [...]\n\nThank you for reviewing our paper--we share the sentiment that this is interesting and practical! Our responses are below:\n\n- Novelty:\n\nThe novelty of TableTextGrad lies in extending TextGrad principles to a new and significantly more complex paradigm: the optimization of conditional branching prompt pipelines. Unlike standard applications of TextGrad, which focus on static text sequences, our work adapts and extends this methodology to function-based Chain-of-Thought reasoning in table understanding tasks. This required novel contributions, including the definition of differentiable \"feedback [...]\n\nThank you for your feedback, we have addressed some points as follows.\n\n- Novelty\n\nThe novelty of TableTextGrad lies in extending TextGrad principles to a new and significantly more complex paradigm: the optimization of conditional branching prompt pipelines. Unlike standard applications of TextGrad, which focus on one-shot text reponses, our work adapts and extends this methodology to function-based Chain-of-Thought reasoning in table understanding tasks. This required novel contributions, including the definition of differentiable multi-step reasoning and their integration into an iterative [...]\n\nThank you for reviewing our paper and for finding our work easy to understand! \n\n- Novelty\n\nThe novelty of TableTextGrad lies in extending TextGrad principles to a new and significantly more complex paradigm: the optimization of conditional branching prompt pipelines. Unlike standard applications of TextGrad, which focus on static text sequences, our work adapts and extends this methodology to function-based Chain-of-Thought reasoning in table understanding tasks. This required novel contributions, including the definition of differentiable \"feedback spaces\" for multi-step reasoning and their [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
3,
|
| 11 |
+
6,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.25,
|
| 15 |
+
"score_variance": 2.25,
|
| 16 |
+
"score_spread": 3,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "",
|
| 22 |
+
"forum_id": "9mO9CNgNrh",
|
| 23 |
+
"primary_area": "applications to computer vision, audio, language, and other modalities",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_mGii",
|
| 28 |
+
"review_id": "SISzURrwrW",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 3008,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 388190,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_aaBn",
|
| 44 |
+
"review_id": "MYdlGBsuN4",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 3,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 1059,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 739329,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_nLgd",
|
| 60 |
+
"review_id": "uideCRDq8t",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1527,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 817526,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_ieKk",
|
| 76 |
+
"review_id": "HLgfzdbFmd",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2540,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1200075,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": [
|
| 89 |
+
{
|
| 90 |
+
"to": 88
|
| 91 |
+
}
|
| 92 |
+
]
|
| 93 |
+
}
|
| 94 |
+
],
|
| 95 |
+
"any_review_edit_detected": true,
|
| 96 |
+
"any_post_rebuttal_text_signal": false,
|
| 97 |
+
"review_score_dimensions": [
|
| 98 |
+
"rating",
|
| 99 |
+
"soundness",
|
| 100 |
+
"presentation",
|
| 101 |
+
"contribution",
|
| 102 |
+
"confidence"
|
| 103 |
+
]
|
| 104 |
+
}
|
open_review/iclr2025_13850.md
ADDED
|
@@ -0,0 +1,542 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## TABLETEXTGRAD: A REFLEXIVE FRAMEWORK FOR TABLE UNDERSTANDING
|
| 4 |
+
|
| 5 |
+
##
|
| 6 |
+
|
| 7 |
+
Authors withheld for review
|
| 8 |
+
|
| 9 |
+
## ABSTRACT
|
| 10 |
+
|
| 11 |
+
Table understanding is a complex task that requires not only grasping the seman-
|
| 12 |
+
|
| 13 |
+
tics of free-form questions but also accurately reasoning over semi-structured ta-
|
| 14 |
+
|
| 15 |
+
bles. Recently, promising approaches designed sophisticated prompts that lever- age large language models (LLMs) by combining Chain-of-Thought strategies with function calls, consequently demonstrating competitive results without re- quiring fine-tuning. However, creating sufficiently effective prompts remains a challenge. Without fine-tuning, all necessary priors must be incorporated directly into the initial prompt, making prompt design even more critical. Motivated by the recent advancements in the “textual gradient” space, we introduce TableTextGrad, a novel framework that enables automatic prompt optimization by leveraging the “differentiation” of prompting pipelines through textual gradients. Concretely, ac-
|
| 16 |
+
|
| 17 |
+
cording to the feedback of LLMs, TableTextGrad iteratively refines each function
|
| 18 |
+
|
| 19 |
+
within the Chain-of-Thought steps and function calls, resulting in more accurate
|
| 20 |
+
|
| 21 |
+
and reliable table reasoning outcomes. Experiments on table question-answering
|
| 22 |
+
|
| 23 |
+
datasets demonstrate that our integrated approach achieves significant improve- ments, setting a new state-of-the-art results on WikiTableQA. Our TableTextGrad not only enhances the reasoning capabilities of LLMs in the table reasoning task but also lays a groundwork for more robust and generalizable prompting pipelines due to its simplicity and effectiveness. 1 INTRODUCTION Table understanding and reasoning are crucial in business and consumer applications (Cafarella et al., 2008), as tables typically contain well-structured data that can be efficiently queried using SQL or Python. However, reasoning over tables remains challenging due to factors such as ambigu- ous feature names and complex relationships between columns, which hinder precise information
|
| 24 |
+
|
| 25 |
+
retrieval from the table as well as accurate query interpretation and reasoning. Recent advances in
|
| 26 |
+
|
| 27 |
+
large language models (LLMs) have demonstrated potential in overcoming these challenges, par-
|
| 28 |
+
|
| 29 |
+
ticularly in tasks like fact verification (Chen et al., 2019) and question answering (Jin et al., 2022;
|
| 30 |
+
|
| 31 |
+
Pasupat & Liang, 2015; Nan et al., 2022).
|
| 32 |
+
|
| 33 |
+
Approaches for LLM-based table reasoning can be broadly divided into two categories. The first in- volves fine-tuning models by adjusting LLM embeddings, attention mechanisms (Herzig et al., 2020; Wang et al., 2021; Gu et al., 2022), or training models to improve SQL generation directly (Eisen- schlos et al., 2020; Liu et al., 2021; Jiang et al., 2022). The second category leverages inference- only techniques like Chain-of-Thought (CoT) reasoning and in-context learning (ICL) (Chen, 2023; Cheng et al., 2022; Ye et al., 2023; Hsieh et al., 2023; Liu et al., 2023; Wang et al., 2024) to boost performance without fine-tuning.
|
| 34 |
+
|
| 35 |
+
Each approach has its drawbacks: fine-tuning is computationally intensive and lacks flexibility for new tasks due to its reliance on task-specific labeled data. In contrast, inference-only table un- derstanding offers adaptability but fails to fully utilize labeled data. Recent research has shown the potential of leveraging labeled data for prompting methods (Singh et al., 2023; Gulcehre et al., 2023; Agarwal et al., 2024; Yuksekgonul et al., 2024) to boost LLM performance without the need for fine- tuning. Notably, TextGrad, a recently introduced framework, performs automatic ”differentiation” through text, using natural language feedback from LLMs to optimize their outputs. In our case, we may apply TextGrad to refine prompt optimization for table understanding.
|
| 36 |
+
|
| 37 |
+
1
|
| 38 |
+
|
| 39 |
+
**==> picture [432 x 485] intentionally omitted <==**
|
| 40 |
+
|
| 41 |
+
**----- Start of picture text -----**<br>
|
| 42 |
+
||||||||||||||||
|
| 43 |
+
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 44 |
+
|054|
|
| 45 |
+
|Our proposed TableTextGrad extends TextGrad’s capabilities by dynamically adjusting prompts in|
|
| 46 |
+
|055|multiple|chain-of-thought|steps|and|multiple|branching|function|calls,|combining|the|strengths|of|
|
| 47 |
+
|056|inference-only flexibility with data-driven learning to improve table understanding tasks.|Addition-|
|
| 48 |
+
|057|ally,|we|perform|experiments|on|non-destructive|functions|that|perform|soft|selection|(|italicizing|
|
| 49 |
+
|058|relevant|cells)|rather|than|hard|selection,|which|may|remove|relevant|information|(Patnaik|et|al.,|
|
| 50 |
+
|059|2024).|Through a training process, TableTextGrad advances LLM capabilities in handling complex|
|
| 51 |
+
|060|table-based tasks, achieving state-of-the-art results in TabFact and WikiTableQA.|
|
| 52 |
+
|061|
|
| 53 |
+
|062|TableTextGrad: Automatic Prompt|Updating|
|
| 54 |
+
|063|Step 1: Training: Update Prompts|Step 2: Validation: Compare Updated VS PreviousPrompt on Validation Set Performance|Step 3: Inference on UnseenData|
|
| 55 |
+
|064065066|TrainingSet|Agent 1|Inference Chain of Table|Agent 2|UpdateGradient|ValidationSet|Agent 1|Chain of Inference Table|PromptsSaved|Test Set|Agent 1|Chain of Inference Table|
|
| 56 |
+
|067|Return Best Performing Prompt|
|
| 57 |
+
|068|Chain of Table Inference Example|
|
| 58 |
+
|Prompt 3, 4, ... n-1: Repeat until out of actions or predict <END>|
|
| 59 |
+
|069|Table Data|
|
| 60 |
+
|070|Rank|Nation|Gold|Silver|Bronze|Prompt 1: Sample Next Operation inChain of Thought|Prompt 2: Generate args in operation|Update Table Data|
|
| 61 |
+
|071072073|2512|RussiaTotalUS|...2965|2939|2974|Agent 1|Available Actions: add_column, select_row, select_column,group_column, sort_column, Answer: select_column|Agent 1|Thought: I need to filter wherethe number of Bronze medals is >5 and count the numberAnswer: select_col(Nation,Bronze)|NationRussiaUS|...Bronze74|
|
| 62 |
+
|074075|Question: What is the totalamount of nations with > 5bronze medals?|You are given a table. The task is to answer the question given the table.Question: What is the total amount of nations with > 5 bronze medals?|Prompt n: Final Query|Total|29|
|
| 63 |
+
|076|Final Answer: 7|
|
| 64 |
+
|077|
|
| 65 |
+
|078|Gradient Update Example|Propagate Final|
|
| 66 |
+
|Query Prompt|
|
| 67 |
+
|Final Query Prompt|Final Query Prompt Gradients|New Final Query Prompt|gradients to|
|
| 68 |
+
|079|You are given a table. The|loss.backward()|This prompt could be improved|optimizer.step()|You are given a table.|previous prompts|
|
| 69 |
+
|080081|task is to answer the questiongiven the table.Question: What is the totalamount of nations with > 5bronze medals?|Agent 2|by ensuring numerical valuesare accurately calculated andcrossverified. Also, ensurethat special rows like"Total" are not miscounted.|Agent 2|The task is to answerthe question given thetable.- Ensuring numericalvalues are|Given thecriticisms onFinal Query, Whatcriticisms can be|
|
| 70 |
+
|082|Final Answer: 7|accurately calculated|made to improve|
|
| 71 |
+
|083084|7 was incorrect. Whatcriticisms can be made toimprove the prompt?|loss.backward() Instructions|Implement the criticisms andreturn the updated prompt.|optimizer.step() Instructions|and crossverified. - Ensure that specialrows like "Total" arenot miscounted.|the prompt?|updates all previousprompts as welloptimizer.step()|
|
| 72 |
+
|085|
|
| 73 |
+
|086|
|
| 74 |
+
|087|Figure 1:|This figure presents TableTextGrad, which refines prompts through natural language feed-|
|
| 75 |
+
|088|back and gradient updates on training data.|We demonstrate how prompts are iteratively improved|
|
| 76 |
+
|through|text|gradients.|The|training,|validation,|and|testing|phases|are|similar|to|the|general|ML|
|
| 77 |
+
|089|
|
| 78 |
+
|training pipeline.|The best-performing prompt on validation is then saved.|Chain of Table Inference|
|
| 79 |
+
|090|
|
| 80 |
+
|(in blue) is the chain-of-thought table understanding pipeline that utilizes prompt-based operations|
|
| 81 |
+
|091|for table inference using a set of actions (e.g.,|add column,|filter rows).|The table is updated after|
|
| 82 |
+
|092|each step.|The Gradient Update (in green) is the textual gradient used to refine the table understand-|
|
| 83 |
+
|093|ing prompts.|
|
| 84 |
+
|094|
|
| 85 |
+
|
| 86 |
+
**----- End of picture text -----**<br>
|
| 87 |
+
|
| 88 |
+
We summarize our contribution as follows:
|
| 89 |
+
|
| 90 |
+
- • We present TableTextGrad, an advanced extension of the TextGrad framework, designed to dy- namically optimize prompts in multi-step reasoning tasks. By incorporating multiple chain-of- thought steps and branching function calls, TableTextGrad effectively combines the adaptability of inference-only techniques with the robustness of data-driven learning, improving LLM performance in table understanding tasks.
|
| 91 |
+
|
| 92 |
+
- • Our approach introduces non-destructive functions that perform soft selection of table elements (e.g., _italicizing_ relevant cells) instead of hard selection, which risk excluding critical information. This ensures a more nuanced understanding of the tabular data without removing potentially useful context, enhancing overall table comprehension.
|
| 93 |
+
|
| 94 |
+
- • Through extensive experiments, TableTextGrad achieves new state-of-the-art (SOTA) results on key benchmarks like TabFact and WikiTableQA, significantly improving LLM accuracy and reasoning in complex table-based queries.
|
| 95 |
+
|
| 96 |
+
2
|
| 97 |
+
|
| 98 |
+
## 2 RELATED WORK
|
| 99 |
+
|
| 100 |
+
## 2.1 TABLE UNDERSTANDING
|
| 101 |
+
|
| 102 |
+
Recent advancements in machine learning and data processing have led to innovative solutions for table-related QA. Large, pretrained LLM on multiple tables (Zhang et al., 2023; Li et al., 2023; Jiang et al., 2022; Xie et al., 2022) propose versatile LLMs trained to perform a variety of tasks such as reasoning, completion, QA, and more (Zha et al., 2023; Yang et al., 2023). Finetuned LLMs are surprisingly good in this space, with subtable selection and reasoning improvements (Zhao et al., 2022; Gu et al., 2022; Patnaik et al., 2024). Similarly, LLM Prompting has seen success due to LLM’s powerful inherent reasoning abilities (Cheng et al., 2022; Ye et al., 2023; Jiang et al., 2023; Wang et al., 2024).
|
| 103 |
+
|
| 104 |
+
2.2 LLM PROMPTING FOR TABULAR UNDESTANDING
|
| 105 |
+
|
| 106 |
+
The are multiple widely used strategies to provide models with instructions for improving down- stream tasks to prompt LLMs. Chain-of-Thought (CoT) (Wei et al., 2022) suggests generating reasoning steps before producing an answer rather than directly generating an end-to-end solution. Building on CoT, Least-to-Most (Zhou et al., 2022) and DecomP (Khot et al., 2022) break questions into subproblems, where each step builds on previous ones. This task decomposition improves per- formance on complex problems by using intermediate subproblem results. Jin & Lu (2023) extends CoT with a table-filling approach, mainly for text-based tasks. As Chen (2023) reports, generic reasoning methods work reasonably well with LLMs, but there are gaps compared to table-specific methods (Cheng et al., 2022; Ye et al., 2023).
|
| 107 |
+
|
| 108 |
+
Still, CoT-based methods tailored to tabular data generally utilize external tools. Chen et al. (2022);
|
| 109 |
+
|
| 110 |
+
Gao et al. (2023) suggest using Python programs to solve reasoning tasks, significantly improving arithmetic reasoning. Text-to-SQL (Rajkumar et al., 2022) applies this approach to table under- standing, while Binder (Cheng et al., 2022) generates SQL or Python programs and extends their capability by calling LLMs as APIs. LEVER (Ni et al., 2023) further verifies the generated programs through execution results. However, these program-aided methods struggle with complex tables due to limitations of _single-pass_ generation, where LLMs cannot dynamically modify tables based on specific questions, relying instead on static tables. In contrast, our method adopts a _multi-step_ rea- soning framework that iteratively transforms tables to suit the given question.
|
| 111 |
+
|
| 112 |
+
Dater (Ye et al., 2023) and Chain of Table (Wang et al., 2024) modify tabular context during reason- ing. Dater was the first to introduce table decomposition, but mainly focused on data pre-processing, with operations limited to fixed column and row selections. Chain of Table generalized a wider range of table operations and _dynamically_ generates reasoning chains based on input, leveraging LLMs’ planning capabilities (Valmeekam et al., 2022; Hao et al., 2023). Despite these advance- ments, both approaches rely on quality, human-expert annotated initial prompts, with no easy way to tune prompts beyond manual trial and error.
|
| 113 |
+
|
| 114 |
+
2.3 AUTOMATED LLM CORRECTION: The idea of correction in LLM Agents has been recently popular (Agarwal et al., 2024; Singh et al., 2023; Gulcehre et al., 2023; Shinn et al., 2024; Huang et al., 2023; Feng et al., 2024; Yuksekgonul et al., 2024). The concept of “Reinforced ICL” (Agarwal et al., 2024) evaluates the CoT rationals on labeled data and retrieves reference data in the test time. While effective, this work does not explore the idea of error case correction or adding additional Prompt Conditions. Similarly, ”prethinking” on an unlabeled dataset, saving the high-confidence thoughts, and retrieving them boosts performance at inference-time for QA tasks (Li & Qiu, 2023). Huang et al. demonstrated that self-correction without ground truth does not perform well (Huang et al., 2023), which we also observed. Corrective retrieval has also been proposed (Yan et al., 2024; Asai et al., 2023)–Asai et al. demonstrated that finetuning an LLM to learn to retrieve raw data is beneficial for QA and long-form generation (Asai et al., 2023). Self-correction of text-to-SQL using ICL (Pourreza & Rafiei, 2024) has also been explored. However, to our knowledge, no approach has focused on the automatic correction of prompts for table understanding like in TableTextGrad.
|
| 115 |
+
|
| 116 |
+
3
|
| 117 |
+
|
| 118 |
+
## 3 METHODOLOGY
|
| 119 |
+
|
| 120 |
+
The general process is shown in Figure 1. The TableTextGrad framework is designed for automatic
|
| 121 |
+
|
| 122 |
+
prompt updating, enabling large language models (LLMs) to refine their reasoning over tabular data
|
| 123 |
+
|
| 124 |
+
through an iterative process that combines natural language feedback and gradient updates. We first
|
| 125 |
+
|
| 126 |
+
describe the general table understanding framework.
|
| 127 |
+
|
| 128 |
+
## 3.1 CHAIN OF TABLE BACKBONE
|
| 129 |
+
|
| 130 |
+
For general table understanding, we use Chain of Table (Wang et al., 2024) as the backbone, where LLM Agents engage in step-by-step, function-aided reasoning over the Table and Question, shown in Algorithm 1. We briefly overview how inference works in this section.
|
| 131 |
+
|
| 132 |
+
We convert the tables into a list of strings to make the tables interpretable by LLMs. For a given table-based reasoning task, we represent the given paired (table, query) as ( _T, Q_ ), where _T_ stands for the table and _Q_ represents a table-based question or a statement to be verified (to accommodate TabFact). The objective of the LLM is to predict the answer based on the corresponding ( _T, Q_ ).
|
| 133 |
+
|
| 134 |
+
**178 179 Algorithm 1** TableTextGrad Chain of Table Backbone **180 Inputs:** Table _T_ and Question _Q_ . **181 Outputs:** _A_[ˆ] predicted answer. 1: _chain ←_ [] 2: **while** _f_ = END **do** 3: _f ←_ prompt ~~n~~ ext ~~f~~ unction( _T, Q, chain_ ) # Get next table function 4: _args ←_ prompt ~~f a~~ rgs( _T, Q, f_ ) # Get arguments specific to table function _f_ 5: _T ← f_ ( _args, T_ ) # Apply processing to Table _T_ 6: _chain ← chain_ + [ _f, args_ ] # Update the chain of thought 7: **return** prompt ~~f~~ inal ~~q~~ uery( _T, Q_ ) # The output is predicted answer _A_[ˆ] The set of all functions _f_ is described as follows: • add column adds an additional column that may contain intermediate calculations. For ex- ample, if a table about athletes has Jennifer (US), Josh (UK), the model could call add column(country, [US, UK]). • group ~~b~~ y returns a secondary table (appended to the original table) of the count of each unique element in a column. This is similar to the pandas value ~~c~~ ounts function. • select ~~r~~ ow retains only certain relevant rows in the table. • select ~~c~~ olumn retains only certain relevant columns in the table. • sort ~~b~~ y sorts a column based on its numerical values, and the order can be specified (small-to- large or the reverse). Note that by default, Chain of Table’s select ~~r~~ ow and select ~~c~~ olumn _remove_ information from the table ( _hard selection_ ). However, in our proposed _soft selection_ , we simply _italicize_ the intersection of selected rows and columns, as shown in Figure 2. In raw text prompt format, we do this by adding asterisks to any *italicized text*. prompt ~~n~~ ext ~~f~~ unction is a prompt that generates one of the functions _f_ t. At any point, if no further processing is needed an END tag is predicted. prompt ~~f a~~ rgs is a separate prompt that generates the arguments to the specific _f_ . The separate nature of this allows many ICL examples of function _f_ usage to be shown, improving performance. Finally, prompt ~~f~~ inal ~~q~~ uery is the final prompt that asks the LLM to predict the answer after all _f_ table processing. For all prompts, multiple ICL examples are also included. 3.2 TABLETEXTGRAD
|
| 135 |
+
|
| 136 |
+
We overview our main contribution. TableTextGrad works similarly to the standard Machine Learn- ing training pipeline. First, an initial LLM (Agent 1) uses the Chain of Table backbone to iteratively generate table operations for table understanding, such as adding columns or filtering rows. Af- ter each step, the table is updated based on the generated function calls and function arguments, allowing for incremental selection and processing of relevant table data.
|
| 137 |
+
|
| 138 |
+
4
|
| 139 |
+
|
| 140 |
+
Next, in the Validation Phase, a second LLM agent (Agent 2) evaluates the predicted answers from Agent 1 for the table QA task using text matching (after processing to remove formatting). Natural language feedback of how to improve the prompt given any incorrect predictions is then backprop- agated as textual gradients, which are backpropagated to every prompting step used to generate the answer, encompassing all prompts used for function selection, function argument generation, and final table query. This refined prompt is validated by rerunning the new prompts for the Chain of Table on a validation set, and saved if the performance is better than the current set of prompts. Finally, after a certain number of batches, the best-performing set of prompts is returned. We detail TableTextGrad more formally in Algorithm 2.
|
| 141 |
+
|
| 142 |
+
**Algorithm 2** TableTextGrad Table Understanding **227 Inputs:** _Dtrain_ , _Dvalid, Dtest, Pinit_ is the training, validation, and test splits, and _Pinit_ is the initial prompt. Each _D_ is a set of Tables _T_ and Questions _Q_ . **229 Outputs:** _Ptuned_ is the tuned version from the initial prompt. 1: _Ptuned ← Pinit_ 2: # Obtain current Chain of Table inference performance on validation data for comparison 3: _lossval ←_[�] _loss_ ~~_f_~~ _n_ (COT( _T, Q, Pinit_ ) _, A_ ) _, ∀ T, Q, A ∈Dvalid_ 4: **for** Batch _∈Dtrain_ **do 233** 5: _loss ←_ 0 **234235** 6:7: **for** _A T, Q, A_ ˆ _←_ COT( _∈T, Q, P_ Batch **do** _tuned_ ) # Chain of Table onference 8: _loss_ += loss ~~f~~ n( _A, A_[ˆ] ) # String matching boolean for Table QA 9: _loss_ .backward() # Backpropagate textual gradients from _loss_ 10: _P[∗] ←_ optimizer.step() # Obtain potentially better performing prompts 11: _loss[∗] val[←]_[�] _[loss]_ ~~_f_~~ _n_ (COT( _T, Q, P[∗]_ ) _, A_ ) _, ∀ T, Q, A ∈Dvalid_ 12: **if** _loss[∗] val[< loss][val]_ **[then] 240** 13: _lossval, Ptuned ← loss[∗] val[, P][ ∗]_ # Save better performing prompts and _lossval_ 14: **return** _Ptuned_ The “.backward()” call is an LLM prompt that asks Agent 2 for criticisms to improve _Ptuned_ given _loss_ . This call is repeated to other parameters in the gradient graph using backpropagation. I.e. if the call was _X → Y → loss_ , the gradient backpropagation would look like the outputs to the following prompt:[1] _∂loss∂X_ = Here is a conversation _X, Y_ . Here are the criticisms on _Y_ : _∂loss∂Y_[.][Give][some] criticisms on improving _X_ . Similarly, the optimizer.step() call is an LLM prompt that asks Agent 2 to return an updated _P[∗]_ that incorporates the criticisms from the backward call. We note that there is no learning rate, and the optimizer.step() function is a prompt to Agent 2 on how the current parameters can be improved based on _loss_ . Additionally, while Agent 1 and Agent 2 may be the same LLM, in practice, we use more powerful models for Agent 2 vs Agent 1 in order to have better possible textual gradients. Furthermore, because we rely on LLM output, _loss_ .backward() and optimizer.step() prompts may crash due to length constraints / general power of the LLM. To reduce this risk, we found that explicitly excluding lengthy ICL examples from _Pinit_ and adding that as a prompt input (i.e. adding ICL examples to _Q_ instead) was useful. 3.3 DATASETS AND BASELINES We assess TableTextGrad on two commonly Table 1: Dataset Statistics used datasets: WikiTableQA (WikiTQ) (PasuWikiTQ TabFact pat & Liang, 2015) and TabFact (Chen et al., Questions Tables Questions Tables 2019) (Table 1). WikiTQ focuses on table- based question answering, demanding complex Train 14,148 1,679 92,283 13,182 reasoning over tables with short-text answers, Valid 3,536 1,455 12,792 1,696 whereas TabFact is a benchmark for binary fact Test 4,344 421 2,024 298 verification, evaluating the truthfulness of state-
|
| 143 |
+
|
| 144 |
+
1This example is taken directly from Yuksekgonul et al. (2024)
|
| 145 |
+
|
| 146 |
+
5
|
| 147 |
+
|
| 148 |
+
ments derived from table data. Consistent with prior research, we report performance metrics using cleaned string matching for WikiTQ and binary prediction accuracy for TabFact. Both WikiTQ and FeTaQA are datasets aimed at table-based question answering, requiring sophis- ticated reasoning across tables. WikiTQ typically involves short-text span answers, while FeTaQA asks for more detailed, free-form responses. Conversely, TabFact is a binary fact verification task that requires determining whether a given statement is true or false based on table data. For WikiTQ, we evaluate performance using string matching accuracy (post-processing for consistency), and for TabFact, we use binary classification accuracy as the metric. The baseline methods are Table 2: Accuracy comparisons of all baselines vs Table- divided into two categories. TextGrad. Results are copied from the original papers’ most rel- Finetuning-based are methods evant and best-performing configurations (missing results are de- that require training the weights noted with a dash “-”). The best performance is **bolded** . The sec- ofmethodsa base likemodel.UnifiedskgThis includes(Xie ond best performance isbackbone implementation in TableTextGrad, without any tuning. underlined. Chain of Table _[∗]_ denotes our et al., 2022), PASTA (Gu et al., TableTextGrad _SF_ denotes our method with soft selection and 2022), and CABINET (Patnaik full pipeline gradient tuning. et al., 2024). **Approach Base Model TabFact WikiTQ 287** The second category are in- **Finetuning-Based 288** ference only methods such as Unifiedskg (Xie et al., 2022) T5 3B 83.68 49.29 **289290291** Chain-of-Thought2022),et al., Text-to-SQL2022), Binder(Wei(Rajkumar(Chenget al., CABINET REASTAP (Zhao et al., 2022)OmniTab (Jiang et al., 2022)PASTA (Gu et al., 2022)(Patnaik et al., 2024) BART-LargeDeBERTaV3BART-LargeBART-Large 80.185.60--62.8069.1058.6 et al., 2022), and Dater (Ye et al., **LLM Prompting 293** 2023). Chain-of-Thought (Wei BINDER (Cheng et al., 2022) GPT-3 Codex 86.00 64.60 et al., 2022) prompts the LLM DATER (Ye et al., 2023) GPT-3 Codex 85.60 65.90 to explain its reasoning process STRUCTGPT (Jiang et al., 2023) GPT 3.5 87.60 57.00 before answering the question. Chain-of-Thought (Wei et al., 2022) PaLM 2 79.05 60.43 Text-to-SQL (Rajkumar et al., E5 (Zhang et al., 2024) GPT-4 **88.77** 65.54 2022) uses in-context examples Chain of Table (Wang et al., 2024) GPT 3.5 80.20 59.94 to guide the LLM in generatChain of Table (Wang et al., 2024) PaLM 2 86.11 67.31 ing SQL queries for answering Chain of Table _[∗]_ Llama 3.1 70B 85.05 63.58 questions (Chen et al., 2022; Chain of Table _[∗]_ GPT 4o mini 81.20 60.34 Gao et al., 2023). Binder (Cheng Chain of Table _[∗]_ GPT 4o 86.41 64.95 et al., 2022) combines a lanTableTextGradTableTextGrad _SA SA_ Llama 3.1 70BGPT 4o mini 87.0586.62 70.5864.14 guage model API with SQL or TableTextGrad _SA_ GPT 4o 88.75 **75.10 304** Python to generate executable programs that reason over the table. Dater (Ye et al., 2023) uses few-shot examples to decompose complex table contexts and questions into smaller sub-tables and sub-questions, enhancing table reasoning. Note that we slightly distinguish between the default Chain of Table implementation and our reim- plementation with a _[∗]_ , since small changes may slightly affect downstream performance. 4 RESULTS We see the results in Table 2 to the right (FeTaQA results are shown in Appendix A.3). The table presents accuracy comparisons across different approaches for the TabFact and WikiTQ datasets, In finetuning-based methods, which involve model adaptation to specific tasks, PASTA (Gu et al., 2022) performs well on TabFact with accuracies of 85.60, while CABINET (Patnaik et al., 2024) leads WikiTQ with 69.10%. However, these methods require extensive finetuning on the dataset, which can limit generalizability. While fine-tuning methods can provide high accuracy, the versatility and competitive performance of LLM prompting strategies also offer compelling performance. Models leverage pre-trained LLMs without task-specific finetuning, both the Chain of Table base model and our re-implementation demonstrate strong baseline performance, achieving competitive results. The GPT 4o version
|
| 149 |
+
|
| 150 |
+
6
|
| 151 |
+
|
| 152 |
+
achieves the best performance on both TabFact (86.41%) and WikiTQ (64.95%) out of the box, surpassing prior approaches by using more recent LLMs. The proposed TableTextGrad approach (highlighted as TableTextGrad and TableTextGrad _SA_ ) demonstrates impressive results in this LLM prompting setting. Notably, TableTextGrad _SA_ , which incorporates soft selection and the full pipeline gradient tuning, achieves strong performance with 88.75% on TabFact (within .02 from SOTA) and 75.10% on WikiTQ, highlighting the Table- TextGrad’s effectiveness. These results show that gradient-based refinement techniques help op- timize task-specific accuracy, with little to no human effort. 4.1 SOFT VS HARD TABLE SELECTION Figure 2 illustrates the difference between hard and soft table selection. **336 337 Hard vs Soft Table Selection 338 Table Data 339 340** **`Rank Nation Gold Silver Bronze` Hard Selection Soft Selection** **`select_row(` 341** **`1 Russia 6 3 7 row 1, row 2 ) Rank`** _**`Nation`**_ **`Gold Silver`** _**`Bronze`**_ **`2 US 5 9 4 -> Nation Bronze ...` Agent 1** **`select_column(`** _**`1 Russia 6 3 7`**_ **`25 Total 29 29 29 Nation, Bronze Russia 7`** _**`2 US 5 9 4`**_ **`) US 4 ...` 345** **`Question: What is the totalamount of nations with > 5 25`** _**`Total`**_ **`29 29`** _**`29`**_ **`bronze medals?` 347 348 349** Figure 2: On the left, a table with data on nations’ medal counts is presented, along with a question about the total number of nations with more than 5 bronze medals. In the center, an agent performs a hard selection by choosing specific rows and columns, reducing the table to only the relevant data (Russia and US in the “Nation” and “Bronze” columns). On the right, the soft selection highlights (in italics) the relevant cells without excluding the rest of the table’s content. This approach retains broader contextual information, allowing for a more comprehensive understanding of the data while emphasizing critical details. Table 3: Ablations: Table understanding results on WikiTQ and TabFact with GPT 4o mini, GPT 4o, and Llama 3.1 70b. _H_ and _S_ denotes hard and soft selection respectively. _A_ and _L_ denote all prompts tuned vs only the last prompt tuned respectively (underline denotes the second-best performance; **bold** denotes the best performance) **362 Llama 3.1 70B GPT 4o mini GPT 4o 363 Ablations TabFact WikiTQ TabFact WikiTQ TabFact WikiTQ 364** TableTextGrad _HA_ 86.56 66.30 86.35 62.89 88.42 73.02 TableTextGrad _SA_ **87.05 70.58 86.62 64.14 88.75 75.10 366** TableTextGrad _HL_ 86.76 66.66 85.11 60.29 87.12 72.96 TableTextGrad _SL_ 86.62 68.58 84.86 61.20 88.20 73.24 In nearly all cases, tuning all prompts yields better performance compared to tuning only the last prompt. This suggests that fine-tuning the entire prompt chain allows the model to better optimize reasoning across all steps, not just the final output generation. Tuning all prompts also consistently leads to superior or equal results across both datasets, regard- less of the underlying model. This reinforces the importance of maintaining flexibility throughout the entire reasoning pipeline, as each prompt step contributes to more accurate responses, particu- larly in complex tasks such as WikiTQ. While last prompt tuned does not outperform full-prompt tuning, its competitive performance highlights the efficiency of tuning just the final step. For in- stance, with GPT 4.0 on TabFact, TableTextGrad _HL_ achieves 87.12%, which is only slightly lower
|
| 153 |
+
|
| 154 |
+
Tuning all prompts also consistently leads to superior or equal results across both datasets, regardless of the underlying model. This reinforces the importance of maintaining flexibility throughout the entire reasoning pipeline, as each prompt step contributes to more accurate responses, particularly in complex tasks such as WikiTQ. While last prompt tuned does not outperform full-prompt tuning, its competitive performance highlights the efficiency of tuning just the final step. For instance, with GPT 4.0 on TabFact, TableTextGrad _HL_ achieves 87.12%, which is only slightly lower than the 88.75% of best-performing TableTextGrad _SA_ . This shows that, in resource-constrained
|
| 155 |
+
|
| 156 |
+
7
|
| 157 |
+
|
| 158 |
+
- environments, tuning only the final prompt could offer a more efficient alternative with minimal
|
| 159 |
+
|
| 160 |
+
- performance trade-offs.
|
| 161 |
+
|
| 162 |
+
- The performance gap between tuning all prompts and tuning the last prompt is slightly more pro- nounced in smaller models (e.g., GPT 4o mini), where full-prompt tuning tends to offer a greater boost in performance. This indicates that larger models like GPT 4o are more robust to freezing
|
| 163 |
+
|
| 164 |
+
- earlier prompts, likely because they possess stronger generalization capabilities.
|
| 165 |
+
|
| 166 |
+
- 4.2 TUNING ALL PROMPTS VS TUNING FINAL PROMPT
|
| 167 |
+
|
| 168 |
+
-
|
| 169 |
+
|
| 170 |
+
- Similar to the common practice of fine-tuning only the last layer of a deep learning model, it is
|
| 171 |
+
|
| 172 |
+
- reasonable to hypothesize that fine-tuning just the final query prompt in the table QA pipeline could yield competitive results while reducing the computational cost. In this ablation, we explore the impact of fine-tuning only the final ~~q~~ uery table QA prompt while keeping all prior prompts in the reasoning chain frozen. The rationale behind this approach is that the earlier prompts are likely responsible for general task understanding and contextual reasoning, while the final prompt directly governs the model’s response generation.
|
| 173 |
+
|
| 174 |
+
This ablation helps isolate the contributions of the final prompt in guiding table-based question an-
|
| 175 |
+
|
| 176 |
+
swering, as well as assessing the role of prior prompts in contributing to overall system performance.
|
| 177 |
+
|
| 178 |
+
If fine-tuning the last prompt yields performance close to full-prompt tuning, this approach could provide a significant efficiency advantage, reducing the number of parameters that require updat- ing during training and consequently lowering memory and compute requirements. The results in Table 3 show that while tuning the final prompt alone achieves reasonable performance, it does not match the results of tuning the entire set of prompts. This suggests that earlier prompts play an integral role in step-by-step reasoning over table data, and their fixed nature might hinder the model’s ability to fully optimize reasoning paths. However, the final prompt fine-tuning still offers a computationally efficient alternative, especially in scenarios with limited resources or when rapid deployment is required. 4.3 EFFECT OF TABLE LENGTH ON PERFORMANCE
|
| 179 |
+
|
| 180 |
+
We investigate the effect of lengths of tables on performance. Table 4: Results on different table lengths. Small Tables are those where the sum of all the tokens of the table are _<_ 33 percentile. Medium are those _>_ 33 percentile and _<_ 67 percentile. Large Tables are those _>_ 67 percentile. We choose to show the results of the best-performing version of Table- TextGrad _SA_ . **413 Llama 3.1 70B GPT 4o mini GPT 4o 414 Table Lengths TabFact WikiTQ TabFact WikiTQ TabFact WikiTQ 415 416** Small Tables 91.12 81.81 87.50 66.14 92.52 83.96 Medium Tables 87.16 70.29 85.98 64.89 88.46 72.38 Large Tables 86.54 62.52 84.40 62.29 85.32 69.72 From Table 4, across all models and datasets, performance generally decreases as the table size increases. For example, with GPT 4.0 on WikiTQ, small tables yield an accuracy of 83.96, high- lighting the increased difficulty in reasoning over larger tables where more tokens must be processed and contextualized. The highest performance is consistently seen on small tables across models and tasks. For instance, GPT 4o achieves 92.52% accuracy on TabFact and 83.96% on WikiTQ, which are the highest results for each dataset. This suggests that when the input is more concise, Table- TextGrad can reason more effectively, likely due to the reduced complexity and need for processing
|
| 181 |
+
|
| 182 |
+
less information. As expected, large tables lead to the lowest performance. The increase in token
|
| 183 |
+
|
| 184 |
+
count likely overwhelms the model’s ability to capture relevant information efficiently, especially
|
| 185 |
+
|
| 186 |
+
when complex reasoning is required. Smaller models like GPT 4.0 mini seem to have a lower ceil-
|
| 187 |
+
|
| 188 |
+
ing, the 4% difference between small tables and large tables is small compared to larger models like GPT 4o, which drops from 83.96% to 69.72%. This indicates a higher sensitivity to the input length for more powerful LLMs. These results follow the trend of other models, such as Chain-of-Table and Dater.
|
| 189 |
+
|
| 190 |
+
8
|
| 191 |
+
|
| 192 |
+
0.8 0.8 0.6 0.6 0.4 0.4 0.2 Abl: Noisy Init. Val 0.2 Abl: Noisy Qs Val Abl: Noisy Init. Test Abl: Noisy Qs Test 0.0 0.0 0 5 10 15 20 25 0 5 10 15 20 25 Training Steps Training Steps Figure 3: 2 experiments showing the effectiveness of TableTextGrad on noisy inputs. The exper- iment on the left starts with a poorly initialized final query prompt. The experiment on the right demonstrates TableTextGrad’s ability to deal with noisy/irrelevant questions. 4.4 ROBUSTNESS TO POOR PROMPT INITILIZATIONS In this section, we investigate a worst-case scenario where the initialized final query prompt is very poorly initialized. We perform experiments on a 200-sample subset of WikiTQ (100 for training, 100 for testing). The final prompt will be initialized as the following: Here is a table and a question. Return "I don’t know". (The usual prompt is shown in App. A.9.6) We also remove the ICL examples for the final query, so that the model has no information to work with, and has to learn how to answer the question from the training data starting from scratch. We use TableTextGrad _SL_ to keep the maximum amount of information from the tables and only tune the final query prompt. From Figure 3, we see that TableTextGrad is able to achieve a respectable accuracy of 0.6 starting essentially from scratch. This highlights the power of TableTextGrad as well as the need for good initialization. The final prompt is in Appendix A.8.1. 4.5 ROBUSTNESS TO IRRELEVANT QUESTIONS To test how our model performs a more difficult task with noisy input, we investigate a scenario where irrelevant information is added to questions to simulate an imperfect scenario. To do this, we add 4 randomly sampled questions from other tables so that the Agent has to identify the relevant question as well as answer it. Such a task would usually require significant methodology changes to address, but with TableTextGrad, the training step can automatically learn to parse out relevant information. For similar reasons as the previous experiment, we utilize TableTextGrad _SL_ . The results in Figure 3 demonstrate that TableTextGrad is indeed able to learn how to select and return the correct answer, at least 40% of the time. This simple experiment demonstrates the flexibility and usefulness of automatically tunable prompting pipelines. The final prompt is in Appendix A.8.2/ 4.6 TRAINING PERFORMANCE MIRRORS ML TRAINING CURVES This corresponds to the number of batches in _Dtrain_ in Algorithm 2. For best performance, we run as many iterations as feasible with as many validation data points as possible. In our case, we run 32 iterations at 100 validation data points, sampled randomly for fairness. Note that we only chose a smaller number of validation datapoints since we have to run each one num ~~t~~ rain ~~i~~ terations times, which begins to become expensive. Each batch in the training set consists of 4 data points at each iteration. We found that batch size was relatively robust. See Appendix for more details. Across all models and datasets, validation accuracy rapidly increases within the first few training steps (often before 10 steps) and then plateaus. This indicates that TableTextGrad quickly converges to a high level of accuracy during training. In general, the test performance aligns closely with the validation accuracy, suggesting that the small validation set is reasonably representative of the test set. This demonstrates that the model generalizes well from the validation set to the test set across different configurations. Larger models such as GPT 4o and LLaMA 3.1 70B tend to achieve higher test and validation accuracy compared to the smaller GPT 4o mini across both datasets. For instance, GPT 4o reaches near-perfect validation and test scores in both TabFact and WikiTQ, whereas GPT 4o mini shows a more gradual rise and slightly lower final performance. Both models generally perform better on TabFact compared to WikiTQ. This is evident from the higher plateaus
|
| 193 |
+
|
| 194 |
+
9
|
| 195 |
+
|
| 196 |
+
GPT 4o Tabfact GPT 4o mini Tabfact Llama 3.1 70B Tabfact 1.0 1.0 1.0 0.9 0.9 0.9 0.8 0.8 0.8 0.7 0.7 0.7 0 5 10 15 20 25 30 0 5 10 15 20 25 30 0 5 10 15 20 25 30 1.0 GPT 4o WTQ 1.0 GPT 4o mini WTQ 1.0 Llama 3.1 70B WTQ 0.9 0.9 0.9 0.8 0.8 0.8 0.7 0.7 0.7 0.6 0.6 0.6 0 5 10 15 20 25 30 0 5 10 15 20 25 30 0 5 10 15 20 25 30 Figure 4: Validation accuracy of TableTextGrad on both the TabFact (top row) and WikiTQ (bottom row) datasets, with three different models: GPT 4o, GPT 4o mini, and LLaMA 3.1 70B. Each plot presents the validation performance (blue line) over the course of 32 training steps, and the test performance (red dashed line) is shown for comparison. reached in validation accuracy for TabFact across all models. This trend likely reflects the additional complexity of WikiTQ, which requires more advanced reasoning over tabular data. 4.7 EFFICIENCY ANALYSIS The efficiency of TableTextGrad is an important factor in its overall utility, especially compared to other table understanding approaches. Building on the relatively lightweight requirements of Chain of Table backbone, TableTextGrad’s gradient-based refinement process incurs some additional computational costs. Specifically, the efficiency is driven by the fact that each gradient step requires only _O_ (10 _×_ number of training sample _×_ number of validation points), where the maximum length of the table reasoning pipeline is 5, and each step in the pipeline outputs a response that also has to be backpropagated through. This means that the computational overhead scales with the size of the training set _×_ validation set. Still, this is entirely manageable even for larger datasets, as seen in Section 4.6. We see that TableTextGrad converges closer to the beginning, potentially allowing for smaller amounts of training data. Given that many table understanding methods require more resource-intensive operations, such as full model finetuning or multiple self-consistency runs as in Dater, we argue that TableTextGrad ’s approach is worth it to reduce the work of manual prompt optimization. A further discussion is shown in App. A.2. 5 CONCLUSION In conclusion, table understanding presents a unique challenge, requiring both the comprehension of free-form questions and precise reasoning over semi-structured data. While recent prompting-based approaches leveraging Chain-of-Thought reasoning and function calls have shown promise without fine-tuning, the difficulty of designing effective initial prompts remains a critical barrier. Our proposed TableTextGrad framework introduces a novel extension of TextGrad principles to this do- main, addressing the inherent complexity of conditional branching prompt pipelines. TableTextGrad not only demonstrates state-of-the-art performance on WikiTableQA, TabFact, and FeTaQA bench- marks but also proves to be robust and adaptable. Through experiments with poor prompt initializa- tion and noisy questions, we illustrate its ability to recover and optimize performance under chal- lenging conditions, showcasing its resilience compared to static, manually designed prompts. More- over, experiments on prompt initialization robustness and robustness to noisy questions demonstrate the framework’s flexibility, highlighting its potential for broader applications in table reasoning and beyond.
|
| 197 |
+
|
| 198 |
+
10
|
| 199 |
+
|
| 200 |
+
## LIMITATIONS
|
| 201 |
+
|
| 202 |
+
- In its current form, TableTextGrad focuses on optimizing reasoning and prompt refinement for stan-
|
| 203 |
+
|
| 204 |
+
- dard table reasoning tasks within the token limit constraints of large language models (LLMs).
|
| 205 |
+
|
| 206 |
+
- While the framework demonstrates state-of-the-art results on WikiTableQA and TabFact, handling very large tables presents a challenge due to the inherent length limitations of LLMs. These con- straints can affect the efficiency of reasoning over tables with extensive rows and columns, where memory and attention span become critical bottlenecks.
|
| 207 |
+
|
| 208 |
+
- To address this, TableTextGrad can be augmented with approaches such as TableRAG: Million-
|
| 209 |
+
|
| 210 |
+
- Token Table Understanding with Language Models or Tree-of-Table: Unleashing the Power of
|
| 211 |
+
|
| 212 |
+
- LLMs for Enhanced Large-Scale Table Understanding. Both techniques enable more scalable ta- ble understanding by partitioning or hierarchically structuring the table data to fit within the to- ken constraints while maintaining semantic coherence. TableRAG Chen et al. (2024) introduces a retrieval-augmented mechanism, breaking large tables into smaller, manageable chunks and retriev- ing only the most relevant pieces for reasoning. Similarly, Tree-of-Table Ji et al. (2024) leverages a hierarchical attention mechanism that processes large-scale tables in a tree-like structure, enabling reasoning across expansive data while staying within the model’s operational limits.
|
| 213 |
+
|
| 214 |
+
- Integrating these methods with TableTextGrad would allow our framework to extend its applicability to large-scale tables, leveraging its iterative optimization capabilities on partitioned or hierarchically processed data. This combination not only addresses the token length limitations but also preserves the core advantages of TableTextGrad, such as its automated refinement of reasoning paths and ro- bustness to noisy or poor initial prompts. We recognize this as a promising direction for future work, extending the utility of TableTextGrad to more complex and large-scale table reasoning scenarios.
|
| 215 |
+
|
| 216 |
+
Further future work could involve extending TableTextGrad to hierarchical table structures such as
|
| 217 |
+
|
| 218 |
+
those found in HiTab Cheng et al. (2021). Hierarchical tables present unique challenges compared to
|
| 219 |
+
|
| 220 |
+
flat tables, as reasoning often involves navigating nested relationships between rows and columns. Although this is currently not in scope with our existing work of flat tables, adapting our Table- TextGrad could broaden its applicability to more complex and realistic real-world tabular datasets.
|
| 221 |
+
|
| 222 |
+
REFERENCES
|
| 223 |
+
|
| 224 |
+
- Rishabh Agarwal, Avi Singh, Lei M Zhang, Bernd Bohnet, Stephanie Chan, Ankesh Anand, Zaheer Abbas, Azade Nova, John D Co-Reyes, Eric Chu, et al. Many-shot in-context learning. _arXiv_ _preprint arXiv:2404.11018_ , 2024.
|
| 225 |
+
|
| 226 |
+
- Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, and Hannaneh Hajishirzi. Self-rag: Learning to retrieve, generate, and critique through self-reflection. _arXiv preprint arXiv:2310.11511_ , 2023.
|
| 227 |
+
|
| 228 |
+
-
|
| 229 |
+
|
| 230 |
+
- Michael J. Cafarella, Alon Halevy, Daisy Zhe Wang, Eugene Wu, and Yang Zhang. Webtables: Exploring the power of tables on the web. _Proc. VLDB Endow._ , 1(1):538–549, aug 2008. ISSN 2150-8097. doi: 10.14778/1453856.1453916.
|
| 231 |
+
|
| 232 |
+
-
|
| 233 |
+
|
| 234 |
+
- Si-An Chen, Lesly Miculicich, Julian Martin Eisenschlos, Zifeng Wang, Zilong Wang, Yanfei Chen, Yasuhisa Fujii, Hsuan-Tien Lin, Chen-Yu Lee, and Tomas Pfister. Tablerag: Million-token table understanding with language models. _arXiv preprint arXiv:2410.04739_ , 2024. Wenhu Chen. Large language models are few(1)-shot table reasoners. In _Findings of the Association for Computational Linguistics: EACL 2023_ , pp. 1120–1130, Dubrovnik, Croatia, May 2023.
|
| 235 |
+
|
| 236 |
+
- Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-eacl.83.
|
| 237 |
+
|
| 238 |
+
-
|
| 239 |
+
|
| 240 |
+
- Wenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang, Hong Wang, Shiyang Li, Xiyou Zhou, and William Yang Wang. Tabfact: A large-scale dataset for table-based fact verification. In _International Conference on Learning Representations_ , 2019.
|
| 241 |
+
|
| 242 |
+
-
|
| 243 |
+
|
| 244 |
+
- Wenhu Chen, Xueguang Ma, Xinyi Wang, and William W Cohen. Program of thoughts prompt- ing: Disentangling computation from reasoning for numerical reasoning tasks. _arXiv preprint arXiv:2211.12588_ , 2022.
|
| 245 |
+
|
| 246 |
+
11
|
| 247 |
+
|
| 248 |
+
Zhoujun Cheng, Haoyu Dong, Zhiruo Wang, Ran Jia, Jiaqi Guo, Yan Gao, Shi Han, Jian-Guang Lou, and Dongmei Zhang. Hitab: A hierarchical table dataset for question answering and natural language generation. _arXiv preprint arXiv:2108.06712_ , 2021. Zhoujun Cheng, Tianbao Xie, Peng Shi, Chengzu Li, Rahul Nadkarni, Yushi Hu, Caiming Xiong, Dragomir Radev, Mari Ostendorf, Luke Zettlemoyer, et al. Binding language models in symbolic languages. In _International Conference on Learning Representations_ , 2022. Julian Eisenschlos, Syrine Krichene, and Thomas M¨uller. Understanding tables with intermediate pre-training. In _Findings of the Association for Computational Linguistics: EMNLP 2020_ , pp. 281–296, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/ 2020.findings-emnlp.27. Tao Feng, Pengrui Han, Guanyu Lin, Ge Liu, and Jiaxuan You. Thought-retriever: Don’t just retrieve raw data, retrieve thoughts. In _ICLR 2024 Workshop: How Far Are We From AGI_ , 2024. Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. PAL: Program-aided language models. In _International Conference on Machine_ _Learning_ , pp. 10764–10799. PMLR, 2023. Zihui Gu, Ju Fan, Nan Tang, Preslav Nakov, Xiaoman Zhao, and Xiaoyong Du. PASTA: Table- operations aware fact verification via sentence-table cloze pre-training. In _Proceedings of the_ _2022 Conference on Empirical Methods in Natural Language Processing_ , pp. 4971–4983, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.emnlp-main.331. Caglar Gulcehre, Tom Le Paine, Srivatsan Srinivasan, Ksenia Konyushkova, Lotte Weerts, Abhishek Sharma, Aditya Siddhant, Alex Ahern, Miaosen Wang, Chenjie Gu, et al. Reinforced self-training (rest) for language modeling. _arXiv preprint arXiv:2308.08998_ , 2023. Shibo Hao, Yi Gu, Haodi Ma, Joshua Jiahua Hong, Zhen Wang, Daisy Zhe Wang, and Zhiting Hu. Reasoning with language model is planning with world model. _arXiv preprint arXiv:2305.14992_ , 2023. Jonathan Herzig, Pawel Krzysztof Nowak, Thomas M¨uller, Francesco Piccinno, and Julian Eisen- schlos. TaPas: Weakly supervised table parsing via pre-training. In _Proceedings of the 58th_ _Annual Meeting of the Association for Computational Linguistics_ , pp. 4320–4333, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.398. Cheng-Yu Hsieh, Chun-Liang Li, Chih-kuan Yeh, Hootan Nakhost, Yasuhisa Fujii, Alex Ratner, Ranjay Krishna, Chen-Yu Lee, and Tomas Pfister. Distilling step-by-step! outperforming larger language models with less training data and smaller model sizes. In _Findings of the Association_ _for Computational Linguistics: ACL 2023_ . Association for Computational Linguistics, 2023. Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Wei Yu, Xinying Song, and Denny Zhou. Large language models cannot self-correct reasoning yet. _arXiv preprint_ _arXiv:2310.01798_ , 2023. Deyi Ji, Lanyun Zhu, Siqi Gao, Peng Xu, Hongtao Lu, Jieping Ye, and Feng Zhao. Tree-of- table: Unleashing the power of llms for enhanced large-scale table understanding. _arXiv preprint_ _arXiv:2411.08516_ , 2024. Jinhao Jiang, Kun Zhou, Zican Dong, Keming Ye, Wayne Xin Zhao, and Ji-Rong Wen. Structgpt: A general framework for large language model to reason over structured data. _arXiv preprint_ _arXiv:2305.09645_ , 2023.
|
| 249 |
+
|
| 250 |
+
- Zhengbao Jiang, Yi Mao, Pengcheng He, Graham Neubig, and Weizhu Chen. OmniTab: Pretraining with natural and synthetic data for few-shot table-based question answering. In _Proceedings of the_ _2022 Conference of the North American Chapter of the Association for Computational Linguis-_ _tics: Human Language Technologies_ , pp. 932–942, Seattle, United States, July 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.naacl-main.68.
|
| 251 |
+
|
| 252 |
+
12
|
| 253 |
+
|
| 254 |
+
Nengzheng Jin, Joanna Siebert, Dongfang Li, and Qingcai Chen. A survey on table question an- swering: recent advances. In _China Conference on Knowledge Graph and Semantic Computing_ , pp. 174–186. Springer, 2022.
|
| 255 |
+
|
| 256 |
+
- Ziqi Jin and Wei Lu. Tab-cot: Zero-shot tabular chain of thought. _arXiv preprint arXiv:2305.17812_ , 2023.
|
| 257 |
+
|
| 258 |
+
-
|
| 259 |
+
|
| 260 |
+
Tushar Khot, Harsh Trivedi, Matthew Finlayson, Yao Fu, Kyle Richardson, Peter Clark, and Ashish Sabharwal. Decomposed prompting: A modular approach for solving complex tasks. In _Interna-_ _tional Conference on Learning Representations_ , 2022.
|
| 261 |
+
|
| 262 |
+
- Peng Li, Yeye He, Dror Yashar, Weiwei Cui, Song Ge, Haidong Zhang, Danielle Rifinski Fainman, Dongmei Zhang, and Surajit Chaudhuri. Table-gpt: Table-tuned gpt for diverse table tasks. _arXiv_ _preprint arXiv:2310.09263_ , 2023.
|
| 263 |
+
|
| 264 |
+
- Xiaonan Li and Xipeng Qiu. Mot: Memory-of-thought enables chatgpt to self-improve. In _Pro-_ _ceedings of the 2023 Conference on Empirical Methods in Natural Language Processing_ , pp. 6354–6374, 2023. Qian Liu, Bei Chen, Jiaqi Guo, Morteza Ziyadi, Zeqi Lin, Weizhu Chen, and Jian-Guang Lou. TAPEX: Table pre-training via learning a neural sql executor. In _International Conference on_
|
| 265 |
+
|
| 266 |
+
- _Learning Representations_ , 2021.
|
| 267 |
+
|
| 268 |
+
- Tianyang Liu, Fei Wang, and Muhao Chen. Rethinking tabular data understanding with large lan- guage models. _arXiv preprint arXiv:2312.16702_ , 2023. Linyong Nan, Chiachun Hsieh, Ziming Mao, Xi Victoria Lin, Neha Verma, Rui Zhang, Wojciech Kry´sci´nski, Hailey Schoelkopf, Riley Kong, Xiangru Tang, Mutethia Mutuma, Ben Rosand, Is-
|
| 269 |
+
|
| 270 |
+
- abel Trindade, Renusree Bandaru, Jacob Cunningham, Caiming Xiong, Dragomir Radev, and
|
| 271 |
+
|
| 272 |
+
- Dragomir Radev. FeTaQA: Free-form table question answering. _Transactions of the Association_
|
| 273 |
+
|
| 274 |
+
- _for Computational Linguistics_ , 10:35–49, 2022. doi: 10.1162/tacl _\_ ~~a~~ _\_ ~~0~~ 0446.
|
| 275 |
+
|
| 276 |
+
- Ansong Ni, Srini Iyer, Dragomir Radev, Veselin Stoyanov, Wen-tau Yih, Sida Wang, and Xi Victoria Lin. Lever: Learning to verify language-to-code generation with execution. In _International_ _Conference on Machine Learning_ , pp. 26106–26128. PMLR, 2023. Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. In _Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics_ _and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long_ _Papers)_ , pp. 1470–1480, Beijing, China, July 2015. Association for Computational Linguistics. doi: 10.3115/v1/P15-1142. Sohan Patnaik, Heril Changwal, Milan Aggarwal, Sumita Bhatia, Yaman Kumar, and Balaji Krish-
|
| 277 |
+
|
| 278 |
+
- namurthy. Cabinet: Content relevance based noise reduction for table question answering. _arXiv_
|
| 279 |
+
|
| 280 |
+
- _preprint arXiv:2402.01155_ , 2024.
|
| 281 |
+
|
| 282 |
+
- Mohammadreza Pourreza and Davood Rafiei. Din-sql: Decomposed in-context learning of text-to- sql with self-correction. _Advances in Neural Information Processing Systems_ , 36, 2024. Nitarshan Rajkumar, Raymond Li, and Dzmitry Bahdanau. Evaluating the text-to-sql capabilities of
|
| 283 |
+
|
| 284 |
+
- large language models. _arXiv preprint arXiv:2204.00498_ , 2022.
|
| 285 |
+
|
| 286 |
+
- Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. _Advances in Neural Information Processing_ _Systems_ , 36, 2024. Avi Singh, John D Co-Reyes, Rishabh Agarwal, Ankesh Anand, Piyush Patil, Peter J Liu, James
|
| 287 |
+
|
| 288 |
+
- Harrison, Jaehoon Lee, Kelvin Xu, Aaron Parisi, et al. Beyond human data: Scaling self-training
|
| 289 |
+
|
| 290 |
+
- for problem-solving with language models. _arXiv preprint arXiv:2312.06585_ , 2023. Karthik Valmeekam, Alberto Olmo, Sarath Sreedharan, and Subbarao Kambhampati. Large lan- guage models still can’t plan (a benchmark for llms on planning and reasoning about change). In _NeurIPS 2022 Foundation Models for Decision Making Workshop_ , 2022.
|
| 291 |
+
|
| 292 |
+
13
|
| 293 |
+
|
| 294 |
+
- Zhiruo Wang, Haoyu Dong, Ran Jia, Jia Li, Zhiyi Fu, Shi Han, and Dongmei Zhang. TUTA: Tree-
|
| 295 |
+
|
| 296 |
+
- based transformers for generally structured table pre-training. In _Proceedings of the 27th ACM_ _SIGKDD Conference on Knowledge Discovery & Data Mining_ , pp. 1780–1790, 2021.
|
| 297 |
+
|
| 298 |
+
- Zilong Wang, Hao Zhang, Chun-Liang Li, Julian Martin Eisenschlos, Vincent Perot, Zifeng Wang, Lesly Miculicich, Yasuhisa Fujii, Jingbo Shang, Chen-Yu Lee, et al. Chain-of-table: Evolving tables in the reasoning chain for table understanding. _arXiv preprint arXiv:2401.04398_ , 2024.
|
| 299 |
+
|
| 300 |
+
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. _Advances in_ _Neural Information Processing Systems_ , 35:24824–24837, 2022.
|
| 301 |
+
|
| 302 |
+
-
|
| 303 |
+
|
| 304 |
+
- Tianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong, Torsten Scholak, Michihiro Yasunaga, Chien-Sheng Wu, Ming Zhong, Pengcheng Yin, Sida I Wang, et al. Unifiedskg: Unifying and
|
| 305 |
+
|
| 306 |
+
- multi-tasking structured knowledge grounding with text-to-text language models. _arXiv preprint_
|
| 307 |
+
|
| 308 |
+
- _arXiv:2201.05966_ , 2022.
|
| 309 |
+
|
| 310 |
+
-
|
| 311 |
+
|
| 312 |
+
- Shi-Qi Yan, Jia-Chen Gu, Yun Zhu, and Zhen-Hua Ling. Corrective retrieval augmented generation. _arXiv preprint arXiv:2401.15884_ , 2024.
|
| 313 |
+
|
| 314 |
+
- Yazheng Yang, Yuqi Wang, Guang Liu, Ledell Wu, and Qi Liu. Unitabe: Pretraining a unified
|
| 315 |
+
|
| 316 |
+
- tabular encoder for heterogeneous tabular data. _arXiv preprint arXiv:2307.09249_ , 2023.
|
| 317 |
+
|
| 318 |
+
-
|
| 319 |
+
|
| 320 |
+
- Yunhu Ye, Binyuan Hui, Min Yang, Binhua Li, Fei Huang, and Yongbin Li. Large language models are versatile decomposers: Decompose evidence and questions for table-based reasoning. _arXiv_ _preprint arXiv:2301.13808_ , 2023.
|
| 321 |
+
|
| 322 |
+
- Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, and
|
| 323 |
+
|
| 324 |
+
- James Zou. Textgrad: Automatic” differentiation” via text. _arXiv preprint arXiv:2406.07496_ , 2024.
|
| 325 |
+
|
| 326 |
+
- Liangyu Zha, Junlin Zhou, Liyao Li, Rui Wang, Qingyi Huang, Saisai Yang, Jing Yuan, Changbao Su, Xiang Li, Aofeng Su, et al. Tablegpt: Towards unifying tables, nature language and commands into one gpt. _arXiv preprint arXiv:2307.08674_ , 2023.
|
| 327 |
+
|
| 328 |
+
Tianshu Zhang, Xiang Yue, Yifei Li, and Huan Sun. Tablellama: Towards open large generalist
|
| 329 |
+
|
| 330 |
+
models for tables. _arXiv preprint arXiv:2311.09206_ , 2023. Zhehao Zhang, Yan Gao, and Jian-Guang Lou. E5: Zero-shot hierarchical table analysis using augmented llms via explain, extract, execute, exhibit and extrapolate. In _Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics:_ _Human Language Technologies (Volume 1: Long Papers)_ , pp. 1244–1258, 2024.
|
| 331 |
+
|
| 332 |
+
Yilun Zhao, Linyong Nan, Zhenting Qi, Rui Zhang, and Dragomir Radev. Reastap: Inject- ing table reasoning skills during pre-training via synthetic reasoning examples. _arXiv preprint_ _arXiv:2210.12374_ , 2022. Denny Zhou, Nathanael Sch¨arli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuur- mans, Claire Cui, Olivier Bousquet, Quoc V Le, et al. Least-to-most prompting enables complex
|
| 333 |
+
|
| 334 |
+
reasoning in large language models. In _International Conference on Learning Representations_ ,
|
| 335 |
+
|
| 336 |
+
2022.
|
| 337 |
+
|
| 338 |
+
- Denny Zhou, Nathanael Sch¨arli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Claire Cui, Olivier Bousquet, Quoc V Le, et al. Least-to-most prompting enables complex reasoning in large language models. In _International Conference on Learning Representations_ , 2022.
|
| 339 |
+
|
| 340 |
+
14
|
| 341 |
+
|
| 342 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>|**Contents**|
|
| 343 |
+
|---|---|
|
| 344 |
+
||**A Appendix**<br>**15**<br>A.1<br>Ethics Statement<br>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>15<br>A.1.1<br>Human Impact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>15<br>A.2<br>Cost Continued . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>16<br>A.3<br>Results on FeTaQA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>16<br>A.4<br>Results on FeTaQA Row and Column Identifcation . . . . . . . . . . . . . . . . .<br>17<br>A.5<br>Table Length vs Performance on WikiTQ<br>. . . . . . . . . . . . . . . . . . . . . .<br>17<br>A.6<br>Reproducibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>18<br>A.7<br>Batch Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>18<br>A.8<br>Experiment Prompts<br>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>19<br>A.8.1<br>Robustness to Poor Prompt Initializations Prompt . . . . . . . . . . . . . .<br>19<br>A.8.2<br>Robustness to Irrelevant Questions Prompt<br>. . . . . . . . . . . . . . . . .<br>20<br>A.9<br>Example Prompts Original vs Tuned . . . . . . . . . . . . . . . . . . . . . . . . .<br>21<br>A.9.1<br>generate<br>~~p~~rompt<br>~~f~~or<br>~~n~~ext<br>~~s~~tep . . . . . . . . . . . . . . . . . . . . . . . .<br>21<br>A.9.2<br>group<br>~~c~~olumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>22<br>A.9.3<br>select<br>~~c~~olumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>23<br>A.9.4<br>select<br>~~r~~ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>24<br>A.9.5<br>sort<br>~~c~~olumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>25<br>A.9.6<br>fnal<br>~~q~~uery<br>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>26|
|
| 345 |
+
||A<br>APPENDIX<br>A.1<br>ETHICSSTATEMENT<br>This work on TableTextGrad was conducted using publicly available datasets, including WikiTable-<br>Questions (WikiTQ) and TabFact, which are widely recognized benchmarks in the domain of tabular<br>data understanding and reasoning. These datasets are accessible to the research community, ensur-<br>ing that all evaluations and model training can be reproduced by other researchers under similar<br>conditions. The use of publicly available data ensures transparency in evaluation and aligns with<br>ethical practices of data usage and sharing within the machine learning community.<br>However, it is important to acknowledge that GPT models used in this work are proprietary and<br>closed-source. The reliance on closed-source models poses some potential ethical challenges re-<br>lated to transparency, reproducibility, and equity of access. Researchers and practitioners outside<br>of organizations with privileged access to GPT may fnd it diffcult to replicate results or apply the<br>model in their own work due to these restrictions. This limitation may hinder the open progress of<br>scientifc research and could create a barrier between institutions with access to proprietary mod-<br>els and those without, thereby limiting equitable advancements in the feld. In contrast, LLaMA<br>3.1, which is used in this study, is an open-source model, enabling a wider range of researchers<br>to replicate and extend the fndings of this work. Open-source alternatives like LLaMA 3.1 help<br>foster inclusivity and collaboration in machine learning research by lowering the barrier to entry for<br>institutions and researchers globally.<br>A.1.1<br>HUMANIMPACT<br>The ability of TableTextGrad to improve the understanding and reasoning over tabular data holds|
|
| 346 |
+
|
| 347 |
+
The ability of TableTextGrad to improve the understanding and reasoning over tabular data holds significant potential for positive human impact. Tabular data is foundational in many domains,
|
| 348 |
+
|
| 349 |
+
15
|
| 350 |
+
|
| 351 |
+
including healthcare, finance, public policy, and scientific research. By enhancing the capabilities of models to analyze and reason over this type of data, TableTextGrad could improve decision-making processes across these fields. For example, in healthcare, better analysis of patient data could lead to improved diagnostic insights, while in finance, enhanced table understanding could streamline data- driven strategies and compliance efforts. This advancement can drive increased efficiency, better resource allocation, and more informed outcomes. However, it is also important to recognize that the deployment of powerful AI models like Table- TextGrad must be approached with caution. The potential for automated systems to be used in decision-making processes could introduce risks if these systems are used without proper over- sight. For example, inaccuracies in table interpretation or over-reliance on AI-generated insights could lead to misinformed conclusions, particularly in high-stakes areas such as healthcare or legal domains. Ensuring that TableTextGrad is deployed in a way that augments, rather than replaces, human judgment is critical for mitigating these risks. For example, prompt corrections should still be double-checked by a human for validity, to reduce the risk of hallucination. A.2 COST CONTINUED Table 5: Table of cost of prompting baselines as well as TableTextGrad. TableTextGrad _A_ indicates full prompt pipeline tuning and TableTextGrad _L_ indicates only tuning the final query prompt. Method Training Cost # Inference Prompts Binder Manual Tuning 50 Dater Manual Tuning 100 CHAIN-OF-TABLE Manual Tuning _≤_ 25 TableTextGrad _A ≤_ 25 _×_ # training data + 10 _×_ # training steps _≤_ 25 TableTextGrad _L ≤_ 25 _×_ # training data + 2 _×_ # training steps _≤_ 25 Table 5 provides a comparison of the prompting costs associated with baseline methods and Table- TextGrad, focusing on training effort and inference efficiency. Traditional methods such as Binder, Dater, and Chain-of-Table rely heavily on manual prompt tuning, which involves substantial human effort and domain-specific expertise. In contrast, TableTextGrad introduces a more scalable and au- tomated approach to prompting through its iterative optimization framework. Both variants of Table- TextGrad, denoted as TableTextGrad _A_ and TableTextGrad _L_ , substantially reduce the dependency on manual tuning by leveraging automated textual gradient optimization during training. Specifically, the cost for TableTextGrad is parameterized by the number of training data instances and training steps, where each number may be tuned in practice. At inference time, TableTextGrad re- quires no more than 25 prompts, matching the efficiency of Chain-of-Table. Notably, TableTextGrad _L_ is particularly efficient, requiring as few as 2 training steps per training data instance, compared to TableTextGrad _A_ , which scales linearly with 10 training steps. A.3 RESULTS ON FETAQA In this section, we investigate TableTextGrad’s performance on FeTaQA Nan et al. (2022), a free- form table QA dataset. Table 6: Results on FeTaQA **854 BLEU ROUGE-1 ROUGE-2 ROUGE-L 855** End-to-End 28.37 0.63 0.41 0.53 Dater 29.47 0.63 0.41 0.53 CHAIN-OF-TABLE (Rerun) 31.46 0.65 0.42 0.54 TableTextGrad _HA_ 33.75 0.67 0.44 0.55 TableTextGrad _SA_ 34.06 0.68 0.46 0.56 From Table 6, we see that while TableTextGrad achieves higher BLEU and ROUGE scores com- pared to baseline methods, it is important to note that these metrics primarily reflect token-level matching rather than true semantic understanding or reasoning capabilities. As such, higher scores do not necessarily indicate improved performance on complex reasoning tasks but rather better alignment in token matching with reference answers.
|
| 352 |
+
|
| 353 |
+
16
|
| 354 |
+
|
| 355 |
+
A.4 RESULTS ON FETAQA ROW AND COLUMN IDENTIFICATION We perform an ablation to test the adaptability of TableTextGrad to predict relevant rows and columns. Note that in this scenario, we directly use a one-step prediction, bypassing all previ- ous row/column selection functions. We perform experiments on a subset of FeTaQA dataset, with 200 samples (100 training, 100 test) and 25 training steps. Table 7: Results on FeTaQA Row and Column Identification **ROUGE-1 ROUGE-L 873 874** Rows 0.78 0.72 Columns 0.79 0.60 Combined 0.82 0.72 0.8 0.6 0.4 0.2 Abl: RowCol Val Abl: RowCol Test 0.0 0 5 10 15 20 25 Training Steps Figure 5: Training Curve of FeTaQA row / col prediction performance over 25 training steps. Table 7 and Figure 5 present the results of TableTextGrad on row and column identification tasks for the FeTaQA dataset, which are crucial subtasks in table question answering (QA). These sub- tasks involve accurately aligning the question semantics with the relevant table rows and columns, enabling precise data retrieval for answer generation. TableTextGrad demonstrates robust perfor- mance on row and column identification, achieving a ROUGE-1 score of 0.78 and ROUGE-1 of 0.79 respectively, indicating its effectiveness. Notably, these results were achieved without requiring task-specific manual prompt tuning. The final learned prompt is the following: You are given a table. The task is to return relevant rows and columns based the information in the table.
|
| 356 |
+
|
| 357 |
+
You are given a table. The task is to return relevant rows and columns based on the information in the table. - Ensure all relevant rows and columns are explicitly included in the response to capture the complete context of the question. - Ensure the model identifies and uses consistent terminology and capitalization for column names to prevent confusion. - Ensure the model filters and focuses on only the relevant rows and columns that directly pertain to the question. - Ensure the response format is clear and structured, avoiding unnecessary introductory phrases. - Ensure the model verifies the accuracy of the data referenced from the table before formulating the response. - Ensure the model checks for potential ambiguities in the question and clarifies them if necessary. - Ensure the model provides a clear rationale for the inclusion of specific rows and columns in its response. - Ensure the final answer strictly follows the format: "The answer is: row: 1,2,3.., column: x, y, z ..." A.5 TABLE LENGTH VS PERFORMANCE ON WIKITQ Table 8 demonstrates a fair comparison of the performance of the best-performing version of Table- TextGrad on the test set. Other baseline results are taken from Wang et al. (2024). We see that TableTextGrad is able to obtain competitive performance against previous models.
|
| 358 |
+
|
| 359 |
+
17
|
| 360 |
+
|
| 361 |
+
##
|
| 362 |
+
|
| 363 |
+
Table 8: Accuracy of performance split by various table token lengths in WikiTQ.y of performance split by various table token lengths in WikiTQ. of performance split by various table token lengths in WikiTQ.performance split by various table token lengths in WikiTQ.erformance split by various table token lengths in WikiTQ.plit by various table token lengths in WikiTQ.lit by various table token lengths in WikiTQ.y various table token lengths in WikiTQ. various table token lengths in WikiTQ.gths in WikiTQ.ths in WikiTQ.
|
| 364 |
+
|
| 365 |
+
Accuracy of performance split by various table token lengths in WikiTQ.y of performance split by various table token lengths in WikiTQ. of performance split by various table token lengths in WikiTQ.performance split by various table token lengths in WikiTQ.erformance split by various table token lengths in WikiTQ.plit by various table token lengths in WikiTQ.lit by various table token lengths in WikiTQ.y various table token lengths in WikiTQ. various table token lengths in WikiTQ.gths in WikiTQ.ths in WikiTQ. Small ( _<_ 2k) Medium ( _≥_ 2k, _<_ 4k) Large ( _>_ 4k) Binder 56.54 26.13 6.41 Dater 62.50 42.34 34.62 Chain-of-Table 68.13 52.25 44.87 TableTextGrad _SA_ 76.87 55.12 50.35 A.6 REPRODUCIBILITY All Llama 3.1 70B experiments were run on a server with 4 NVIDIA RTX A6000 GPUs (48GB VRAM), a AMD EPYC 7513 32-Core Processor, and 1000GB of RAM. The specific OpenAI GPT versions are gpt-4o-2024-05-13, and gpt-4o-mini-2024-07-18. Code will be released after polishing and removing user-specific information. A.7 BATCH SIZE Table 9: Results on different batch sizees. **957 Llama 3.1 70B GPT 4o mini 958 Batch Size TabFact WikiTQ TabFact WikiTQ 959** Batch Size 1 85.51 66.18 85.56 60.67 Batch Size 4 87.05 70.58 86.62 64.14 Batch Size 8 86.89 71.10 85.98 63.72
|
| 366 |
+
|
| 367 |
+
Table 9 demonstrates experiments on different batch sizes. We see that as long as the batch size is of reasonable, the performance is relatively consistent. Higher Batch sizes will require longer input lengths in the gradient step, so we limited our experiments to smaller sizes to avoid running into errors.
|
| 368 |
+
|
| 369 |
+
18
|
| 370 |
+
|
| 371 |
+
A.8 EXPERIMENT PROMPTS A.8.1 ROBUSTNESS TO POOR PROMPT INITIALIZATIONS PROMPT Here is a table and a question. Return the answer by extracting information specifically from *italicized* cells, as those have been determined to be relevant. - Ensure the model summarizes key data points from the *[italicized] *[cells][succinctly,][linking][them][directly][to][the] question. - Ensure the model formats the final answer strictly as "The answer is: AnswerName1, AnswerName2..." without additional commentary. - Ensure the model avoids unnecessary phrases that do not contribute to the answer, streamlining the response for clarity. - Ensure the model verifies the accuracy of the extracted data before formulating the final answer. - Ensure the model checks for any missing or incomplete data in the *italicized* cells that may affect the answer. - Ensure the model maintains a clear focus on the question being asked, prioritizing the identification of the relevant entity. - Ensure the model provides a numerical representation of the answer when applicable, avoiding redundancy in the final answer. **1000 1001 1002 1003 1004 1005 1006**
|
| 372 |
+
|
| 373 |
+
**1007**
|
| 374 |
+
|
| 375 |
+
**1008**
|
| 376 |
+
|
| 377 |
+
**1009**
|
| 378 |
+
|
| 379 |
+
**1010**
|
| 380 |
+
|
| 381 |
+
**1011**
|
| 382 |
+
|
| 383 |
+
**1012**
|
| 384 |
+
|
| 385 |
+
**1013**
|
| 386 |
+
|
| 387 |
+
**1014**
|
| 388 |
+
|
| 389 |
+
**1015 1016**
|
| 390 |
+
|
| 391 |
+
**1017 1018**
|
| 392 |
+
|
| 393 |
+
**1019**
|
| 394 |
+
|
| 395 |
+
**1020**
|
| 396 |
+
|
| 397 |
+
**1021 1022**
|
| 398 |
+
|
| 399 |
+
**1023 1024**
|
| 400 |
+
|
| 401 |
+
**1025**
|
| 402 |
+
|
| 403 |
+
19
|
| 404 |
+
|
| 405 |
+
|**1026**<br>**1027**<br>**1028**<br>**1029**<br>**1030**<br>**1031**<br>**1032**<br>**1033**<br>**1034**<br>**1035**<br>**1036**<br>**1037**<br>**1038**<br>**1039**<br>**1040**<br>**1041**<br>**1042**<br>**1043**<br>**1044**<br>**1045**<br>**1046**<br>**1047**<br>**1048**<br>**1049**<br>**1050**<br>**1051**<br>**1052**<br>**1053**<br>**1054**<br>**1055**<br>**1056**<br>**1057**<br>**1058**<br>**1059**<br>**1060**<br>**1061**|A.8.2<br>ROBUSTNESS TOIRRELEVANTQUESTIONSPROMPT|
|
| 406 |
+
|---|---|
|
| 407 |
+
||Here is the table to answer this question.<br>Please understand the<br>table and answer the question.<br>- Ensure the last line of the final answer is strictly "The answer<br>is:<br>AnswerName1, AnswerName2..." with no additional information<br>or context.<br>- Ensure only relevant *italicized* cells are referenced in the<br>answer, avoiding any unnecessary data.<br>- Ensure the final answer is concise and directly addresses the<br>question without extraneous elements.<br>- Ensure clarity by avoiding vague terms and providing complete<br>statements that directly address the question.<br>- Ensure the model identifies and prioritizes the most relevant<br>*italicized* cell(s) that directly answer the question.<br>- Ensure the model validates its answer against the table data<br>for accuracy before finalizing the response.<br>- Ensure the model explicitly identifies which parts of the<br>question are relevant to the provided table data.<br>- Ensure the model summarizes the relevant parts of the question<br>clearly, promoting coherence in the response.<br>- Ensure the model provides a brief justification for the selected<br>answer, explaining how it corresponds to the data in the table.|
|
| 408 |
+
|||
|
| 409 |
+
|
| 410 |
+
**1062 1063 1064 1065 1066 1067**
|
| 411 |
+
|
| 412 |
+
**1068**
|
| 413 |
+
|
| 414 |
+
**1069**
|
| 415 |
+
|
| 416 |
+
**1070**
|
| 417 |
+
|
| 418 |
+
**1071 1072 1073 1074 1075 1076 1077 1078**
|
| 419 |
+
|
| 420 |
+
**1079**
|
| 421 |
+
|
| 422 |
+
20
|
| 423 |
+
|
| 424 |
+
**1080** A.9 EXAMPLE PROMPTS ORIGINAL VS TUNED **1081 1082** In this section, we demonstrate some examples of prompts that were turned by TableTextGrad. The **1083** full list of prompts will be released along with the code. **1084**
|
| 425 |
+
|
| 426 |
+
**1085** A.9.1 GENERATE PROMPT FOR NEXT STEP **1086 1087 Original 1088** Choose the next operation in the function chain to answer the **1089** question. The output must start or add to the existing function **1090** chain for the next operation. **1091 Tuned 1092 1093** Your goal is to construct a function chain that answers the given **1094** question using the table data. Choose the next operation from **1095** the following options: f ~~a~~ dd ~~c~~ olumn() (to add a new column), **1096** f ~~s~~ elect ~~r~~ ow() (to select specific rows), f ~~s~~ elect ~~c~~ olumn() (to **1097** select specific columns), f ~~g~~ roup ~~c~~ olumn() (to group rows by a column), f ~~s~~ ort ~~c~~ olumn() (to sort rows by a column), or <END> (to **1098** finish the function chain). Consider the context of the question **1099** and the table data to choose the next operation. Ensure that **1100** each chosen operation logically follows from the previous steps **1101** and contributes to answering the question. Refer to the provided **1102** examples to identify patterns in how operations are chosen based **1103** on the question type. Avoid operations that do not directly **1104** contribute to answering the question or that might lead to dead **1105** ends. After choosing an operation, consider if it brings you **1106** closer to answering the question. If not, reconsider your choice. **1107 1108 1109 1110 1111 1112 1113**
|
| 427 |
+
|
| 428 |
+
**1114**
|
| 429 |
+
|
| 430 |
+
**1115**
|
| 431 |
+
|
| 432 |
+
**1116**
|
| 433 |
+
|
| 434 |
+
**1117**
|
| 435 |
+
|
| 436 |
+
**1118**
|
| 437 |
+
|
| 438 |
+
**1119**
|
| 439 |
+
|
| 440 |
+
**1120**
|
| 441 |
+
|
| 442 |
+
**1121**
|
| 443 |
+
|
| 444 |
+
**1122**
|
| 445 |
+
|
| 446 |
+
**1123**
|
| 447 |
+
|
| 448 |
+
**1124**
|
| 449 |
+
|
| 450 |
+
**1125**
|
| 451 |
+
|
| 452 |
+
**1126**
|
| 453 |
+
|
| 454 |
+
**1127**
|
| 455 |
+
|
| 456 |
+
**1128**
|
| 457 |
+
|
| 458 |
+
**1129**
|
| 459 |
+
|
| 460 |
+
**1130 1131**
|
| 461 |
+
|
| 462 |
+
**1132 1133**
|
| 463 |
+
|
| 464 |
+
21
|
| 465 |
+
|
| 466 |
+
|**1134**<br>**1135**<br>**1136**<br>**1137**<br>**1138**<br>**1139**<br>**1140**<br>**1141**<br>**1142**<br>**1143**<br>**1144**<br>**1145**<br>**1146**<br>**1147**<br>**1148**<br>**1149**<br>**1150**<br>**1151**<br>**1152**<br>**1153**<br>**1154**<br>**1155**<br>**1156**<br>**1157**<br>**1158**<br>**1159**<br>**1160**<br>**1161**<br>**1162**<br>**1163**<br>**1164**<br>**1165**<br>**1166**<br>**1167**<br>**1168**<br>**1169**|A.9.2<br>GROUP<br>COLUMN<br>**Original**|
|
| 467 |
+
|---|---|
|
| 468 |
+
||To tell the statement is true or false, we can first use<br>f<br>~~g~~roup() to group the values in a column.<br>This count the number<br>of unique values in the column.|
|
| 469 |
+
||**Tuned**|
|
| 470 |
+
||To answer the question, we can follow these steps:<br>1.<br>Identify<br>the relevant column(s) that contain the information needed.<br>2.<br>Perform the necessary operations such as filtering, counting,<br>or grouping the values in that column.<br>3.<br>Provide a clear and<br>concise explanation of the steps taken to arrive at the answer.<br>4.<br>Conclude with the column name used in the operation.<br>For example:<br>- If the question asks for a count, identify the<br>column to count, explain the counting process, and state the<br>column name.<br>- If the question requires filtering, identify the<br>column to filter, explain the filtering criteria, and state the<br>column name.<br>- If the question involves grouping, identify the<br>column to group by, explain the grouping process, and state the<br>column name.<br>Remember to handle edge cases, such as missing or incomplete data,<br>and verify the final answer by re-checking the data.|
|
| 471 |
+
|||
|
| 472 |
+
|
| 473 |
+
**1170 1171**
|
| 474 |
+
|
| 475 |
+
**1172**
|
| 476 |
+
|
| 477 |
+
**1173 1174**
|
| 478 |
+
|
| 479 |
+
**1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187**
|
| 480 |
+
|
| 481 |
+
22
|
| 482 |
+
|
| 483 |
+
|**1188**<br>**1189**<br>**1190**<br>**1191**<br>**1192**<br>**1193**<br>**1194**<br>**1195**<br>**1196**<br>**1197**<br>**1198**<br>**1199**<br>**1200**<br>**1201**<br>**1202**<br>**1203**<br>**1204**<br>**1205**<br>**1206**<br>**1207**<br>**1208**<br>**1209**<br>**1210**<br>**1211**<br>**1212**<br>**1213**<br>**1214**<br>**1215**<br>**1216**<br>**1217**<br>**1218**<br>**1219**<br>**1220**<br>**1221**<br>**1222**<br>**1223**<br>**1224**<br>**1225**<br>**1226**<br>**1227**<br>**1228**<br>**1229**<br>**1230**<br>**1231**<br>**1232**<br>**1233**<br>**1234**<br>**1235**<br>**1236**<br>**1237**<br>**1238**<br>**1239**<br>**1240**<br>**1241**|A.9.3<br>SELECT<br>COLUMN<br>**Original**|
|
| 484 |
+
|---|---|
|
| 485 |
+
||We can use f<br>~~c~~ol() to filter out useless columns in the table<br>according to information in the statement and the table.|
|
| 486 |
+
||**Tuned**|
|
| 487 |
+
||We can use ‘f<br>~~c~~ol()‘ to identify and return the relevant columns<br>in the table by closely analyzing the information provided in<br>the statement and the table.<br>The function ‘f<br>~~c~~ol()‘ is used to<br>encapsulate the relevant column names identified by the model.<br>The output should be in the format:<br>‘f<br>~~c~~ol([column1, column2,<br>...])‘.<br>The model should link words and values in the statement to<br>the corresponding columns in the table.<br>Additionally, provide<br>a detailed explanation for why these columns are relevant,<br>considering both the keywords and the semantic meaning of the<br>statement.<br>Ensure that the explanation clearly links the<br>statement to the columns.<br>For example, if the statement is ’there are no cardiff wins<br>that have a draw greater than 27,’ the relevant columns would<br>be ’cardiff win’ and ’draw’ because these terms are directly<br>mentioned in the statement.<br>For a more complex statement like<br>’in which three consecutive years was the record the same?’, the<br>relevant columns would be ’season’ and ’record’ because we need<br>to check the values in these columns for consistency over three<br>consecutive years.<br>In cases where the statement does not directly link to any<br>columns, provide an explanation of why no columns are relevant.<br>If the statement links to multiple columns, provide an explanation<br>of the links to each relevant column.<br>Consider both the keywords<br>and the semantic meaning of the statement.<br>For example, if the<br>statement implies a comparison or a trend, identify columns that<br>can provide the necessary data for such an analysis.<br>The output should include an explanation of the links between the<br>statement and the columns, followed by the relevant column names<br>in the format:<br>‘f<br>~~c~~ol([column1, column2, ...])‘.<br>Always list the<br>relevant columns in the order they appear in the table.<br>Ensure<br>the explanation follows the format:<br>’The similar words in the<br>statement link to columns:<br>...<br>The column value in the statement<br>links to columns:<br>...<br>The semantic sentence in the statement<br>links to columns:<br>...’<br>By following these guidelines, the model can accurately identify<br>and explain relevant columns in a table question answering task.|
|
| 488 |
+
|||
|
| 489 |
+
|
| 490 |
+
23
|
| 491 |
+
|
| 492 |
+
|**1242**<br>**1243**<br>**1244**<br>**1245**<br>**1246**<br>**1247**<br>**1248**<br>**1249**<br>**1250**<br>**1251**<br>**1252**<br>**1253**<br>**1254**<br>**1255**<br>**1256**<br>**1257**<br>**1258**<br>**1259**<br>**1260**<br>**1261**<br>**1262**<br>**1263**<br>**1264**<br>**1265**<br>**1266**<br>**1267**<br>**1268**<br>**1269**<br>**1270**<br>**1271**<br>**1272**<br>**1273**<br>**1274**<br>**1275**<br>**1276**<br>**1277**<br>**1278**|A.9.4<br>SELECT<br>ROW<br>**Original**|
|
| 493 |
+
|---|---|
|
| 494 |
+
||We can use f<br>~~r~~ow() to filter out useless rows in the table<br>according to information in the statement and the table.|
|
| 495 |
+
||**Tuned**|
|
| 496 |
+
||We can use ‘f<br>~~r~~ow()‘ to select relevant rows in the given table<br>that directly support the explanation for the statement.<br>For<br>example, if row 3 is relevant, use ‘f<br>~~r~~ow([3])‘.<br>Please use<br>‘f<br>~~r~~ow([*])‘ to select all rows in the table.<br>Always provide the<br>row numbers in a list format, e.g., ‘f<br>~~r~~ow([3])‘ for a single row<br>or ‘f<br>~~r~~ow([1, 2, 3])‘ for multiple rows.<br>Your task is to provide<br>an explanation for the answer and then specify the relevant row<br>numbers using ‘f<br>~~r~~ow()‘.<br>Ensure your explanation is detailed and<br>directly references specific data points in the table.<br>Break down<br>your reasoning step-by-step to ensure clarity.<br>For example, if<br>identifying the highest score, first state the criteria (e.g.,<br>highest score), then identify the relevant rows, and finally<br>conclude with the row numbers.<br>After providing your detailed<br>explanation, clearly specify the row numbers at the end using<br>‘f<br>~~r~~ow()‘.<br>For example, ‘The highest away team score is 23.11<br>(149), which is found in row 5.<br>Therefore, the relevant row is 5.<br>The answer is:<br>f<br>~~r~~ow([5])‘.<br>Verify your explanation against the<br>table data to ensure accuracy before specifying the row numbers.|
|
| 497 |
+
|||
|
| 498 |
+
|
| 499 |
+
**1279 1280 1281 1282 1283 1284 1285 1286 1287 1288**
|
| 500 |
+
|
| 501 |
+
**1289 1290 1291 1292 1293 1294 1295**
|
| 502 |
+
|
| 503 |
+
24
|
| 504 |
+
|
| 505 |
+
|**1296**<br>**1297**<br>**1298**<br>**1299**<br>**1300**<br>**1301**<br>**1302**<br>**1303**<br>**1304**<br>**1305**<br>**1306**<br>**1307**<br>**1308**<br>**1309**<br>**1310**<br>**1311**<br>**1312**<br>**1313**<br>**1314**<br>**1315**<br>**1316**<br>**1317**<br>**1318**<br>**1319**<br>**1320**<br>**1321**<br>**1322**<br>**1323**<br>**1324**<br>**1325**<br>**1326**<br>**1327**<br>**1328**<br>**1329**<br>**1330**<br>**1331**<br>**1332**<br>**1333**<br>**1334**<br>**1335**<br>**1336**<br>**1337**<br>**1338**<br>**1339**<br>**1340**<br>**1341**<br>**1342**<br>**1343**<br>**1344**<br>**1345**<br>**1346**<br>**1347**<br>**1348**<br>**1349**|A.9.5<br>SORT<br>COLUMN<br>**Original**|
|
| 506 |
+
|---|---|
|
| 507 |
+
||To answer the question, we can use f<br>~~s~~ort() to sort the values in<br>a column to get the order of the items.<br>The order can be "large<br>to small" or "small to large".<br>The column to sort should have<br>these data types:<br>1.<br>Numerical:<br>the numerical strings that can<br>be used in sort 2.<br>DateType:<br>the strings that describe a date,<br>such as year, month, day 3.<br>String:<br>other strings|
|
| 508 |
+
||**Tuned**|
|
| 509 |
+
||To answer the question, we can use different operations based on the type of question.<br>The<br>output must include a detailed explanation of the steps taken, the relevant column name, and<br>the sort order if applicable.<br>Here are the steps and examples for each type of operation:<br>1.<br>**Sorting**:<br>- Use ‘f<br>~~s~~ort<br>by(column<br>~~n~~ame, order)‘ to sort the values in a column.<br>The<br>order can be "large to small" or "small to large".<br>- Example:<br>To find the club in the last<br>position, sort the "Position" column from large to small.<br>2.<br>**Filtering**:<br>- Use ‘f<br>~~f~~ilter<br>~~b~~y(column<br>~~n~~ame, condition)‘ to filter rows based on a<br>condition.<br>- Example:<br>To find films with the language "kannada", filter the "language"<br>column where the value is "kannada".<br>3.<br>**Counting**:<br>- Use ‘f<br>~~c~~ount<br>~~r~~ows(column<br>~~n~~ame, condition)‘ to count the number of rows<br>that meet a specific condition.<br>- Example:<br>To count the number of films with the language<br>"kannada", count the rows where the "language" column has the value "kannada".<br>**Data Types and Operations**:<br>- **Numerical**:<br>Any column with numerical values (e.g.,<br>integers, floats).<br>Operations:<br>sorting, counting.<br>- **DateType**:<br>Any column with<br>date-related values (e.g., year, month, day).<br>Operations:<br>sorting, filtering.<br>- **String**:<br>Any column with text values.<br>Operations:<br>filtering, counting.<br>**Explanation Template**:<br>1.<br>Identify the type of question (sorting, filtering, counting,<br>comparison).<br>2.<br>Determine the relevant column(s) and their data type(s).<br>3.<br>Choose the<br>appropriate operation based on the data type.<br>4.<br>Provide a detailed explanation of the steps<br>taken.<br>5.<br>Specify the column name and the sort order if applicable.<br>**Handling Ambiguous Questions**:<br>- If the question is ambiguous or does not fit typical<br>patterns, break down the question into smaller parts or ask for clarification by specifying<br>the ambiguous part of the question.<br>**Handling Comparisons**:<br>- For comparison questions, identify the relevant columns and<br>compare the values directly or sort the relevant column to determine the highest or lowest<br>value.<br>**Error Handling and Edge Cases**:<br>- If the data contains missing values or inconsistent<br>formats, first clean the data by removing or correcting these entries before performing the<br>operations.<br>**Common Pitfalls**:<br>- Avoid mixing up column names, misidentifying data types, or<br>incorrectly applying operations.<br>Ensure the order of operations is logical (e.g., filter<br>before sorting).<br>By following these guidelines, we can effectively answer a wide range of table-related<br>questions.<br>This structured approach ensures that the output includes a clear explanation,<br>the relevant column name, and the sort order if applicable.|
|
| 510 |
+
|||
|
| 511 |
+
|
| 512 |
+
25
|
| 513 |
+
|
| 514 |
+
|**1350**<br>**1351**<br>**1352**<br>**1353**<br>**1354**<br>**1355**<br>**1356**<br>**1357**<br>**1358**<br>**1359**<br>**1360**<br>**1361**<br>**1362**<br>**1363**<br>**1364**<br>**1365**<br>**1366**<br>**1367**<br>**1368**<br>**1369**<br>**1370**<br>**1371**<br>**1372**<br>**1373**<br>**1374**<br>**1375**<br>**1376**<br>**1377**<br>**1378**<br>**1379**<br>**1380**<br>**1381**<br>**1382**<br>**1383**<br>**1384**|A.9.6<br>FINAL<br>QUERY<br>**Original**|
|
| 515 |
+
|---|---|
|
| 516 |
+
||Here is the table to answer this question.<br>Please understand the<br>table and answer the question - Ensure the last line of the final<br>answer is only "The answer is:<br>AnswerName1, AnswerName2..." form,<br>no other form.<br>- Ensure the final answer is a number or entity<br>names, as short as possible, without any explanation.|
|
| 517 |
+
||**Tuned**|
|
| 518 |
+
||Here is the table to answer this question.<br>Please understand<br>the table and answer the question:<br>- Ensure you understand the<br>context of the table and the question before providing the final<br>answer.<br>- First, identify the relevant rows and columns.<br>Then,<br>calculate or extract the required information before formulating<br>the final answer.<br>- Ensure the final answer is only in the<br>form "The answer is:<br>AnswerName1, AnswerName2..." without any<br>additional text.<br>- Ensure the final answer is a number or entity<br>names, formatted as "The answer is:<br>AnswerName1, AnswerName2...",<br>without any additional explanation.<br>- If the data is ambiguous,<br>make a reasonable assumption, document it internally, and ensure<br>the final answer is consistent with this assumption.<br>- Verify the<br>extracted information against the table data before providing the<br>final answer.<br>- If uncertain, verify the extracted information<br>against the table data and provide the best possible answer in<br>the required format without indicating uncertainty.<br>- After<br>formulating the final answer, perform a post-processing step to<br>replace any en dashes with hyphens and remove any extra spaces<br>or special characters.<br>- Always provide the final answer in the<br>format "The answer is:<br>AnswerName1, AnswerName2..." without any<br>additional text or context.|
|
| 519 |
+
|||
|
| 520 |
+
|
| 521 |
+
**1385 1386 1387 1388 1389 1390**
|
| 522 |
+
|
| 523 |
+
**1391 1392**
|
| 524 |
+
|
| 525 |
+
**1393**
|
| 526 |
+
|
| 527 |
+
**1394**
|
| 528 |
+
|
| 529 |
+
**1395**
|
| 530 |
+
|
| 531 |
+
**1396**
|
| 532 |
+
|
| 533 |
+
**1397**
|
| 534 |
+
|
| 535 |
+
**1398 1399 1400 1401**
|
| 536 |
+
|
| 537 |
+
**1402**
|
| 538 |
+
|
| 539 |
+
**1403**
|
| 540 |
+
|
| 541 |
+
26
|
| 542 |
+
|
open_review/iclr2025_13851.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13851",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "FAN: Fourier Analysis Networks",
|
| 6 |
+
"abstract": "Despite the remarkable success achieved by neural networks, particularly those represented by MLP and Transformer, we reveal that they exhibit potential flaws in the modeling and reasoning of periodicity, i.e., they exhibit satisfactory performance within the domain of training period, but struggle to generalize to out of the domain (OOD). The inherent cause lies in the way that they tend to memorize the periodic data rather than genuinely understand the underlying principles of periodicity. In fact, periodicity is essential to various forms of reasoning and generalization, underpinning predictability across natural and engineered systems through recurring patterns in observations. In this paper, we propose FAN, a novel network architecture based on Fourier Analysis, which empowers the ability to efficiently model and reason about periodic phenomena, meanwhile maintaining general-purpose ability. By introducing Fourier Series, periodicity is naturally integrated into the structure and computational processes of FAN. On this basis, FAN is defined following two core principles: 1) its periodicity modeling capability scales with network depth and 2) the periodicity modeling available throughout the network, thus achieving more effective expression and prediction of periodic patterns. FAN can seamlessly replace MLP in various model architectures with fewer parameters and FLOPs, becoming a promising substitute to traditional MLP. Through extensive experiments, we demonstrate the superiority of FAN in periodicity modeling tasks, and the effectiveness and generalizability of FAN across a range of real-world tasks, including symbolic formula representation, time series forecasting, language modeling, and image recognition.",
|
| 7 |
+
"rebuttal": "We are pleased that the reviewers' technical concerns have been addressed and their recognition of FAN's value during the rebuttal period. We appreciate that if the reviewers could offer any specific suggestions for further enhancing our work or consider updating the score if all questions have been resolved. Thanks for the time and effort of the reviewers and chairs!\n\nThank you for your comments. **We appreciate that you recognize the FAN's value.** The experiments you mentioned have been conducted in our paper or explain the unreasonability in the response. **Could you explain what aspect of experiments you require to further demonstrate the novelty or performance of FAN?** (We would also be grateful if you could correct the garbled mathematical formulas of your original responses to help us understand.) We would like to clarify that we conducted extensive experiments to verify the generalizability and effectiveness of FAN, specifically:\n\n* We verified the [...]\n\nDear Reviewer D8kJ,\n\nThanks for your suggestions. **We are glad that you can see the value of FAN.** However, we also would like to clarify that **we conducted extensive experiments to verify the effectiveness of FAN**, specifically: 1) We verified the powerful periodicity modeling capabilities of FAN across various periodicity modeling tasks, as shown in Figure 1, Figure 3, Figure 6, and Figure 9. 2) We verified the effectiveness and generalizability of FAN in extensive real-world tasks, including symbolic formula representation, time series forecasting, language modeling, and image recogniti [...]\n\nDear Reviewer 7Gdo,\n\nThank you for your feedback. **We are pleased to hear that your technical concerns have been addressed.** However, regarding your comment on the fundamental contribution of the paper, we find it difficult to understand **what specific areas of our work require to further strengthen**, as the feedback seems somewhat general. We would greatly appreciate it if you could kindly provide more detailed guidance on the aspects that you feel need improvement, so that we can make the necessary revisions and clarify any remaining concerns.\n\nWe look forward to your feedback and will m [...]\n\n### Looking forward to the feedback of reviewers\nAs the author-reviewer discussion period draws to a close, we kindly encourage the reviewers to acknowledge our rebuttal and pose any follow-up questions they might have. Your thoughtful engagement is highly appreciated.\n\n### Looking forward to your feedback\nDear Reviewer D8kJ,\n\nWe appreciate all of the valuable time and effort you have spent reviewing our paper. As today is the last day of the discussion period, we gently request that you review our reply and consider updating your evaluation accordingly. We believe that we have addressed all questions and concerns raised, but please feel free to ask any clarifying questions you might have before the end of the discussion period.\n\nBest, \nAuthors\n\n### Looking forward to your feedback\nHello, do our responses address your questions? Please let us know if there are any other questions you'd like to discuss!\n\n### Looking forward to your feedback\nHello, do our responses address your questions? Please let us know if there are any other questions you'd like to discuss!\n\n### Main Contributions and Revisions\nThanks for the time and effort invested by all reviewers and chairs. We would like to clarify our main contributions and summarize the revisions made in response to your feedback as follows.\n\n**First, the main contributions of our work can be summarized as follows:**\n* We reveal that existing general neural networks, e.g., MLP and Transformer, exhibit potential flaws in the modeling and reasoning of periodicity, especially in OOD scenarios. \n* We propose a novel network architecture, termed FAN, based on Fourier analysis, empowering the ability to effective [...]\n\n### Response to Reviewer D8kJ (Part 1/2)\nThanks very much for your comments. We will reply to your questions point-by-point below and look forward to having further discussions with you!\n\n> This is my primary justification for my score. I don’t necessarily think that modifying the architecture of KANs and MLP with a different transcendental function is conceptually novel ...\n\nWe did not simply modify the activation function of KANs and MLP, and the architecture of FAN is different from them. Specifically,\n\nFirst, **we introduce Fourier principle into FAN's architecture.** All signals or tasks [...]\n\n### Response to Reviewer 7Gdo (Part 1/3)\n**Most of your questions have been addressed in our original paper, and we will restate these arguments.** We reply to all your questions point-by-point below, hoping they can answer your questions, and look forward to your high-quality replies and following discussions with you.\n\n> 1.Lack of detailed explanation about parameter efficiency: The abstract claims that FAN can substitute MLP with fewer parameters. However, the theoretical justification and experimental evidence supporting this claim are not sufficiently detailed in the main text. ...\n\nWe di [...]\n\n### Response to Reviewer 7Gdo (Part 2/3)\n> 3.Practical Use Cases: Can the practical utility of Fourier Approximation Networks (FAN) be demonstrated with real-world applications beyond synthetic and controlled experiments? ...\n\nFirst of all, our approach is \"Fourier Analysis Network\", which is based on Fourier analysis, NOT the so-called undefined network, \"Fourier Approximation Networks\" in your question.\nSecond, we already conducted extensive experiments on real-world applications, such as Time Series Forecasting on Weather, Exchange, Traffic, ETTh datasets and Language Modeling on SST-2, IMD [...]\n\n### Response to Reviewer 7Gdo (Part 3/3)\n> Key experimental details such as hyperparameter tuning, model initialization, and evaluation metrics are missing or inadequately described.\n\nWe clearly stated, \"More experimental details and comprehensive setups of each task can be found in Appendix \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
6,
|
| 11 |
+
3,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.25,
|
| 15 |
+
"score_variance": 2.25,
|
| 16 |
+
"score_spread": 3,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "The paper presents a Fourier Analysis Network (FAN) to mitigate the inherent limitation of MLP and transformers of being unable to model periodicity in data. The method is novel and is intuitive considering periodic nature of fourier analysis. \n\nThe paper suffers from the following weaknesses:\n1. Practical usability of the method need to be emphasized through evaluations on relevant data sets [Reviewer 7Gdo]\n2. Authors make some claims that requires strong justification such as the following:\n - FANs mitigating spectral bias - they refute their claim and then try to make sweeping justifications; \n - missing comparison with KAN approaches \n - Evaluation on sufficient non-periodic data sets\n - Inconsistent baselines across different data sets\n - theoretical justification for why FAN enhances generalization capability.",
|
| 22 |
+
"forum_id": "l4jBHP4FPy",
|
| 23 |
+
"primary_area": "foundation or frontier models, including LLMs",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_7Gdo",
|
| 28 |
+
"review_id": "jby3D0O3Ir",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 3,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 1,
|
| 34 |
+
"confidence": 5
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 4169,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1983058,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_DFRd",
|
| 44 |
+
"review_id": "ZzTmjjEx29",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 1848,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1087150,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_RaTJ",
|
| 60 |
+
"review_id": "gnN88zX1B1",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 1,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 4104,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1458782,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_D8kJ",
|
| 76 |
+
"review_id": "2blmAi5v5t",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 4398,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2119123,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13851.md
ADDED
|
@@ -0,0 +1,357 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## FAN: FOURIER ANALYSIS NETWORKS
|
| 4 |
+
|
| 5 |
+
##
|
| 6 |
+
|
| 7 |
+
Authors withheld for review
|
| 8 |
+
|
| 9 |
+
## ABSTRACT
|
| 10 |
+
|
| 11 |
+
Despite the remarkable success achieved by neural networks, particularly those represented by MLP and Transformer, we reveal that they exhibit potential flaws in the modeling and reasoning of periodicity, i.e., they exhibit satisfactory performance within the domain of training period, but struggle to generalize to out of the domain (OOD). The inherent cause lies in the way that they tend to memorize the periodic data rather than genuinely understand the underlying principles of periodicity. In fact, periodicity is essential to various forms of reasoning and generalization, underpinning predictability across natural and engineered systems through recurring patterns in observations. In this paper, we propose FAN, a novel network architecture based on Fourier Analysis, which empowers the ability to efficiently model and reason about periodic phenomena, meanwhile maintaining general-purpose ability. By introducing Fourier Series, periodicity is naturally integrated into the structure and computational processes of FAN. On this basis, FAN is defined following two core principles: 1) its periodicity modeling capability scales with network depth and 2) the periodicity modeling available throughout the network, thus achieving more effective expression and prediction of periodic patterns. FAN can seamlessly replace MLP in various model architectures with fewer parameters and FLOPs, becoming a promising substitute to traditional MLP. Through extensive experiments, we demonstrate the superiority of FAN in periodicity modeling tasks, and the effectiveness and generalizability of FAN across a range of real-world tasks, including symbolic formula representation, time series forecasting, language modeling, and image recognition.
|
| 12 |
+
|
| 13 |
+
the domain
|
| 14 |
+
|
| 15 |
+
rize the periodic
|
| 16 |
+
|
| 17 |
+
of periodicity. network efficiently general-purpose integrated into the network,
|
| 18 |
+
|
| 19 |
+
patterns. FAN
|
| 20 |
+
|
| 21 |
+
Through 1 INTRODUCTION
|
| 22 |
+
|
| 23 |
+
The flourishing of work for current deep neural networks has
|
| 24 |
+
|
| 25 |
+
the community. ral networks: _they_ showcase this issue existing neural networks, former (Vaswani et al.,
|
| 26 |
+
|
| 27 |
+
function.
|
| 28 |
+
|
| 29 |
+
ios. Therefore, their
|
| 30 |
+
|
| 31 |
+
training data, rather than
|
| 32 |
+
|
| 33 |
+
The flourishing of modern machine learning and artificial intelligence is inextricably linked to the revolutionary advancements in the foundational architecture of neural networks. For instance, multilayer perceptron (MLP) (Rosenblatt, 1958; Haykin, 1998) plays a pivotal role in laying the groundwork for current deep learning models, with its expressive power guaranteed by the universal approximation theorem (Hornik et al., 1989). Recent claims about the impressive performance of large models on various tasks are typically supported by Transformer architecture (Vaswani et al., 2017; Touvron et al., 2023; OpenAI, 2023). In this context, the community’s enthusiasm for research on neural networks has never diminished. Some emerged neural networks demonstrate notable capabilities in specific fields (Gu & Dao, 2023; Liu et al., 2024), sparking widespread discussion within the community.
|
| 34 |
+
|
| 35 |
+
Beneath the surface of apparent prosperity, we uncover a critical issue that remains in existing neural networks: _they struggle to model the periodicity from data, especially in OOD scenarios_ . We showcase this issue through an empirical study as illustrated in Figure 1. The results indicate that existing neural networks, including MLP (Rosenblatt, 1958), KAN (Liu et al., 2024), and Transformer (Vaswani et al., 2017), face difficulties in fitting periodic functions, even on a simple sine function. Although they demonstrate proficiency in interpolation within the domain of training data, they tend to falter when faced with extrapolation challenges of test data, especially in OOD scenarios. Therefore, their generalization capacity is primarily dictated by the scale and diversity of the training data, rather than by the learned principles of periodicity to perform reasoning. We argue that periodicity is an essential characteristic in various forms of reasoning and generalization, as it provides a basis for predictability in many natural and engineered systems by leveraging recurring patterns in observations. In fact, real-world tasks inherently contain many periodic and non-periodic
|
| 36 |
+
|
| 37 |
+
1
|
| 38 |
+
|
| 39 |
+
𝑦= sin(𝑥) MLP KAN Transformer FAN (Ours) Figure 1: The performance of different neural networks within and outside the domain of their training data for the sine function, where _x_ is a scalar variable. features, although some of them are hidden. The limitations of existing neural networks in capturing periodicity may impact their generalization performance, especially in OOD scenarios. In this paper, we investigate a key research problem: _How to enable neural networks to model peri-_ _odicity?_ One core reason existing neural networks fail to model periodicity is that they heavily rely on data-driven optimization without explicit mechanisms to understand the underlying principles in the data. To this end, we propose a Fourier Analysis Network (FAN), a novel neural network frame- work based on Fourier Analysis. By leveraging the power of Fourier Series, we enable the neural network to capture and encode periodic patterns, offering a way to model the general principles from the data. Moreover, FAN is built upon two core principles: the first ensures that its periodic mod- eling capacity scales with network depth, while the second guarantees periodic modeling available throughout the network. FAN not only exhibits exceptional capabilities in periodicity modeling but also demonstrates competitive or superior effects on general tasks, which holds great potential as a substitute to traditional MLP. To verify the effectiveness of FAN, we conduct extensive experiments from two main aspects: pe- riodicity modeling and application of real-world tasks. 1) For periodicity modeling, FAN achieves significant improvements in fitting both basic and complex periodic functions, compared to exist- ing neural networks (including MLP, KAN, and Transformer), particularly in OOD scenarios. 2) FAN demonstrates superior performance in real-world tasks, including symbolic formula represen- tation, time series forecasting, language modeling, and image recognition. The experimental re- sults indicate that FAN outperform baselines (including MLP, KAN, and Transformer) for symbolic formula representation task, and Transformer with FAN surpasses the competing models (includ- ing Transformer, LSTM, and Mamba), for time series forecasting and language modeling tasks. Moreover, FAN also shows effectiveness on standard CNN, especially in OOD scenarios, for image recognition tasks. As a promising substitute to MLP, FAN improves the model’s generalization per- formance meanwhile reducing the number of parameters and floating point of operations (FLOPs) employed. We believe FAN is promising to be an important part of the fundamental model backbone. 2 PRELIMINARY KNOWLEDGE Fourier Analysis (Stein & Weiss, 1971; Duoandikoetxea, 2024) is a mathematical framework that decomposes functions into their constituent frequencies, revealing the underlying periodic structures within complex functions. At the heart of this analysis lies Fourier Series (Tolstov, 2012), which expresses a periodic function as an infinite sum of sine and cosine terms. Mathematically, for a function _f_ ( _x_ ), its Fourier Series expansion can be represented as:, its Fourier Series expansion can be represented as: _∞_ 2 _πnx_ 2 _πnx_ **101102** _f_ ( _x_ ) = _a_ 0 + _n_ �=1 � _an_ cos � _T_ � + _bn_ sin � _T_ �� _,_ (1) where _T_ is the period of the function, and the coefficients _an_ and _bn_ are determined by integrating the function over one period: _T_ 2 _πnx T_ 2 _πnx_[1][1]
|
| 40 |
+
|
| 41 |
+
Fourier Analysis (Stein & Weiss, 1971; Duoandikoetxea, 2024) is a mathematical framework that decomposes functions into their constituent frequencies, revealing the underlying periodic structures within complex functions. At the heart of this analysis lies Fourier Series (Tolstov, 2012), which expresses a periodic function as an infinite sum of sine and cosine terms. Mathematically, for a function _f_ ( _x_ ), its Fourier Series expansion can be represented as:, its Fourier Series expansion can be represented as:
|
| 42 |
+
|
| 43 |
+
**==> picture [350 x 26] intentionally omitted <==**
|
| 44 |
+
|
| 45 |
+
2
|
| 46 |
+
|
| 47 |
+
**==> picture [432 x 290] intentionally omitted <==**
|
| 48 |
+
|
| 49 |
+
**----- Start of picture text -----**<br>
|
| 50 |
+
108<br>The power of Fourier Series lies in its ability to represent a wide variety of functions, including non-<br>109 periodic functions through periodic extensions, enabling the extraction of frequency components.<br>110 Building on this mathematical foundation, FAN aims to embed the periodic characteristics directly<br>111 into network architecture, enhancing generalization capabilities and performance on various tasks,<br>112 particularly in scenarios requiring the identification of patterns and regularities.<br>113<br>114<br>Φ 𝑥= 𝜎(𝐵# + 𝑊#𝑥) 𝜙 𝑥= [ cos(𝑊!𝑥) || sin(𝑊!𝑥) || 𝜎(𝐵!̅ + 𝑊!̅𝑥)]<br>115<br>116 Activation Function Cosine Sine Activation Function<br>117<br>118<br>119<br>120<br>121<br>122<br>123 Learnable Weight s<br>124 𝑾 𝑾<br>125<br>126<br>(a) MLP Layer (b) FAN Layer<br>127<br>128<br>129 Figure 2: Illustrations of MLP layer Φ( x ) vs. FAN layer ϕ ( x ).<br>130<br>131<br>3 FOURIER ANALYSIS NETWORK (FAN)<br>**----- End of picture text -----**<br>
|
| 51 |
+
|
| 52 |
+
In this section, we first construct a simple neural network modeled by the formula of Fourier Series, and then on this basis, we design FAN and provide its details. Finally, we discuss the difference between the FAN layer and the MLP layer. Consider a task involving input-output pairs _{xi, yi}_ , with the objective of identifying a function _f_ ( _x_ ) : R _[d][x] →_ R _[d][y]_ that approximates the relationship such that _yi ≈ f_ ( _xi_ ) for all _xi_ , where _dx_ and _dy_ denote the dimensions of _x_ and _y_ , respectively. To build a simple neural network _f_ S( _x_ ) that represents Fourier Series expansion of the function, specifically _F{f_ ( _x_ ) _}_ , as described in Eq. (1), we can express _f_ S( _x_ ) as follows: _N_ **143144** _f_ S( _x_ ) ≜ _a_ 0 + _n_ �=1 � _an_ cos � 2 _πnxT_ � + _bn_ sin � 2 _πnxT_ �� _,_ _N_ (=I) _a_ 0 + � � _wn[c]_[cos] � _wn_[in] _[x]_ � + _wn[s]_[sin] � _wn_[in] _[x]_ �� _,_ (II) _n_ =1 (3) = _B_ + [ _w_ 1 _[c][, w]_ 2 _[c][,][ · · ·][, w] n[c]_[] cos([] _[w]_ 1[in] _[||][w]_ 2[in] _[|| · · · ||][w] n_[in][]] _[x]_[)] + [ _w_ 1 _[s][, w]_ 2 _[s][,][ · · ·][, w] n[s]_[] sin([] _[w]_ 1[in] _[||][w]_ 2[in] _[|| · · · ||][w] n_[in][]] _[x]_[)] = _B_ + _Wc_ cos( _W_ in _x_ ) + _Ws_ sin( _W_ in _x_ ) _,_ (III) = _B_ + _W_ out[cos( _W_ in _x_ ) _||_ sin( _W_ in _x_ )] _,_ where _B ∈_ R _[d][y] , W_ in _∈_ R _[N][×][d][x]_ , and _W_ out _∈_ R _[d][y][×]_[2] _[N]_ are learnable parameters, (I) follows that the computation of _an_ and _bn_ computed via Eq. (2) is definite integral, (II) and (III) follows the equivalence of the matrix operations, [ _·||·_ ] and [ _·, ·_ ] denotes the concatenation along the first and second dimension, respectively.
|
| 53 |
+
|
| 54 |
+
To fully leverage the advantages of deep learning, we can stack the aforementioned network _f_ S( _x_ ) to form a deep network _f_ D( _x_ ), where the _i_ -th layer, denoted as _li_ ( _x_ ), retains the same structural design as _f_ S( _x_ ). Therefore, _f_ D( _x_ ) can be formulated as:
|
| 55 |
+
|
| 56 |
+
_f_ D( _x_ ) = _lL ◦ lL−_ 1 _◦· · · ◦ l_ 1 _◦ x,_ (4)
|
| 57 |
+
|
| 58 |
+
3
|
| 59 |
+
|
| 60 |
+
where _l_ 1 _◦ x_ denotes the application of the left function _l_ 1 to the right input _x_ , that is _l_ 1( _x_ ). However, we discover that the direct stacking of _f_ S( _x_ ) results in the primary parameters of the model _f_ D( _x_ ) focusing on learning the angular frequency ( _ωn_ = 2 _πnT_[),][thereby][neglecting][the][learning][of][the] Fourier coefficients ( _an_ and _bn_ ), as follows: _f_ D( _x_ ) = _lL_ ( _lL−_ 1 _◦ lL−_ 2 _◦· · · ◦ l_ 1 _◦ x_ ) = _B[L]_ + _W_ out _[L]_[[cos(] _[W][ L]_ in[(] _[l]_[1:] _[L][−]_[1] _[◦][x]_[)] _[||]_[ sin(] _[W][ L]_ in[(] _[l]_[1:] _[L][−]_[1] _[◦][x]_[))]] (5) where _l_ 1: _L−_ 1 _◦ x_ is defined as _lL−_ 1 _◦ lL−_ 2 _◦· · · ◦ l_ 1 _◦ x_ , _W_ in _[L]_[(] _[l]_[1:] _[L][−]_[1] _[◦][x]_[)][is][used][to][approximate] the angular frequencies, and _W_ out _[L]_[is][used][to][approximate][the][Fourier][coefficients.][Therefore,][the] capacity of _f_ D( _x_ ) to fit the Fourier coefficients is independent of the depth of _f_ D( _x_ ), which is an undesirable outcome. To this end, we design FAN based on the following principles: 1) the capacity of FAN to represent the Fourier coefficients should be positively correlated to its depth; 2) the output of any hidden layer can be employed to model periodicity using Fourier Series through the subsequent layers. The first one enhances the expressive power of FAN for periodicity modeling by leveraging its depth, while the second one ensures that the features of FAN’s intermediate layers are available to perform periodicity modeling. Suppose we decouple _f_ S( _x_ ) as follows: _f_ S( _x_ ) = _fout ◦ fin ◦ x,_ (6) where _fin_ ( _x_ ) = [cos( _W_ in _x_ ) _||_ sin( _W_ in _x_ )] _,_ (7) _fout_ ( _x_ ) = _B_ + _W_ out _x._ (8) To satisfy both principles, the inputs of the intermediate layers in FAN necessitate to employ _fin_ and _fout_ simultaneously, rather than applying them sequentially. Finally, FAN is designed on this basis, with the FAN layer _ϕ_ ( _x_ ) defined as below: _ϕ_ ( _x_ ) ≜ [cos( _Wpx_ ) _||_ sin( _Wpx_ ) _||σ_ ( _Bp_ ¯ + _Wp_ ¯ _x_ )] _,_ (9) where _Wp ∈_ R _[d][x][×][d][p] , Wp_ ¯ _∈_ R _[d][x][×][d] p_[¯] , and _Bp_ ¯ _∈_ R _[d] p_ ¯ are learnable parameters (with the hyper- parameters _dp_ and _dp_ ¯ indicating the first dimension of _Wp_ and _Wp_ ¯, respectively), the layer output _ϕ_ ( _x_ ) _∈_ R[2] _[d][p]_[+] _[d] p_[¯] , and _σ_ denotes the activation function, which can further enhance its expressive power for periodicity modeling. The entire FAN is defined as the stacking of the FAN layer _ϕ_ ( _x_ ): FAN( _x_ ) = _ϕL ◦ ϕL−_ 1 _◦· · · ◦ ϕ_ 1 _◦ x,_ (10) where _ϕl_ ( _x_ ) = [cos( _Wp[l][x]_[)] _[||]_[ sin(] _[W][ l] p[x]_[)] _[||][σ]_[(] _[B] p[l]_ ¯[+] _[ W][ l] p_ ¯ _[x]_[)]] _[,]_ if _l < L,_ (11) � _B[L]_ + _W[L] x,_ if _l_ = _L,_ Table 1: Comparison of MLP layer and FAN layer, where _d_ p is a hyperparameter of FAN layer and defaults to 4[1] _[d]_[output][in this paper,] _[ d]_[input][and] _[ d]_[output][denote the input and output dimensions of the] neural network layer, respectively. In our evaluation, the FLOPs for any arithmetic operations are considered as 1, and for Boolean operations as 0. MLP Layer FAN layer Formula Φ( _x_ ) = _σ_ ( _Bm_ + _Wmx_ ) _ϕ_ ( _x_ ) = [cos( _Wpx_ ) _||_ sin( _Wpx_ ) _||σ_ ( _Bp_ ¯ + _Wp_ ¯ _x_ )] _dp_ Num of Params ( _d_ input _× d_ output) + _d_ output (1 _− d_ output[)] _[ ×]_[ ((] _[d]_[input] _[ ×][ d]_[output][) +] _[ d]_[output][)] FLOPs 2 _×_ ( _d_ input _× d_ output) (1 _− d_ output _dp_[)] _[ ×]_[ 2] _[ ×]_[ (] _[d]_[input] _[ ×][ d]_[output][)] +FLOPsnon-linear _× d_ output +FLOPsnon-linear _× d_ output
|
| 61 |
+
|
| 62 |
+
4
|
| 63 |
+
|
| 64 |
+
The illustrations of the MLP layer Φ( _x_ ) vs. the FAN layer _ϕ_ ( _x_ ) are shown in Figure 2. Note that the FAN layer _ϕ_ ( _x_ ) computed via Eq. (9) can seamlessly replace the MLP layer Φ( _x_ ) computed via Eq. (12) in various models with fewer parameters and FLOPs, achieved by sharing the parameters and computation of Sin and Cos parts. The number of parameters and FLOPs of the FAN layer compared to the MLP layer are presented in Table 1. 𝑦= 𝑥 𝑚𝑜𝑑 5 MLP KAN Transformer FAN 𝑦= (1 + sin(𝑥)) sin(2𝑥) MLP KAN Transformer FAN 𝑒[!"#] $ 𝑦= 1 + cos[%] (2𝑥) MLP KAN Transformer FAN Figure 3: The performance of FAN in periodicity modeling compared to MLP, KAN, and Trans- former, where the green line represents the test data within the domain of the training data, while the blue line represents the test data outside the domain of the training data. 4 EXPERIMENTS In this section, we first introduce the baselines and implementation details of our experiments. Sec- ond, we verify the superiority of FAN in periodicity modeling tasks (Section 4.1). Third, we demonstrate the effectiveness and generalizability of FAN across a range of real-world tasks, including symbolic formula representation (Section 4.2), time series forecasting (Section 4.3), language mod- eling (Section 4.4), and image recognition (Section 4.5). Finally, we conduct further analysis on FAN’s running time and hyperparameter impact. (Section 4.6). **262 263 Baselines.** In our experiments, we mainly compare FAN with the following baselines: 1) **MLP 264** (Rosenblatt, 1958), 2) **Transformer** (Vaswani et al., 2017), 3) **KAN** (Liu et al., 2024), 4) **LSTM 265** (Hochreiter & Schmidhuber, 1997), 5) **Mamba** (Gu & Dao, 2023), 6) **CNN** (LeCun et al., 1998). Details of the baselines are given in Appendix F. Moreover, we also include the following variants of FAN into our comparisons: I) **FAN (Gated)** : a variant of FAN that adds gates to control the tendency of the layer, with the formula defined as _ϕg_ ( _x_ ) = [ _g·_ cos( _Wpx_ ) _||g·_ sin( _Wpx_ ) _||_ (1 _−g_ ) _·σ_ ( _Bp_ ¯+ _Wp_ ¯ _x_ )], where _g_ is a learnable parameter. II) **Transformer with FAN and Transformer with FAN (Gated)** : we replace each MLP layer in Transformer with the FAN layer computed via Eq. (9) and the layer
|
| 65 |
+
|
| 66 |
+
5
|
| 67 |
+
|
| 68 |
+
Figure 4: Comparison of training and test losses for different models on the tasks of learning complex periodic functions. of FAN (Gated), respectively. III) **CNN with FAN** : similarly, we replace each MLP layer in CNN with the FAN layer. **293 294 295 Implementation Details.** We conduct our experiments on a single GPU of Tesla A100-PCIe-40G. Unless otherwise specified, we use the following hyperparameters in the experiments. The model architecture consists of 3-12 layers, the activation function _σ_ is set to GELU (Hendrycks & Gimpel, 2016), and the dimension of the projection matrix _Wpp_ is set to _dpp_ = 4[[1]] _[[d][h]][[h]]_[[,]][[where]] _[[d][h]][[h]]_[[denotes]][[the]] dimension of the hidden layers. We employ the AdamW optimizer (Loshchilov & Hutter, 2019) for the model’s training process. More experimental details and comprehensive setups of each task can be found in Appendix C. 4.1 PERIODICITY MODELING **303 304 Setup.** In periodic modeling tasks, we select periodic functions with practical significance and compare the models’ performance in learning the underlying principles of periodicity. Specifically, we generate data from periodic functions over a large domain, using a portion of this domain as training data and the entire domain as test data, i.e., a part of test data would be out of the domain of training data. In this task, we compare FAN and its variant, FAN (Gated), with MLP, KAN, and Transformer. The input of each task is a scalar. **310 311 Results.** Figure 3 illustrates the performance of FAN and other baselines in periodicity modeling. The results indicate that existing neural networks, including MLP, KAN, and Transformers, exhibit notable deficiencies in their ability to model periodicity. Although they attempt to fit these periodic functions, their ability limits their performance in modeling a large domain of periodicity, including the test data within and outside the domain of the training data. In contrast, FAN significantly outperforms the baselines in all these tasks of periodicity modeling. Moreover, FAN performs exceptionally well on the test data both within and outside the domain, indicating that it is genuinely modeling periodicity rather than merely memorizing the training data. We also analyze the training process of different models on the tasks of learning complex periodic functions, as illustrated in Figure 4, which leads to the following findings. 1) FAN far exceeds the other baselines in both convergence speed and final effects. 2) In comparison to FAN, FAN (Gated) often achieves faster convergence, but the final performance remains comparable. 3) Although the baselines show stabilization or gradual reductions in training loss as the number of epochs increases, their modeling may have diverged considerably from the distribution of the test data, resulting in a
|
| 69 |
+
|
| 70 |
+
**Implementation Details.** We conduct our experiments on a single GPU of Tesla A100-PCIe-40G. Unless otherwise specified, we use the following hyperparameters in the experiments. The model architecture consists of 3-12 layers, the activation function _σ_ is set to GELU (Hendrycks & Gimpel, 2016), and the dimension of the projection matrix _Wpp_ is set to _dpp_ = 4[[1]] _[[d][h]][[h]]_[[,]][[where]] _[[d][h]][[h]]_[[denotes]][[the]] dimension of the hidden layers. We employ the AdamW optimizer (Loshchilov & Hutter, 2019) for the model’s training process. More experimental details and comprehensive setups of each task can be found in Appendix C.
|
| 71 |
+
|
| 72 |
+
6
|
| 73 |
+
|
| 74 |
+
**==> picture [439 x 89] intentionally omitted <==**
|
| 75 |
+
|
| 76 |
+
**----- Start of picture text -----**<br>
|
| 77 |
+
324<br>325<br>326<br>327<br>328<br>329<br>330<br>331<br>**----- End of picture text -----**<br>
|
| 78 |
+
|
| 79 |
+
|<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>F<br>v<br>s<br>i<br>4<br>**S**<br>f<br>h<br>f<br><br>t<br>p<br>n<br>t<br>i<br>o<br>a<br>r<br>i<br>T<br>L<br>r<br><br><br><br><br><br>(|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|igure 5: Comparisons of FAN with the baselines, including MLP, KAN, and Transformer, across<br>arying numbers of parameters on symbolic formula representation tasks.<br>harp increase in test loss. This phenomenon further demonstrates the shortcomings of these models<br>n capturing periodicity.<br>.2<br>SYMBOLICFORMULAREPRESENTATION<br>**etup.**<br>Symbolic formula representation is a common task in both mathematics and physics. We<br>ollow the experiments conducted in KAN’s paper (Liu et al., 2024), adhering to the same tasks, data,<br>yperparameters, and baselines. In addition to the original baselines, we also include Transformer<br>or comparison in this task.<br>**Results.**<br>Figure 5 demonstrates the performance of different models applied to four common func-<br>ions in mathematics and physics. From Figure 5, we can observe that while KAN remains com-<br>etitive with FAN when the number of parameters is small, its performance declines clearly as the<br>umber of parameters increases, which exhibits a U-shaped trend (Liu et al., 2024). In contrast, as<br>he number of parameters becomes large, FAN consistently outperforms the other baselines, includ-<br>ng MLP, KAN, and Transformer, in ftting these functions, despite many of these functions being<br>nly partially periodic or entirely non-periodic. This may be attributed to FAN’s ability to capture<br>nd model both periodic and non-periodic features and the advantages of fewer parameters. These<br>esults indicate that although FAN enhances its ability to model periodicity, it does not compromise<br>ts capacity to ft non-periodic functions.<br>able 2: Performance of different sequence models on time series forecasting tasks, where Input<br>ength = 96, the **bold** values indicate the lowest value on each row, and the improve means the<br>elative improvements of usingFAN and FAN(Gated)based on Transformer.|
|
| 80 |
+
|---|---|---|---|---|---|---|
|
| 81 |
+
||Dataset<br>Output<br>Length|LSTM<br>(12.51 M)<br>MSE_↓_<br>MAE_↓_|Mamba<br>(12.69 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)|Transformer with FAN (11.06 M)<br>Gated<br>Default<br>MSE_↓_<br>MAE_↓_<br>MSE_↓_<br>MAE_↓_||
|
| 82 |
+
|||||MSE_↓_<br>MAE_↓_|||
|
| 83 |
+
||Weather<br>96<br>192<br>336<br>720|1.069<br>0.742<br>1.090<br>0.778<br>0.992<br>0.727<br>1.391<br>0.892|0.552<br>0.519<br>0.700<br>0.595<br>0.841<br>0.667<br>1.171<br>0.803|0.413<br>0.438<br>0.582<br>0.540<br>0.751<br>0.626<br>0.967<br>0.715|**0.292**<br>**0.380**<br>0.535<br>0.550<br>**0.637**<br>0.602<br>0.845<br>0.706|0.313<br>0.431<br>**0.472**<br>**0.525**<br>0.719<br>**0.581**<br>**0.732**<br>**0.670**|
|
| 84 |
+
||Exchange<br>96<br>192<br>336<br>720|0.938<br>0.794<br>1.241<br>0.899<br>1.645<br>1.048<br>1.949<br>1.170|0.908<br>0.748<br>1.328<br>0.925<br>1.512<br>0.992<br>2.350<br>1.271|0.777<br>0.681<br>1.099<br>0.800<br>1.614<br>1.029<br>2.163<br>1.204|0.685<br>0.644<br>0.998<br>0.757<br>1.511<br>0.961<br>**1.658**<br>**1.104**|**0.657**<br>**0.623**<br>**0.968**<br>**0.741**<br>**1.266**<br>**0.905**<br>2.063<br>1.205|
|
| 85 |
+
||Traffc<br>96<br>192<br>336<br>720|0.659<br>0.359<br>0.668<br>0.360<br>**0.644**<br>**0.342**<br>**0.654**<br>**0.351**|0.666<br>0.377<br>0.671<br>0.381<br>0.665<br>0.374<br>0.662<br>0.364|0.656<br>0.357<br>0.672<br>0.363<br>0.673<br>0.360<br>0.701<br>0.380|0.647<br>0.355<br>**0.649**<br>**0.353**<br>0.665<br>0.358<br>0.682<br>0.369|**0.643**<br>**0.347**<br>0.657<br>0.354<br>0.656<br>0.353<br>0.673<br>0.363|
|
| 86 |
+
||ETTh<br>96<br>192<br>336<br>720|0.999<br>0.738<br>1.059<br>0.759<br>1.147<br>0.820<br>1.206<br>0.847|0.860<br>0.697<br>**0.849**<br>**0.700**<br>1.005<br>0.745<br>**0.994**<br>**0.758**|1.139<br>0.853<br>1.373<br>0.932<br>1.261<br>0.924<br>1.056<br>0.819|**0.842**<br>0.736<br>0.885<br>0.748<br>**0.980**<br>**0.770**<br>1.002<br>0.798|0.873<br>**0.707**<br>0.914<br>0.741<br>0.999<br>0.793<br>1.031<br>0.818|
|
| 87 |
+
||Average<br>Improve)<br>–|1.083<br>0.726|1.002<br>0.668|0.994<br>0.689|**0.845**<br>_↓_15.0%<br>0.637<br>_↓_7.6%|0.852<br>_↓_14.3%<br>**0.635**<br>_↓_7.9%|
|
| 88 |
+
|
| 89 |
+
7
|
| 90 |
+
|
| 91 |
+
## 4.3 TIME SERIES FORECASTING
|
| 92 |
+
|
| 93 |
+
> **380 Setup.** Time series forecasting plays a critical role in various real-world applications. In our ex-
|
| 94 |
+
|
| 95 |
+
periments, we employ four public datasets of this task to assess the model performance on time series forecasting, including Weather (Wu et al., 2021a), Exchange (Lai et al., 2018), Traffic (Wu et al., 2021a), and ETTh (Zhou et al., 2021) datasets. For each dataset, we input 96 previous time steps and forecast the subsequent time steps of _{_ 96, 192, 336, 720 _}_ . In this task, we choose the sequence models as baselines, including LSTM, Mamba, Transformer, Transformer with FAN , and Transformer with FAN (Gated).
|
| 96 |
+
|
| 97 |
+
Transformer with FAN (Gated). **387 388 Results.** As presented in Table 2, we compare the performance of Transformer with FAN and other sequence models for time series forecasting tasks on four public datasets. In most cases, Transformer with FAN and its gated version achieves the best performance on these tasks, compared to LSTM, Mamba, and the standard Transformer. The improvements of Transformer with FAN and FAN (Gated) over the standard Transformer are notable, with the average relative improvements ranging from 14.3% to 15.0% for MSE and from 7.6% to 7.9% for MAE. These results suggest that incorporating explicit periodic pattern encoding within neural networks improves time series forecasting performance in real-world applications. 4.4 LANGUAGE MODELING **397 398 Setup.** Language modeling is a fundamental task in natural language processing. In this exper- iment, we conduct language modeling using the SST-2 (Socher et al., 2013) dataset and evaluate the model’s performance on its test set, as well as on the related datasets such as IMDB (Maas et al., 2011), Sentiment140 (Sahni et al., 2017), and Amazon Reviews (Linden et al., 2003). These four classic datasets all belong to the field of sentiment analysis. In this task, the comparisons are between Transformer with FAN and FAN (Gated), along with other sequence models, including LSTM, Mamba, and Transformer. Table 3: Performance of different sequence models on language modeling tasks, where the models are trained on the training set of SST-2 and evaluated on the other datasets, the **bold** value indicates the best performance on each column, the _**bold italic**_ indicates the best performance other than Transformer with FAN and FAN (Gated), and the improvements represent our relative improvements of using FAN based on Transformer. Num of SST-2 (test) IMDB Sentiment140 Amazon Reviews Model Params Loss _↓_ Acc _↑_ Loss _↓_ Acc _↑_ Loss _↓_ Acc _↑_ Loss _↓_ Acc _↑_ LSTM 120.14M 0.4760 0.8060 0.6449 0.6438 0.8026 _**0.5979**_ 0.5791 0.7152 Mamba 129.73M 0.4335 0.7959 0.6863 0.6203 **0.7871** 0.5874 0.6163 0.6719 Transformer 109.48M _**0.4297 0.8119 0.5649 0.6994**_ 0.8891 0.5779 _**0.5563 0.7155**_ w/ FAN (Gated) 95.33M 0.4250 0.8039 0.5817 0.7012 0.7941 **0.6194** 0.4835 0.7689 w/ FAN 95.32M **0.4094 0.8154 0.5225 0.7398** 0.8257 0.6093 **0.4748 0.7763 417** Improvements _↓_ 14.16M _↓_ 4.72% _↑_ 0.43% _↓_ 7.51% _↑_ 5.78% _↓_ 7.13% _↑_ 5.43% _↓_ 14.65% _↑_ 8.50% **418 419 420 Results.** We report the performance comparison between different sequence models across four public sentiment analysis datasets, as shown in Table 3. The results indicate that Transformer with FAN achieves clear improvements compared to the standard Transformer and other baselines, such as LSTM and Mamba, especially for zero-shot OOD performance on IMDB, Sentiment140, and Amazon Reviewers datasets. Using FAN achieves the relative improvements up to 14.65% and 8.50% in terms of Loss and Accuracy respectively, while reducing the number of parameters by about 14.16M. The result indicates the potential of periodicity modeling to enhance both effective- ness and generalization on cross-domain language modeling and sentiment analysis tasks. 4.5 IMAGE RECOGNITION **430 431 Setup.** Image recognition is a key computer vision task where image content is identified and
|
| 98 |
+
|
| 99 |
+
**Setup.** Language modeling is a fundamental task in natural language processing. In this experiment, we conduct language modeling using the SST-2 (Socher et al., 2013) dataset and evaluate the model’s performance on its test set, as well as on the related datasets such as IMDB (Maas et al., 2011), Sentiment140 (Sahni et al., 2017), and Amazon Reviews (Linden et al., 2003). These four classic datasets all belong to the field of sentiment analysis. In this task, the comparisons are between Transformer with FAN and FAN (Gated), along with other sequence models, including LSTM, Mamba, and Transformer.
|
| 100 |
+
|
| 101 |
+
**Setup.** Image recognition is a key computer vision task where image content is identified and categorized. Our evaluation contains four public benchmarks of image recognition: MNIST (LeCun
|
| 102 |
+
|
| 103 |
+
8
|
| 104 |
+
|
| 105 |
+
et al., 2010), MNIST-M (Ganin et al., 2016), Fashion-MNIST (Xiao et al., 2017), and Fashion- MNIST-C (Weiss & Tonella, 2022), where MNIST is used for digit recognition, Fashion-MNIST assesses clothing classification, MNIST-M and Fashion-MNIST-C are their variant for robustness. **435 436 Results.** We also apply FAN to image recognition tasks on four classic benchmarks, as shown in Table 4. Experimental results show that using FAN outperforms the standard CNN in most cases for the optimal Accuracy, Accuracy, and OOD Accuracy, as well as achieves clear improvements in the optimal OOD Accuracy. We believe that there are some latent periodic features in image recognition tasks, and FAN’s ability to model these periodic features can help CNN achieve competitive or superior performance, especially in OOD scenarios. Table 4: Results on image recognition tasks. Accuracy* means best Accuracy, Accuracy means Accuracy at the last epoch, and OOD Accuracy means Accuracy on other paired datasets. **Bold 445** values indicate the highest value between CNN and CNN w/ FAN under the same setting.ghest value between CNN and CNN w/ FAN under the same setting.hest value between CNN and CNN w/ FAN under the same setting.g.. Accuracy* _↑_ OOD Accuracy* _↑_ Accuracy _↑_ OOD Accuracy _↑_ Dataset CNN w/ FAN CNN w/ FAN CNN w/ FAN CNN w/ FAN MNIST 99.63 **99.67** 28.85 **30.3** 99.55 **99.64 22.12** 21.64 MNIST-M **94.52** 94.23 82.85 **83.55 94.29** 94.22 80.07 **81.44 451** Fashion-MNIST 94.15 **94.47** 49.82 **51.88** 94.05 **94.21** 48.08 **50.3 452** Fashion-MNIST-C 88.61 **88.82** 91.45 **91.59 88.6** 88.59 91.41 **91.47 453 454 455** 4.6 FURTHER ANALYSIS OF FAN **456 457 Runtime of FAN.** We analyze Table 5: Comparison of actual runtime between FAN and MLP. the actual running time of the 1024 _×_ 1024 2048 _×_ 2048 4096 _×_ 4096 8192 _×_ 8192 FAN Layer compared to the MLP Layer with different input MLP **0.064 ms 0.114 ms** 0.212 ms 0.938 ms and output dimensions, as shown FAN 0.128 ms 0.133 ms **0.211 ms 0.704 ms 461** in Table 5. The experimental re- sults show that MLPs exhibit smaller runtimes when the input and output sizes are small, due to PyTorch’s optimization of MLP. However, as the input and output sizes continue to increase, matrix computations become the main contributor to runtime. At this point, FAN’s fewer parameters and reduced FLOPs begin to show significant advantages. Note that FAN can be further optimized from the underlying implementation. **467 468 The impact of hyperparameter dp.p..** In our experiments, we fix the hyperparameter _d_ p = 144 _[[d][h]][[h]]_ intuitively for FAN, where _dhh_ denotes the dimension of the hidden layers. As shown in Figure 7 of Appendix, we investigate the impact of varying _d_ p empirically on task performance by changing itself. The results indicate that performance initially improves as _d_ p increases, but then decreases beyond a certain point. This trend may be attributed to the number of potential periodic features specific to each task. Furthermore, there remains room for further improvements with the better hyperparameter setup of **d** p.. 5 RELATED WORK
|
| 106 |
+
|
| 107 |
+
Table 4: Results on image recognition tasks. Accuracy* means best Accuracy, Accuracy means Accuracy at the last epoch, and OOD Accuracy means Accuracy on other paired datasets. **Bold** values indicate the highest value between CNN and CNN w/ FAN under the same setting.ghest value between CNN and CNN w/ FAN under the same setting.hest value between CNN and CNN w/ FAN under the same setting.g..
|
| 108 |
+
|
| 109 |
+
**The impact of hyperparameter dp.p..** In our experiments, we fix the hyperparameter _d_ p = 144 _[[d][h]][[h]]_ intuitively for FAN, where _dhh_ denotes the dimension of the hidden layers. As shown in Figure 7 of Appendix, we investigate the impact of varying _d_ p empirically on task performance by changing itself. The results indicate that performance initially improves as _d_ p increases, but then decreases beyond a certain point. This trend may be attributed to the number of potential periodic features specific to each task. Furthermore, there remains room for further improvements with the better hyperparameter setup of **d** p..
|
| 110 |
+
|
| 111 |
+
In this section, we outline the two most relevant directions and associated papers of this work.
|
| 112 |
+
|
| 113 |
+
**Learning Periodicity with Neural Networks.** Periodic functions are one of the most basic functions of importance to human society and natural science (Newton, 1687; Osborn & Sensier, 2002; Kwasnicki, 2008; De Groot & Franses, 2012; Zhang et al., 2017). However, commonly used neural networks, such as MLPs and transformers, struggle with modeling periodicity. This limitation is attributed to the lack of inherent “periodicity” in their inductive biases. Some previous works (Silvescu, 1999; Liu, 2013; Parascandolo et al., 2016; Uteuliyeva et al., 2020) proposed merely using standard periodic functions themselves or their linear combinations as activation functions, which
|
| 114 |
+
|
| 115 |
+
9
|
| 116 |
+
|
| 117 |
+
only work well on some shallow and simple models. On this basis, work (Liu et al., 2020) intro- duced the Snake function, i.e., _x_ + sin[2] ( _x_ ), as the activation function. However, we observed that it can fit periodic functions to a certain extent, but its effect is limited especially for OOD scenarios, as demonstrated in Appendix D. Therefore, although some previous studies have attempted to inte- grate periodic information into neural networks, their actual performance and range of applications remain heavily constrained.
|
| 118 |
+
|
| 119 |
+
> **493 Fourier-based Neural Network.** Previous studies have explored Fourier-based neural networks
|
| 120 |
+
|
| 121 |
+
to enhance the computational tasks (Zuo & Cai, 2005; Tan, 2006; Zuo et al., 2008; Li et al., 2021b; Chen et al., 2022). Fourier Neural Networks (Silvescu, 1999; Ngom & Marin, 2021) are shallow feedforward networks that employ cosine activation functions to map inputs to their Fourier decom- positions. Work (Lee et al., 2021) directly utilized the Fourier Series constructed by a shallow neural network for generating periodic signals. In addition, work (Jiang et al., 2022) introduces Fourier Se- ries at the end of models to embed periodic components within the network. These approaches generally possess a similar principle as Eq. (3), using a neural network to simulate the formula of Fourier Series. However, this leads to the same problem as in Eq. (5), i.e., they are hard to serve as building blocks for deep neural networks, which limits these approaches’ capabilities. In this paper, we design FAN to address these challenges, which performs exceptionally well on periodicity modeling and a range of real-world tasks.
|
| 122 |
+
|
| 123 |
+
6 DISCUSSION In this section, we mainly discuss the expressive power and application scope of FAN as follows. First, FAN theoretically possesses the same expressive power as MLP as it also adheres to the uni- versal approximation theorem, which ensures its capacity for functional approximation (refer to Appendix E for the detailed explanation). Moreover, FAN introduces an important enhancement by explicitly incorporating periodicity, a feature absent in traditional MLPs. Through this design, FAN not only retains the capabilities of MLP but also enhances its ability to capture periodic char- acteristics in data. For periodic tasks and some non-periodic tasks that are partially periodic, FAN
|
| 124 |
+
|
| 125 |
+
leverages its effective periodicity modeling ability to yield better results. Therefore, FAN can be
|
| 126 |
+
|
| 127 |
+
seen as a promising alternative to MLP. Second, beyond tasks that explicitly require periodicity modeling, FAN also has utility in a broader range of applications, which has been evidenced by our extensive experiments on real-world tasks, such as symbolic formula representation, time series forecasting, language modeling, and image recognition, where FAN achieve competitive or superior performance than MLP and other base-
|
| 128 |
+
|
| 129 |
+
lines. In fact, many machine learning tasks may harbor hidden forms of periodicity, even without
|
| 130 |
+
|
| 131 |
+
explicitly including periodicity, such as mathematical operations and logic reasoning. If the neural
|
| 132 |
+
|
| 133 |
+
network lacks the ability to model periodicity, it could impair its learning efficiency. From a deeper
|
| 134 |
+
|
| 135 |
+
perspective, periodicity is not just a data feature but reflects a form of structural knowledge—one that allows for the transfer and reuse of abstract rules and principles across different contexts. 7 CONCLUSION In this paper, we have proposed Fourier Analysis Network (FAN), a novel neural network archi- tecture for tackling the problem of periodicity modeling, which utilizes Fourier Series to facilitate capturing the underlying principles within data and reasoning. Experimental results demonstrate that FAN can successfully fit a variety of both basic and complex periodic functions, whereas other approaches failed. Moreover, FAN and its combination with Transformer also exhibit superior per-
|
| 136 |
+
|
| 137 |
+
formance in multiple real-world tasks, including symbolic formula representation, time series fore-
|
| 138 |
+
|
| 139 |
+
casting, language modeling, and image recognition tasks, outperforming existing neural networks
|
| 140 |
+
|
| 141 |
+
such and Mamba. These
|
| 142 |
+
|
| 143 |
+
In this paper, we have proposed Fourier Analysis Network (FAN), a novel neural network archi- tecture for tackling the problem of periodicity modeling, which utilizes Fourier Series to facilitate capturing the underlying principles within data and reasoning. Experimental results demonstrate that FAN can successfully fit a variety of both basic and complex periodic functions, whereas other approaches failed. Moreover, FAN and its combination with Transformer also exhibit superior per- formance in multiple real-world tasks, including symbolic formula representation, time series fore- casting, language modeling, and image recognition tasks, outperforming existing neural networks such as MLP, KAN, Transformer, CNN, LSTM, and Mamba. These promising results, especially the stronger performance and the fewer parameters and FLOPs compared to MLP, suggest its po- tential to become a key component of foundational models. In the future, we aim to further increase the scale of FAN and expand its scope of application, reinforcing its role as a versatile and powerful building block in the machine learning landscape.
|
| 144 |
+
|
| 145 |
+
10
|
| 146 |
+
|
| 147 |
+
- REFERENCES Hanlong Chen, Luzhe Huang, Tairan Liu, and Aydogan Ozcan. Fourier imager network (FIN): A deep neural network for hologram reconstruction with superior external generalization. _Light:_ _Science & Applications_ , 2022. Bert De Groot and Philip Hans Franses. Common socio-economic cycle periods. _Technological_
|
| 148 |
+
|
| 149 |
+
- _Forecasting and Social Change_ , 79(1):59–68, 2012.
|
| 150 |
+
|
| 151 |
+
-
|
| 152 |
+
|
| 153 |
+
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. _CoRR_ , abs/1810.04805, 2018. URL [URL removed] Javier Duoandikoetxea. _Fourier analysis_ , volume 29. American Mathematical Society, 2024.
|
| 154 |
+
|
| 155 |
+
-
|
| 156 |
+
|
| 157 |
+
- Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, Franc¸ois Laviolette, Mario Marchand, and Victor S. Lempitsky. Domain-adversarial training of neural networks. _J. Mach. Learn. Res._ , 17:59:1–59:35, 2016.
|
| 158 |
+
|
| 159 |
+
Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces. _CoRR_ , abs/2312.00752, 2023. Simon Haykin. _Neural networks: a comprehensive foundation_ . Prentice Hall PTR, 1998. Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus). _arXiv preprint_ _arXiv:1606.08415_ , 2016. Sepp Hochreiter and J¨urgen Schmidhuber. Long short-term memory. _Neural Comput._ , 9(8):1735– 1780, 1997. Kurt Hornik, Maxwell B. Stinchcombe, and Halbert White. Multilayer feedforward networks are universal approximators. _Neural Networks_ , 2(5):359–366, 1989. Song Jiang, Tahin Syed, Xuan Zhu, Joshua Levy, Boris Aronchik, and Yizhou Sun. Bridging self- attention and time series decomposition for periodic forecasting. In _CIKM_ , pp. 3202–3211. ACM, 2022. Witold Kwasnicki. Kitchin, juglar and kuznetz business cycles revisited. _Wroclaw: Institute of Economic Sciences_ , 2008. Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. Modeling long- and short-term temporal patterns with deep neural networks. In _SIGIR_ , pp. 95–104. ACM, 2018. Yann LeCun, L´eon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. _Proc. IEEE_ , 86(11):2278–2324, 1998. Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. _ATT Labs [Online]._ _Available: [URL removed] , 2, 2010. Jiyoung Lee, Wonjae Kim, Daehoon Gwak, and Edward Choi. Conditional generation of periodic signals with fourier-based decoder. _CoRR_ , abs/2110.12365, 2021. Zongyi Li, Nikola Borislavov Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhat- tacharya, Andrew M. Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In _ICLR_ . OpenReview.net, 2021a. Zongyi Li, Nikola Borislavov Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhat- tacharya, Andrew M. Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In _ICLR_ . OpenReview.net, 2021b. Greg Linden, Brent Smith, and Jeremy York. Amazon.com recommendations: Item-to-item collab- orative filtering. _IEEE Internet Comput._ , 7(1):76–80, 2003.
|
| 160 |
+
|
| 161 |
+
- Shuang Liu. Fourier neural network for machine learning. In _ICMLC_ , pp. 285–290. IEEE, 2013.
|
| 162 |
+
|
| 163 |
+
11
|
| 164 |
+
|
| 165 |
+
Ziming Liu, Yixuan Wang, Sachin Vaidya, Fabian Ruehle, James Halverson, Marin Soljacic, Thomas Y. Hou, and Max Tegmark. KAN: kolmogorov-arnold networks. _CoRR_ , abs/2404.19756, 2024.
|
| 166 |
+
|
| 167 |
+
Ziyin Liu, Tilman Hartwig, and Masahito Ueda. Neural networks fail to learn periodic functions and how to fix it. In _NeurIPS_ , 2020. Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In _ICLR (Poster)_ . Open- Review.net, 2019.
|
| 168 |
+
|
| 169 |
+
- Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In _ACL_ , pp. 142–150. The Association for Computer Linguistics, 2011.
|
| 170 |
+
|
| 171 |
+
- Isaac Newton. _Philosophiae naturalis principia mathematica_ . William Dawson & Sons Ltd., Lon- don, 1687. Marieme Ngom and Oana Marin. Fourier neural networks as function approximators and differential equation solvers. _Stat. Anal. Data Min._ , 14(6):647–661, 2021.
|
| 172 |
+
|
| 173 |
+
- OpenAI. GPT-4 technical report. _CoRR_ , abs/2303.08774, 2023. Denise R. Osborn and Marianne Sensier. The prediction of business cycle phases: Financial variables and international linkages. _National Institute Economic Review_ , 182(1):96–
|
| 174 |
+
|
| 175 |
+
- 105, 2002. doi: 10.1177/002795010218200110. URL [URL removed]
|
| 176 |
+
|
| 177 |
+
- 002795010218200110.
|
| 178 |
+
|
| 179 |
+
- Giambattista Parascandolo, Heikki Huttunen, and Tuomas Virtanen. Taming the waves: sine as activation function in deep neural networks. 2016. Frank Rosenblatt. The perceptron: a probabilistic model for information storage and organization
|
| 180 |
+
|
| 181 |
+
- in the brain. _Psychological review_ , 65(6):386, 1958.
|
| 182 |
+
|
| 183 |
+
- Tapan Sahni, Chinmay Chandak, Naveen Reddy Chedeti, and Manish Singh. Efficient twitter sen- timent classification using subjective distant supervision. In _COMSNETS_ , pp. 548–553. IEEE, 2017.
|
| 184 |
+
|
| 185 |
+
- Adrian Silvescu. Fourier neural networks. In _IJCNN_ , pp. 488–491. IEEE, 1999. Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In _EMNLP_ , pp. 1631–1642. ACL, 2013. Elias M Stein and Guido Weiss. _Introduction to Fourier analysis on Euclidean spaces_ , volume 1. Princeton university press, 1971. HS Tan. Fourier neural networks and generalized single hidden layer networks in aircraft engine fault diagnostics. 2006. Georgi P Tolstov. _Fourier series_ . Courier Corporation, 2012.
|
| 186 |
+
|
| 187 |
+
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Niko- lay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn,
|
| 188 |
+
|
| 189 |
+
- Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel
|
| 190 |
+
|
| 191 |
+
- Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee,
|
| 192 |
+
|
| 193 |
+
- Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aur´elien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and fine-tuned chat models. _CoRR_ , abs/2307.09288, 2023.
|
| 194 |
+
|
| 195 |
+
12
|
| 196 |
+
|
| 197 |
+
- Dmitry Ulyanov, Andrea Vedaldi, and Victor S. Lempitsky. Instance normalization: The missing
|
| 198 |
+
|
| 199 |
+
- ingredient for fast stylization. _CoRR_ , abs/1607.08022, 2016.
|
| 200 |
+
|
| 201 |
+
- Malika Uteuliyeva, Abylay Zhumekenov, Rustem Takhanov, Zhenisbek Assylbekov, Alejandro J. Castro, and Olzhas Kabdolov. Fourier neural networks: A comparative study. _Intell. Data Anal._ , 24(5):1107–1120, 2020.
|
| 202 |
+
|
| 203 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez,
|
| 204 |
+
|
| 205 |
+
Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In _NIPS_ , pp. 5998–6008, 2017.
|
| 206 |
+
|
| 207 |
+
- Michael Weiss and Paolo Tonella. Simple techniques work surprisingly well for neural network test prioritization and active learning. In _Proceedings of the 31th ACM SIGSOFT International_ _Symposium on Software Testing and Analysis_ , 2022. Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition trans- formers with auto-correlation for long-term series forecasting. _Advances in neural information_ _processing systems_ , 34:22419–22430, 2021a. Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. _Advances in neural information_
|
| 208 |
+
|
| 209 |
+
- _processing systems_ , 34:22419–22430, 2021b.
|
| 210 |
+
|
| 211 |
+
- Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmark- ing machine learning algorithms. _CoRR_ , abs/1708.07747, 2017. URL [URL removed] abs/1708.07747. Liheng Zhang, Charu Aggarwal, and Guo-Jun Qi. Stock price prediction via discovering multi-
|
| 212 |
+
|
| 213 |
+
- frequency trading patterns. In _Proceedings of the 23rd ACM SIGKDD International Conference_
|
| 214 |
+
|
| 215 |
+
- _on Knowledge Discovery and Data Mining_ , KDD ’17, pp. 2141–2149, New York, NY, USA, 2017. Association for Computing Machinery. ISBN 9781450348874. doi: 10.1145/3097983. 3098117. URL [URL removed] Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. In _AAAI_ , pp. 11106–11115. AAAI Press, 2021.
|
| 216 |
+
|
| 217 |
+
- Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting. In _ICML_ , volume 162 of _Proceedings of Machine Learning Research_ , pp. 27268–27286. PMLR, 2022. Wei Zuo and Lilong Cai. Tracking control of nonlinear systems using fourier neural network. In
|
| 218 |
+
|
| 219 |
+
- _Proceedings, 2005 IEEE/ASME International Conference on Advanced Intelligent Mechatronics._ ,
|
| 220 |
+
|
| 221 |
+
- pp. 670–675. IEEE, 2005.
|
| 222 |
+
|
| 223 |
+
-
|
| 224 |
+
|
| 225 |
+
Wei Zuo and Lilong Cai. Adaptive-fourier-neural-network-based control for a class of uncertain nonlinear systems. _IEEE transactions on neural networks_ , 19(10):1689–1701, 2008. Wei Zuo, Yang Zhu, and Lilong Cai. Fourier-neural-network-based learning control for a class of nonlinear systems with flexible components. _IEEE transactions on neural networks_ , 20(1): 139–151, 2008.
|
| 226 |
+
|
| 227 |
+
13
|
| 228 |
+
|
| 229 |
+
A MLP The MLP layer Φ( _x_ ) is defined as: Φ( _x_ ) = _σ_ ( _Bm_ + _Wmx_ ) _,_ (12) where _Bm ∈_ R _[d][m]_ and _Wp_ ¯ _∈_ R _[d][x][×][d][m]_ are learnable parameters with the hyperparameter _dm_ indi- cating the first dimension of _Wm_ , _σ_ denotes the activation function, and MLP can be defined as the stacking of the MLP layer Φ( _x_ ):
|
| 230 |
+
|
| 231 |
+
MLP( _x_ ) = Φ _L ◦_ Φ _L−_ 1 _◦· · · ◦_ Φ1 _◦ x,_ (13)
|
| 232 |
+
|
| 233 |
+
where
|
| 234 |
+
|
| 235 |
+
> **712713** Φ _l_ ( _x_ ) = � _σB_ ( _[L] B_ + _m[l] W_[+] _[ W][L] x,[ l] m[x]_[)] _[,]_ ifif _l < L, l_ = _L._ (14)
|
| 236 |
+
|
| 237 |
+
B ADDITIONAL EXPERIMENTS
|
| 238 |
+
|
| 239 |
+
B.1 ADDITIONAL EXPERIMENTS ON PERIODICITY MODELING TASKS.
|
| 240 |
+
|
| 241 |
+
More experimental results on periodicity modeling tasks are shown in Figure 6. 𝑦= sin (𝑥 + sin (2𝑥)) MLP KAN Transformer FAN 𝑦= sin 𝑡cos[!] (2𝑡) + cos 𝑡sin[!] (3𝑡) MLP KAN Transformer FAN Figure 6: Additional Experiments on Periodicity Modeling Tasks. B.2 FAN FOR SOLVING SCIML PROBLEMS We conduct experiments on the SciML problem that includes the Fourier function class following the work (Li et al., 2021a). The Burgers’ equation, a non-linear partial differential equation, is fre- quently used in scientific computing to model shock waves and traffic flow, among other phenomena.
|
| 242 |
+
|
| 243 |
+
The detailed error rate on Burgers’ equation is listed in the Table 6. We can find that replacing the
|
| 244 |
+
|
| 245 |
+
MLP Layer with FAN Layer in Fourier Neural Operator (FNO) (Li et al., 2021a) can achieve clear
|
| 246 |
+
|
| 247 |
+
improvements on each setting of resolution _s_ of this task.
|
| 248 |
+
|
| 249 |
+
## B.3 COMPARISON WITH FREQUENCY-BASED MODELS IN TIME SERIES FORECASTING TASKS
|
| 250 |
+
|
| 251 |
+
To compare with frequency-based models in Time Series Forecasting tasks such as FEDformer (Zhou et al., 2022), we replace MLP with FAN in frequency-based models. We present the experi-
|
| 252 |
+
|
| 253 |
+
14
|
| 254 |
+
|
| 255 |
+
Table 6: The error rate on Burgers’ equation. The values in the table represent the Average Relative Error for Burgers’ equation with lower values indicating better performance. Model _s_ = 256 _s_ = 512 _s_ = 1024 _s_ = 2048 _s_ = 4096 _s_ = 8192 FNO 5.93% 6.14% 6.03% 6.75% 7.36% 9.93% FNO with FAN **5.26% 5.17% 5.18% 6.73% 6.35% 7.06% 762 763 764** mental results in Table 7, where the results of FEDformer are cited from its paper directly. From the results, we can find that FEDformer with FAN can outperform FEDformer in almost all cases. Table 7: Results of comparison with frequency-based models in time series forecasting tasks. Dataset FEDformer with FAN Len MSE MAE MSE MAE 96 0.587 0.366 **0.577 0.357 773** 192 0.604 0.373 **0.601 0.366** Traffic 336 0.621 0.383 **0.620 0.378** 720 0.626 0.382 **0.619 0.370 775 776** 96 0.148 0.278 **0.138 0.267 777** 192 0.271 0.380 **0.261 0.371** Exchange 336 **0.460 0.500** 0.461 0.503 720 1.195 0.841 **1.159 0.827 780** 96 0.193 0.308 **0.184 0.298 781** 192 0.201 0.315 **0.199 0.313** Electricity 336 0.214 0.329 **0.212 0.325 783** 720 0.246 0.355 **0.239 0.347 784 785 786** B.4 COMPARISON WITH DIRECTLY LEARNING THE COEFFICIENTS We compare FAN with a baseline of directly learning the coefficients, which inputs _sin_ ( _x_ ) and _cos_ ( _x_ ) and then uses the MLP Layer instead of the FAN Layer to model the Fourier coefficients. In this setting, frequencies are fixed and only the coefficients are learned, which may limit the model’s ability to capture patterns not aligned with these frequencies. Taking simple _f_ ( _x_ ) = _x mod_ 5 as an example, this setting may not even converge at all, because the frequency of _x mod_ 5 is inconsistent with _sin_ ( _x_ ) and _cos_ ( _x_ ). The experimental results of their loss are shown in Table 8. Table 8: Comparison of FAN and directly learning the coefficients on fitting _f_ ( _x_ ) = _x mod_ 5. Epoch 50 100 150 200 Directly learning the coefficients 2.10 2.09 2.09 2.08 FAN 0.28 0.23 0.18 0.17 B.5 EXPERIMENTS ON TIME SERIES FORECASTING WITH INSTANCE NORMALIZATION We conduct experiments on time series forecasting tasks with instance normalization (Ulyanov et al., 2016), and the results are shown in Table 9. We find that applying instance normalization before the architecture can effectively improve the performance. B.6 THE INFLUENCE OF HYPERPARAMETERS **d** P
|
| 256 |
+
|
| 257 |
+
mental results in Table 7, where the results of FEDformer are cited from its paper directly. From the results, we can find that FEDformer with FAN can outperform FEDformer in almost all cases.
|
| 258 |
+
|
| 259 |
+
We evaluate the influence of hyperparameters **d** p as shown in Figure 7.
|
| 260 |
+
|
| 261 |
+
15
|
| 262 |
+
|
| 263 |
+
|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Dataset<br>Output<br>Length|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer<br>(12.12 M)<br>MSE_↓_<br>MAE_↓_|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|Transformer with|
|
| 264 |
+
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 265 |
+
|||||||||||||||Gated<br>MSE_↓_<br>MAE_↓_|||||||||||||||
|
| 266 |
+
|Weather<br>96<br>192<br>336<br>720|||||||0.1772<br>0.2301<br>0.2438<br>0.2844<br>**0.3077**<br>**0.3267**<br>0.4253<br>0.3982|||||||0.1864<br>0.2352<br>0.2445<br>0.2834<br>0.3156<br>0.3320<br>**0.3909**<br>**0.3782**|||||||||||||||
|
| 267 |
+
|Exchange<br>96<br>192<br>336<br>720|||||||0.1433<br>0.2653<br>0.2563<br>**0.3552**<br>0.5273<br>0.5218<br>1.7401<br>0.9273|||||||**0.1157**<br>**0.2452**<br>**0.2539**<br>0.3611<br>**0.4329**<br>**0.4891**<br>1.5783<br>0.9303|||||||||||||||
|
| 268 |
+
|Traffc<br>96<br>192<br>336<br>720|||||||0.6160<br>0.3449<br>0.6329<br>0.3479<br>0.6369<br>0.3485<br>0.6555<br>0.3577|||||||**0.6030**<br>0.3334<br>0.6239<br>0.3404<br>0.6416<br>0.3487<br>0.6645<br>0.3574|||||||||||||||
|
| 269 |
+
|ETTh1<br>96<br>192<br>336<br>720|||||||**0.5339**<br>**0.4910**<br>**0.5633**<br>**0.5209**<br>0.7576<br>0.5813<br>0.7411<br>0.6177|||||||0.5503<br>0.5216<br>0.5906<br>0.5346<br>**0.6640**<br>**0.5636**<br>0.7411<br>**0.6066**|||||||||||||||
|
| 270 |
+
|ETTh2<br>96<br>192<br>336<br>720|||||||0.3881<br>**0.4097**<br>0.5766<br>0.4999<br>0.5782<br>0.5100<br>0.5841<br>0.5230|||||||0.4082<br>0.4292<br>**0.4695**<br>**0.4514**<br>0.5556<br>0.5012<br>**0.5070**<br>**0.4943**|||||||||||||||
|
| 271 |
+
|Average<br>(Improve)<br>–|||||||0.554<br>0.444|||||||0.526<br>_↓_5.1%<br>0.436<br>_↓_1.9%|||||||||||||||
|
| 272 |
+
||||||||||||||||||||||||||||||
|
| 273 |
+
|SST-2|||0.20<br>0.25<br>0.30<br>doutput<br>(Loss)<br>Transformer with FAN<br>Transformer<br>0.5<br>0.5<br>0.5<br>0.5<br>0.5<br>0.5<br>0.5<br>0.5<br>0.5<br>Value<br>ccuracy)||||0.05<br>0.10<br>0.15<br>0.20<br>0.25<br>0.30<br>dp / doutput<br>0<br>1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>IMDB (Loss)<br>Transformer with FAN<br>Transformer<br>0.80<br>0.85<br>0.90<br>0.95<br>Value<br>IMDB Test Set (Accuracy)||||||||Sentiment140 (Loss)|||||||0.44<br>0.45<br>0.46<br>0.47<br>0.48<br>0.49<br>0.50<br>0.51<br>Value|||||||
|
| 274 |
+
||||||||||||||||||||||||||||||
|
| 275 |
+
||||||||||||||||||||||||||||||
|
| 276 |
+
||||||||||||||||||||||||||||||
|
| 277 |
+
||||||||||||||||||||||||||||||
|
| 278 |
+
||||||||||||||||||||||||||||||
|
| 279 |
+
||||||||||||||||||||||||||||||
|
| 280 |
+
||||||||||||||||||||||||||||||
|
| 281 |
+
|||||Transform<br>Transform|er with FAN<br>er|||||||||||||||Transform<br>Transform|er with FAN<br>er||||||||
|
| 282 |
+
|0.05<br>0.10<br>0.15<br>dp / <br>SST-2 (A|||||||||||||||0.05<br>0.10<br>0.15<br>0.20<br>0.25<br>0.30<br>dp / doutput<br>Sentiment140 (Accuracy)||||||||||||||
|
| 283 |
+
|||||||0.732<br>0.735<br>0.737<br>0.740<br>0.742<br>0.745<br>0.747<br>0.750<br>Value|||||||0.610<br>0.612<br>0.614<br>0.616<br>0.618<br>0.620<br>0.622<br>0.624<br>Value|||||||||0.775<br>0.780<br>0.785<br>0.790<br>Value|||||||
|
| 284 |
+
||||||||||||||||||||||||||||||
|
| 285 |
+
||||||||5||||||||||||||||||||||
|
| 286 |
+
||||||||0||||||||||||||||||||||
|
| 287 |
+
||||||||5||||||||||||||||||||||
|
| 288 |
+
||||||||0||||||||||||||||||||||
|
| 289 |
+
|||||Transform|er with FAN||5<br>0<br>5||||Transform|er with FAN||||||||~~Transform~~|~~er with FAN~~||||||Transform|er with FAN|
|
| 290 |
+
|0.05<br>0.10<br>0.15<br>dp / <br>|||0.20<br>0.25<br>0.30<br>doutput<br>~~Transformer~~<br>||||0.05<br>0.10<br>0.15<br>0.20<br>0.25<br>0.30<br>dp / doutput<br><br>~~Transformer~~||||||||0.05<br>0.10<br>0.15<br>0.20<br>0.25<br>0.30<br>dp / doutput<br>Transformer||||||||||||||
|
| 291 |
+
|
| 292 |
+
16
|
| 293 |
+
|
| 294 |
+
B.7 THE EFFECTIVENESS OF THE FAN LAYER FOR DEEP NEURAL NETWORKS
|
| 295 |
+
|
| 296 |
+
We evaluate the effect of varying the number of FAN layers from 3 to 20 on periodicity modeling
|
| 297 |
+
|
| 298 |
+
tasks, employing residual connections to mitigate overfitting. The experimental results show that both the best training loss and test loss still decrease slowly as the number of layers increases.
|
| 299 |
+
|
| 300 |
+
Furthermore, on Language Modeling tasks, we replaced 24 MLP Layers of Transformer with 24 FAN Layers, i.e. Transformer with FAN, and it also achieved clear improvements on each task, es- pecially for OOD zero-shot evaluation scenarios. These findings indicate that FAN Layer is effective for deep neural networks. Training Loss Test Loss 1.6 1.4 1.4 1.2 1.0 FAN 1.2 FAN MLP (3 Layer) MLP (3 Layer) 0.8 1.0 0.6 0.8 3 6 12 18 3 6 12 18 Layer Num Layer Num Figure 8: Performance of Deeper FAN on fitting _y_ = _e_[sin][2][(] _[πx]_[)+cos(] _[x]_[)+(] _[x]_[mod][3)] _−_ 1. C EXPERIMENTAL DETAILS C.1 SETUP OF PERIODICITY MODELING In periodicity modeling tasks, FAN, MLP, and KAN each consist of three layers with comparable FLOPs, while the Transformer model comprises twelve layers. For consistency, we set the hidden layer dimension ( _dh_ ) to 2048 for FAN, MLP, and Transformer. In the case of KAN, we follow its original paper (Liu et al., 2024), where the spline order ( _K_ ) and the number of spline intervals ( _G_ ) are set to 3 and 50, respectively. We apply a learning rate of 1 _×_ 10 _[−]_[5] for training all models. We ensured that the data density of each period in tasks was consistent, meaning that each cycle contained a fixed quantity of 10,000 training data points. C.2 SETUP OF SYMBOLIC FORMULA REPRESENTATION In symbolic formula representation tasks, we used the create ~~d~~ ataset function from the official KAN repository to generate the datasets. Each dataset contains 3000 training samples and 1000 test samples, with all input variables randomly sampled from the range [-1, 1]. We followed the training settings from the original KAN paper, training all methods using LBFGS for 1800 steps. For KAN, we increased the number of grid points to scale up the parameter size, covering _G_ = _{_ 3 _,_ 5 _,_ 10 _,_ 20 _,_ 50 _,_ 100 _,_ 200 _,_ 500 _,_ 1000 _}_ . For other methods, we scaled up the parameter size by increasing the number of layers and the dimensions of hidden layers.
|
| 301 |
+
|
| 302 |
+
## C.3 SETUP OF TIME SERIES FORECASTING
|
| 303 |
+
|
| 304 |
+
In time series forecasting task, we implement our model based on the codebase by (Wu et al., 2021b). Each model comprises 2 encoder layers and 1 decoder layer. We fix the hidden size for both the Transformer and our model at 512, with the feedforward dimension set to 2048 (four times the hidden size). The parameter sizes detailed in the main text correspond to the Exchange dataset;
|
| 305 |
+
|
| 306 |
+
17
|
| 307 |
+
|
| 308 |
+
- variations in the number of variables across different datasets influence the linear layers in the model.
|
| 309 |
+
|
| 310 |
+
- We adjust the hidden sizes of the other models to align with the Transformer parameters for fairness.
|
| 311 |
+
|
| 312 |
+
-
|
| 313 |
+
|
| 314 |
+
## C.4 SETUP OF LANGUAGE MODELING
|
| 315 |
+
|
| 316 |
+
- In language modeling task, we employ the BERT tokenizer (Devlin et al., 2018) and an embedding layer with a dimensionality of 768, except for Mamba, which adheres to its default settings as
|
| 317 |
+
|
| 318 |
+
- specified in the original paper (Gu & Dao, 2023). The architecture features 4, 24, and 12 layers with
|
| 319 |
+
|
| 320 |
+
- hidden sizes of 1800, 768, and 768 for LSTM, Mamba, and Transformers, respectively. To mitigate training stagnation in deeper LSTM models, we reduce the number of layers while increasing the hidden size to balance the parameters. Importantly, Mamba’s layer count is twice that of a similarly sized Transformer, as each layer consists of two Mamba blocks (Multihead attention block + MLP block).
|
| 321 |
+
|
| 322 |
+
-
|
| 323 |
+
|
| 324 |
+
## C.5 SETUP OF IMAGE RECOGNITION
|
| 325 |
+
|
| 326 |
+
-
|
| 327 |
+
|
| 328 |
+
In image recognition tasks, we employ a simple CNN generated by ChatGPT as the baseline model,
|
| 329 |
+
|
| 330 |
+
which consists of four Convolutional Layers and two MLP Layers. We replace MLP with FAN in
|
| 331 |
+
|
| 332 |
+
CNN, i.e. CNN with FAN, as the counterpart, ensuring that they have similar parameters. For each
|
| 333 |
+
|
| 334 |
+
task, we use stochastic gradient descent with momentum (SGDM) as the optimizer, the learning rate is set to 0.01, and the training process runs for 100 epochs.
|
| 335 |
+
|
| 336 |
+
D COMPARISON OF FAN AND SNAKE ACTIVATION FUNCTION We compare FAN with Snake, a previous approach used for improving the fitting of periodic func- tions with neural networks. The results are shown in Figure D. 𝑦= sin(𝑥) Snake FAN (Ours) Figure 9: Comparisons of FAN with MLP (Snake) (Liu et al., 2020) in fitting periodic functions.
|
| 337 |
+
|
| 338 |
+
18
|
| 339 |
+
|
| 340 |
+
## E HOW FAN COMPLY WITH UNIVERSAL APPROXIMATION THEOREM
|
| 341 |
+
|
| 342 |
+
The Universal Approximation Theorem states that a feed-forward network with a single hidden layer containing a finite number of neurons can approximate continuous functions on compact subsets of R _[n]_ , under mild assumptions on the activation function, which needs to be a non-constant, no-linear, and continuous function. FAN Layer is defined as _ϕ_ ( _x_ ) = [cos( _Wpx_ ) _||_ sin( _Wpx_ ) _||σ_ ( _Bp_ ¯ + _Wp_ ¯ _x_ )], where _||_ denotes concatenation and _σ_ denotes the standard activation function, such as ReLU and GELU. Since sin and cos functions also satisfy the required conditions of being non-constant, con- tinuous, and non-linear activation functions, the FAN layer adheres to the Universal Approximation Theorem.
|
| 343 |
+
|
| 344 |
+
## F MORE DETAILS OF BASELINES
|
| 345 |
+
|
| 346 |
+
In our experiments, we mainly compare FAN with the following baselines. 1) **MLP** (Rosenblatt,
|
| 347 |
+
|
| 348 |
+
1958): the most classic model, which is widely used in the backbone of various models. 2) **Trans-**
|
| 349 |
+
|
| 350 |
+
> **987 former** (Vaswani et al., 2017): a prevalent model known for its self-attention mechanism, which achieves outstanding performance on various tasks. 3) **KAN** (Liu et al., 2024): an emerged model specialized for symbolic formula representation, which uses the b-spline functions instead of fixed activation functions. 4) **LSTM** (Hochreiter & Schmidhuber, 1997): a well-known recurrent neu- ral network (RNN) that can capture long-term dependencies on sequential data. 5) **Mamba** (Gu & Dao, 2023): an emerged selective state space model (SSM) that achieves competitive performance on some tasks with sequential inputs. 6) **CNN** (LeCun et al., 1998): convolutional neural network contains the convolutional layers, which are effective in processing image data.
|
| 351 |
+
|
| 352 |
+
**998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024**
|
| 353 |
+
|
| 354 |
+
**1025**
|
| 355 |
+
|
| 356 |
+
19
|
| 357 |
+
|
open_review/iclr2025_13852.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13852",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Learning Phase Representations for Microstructural Segmentation in Metallographic Images through Expert Knowledge",
|
| 6 |
+
"abstract": "Automated segmentation of metallographic images containing multiple phases such as martensite, ferrite, and pearlite is essential for quantifying different phases and thereby helping in the understanding properties of materials. Segmentation of these phases is challenging as they often exhibit overlapping boundaries, similar textures, and other more complexities that require a holistic understanding of the microstructures and correct phase representation within the image. To this end, we propose a novel approach for learning phase representations that captures the subtle differences between phases. Our proposed Phase Learning Module strategically integrates phase ratio information with image encodings to produce ratio-aware features that preserve critical spatial details. Materials scientists can roughly estimate phase ratios by examining an image, and our proposed model leverages this expertise. While we use expert-estimated phase ratios during inference, we train a model using accurate phase ratios obtained from target mask images. To our knowledge, this is the first use of class ratios as input in a deep learning segmentation model that serves as constraints to guide consistent phase proportions in predictions. Experimental results demonstrate segmentation performance improvements on both private and public datasets, with a 5.65% increase in Dice scores on the private dataset and a 6.48% improvement on the MetalDAM dataset with only 1.07% increase in model parameters. Furthermore, visualizations show that our approach leads to learning of more distinct and better phase representations across models. The code and private dataset will be made publicly available.",
|
| 7 |
+
"rebuttal": "We thank the reviewer for their thoughtful review and for sharing their concerns. We appreciate the opportunity to clarify the contributions and significance of our work.\n\nWe understand the reviewer’s concern about the perceived limited novelty of our methodology. Our primary goal was to address a significant challenge in microstructure segmentation: **the difficulty of providing effective input conditioning due to the complex and indescribable nature of these images.**\n\n In existing models like SAM and similar architectures, input conditioning is typically achieved through text prompts or visual cues such as bounding boxes and points. These methods are effective for natural images where objects are distinct and describable. However, in the domain of microstructure images, such as metallographic images, the intricate patterns and lack of intuitive visual cues make it impractical to provide such conditioning inputs. The components within these images often cannot be easily described or annotated with bounding boxes due to their visual complexity and the subtle differences between phases which we describe in Figure 1.\n\nTo overcome this challenge, we introduce the use of **phase ratios** as a novel form of input conditioning after extensive thought. Phase ratios represent the proportions of different material phases within a microstructure and can be estimated by experts through visual inspection. By leveraging this readily available expert knowledge, we provide a practical means of conditioning the model without the need for detailed annotations or descriptive prompts. \nOur proposed **PLM** is designed to effectively integrate phase ratio information into the segmentation model. Instead of simply adding the phase ratios as scalar inputs, we transform them into multi-channel ratio maps using the **Ratio Encoder**. These ratio maps are then effectively merged with their corresponding image phases after being spatially aligned. The input of phase ratios is a single step that can greatly enhance model performance with slight increase in model parameters.\n\n**Justification for the necessity of our method**\n\nThe necessity of our method arises from the unique challenges associated with microstructure images:\n\n- **Inadequacy of Traditional Conditioning**: Conventional input conditioning methods are ineffective due to the inability to describe or annotate complex microstructures.\n- **Leverage of Expert Knowledge**: Experts can estimate phase ratios with reasonable accuracy through visual inspection, providing valuable information that is otherwise difficult to encode.\n\nOur method optimally utilizes this expert knowledge by embedding it into the model in a way that enhances segmentation performance without imposing significant additional costs. The integration is seamless and does not require extensive modifications to existing architectures.\n\n**Addressing Concerns About Broader Applications**\n\nWhile our work focuses on metallographic image segmentation, the underlying concept of using quantitative estimates as conditioning inputs can be extended to other domains facing similar challenges such as medical imaging and remote sensing.\n\nWe believe our work addresses a critical gap in the application of deep learning to complex image segmentation tasks where traditional input conditioning fails. By effectively integrating expert-estimated phase ratios through our Phase Learning Module, we provide a novel and practical solution that enhances segmentation performance. Our approach is not only relevant to the materials science community but also offers insights that could inspire broader applications in other fields with similar challenges.\n\nWe thank the reviewer for their valuable feedback and appreciate for giving the opportunity to further clarify our methodology and address the raised concerns. \n\n- We understand your concern and agree that using the phase ratio as a scalar input might seem like a weak form of supervision due to its simplicity as a single numerical value. However, in our method, we do not directly use the phase ratio as a scalar with the image encoding. Instead, we employ a **Ratio Encoder (RE) module** that transforms the phase ratios into multi-channel ratio maps.\n \n Our **Feature Extraction (FE) modul [...]\n\nWe thank the reviewer for the valuable feedback. We have now added a new section in appendix about the analysis of $\\delta $ and $\\gamma$ in A.4. The section reports the mean values of the parameters learnt by the model across various epochs. Our analysis indicates that the model places significantly more weight on ratio-enhanced features while still retaining a portion of the original image features to maintain contextual information.\n\nWe sincerely thank the reviewer for your positive assessment of our work and for the valuable suggestions to improve our paper. We address your comments and questions below.\n\n1. **Expansion of the Scientific Background**\nThank you for this suggestion. We agree that expanding the scientific background and providing more context would strengthen the paper but due to lack of space we have added it in the Appendix A.1 section.\n2. **Reducing User Effort by Predicting Phase Ratios**\n \n In the current system the expert has to provide phase-ratio inputs during inference which be a bottleneck. T [...]\n\nWe sincerely thank the reviewer for the thoughtful review and insights that have greatly have helped us identify areas for improvement.\n\n1. **Comparison with using statistical information in loss function.**\nThank you for bringing this important reference to our attention. We agree that incorporating statistical information into the loss function is a valuable approach for addressing class imbalance and improving segmentation performance. However, our method integrates phase ratio information directly into the model architecture. This allows our model to dynamically adjust its predictions ba [...]\n\nWe sincerely thank the reviewer for their tho\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
5,
|
| 11 |
+
6,
|
| 12 |
+
8
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.5,
|
| 15 |
+
"score_variance": 4.33,
|
| 16 |
+
"score_spread": 5,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "",
|
| 22 |
+
"forum_id": "5x1Gklb3mf",
|
| 23 |
+
"primary_area": "unsupervised, self-supervised, semi-supervised, and supervised representation learning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_5dQM",
|
| 28 |
+
"review_id": "WiPpOo922b",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 3,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 1,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 4427,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1122934,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_JHKH",
|
| 44 |
+
"review_id": "KRwj2W4vqd",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 1749,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1137230,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_4eVt",
|
| 60 |
+
"review_id": "XjPMFLvfN3",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2365,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2675546,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_J4Re",
|
| 76 |
+
"review_id": "K31LKWEKJg",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 8,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 4,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2190,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2324727,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13852.md
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
LEARNING PHASE REPRESENTATIONS FOR
|
| 4 |
+
|
| 5 |
+
MICROSTRUCTURAL SEGMENTATION IN METALLO- GRAPHIC IMAGES THROUGH EXPERT KNOWLEDGE
|
| 6 |
+
|
| 7 |
+
##
|
| 8 |
+
|
| 9 |
+
Authors withheld for review
|
| 10 |
+
|
| 11 |
+
## ABSTRACT
|
| 12 |
+
|
| 13 |
+
Automated segmentation of metallographic images containing multiple phases such as martensite, ferrite, and pearlite is essential for quantifying different phases and thereby helping in the understanding properties of materials. Segmentation of these phases is challenging as they often exhibit overlapping boundaries, similar textures, and other more complexities that require a holistic understanding of the microstructures and correct phase representation within the image. To this end, we propose a novel approach for learning phase representations that captures the subtle differences between phases. Our proposed Phase Learning Module strategically integrates phase ratio information with image encodings to produce ratio-aware features that preserve critical spatial details. Materials scientists can roughly estimate phase ratios by examining an image, and our proposed model leverages this expertise. While we use expert-estimated phase ratios during inference, we train a model using accurate phase ratios obtained from target mask images. To our knowledge, this is the first use of class ratios as input in a deep learning segmentation model that serves as constraints to guide consistent phase proportions in predictions. Experimental results demonstrate segmentation performance improvements on both private and public datasets, with a 5.65% increase in Dice scores on the private dataset and a 6.48% improvement on the MetalDAM dataset with only 1.07% increase in model parameters. Furthermore, visualizations show that our approach leads to learning of more distinct and better phase representations across models. The code and private dataset will be made publicly available.
|
| 14 |
+
|
| 15 |
+
Automated these phases is lar textures, the end, we propose
|
| 16 |
+
|
| 17 |
+
ratio-aware
|
| 18 |
+
|
| 19 |
+
roughly estimate
|
| 20 |
+
|
| 21 |
+
leverages this
|
| 22 |
+
|
| 23 |
+
ference, we images. To our learning dataset with tions show that
|
| 24 |
+
|
| 25 |
+
available. 1 INTRODUCTION material science refers under a microscope
|
| 26 |
+
|
| 27 |
+
a part of microstructure
|
| 28 |
+
|
| 29 |
+
et al., 2021). Accurate
|
| 30 |
+
|
| 31 |
+
Microstructure analysis is a fundamental aspect of materials engineering, without which no scientific understanding of engineering materials can be achieved (Biswas et al., 2023b). Microstructures in material science refers to the arrangement of phases, grains, and defects in a material as observed under a microscope (Yuan et al., 2021). The properties of materials vary widely depending upon the microstructure specifications and underlying phase constituencies (Matthews, 1998). A phase is a part of microstructure that has a distinct crystalline structure and chemical composition (Sanyal et al., 2021). Accurate identification and segmentation of different phases in a microstructure can lead to understanding the characteristics of a material (Martin, 2006).
|
| 32 |
+
|
| 33 |
+
Metallographic images are obtained using optical microscopy (OM), scanning electron microscopes (SEM), Electron Backscatter Diffraction (EBSD), among others, and are used to identify and characterize different phases in a microstructure (Nogara & Zarrouk, 2018; Gintalas & del Castillo, 2022). While OM provides low-magnification images suitable for approximate assessments, it lacks the resolution needed for fine microstructural features (Zhan et al., 2007). EBSD offers high-resolution imaging and detailed phase information but involves high acquisition costs and requires expert interpretations (Kim et al., 2021; Swain et al., 2023). SEM strikes a balance by providing detailed high resolution images with lower cost and complexity compared to EBSD. However SEM images have difficulty in segmentation due to the high visual similarity between different phases, overlapping boundaries, and complex textures as shown in Fig. 1. These challenges often lead to ambiguities
|
| 34 |
+
|
| 35 |
+
1
|
| 36 |
+
|
| 37 |
+
in phase separation and makes traditional data-driven segmentation models prone to errors (Mollens et al., 2022). Figure 1: A metallographic image captured by SEM which contains three phases and its overlayed labeled image from private dataset demonstrating the complexity of segmentation. The deep learning based methods used for material segmentation are mostly based on convolutional neural networks (CNNs) which learns kernel mappings from input to output data without explicitly designing kernels using domain knowledge (Na et al., 2021). Semantic segmentation was popularly used since it could perform phase segmentation by assigning each pixel in the image to one of the pre-defined categories (Santos et al., 2019). DeCost et al. (2019) used PixelNet (Bansal et al., 2017) to find microstructures but was limited only to a certain phase and not multi-phase segmentation. Lai et al. (2009) explored segmentation on contrast and etched steel datasets acquired via SEM and OM imaging. However, it was only optimized to handle images with high contrast variations. Durmaz et al. (2021) proposed the use of U-Net (Ronneberger et al., 2015a) architecture for distinguish- ing bainite phase regions from irregular ferrite phase and addressed the complex phase problem by framing into binary segmentation task. The work of Luengo et al. (2022) not only included in-depth analysis on complex microstructures by comparing supervised, semi-supervised and unsupervised methods but also proposed a new benchmark MetalDAM dataset for public evaluations. The comparison found out the effectiveness of semantic segmentation in achieving high accuracy compared to other segmentation methods. Recently, Biswas et al. (2023a) performed phase segmentation using a union of attention guided U-Net models by using HSV, RGB and YUV color spaces of input image to capture different characteristics of the phases. All previous methods have performed segmentation of phases in metallographic images based solely on the visual semantics of the input images. However, it remains unclear whether the models actually learn meaningful phase representations. Do the models develop a holistic understanding of the phases within a metallographic image, or do they merely perform pixel-based classification to accomplish the segmentation task? Fig. 2(a) shows the visualization of phase representations across previously used models. The visualizations are performed from the output of the image encoder and then Principal Component Analysis (PCA) is used to select three most important channels which are then plotted out. It can be seen that the original image embeddings of the models lack in distin- guishing different phases in the microstructures, indicating that the models do not fully understand the phase characteristics, despite achieving reasonable segmentation performance. The use of foundation models like Segment Anything Model (SAM) (Kirillov et al., 2023) demon- strate the potential of incorporating additional inputs such as visual prompts to guide segmentation. These models have shown that conditions or rough hints can significantly enhance segmentation performance. Motivated by this approach, we observed that material scientists can roughly estimate the phase ratio by examining a metallographic image. In this paper, we propose a novel approach of learning the phase representations using the phase ratio as domain knowledge input into the model. We perform adaptations on SAM using LoRA (Hu et al., 2021) which is detailed in the Appendix A.1. Our method integrates phase ratio information into the neural network architecture through a ded- icated ratio encoder. The ratio encoding is then combined with image encodings to produce ratio- enhanced features. These enhanced features are refined further through spatial-aware encodings that preserves the spatial relationships and boundaries between different phases. We also introduce reg- ulators in our model that modulate the influence of domain knowledge and allow the network to perform well even when no ratio input is provided. The phase ratio is calculated from the ground
|
| 38 |
+
|
| 39 |
+
The deep learning based methods used for material segmentation are mostly based on convolutional neural networks (CNNs) which learns kernel mappings from input to output data without explicitly designing kernels using domain knowledge (Na et al., 2021). Semantic segmentation was popularly used since it could perform phase segmentation by assigning each pixel in the image to one of the pre-defined categories (Santos et al., 2019). DeCost et al. (2019) used PixelNet (Bansal et al., 2017) to find microstructures but was limited only to a certain phase and not multi-phase segmentation. Lai et al. (2009) explored segmentation on contrast and etched steel datasets acquired via SEM and OM imaging. However, it was only optimized to handle images with high contrast variations. Durmaz et al. (2021) proposed the use of U-Net (Ronneberger et al., 2015a) architecture for distinguishing bainite phase regions from irregular ferrite phase and addressed the complex phase problem by framing into binary segmentation task. The work of Luengo et al. (2022) not only included in-depth analysis on complex microstructures by comparing supervised, semi-supervised and unsupervised methods but also proposed a new benchmark MetalDAM dataset for public evaluations. The comparison found out the effectiveness of semantic segmentation in achieving high accuracy compared to other segmentation methods. Recently, Biswas et al. (2023a) performed phase segmentation using a union of attention guided U-Net models by using HSV, RGB and YUV color spaces of input image to capture different characteristics of the phases.
|
| 40 |
+
|
| 41 |
+
All previous methods have performed segmentation of phases in metallographic images based solely on the visual semantics of the input images. However, it remains unclear whether the models actually learn meaningful phase representations. Do the models develop a holistic understanding of the phases within a metallographic image, or do they merely perform pixel-based classification to accomplish the segmentation task? Fig. 2(a) shows the visualization of phase representations across previously used models. The visualizations are performed from the output of the image encoder and then Principal Component Analysis (PCA) is used to select three most important channels which are then plotted out. It can be seen that the original image embeddings of the models lack in distinguishing different phases in the microstructures, indicating that the models do not fully understand the phase characteristics, despite achieving reasonable segmentation performance.
|
| 42 |
+
|
| 43 |
+
2
|
| 44 |
+
|
| 45 |
+
- (a) Visualizations of Original image embeddings U-Net U-Net++ Attn U-Net U-Net3+ LoRA-SAM SEM Image PLM GT label (b) Visualizations of image embeddings with PLM
|
| 46 |
+
|
| 47 |
+
- Figure 2: Visualizations of image encodings of various models. (a) is visualization of original image encodings and (b) is visualization of image encodings with proposed Phase Learning Module (PLM). Embeddings with PLM show better distinction and clear representation of phases as compared to original image embeddings. Notably, the LoRA-SAM embeddings using PLM closely resembles the phase distribution of the ground truth segmentation mask (GT label), highlighting the effectiveness
|
| 48 |
+
|
| 49 |
+
- of our proposed module. The embeddings are visualized using PCA by selecting top three channels.
|
| 50 |
+
|
| 51 |
+
- truth segmentation masks during training and an estimated ratio is input into the model by the expert after observing the image during inference. Our proposed method accomodates the given user input and adjusts the segmentation outputs by emphasizing or de-emphasizing specific phases. Through this, we demonstrate the effectiveness of our approach and show both quantitatively and qualita- tively that the model understands and distinctly represents the phases present in the microstructure. The effectiveness of our approach on phase representation can be visualized in Fig. 2. When the previous models implement our proposed phase learning module, the latent space encodings ex-
|
| 52 |
+
|
| 53 |
+
- hibit far better phase separation and representation, with clearly defined boundaries and less overlap
|
| 54 |
+
|
| 55 |
+
- between phases. The visual improvement in phase distinction is a direct result of strategic combina-
|
| 56 |
+
|
| 57 |
+
- tion of domain-specific knowledge of phase ratios with image encoding, which allows the network to maintain consistency in phase representation. This enables the model to not only learn the visual semantics of the phases but also understand their inherent structure and proportions. Our proposed method achieves a 5.65% increase in Dice scores on the private dataset and a 6.48% improvement on the MetalDAM dataset on average. The key contributions of the paper are described as follows: • We introduce a novel methodology for learning phase representations by incorporating do- main knowledge in the form of phase ratios. We show both qualitatively and quantitatively the effectiveness of our proposed methodology in learning phase representations across models.
|
| 58 |
+
|
| 59 |
+
- • We strategically merge the image encodings with domain specific information using our proposed Phase Learning Module. To the best of our knowledge, its the first time where class ratios are used as input into a deep learning model and are used as constraints guiding the model to maintain a consistent proportion of each phase in its predictions.
|
| 60 |
+
|
| 61 |
+
- • Our proposed methodology allows experts in the field to input observed or potential phase ratios in the image during inference. Our experimentation shows that there is an increase in performance of the model when the input ratio accuracy during inference is greater than
|
| 62 |
+
|
| 63 |
+
- 66.2%.
|
| 64 |
+
|
| 65 |
+
- • Our experimental results further demonstrate the improvement in segmentation accuracy by achieving state of the art results in the publicly available MetalDAM dataset and noticeable performance improvements on private dataset which will be made publicly available along
|
| 66 |
+
|
| 67 |
+
- with the source code.
|
| 68 |
+
|
| 69 |
+
- 2 METHODOLOGY
|
| 70 |
+
|
| 71 |
+
The overall architecture is shown in 3.The input metallographic images are initially processed by an image encoder which generates an encoded representation of the image. To extract phase-specific
|
| 72 |
+
|
| 73 |
+
3
|
| 74 |
+
|
| 75 |
+
Phase Ratio Extractor Training Inference RE-Module Encoder Decoder Phase Learning Module Figure 3: Overview of the proposed method. information, the encoding is passed through the Feature Extraction (FE) module, where the features corresponding to each phase are segregated. The output for each phase is then further refined by the Spatial Awareness (SA) module, which adds coordinate information to preserve spatial details. During the training phase, the phase ratio—representing the proportion of each phase in the im- age—is extracted from the ground truth segmentation mask. However, during inference, the phase ratio must be provided by the user- either as an estimated value based on visual inspection or as an approximation when no exact ratio is known. This ratio is represented as a vector of shape [1 _× n_ ], where _n_ is the number of phases. It is processed through the Ratio Encoder (RE) to produce ratio encodings. These are then merged with the image encoding generated by the image encoder via SA module and Feature Aggregator (FA) module. To effectively modulate the integration of domain knowledge (i.e., the phase ratio), we introduce two learnable parameters, _γ_ and _δ_ , which control the influence of the ratio-enhanced features.
|
| 76 |
+
|
| 77 |
+
2.1 EXTRACTION OF PHASE RATIO For each metallographic image, the corresponding ground truth segmentation mask contains _k_ dis- tinct phases, each represented by a unique class label. The goal is to calculate the phase ratio for each phase, which is used as input during the segmentation process. The phase ratio for each phase is derived from the number of pixels in the segmentation mask that belong to that phase. Let the ground truth segmentation mask be denoted as _Y_ , with each phase represented by a binary mask _yi_ for _i_ = 1 _,_ 2 _, ..., k_ , where _k_ is the total number of phases. Each binary mask _yi_ corresponds to
|
| 78 |
+
|
| 79 |
+
the pixels classified into phase _i_ . The total number of pixels in the image is denoted by _N_ , and the
|
| 80 |
+
|
| 81 |
+
number of pixels assigned to phase _i_ is _ni_ .
|
| 82 |
+
|
| 83 |
+
The phase ratio _ri_ for phase _i_ is calculated as the ratio of pixels in phase _i_ to the total number of pixels in the image:
|
| 84 |
+
|
| 85 |
+
**==> picture [285 x 31] intentionally omitted <==**
|
| 86 |
+
|
| 87 |
+
1( _Y_ ( _p_ ) = _i_ ) is an indicator function that equals 1 if the pixel _p_ belongs to phase _i_ , and 0 otherwise. Therefore, for an image with _k_ phases, the set of phase ratios is _R_ = _r_ 1 _, r_ 2 _, ..., rk_ , where[�] _[k] i_ =1 _[r][i]_[=] 1. During model training, the phase ratio is computed from the labeled data and during inference, the user can either provide an approximate estimate or choose not to provide any ratio information at all. Our proposed approach is robust enough to handle both situations effectively. Even in the absence of phase ratios during inference, the model can still perform well as can be seen in 8. However, when phase ratios are available, they can be used to emphasis certain regions in the segmentation output. For example, if the model struggles to accurately identify a specific phase, the corresponding phase ratio can be adjusted to improve the visibility of potential regions as can be seen in 6.
|
| 88 |
+
|
| 89 |
+
4
|
| 90 |
+
|
| 91 |
+
RE-Module Conv2D Concat Linear Conv2D + Sigmoid ReLU Linear Add Coords ReLU Conv2D Reshape Concat Conv2D (a) (b) (c) Figure 4: The proposed modules including - Feature Extractor (FE), Spatial Aware (SA), Ratio Encoder (RE) and Feature Aggregator (FA). 2.2 IMPLEMENTING PHASE LEARNING Directly adding the phase ratio information to the image encoding can be ineffective due to the fundamental difference in the dimensionality and representational spaces of these two inputs. While the image encoding captures spatial information in a high-dimensional feature space, the phase ratio is a low-dimensional feature representing global phase proportions. To bridge this gap, we introduce a Ratio Encoder that transforms the phase ratio into a feature representation compatible with the image encoding. The ratio encoder consists of a 2-layer MLP that encodes the given phase ratio into a ratio encoding having _n_ channels. _n_ denotes the number of phases in the image. The diagram of the ratio encoder is presented in 4(b). After the final segmentation mask is obtained, the phase ratio is calculated again and compared with the phase ratio of the ground truth image. This loss is calculated using Mean Squared Error (MSE) loss Kato & Hotta (2021) and is used to train the ratio encoder to learn the correct phase proportions. If we were to directly add the phase ratio encoding to the image encoding without any further processing, it might result in a poor integration. We verified this with our experiments, where we observed a decrease of around 2% in segmentation accuracy. This degradation likely occurred because the model lacks context regarding the phase ratio information. The model cannot correlate the phase ratio information with the precise location of the phases in the image encoding which results in a disjoint representation that fails to guide the segmentation process effectively. In our proposed method, the image encoding is passed through the Feature Extractor (FE) module, which is responsible for segregating relevant feature maps for each corresponding phase. The FE module consists of a convolutional layer that concentrates the image features into _n_ channels, with each channel corresponding to a specific phase ratio. Each of these phase-specific feature maps is then processed using coordinate convolutions Liu et al. (2018) to embed explicit spatial information into the feature maps. This ensures that the model retains spatial context for each phase and allows it to correspond the phase ratio information to the correct phase regions. Finally, the phase-wise feature maps are concatenated and fused with the encoded ratio information from the Ratio Encoder using element-wise multiplication as can be seen in 4(a). In the final step, the encodings are processed through the Feature Aggregator (FA) Module, which fuses the spatially aware features from the previous stages with the original features generated by the image encoder. This integration is crucial as it not only ensures that the segmentation output is not solely dependent on the phase ratio information but also preserves the original image features.
|
| 92 |
+
|
| 93 |
+
In our proposed method, the image encoding is passed through the Feature Extractor (FE) module, which is responsible for segregating relevant feature maps for each corresponding phase. The FE module consists of a convolutional layer that concentrates the image features into _n_ channels, with each channel corresponding to a specific phase ratio. Each of these phase-specific feature maps is then processed using coordinate convolutions Liu et al. (2018) to embed explicit spatial information into the feature maps. This ensures that the model retains spatial context for each phase and allows it to correspond the phase ratio information to the correct phase regions. Finally, the phase-wise feature maps are concatenated and fused with the encoded ratio information from the Ratio Encoder using element-wise multiplication as can be seen in 4(a).
|
| 94 |
+
|
| 95 |
+
5
|
| 96 |
+
|
| 97 |
+
As a result, the model is able to perform well even in cases where the ratio input is inaccurate or absent.
|
| 98 |
+
|
| 99 |
+
In FA-module, the spatially aware features and ratio-encoded features are first concatenated channel- wise. These concatenated features are then passed through a convolutional layer with a sigmoid activation function, which helps normalize the feature values and allows for non-linearity in the in- teraction between the image and ratio features. The output of the convolutional layer is then split into two branches, each multiplied element-wise with the original spatially aware features and ratio- encoded features, respectively. The element-wise multiplication allows the model to modulate the influence of each feature type dynamically. Finally, the two multiplied feature maps are combined through an element-wise addition operation. This fused feature map is then passed through a fi- nal convolutional layer to generate the output feature map, which serves as the final segmentation prediction. This is illustrated in Figure 4(c).
|
| 100 |
+
|
| 101 |
+
This fusion process is regulated by two key parameters: _γ_ and _δ_ . These regulators control the influence of Phase Ratio on the final segmentation. A higher value of _γ_ reduces the impact of phase ratios. On the other hand, a higher value of _δ_ increases the influence of the ratio encoder, allowing the model to more heavily rely on the phase ratio guidance. 3 EXPERIMENTS AND RESULTS 3.1 DATASET The only publicly available dataset with SEM-based multi-phase micrographs (containing more than two phases) is MetalDAM Luengo et al. (2022). It consists of 42 labeled images across five distinct classes: matrix, austenite, martensite/austenite, precipitates, and defects. In MetalDAM, binary masks were initially used as pre-annotations and were subsequently refined by industry experts. Although this method provided labeled data, the manual refinement introduced some subjectivity and potential inaccuracies into the annotations. For our experiments, we used MetalDAM dataset along with a private alloy steel microstructure dataset. The private dataset comprises of images captured using SEM and labeled with the assistance of EBSD data through a superlabeler, which provided more objective and detailed annotations. This approach reduces the subjectivity often present in other datasets and ensures more accurate phase labeling. It contains a total of 24 alloy steel microstructure images captured with a SEM at varied magnification levels (2700x magnification - 6 images, 3000x magnification - 10 images, and 5000x magnification - 8 images). The samples have a tensile strength of 780 MPa. Each image includes three types of microstructures or phases: Bainite, Ferrite, and Martensite. Both datasets (private and MetalDAM) were split into training, validation, and test sets with a 70- 20-10 ratio, respectively. To address the limited number of images, we applied sliding window techniques and various geometric and photometric augmentations to increase the effective size of the dataset. These augmentations included flipping, rotation, scaling (magnification), intensity ad- justments, gamma correction, and contrast-based transformations. 3.2 EXPERIMENTS Our models were implemented using the PyTorch framework and was run on a single NVIDIA Titan RTX GPU, with an Intel Core i7 6700 CPU, running on the Ubuntu 22.10 operating system. The models were trained with the Adam optimizer Kingma & Ba (2017), with an initial learning rate of 1 _×_ 10 _[−]_[5] and a batch size of 8 for 40 epochs. We used Mean Squared Error (MSE) loss to calculate the phase ratio deviation between the ground truth and predicted mask. A weighted sum of Dice Coefficient and Cross-Entropy (Dice CE) loss was considered an appropriate metric to evaluate the performance of the models Naser & Alavi (2023). The _γ_ and _δ_ parameters in the model that are used as regulators for feature aggregator were learned by the model during training. The phase ratio input during inference mimicks the expertise of the user having 90% accurateness and was calculated using Appendix A.2. **322 323 Comparison of proposed method performance.** Table 1 presents the performance of various models on steel microstructure segmentation tasks for both the private and MetalDAM datasets. The table
|
| 102 |
+
|
| 103 |
+
For our experiments, we used MetalDAM dataset along with a private alloy steel microstructure dataset. The private dataset comprises of images captured using SEM and labeled with the assistance of EBSD data through a superlabeler, which provided more objective and detailed annotations. This approach reduces the subjectivity often present in other datasets and ensures more accurate phase labeling. It contains a total of 24 alloy steel microstructure images captured with a SEM at varied magnification levels (2700x magnification - 6 images, 3000x magnification - 10 images, and 5000x magnification - 8 images). The samples have a tensile strength of 780 MPa. Each image includes three types of microstructures or phases: Bainite, Ferrite, and Martensite.
|
| 104 |
+
|
| 105 |
+
6
|
| 106 |
+
|
| 107 |
+
Table 1: Comparison of model performance with and without our proposed Phase Learning Module (PLM) on private and MetalDAM datasets using Dice scores. **327 Model Private Dataset MetalDAM Dataset 328 329** Baseline w/ PLM Baseline w/ PLM U-Net (Ronneberger et al., 2015b) 53.85 65.39 76.43 86.33 U-Net++ (Zhou et al., 2018) 76.25 82.12 80.82 87.04 Attn U-Net (Oktay et al., 2018) 78.43 82.88 83.06 88.76 U-Net3+ (Huang et al., 2020) 79.96 84.24 84.34 90.21 nnU-Net (Isensee et al., 2021) 79.68 83.12 82.89 88.53 TransUNet Chen et al. (2021) 79.82 84.11 84.25 89.22 UCTransNet (Wang et al., 2022) 81.46 85.29 85.57 90.88 LoRA-SAM 84.42 88.79 86.21 92.34 Ground Truth LoRA-SAM LoRA-SAM w/ PLM Figure 5: Segmentation results of the proposed method with the integration of phase learning mod- ule. The top row shows segmentation results for the private dataset, while the bottom row shows results for the MetalDAM dataset. Some of the improved regions are highlighted using the insets in each image. compares baseline performances of each model with its performance when integrated with our pro- posed framework, using Dice scores as the evaluation metric. There is a 11.54% improvement in the private dataset and a 9.9% boost in the MetalDAM dataset using U-Net Ronneberger et al. (2015b) model, indicating that the phase ratio guidance provided by proposed method is most beneficial for simpler models. Advanced architectures like U-Net++ Zhou et al. (2018) and Low Rank Adaption- SAM Hu et al. (2021); Kirillov et al. (2023) also show improvements of 5.87% and 4.37%, respec- tively, in the private dataset, and 6.22% and 6.13% in the MetalDAM dataset. Even high-performing models, such as LoRA-SAM, exhibit consistent improvement, showing that our proposed method can enhance performance across various architectures by incorporating domain-specific informa- tion. LoRA-SAM was trained with various ranks out of which rank of 512 performed better. More detailed experiments can be found in the appendix A.1 section. In Figure 5, we present a qualitative comparison of segmentation results on both the private dataset
|
| 108 |
+
|
| 109 |
+
Figure 5: Segmentation results of the proposed method with the integration of phase learning module. The top row shows segmentation results for the private dataset, while the bottom row shows results for the MetalDAM dataset. Some of the improved regions are highlighted using the insets in each image.
|
| 110 |
+
|
| 111 |
+
compares baseline performances of each model with its performance when integrated with our proposed framework, using Dice scores as the evaluation metric. There is a 11.54% improvement in the private dataset and a 9.9% boost in the MetalDAM dataset using U-Net Ronneberger et al. (2015b) model, indicating that the phase ratio guidance provided by proposed method is most beneficial for simpler models. Advanced architectures like U-Net++ Zhou et al. (2018) and Low Rank AdaptionSAM Hu et al. (2021); Kirillov et al. (2023) also show improvements of 5.87% and 4.37%, respectively, in the private dataset, and 6.22% and 6.13% in the MetalDAM dataset. Even high-performing models, such as LoRA-SAM, exhibit consistent improvement, showing that our proposed method can enhance performance across various architectures by incorporating domain-specific information. LoRA-SAM was trained with various ranks out of which rank of 512 performed better. More detailed experiments can be found in the appendix A.1 section.
|
| 112 |
+
|
| 113 |
+
In Figure 5, we present a qualitative comparison of segmentation results on both the private dataset (top row) and the MetalDAM dataset (bottom row). The results clearly show that the implementation of phase ratio guidance leads to more accurate segmentation. The ratio constraints placed by the ratio encoder force the model to produce segmentation maps that better adhere to the expected phase proportions. **375 Comparison between different modules.** Table 2 and Table 3 show the impact of each Ratio En- coder (RE), Spatial Awareness (SA), and Feature Aggregator (FA)—on model performance. When using only the ratio encoder (RE), the performance of all models drops compared to their baseline scores. This degradation likely occurs because the model, when using RE alone, lacks spatial
|
| 114 |
+
|
| 115 |
+
7
|
| 116 |
+
|
| 117 |
+
Table 2: Comparison of model performance on the private dataset with different configurations. **380 381 Model Baseline w/ RE w/ SA w/ SA+FA w/ RE+SA 382 383** U-Net (Ronneberger et al., 2015b) 53.85 51.24 54.03 54.08 57.37 U-Net++ (Zhou et al., 2018) 76.25 74.61 76.35 76.39 77.92 Attn U-Net (Oktay et al., 2018) 78.43 77.83 78.61 78.57 81.46 U-Net3+ (Huang et al., 2020) 79.96 79.92 80.22 80.17 81.87 nnU-Net (Isensee et al., 2021) 79.68 77.16 79.82 79.76 81.57 LoRA-SAM 84.42 86.60 84.53 84.56 87.31 context regarding the phase ratio information. Without proper spatial awareness, the model cannot accurately correlate the phase ratios with the corresponding phase locations in the image encoding and leads to a disjointed representation that fails to effectively guide the segmentation. However, once the phase ratio is integrated with spatial awareness, the models show significant improvement. This indicates that the spatial information is crucial for effectively using phase ratios in guiding the segmentation process. Furthermore, using only SA does marginally improve the performance but using with RE and FA produces the best results. The qualitative analysis of the effectiveness of the proposed components is shown in Figure 6. SEM Image Ground Truth LoRA-SAM (a) (b) (c) LoRA-SAM w/ LoRA-SAM w/ RE, LoRA-SAM w/ RE, RE SA SA & FA (d) (e) (f) Figure 6: Segmentation results of the models described in Table 2. The colors purple, orange and yellow correspond to phases - Bainite, Ferrite and Martensite respectively. **423 424 Effectiveness of phase ratio during inference.** Figure 7 qualitatively demonstrates the impact of incorporating phase ratio as domain knowledge in the proposed methodology. The top portion of Figure 7 represents the private dataset, where the numbers below the images indicate the phase ratios for the three phases present in the image: martensite, ferrite, and bainite. In Sample Inference 1, the ratio of martensite is increased from 0.15 to 0.25, resulting in the predicted image showing a larger area of martensite which is also highlighted by the green square. Similarly, in Sample Inference 2, the ratio of ferrite is increased, leading to an expanded ferrite region, as indicated by the red circle. In Sample Inference 3, the ratio of bainite is increased, and the model responds accordingly, expanding the bainite region, marked by the blue triangle. The bottom portion of Figure 7 represents
|
| 118 |
+
|
| 119 |
+
|**Model**|**Baseline**|**w/ RE**|**w/ SA**|**w/ SA+FA**|**w/ RE+SA**|**w/ RE+SA+FA**|
|
| 120 |
+
|---|---|---|---|---|---|---|
|
| 121 |
+
|U-Net (Ronneberger et al., 2015b)|53.85|51.24|54.03|54.08|57.37|65.39|
|
| 122 |
+
|U-Net++ (Zhou et al., 2018)|76.25|74.61|76.35|76.39|77.92|82.12|
|
| 123 |
+
|Attn U-Net (Oktay et al., 2018)|78.43|77.83|78.61|78.57|81.46|82.88|
|
| 124 |
+
|U-Net3+ (Huang et al., 2020)|79.96|79.92|80.22|80.17|81.87|84.24|
|
| 125 |
+
|nnU-Net (Isensee et al., 2021)|79.68|77.16|79.82|79.76|81.57|83.12|
|
| 126 |
+
|LoRA-SAM|84.42|86.60|84.53|84.56|87.31|88.79|
|
| 127 |
+
|
| 128 |
+
8
|
| 129 |
+
|
| 130 |
+
Table 3: Comparison of model performance on the MetalDAM dataset with different configurations. **434 435 Model Baseline w/ RE w/ SA w/ SA+FA w/ RE+SA w/ RE+SA+FA 436 437** U-Net (Ronneberger et al., 2015b) 76.43 73.37 76.51 76.55 79.82 86.33 U-Net++ (Zhou et al., 2018) 80.82 79.41 81.07 81.23 83.76 87.04 Attn U-Net (Oktay et al., 2018) 83.06 81.58 83.18 83.12 85.07 88.76 U-Net3+ (Huang et al., 2020) 84.34 84.13 84.41 84.36 87.46 90.21 nnU-Net (Isensee et al., 2021) 82.89 81.33 82.95 82.91 86.09 88.53 LoRA-SAM 86.21 85.32 86.41 86.37 88.59 92.34 SEM Image Ground Truth Sample Inference 1 Sample Inference 2 Sample Inference 3 Phase Ratio [0.15, 0.66, 0.19] [0.25, 0.55, 0.20] [0.15, 0.70, 0.15] [0.15, 0.60, 0.25] SEM Image Ground Truth Sample Inference 1 Sample Inference 2 Phase Ratio [0.5064, 0.42, 0.0398, [0.506, 0.40, 0.0398, [0.5064, 0.32, 0.0398, 0.0307, 0.0030] 0.030, 0.03] 0.07, 0.03] Figure 7: Qualitative analysis of the effects of our proposed phase ratio guidance. The top row shows a sample image from the private dataset, followed by the ground truth and corresponding inference results. Similarly, the bottom row represents an image from the MetalDAM dataset. The numbers below each image indicate the phase ratios for the corresponding segmentation. Color- matched polygons highlight the changes in phase representation between the ground truth and infer- ence images when corresponding phase ratio is provided. the MetalDAM dataset. Similarly in sample inference 1 and sample inference 2, the phase ratio was changed and the model tried to accommodate the changes based on phase ratio input that can be observed in the highlighted regions of yellow circle and red box. 4 OBSERVATIONS AND LIMITATIONS Several key observations were made from the experimental results and qualitative analysis, which demonstrate the effectiveness of the proposed methodology. The integration of phase ratio guidance significantly improved the performance of all models across both private and MetalDAM dataset. The Figure 9 shows the impact of input phase ratio guess accuracy on segmentation performance. During the inference the phase ratio that is domain information cannot be obtained and has to input by the user. The user can perform a guess on the phase ratio based on input image observation and our model is able to perform better than baselines if the guessed phase ratio input accuracy is better than 66.2%. Figure 8 illustrates both the advantage and limitation of our approach. It can be observed that the model performs well in case where no phase ratio input is provided (phase ratio defaulted to 0) but the performance degrades when improper and highly inflated phase ratio input is provided during inference. Such incorrect phase ratio input can negatively impact the model’s segmentation
|
| 131 |
+
|
| 132 |
+
9
|
| 133 |
+
|
| 134 |
+
SEM Image [0.15, 0.66, 0.19]Ground Truth Predicted Image[0, 0, 0] [0.50, 0.40, 0.10]Predicted Image Figure 8: Shows the segmentation result when no phase ratio input is provided and when highly inflated ratios are provided as input during inference. Figure 9: Impact of phase ratio guess accuracy on segmentation performance of our proposed method. The graph illustrates the relationship between accuracy of the phase ratio input during inference and the model’s performance. The results shows that segmentation performance improves as the input phase ratio accuracy during inference increases. It surpasses the baseline performance of the model when the guess accuracy of phases during the inference is greater than 66.2%. performance. This limitation is further confirmed by Figure 9 where significant deviations in phase ratio inputs lead to decreased model accuracy. The results indicate that while the model is robust when phase ratio guesses are reasonably accurate, large variations from the true ratios reduce the effectiveness of proposed method. 5 CONCLUSION In this paper, we proposed a novel method of learning phase representations for microstructural segmentation in metallographic images where we leveraged expert’s knowledge on phase ratios to improve segmentation performances. By integrating phase ratio information into the segmentation process, our method provided valuable domain constraints that guided the model to produce more accurate and spatially coherent segmentations. The experimental results on both the private dataset and the MetalDAM dataset demonstrate the effectiveness of our approach, with average improve- ments of 5.64% and 6.48% in Dice scores, respectively. The primary advantage of our approach lies in its ability to maintain robust performance even when phase ratio information is unavailable during inference. By allowing experts to provide estimates of the phase ratios and the ability of our model to adhere to the same, shows its understanding of the phase constituency in the microstructures. More- over, our approach improves segmentation accuracy especially when input phase accuracy during inference exceeds 66.2%. While our proposed method of phase ratio guidance demonstrates signif- icant improvements, the need for user-provided phase ratios during inference introduces a potential limitation which will be addressed in future research. Moreover, future research could explore ex- panding the our proposed method to other domains beyond metallographic images and potentially yielding interesting and broader applications of representation learning.
|
| 135 |
+
|
| 136 |
+
10
|
| 137 |
+
|
| 138 |
+
- REFERENCES Aayush Bansal, Xinlei Chen, Bryan Russell, Abhinav Gupta, and Deva Ramanan. Pixelnet: Repre- sentation of the pixels, by the pixels, and for the pixels, 2017. URL [URL removed] abs/1702.06506. Momojit Biswas, Rishav Pramanik, Shibaprasad Sen, Aleksandr Sinitca, Dmitry Kaplun, and
|
| 139 |
+
|
| 140 |
+
- Ram Sarkar. Microstructural segmentation using a union of attention guided u-net models with different color transformed images. _Scientific Reports_ , 13(1):5737, Apr 2023a. ISSN 2045-2322. doi: 10.1038/s41598-023-32318-9. URL [URL removed] s41598-023-32318-9.
|
| 141 |
+
|
| 142 |
+
- Momojit Biswas, Rishav Pramanik, Shibaprasad Sen, Aleksandr Sinitca, Dmitry Kaplun, and Ram Sarkar. Microstructural segmentation using a union of attention guided u-net models with different color transformed images. _Scientific Reports_ , 13(1):5737, 2023b.
|
| 143 |
+
|
| 144 |
+
- Jieneng Chen, Yongyi Lu, Qihang Yu, Xiangde Luo, Ehsan Adeli, Yan Wang, Le Lu, Alan L. Yuille, and Yuyin Zhou. Transunet: Transformers make strong encoders for medical image segmentation, 2021. URL [URL removed] Brian L. DeCost, Bo Lei, Toby Francis, and Elizabeth A. Holm. High throughput quantitative metallography for complex microstructures using deep learning: A case study in ultrahigh carbon steel. _MICROSCOPY AND MICROANALYSIS_ , 25(1):21–29, FEB 2019. ISSN 1431-9276. doi:
|
| 145 |
+
|
| 146 |
+
- 10.1017/S1431927618015635.
|
| 147 |
+
|
| 148 |
+
- Ali Riza Durmaz, Martin M¨uller, Bo Lei, Akhil Thomas, Dominik Britz, Elizabeth A. Holm, Chris Eberl, Frank M¨ucklich, and Peter Gumbsch. A deep learning approach for complex microstructure inference. _Nature Communications_ , 12(1):6272, Nov 2021. ISSN 2041-1723. doi: 10.1038/ s41467-021-26565-5. URL [URL removed] Marius Gintalas and Pedro E.J. Rivera-Diaz del Castillo. Advanced electron microscopy: Progress
|
| 149 |
+
|
| 150 |
+
- and application of electron backscatter diffraction. In Francisca G. Caballero (ed.), _Encyclo-_
|
| 151 |
+
|
| 152 |
+
- _pedia of Materials: Metals and Alloys_ , pp. 648–661. Elsevier, Oxford, 2022. ISBN 978-
|
| 153 |
+
|
| 154 |
+
- 0-12-819733-2. doi: [URL removed] URL https: //[URL removed] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models, 2021. URL https: //arxiv.org/abs/2106.09685. Huimin Huang, Lanfen Lin, Ruofeng Tong, Hongjie Hu, Qiaowei Zhang, Yutaro Iwamoto, Xianhua
|
| 155 |
+
|
| 156 |
+
- Han, Yen-Wei Chen, and Jian Wu. Unet 3+: A full-scale connected unet for medical image segmentation, 2020. Fabian Isensee, Paul F. Jaeger, Simon A. A. Kohl, Jens Petersen, and Klaus H. Maier-Hein. nnu- net: a self-configuring method for deep learning-based biomedical image segmentation. _Nature_ _Methods_ , 18(2):203–211, Feb 2021. ISSN 1548-7105. doi: 10.1038/s41592-020-01008-z. URL [URL removed]
|
| 157 |
+
|
| 158 |
+
-
|
| 159 |
+
|
| 160 |
+
- Sota Kato and Kazuhiro Hotta. Mse loss with outlying label for imbalanced classification, 2021. URL [URL removed]
|
| 161 |
+
|
| 162 |
+
- Bubryur Kim, N Yuvaraj, Hee Won Park, KR Sri Preethaa, R Arun Pandian, and Dong-Eun Lee. Investigation of steel frame damage based on computer vision and deep learning. _Automation in_ _Construction_ , 132:103941, 2021. Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization, 2017. URL
|
| 163 |
+
|
| 164 |
+
- [URL removed]
|
| 165 |
+
|
| 166 |
+
-
|
| 167 |
+
|
| 168 |
+
- Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Doll´ar, and Ross Girshick. Segment anything, 2023.
|
| 169 |
+
|
| 170 |
+
11
|
| 171 |
+
|
| 172 |
+
- Yu-Kun Lai, Shi-Min Hu, Ralph R. Martin, and Paul L. Rosin. Rapid and effective segmenta-
|
| 173 |
+
|
| 174 |
+
- tion of 3d models using random walks. _Computer Aided Geometric Design_ , 26(6):665–679, 2009. ISSN 0167-8396. doi: [URL removed] URL [URL removed] Solid and Physical Modeling 2008.
|
| 175 |
+
|
| 176 |
+
- Rosanne Liu, Joel Lehman, Piero Molino, Felipe Petroski Such, Eric Frank, Alex Sergeev, and Jason Yosinski. An intriguing failing of convolutional neural networks and the coordconv solution,
|
| 177 |
+
|
| 178 |
+
- 2018. URL [URL removed]
|
| 179 |
+
|
| 180 |
+
- Julian Luengo, Raul Moreno, Ivan Sevillano, David Charte, Adrian Pelaez-Vegas, Marta Fernandez- Moreno, Pablo Mesejo, and Francisco Herrera. A tutorial on the segmentation of metallographic images: Taxonomy, new metaldam dataset, deep learning-based ensemble model, experimental analysis and challenges. _Information Fusion_ , 78:232–253, 2022. J.W. Martin. 1 - structure of engineering materials. In J.W. Martin (ed.), _Materials for Engi-_ _neering (Third Edition)_ , pp. 3–35. Woodhead Publishing, third edition edition, 2006. ISBN 978-1-84569-157-8. doi: [URL removed] URL [URL removed] sciencedirect.com/science/article/pii/B9781845691578500010. Clifford Matthews. 4 - crane sheave – early failures. In Clifford Matthews (ed.), _Case Studies in Engineering Design_ , pp. 24–31. Butterworth-Heinemann, London, 1998. ISBN 978-0-
|
| 181 |
+
|
| 182 |
+
- 340-69135-9. doi: [URL removed] URL [URL removed]
|
| 183 |
+
|
| 184 |
+
- sciencedirect.com/science/article/pii/B9780340691359500072.
|
| 185 |
+
|
| 186 |
+
- Maxime Mollens, St´ephane Roux, Franc¸ois Hild, and Adrien Guery. Insights into a dual-phase steel microstructure using ebsd and image-processing-based workflow. _Journal of Applied Crystallog-_ _raphy_ , 55(3):601–610, 2022. Juwon Na, Gyuwon Kim, Seong-Hoon Kang, Se-Jong Kim, and Seungchul Lee. Deep learning-
|
| 187 |
+
|
| 188 |
+
- based discriminative refocusing of scanning electron microscopy images for materials science. _Acta Materialia_ , 214:116987, 2021. ISSN 1359-6454. doi: [URL removed] 2021.116987. URL [URL removed] S1359645421003670. M. Z. Naser and Amir H. Alavi. Error metrics and performance fitness indicators for artificial intelligence and machine learning in engineering and sciences. _Architecture, Structures and Con-_
|
| 189 |
+
|
| 190 |
+
- _struction_ , 3(4):499–517, Dec 2023. ISSN 2730-9894. doi: 10.1007/s44150-021-00015-8. URL
|
| 191 |
+
|
| 192 |
+
- [URL removed]
|
| 193 |
+
|
| 194 |
+
- James Nogara and Sadiq J. Zarrouk. Corrosion in geothermal environment part 2: Metals and alloys. _Renewable and Sustainable Energy Reviews_ , 82:1347–1363, 2018. ISSN 1364-0321. doi: [URL removed] URL [URL removed] com/science/article/pii/S1364032117310444. Ozan Oktay, Jo Schlemper, Loic Le Folgoc, Matthew Lee, Mattias Heinrich, Kazunari Misawa, Kensaku Mori, Steven McDonagh, Nils Y Hammerla, Bernhard Kainz, Ben Glocker, and Daniel Rueckert. Attention u-net: Learning where to look for the pancreas, 2018. URL [URL removed] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedi-
|
| 195 |
+
|
| 196 |
+
- cal image segmentation, 2015a. URL [URL removed]
|
| 197 |
+
|
| 198 |
+
- Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedi- cal image segmentation, 2015b. Aldenor G. Santos, Gisele O. da Rocha, and Jailson B. de Andrade. Occurrence of the potent
|
| 199 |
+
|
| 200 |
+
- mutagens 2-nitrobenzanthrone and 3-nitrobenzanthrone in fine airborne particles. _SCIENTIFIC_
|
| 201 |
+
|
| 202 |
+
- _REPORTS_ , 9, JAN 9 2019. ISSN 2045-2322. doi: 10.1038/s41598-018-37186-2.
|
| 203 |
+
|
| 204 |
+
- S. Sanyal, M. Paliwal, T.K. Bandyopadhyay, and S. Mandal. Evolution of microstructure, phases and mechanical properties in lean as-cast mg–al–ca–mn alloys under the influence of a wide range of ca/al ratio. _Materials Science and Engineering: A_ , 800:140322, 2021. ISSN 0921-5093. doi:
|
| 205 |
+
|
| 206 |
+
12
|
| 207 |
+
|
| 208 |
+
[URL removed] URL [URL removed] science/article/pii/S0921509320313861. Bishal Ranjan Swain, Dahee Cho, Joongcheul Park, Jae-Seung Roh, and Jaepil Ko. Complex-phase steel microstructure segmentation using unet: Analysis across different magnifications and steel types. _Materials_ , 16(23), 2023. ISSN 1996-1944. doi: 10.3390/ma16237254. URL https: //[URL removed]
|
| 209 |
+
|
| 210 |
+
- Haonan Wang, Peng Cao, Jiaqi Wang, and Osmar R. Zaiane. Uctransnet: Rethinking the skip
|
| 211 |
+
|
| 212 |
+
- connections in u-net from a channel-wise perspective with transformer, 2022. URL https: //arxiv.org/abs/2109.04335. Qiang Yuan, Zanqun Liu, Keren Zheng, and Cong Ma. Chapter 1 - fundamentals of materi- als. In Qiang Yuan, Zanqun Liu, Keren Zheng, and Cong Ma (eds.), _Civil Engineering Ma-_ _terials_ , pp. 1–16. Elsevier, 2021. ISBN 978-0-12-822865-4. doi: [URL removed] B978-0-12-822865-4.00001-5. URL [URL removed] article/pii/B9780128228654000015.
|
| 213 |
+
|
| 214 |
+
- Yong Zhong Zhan, Yong Du, and Ying Hong Zhuang. Chapter four - determination of phase dia- grams using equilibrated alloys. In J.-C. Zhao (ed.), _Methods for Phase Diagram Determination_ ,
|
| 215 |
+
|
| 216 |
+
- pp. 108–150. Elsevier Science Ltd, Oxford, 2007. ISBN 978-0-08-044629-5. doi: [URL removed] org/10.1016/B978-008044629-5/50004-5. URL [URL removed] science/article/pii/B9780080446295500045. Zongwei Zhou, Md Mahfuzur Rahman Siddiquee, Nima Tajbakhsh, and Jianming Liang. Unet++: A nested u-net architecture for medical image segmentation, 2018.
|
| 217 |
+
|
| 218 |
+
- A APPENDIX
|
| 219 |
+
|
| 220 |
+
-
|
| 221 |
+
|
| 222 |
+
## A.1 ADAPTING SAM FOR MICROSTRUCTURE SEGMENTATION
|
| 223 |
+
|
| 224 |
+
- SAM is built on transformer architecture and has demonstrated remarkable effectiveness in various domains such as natural language processing and image recognition tasks. SAM includes a vision transformer-based image encoder for extracting image features, a prompt encoder for integrating user interactions like bounding boxes, and a mask decoder that generates segmentation results and confidence scores using the image embedding, prompt embedding, and output token. For our ap- proach, we employed the base Vision Transformer (ViT) model as the image encoder. Extensive evaluation indicated that larger ViT models, such as ViT Large and ViT Huge, offered only marginal improvements in accuracy while significantly increasing computational demands. The base ViT model consists of 12 transformer layers, with each block comprising a multi-head self-attention
|
| 225 |
+
|
| 226 |
+
- block and a Multi Layer Perceptron (MLP) block incorporating layer normalization.
|
| 227 |
+
|
| 228 |
+
-
|
| 229 |
+
|
| 230 |
+
- To adapt SAM for steel microstructure segmentation, we modified the attention layers of the SAM encoder using LoRA. LoRA modifies the attention mechanism in the transformer by introducing low-rank matrices into the query and value computations. The key idea is to decompose the weight updates into two low-rank matrices, which reduces the number of trainable parameters and computational complexity.
|
| 231 |
+
|
| 232 |
+
-
|
| 233 |
+
|
| 234 |
+
For a given weight matrix _W ∈_ R _[d][×][d]_ in the attention mechanism, LoRA decomposes it into _A ∈_ R _[d][×][r]_ and _B ∈_ R _[r][×][d]_ , where _r << d_ . The modified weight matrix is given by _W[′]_ = _W_ + _BA_ where _A_ and _B_ are trainable parameters, while _W_ is kept frozen. This decomposition allows the model to efficiently learn task-specific adaptations without extensive retraining. In SAM encoder, each transformer layer’s multi-head self-attention mechanism is adapted using LoRA. Specifically, we modify the query ( _Q_ ) and value ( _V_ ) computations as follows:
|
| 235 |
+
|
| 236 |
+
**==> picture [236 x 12] intentionally omitted <==**
|
| 237 |
+
|
| 238 |
+
**==> picture [236 x 11] intentionally omitted <==**
|
| 239 |
+
|
| 240 |
+
13
|
| 241 |
+
|
| 242 |
+
Table 4: Impact of LoRA Rank on Model Performance across various magnifications in the private dataset. **705 Rank** _×_ 2700 _×_ 3000 _×_ 5000 **Avg. 706 707** 256 81.22 63.91 82.58 75.91 512 86.02 79.43 87.80 84.42 1024 81.24 67.59 85.44 78.09 2056 85.56 79.71 87.37 84.21 Table 5: Performance of SAM model variants for Private dataset. LoRA with rank 512 was chosen for performance comparison. **716 Model Baseline Baseline LoRA Trainable LoRA-SAM 717 Parameters Dice Scores Parameters Dice Score 718 719** SAM ViT-B (base) 91M 21.76 22.3M 84.42 SAM Vit-L (large) 308M 22.93 75.4M 85.19 SAM Vit-H (huge) 636M 23.16 156.1M 86.84 To evaluate the impact of different ranks in the LoRA implementation, we conducted experiments using ranks of 256, 512, 1024, and 2056. As shown in Table 4. A rank of 512 provided the best overall performance with balanced computational efficiency and accuracy. While higher ranks had high potential expressive power, they did not consistently improve performance and sometimes led to overfitting or increased computational cost. Table 5 presents the performance and parameter breakdown of different variants of the SAM model on the private steel microstructure dataset. The table compares the baseline SAM models with their LoRA-adapted counterparts. As the ViT backbone size increases, there is a marginal improvement in baseline Dice scores, ranging from 21.76 (ViT-B) to 23.16 (ViT-H). Table 6 provides a detailed parameter breakdown for the proposed LoRA-SAM model and its in- tegration with the Phase Learning Module (PLM). The table highlights both the total and trainable parameters for LoRA-SAM and LoRA-SAM+PLM. The base LoRA-SAM model has a total pa- rameter count of 112.0M, with only 22.3M parameters trainable. This efficiency is achieved by adapting the SAM encoder using LoRA, which modifies only specific attention layers while keep- ing the rest of the model frozen. The addition of the PLM results in only a 1.2 million increase in trainable parameters, which is about 1.07% of the total parameters in the LoRA-SAM model. Despite the small increase in parameters, integrating the PLM leads to substantial improvements in segmentation accuracy, as evidenced by our experimental results. Table 6: Parameter Breakdown for Proposed Modules **746 747 Model/Module Total Parameters (M) Trainable Parameters (M) 748** LoRA-SAM 112.0 22.3 LoRA-SAM + PLM 113.2 23.5 PLM (Total) 1.2 1.2 FE Module 0.0335 0.0335 RE Module 0.0335 0.0335 SA Module 0.0215 0.0215 FA Module 1.179 1.179
|
| 243 |
+
|
| 244 |
+
Table 5 presents the performance and parameter breakdown of different variants of the SAM model on the private steel microstructure dataset. The table compares the baseline SAM models with their LoRA-adapted counterparts. As the ViT backbone size increases, there is a marginal improvement in baseline Dice scores, ranging from 21.76 (ViT-B) to 23.16 (ViT-H).
|
| 245 |
+
|
| 246 |
+
Table 6 provides a detailed parameter breakdown for the proposed LoRA-SAM model and its integration with the Phase Learning Module (PLM). The table highlights both the total and trainable parameters for LoRA-SAM and LoRA-SAM+PLM. The base LoRA-SAM model has a total parameter count of 112.0M, with only 22.3M parameters trainable. This efficiency is achieved by adapting the SAM encoder using LoRA, which modifies only specific attention layers while keeping the rest of the model frozen. The addition of the PLM results in only a 1.2 million increase in trainable parameters, which is about 1.07% of the total parameters in the LoRA-SAM model. Despite the small increase in parameters, integrating the PLM leads to substantial improvements in segmentation accuracy, as evidenced by our experimental results.
|
| 247 |
+
|
| 248 |
+
14
|
| 249 |
+
|
| 250 |
+
Figure 10: This diagram illustrates the process of obtaining the ratio. During training, the ratio is calculated from the phases of the ground truth image. During inference, an expected ratio is provided as input - which can be a rough estimation of the phases or set to zero. A.2 DETERMINING PHASE RATIO The phase ratio during training is calculated from the ground truth segmentation map as described in Section 2.1 and inference is provided by the expert after observing the metallographic image as shown in Figure 10. The phase ratio input during inference is set to 90% accuracy. However, here the objective to describe how to determine the phase ratio input during inference with a desired level of accuracy relative to the ground truth phase ratios. For example, if a dataset contains three phases, we may want to evaluate model performance when the guessed phase ratio is 30% off from the true phase ratio. Then for a given phase _Pi_ , the guessed phase _Gi_ can be calculated by: _Gi_ = _αPi_ + (1 _− α_ ) _× δ_ (4) where, _α_ represents the desired accuracy, (1- _α_ ) is the error or deviation factor and _δ_ distributes the remaining error across the other phases such that the guessed phase ratios still sum to 1. The value of _δ_ is calculated as: _δ_ =[1] _[ −][P][i]_ (5) _n −_ 1 It ensures that each guessed phase has the required level of accuracy compared to its true phase proportion while maintaining the sum constraint. **794 Example.** Consider a dataset with three phases and the true phase ratios _P_ 1 = 0 _._ 7, _P_ 2 = 0 _._ 18 and _P_ 3 = 0 _._ 12. If the desired phase ratio guess accuracy is 30%, we set _α_ = 0 _._ 3. Using the above equations, the guessed phase ratios can be computed as: _P_ 1 _[′]_[= 0] _[.]_[3] _[ ×]_[ 0] _[.]_[7 + 0] _[.]_[7] _[ ×]_[1] _[ −]_ 2[0] _[.]_[7] _P_ 2 _[′]_[= 0] _[.]_[3] _[ ×]_[ 0] _[.]_[18 + 0] _[.]_[7] _[ ×]_[1] _[ −]_ 2[0] _[.]_[18] (6) _P_ 3 _[′]_[= 0] _[.]_[3] _[ ×]_[ 0] _[.]_[12 + 0] _[.]_[7] _[ ×]_[1] _[ −]_ 2[0] _[.]_[12] Guessed phase ratio accuracy required for 30% accuracy would be - [0 _._ 315 _,_ 0 _._ 314 _,_ 0 _._ 344], for 50% accuracy it would be [0 _._ 425 _,_ 0 _._ 295 _,_ 0 _._ 28] and for 90% accuracy it would be [0 _._ 6454 _,_ 0 _._ 203 _,_ 0 _._ 152]. This method provides a systematic approach for determining phase ratio inputs during inference with varying levels of accuracy, allowing us to analyze model performance under different levels of deviation from the true phase ratios.
|
| 251 |
+
|
| 252 |
+
15
|
| 253 |
+
|
| 254 |
+
Training Inference Visualization Encoder Visualization of image encoding before PLM FE-Module SA-Module w/o SA-Module w/ SA-Module FA-Module w/o FA- Module w/ FA- Module Decoder Visualization of image encoding after PLM Figure 11: Visualizations of image encodings before and after PLM, with and without SA module, and with and without FA module. A.3 VISUALIZATION OF PROPOSED COMPONENTS Figure 11 provides visualizations of the image embeddings at various stages: before and after ap- plying our proposed method, as well as with and without the Spatial Awareness (SA) and Feature Aggregation (FA) modules. From the figure, we can see that the SA module enhances spatial relationships between the phases, especially when observing the boundary areas. The FA module further improves the encoding by aggregating both the image encodings and ratio encodings. This ensures that the resulting embeddings closely align with the phase proportions seen in the ground truth mask, leading to better-defined phase regions in the output. The FA module ensures that the model cap- tures the correct phase distributions and avoids the blending of similar-looking regions. Comparing the visualizations before and after applying our proposed PLM, we observe a stark improvement in phase representation. The image embeddings after PLM appear significantly more structured and aligned with the actual phase boundaries in the ground truth mask. The distinctions between phases are clearer and more precise, indicating that the PLM effectively integrates spatial and ratio infor- mation into the segmentation process. These visualizations were generated using the LoRA-SAM model with a rank of 512, demonstrating how each component of our architecture contributes to progressively refining the phase representations. A.4 ANALYSIS ON GAMMA AND DELTA PARAMETERS The gamma ( _γ_ ) and delta ( _δ_ ) parameters in the Feature Aggregator (FA) module are crucial in deter- mining the balance between the original image features and the ratio-enhanced features generated by the Phase Learning Module (PLM). These parameters dynamically adjust throughout the training process to optimize the contribution of both feature types.
|
| 255 |
+
|
| 256 |
+
16
|
| 257 |
+
|
| 258 |
+
Figure 12: Visualizations of delta and gamma parameter values per epoch. The visualization shows the mean value per epoch with marginal deviation. The parameters stabilize after epoch 30, high- lighting the model’s convergence in balancing original and PLM-enhanced features. Figure 12 visualizes the evolution of _γ_ and _δ_ values across epochs, accompanied by their marginal deviations. Both parameters are initialized at 0.50, signifying equal importance for the two feature types at the beginning of training. As training progresses, _δ_ exhibits a consistent upward trend, reaching a mean value of approximately 0.78 by epoch 40. In contrast, _γ_ shows a steady decline and stabilizes around 0.32 by the end of training. This contrasting behavior illustrates the model’s in- creasing reliance on ratio-enhanced features, governed by _δ_ , while progressively reducing emphasis on the original image features, controlled by _γ_ . Table 7 complements this visualization by presenting the mean and variance values of _γ_ and _δ_ at in- tervals of 5 epochs. The low variance for both parameters indicates stable updates and convergence, especially after epoch 30. This stability highlights the model’s ability to strike an effective balance between the two feature sets, guided by the adaptive learning mechanism of the PLM. The final convergence of _γ_ and _δ_ at 0.32 and 0.78, respectively, indicates that the model places sig- nificantly more weight on ratio-enhanced features while still retaining a portion of the original image features to maintain contextual information. This helps the model in providing fairly competitive segmentation performance during inference when no phase ratio is provided. Table 7: Mean values of _δ_ and _γ_ across epochs. Both _δ_ and _γ_ were initialized to 0 _._ 5 and then were updated by the PLM model for LoRA-SAM model. **898 Epoch** _δ_ **(Mean ± Variance)** _γ_ **(Mean ± Variance) 899** 5 0.647 ± 0.003 0.439 ± 0.001 10 0.693 ± 0.007 0.404 ± 0.002 15 0.735 ± 0.006 0.373 ± 0.002 20 0.732 ± 0.008 0.364 ± 0.004 25 0.770 ± 0.005 0.338 ± 0.004 30 0.785 ± 0.002 0.323 ± 0.004 35 0.786 ± 0.002 0.321 ± 0.005 40 0.787 ± 0.002 0.321 ± 0.004 A.5 QUALITATIVE COMPARISON ACROSS MODELS Figure 13 shows a qualitative performance comparison of SEM image with and without the proposed PLM across U-Net, nnU-Net, U-Net3+ and LoRA-SAM.
|
| 259 |
+
|
| 260 |
+
17
|
| 261 |
+
|
| 262 |
+
SEM Image Ground Truth U-Net U-Net w/ PLM nnU-Net nnU-Net w/ PLM U-Net3+ U-Net3+ w/ PLM LoRA-SAM LoRA-SAM w/ PLM Figure 13: Segmentation results of with and without the Phase learning Module (PLM) across vari- ous models with estimated 90% phase ratio accuracy.
|
| 263 |
+
|
| 264 |
+
18
|
| 265 |
+
|
open_review/iclr2025_13855.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13855",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Language Imbalance Driven Rewarding for Multilingual Self-improving",
|
| 6 |
+
"abstract": "Large Language Models (LLMs) have achieved state-of-the-art performance across numerous tasks. However, these advancements have predominantly benefited \"first-class\" languages such as English and Chinese, leaving many other languages underrepresented. This imbalance, while limiting broader applications, generates a natural preference ranking between languages, offering an opportunity to bootstrap the multilingual capabilities of LLM in a self-improving manner. Thus, we propose $\\textit{Language Imbalance Driven Rewarding}$, where the inherent imbalance between dominant and non-dominant languages within LLMs is leveraged as a reward signal. Iterative DPO training demonstrates that this approach not only enhances LLM performance in non-dominant languages but also improves the dominant language's capacity, thereby yielding an iterative reward signal. Fine-tuning Meta-Llama-3-8B-Instruct over two iterations of this approach results in continuous improvements in multilingual performance across instruction-following and arithmetic reasoning tasks, evidenced by an average improvement of 7.46\\% win rate on the X-AlpacaEval leaderboard and 13.9\\% accuracy on the MGSM benchmark. This work serves as an initial exploration, paving the way for multilingual self-improvement of LLMs.",
|
| 7 |
+
"rebuttal": "### Clarification on Ethics Concerns\nWe would like to emphasize that the focus of our method is multilingual self-rewarding that self-improves the general multilingual capability without external resources. In `Lines 53-55`, we explicitly mention that our work is primarily inspired by Self-rewarding (Yuan et al., ICML 2024). Table r1 provides a detailed comparison, highlighting the potential similarities and differences between our work, Self-rewarding, and MAPO (She et al., ACL 2024). \n\n\nTable r1: The relationship between our approach, Self-rewarding, and MAPO.\n| | Ours | Self-rewarding | MAPO |\n|---------------------|------------------------------------------------------------------|-----------------------------|------------------------------------------------------|\n| Task | **Instruction following (mainly)** and _math reasoning (additionally)_ | **Instruction following** | _Math reasoning_ |\n| Training method | **Iterative DPO** | **Iterative DPO** | **Iterative DPO** or PPO |\n| Reward signal (core contribution) | Intrinsic language imbalance (prior) | LLM-as-a-Judge (self-judge) | Semantic consistency (evaluated by external MT model) |\n| Preference data form | **Preference pairs** | **Preference pairs** | Preference score ('alignment' score) for each sample |\n| External model/data | **None** | **None** | Off-the-shelf MT model |\n| Multilingual | _Yes_ | No | _Yes_ |\n\nAs shown in `Table r1`, our approach bears more resemblance to Self-rewarding (highlighted in **bold**), including the task we focused on, the training method, preference data form, and the self-improving paradigm. Therefore, we mainly contextualized our approach with LLM self-improving methods in related works. In contrast, the only similarity between our work and MAPO is that we all experimented on multilingual mathematical reasoning task (the _italicized_ text). \n\nRegarding the reviewer’s comment on the similarity between our approach and MAPO, particularly concerning the use of MT for building preference data and iterative DPO for optimization, we believe there are key differences that set our work apart. \n\n1. **MT utilization**: Our work only leverages the **LLM itself** to translate responses across languages, while MAPO employs an **external MT model** as a reward model.\n2. **Preference pair construction**: \n\n a) In our work, preference pairs are constructed based on **language imbalance**—specifically, the prior that dominant languages generally outperform non-dominant ones. This contrasts with MAPO, which does not directly construct preference pairs. Instead, MAPO first employs an MT model to assess the **consistency between reasoning paths** generated in different languages, where the MT model functions as a reward model. The reward score derived from this consistency assessment is then used to construct preference pairs. \n\n b) Our approach could construct preference pairs for **both dominate and non-dominate languages**, while MAPO can only derive reward signal for **non-dominate ones**.\n4. **Iterative DPO training**: As shown in `Table r1`, we draw inspiration from the Self-rewarding method, which constructs preference pairs without external supervision and **only adopts iterative DPO training**. MAPO, on the other hand, **employs both PPO and DPO training** in their experiment, as they can obtain a reward score ('alignment' score) for each response using the external MT model.\n\nIn conclusion, we believe the similarity in `Table r1` and the distinctions listed above make it clear that **our approach is directly inspired by Self-rewarding instead of MAPO**. \n\nWe did not include MAPO as a major related work, since it is designed for only reasoning tasks rather than general ones such as instruction following tasks. This is because off-the-shelf translators fail to assess consistency between LLM responses due to their limited context size. Besides, it does not completely obey the self-improving paradigm, due to the use of the external translator. \n\nTo clear up the misunderstandings, we will include a detailed discussion in the revised version on the relationship between our approach, Self-rewarding, and MAPO, emphasizing their major differences.\n \nWe hope the evidence provided above could address your concerns. We would greatly appreciate it if you could kindly reconsider our work with these distinctions in mind.\n\n### Further Response to Reviewer AMKf\nThank you for your response. In our initial response, we provide `Table r1` to clarify that **our approach is directly inspired by Self-rewarding instead of MAPO**, to avoid potential concern regarding plagiarism. \n\nAfter reading your response, we believe there are still misunderstandings to be resolved:\n\n> The differences in constructing preference pairs and the utilization of DPO\n\nThe purpose of `Table r1` is to compare our approach with Self-Rewarding and MAPO, highlighting the source of our inspiration. While MAPO also conducts experiments with iterati [...]\n\n### General Response about GPT-4 on Cross-Language Evaluation Bias\nThank reviewer `w67r` and `n8tX` for raising the issue about GPT-4 on cross-language evaluation bias. We greatly appreciate your attention to this matter, and below, we address this issue from three perspectives to ensure the reliability of our findings:\n\n> Addressing Cross-Language Evaluati\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
6,
|
| 11 |
+
6
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 5.0,
|
| 14 |
+
"score_variance": 3,
|
| 15 |
+
"score_spread": 3,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 6,
|
| 18 |
+
"decision": "Accept (Poster)",
|
| 19 |
+
"rebuttal_validity_ground_truth": true,
|
| 20 |
+
"meta_review": "This paper leverages DPO style optimization to improve multilingual instruction following and numerical reasoning in LLMs by leveraging the imbalance between dominant and non-dominant languages within LLMs is leveraged as a reward signal.\n\nStrengths:\n- A new method that shows gains in X-AlpacaEval leaderboard on the MGSM benchmark by training Meta-Llama-3-8B-Instruct.\n\nWeaknesses:\n- A reviewer mentions that this paper has high similarity with She et al. (2024), but I am not very concerned about this given the innovations that the authors mention clearly in one of their responses.\n- Reviewers have concerns about using GPT as judge for evaluation, but I believe this was also addressed by the authors in their responses.",
|
| 21 |
+
"forum_id": "Kak2ZH5Itp",
|
| 22 |
+
"primary_area": "foundation or frontier models, including LLMs",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_AMKf",
|
| 27 |
+
"review_id": "C7m707W6u3",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 3,
|
| 30 |
+
"soundness": 2,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 4
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 1281,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 628277,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_w67r",
|
| 43 |
+
"review_id": "wjvasgvpRU",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 6,
|
| 46 |
+
"soundness": 3,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 3,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 2892,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 2135523,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_n8tX",
|
| 59 |
+
"review_id": "ENBwLHADBD",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 6,
|
| 62 |
+
"soundness": 2,
|
| 63 |
+
"presentation": 3,
|
| 64 |
+
"contribution": 3,
|
| 65 |
+
"confidence": 4
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 2502,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 3090099,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": []
|
| 72 |
+
}
|
| 73 |
+
],
|
| 74 |
+
"any_review_edit_detected": true,
|
| 75 |
+
"any_post_rebuttal_text_signal": false,
|
| 76 |
+
"review_score_dimensions": [
|
| 77 |
+
"rating",
|
| 78 |
+
"soundness",
|
| 79 |
+
"presentation",
|
| 80 |
+
"contribution",
|
| 81 |
+
"confidence"
|
| 82 |
+
]
|
| 83 |
+
}
|
open_review/iclr2025_13855.md
ADDED
|
@@ -0,0 +1,808 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## LANGUAGE IMBALANCE DRIVEN REWARDING FOR - MULTILINGUAL SELF IMPROVING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Large Language Models (LLMs) have achieved state-of-the-art performance across numerous tasks. However, these advancements have predominantly benefited “first-class” languages such as English and Chinese, leaving many other languages underrepresented. This imbalance, while limiting broader applications, generates a natural preference ranking between languages, offering an opportunity to bootstrap the multilingual capabilities of LLM in a self-improving manner. Thus, we propose _Language Imbalance Driven Rewarding_ , where the inherent imbalance between dominant and non-dominant languages within LLMs is leveraged as a reward signal. Iterative DPO training demonstrates that this approach not only enhances LLM performance in non-dominant languages but also improves the dominant language’s capacity, thereby yielding an iterative reward signal. Fine-tuning Meta-Llama-3-8B-Instruct over two iterations of this approach results in continuous improvements in multilingual performance across instructionfollowing and arithmetic reasoning tasks, evidenced by an average improvement of 7.46% win rate on the X-AlpacaEval leaderboard and 13.9% accuracy on the MGSM benchmark. This work serves as an initial exploration, paving the way for multilingual self-improvement of LLMs. The code is available at https: //[URL removed]
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Large Language Models (LLMs) have revolutionized the field of Natural Language Processing (NLP) with superior performance across numerous tasks. However, existing studies show that due to the imbalance of pre-training and fine-tuning data across languages, existing LLMs have predominately benefited a few “first-class” languages, particularly _English_ and _Chinese_ , thereby overlooking a wide range of other languages (Qin et al., 2024). Given that LLMs are used worldwide, such language imbalance presents significant risks for users who operate in less dominant languages (Deshpande et al., 2023). To this end, enhancing the multilingual performance of LLMs has gained increasing attention.
|
| 14 |
+
|
| 15 |
+
Previous research predominantly frames this imbalance as an issue to be resolved, often addressing it through multilingual training and cross-lingual alignment. The first approach aims to improve multilingual performance by incorporating additional multilingual data (Wei et al., 2023; Dang et al., 2024). However, high-quality multilingual instruction tuning and preference data, particularly for low-resource languages, remain scarce and expensive (Boubdir et al., 2023; Chaudhari et al., 2024). The second approach seeks to bridge the performance gap between languages by aligning nondominant and dominant ones (Li et al., 2023a; Chen et al., 2023b; Chai et al., 2024; Zhang et al., 2024), which are often bottlenecked by the performance of the dominant language.
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
This work takes a different perspective, positing that language imbalance, while still an issue, _creates a natural preference ranking between dominant and non-dominant languages_ , which can be leveraged as a reward signal. As the preference ranking is mutual, the reward signal benefits both dominant and non-dominant languages, enabling their simultaneous optimization. Consequently, reliance on human-authored data is eliminated, and the performance ceiling for dominant languages is surpassed.
|
| 20 |
+
|
| 21 |
+
We thus introduce _Language Imbalance Driven Rewarding_ , which leverages the reward generated from inherent language imbalance to enhance the multilingual capabilities of LLM in a selfimproving manner. Specifically, our approach adopts an Iterative Direct Preference Optimization (DPO) (Rafailov et al., 2024) similar to previous works (Yuan et al., 2024). As shown in Figure 1, starting from any instruction model with basic multilingual capabilities, responses are generated by the model for multilingual prompts and are then mutually translated by that same model. This translation process largely preserves the original preference rankings yielding from language imbalance (discussed in Section 3.2), allowing for the construction of a preference dataset where responses in the dominant language are treated as preferred and those in the non-dominant language as rejected. Subsequently, our approach employs a variant of the DPO that incorporates a negative log-likelihood (NLL) loss term for the chosen labels and has been demonstrated to be crucial for performance in Pang et al. (2024). The DPO training is executed on both dominant and non-dominant languages, enhancing their performance simultaneously. The model trained with DPO is capable of continuously providing reward signals in proceeding iterations.
|
| 22 |
+
|
| 23 |
+
**==> picture [378 x 113] intentionally omitted <==**
|
| 24 |
+
|
| 25 |
+
**----- Start of picture text -----**<br>
|
| 26 |
+
Self Multilingual Preference Pair Generation Multilingual Preference Optimization<br>Generate Translate<br>🙂 ☹ Mutlilingual preference pairs<br>Multilingual<br>prompts ☹ 🙂<br>DPO+NLL Training<br>�� 🙂<br>☹ 🙂<br>Next Iteration Model<br>... ... ... ...<br>**----- End of picture text -----**<br>
|
| 27 |
+
|
| 28 |
+
Figure 1: **Language Imbalance Driven Rewarding.** Our method consists of two steps: (i) _Self multilingual preference pair generation_ : Multilingual prompts are used to generate multilingual responses from _Mt_ , respectively. Then, _Mt_ is utilized to perform mutual translations between responses in dominant language (e.g., _en_ ) and non-dominant languages (e.g., _es, de, ru_ ). Finally, the inherent language imbalance in LLMs is leveraged to construct multilingual preference pairs. (ii) _Multilingual preference optimization_ : Multilingual preference pairs are constructed by _Mt_ itself, which are used for training via a DPO+NLL objective, resulting in model _Mt_ +1. The whole process is iteratively repeated, enhancing the model’s multilingual abilities across all languages in each subsequent iteration, until optimization saturates.
|
| 29 |
+
|
| 30 |
+
In our experiments, we begin with Meta-Llama-3-8B-Instruct (Meta, 2024) as the seed model and perform two rounds of iteration. Results demonstrate that multilingual preference optimization not only significantly enhances the instruction-following abilities of non-dominant languages compared to the seed model but also improves the performance of the dominant language. This means that during training, the model is not constrained by the initial performance of the dominant language, which is crucial for iterative self-improvement within our approach. Although this effect will gradually saturate as the performance gap between languages narrows, it presents an intriguing opportunity to bootstrap the multilingual performance of LLMs across all languages without the need for human-authored datasets.
|
| 31 |
+
|
| 32 |
+
## 2 LANGUAGE IMBALANCE DRIVEN REWARDING
|
| 33 |
+
|
| 34 |
+
Our approach first assumes access to an instruction-following language model, and a set of multilingual training prompts. Starting from any instruction model that possesses basic multilingual generation capabilities, each iteration consists of two steps, (i) _Self multilingual preference pair generation_ and (ii) _Multilingual preference optimization_ , as shown in Figure 1. For the _t[th]_ iteration,
|
| 35 |
+
|
| 36 |
+
2
|
| 37 |
+
|
| 38 |
+
we use the current model _Mt_ , with the seed model denoted as _M_ 0. Step (i) generates multilingual preference pairs data for DPO training in step (ii). After training, the updated model _Mt_ +1 is utilized as the initial weight in the next iteration.
|
| 39 |
+
|
| 40 |
+
**Initialization** Given an instruction-tuned model _M_ 0 and a set of parallel multilingual instruction prompts _X_ , where _X_ includes both the dominant language and non-dominant languages participating in the self-improving process, the model is updated iteratively, resulting in a sequence of models _M_ 1 _, M_ 2 _, . . . , MT_ .
|
| 41 |
+
|
| 42 |
+
**Self Multilingual Preference Pair Generation** The current model _Mt_ generates corresponding responses _yi[l][∼][M][t]_[(] _[x][l] i_[)][ for the instruction] _[ x][l] i_[in any language] _[ l]_[ supported by the model.]
|
| 43 |
+
|
| 44 |
+
**==> picture [258 x 13] intentionally omitted <==**
|
| 45 |
+
|
| 46 |
+
Let _dl_ and _nl_ represent any dominant and non-dominant language supported by the model, respectively. After generating the corresponding responses, we utilize the _self-translation_ capability of LLM to facilitate translation between dominant and non-dominant language responses, the _selftranslation_ prompt is given in Appendix H.4. Specifically, for the dominant language response _yi[dl]_[,] _Mt_ is utilized to translate it into any non-dominant language _nl_ , resulting in _yi[dl][→][nl]_ . Similarly, we randomly select a response in any non-dominant language _nl_ for each prompt, denoted as _yi[nl]_[, and] translate it into the dominant language, resulting in _yi[nl][→][dl]_ .
|
| 47 |
+
|
| 48 |
+
Due to the inherent differences in the multilingual capabilities of the model itself, and translation does not alter language biases. The following preference ranking holds true for the dominant language _dl_ and any non-dominant language _nl_ supported by the model:
|
| 49 |
+
|
| 50 |
+
For the same instruction in dominant language _x[dl] i_[,]
|
| 51 |
+
|
| 52 |
+
**==> picture [226 x 13] intentionally omitted <==**
|
| 53 |
+
|
| 54 |
+
For the same instruction in non-dominant language _x[nl] i_[,]
|
| 55 |
+
|
| 56 |
+
**==> picture [227 x 12] intentionally omitted <==**
|
| 57 |
+
|
| 58 |
+
Thus, the preference ranking between the dominant language and non-dominant languages is utilized to construct multilingual preference pair dataset in all languages supported by the model.
|
| 59 |
+
|
| 60 |
+
**==> picture [258 x 35] intentionally omitted <==**
|
| 61 |
+
|
| 62 |
+
The _Ddl_ and _Dnl_ are combined to form the multilingual preference pair dataset, which is denoted as _D_ = _{Ddl, Dnl}_ .
|
| 63 |
+
|
| 64 |
+
**Multilingual Preference Optimization** Given a multilingual preference pair _{x, ywin, ylose}_ from _D_ , a variant of DPO is employed to maximize the probability of the chosen output _ywin_ and minimize that of the undesirable output _ylose_ . Specifically, a negative log-likelihood (NLL) loss term for the chosen labels is incorporated into the vanilla DPO (Rafailov et al., 2024) formulation to improve alignment performance. The optimization objective is formulated as:
|
| 65 |
+
|
| 66 |
+
**==> picture [385 x 81] intentionally omitted <==**
|
| 67 |
+
|
| 68 |
+
Where _Mθ_ ( _·|x_ ) is the policy model to be optimized, _Mt_ ( _·|x_ ) is the reference model kept unchanged during training. The parameters _θ_ are initialized from model _Mt_ , _σ_ is the sigmoid function. Note that the _LNLL_ term is normalized by the response length, while DPO loss is not.
|
| 69 |
+
|
| 70 |
+
After the DPO training, our next model is updated as _Mt_ +1 = _Mθ_ , which will be utilized to construct new multilingual preference pairs data for the next iteration.
|
| 71 |
+
|
| 72 |
+
3
|
| 73 |
+
|
| 74 |
+
**Iterative Training** Our overall procedure starts from an instruction-following model _M_ 0 and instruction prompts _X_ , training a series of models _M_ 1 _, M_ 2 _, ..., MT_ . The models and corresponding training data used are defined as follows: (1) _M_ 0: Base LLM; Instruction-following model. (2) _M_ 1: Initialized with _M_ 0, using _M_ 0 and _X_ to generate _D_ 0, then conduct multilingual preference optimization on the _D_ 0. (3) _M_ 2: Initialized with _M_ 1, using _M_ 1 and _X_ to generate _D_ 1, then conduct multilingual preference optimization on the _D_ 1.
|
| 75 |
+
|
| 76 |
+
## 3 DISCUSSION
|
| 77 |
+
|
| 78 |
+
The insight behind our proposed method is to leverage _the inherent differences in the multilingual capabilities of LLMs to provide rewards for DPO training_ . Therefore, two key questions remain to be addressed:
|
| 79 |
+
|
| 80 |
+
## 3.1 DO LLMS EXHIBIT SIGNIFICANT DIFFERENCES IN MULTILINGUAL CAPABILITIES?
|
| 81 |
+
|
| 82 |
+
While the differences in multilingual capabilities have been evidenced by many prior works (Ranaldi & Pucci, 2023; Yuan et al., 2023; Zhao et al., 2024), we further validate the disparity in multilingual capabilities in Llama-3.
|
| 83 |
+
|
| 84 |
+
Table 1: The average quality of responses across different languages for parallel multilingual instructions. Note that Llama-3-8B-Instruct is subject to the off-target issue in certain languages ( _e.g., ja and ru_ ).
|
| 85 |
+
|
| 86 |
+
|**Model**|GPT-4 Score(0-10)|
|
| 87 |
+
|---|---|
|
| 88 |
+
||en<br>es<br>fr<br>it<br>de<br>ja<br>ru|
|
| 89 |
+
|||
|
| 90 |
+
|**Llama-3-8B-Instruct**|**9.60**<br>8.34<br>6.43<br>6.66<br>4.69<br>0.76<br>2.21|
|
| 91 |
+
|
| 92 |
+
Specifically, we randomly selected 100 multilingual Alpagasus (Chen et al., 2023a) instructions and evaluated the response quality across different languages using GPT-4 score. Based on the technical report for LLaMA 3 (Meta, 2024), English is selected as the dominant language, while the other languages are considered non-dominant languages. As shown in Table 1, a significant difference in response quality remains between the dominant language ( _en_ ) and non-dominant languages, demonstrating an inherent imbalance exists in the multilingual capabilities within the model.
|
| 93 |
+
|
| 94 |
+
## 3.2 DOES TRANSLATION PRESERVE THE RANKING OF RESPONSE PREFERENCES?
|
| 95 |
+
|
| 96 |
+
As shown in Discussion 3.1, _Given an English prompt x[en] i and a non-dominant language prompt x[nl] i[,][model][M][consistently][produces][a][better][response][for][the][English][prompt:][M]_[(] _[y] i[en][|][x][en] i_[)] _[≻] M_ ( _yi[nl][|][x][nl] i_[)][.][However, self-translation is employed by our method to convert the English response] _yi[en]_ into non-dominant language _nl_ , and vice versa. Therefore, a key question arises: Do the translated responses preserve the preference ranking in Equation 2 and 3?
|
| 97 |
+
|
| 98 |
+
As translation will largely preserve the semantics and the structure of the sentence, it is reasonable to believe that the preference ranking stemming from the quality difference of the response is largely preserved. To verify our assumption, the GPT-4 score is utilized to assess the quality of self-translated responses and compare it with original responses. As shown in Table 2, the GPT-4 score of the translated response _y[dl][→][nl]_ is lower than the original response _y[dl]_ . However, a substantial gap remains between the translated response and the original response in non-dominant languages, which is consistent with the original preference ranking. This conclusion also holds for the dominant language (English), where the original response is superior to the response sampled from non-dominant languages and self-translated into English. Overall, the self-translation process does preserve the ranking of response preference.
|
| 99 |
+
|
| 100 |
+
To observe the final preference ranking, multilingual preference pairs are constructed between the original and translated responses, sampling 100 pairs from each language. Reward accuracy (Win Rate) was then assessed through head-to-head comparisons by GPT-4. As shown in Table 3, language imbalance provides a positive reward ( _>_ 0.50). Moreover, the strength of reward signals varies across languages, ranging from 0.57 in _es_ to 0.79 in _ja_ . In line with the GPT-4 score in Table 1, this indicates that languages with weaker performance in LLMs tend to exhibit stronger reward signals.
|
| 101 |
+
|
| 102 |
+
4
|
| 103 |
+
|
| 104 |
+
Table 2: The average quality of self-translated responses. We selected the same responses discussed in Section 3.1 and assessed the self-translate quality using GPT-4 score. The underlined scores represent the self-translation of responses sampled from other languages into English ( _y[nl][→][en]_ ), while the **bold** scores indicate the self-translation of English responses into other languages ( _y[en][→][nl]_ ).
|
| 105 |
+
|
| 106 |
+
|||
|
| 107 |
+
|---|---|
|
| 108 |
+
|**Type**|GPT-4 Score(0-10)|
|
| 109 |
+
||en<br>es<br>fr<br>it<br>de<br>ja<br>ru|
|
| 110 |
+
|||
|
| 111 |
+
|Self Generation<br>Self Translation|9.60<br>8.34<br>6.43<br>6.66<br>4.69<br>0.76<br>2.21<br>8.03<br>**9.32**<br>**9.17**<br>**8.72**<br>**8.96**<br>**7.89**<br>**7.75**|
|
| 112 |
+
|
| 113 |
+
Based on empirical observations, languages are classified with rewards of 0.60 as the threshold into low-reward ones _(es, fr, it)_ and high-reward ones _(de, ja, ru)_ .
|
| 114 |
+
|
| 115 |
+
Table 3: The reward accuracy of multilingual preference pairs.
|
| 116 |
+
|
| 117 |
+
|**Model**|Reward Accuracy (0-1)|
|
| 118 |
+
|---|---|
|
| 119 |
+
||en<br>es<br>fr<br>it<br>de<br>ja<br>ru|
|
| 120 |
+
|||
|
| 121 |
+
|Llama-3-8B-Instruct|0.72<br>0.57<br>0.60<br>0.57<br>0.70<br>0.79<br>0.74|
|
| 122 |
+
|
| 123 |
+
## 4 GENERAL INSTRUCTION FOLLOWING
|
| 124 |
+
|
| 125 |
+
- 4.1 EXPERIMENTAL SETUP
|
| 126 |
+
|
| 127 |
+
**Base Models** In our experiments, we use a widely adopted instruction-following model as our base model _M_ 0, namely Llama-3-8B-Instruct (Meta, 2024). Llama-3-8B-Instruct, as an English-centric LLM, often encounters off-target issues when handling non-English requests.
|
| 128 |
+
|
| 129 |
+
**Languages** English is chosen as the common dominant language, and non-dominant languages include high-reward languages (German, Russian) and low-reward languages (Spanish, French). Additionally, Chinese is selected as an unseen language to observe the generalization of our approach. Note that unseen language means that not included in the training data.
|
| 130 |
+
|
| 131 |
+
**Datasets** The Alpagasus dataset (Chen et al., 2023a) includes 9,000 high-quality instructionfollowing examples filtered from the original 52,000 in the Alpaca dataset (Taori et al., 2023). We sample 1,000 prompts from the Alpagasus dataset and translate them into other languages using the Google Translate API to obtain multilingual prompts.
|
| 132 |
+
|
| 133 |
+
**Implementation Details** Models are trained for one epoch in each iteration across all experiments. More details are described in Appendix F.4.
|
| 134 |
+
|
| 135 |
+
## **Evaluation and Metrics**
|
| 136 |
+
|
| 137 |
+
- **Head-to-head performance** : Head-to-head performance is evaluated between base model and the iterative models using GPT-4 Turbo as an evaluator (Liu et al., 2023) over 805 test prompts in X-AlpacaEval (Zhang et al., 2023). The detailed setup can be found in Appendix F.1.
|
| 138 |
+
|
| 139 |
+
- **X-AlpacaEval leaderboard** : We extend the existing AlpacaEval 2.0 toolkit (Li et al., 2023d) from an English-only framework to a multilingual one and compare both proprietary and open-source models on their multilingual instruction-following abilities.
|
| 140 |
+
|
| 141 |
+
- **Multilingual MT-Bench** : Results are additionally reported on multilingual MT-Bench. MT-Bench (Zheng et al., 2024a) consists of a series of open-ended questions that evaluate the multi-turn conversational and instruction-following abilities, which uses GPT-4 Turbo to grade the model responses on a scale of 10.
|
| 142 |
+
|
| 143 |
+
- **Multilingual NLP benchmarks** : To assess the _alignment tax_ of our method, we further evaluate the performance of our model on multilingual versions of the MMLU (Hendrycks
|
| 144 |
+
|
| 145 |
+
5
|
| 146 |
+
|
| 147 |
+
et al., 2020), HellaSwag (Zellers et al., 2019), ARC Challenge (Clark et al., 2018) and TruthfulQA (Lin et al., 2021) benchmarks.
|
| 148 |
+
|
| 149 |
+
**Fair Evaluation** Appendix D.1 explains how to prevent language bias in LLM-as-a-Judge and D.2 highlights GPT-4’s multilingual judging capabilities, aligning with the advanced GPT-4o. D.3 discusses avoiding translationese bias in evaluation.
|
| 150 |
+
|
| 151 |
+
## 4.2 HEAD-TO-HEAD PERFORMANCE
|
| 152 |
+
|
| 153 |
+
The head-to-head win rates of our models on the X-AlpacaEval dataset are shown in Figure 2.
|
| 154 |
+
|
| 155 |
+
**==> picture [378 x 167] intentionally omitted <==**
|
| 156 |
+
|
| 157 |
+
**----- Start of picture text -----**<br>
|
| 158 |
+
Win Tie Lose<br>English Spanish Russian<br>M2 vs M0 35.8 51.4 12.8 M2 vs M0 44.8 36.1 19.0 M2 vs M0 74.0 12.9 13.0<br>M1 vs M0 30.1 55.2 14.8 M1 vs M0 41.2 41.0 17.8 M1 vs M0 70.9 19.6 9.4<br>M2 vs M1 28.3 58.0 13.7 M2 vs M1 28.8 50.4 20.7 M2 vs M1 31.6 42.6 25.8<br>0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100<br>German French Chinese<br>M2 vs M0 70.4 17.8 11.8 M2 vs M0 55.9 27.6 16.5 M2 vs M0 54.7 40.0 5.3<br>M1 vs M0 69.2 19.3 11.6 M1 vs M0 51.3 31.4 17.3 M1 vs M0 37.4 57.4 5.2<br>M2 vs M1 29.8 44.1 26.1 M2 vs M1 29.4 50.3 20.2 M2 vs M1 33.7 55.0 11.3<br>0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100<br>**----- End of picture text -----**<br>
|
| 159 |
+
|
| 160 |
+
Figure 2: Multilingual Instruction following ability improves with _Language Imbalance Driven Rewarding_ on Llama-3-8B-Instruct model.
|
| 161 |
+
|
| 162 |
+
**Findings 1: Language Imbalance Driven Rewarding is effective.** The head-to-head performance shows that _M_ 1 achieves notable win rates against _M_ 0 across all five training languages and one unseen language. For these five training languages, _M_ 1 demonstrates a significant improvement, with ∆ **W-L** values for each language ranging from 15.3% ( _en_ ) to 61.5% ( _ru_ ) compared to the base model. Upon comparing different languages, high-reward languages ( _ru, de_ ) gain larger improvements than low-reward languages ( _es, fr_ ) in Iteration 1 ( _M_ 1 vs. _M_ 0), but in Iteration 2 ( _M_ 2 vs. _M_ 1), the gains across all languages diminish and converge. We hypothesize that the reward signals across different languages gradually weaken and align over iterations.
|
| 163 |
+
|
| 164 |
+
**Findings 2: The dominant language also benefits from Language Imbalance Driven Rewarding.** Since the responses for non-dominant languages are translated from English, it is natural for these languages to see improvements. However, English also achieves better performance compared to the reference model. As shown in Figure 2, English shows a 15.3% increase in ∆ **W-L** for _M_ 1 vs. _M_ 0, and a 14.6% increase in ∆ **W-L** for _M_ 2 vs. _M_ 1. These results indicate that the dominant language also benefits from rejected responses translated from non-dominant languages, highlighting the value of incorporating negative samples in preference pair construction, aligning with observation in Duan et al. (2024).
|
| 165 |
+
|
| 166 |
+
**Findings 3: Iterative training is possible and effective.** Findings 2 reveals that English benefits from language imbalance driven rewarding, which lays the foundation for iterative optimization. Specifically, the enhancement in English makes it possible to generate higher-quality responses in the next iteration of training, enabling continual self-improving. In Figure 2, a consistent gain is observed in Iteration 1 ( _M_ 1 vs. _M_ 0) and Iteration 2 ( _M_ 2 vs. _M_ 1) in all languages. Compared to Iteration 1, the gains for all training languages (except for English) in Iteration 2 become more consistent and convergent. This demonstrates that our approach are capable of iteratively aligning all languages until reaching saturation.
|
| 167 |
+
|
| 168 |
+
**Findings 4: Multilingual optimization can generalize to unseen languages.** For the unseen language, the gains (∆ **W-L** ) in Chinese are 32.2% for Iteration 1 ( _M_ 1 vs. _M_ 0) and 22.4% for Iter-
|
| 169 |
+
|
| 170 |
+
6
|
| 171 |
+
|
| 172 |
+
ation 2 ( _M_ 2 vs. _M_ 1), respectively. These results indicate that multilingual preference optimization facilitates cross-lingual transfer, which is consistent with observations in Dang et al. (2024).
|
| 173 |
+
|
| 174 |
+
Table 4: The X-AlpacaEval Leaderboard, which shows the win rate over GPT-4 Turbo evaluated by GPT-4.
|
| 175 |
+
|
| 176 |
+
|GPT-4.||
|
| 177 |
+
|---|---|
|
| 178 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr|
|
| 179 |
+
|_Language Imbalance Driven Rewarding_||
|
| 180 |
+
|Meta-Llama-3-8B-Instruct (M0)<br>Iteration 1 (M1)<br>Iteration 2 (M2)|24.90%<br>18.08%<br>7.81%<br>8.65%<br>14.18%<br>14.72%<br>30.11%<br>21.82%<br>18.01%<br>16.87%<br>17.51%<br>20.86%<br>34.09%<br>21.21%<br>19.25%<br>16.02%<br>20.34%<br>22.18%|
|
| 181 |
+
|_Multilingual Alignment_||
|
| 182 |
+
|Meta-Llama-3-8B-Instruct (SFT)|21.88%<br>18.98%<br>15.90%<br>16.68%<br>18.15%<br>18.32%|
|
| 183 |
+
|_SOTA Multilingual Models_||
|
| 184 |
+
|GPT-4o-mini<br>GPT-4-0613<br>GPT-3.5-turbo-0125<br>Qwen2-72B-Instruct<br>Meta-Llama-3-70B-Instruct<br>InternLM2.5-Chat-20B<br>Qwen1.5-14B-Instruct<br>Meta-Llama-2-13B-Instruct<br>PolyLM-Chat-13B<br>Aya-23-8B<br>Qwen2-7B-Instruct<br>Mistral-7B-Instruct-v0.3|45.17%<br>44.63%<br>47.03%<br>44.2%<br>44.93%<br>45.19%<br>15.61%<br>18.18%<br>16.82%<br>16.00%<br>15.23%<br>16.37%<br>11.96%<br>14.42%<br>13.74%<br>12.41%<br>12.70%<br>13.05%<br>37.72%<br>24.73%<br>27.15%<br>23.93%<br>24.63%<br>27.63%<br>39.74%<br>32.58%<br>9.14%<br>9.48%<br>25.20%<br>23.23%<br>31.77%<br>16.62%<br>11.10%<br>11.56%<br>13.61%<br>16.93%<br>22.15%<br>20.63%<br>12.02%<br>16.05%<br>18.55%<br>17.88%<br>8.84%<br>5.31%<br>0.93%<br>1.19%<br>1.36%<br>3.53%<br>3.81%<br>3.61%<br>2.27%<br>2.79%<br>3.56%<br>3.21%<br>15.26%<br>16.68%<br>17.95%<br>18.50%<br>14.70%<br>16.62%<br>24.39%<br>13.89%<br>14.33%<br>11.45%<br>15.97%<br>16.01%<br>21.46%<br>13.36%<br>13.75%<br>11.91%<br>13.28%<br>14.75%|
|
| 185 |
+
|
| 186 |
+
## 4.3 X-ALPACAEVAL LEADERBOARD
|
| 187 |
+
|
| 188 |
+
The X-AlpacaEval leaderboard, as shown in Table 4, demonstrates a high degree of consistency with head-to-head evaluations. After two rounds of iteration, Llama-3-8B-Instruct achieves average improvements of 7.46% in win rates over GPT-4 Turbo across five languages. Additionally, we evaluate the performance of state-of-the-art multilingual models on X-AlpacaEval, including OpenAI’s GPT-4o, GPT-4 (Achiam et al., 2023), along with Qwen series (Bai et al., 2023; Yang et al., 2024), Llama series (Touvron et al., 2023b; Meta, 2024), InternLM2 (Cai et al., 2024), Aya-23 ( Ust¨un et al.,[¨] 2024), Mistral (Jiang et al., 2023) and PolyLM (Wei et al., 2023). Our method based on Llama-38B-Instruct outperforms both 7B and 14B-level models, achieving comparable performance to the 70B-level models.
|
| 189 |
+
|
| 190 |
+
Moreover, a comparative experiment on _multilingual alignment_ is conducted, which performed supervised fine-tuning by self-translating model responses from the dominant language to nondominant languages under the same experimental conditions. Multilingual alignment utilizes the performance of the dominant language as an anchor to align the capabilities between dominant and non-dominant languages. While there is an improvement in performance on non-dominant languages, a significant gap remains compared to our method, with 18.32% vs. 22.18% in Llama3. Notably, multilingual alignment places excessive focus on non-dominant languages during the SFT process, resulting in a degradation of performance in English (-3.02%). In contrast, our approach improves English performance (+9.19%). This improvement is crucial for enabling iteration in our method, whereas the performance decline in English seen with multilingual alignment hinders further iteration.
|
| 191 |
+
|
| 192 |
+
## 4.4 PERFORMANCE ON MULTILINGUAL MT-BENCH
|
| 193 |
+
|
| 194 |
+
Table 5 reports the multilingual MT-Bench results on a scale of score 10. A significant performance improvement on MT-Bench in Llama3 is observed across the training iterations, increasing from
|
| 195 |
+
|
| 196 |
+
7
|
| 197 |
+
|
| 198 |
+
6.80 in _M_ 0 to 7.51 in _M_ 2. This is because Llama3 initially exhibits a strong reward signal in _M_ 0; however, this signal weakens as iterations progress. A detailed analysis is provided in Section 4.6.
|
| 199 |
+
|
| 200 |
+
Table 5: The Multilingual MT-Bench Benchmark.
|
| 201 |
+
|
| 202 |
+
|**Model**|**Training Languages**<br>**Unseen**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr<br>zh|
|
| 203 |
+
|---|---|
|
| 204 |
+
|Meta-Llama-3-8B-Instruct (M0)|8.20<br>7.51<br>5.86<br>6.36<br>7.21<br>5.64<br>6.80|
|
| 205 |
+
|Iteration 1 (M1)<br>Iteration 2 (M2)|8.22<br>7.55<br>7.12<br>7.46<br>7.56<br>5.87<br>7.30<br>8.30<br>7.59<br>7.37<br>7.62<br>7.93<br>6.22<br>7.51|
|
| 206 |
+
|
| 207 |
+
4.5 ALIGNMENT TAX ON MULTILINGUAL NLP BENCHMARKS
|
| 208 |
+
|
| 209 |
+
Previous studies have shown that instruction tuning and RLHF can lead to forgetting, also known as the alignment tax (Ouyang et al., 2022). The changes in world knowledge and commonsense reasoning abilities are examined throughout the iterative process by evaluating its performance on multilingual NLP benchmarks.
|
| 210 |
+
|
| 211 |
+
Table 6 presents the average results across five training languages (English, Spanish, Russian, German, French) and one unseen language (Chinese) on four benchmarks, with more detailed results provided in the Appendix G.1. **Overall** , during the iteration process, the performance on the benchmarks not only exhibits no significant degradation compared to the base models but also shows a slight improvement. These results indicate that the multilingual preference optimization process did not introduce any alignment tax.
|
| 212 |
+
|
| 213 |
+
Table 6: The Multilingual NLP Benchmarks.
|
| 214 |
+
|
| 215 |
+
|**Model**|_Multilingual_|_Multilingual_|_Multilingual_|_Multilingual TruthfulQA_|_Multilingual TruthfulQA_|
|
| 216 |
+
|---|---|---|---|---|---|
|
| 217 |
+
||_MMLU_|_HellaSwag_|_ARC challenge_|_MC1_|_MC2_|
|
| 218 |
+
|Meta-Llama-3-8B-Instruct (M0)|0.5666_±_0.0043|0.4724_±_0.0051|0.4228_±_0.0144|0.3417_±_0.0168|0.5076_±_0.0158|
|
| 219 |
+
|Iteration 1 (M1)|0.5687_±_0.0043|0.4761_±_0.0051|0.4312_±_0.0144|0.3464_±_0.0169|0.5169_±_0.0157|
|
| 220 |
+
|Iteration 2 (M2)|0.5687_±_0.0043|0.4763_±_0.0051|0.4321_±_0.0144|0.3472_±_0.0169|0.5165_±_0.0157|
|
| 221 |
+
|
| 222 |
+
4.6 THE REWARD SIGNAL CHANGES OVER ITERATIONS, GETTING STRONGER OR WEAKER?
|
| 223 |
+
|
| 224 |
+
The reward signal strength on pairwise data was analyzed at the beginning of each iteration, as outlined in Section 3.2. Figure 3 shows the change in reward accuracy on training languages _(en, es, ru, de, fr)_ and unseen languages _(it, ja)_ across iterations. For the training languages, high-reward languages, except English, gradually shift to lower-reward status after Iteration 1. As English capabilities improve through iterations, low-reward languages remain in the lower-reward range with some fluctuations, enabling the self-improving process to continue iteratively.
|
| 225 |
+
|
| 226 |
+
**==> picture [192 x 151] intentionally omitted <==**
|
| 227 |
+
|
| 228 |
+
**----- Start of picture text -----**<br>
|
| 229 |
+
0.8 M0<br>M1<br>M2<br>0.6<br>0.4<br>0.2<br>0.0<br>en de es fr ru it ja<br>Languages<br>Figure 3: The reward accuracy over iterations.<br>Reward Acc<br>**----- End of picture text -----**<br>
|
| 230 |
+
|
| 231 |
+
For unseen languages, reward accuracy also steadily increases ( _it_ ) as English capabilities improve continuously. However, during the DPO training, certain preferences, such as controlling off-target responses, are transferred to unseen languages ( _ja_ ). This is evident from the sharp drop in Japanese reward accuracy after Iteration 1, which corresponds to a reduction in off-target responses.
|
| 232 |
+
|
| 233 |
+
## 4.7 SCALING AND GENERALIZING
|
| 234 |
+
|
| 235 |
+
In Appendix C, we scale our method to Qwen2-7B-Instruct (Yang et al., 2024). In Appendix E, we extend our approach to extreme scenarios: using a weaker base model, Llama2-7B-Chat (Touvron
|
| 236 |
+
|
| 237 |
+
8
|
| 238 |
+
|
| 239 |
+
et al., 2023b) in E.1, addressing lower-resource languages ( _bn, sw, th_ ) in E.2, and relaxing the selfimprovement paradigm through the use of an external translation system in E.3.
|
| 240 |
+
|
| 241 |
+
## 5 ARITHMETIC REASONING
|
| 242 |
+
|
| 243 |
+
Arithmetic reasoning is a task where language models often struggle (Ahn et al., 2024), and while they are considered language-agnostic (Brannon, 2005), existing LLMs demonstrate inconsistent reasoning capabilities across different languages. We scale our method to arithmetic reasoning to enhance reasoning performance across languages.
|
| 244 |
+
|
| 245 |
+
## 5.1 EXPERIMENTAL SETUP
|
| 246 |
+
|
| 247 |
+
**Experiments Settings** The arithmetic reasoning task is conducted on Llama-3-8B-Instruct, starting with multilingual GSM8K (Cobbe et al., 2021) prompts. Performance was measured using the MGSM benchmark (Shi et al., 2022), which consists of 250 manually translated GSM8K problems in ten languages. We report reasoning accuracy ( **Acc** ) across five training and five unseen languages, and assess the off-target rate ( **Off-tag** ) of the reasoning responses using the LangDetect library. The implementation details are described in Appendix F.2.
|
| 248 |
+
|
| 249 |
+
**Compared Methods** We first compared our approach to _multilingual alignment_ , where English responses were self-translated into other languages for SFT training. Additionally, we focus on comparing reasoning task performance with MAPO (She et al., 2024). To ensure a fair comparison with MAPO, we considered two variants: MAPO _[†]_ uses the same sampling count as our method, while MAPO _[‡]_ uses MAPO’s sampling configuration but with training data size consistent with ours. We used MAPO’s official code and hyperparameters for sampling and trained all preference pairs under identical training conditions. We report MAPO’s best results, achieved after two iterations.
|
| 250 |
+
|
| 251 |
+
Table 7: Model performances on MGSM benchmark on LLama-3-8B-Instruct as base model. The subscript values represent the relative change in performance compared to the base model _M_ 0 for each language. Improvements are indicated in green, and declines in red.
|
| 252 |
+
|
| 253 |
+
||**en**|**es**|**ru**|**de**|**fr**|
|
| 254 |
+
|---|---|---|---|---|---|
|
| 255 |
+
|**Training Languages**||||||
|
| 256 |
+
||**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|
|
| 257 |
+
|M0|0.700<br>0|0.456<br>0.012|0.488<br>0.076|0.468<br>0.016|0.464<br>0.016|
|
| 258 |
+
|_Multilingual Alignment_<br>MAPO_†_<br>MAPO_‡_<br>M1<br>M2|0.680 -2.0%<br>0<br>0.668 -3.2%<br>0<br>0.716 +1.6%<br>0<br>0.712 +1.2%<br>0<br>0.720 +2.0%<br>0|0.604 +14.8%<br>0<br>0.600 +14.4%<br>0<br>0.628 +17.2%<br>0<br>0.616 +16.0%<br>0<br>0.640 +18.4%<br>0|0.592 +10.4%<br>0<br>0.608 +12.0%<br>0.012<br>0.620 +13.2%<br>0.036<br>0.604 +11.6%<br>0.004<br>0.620 +13.2%<br>0.004|0.552 +8.4%<br>0.008<br>0.560 +9.2%<br>0.028<br>0.508 +4.0%<br>0.028<br>0.564 +9.6%<br>0<br>0.570 +10.2%<br>0|0.540 +7.6%<br>0<br>0.524 +6.0%<br>0.004<br>0.592 +12.8%<br>0.02<br>0.596 +13.2%<br>0<br>0.608 +14.4%<br>0|
|
| 259 |
+
|**Unseen Languages**|**ja**|**sw**|**th**|**zh**|**bn**|
|
| 260 |
+
||**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**<br>**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**<br>**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**<br>**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**<br>**Acc(**_↑_**)**<br>**Off-tag(**_↓_**)**|||||
|
| 261 |
+
|M0|0.284<br>0.280|0.192<br>0.204|0.324<br>0.124|0.464<br>0.336|0.328<br>0.024|
|
| 262 |
+
|_Multilingual Alignment_<br>MAPO_†_<br>MAPO_‡_<br>M1<br>M2|0.356 +7.2%<br>0.020<br>0.348 +6.4%<br>0.052<br>0.384 +10.0%<br>0.072<br>0.428 +14.4%<br>0.008<br>0.476 +19.2%<br>0.004|0.216 +2.4%<br>0.032<br>0.292 +10.0%<br>0.044<br>0.308 +11.6%<br>0.016<br>0.320 +12.8%<br>0.016<br>0.328 +13.6%<br>0.002|0.436 +11.2%<br>0.004<br>0.508 +18.4%<br>0.040<br>0.472 +14.8%<br>0.084<br>0.524 +20.0%<br>0<br>0.536 +21.2%<br>0|0.520 +5.6%<br>0.124<br>0.540 +7.6%<br>0.172<br>0.540 +7.6%<br>0.104<br>0.552 +8.8%<br>0.076<br>0.592 +12.8%<br>0.064|0.308 -2.0%<br>0<br>0.324 -0.4%<br>0<br>0.384 +5.6%<br>0.004<br>0.464 +13.6%<br>0<br>0.472 +14.4%<br>0|
|
| 263 |
+
|
| 264 |
+
## 5.2 RESULTS
|
| 265 |
+
|
| 266 |
+
The results are presented in Table 7. In training languages, our approach outperforms multilingual alignment, with _M_ 2 improving by 11.6% on average, compared to 7.8% for multilingual alignment. While multilingual alignment struggles to balance English and non-dominant languages, leading to a decline in English performance (-2.0%). In unseen languages, our method ( _M_ 1) achieves a 16.2% average improvement, exceeding the 11.6% gain observed in training languages. This suggests our approach effectively leverages language imbalance to learn language-agnostic reasoning, leading to superior generalization. In contrast, traditional multilingual alignment tends to overemphasize training languages to align English capabilities, resulting in much poorer generalization on unseen languages compared to our method (average 4.9% vs. 16.2%).
|
| 267 |
+
|
| 268 |
+
9
|
| 269 |
+
|
| 270 |
+
With the same sampling effort, MAPO _[†]_ underperforms across all languages, likely due to its limited preference data. This highlights the efficiency of our method in directly leveraging language imbalance. Using the same training data, MAPO _[‡]_ also performs worse than our approach in most languages, further demonstrating the superior effectiveness of our reward mechanism.
|
| 271 |
+
|
| 272 |
+
## 6 RELATED WORK
|
| 273 |
+
|
| 274 |
+
**LLM Self-Improving** The goal of LLM self-improvement is to enhance its capability by leveraging the knowledge embedded within the model itself. Self-improvement can be broadly divided into two categories: _self-synthetic_ and _self-critical_ . _Self-synthetic_ involves generating synthetic training data using the model itself. For example, Self-Instruct (Bai et al., 2022; Wang et al., 2022) is a technique for generating prompts and responses independently, which can be utilized to enhance a base language model. Instruction backtranslation (Li et al., 2023c) similarly augments and curates training data by augmenting it through back-translation from web documents to generate instructions. _Self-critical_ (Dubois et al., 2024; Saha et al., 2023; Bai et al., 2024) refers to using LLM-as-a-Judge to assess the quality of the data. Self-rewarding (Yuan et al., 2024) involves using the model itself, via LLM-as-a-Judge prompting, to provide its own reward mechanism. However, existing selfimprovement methods primarily focus on enhancing the overall capabilities of language models, without addressing the potential for self-improvement across different languages within the model. This is the key insight of our work.
|
| 275 |
+
|
| 276 |
+
**Multilingual LLMs** Contemporary LLMs (Touvron et al., 2023a;b; Team et al., 2024; Bai et al., 2023; Achiam et al., 2023) are predominantly trained on multilingual corpora. However, the language distribution in the data primarily focuses on _English_ and _Chinese_ . The imbalanced data distribution above has led to significant limitations in the capabilities of LLMs across most languages. To enhance the multilingual capabilities, one straightforward approach is _multilingual training_ , using multilingual data during the pre-training (Conneau & Lample, 2019; Le Scao et al., 2023), instruction-following (Li et al., 2023b; Muennighoff et al., 2022) and post training (Dang et al., 2024). However, high-quality multilingual data, particularly for low-resource languages, remains scarce and expensive. The second approach is _cross-lingual alignment_ , which seeks to bridge the performance gap by aligning non-dominant and dominant languages. This approach utilizes techniques such as cross-lingual transfer (Etxaniz et al., 2023; Huang et al., 2023; Ranaldi & Pucci, 2023; Qin et al., 2023), cross-lingual instruction tuning (Schuster et al., 2019; Wen-Yi & Mimno, 2023) and self-distillation (Zhang et al., 2024).
|
| 277 |
+
|
| 278 |
+
The most similar work, MAPO (She et al., 2024), uses an off-the-shelf translation model as a reward model to assess cross-language consistency as the preference for optimization, focusing on aligning non-dominant languages with dominant ones in reasoning task. However, MAPO may struggle with consistency due to the limited context size in the translator, which makes it primarily suitable for reasoning tasks. In contrast, our approach relies on the LLM itself for translation, constructs preference pairs directly based on language imbalance, and supports both dominant and non-dominant languages. Our work enables iterative self-improvement across all languages for general tasks. The comparisons with MAPO on reasoning task are presented in Section 5.
|
| 279 |
+
|
| 280 |
+
## 7 CONCLUSION
|
| 281 |
+
|
| 282 |
+
This paper introduces _Language Imbalance Driven Rewarding_ , which leverages the inherent imbalance between dominant and non-dominant languages in LLMs as a reward signal to bootstrap LLMs’ multilingual capabilities in a self-improving manner. Starting from any instruction-following model with basic multilingual capabilities, this approach generates and self-translates the responses between dominant and non-dominant languages within LLMs, constructing preference ranking and adopting an Iterative DPO for training. This approach not only enhances LLM performance in nondominant languages but also improves the dominant language’s capacity. Experiments on Llama-38B-Instruct demonstrate significant improvements in instruction-following and arithmetic reasoning tasks. While much remains to be explored, this work paves the way for developing models capable of enhancing their multilingual abilities autonomously across all languages.
|
| 283 |
+
|
| 284 |
+
10
|
| 285 |
+
|
| 286 |
+
## REFERENCES
|
| 287 |
+
|
| 288 |
+
Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. _arXiv preprint arXiv:2303.08774_ , 2023.
|
| 289 |
+
|
| 290 |
+
Janice Ahn, Rishu Verma, Renze Lou, Di Liu, Rui Zhang, and Wenpeng Yin. Large language models for mathematical reasoning: Progresses and challenges. _arXiv preprint arXiv:2402.00157_ , 2024.
|
| 291 |
+
|
| 292 |
+
Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, et al. Qwen technical report. _arXiv preprint arXiv:2309.16609_ , 2023.
|
| 293 |
+
|
| 294 |
+
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. _arXiv preprint arXiv:2212.08073_ , 2022.
|
| 295 |
+
|
| 296 |
+
- Yushi Bai, Jiahao Ying, Yixin Cao, Xin Lv, Yuze He, Xiaozhi Wang, Jifan Yu, Kaisheng Zeng, Yijia Xiao, Haozhe Lyu, et al. Benchmarking foundation models with language-model-as-an-examiner. _Advances in Neural Information Processing Systems_ , 36, 2024.
|
| 297 |
+
|
| 298 |
+
- Meriem Boubdir, Edward Kim, Beyza Ermis, Marzieh Fadaee, and Sara Hooker. Which prompts make the difference? data prioritization for efficient human llm evaluation. _arXiv preprint arXiv:2310.14424_ , 2023.
|
| 299 |
+
|
| 300 |
+
- Elizabeth M Brannon. The independence of language and mathematical reasoning. _Proceedings of the National Academy of Sciences_ , 102(9):3177–3178, 2005.
|
| 301 |
+
|
| 302 |
+
- Zheng Cai, Maosong Cao, Haojiong Chen, Kai Chen, Keyu Chen, Xin Chen, Xun Chen, Zehui Chen, Zhi Chen, Pei Chu, et al. Internlm2 technical report. _arXiv preprint arXiv:2403.17297_ , 2024.
|
| 303 |
+
|
| 304 |
+
- Linzheng Chai, Jian Yang, Tao Sun, Hongcheng Guo, Jiaheng Liu, Bing Wang, Xiannian Liang, Jiaqi Bai, Tongliang Li, Qiyao Peng, et al. xcot: Cross-lingual instruction tuning for cross-lingual chain-of-thought reasoning. _arXiv preprint arXiv:2401.07037_ , 2024.
|
| 305 |
+
|
| 306 |
+
- Shreyas Chaudhari, Pranjal Aggarwal, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, Karthik Narasimhan, Ameet Deshpande, and Bruno Castro da Silva. Rlhf deciphered: A critical analysis of reinforcement learning from human feedback for llms. _arXiv preprint arXiv:2404.08555_ , 2024.
|
| 307 |
+
|
| 308 |
+
- Lichang Chen, Shiyang Li, Jun Yan, Hai Wang, Kalpa Gunaratna, Vikas Yadav, Zheng Tang, Vijay Srinivasan, Tianyi Zhou, Heng Huang, et al. Alpagasus: Training a better alpaca with fewer data. _arXiv preprint arXiv:2307.08701_ , 2023a.
|
| 309 |
+
|
| 310 |
+
- Nuo Chen, Zinan Zheng, Ning Wu, Linjun Shou, Ming Gong, Yangqiu Song, Dongmei Zhang, and Jia Li. Breaking language barriers in multilingual mathematical reasoning: Insights and observations. _arXiv preprint arXiv:2310.20246_ , 2023b.
|
| 311 |
+
|
| 312 |
+
- Pinzhen Chen, Zhicheng Guo, Barry Haddow, and Kenneth Heafield. Iterative translation refinement with large language models. _arXiv preprint arXiv:2306.03856_ , 2023c.
|
| 313 |
+
|
| 314 |
+
- Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge. _arXiv preprint arXiv:1803.05457_ , 2018.
|
| 315 |
+
|
| 316 |
+
- Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word problems. _arXiv preprint arXiv:2110.14168_ , 2021.
|
| 317 |
+
|
| 318 |
+
11
|
| 319 |
+
|
| 320 |
+
- Alexis Conneau and Guillaume Lample. Cross-lingual language model pretraining. _Advances in neural information processing systems_ , 32, 2019.
|
| 321 |
+
|
| 322 |
+
- John Dang, Arash Ahmadian, Kelly Marchisio, Julia Kreutzer, Ahmet Ust¨un,[¨] and Sara Hooker. Rlhf can speak many languages: Unlocking multilingual preference optimization for llms. _arXiv preprint arXiv:2407.02552_ , 2024.
|
| 323 |
+
|
| 324 |
+
- Tri Dao. Flashattention-2: Faster attention with better parallelism and work partitioning. _arXiv preprint arXiv:2307.08691_ , 2023.
|
| 325 |
+
|
| 326 |
+
- Ameet Deshpande, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, and Karthik Narasimhan. Toxicity in chatgpt: Analyzing persona-assigned language models. _arXiv preprint arXiv:2304.05335_ , 2023.
|
| 327 |
+
|
| 328 |
+
- Shitong Duan, Xiaoyuan Yi, Peng Zhang, Yan Liu, Zheng Liu, Tun Lu, Xing Xie, and Ning Gu. Negating negatives: Alignment with human negative samples via distributional dispreference optimization. In _Findings of the Association for Computational Linguistics: EMNLP 2024_ , pp. 1012–1042, 2024.
|
| 329 |
+
|
| 330 |
+
- Yann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang, Ishaan Gulrajani, Jimmy Ba, Carlos Guestrin, Percy S Liang, and Tatsunori B Hashimoto. Alpacafarm: A simulation framework for methods that learn from human feedback. _Advances in Neural Information Processing Systems_ , 36, 2024.
|
| 331 |
+
|
| 332 |
+
- Julen Etxaniz, Gorka Azkune, Aitor Soroa, Oier Lopez de Lacalle, and Mikel Artetxe. Do multilingual language models think better in english? _arXiv preprint arXiv:2308.01223_ , 2023.
|
| 333 |
+
|
| 334 |
+
- Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. A framework for few-shot language model evaluation, 07 2024. URL [URL removed] 12608602.
|
| 335 |
+
|
| 336 |
+
- Sylvain Gugger, Lysandre Debut, Thomas Wolf, Philipp Schmid, Zachary Mueller, Sourab Mangrulkar, Marc Sun, and Benjamin Bossan. Accelerate: Training and inference at scale made simple, efficient and adaptable. [URL removed] 2022.
|
| 337 |
+
|
| 338 |
+
- Rishav Hada, Varun Gumma, Adrian de Wynter, Harshita Diddee, Mohamed Ahmed, Monojit Choudhury, Kalika Bali, and Sunayana Sitaram. Are large language model-based evaluators the solution to scaling up multilingual evaluation? _arXiv preprint arXiv:2309.07462_ , 2023.
|
| 339 |
+
|
| 340 |
+
- Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. _arXiv preprint arXiv:2009.03300_ , 2020.
|
| 341 |
+
|
| 342 |
+
- Haoyang Huang, Tianyi Tang, Dongdong Zhang, Wayne Xin Zhao, Ting Song, Yan Xia, and Furu Wei. Not all languages are created equal in llms: Improving multilingual capability by crosslingual-thought prompting. _arXiv preprint arXiv:2305.07004_ , 2023.
|
| 343 |
+
|
| 344 |
+
- Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7b. _arXiv preprint arXiv:2310.06825_ , 2023.
|
| 345 |
+
|
| 346 |
+
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_ , 2014.
|
| 347 |
+
|
| 348 |
+
- Maria Kunilovskaya, Koel Dutta Chowdhury, Heike Przybyl, Cristina Espa˜na-Bonet, and Josef Genabith. Mitigating translationese with gpt-4: Strategies and performance. In _Proceedings of the 25th Annual Conference of the European Association for Machine Translation (Volume 1)_ , pp. 411–430, 2024.
|
| 349 |
+
|
| 350 |
+
12
|
| 351 |
+
|
| 352 |
+
- Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with pagedattention. In _Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles_ , 2023.
|
| 353 |
+
|
| 354 |
+
- Viet Dac Lai, Chien Van Nguyen, Nghia Trung Ngo, Thuat Nguyen, Franck Dernoncourt, Ryan A Rossi, and Thien Huu Nguyen. Okapi: Instruction-tuned large language models in multiple languages with reinforcement learning from human feedback. _arXiv preprint arXiv:2307.16039_ , 2023.
|
| 355 |
+
|
| 356 |
+
- Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ili´c, Daniel Hesslow, Roman Castagn´e, Alexandra Sasha Luccioni, Franc¸ois Yvon, Matthias Gall´e, et al. Bloom: A 176bparameter open-access multilingual language model. 2023.
|
| 357 |
+
|
| 358 |
+
- Chong Li, Shaonan Wang, Jiajun Zhang, and Chengqing Zong. Align after pre-train: Improving multilingual generative models with cross-lingual alignment. _arXiv preprint arXiv:2311.08089_ , 2023a.
|
| 359 |
+
|
| 360 |
+
- Haonan Li, Fajri Koto, Minghao Wu, Alham Fikri Aji, and Timothy Baldwin. Bactrian-x: Multilingual replicable instruction-following models with low-rank adaptation. _arXiv preprint arXiv:2305.15011_ , 2023b.
|
| 361 |
+
|
| 362 |
+
- Xian Li, Ping Yu, Chunting Zhou, Timo Schick, Omer Levy, Luke Zettlemoyer, Jason Weston, and Mike Lewis. Self-alignment with instruction backtranslation. _arXiv preprint arXiv:2308.06259_ , 2023c.
|
| 363 |
+
|
| 364 |
+
- Xuechen Li, Tianyi Zhang, Yann Dubois, Rohan Taori, Ishaan Gulrajani, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Alpacaeval: An automatic evaluator of instruction-following models. [URL removed] 5 2023d.
|
| 365 |
+
|
| 366 |
+
- Stephanie Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. _arXiv preprint arXiv:2109.07958_ , 2021.
|
| 367 |
+
|
| 368 |
+
- Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-eval: Nlg evaluation using gpt-4 with better human alignment. _arXiv preprint arXiv:2303.16634_ , 2023.
|
| 369 |
+
|
| 370 |
+
- AI Meta. Introducing meta llama 3: The most capable openly available llm to date. _Meta AI_ , 2024.
|
| 371 |
+
|
| 372 |
+
- Niklas Muennighoff, Thomas Wang, Lintang Sutawika, Adam Roberts, Stella Biderman, Teven Le Scao, M Saiful Bari, Sheng Shen, Zheng-Xin Yong, Hailey Schoelkopf, et al. Crosslingual generalization through multitask finetuning. _arXiv preprint arXiv:2211.01786_ , 2022.
|
| 373 |
+
|
| 374 |
+
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. _Advances in neural information processing systems_ , 35: 27730–27744, 2022.
|
| 375 |
+
|
| 376 |
+
- Richard Yuanzhe Pang, Weizhe Yuan, Kyunghyun Cho, He He, Sainbayar Sukhbaatar, and Jason Weston. Iterative reasoning preference optimization. _arXiv preprint arXiv:2404.19733_ , 2024.
|
| 377 |
+
|
| 378 |
+
- Libo Qin, Qiguang Chen, Fuxuan Wei, Shijue Huang, and Wanxiang Che. Cross-lingual prompting: Improving zero-shot chain-of-thought reasoning across languages. _arXiv preprint arXiv:2310.14799_ , 2023.
|
| 379 |
+
|
| 380 |
+
- Libo Qin, Qiguang Chen, Yuhang Zhou, Zhi Chen, Yinghui Li, Lizi Liao, Min Li, Wanxiang Che, and Philip S Yu. Multilingual large language model: A survey of resources, taxonomy and frontiers. _arXiv preprint arXiv:2404.04925_ , 2024.
|
| 381 |
+
|
| 382 |
+
- Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. _Advances in Neural Information Processing Systems_ , 36, 2024.
|
| 383 |
+
|
| 384 |
+
13
|
| 385 |
+
|
| 386 |
+
- Samyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith, and Yuxiong He. Zero-infinity: Breaking the gpu memory wall for extreme scale deep learning. In _Proceedings of the international conference for high performance computing, networking, storage and analysis_ , pp. 1–14, 2021.
|
| 387 |
+
|
| 388 |
+
- Leonardo Ranaldi and Giulia Pucci. Does the english matter? elicit cross-lingual abilities of large language models. In _Proceedings of the 3rd Workshop on Multi-lingual Representation Learning (MRL)_ , pp. 173–183, 2023.
|
| 389 |
+
|
| 390 |
+
- Swarnadeep Saha, Omer Levy, Asli Celikyilmaz, Mohit Bansal, Jason Weston, and Xian Li. Branch-solve-merge improves large language model evaluation and generation. _arXiv preprint arXiv:2310.15123_ , 2023.
|
| 391 |
+
|
| 392 |
+
- Tal Schuster, Ori Ram, Regina Barzilay, and Amir Globerson. Cross-lingual alignment of contextual word embeddings, with applications to zero-shot dependency parsing. _arXiv preprint arXiv:1902.09492_ , 2019.
|
| 393 |
+
|
| 394 |
+
- Shuaijie She, Shujian Huang, Wei Zou, Wenhao Zhu, Xiang Liu, Xiang Geng, and Jiajun Chen. Mapo: Advancing multilingual reasoning through multilingual alignment-as-preference optimization. _arXiv preprint arXiv:2401.06838_ , 2024.
|
| 395 |
+
|
| 396 |
+
- Freda Shi, Mirac Suzgun, Markus Freitag, Xuezhi Wang, Suraj Srivats, Soroush Vosoughi, Hyung Won Chung, Yi Tay, Sebastian Ruder, Denny Zhou, et al. Language models are multilingual chain-of-thought reasoners. _arXiv preprint arXiv:2210.03057_ , 2022.
|
| 397 |
+
|
| 398 |
+
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. Stanford alpaca: An instruction-following llama model, 2023.
|
| 399 |
+
|
| 400 |
+
- Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivi`ere, Mihir Sanjay Kale, Juliette Love, et al. Gemma: Open models based on gemini research and technology. _arXiv preprint arXiv:2403.08295_ , 2024.
|
| 401 |
+
|
| 402 |
+
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timoth´ee Lacroix, Baptiste Rozi`ere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. _arXiv preprint arXiv:2302.13971_ , 2023a.
|
| 403 |
+
|
| 404 |
+
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. _arXiv preprint arXiv:2307.09288_ , 2023b.
|
| 405 |
+
|
| 406 |
+
- Ahmet Ust¨un,[¨] Viraat Aryabumi, Zheng-Xin Yong, Wei-Yin Ko, Daniel D’souza, Gbemileke Onilude, Neel Bhandari, Shivalika Singh, Hui-Lee Ooi, Amr Kayid, et al. Aya model: An instruction finetuned open-access multilingual language model. _arXiv preprint arXiv:2402.07827_ , 2024.
|
| 407 |
+
|
| 408 |
+
- Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-instruct: Aligning language models with self-generated instructions. _arXiv preprint arXiv:2212.10560_ , 2022.
|
| 409 |
+
|
| 410 |
+
- Xiangpeng Wei, Haoran Wei, Huan Lin, Tianhao Li, Pei Zhang, Xingzhang Ren, Mei Li, Yu Wan, Zhiwei Cao, Binbin Xie, et al. Polylm: An open source polyglot large language model. _arXiv preprint arXiv:2307.06018_ , 2023.
|
| 411 |
+
|
| 412 |
+
- Andrea W Wen-Yi and David Mimno. Hyperpolyglot llms: Cross-lingual interpretability in token embeddings. _arXiv preprint arXiv:2311.18034_ , 2023.
|
| 413 |
+
|
| 414 |
+
- An Yang, Baosong Yang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Zhou, Chengpeng Li, Chengyuan Li, Dayiheng Liu, Fei Huang, et al. Qwen2 technical report. _arXiv preprint arXiv:2407.10671_ , 2024.
|
| 415 |
+
|
| 416 |
+
- Fei Yuan, Shuai Yuan, Zhiyong Wu, and Lei Li. How multilingual is multilingual llm? _arXiv preprint arXiv:2311.09071_ , 2023.
|
| 417 |
+
|
| 418 |
+
14
|
| 419 |
+
|
| 420 |
+
Weizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Sainbayar Sukhbaatar, Jing Xu, and Jason Weston. Self-rewarding language models. _arXiv preprint arXiv:2401.10020_ , 2024.
|
| 421 |
+
|
| 422 |
+
- Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? _arXiv preprint arXiv:1905.07830_ , 2019.
|
| 423 |
+
|
| 424 |
+
- Yuanchi Zhang, Yile Wang, Zijun Liu, Shuo Wang, Xiaolong Wang, Peng Li, Maosong Sun, and Yang Liu. Enhancing multilingual capabilities of large language models through self-distillation from resource-rich languages. _arXiv preprint arXiv:2402.12204_ , 2024.
|
| 425 |
+
|
| 426 |
+
- Zhihan Zhang, Dong-Ho Lee, Yuwei Fang, Wenhao Yu, Mengzhao Jia, Meng Jiang, and Francesco Barbieri. Plug: Leveraging pivot language in cross-lingual instruction tuning. _arXiv preprint arXiv:2311.08711_ , 2023.
|
| 427 |
+
|
| 428 |
+
- Jun Zhao, Zhihao Zhang, Qi Zhang, Tao Gui, and Xuanjing Huang. Llama beyond english: An empirical study on language capability transfer. _arXiv preprint arXiv:2401.01055_ , 2024.
|
| 429 |
+
|
| 430 |
+
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. _Advances in Neural Information Processing Systems_ , 36, 2024a.
|
| 431 |
+
|
| 432 |
+
Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, and Zheyan Luo. Llamafactory: Unified efficient fine-tuning of 100+ language models. _arXiv preprint arXiv:2403.13372_ , 2024b.
|
| 433 |
+
|
| 434 |
+
15
|
| 435 |
+
|
| 436 |
+
|APPENDIX|APPENDIX|APPENDIX|||
|
| 437 |
+
|---|---|---|---|---|
|
| 438 |
+
|**A **|**Limitations and Future Work**|||**17**|
|
| 439 |
+
|**B**|**Reproducibility Statement**|||**17**|
|
| 440 |
+
|**C **|**Scaling on Model: Qwen2**|||**17**|
|
| 441 |
+
||C.1|Head-to-head performance . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|17|
|
| 442 |
+
||C.2|X-AlpacaEval Leaderboard . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|17|
|
| 443 |
+
||C.3|Multilingual MT-Bench . . . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|18|
|
| 444 |
+
||C.4|Multilingual NLP Benchmarks . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|18|
|
| 445 |
+
|**D **|**Discussion on Fair Evaluation**|||**19**|
|
| 446 |
+
||D.1|How to avoid Language Bias in LLM-as-a-Judge|. . . . . . . . . . . . . . . . . .|19|
|
| 447 |
+
||D.2|Aligning with Advanced Model: Using GPT-4o as a Judge . . . . . . . . . . . . .||19|
|
| 448 |
+
||D.3|How to avoid Translationese bias in multilingual|benchmarks evaluation . . . . . .|20|
|
| 449 |
+
|**E**|**Generalizing to extreme scenarios**|||**20**|
|
| 450 |
+
||E.1|Performance on Weaker Model: Llama2 . . . .|. . . . . . . . . . . . . . . . . . .|20|
|
| 451 |
+
||E.2|Performance on Lower-resource languages: _bn, sw, th_ . . . . . . . . . . . . . . . .||20|
|
| 452 |
+
||E.3|Relaxation of the Self-improvement paradigm under extreme scenarios . . . . . . .||20|
|
| 453 |
+
|**F**|**Implementation Details**|||**21**|
|
| 454 |
+
||F.1|Experimental Details on General Instruction-following . . . . . . . . . . . . . . .||21|
|
| 455 |
+
||F.2|Experimental Details on Arithmetic Reasoning|. . . . . . . . . . . . . . . . . . .|22|
|
| 456 |
+
||F.3|Experiments Environments . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|22|
|
| 457 |
+
||F.4|Hyperparameters<br>. . . . . . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|22|
|
| 458 |
+
|**G **|**Detailed Results and Analysis**|||**22**|
|
| 459 |
+
||G.1|Multilingual NLP Benchmarks . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|22|
|
| 460 |
+
|**H **|**Prompts Template**|||**24**|
|
| 461 |
+
||H.1|GPT-4 Score Prompt<br>. . . . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|24|
|
| 462 |
+
||H.2|Head-to-head Comparison Prompt . . . . . . .|. . . . . . . . . . . . . . . . . . .|24|
|
| 463 |
+
||H.3|X-AlpacaEval Prompt . . . . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|25|
|
| 464 |
+
||H.4|Self Translation Prompt . . . . . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|25|
|
| 465 |
+
||H.5|Multilingual Reasoning Prompt . . . . . . . . .|. . . . . . . . . . . . . . . . . . .|26|
|
| 466 |
+
|
| 467 |
+
16
|
| 468 |
+
|
| 469 |
+
## A LIMITATIONS AND FUTURE WORK
|
| 470 |
+
|
| 471 |
+
Our work has certain limitations. The reward signal is derived from the inherent language imbalance within LLMs, which provides a coarse-grained signal. Developing more refined and accurate reward signals for multilingual self-improvement is an area we plan to explore in future work. Additionally, our approach relies on the LLM to self-translate the multilingual responses. Although LLMs outperform traditional machine translation systems, the translated responses may still exhibit artifacts, which hinders the response quality.
|
| 472 |
+
|
| 473 |
+
## B REPRODUCIBILITY STATEMENT
|
| 474 |
+
|
| 475 |
+
Codes and model weights have been made public after review to advocate future research. For evaluation, we primarily use greedy decoding to ensure reproducibility, except where specific generation configurations are mandated by certain benchmark tools. Note that evaluations on instructionfollowing abilities (AlpacaEval and MT-Bench) rely on OpenAI’s API. The randomness of API responses may have little impact on the reproducibility of these benchmarks.
|
| 476 |
+
|
| 477 |
+
## C SCALING ON MODEL: QWEN2
|
| 478 |
+
|
| 479 |
+
Qwen2-7B-Instruct (Yang et al., 2024) exhibits stronger multilingual capabilities and seldom produces off-target responses. We believe scaling our experiments to a multilingual LLM enhances the comprehensiveness of the evaluation. Following the experimental setup outlined in Section 4, Qwen2-7B-Instruct was chosen as the base model to validate the generalizability of _Language Imbalance Driven Rewarding_ .
|
| 480 |
+
|
| 481 |
+
## C.1 HEAD-TO-HEAD PERFORMANCE
|
| 482 |
+
|
| 483 |
+
**==> picture [378 x 168] intentionally omitted <==**
|
| 484 |
+
|
| 485 |
+
**----- Start of picture text -----**<br>
|
| 486 |
+
Win Tie Lose<br>English Spanish Russian<br>M2 vs M1 22.5 62.4 15.2 M2 vs M1 28.2 52.0 19.8 M2 vs M1 32.5 45.1 22.4<br>M1 vs M0 33.9 55.7 10.4 M1 vs M0 44.0 43.2 12.8 M1 vs M0 48.4 34.3 17.3<br>0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100<br>German French Chinese<br>M2 vs M1 30.3 42.6 27.1 M2 vs M1 30.1 53.3 16.6 M2 vs M1 26.6 59.9 13.5<br>M1 vs M0 40.9 39.3 19.9 M1 vs M0 39.8 43.7 16.5 M1 vs M0 33.9 53.9 12.2<br>0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100<br>**----- End of picture text -----**<br>
|
| 487 |
+
|
| 488 |
+
Figure 4: Multilingual Instruction following ability improves with _Language Imbalance Driven Rewarding_ on Qwen2-7B-Instruct model.
|
| 489 |
+
|
| 490 |
+
Figure 4 illustrates Qwen2’s head-to-head performance, which is highly consistent with the results from the Llama3 performance.
|
| 491 |
+
|
| 492 |
+
For the training languages, _M_ 1 demonstrates a significant improvement, with ∆ **W-L** ranging from 21.0% to 31.2% compared to the base model. It demonstrates that Language Imbalance Driven Rewarding is effective. For the dominant language, English in _M_ 1 gains 23.5% ∆ **W-L** compared with _M_ 0, while English in _M_ 2 gains 7.3% ∆ **W-L** compared with _M_ 1. These results demonstrate that incorporating negative samples in preference pair construction significantly enhances the model’s performance.
|
| 493 |
+
|
| 494 |
+
## C.2 X-ALPACAEVAL LEADERBOARD
|
| 495 |
+
|
| 496 |
+
The X-AlpacaEval leaderboard on Qwen2 as the base model is shown in Table 8. After two rounds of iterations, Qwen2-7B-Instrct achieved average improvements of 5.84% in win rates over GPT-4 Turbo across five languages, demonstrating performance comparable to 70B-level models.
|
| 497 |
+
|
| 498 |
+
17
|
| 499 |
+
|
| 500 |
+
Table 8: The X-AplacaEval Leaderboard On Qwen2-7B-Instruct, which shows the win rate over GPT-4 Turbo evaluated by GPT-4.
|
| 501 |
+
|
| 502 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr|
|
| 503 |
+
|---|---|
|
| 504 |
+
|_Language Imbalance Driven Rewarding_||
|
| 505 |
+
|Qwen2-7B-Instruct (M0)<br>Iteration 1 (M1)<br>Iteration 2 (M2)|24.39%<br>13.89%<br>14.33%<br>11.45%<br>15.97%<br>16.01%<br>32.11%<br>18.40%<br>18.61%<br>14.36%<br>18.47%<br>20.39%<br>34.84%<br>18.99%<br>20.28%<br>14.11%<br>21.03%<br>21.85%|
|
| 506 |
+
|_Multilingual Alignment_||
|
| 507 |
+
|Qwen2-7B-Instruct (SFT)|20.79%<br>18.27%<br>19.36%<br>12.61%<br>17.39%<br>17.68%|
|
| 508 |
+
|
| 509 |
+
Compared to multilingual alignment, our approach shows significantly better performance, with Win Rate of 21.85% versus 17.68% for multilingual alignment. We analyze that multilingual alignment overemphasizes non-dominant languages during supervised fine-tuning, resulting in a 3.6% decline in English performance. In contrast, our method effectively utilizes language imbalance as a reward signal, capturing the partial order relationships among all languages, including the dominant one. This strategy results in a significant improvement in English performance, with an increase of 10.54%.
|
| 510 |
+
|
| 511 |
+
## C.3 MULTILINGUAL MT-BENCH
|
| 512 |
+
|
| 513 |
+
In Table 9, Qwen2-7B-Instruct initially achieved a high score of 8.05, reflecting its robust multilingual capabilities. Despite the strong performance reducing the effectiveness of the language imbalance-driven reward signal, Qwen2 improved its average score to 8.20 after two training iterations. This shows that even with high initial scores, our approach continues to improve performance through iterative refinement.
|
| 514 |
+
|
| 515 |
+
Table 9: The Multilingual MT-Bench Benchmark On Qwen2-7B-Instruct.
|
| 516 |
+
|
| 517 |
+
|**Model**|**Training Languages**<br>**Unseen**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr<br>zh|
|
| 518 |
+
|---|---|
|
| 519 |
+
|Qwen2-7B-Instruct (M0)|8.35<br>7.87<br>7.81<br>7.99<br>7.92<br>8.39<br>8.05|
|
| 520 |
+
|Iteration 1 (M1)<br>Iteration 2 (M2)|8.39<br>8.00<br>7.90<br>8.03<br>7.99<br>8.42<br>8.12<br>8.46<br>8.10<br>7.94<br>8.00<br>8.19<br>8.54<br>8.20|
|
| 521 |
+
|
| 522 |
+
## C.4 MULTILINGUAL NLP BENCHMARKS
|
| 523 |
+
|
| 524 |
+
Table 10 shows average performance across five training languages and Chinese on four benchmarks based on Qwen2, detailed in Appendix G.1. Slight performance improvements are observed in multilingual optimization iterations compared to the base models, indicating that the multilingual alignment process does not incur any alignment tax.
|
| 525 |
+
|
| 526 |
+
Table 10: The Multilingual NLP Benchmark On Qwen2-7B-Instruct.
|
| 527 |
+
|
| 528 |
+
|**Model**<br>_Multilingual_<br>_Multilingual_<br>_Multilingual_<br>_MMLU_<br>_HellaSwag_<br>_ARC challenge_|_Multilingual TruthfulQA_|
|
| 529 |
+
|---|---|
|
| 530 |
+
||_MC1_<br>_MC2_|
|
| 531 |
+
|Qwen2-7B-Instruct (M0)<br>0.6387_±_0.0041<br>0.5139_±_0.0052<br>0.4321_±_0.0144|0.3731_±_0.0172<br>0.5395_±_0.0160|
|
| 532 |
+
|Iteration 1 (M1)<br>0.6402_±_0.0041 0.5143_±_0.0052<br>0.4316_±_0.0144<br>Iteration 2 (M2)<br>0.6403_±_0.0041 0.5130_±_0.0052<br>0.4338_±_0.0144|0.3744_±_0.0172 0.5418_±_0.0159<br>0.3740_±_0.0172 0.5410_±_0.0159|
|
| 533 |
+
|
| 534 |
+
18
|
| 535 |
+
|
| 536 |
+
## D DISCUSSION ON FAIR EVALUATION
|
| 537 |
+
|
| 538 |
+
## D.1 HOW TO AVOID LANGUAGE BIAS IN LLM-AS-A-JUDGE
|
| 539 |
+
|
| 540 |
+
The prior work (Hada et al., 2023) discussed that GPT-4’s scores across languages may not be entirely consistent, as its evaluation capabilities can vary depending on the languages. In Table 1, we evaluate the GPT score for individual responses in different languages, e.g., _y[en]_ or _y[ru]_ . This approach may introduce language bias, as scores could vary depending on the language in which the response is generated. To mitigate this potential issue, we perform more detailed pairwise comparisons within the same language in Tables 2 and 3, thereby avoiding cross-lingual scoring bias. Importantly, this language bias in Table 1 does not affect our conclusion, as we focus on constructing pairwise comparisons between responses within the same language for Tables 2 and 3.
|
| 541 |
+
|
| 542 |
+
Specifically, in each column of Table 2, both responses are in the same language. Take _ru_ as an example. The _‘Self Generation’_ GPT score is calculated on _y[ru]_ and the _‘Self Translation’_ GPT score is calculated on _y[en][→][ru]_ . As both responses are in _ru_ , it will not introduce potential language bias of LLM-as-a-Judge, providing a fair comparison. Similarly, in Table 3, the reward accuracy is evaluated on preference pairs consisting of _y[ru]_ and _y[en][→][ru]_ , which also avoids the cross-lingual comparison issue.
|
| 543 |
+
|
| 544 |
+
Both Table 2 and 3 evaluate GPT score based on pairwise comparisons within the same language. This methodology inherently avoids the cross-lingual comparison issue, ensuring a fairer and more consistent assessment since all evaluations are conducted within the same language.
|
| 545 |
+
|
| 546 |
+
## D.2 ALIGNING WITH ADVANCED MODEL: USING GPT-4O AS A JUDGE
|
| 547 |
+
|
| 548 |
+
To investigate this potential bias, we employed the more advanced GPT-4o model (gpt-4o-2024-08-06) for evaluation. Specifically, we used the same responses as those in Table 1 and evaluated their quality using GPT-4o. The results in Table 11 highlight an inherent imbalance in the model’s multilingual capabilities, which aligns with the findings from GPT-4 (gpt-4-1106-preview) evaluations in Table 1. The consistent results from GPT-4 (Table 1) and GPT-4o (Table 11) across different evaluation models indicate the robustness of our findings, even in the presence of potential cross-linguistic evaluation biases.
|
| 549 |
+
|
| 550 |
+
Table 11: The average quality of responses across different languages for parallel multilingual instructions, evaluated with **GPT-4o** .
|
| 551 |
+
|
| 552 |
+
|||
|
| 553 |
+
|---|---|
|
| 554 |
+
|**Model**|**GPT-4o**Score(0-10)|
|
| 555 |
+
||en<br>es<br>fr<br>it<br>de<br>ja<br>ru|
|
| 556 |
+
|||
|
| 557 |
+
|Llama-3-8B-Instruct|**9.68**<br>8.99<br>7.64<br>7.65<br>6.40<br>2.97<br>4.51|
|
| 558 |
+
|
| 559 |
+
Moreover, we evaluated win rates on the X-AlpacaEval benchmark using GPT-4o. It is worth noting that the existing AlpacaEval repository does not offer a GPT-4o evaluator configuration with humanalignment calibration. As a result, we had to use GPT-4o with a configuration calibrated for GPT-4 Turbo, which may introduce some bias.
|
| 560 |
+
|
| 561 |
+
The results in Table 12 remain consistent with Table 4, evaluated by GPT-4 Turbo. These findings demonstrate consistent multilingual performance improvements and validate the robustness of our approach, despite potential minor evaluation bias.
|
| 562 |
+
|
| 563 |
+
Table 12: The X-AplacaEval Leaderboard On **Meta-Llama-3-8B-Instruct** , evaluated with **GPT4o** .
|
| 564 |
+
|
| 565 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr|
|
| 566 |
+
|---|---|
|
| 567 |
+
|M0|35.12%<br>26.60%<br>8.35%<br>9.93%<br>19.21%<br>19.84%|
|
| 568 |
+
|M1<br>M2|38.44%<br>34.28%<br>25.79%<br>26.34%<br>30.13%<br>31.00%<br>39.78%<br>33.68%<br>28.37%<br>26.67%<br>31.49%<br>32.00%|
|
| 569 |
+
|
| 570 |
+
19
|
| 571 |
+
|
| 572 |
+
By adopting these measures, we believe we have adequately addressed the uncertainty surrounding GPT-4’s reliability as a multilingual evaluator, ensuring that the assessments are as fair and consistent as possible.
|
| 573 |
+
|
| 574 |
+
D.3 HOW TO AVOID TRANSLATIONESE BIAS IN MULTILINGUAL BENCHMARKS EVALUATION
|
| 575 |
+
|
| 576 |
+
Due to the expense and scarcity of multilingual benchmarks, most benchmarks in multilingualrelated work, including both open-ended and structured tests, are predominantly machine-translated from English into other languages. Since the preference data is also constructed using translation, there is a possibility that “translationese bias” could be exploited. However, our approach leverages LLMs for self-translation to construct training data, which offers key advantages to avoid translationese bias:
|
| 577 |
+
|
| 578 |
+
(1) Different Data Distributions: Our method uses LLM self-translation to construct training data, while multilingual benchmarks are derived from machine translation of English datasets. This ensures that the training data and benchmark data have different distributions, effectively minimizing the risk of translationese bias influencing evaluation.
|
| 579 |
+
|
| 580 |
+
(2) Reduction of Translationese Artifacts: LLM self-translation significantly reduces translationese effects, producing fluent and natural translations that align closely with native text. This is supported by prior works (Chen et al., 2023c; Kunilovskaya et al., 2024), which highlights the high-quality outputs of LLMs.
|
| 581 |
+
|
| 582 |
+
## E GENERALIZING TO EXTREME SCENARIOS
|
| 583 |
+
|
| 584 |
+
## E.1 PERFORMANCE ON WEAKER MODEL: LLAMA2
|
| 585 |
+
|
| 586 |
+
Table 13 demonstrates that even when starting with a model with weaker multilingual capabilities, such as Llama2-7B-Chat, which exhibits extremely low performance in languages like Russian (ru), German (de), and French (fr) on the X-AlpacaEval, significant improvements can be achieved. By leveraging language imbalance-driven rewarding for self-multilingual optimization across two iterations, the model shows substantial enhancement across all training languages, particularly in those where the original model’s performance was initially weaker.
|
| 587 |
+
|
| 588 |
+
Table 13: The X-AplacaEval Leaderboard On **Llama-2-7B-Chat** , evaluated with **GPT-4o** .
|
| 589 |
+
|
| 590 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr|
|
| 591 |
+
|---|---|
|
| 592 |
+
|M0|11.60%<br>3.40%<br>0.32%<br>0.87%<br>0.69%<br>3.38%|
|
| 593 |
+
|M1<br>M2|14.62%<br>5.30%<br>1.91%<br>1.89%<br>2.68%<br>5.28%<br>14.86%<br>6.62%<br>4.51%<br>3.62%<br>6.35%<br>7.19%|
|
| 594 |
+
|
| 595 |
+
## E.2 PERFORMANCE ON LOWER-RESOURCE LANGUAGES: _bn, sw, th_
|
| 596 |
+
|
| 597 |
+
Llama3-8b-Instruct demonstrates weak performance in low-resource languages such as Bengali (bn), Swahili (sw), and Thai (th). It is important to note that the effectiveness of post-training on these low-resource languages is inherently limited. The model’s multilingual capabilities are primarily developed during the pre-training phase, where it learns from a diverse and extensive multilingual corpus. As such, the gains from post-training are incremental and cannot fully overcome the limitations of the pre-training data for low-resource languages.
|
| 598 |
+
|
| 599 |
+
To assess the impact of our approach on these languages, we conducted experiments using Llama38b-Instruct as the base model. Table 14 shows that even though the model performs weakly in these languages, our approach remains effective in low-resource settings and can iteratively improve the model’s performance across all languages.
|
| 600 |
+
|
| 601 |
+
## E.3 RELAXATION OF THE SELF-IMPROVEMENT PARADIGM UNDER EXTREME SCENARIOS
|
| 602 |
+
|
| 603 |
+
Our approach is designed as a self-improving paradigm, where the model iteratively refines its capabilities. The primary goal of using self-translation is to preserve the integrity of a self-improving paradigm. However, in cases where the model’s generation capabilities are particularly limited for certain low-resource languages, relaxing this constraint and using an external translator is also a viable solution.
|
| 604 |
+
|
| 605 |
+
20
|
| 606 |
+
|
| 607 |
+
Table 14: The X-AplacaEval Leaderboard On **Meta-Llama-3-8B-Instruct** in **lower-resource languages with self-translation** , evaluated with **GPT-4o** .
|
| 608 |
+
|
| 609 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>bn<br>sw<br>th|
|
| 610 |
+
|---|---|
|
| 611 |
+
|M0|35.12%<br>1.05%<br>1.01%<br>2.79%<br>9.99%|
|
| 612 |
+
|M1<br>M2|38.22%<br>4.06%<br>1.15%<br>23.27%<br>16.68%<br>39.27%<br>4.49%<br>2.07%<br>28.07%<br>18.48%|
|
| 613 |
+
|
| 614 |
+
Table 15 demonstrates Google Translate as external translation systems can be leveraged for mutual translation between dominant and low-resource languages to bootstrap performance. Compared with self-translation in Table 14, the external Google translation system provides higherquality data for low-resource languages, enhancing the model’s capabilities in these languages during optimization due to the model’s initially weaker generation capabilities in these languages. However, Self-translation more effectively improves the performance of English because it avoids introducing external translations, maintaining a consistent generation space. This prevents disruption to English’s established capabilities, leading to better performance improvements.
|
| 615 |
+
|
| 616 |
+
Table 15: The X-AplacaEval Leaderboard On **Meta-Llama-3-8B-Instruct** in **lower-resource languages with Google Translate System** , evaluated with **GPT-4o** .
|
| 617 |
+
|
| 618 |
+
|**Model**|**Win Rate**<br>**Avg**<br>en<br>bn<br>sw<br>th|
|
| 619 |
+
|---|---|
|
| 620 |
+
|M0|35.12%<br>1.05%<br>1.01%<br>2.79%<br>9.99%|
|
| 621 |
+
|M1<br>M2|38.35%<br>4.32%<br>2.98%<br>26.94%<br>18.15%<br>38.38%<br>5.99%<br>3.45%<br>29.10%<br>19.23%|
|
| 622 |
+
|
| 623 |
+
## F IMPLEMENTATION DETAILS
|
| 624 |
+
|
| 625 |
+
F.1 EXPERIMENTAL DETAILS ON GENERAL INSTRUCTION-FOLLOWING
|
| 626 |
+
|
| 627 |
+
**Head-to-head Performance** Considering the excellent multilingual understanding ability of GPT4, we use GPT-4[1] as a judge to conduct the automatic evaluation. GPT-4 as an evaluator has a higher correlation with human judgements (Liu et al., 2023; Li et al., 2023d). Specifically, we use pairwise evaluation, asking GPT-4 to determine the better response between ( _r_ 1 _, r_ 2) from different models, given instruction _xi_ . During the evaluation, GPT-4 assigns a score from 0 to 10 based on the prompt in Appendix H.2.
|
| 628 |
+
|
| 629 |
+
GPT-4 as an evaluator, exhibits a significant positional bias, showing a preference for responses that appear earlier (Zheng et al., 2024a). To mitigate this bias, we first request GPT-4 to evaluate ( _r_ 1 _, r_ 2), then switch the position to ( _r_ 2 _, r_ 1) for the second evaluation. The better response is the one that wins twice or wins once and draws once.
|
| 630 |
+
|
| 631 |
+
**X-AlpacaEval** The X-AlpacaEval leaderboard lists the win rates of various models over GPT-4 Turbo evaluated against GPT-4. Based on the weighted ~~a~~ lpaca ~~e~~ val ~~g~~ pt4 ~~t~~ urbo config used in AlpacaEval 2, we modified the prompt to enable the model to better evaluate multilingual responses. The modified prompt is provided in the Appendix H.3.
|
| 632 |
+
|
| 633 |
+
**Multilingual MT-Bench** MT-Bench (Zheng et al., 2024a) is a challenging multi-turn English question set designed to evaluate the conversational and instruction-following ability of LLMs. In our experimental setup, we collect multilingual MT-Bench in German, French, Russian, and Chinese from Github[2] . In addition, we translate the English data into Spanish by Google Translate API.
|
| 634 |
+
|
| 635 |
+
> 1We use “gpt-4-1106-preview” API during the head-to-head evaluation.
|
| 636 |
+
|
| 637 |
+
> 2[URL removed]
|
| 638 |
+
|
| 639 |
+
21
|
| 640 |
+
|
| 641 |
+
**Multilingual NLP Benchmarks** We examine the changes in world knowledge and commonsense reasoning abilities throughout the iterative process by evaluating it on the multilingual versions of the MMLU (Hendrycks et al., 2020)[3] , HellaSwag (Zellers et al., 2019)[4] , ARC Challenge (Clark et al., 2018)[5] and TruthfulQA (Lin et al., 2021)[6] benchmarks. We utilized the multilingual benchmarks provided by Okapi (Lai et al., 2023), which were translated from the original benchmarks using ChatGPT, and conducted evaluations under the lm-evaluation-harness (Gao et al., 2024) framework.
|
| 642 |
+
|
| 643 |
+
## F.2 EXPERIMENTAL DETAILS ON ARITHMETIC REASONING
|
| 644 |
+
|
| 645 |
+
**Datasets** We start from the GSM8K (Cobbe et al., 2021) dataset, which consists of 8.5K highquality grade school math problems created by human problem writers in English. We utilize the instructions from the 7,473 training examples and translate them into multiple languages using the Google Translate API to construct the multilingual GSM8K instructions.
|
| 646 |
+
|
| 647 |
+
We input the multilingual GSM8K instructions into the model and explicitly constrain the model’s response language in the prompt, as detailed in Appendix H.5, for both training and inference. We believe that by providing instructions in an explicit language and requiring the model to respond in that language, we can fully capture the model’s reasoning abilities in that language. After obtaining the multilingual reasoning responses, we filter the responses with correct reasoning in English, followed by applying _Language Imbalance Driven Rewarding_ .
|
| 648 |
+
|
| 649 |
+
## F.3 EXPERIMENTS ENVIRONMENTS
|
| 650 |
+
|
| 651 |
+
All experiments were conducted on Ubuntu 22.04 equipped with 8 NVIDIA A100 GPUs. Our code mainly depends on Python 3.10 and PyTorch 2.3.0. we fine-tune all models using LLaMAFactory (Zheng et al., 2024b) framework, and inference models with vLLM (Kwon et al., 2023) framework. Training for all models was launched with the accelerate (Gugger et al., 2022) in DeepSpeed ZeRO Stage2 (Rajbhandari et al., 2021) and Flash-Attention 2 (Dao, 2023) mechanism.
|
| 652 |
+
|
| 653 |
+
## F.4 HYPERPARAMETERS
|
| 654 |
+
|
| 655 |
+
All models are optimized using AdamW (Kingma & Ba, 2014), with a cosine learning rate scheduler that includes a warm-up phase constituting 3% of the total training duration. DPO+NLL runs are trained with KL-penalty _β_ = 0 _._ 1. The coefficient _α_ is set to 1 for all experiments in the paper. The details of hyperparameters are shown in Table 16.
|
| 656 |
+
|
| 657 |
+
Table 16: The hyperparameters on various experiments. ‘LR’ refers to the Learning Rate, and ‘BS’ denotes the Batch Size
|
| 658 |
+
|
| 659 |
+
|**Experiments**<br>LR<br>BS<br>Epoch|**Experiments**<br>LR<br>BS<br>Epoch|
|
| 660 |
+
|---|---|
|
| 661 |
+
|_Language Imbalance Driven Rewarding_||
|
| 662 |
+
|General Instruction-following Task<br>5e-7<br>16<br>1<br>Arithmetic reasoning Task<br>5e-6<br>64<br>1||
|
| 663 |
+
|_Multilingual Alignment_||
|
| 664 |
+
|All Tasks|1e-5<br>128<br>3|
|
| 665 |
+
|
| 666 |
+
## G DETAILED RESULTS AND ANALYSIS
|
| 667 |
+
|
| 668 |
+
## G.1 MULTILINGUAL NLP BENCHMARKS
|
| 669 |
+
|
| 670 |
+
We list the detailed information of the benchmarks as follows:
|
| 671 |
+
|
| 672 |
+
- MMLU (Massive Multitask Language Understanding) (Hendrycks et al., 2020) is a benchmark designed to evaluate the knowledge acquired during pre-training, focusing on zeroshot and few-shot settings. This makes it more challenging and closer to how humans are
|
| 673 |
+
|
| 674 |
+
> 3[URL removed]
|
| 675 |
+
|
| 676 |
+
> 4[URL removed]
|
| 677 |
+
|
| 678 |
+
> 5[URL removed]
|
| 679 |
+
|
| 680 |
+
> 6[URL removed]
|
| 681 |
+
|
| 682 |
+
22
|
| 683 |
+
|
| 684 |
+
evaluated. The benchmark spans 57 subjects, including STEM, the humanities, and the social sciences. We test it in a 5-shot setting.
|
| 685 |
+
|
| 686 |
+
- HellaSwag (Zellers et al., 2019) is a challenging dataset for evaluating commonsense NLI, which is particularly difficult for state-of-the-art models but trivial for humans. We test it in a zero-shot setting.
|
| 687 |
+
|
| 688 |
+
- The AI2 Reasoning Challenge (ARC) dataset (Clark et al., 2018) is a multiple-choice question-answering dataset based on science exams for grades 3 to 9. It is divided into two partitions: Easy and Challenge, with the latter containing more difficult questions requiring reasoning. We test the ARC Challenge in a zero-shot setting.
|
| 689 |
+
|
| 690 |
+
- TruthfulQA (Lin et al., 2021) is a benchmark designed to evaluate whether a language model generates truthful answers. It consists of 817 questions across 38 categories, including health, law, finance, and politics. Since evaluating generation tasks for truthfulness is challenging, the benchmark provides two multiple-choice formats: MC1 (Single-true) and MC2 (Multi-true), testing the ability to identify true statements. We test it in a zero-shot setting.
|
| 691 |
+
|
| 692 |
+
We report the detailed results in Table 17 of multilingual NLP benchmarks. Although the model contains only 1,000 Alpagasus instructions for each language, we find that the model still shows slight improvements on these benchmarks during the iterative process. The results across multiple benchmarks indicate that our method does not introduce alignment tax.
|
| 693 |
+
|
| 694 |
+
Table 17: The Multilingual NLP Benchmarks.
|
| 695 |
+
|
| 696 |
+
|**Model**|**Training Languages**<br>**Unseen**<br>**Avg**<br>en<br>es<br>ru<br>de<br>fr<br>zh|
|
| 697 |
+
|---|---|
|
| 698 |
+
||_Multilingual MMLU, 5-shot_|
|
| 699 |
+
|Meta-Llama-3-8B-Instruct (M0) 0.6567_±_0.0038 0.5771_±_0.0043 0.5335_±_0.0044 0.5506_±_0.0043 0.5654_±_0.0043 0.5162_±_0.0044 0.5666_±_0.0043<br>Iteration 1 (M1)<br>0.6585_±_0.0038 0.5765_±_0.0043 0.5380_±_0.0044 0.5536_±_0.0043 0.5678_±_0.0043 0.5179_±_0.0044 0.5687_±_0.0043<br>Iteration 2 (M2)<br>0.6590_±_0.0038 0.5778_±_0.0043 0.5368_±_0.0044 0.5529_±_0.0043 0.5678_±_0.0043 0.5178_±_0.0044 0.5687_±_0.0043<br>Qwen2-7B-Instruct (M0)<br>0.7062_±_0.0037 0.6324_±_0.0042 0.6095_±_0.0043 0.6048_±_0.0042 0.6348_±_0.0042 0.6446_±_0.0042 0.6387_±_0.0041<br>Iteration 1 (M1)<br>0.7073_±_0.0037 0.6333_±_0.0042 0.6118_±_0.0043 0.6068_±_0.0042 0.6361_±_0.0042 0.6460_±_0.0042 0.6402_±_0.0041<br>Iteration 2 (M2)<br>0.7055_±_0.0037 0.6342_±_0.0042 0.6117_±_0.0043 0.6097_±_0.0042 0.6346_±_0.0042 0.6463_±_0.0042 0.6403_±_0.0041||
|
| 700 |
+
|_Multilingual HellaSwag, 0-shot_||
|
| 701 |
+
|Meta-Llama-3-8B-Instruct (M0) 0.5764_±_0.0049 0.4877_±_0.0052 0.4326_±_0.0051 0.4483_±_0.0051 0.4715_±_0.0052 0.4181_±_0.0051 0.4724_±_0.0051<br>Iteration 1 (M1)<br>0.5777_±_0.0049 0.4919_±_0.0052 0.4372_±_0.0052 0.4511_±_0.0051 0.4782_±_0.0052 0.4204_±_0.0051 0.4761_±_0.0051<br>Iteration 2 (M2)<br>0.5791_±_0.0049 0.4921_±_0.0052 0.4376_±_0.0052 0.4512_±_0.0051 0.4768_±_0.0052 0.4209_±_0.0051 0.4763_±_0.0051<br>Qwen2-7B-Instruct (M0)<br>0.6116_±_0.0049 0.5272_±_0.0052 0.4730_±_0.0052 0.4659_±_0.0052 0.5124_±_0.0052 0.4932_±_0.0052 0.5139_±_0.0052<br>Iteration 1 (M1)<br>0.6124_±_0.0049 0.5261_±_0.0052 0.4753_±_0.0052 0.4654_±_0.0052 0.5129_±_0.0052 0.4936_±_0.0052 0.5143_±_0.0052<br>Iteration 2 (M2)<br>0.6110_±_0.0049 0.5255_±_0.0052 0.4734_±_0.0052 0.4640_±_0.0052 0.5114_±_0.0052 0.4929_±_0.0052 0.5130_±_0.0052||
|
| 702 |
+
|_Multilingual ARC challenge, 0-shot_||
|
| 703 |
+
|Meta-Llama-3-8B-Instruct (M0) 0.5316_±_0.0146 0.4162_±_0.0144 0.3781_±_0.0142 0.3978_±_0.0143 0.4371_±_0.0145 0.3761_±_0.0142 0.4228_±_0.0144<br>Iteration 1 (M1)<br>0.5324_±_0.0146 0.4265_±_0.0145 0.3867_±_0.0142 0.4140_±_0.0144 0.4465_±_0.0145 0.3812_±_0.0142 0.4312_±_0.0144<br>Iteration 2 (M2)<br>0.5358_±_0.0146 0.4299_±_0.0145 0.3884_±_0.0143 0.4183_±_0.0144 0.4423_±_0.0145 0.3778_±_0.0142 0.4321_±_0.0144<br>Qwen2-7B-Instruct (M0)<br>0.5102_±_0.0146 0.4111_±_0.0144 0.4098_±_0.0144 0.3618_±_0.0141 0.4277_±_0.0145 0.4667_±_0.0146 0.4312_±_0.0144<br>Iteration 1 (M1)<br>0.5085_±_0.0146 0.4145_±_0.0144 0.4072_±_0.0144 0.3678_±_0.0141 0.4226_±_0.0145 0.4692_±_0.0146 0.4316_±_0.0144<br>Iteration 2 (M2)<br>0.5128_±_0.0146 0.4205_±_0.0144 0.4038_±_0.0144 0.3704_±_0.0141 0.4311_±_0.0145 0.4641_±_0.0146 0.4338_±_0.0144||
|
| 704 |
+
|_Multilingual TruthfulQA MC1, 0-shot_||
|
| 705 |
+
|Meta-Llama-3-8B-Instruct (M0) 0.3611_±_0.0168 0.3333_±_0.0168 0.3541_±_0.0170 0.3173_±_0.0166 0.3355_±_0.0168 0.3490_±_0.0170 0.3417_±_0.0168<br>Iteration 1 (M1)<br>0.3611_±_0.0168 0.3257_±_0.0167 0.3617_±_0.0171 0.3135_±_0.0165 0.3532_±_0.0170 0.3629_±_0.0171 0.3464_±_0.0169<br>Iteration 2 (M2)<br>0.3599_±_0.0168 0.3321_±_0.0168 0.3604_±_0.0171 0.3160_±_0.0166 0.3532_±_0.0170 0.3617_±_0.0171 0.3472_±_0.0169<br>Qwen2-7B-Instruct (M0)<br>0.4064_±_0.0172 0.3676_±_0.0172 0.3756_±_0.0173 0.3439_±_0.0169 0.3787_±_0.0173 0.3668_±_0.0172 0.3731_±_0.0172<br>Iteration 1 (M1)<br>0.4064_±_0.0172 0.3688_±_0.0172 0.3756_±_0.0173 0.3414_±_0.0169 0.3825_±_0.0173 0.3718_±_0.0172 0.3744_±_0.0172<br>Iteration 2 (M2)<br>0.4076_±_0.0172 0.3663_±_0.0172 0.3731_±_0.0172 0.3376_±_0.0169 0.3863_±_0.0174 0.3731_±_0.0172 0.3740_±_0.0172||
|
| 706 |
+
|_Multilingual TruthfulQA MC2, 0-shot_||
|
| 707 |
+
|Meta-Llama-3-8B-Instruct (M0) 0.5171_±_0.0152 0.4989_±_0.0157 0.5256_±_0.0162 0.4890_±_0.0157 0.5033_±_0.0158 0.5119_±_0.0163 0.5076_±_0.0158<br>Iteration 1 (M1)<br>0.5142_±_0.0152 0.5059_±_0.0156 0.5328_±_0.0161 0.5003_±_0.0155 0.5233_±_0.0156 0.5250_±_0.0163 0.5169_±_0.0157<br>Iteration 2 (M2)<br>0.5187_±_0.0151 0.5051_±_0.0156 0.5331_±_0.0161 0.4986_±_0.0155 0.5171_±_0.0157 0.5266_±_0.0163 0.5165_±_0.0157<br>Qwen2-7B-Instruct (M0)<br>0.5733_±_0.0154 0.5231_±_0.0161 0.5319_±_0.0163 0.5356_±_0.0161 0.5451_±_0.0159 0.5282_±_0.0161 0.5395_±_0.0160<br>Iteration 1 (M1)<br>0.5757_±_0.0154 0.5239_±_0.0160 0.5347_±_0.0162 0.5325_±_0.0161 0.5495_±_0.0158 0.5344_±_0.0160 0.5418_±_0.0159<br>Iteration 2 (M2)<br>0.5726_±_0.0154 0.5235_±_0.0158 0.5346_±_0.0162 0.5306_±_0.0160 0.5515_±_0.0157 0.5334_±_0.0160 0.5410_±_0.0159||
|
| 708 |
+
|
| 709 |
+
23
|
| 710 |
+
|
| 711 |
+
## H PROMPTS TEMPLATE
|
| 712 |
+
|
| 713 |
+
## H.1 GPT-4 SCORE PROMPT
|
| 714 |
+
|
| 715 |
+
## Prompt in GPT-4 Score
|
| 716 |
+
|
| 717 |
+
You are a helpful assistant tasked with scoring answers for a given instruction in [LANG]. Please evaluate the following answer based on the provided instruction in [LANG]. A good answer should adhere to these criteria:
|
| 718 |
+
|
| 719 |
+
1. It should be in [LANG], unless the instruction explicitly requests a different language.
|
| 720 |
+
|
| 721 |
+
2. It should address the request made in the instruction.
|
| 722 |
+
|
| 723 |
+
3. It should be factually and semantically coherent.
|
| 724 |
+
|
| 725 |
+
4. It should be grammatically correct and fluent.
|
| 726 |
+
|
| 727 |
+
5. It should be helpful, relevant, detailed, and accurate.
|
| 728 |
+
|
| 729 |
+
<instruction>
|
| 730 |
+
|
| 731 |
+
[INSTRUCTION] </instruction> <answer> [OUTPUT1] </answer>
|
| 732 |
+
|
| 733 |
+
FIRST, provide a one-sentence explanation of your evaluation, detailing the reasoning behind your score.
|
| 734 |
+
|
| 735 |
+
SECOND, on a new line, state only the score on a scale from 0 to 10, where a higher score indicates better overall performance. Your response should follow this format:
|
| 736 |
+
|
| 737 |
+
Explanation: <one-sentence explanation> Score: <a scale from 0 to 10>
|
| 738 |
+
|
| 739 |
+
## H.2 HEAD-TO-HEAD COMPARISON PROMPT
|
| 740 |
+
|
| 741 |
+
## Prompt in Head-to-head Comparison
|
| 742 |
+
|
| 743 |
+
Given the question in [LANG] language. You are a helpful and precise assistant for checking the quality of the answer.
|
| 744 |
+
|
| 745 |
+
<instruction> [INSTRUCTION] </instruction> <answer1> [OUTPUT1] </answer1> <answer2> [OUTPUT2] </answer2>
|
| 746 |
+
|
| 747 |
+
A good answer should follow these rules:
|
| 748 |
+
|
| 749 |
+
1. It should be in [LANG], unless the instruction explicitly requests a different language.
|
| 750 |
+
|
| 751 |
+
2. It should be helpful, relevant, detailed and accurate.
|
| 752 |
+
|
| 753 |
+
3. It should answer the request in the instruction
|
| 754 |
+
|
| 755 |
+
Please evaluate both answers with your justification, and only provide a score ranging from 0 to 10 after your justifications, the score must be an integer. The score for answer 1 should be wrapped by <score1> and </score1>, and the score for answer 2 should be wrapped by <score2> and </score2>.
|
| 756 |
+
|
| 757 |
+
24
|
| 758 |
+
|
| 759 |
+
## H.3 X-ALPACAEVAL PROMPT
|
| 760 |
+
|
| 761 |
+
Prompt modified with weighted ~~a~~ lpaca ~~e~~ val ~~g~~ pt4 ~~t~~ urbo in AlpacaEval 2.
|
| 762 |
+
|
| 763 |
+
## <|im ~~s~~ tart|>system
|
| 764 |
+
|
| 765 |
+
You are a highly efficient assistant, who evaluates and selects the best large language model (LLMs) based on the quality of their responses to a given instruction. This process will be used to create a leaderboard reflecting the most accurate and human-preferred answers. <|im ~~e~~ nd|>
|
| 766 |
+
|
| 767 |
+
<|im ~~s~~ tart|>user
|
| 768 |
+
|
| 769 |
+
I require a leaderboard for various large language models. I’ll provide you with prompts given to these models and their corresponding outputs. Your task is to assess these responses, and select the model that produces the best output from a human perspective.
|
| 770 |
+
|
| 771 |
+
## Instruction
|
| 772 |
+
|
| 773 |
+
{ "instruction": """{instruction}""", }
|
| 774 |
+
|
| 775 |
+
## Model Outputs
|
| 776 |
+
|
| 777 |
+
Here are the unordered outputs from the models. Each output is associated with a specific model, identified by a unique model identifier.
|
| 778 |
+
|
| 779 |
+
{ { "model_identifier": "m", "output": """{output_1}""" }, { "model_identifier": "M", "output": """{output_2}""" } }
|
| 780 |
+
|
| 781 |
+
## Task
|
| 782 |
+
|
| 783 |
+
A good output should be in the same language as the instruction, except when the instruction explicitly requests the output in a different language. Evaluate the models based on the quality and relevance of their outputs, and select the model that generated the best output. Answer by providing the model identifier of the best model. We will use your output as the name of the best model, so make sure your output only contains one of the following model identifiers and nothing else (no quotes, no spaces, no new lines, ...): m or M.
|
| 784 |
+
|
| 785 |
+
## Best Model Identifier <|im ~~e~~ nd|>
|
| 786 |
+
|
| 787 |
+
## H.4 SELF TRANSLATION PROMPT
|
| 788 |
+
|
| 789 |
+
## Prompt in Self Translation
|
| 790 |
+
|
| 791 |
+
Please translate the following sentences into [LANGUAGE]. The input sentences are wrapped by <sentence> and </sentence>:
|
| 792 |
+
|
| 793 |
+
<sentence> [TEXT] </sentence>
|
| 794 |
+
|
| 795 |
+
The translated result should be wrapped by <translated> and </translated>.
|
| 796 |
+
|
| 797 |
+
25
|
| 798 |
+
|
| 799 |
+
## H.5 MULTILINGUAL REASONING PROMPT
|
| 800 |
+
|
| 801 |
+
Prompt in Multilingual Reasoning
|
| 802 |
+
|
| 803 |
+
Below is an instruction that describes a task. Write a response that appropriately completes the request in [LANGUAGE]. Please answer in [LANGUAGE].
|
| 804 |
+
|
| 805 |
+
### Instruction: [INSTRUCTION] ### Response:
|
| 806 |
+
|
| 807 |
+
26
|
| 808 |
+
|
open_review/iclr2025_13856.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13856",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Boosting LLM Translation Skills without General Ability Loss via Rationale Distillation",
|
| 6 |
+
"abstract": "Large Language Models (LLMs) have achieved impressive results across numerous NLP tasks but still encounter difficulties in machine translation. Traditional methods to improve translation have typically involved fine-tuning LLMs using parallel corpora. However, vanilla fine-tuning often leads to catastrophic forgetting of the instruction-following capabilities and alignment with human preferences, compromising their broad general abilities and introducing potential security risks. These abilities, which are developed using proprietary and unavailable training data, make existing continual instruction tuning methods ineffective. To overcome this issue, we propose a novel approach called $\\textbf{RaDis}$ ($\\textbf{Ra}$tionale $\\textbf{Dis}$tillation). RaDis harnesses the strong generative capabilities of LLMs to create rationales for training data, which are then “replayed” to prevent forgetting. These rationales $\\textit{connect prior knowledge with new tasks}$, acting as $\\textit{self-distillation targets}$ to regulate the training process. By jointly training on reference translations and self-generated rationales, the model can learn new translation skills while preserving its general abilities. Extensive experiments demonstrate that our method enhances machine translation performance while maintaining the broader capabilities of LLMs across other tasks. This work presents a pathway for creating more versatile LLMs that excel in specialized tasks without compromising generality or safety and provides a fresh angle for utilizing rationales in the CL field.",
|
| 7 |
+
"rebuttal": "Thank you for your quick response and positive feedback. :) \n\nWe’re glad to hear that our response addressed your concerns. However, we’ve noticed that the rating has not been updated. We would truly appreciate your support in this matter and wanted to kindly inquire if there are any remaining issues or feedback we can address to further clarify or improve the manuscript. Your insights are invaluable to us, and we’re more than happy to provide any additional information or revisions as needed.\n\nThank you again, and we look forward to your response. Wishing you a pleasant day!\n\nThank you for your response. We would appreciate the opportunity to engage in a more detailed discussion with you.\n\n> Fairness regarding utilizing chat LLMs.\n\nThe traditional training approach is **unable** to leverage chat LLMs. Because they suffer from severe forgetting caused by continual pre-training (CPT) or vanilla fine-tuning. In contrast, RaDis allows for the retention of the general abilities of chat LLMs. We believe that utilizing accessible chat LLMs represents a valuable contribution, as it addresses the limitations of previous methods. \n\n> Utilizing an RM to filter rationales in R [...]\n\nThank you for getting back to me so quickly. We are glad to see that you have raised the score. We would like to take this opportunity to provide additional information to address your remaining concerns.\n\n> Dependency on backbone LLM.\n\nThere still seems to be some misunderstanding. As we stated in our previous response, RaDis is a post-training method, and it is generally acknowledged that the language proficiency of the pre-trained LLM influences post-training methods. In this context, dependency on the backbone LLM primarily affects its language proficiency.\n\n> Robustness against scaling mo [...]\n\n### Further response to Reviewer pUWZ\nThank you for your response. I sincerely appreciate the opportunity to engage in a more in-depth discussion with you. \n\n> The 'Awkward Position' \n\nAs we stated in Lines 042–043, our goal is to develop models that _seamlessly integrate **strong** translation performance with broader general-purpose utility_. And we successfully achieved it by enhancing the translation performance of instruction-tuned LLMs while preserving most of their general abilities. It is important to clarify that \"strong\" does not imply \"state-of-the-art\" (SOTA), and at no point have [...]\n\n### Further response to Reviewer pUWZ (Cont.)\n> Learning paradigms and the accessibility of training data.\n\nFirst, it is generally acknowledged that continual learning is recognized as a distinct learning paradigm [3,4]. We used this term to align with established terminology in prior works within this field. \n\nSecond, while the reviewer claims that task-specific data is always accessible, this is not the case. As we stated in Lines 047-049, the training data for open-sourced chat LLMs is frequently unavailable, making multi-task training with the original data infeasible. This limitation was [...]\n\n### General Response 1: On Request for Additional Comparisons to TOWER and Fine-tuning with Instruction Data\nWe want to thank the reviewers for their thoughtful comments. We are diligently working to provide comprehensive responses that address each concern, and we will continue to present concrete experimental results throughout the discussion period.\n\nIn the following, we address specific points related to the baselines the reviewers have requested comparisons to—namely, multi-task training with additional instruction data and the Tower models.\n\nFirst, we would like to clarify that RaDis is [...]\n\n### General Response 2: On Request for Additional Experiments on Other Tasks\nWe appreciate Reviewer JdnZ and M6wr for recognizing the potential of RaDis, and we would be happy to explore its application across a broader range of tasks. Due to time constraints, we have currently only completed experiments on the code generation task. Specifically, we fine-tuned Mistral-v0.2 on Python code data from the Magicoder dataset and evaluated its performance using HumanEval and general ability benchmarks.\n\nTable g2: Experiments on code generation. Pass@1 is reported on HumanEval.\n| | HumanE [...]\n\n### General Response 2: On Request for Additional Experiments on Other Tasks (Cont.)\nWe have conducted additional experiments on TriviaQA (open-ended QA) and OpenFunctions (function call). Below are the results from these experiments:\n\n| | **OpenFunctions** | **Alpaca Eval** | **Alpaca Eval 2** | **AdvBench** | **gsm8k** |\n|-----------------|-------------------|-----------------|-------------------|--------------|-----------|\n| **Llama-2** | 16.07 | 71.4 | 9.66 | 100 | 24.34 |\n| **+Vanilla-FT** | 29.46 | 36.52 [...]\n\n### General Response 3: Continual Learning (CL) v.s. Multi-task Learning (MTL)\nWe hope to provide more information regarding the differences between CL and MTL, and the practical needs for CL in the era of LLMs. \n\nFirst, we would like to clearify that **continual learning** is different from **continual fine-tuning**. CL refers to the broader concept of learning over time, where a model is designed to learn from a stream of data in an ongoing fashion, without forgetting previously acquired knowledge. It is recognized as a novel learning paradigm [1,2,3]. In contrast, continual fine-tuning rep [...]\n\n### General Response 4: The Novelty of Utilizing Rationales in CL\nWe hope to suggest that the use of rationales to alleviate catastrophic forgetting in RaDis represents a **novel approach** in the CL field. Traditional replay-based methods need to retain previous task examples and replay them during fine-tuning. In contrast, RaDis solely leverages **self-generated rationales**—the model's own explanations for new training data. These rationales go beyond raw outputs; they introduce a form of **model introspection**, where the model uses its inter\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
5,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.0,
|
| 15 |
+
"score_variance": 2,
|
| 16 |
+
"score_spread": 3,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "### Summary\nThe paper introduces RaDis (Rationale Distillation) to improve machine translation capabilities of large language models (LLMs) without compromising their general instruction-following abilities. The approach leverages self-generated rationales to mitigate catastrophic forgetting while enabling efficient training with minimal computational resources. Extensive experiments demonstrate competitive performance in translation while preserving general task abilities, highlighting its potential for versatile LLM applications.\n\n### Strengths\nThe motivation of using self-generated rationales to balance specialized and general capabilities is good. Extensive empirical results are shown across multiple models and tasks, showcasing improved efficiency over traditional methods.\n\n### Weaknesses:\nMain weakness is that the paper is a bit limited in its scope and the proposed method itself doesn't bring new insights to the post-training research community of LLMs.",
|
| 22 |
+
"forum_id": "UHg1xTRzZK",
|
| 23 |
+
"primary_area": "foundation or frontier models, including LLMs",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_pUWZ",
|
| 28 |
+
"review_id": "oMGCQ3oLMJ",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 5,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 2,
|
| 34 |
+
"confidence": 5
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2846,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1340835,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_JdnZ",
|
| 44 |
+
"review_id": "WLVuZGI9k6",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 4,
|
| 48 |
+
"presentation": 4,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2617,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2621533,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_M6wr",
|
| 60 |
+
"review_id": "pEJQTfPVVv",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2610,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2984867,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_cw7y",
|
| 76 |
+
"review_id": "9eU4c0k0Zv",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3344,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1371849,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13856.md
ADDED
|
@@ -0,0 +1,495 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
BOOSTING LLM TRANSLATION SKILLS WITHOUT
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
ABSTRACT Large Language Models (LLMs) have achieved impressive results across numer- ous NLP tasks but still encounter difficulties in machine translation. Traditional methods to improve translation have typically involved fine-tuning LLMs using parallel corpora. However, vanilla fine-tuning often leads to catastrophic forget- ting of the instruction-following capabilities and alignment with human prefer- ences, compromising their broad general abilities and introducing potential se- curity risks. These abilities, which are developed using proprietary and unavail- able training data, make existing continual instruction tuning methods ineffective. To overcome this issue, we propose a novel approach called **RaDis** ( **Ra** tionale **021 Dis** tillation). RaDis harnesses the strong generative capabilities of LLMs to create rationales for training data, which are then “replayed” to prevent forgetting. These rationales _connect prior knowledge with new tasks_ , acting as _self-distillation tar-_ _gets_ to regulate the training process. By jointly training on reference translations and self-generated rationales, the model can learn new translation skills while pre- serving its general abilities. Extensive experiments demonstrate that our method enhances machine translation performance while maintaining the broader capabil- ities of LLMs across other tasks. This work presents a pathway for creating more versatile LLMs that excel in specialized tasks without compromising generality or safety and provides a fresh angle for utilizing rationales in the CL field. 1 INTRODUCTION Large Language Models (LLMs) have demonstrated exceptional performance across diverse Natural Language Processing (NLP) tasks. However, in the realm of Machine Translation (MT), they still fall short compared to conventional supervised encoder-decoder models (Xu et al., 2024a). Recent studies have sought to enhance the translation performance of LLMs through continual instruction- tuning with parallel corpora (Yang et al., 2023; Xu et al., 2024a). While this approach effectively boosts translation performance, it often comes at the cost of the inherent general ability and safety alignment of LLMs. As illustrated in Figure 1, fine-tuning LLaMA-2-Chat and Mistral-v0.2-Instruct results in a significant decline in these models’ performance on MT-Bench (Zheng et al., 2023). This phenomenon is known as Catastrophic Forgetting (CF) (French, 1993), which remains the major obstacle to developing models that seamlessly integrate strong translation performance with broader general-purpose utility. Various Continual Learning (CL) approaches have been proposed to mitigate CF (Chen & Liu, 2018). In the context of LLMs, replay-based methods (Scialom et al., 2022; Yin et al., 2022; Mok et al., 2023; He et al., 2024), which store small subsets of previous data for rehearsal, are often favored for their simplicity and effectiveness. However, a critical limitation of replay-based methods is their reliance on access to the original training data, which is frequently unavailable in real- world applications. This limitation greatly reduces their feasibility in scenarios like the one in this paper, where the goal is to boost translation skills while preserving the general abilities of open- sourced LLMs, which are gained from proprietary, in-house data. Some studies have incorporated open-source general instruction-following data as a substitute (Jiao et al., 2023; Zhang et al., 2023). However, the limited quality of these open-source datasets results in performance that significantly falls short of instruction-tuned LLMs.
|
| 8 |
+
|
| 9 |
+
1
|
| 10 |
+
|
| 11 |
+
**054 055056057** ToleveragingLLMsHowever,addressto given _synthesize_ thethis strongproblem,the vast _their_ generativetaskthis _own_ spacepaper _replay_ abilityofexploresLLMs _data_ of. 868482 LLaMA-2-Chatw/ FTMistral-Instruct-v0.2w/ FT ALMA-7B NLLB-54B LLaMA-2-Chatw/ RaDis Mistral-Instruct-v0.2w/ RaDis and the limited data we could use, generating BayLing-7B 80 high-quality synthesis data that encapsulates diBigTranslate verse general knowledge remains a non-trivial 78 ParroT question. We draw inspiration from an obserLLaMA-2-Chat **062063** vation that instruction-tuned LLMs are capableof generating detailed **rationales** when tasked 7674 Mistral-Instruct-v0.2 with translation requests (see Section 3.1 and 1 2 3 4 5 6 7 8 Appendix E for more details). Previous studMT-bench ies in the reasoning field suggest that rationales generated by LLMs contain valuable knowlFigure 1: Translation performance (COMET) and edge and can be used to distill reasoning abilgeneral conversational and instruction-following ities (Wadhwa et al., 2024; Xu et al., 2024b). ability (MT-Bench). While both Fine-tuning (blue In line with these findings, we show that selftriangle) and RaDis (red star) greatly enhance generated rationales _encapsulate the internal_ the translation performance, RaDis helps preserve most of the models’ general ability. _general knowledge_ leveraged during translation that _connect prior knowledge with new tasks_ , acting as _self-distillation targets_ to alleviate forgetting. Thus, we propose a novel training method named **RaDis** ( **Ra** tionale **Dis** tillation). It prompts the LLM to generate rationales for the reference translations in original training data, and then concate- nates references and rationales, forming an enriched dataset for subsequent training. By incorpo- rating both the rationales and the references into the training, RaDis builds an underlying reasoning framework that ties previous knowledge with new tasks and introduces a self-distillation loss on the rationale, thereby mitigating the forgetting issue. Comprehensive experiments using two widely adopted LLMs, LLaMA-2-7B-Chat (Touvron et al., 2023) and Mistral-7B-Instruct-v0.2 (Jiang et al., 2023) validates the effectiveness of RaDis. As de- picted in Figure 1, RaDis enhances translation performance by 5.6 and 8.9 COMET points, which is comparable to vanilla fine-tuning, while preserving the models’ original performance on general ability benchmarks. Further analysis reveals that distilling self-generated rationales not only out- performs distilling from external rationales generated by a much stronger model but also avoids the conflict between learning new tasks and consolidating the original ability. Together, these findings offer additional insights into RaDis’ effectiveness and future study. In summary, this work makes the following contributions: • It addresses the problem of CL for instruction-tuned LLMs and discovers that LLMs can generate rationales that tie previous knowledge with new tasks without explicit prompting. Replaying these rationales effectively mitigates forgetting in a self-distillation manner. • It proposes RaDis, a novel training approach that enhances LLMs’ translation proficiency while preserving their generality by distilling self-generated rationales. Compared to the existing multi-task training approach, RaDis can inherit strong general capabilities while achieving comparable translation performance. • Our findings provide valuable insights for developing more flexible and powerful LLMs that excel in specialized tasks without compromising their generality or safety. Addition- ally, the utilization of rationales to alleviate forgetting in RaDis provides a fresh angel in the field of CL.
|
| 12 |
+
|
| 13 |
+
2 RELATED WORKS
|
| 14 |
+
|
| 15 |
+
- 2.1 FINE-TUNING LLMS FOR MT
|
| 16 |
+
|
| 17 |
+
Previous studies have primarily fine-tuned LLMs using parallel corpora to enhance their translation proficiency. BigTrans (Yang et al., 2023) and ALMA (Xu et al., 2024a) propose to first continual pre-train on monolingual data and then progresses to fine-tuning on parallel data. Although these
|
| 18 |
+
|
| 19 |
+
2
|
| 20 |
+
|
| 21 |
+
methods enhance the translation proficiency of LLMs, they often compromise the models’ gen- eral ability, turning them into specialized translation models. To address this issue, several studies have sought to preserve the general ability of LLMs while fine-tuning them for MT. For example, ParroT (Jiao et al., 2023), BayLing (Zhang et al., 2023) and TowerInstruct (Alves et al., 2024) in- corporates general instruction-following data to maintain general capability. However, limited by the quality of the data, their performance in both translation and general abilities remains relatively low. In contrast to these efforts, our approach solely utilizes machine translation data and preserves the general ability by distillation of self-generated rationales. 2.2 CONTINUAL INSTRUCTION TUNING Continual instruction tuning (CIT) seeks to mitigate CF during the instruction tuning of LLMs by employing CL approaches (Wu et al., 2024; Shi et al., 2024). Traditional CL methods are typically divided into replay-based, regularization-based, and architecture-based methods. However, in the context of LLMs, the vast parameter and task space reduces the feasibility of regularization-based and architecture-based methods (Wang et al., 2024). As a result, current research has predominantly relied on focused on replay-based techniques and their variants (Scialom et al., 2022; Yin et al., 2022; Mok et al., 2023; He et al., 2024; Wang et al., 2024) While these approaches are promising, they are subject to the reliance on access to the original training data. Consequently, they cannot be applied to mitigate the forgetting of instruction-tuned LLMs’ general abilities gained from in- house training data. SDFT (Yang et al., 2024) is the first work designed for preserving the general instruction-following abilities of LLMs. It proposes to paraphrase the original train dataset with the LLM itself to bridge the distribution gap. However, the quality of the paraphrased data is limited by the capabilities of the prompt and the model itself, which may diminish the performance of the task to be learned. In contrast, RaDis argues the original data with self-generated rationales and avoids loss of performance on new tasks. 2.3 DISTILLING RATIONALES Since the advent of LLMs, researchers have recognized their ability to generate rationales and have sought to distill knowledge from them. Initial studies have predominately focused on distilling the Chain of Thought (CoT) reasoning capabilities from intermediate rationales (Wang et al., 2023; Hsieh et al., 2023; Fu et al., 2023). These studies emphasize _pre-rationalization_ , where the model first generates a rationale before predicting the answer based on that rationale. Here, the rationale re- flects the reasoning path leading to the final answer, providing valuable insights for student models. Recent research has proposed _post-rationalization_ , where the rationale is generated after the answer is predicted. In this context, the rationale serves as an explanation, supplementing the ground truth label. Wadhwa et al. (2024) demonstrate that CoT-augmented distillation is more effective when ra- tionales are provided after labels. Additionally, Chen et al. (2024) suggests that _post-rationalization_ mitigates rationale sensitivity issues and enhances focus on learning challenging samples. Ratio- naleCL (Xiong et al., 2023) introduce rationales generated by GPT-3.5-turbo to distill relation ex- traction knowledge into T5 model in a continual learning setting. Unlike previous works that distill knowledge from LLMs to smaller student models, RaDis focuses on self-distillation to maintain general abilities and prevent forgetting. 3 METHOD
|
| 22 |
+
|
| 23 |
+
Since the advent of LLMs, researchers have recognized their ability to generate rationales and have sought to distill knowledge from them. Initial studies have predominately focused on distilling the Chain of Thought (CoT) reasoning capabilities from intermediate rationales (Wang et al., 2023; Hsieh et al., 2023; Fu et al., 2023). These studies emphasize _pre-rationalization_ , where the model first generates a rationale before predicting the answer based on that rationale. Here, the rationale reflects the reasoning path leading to the final answer, providing valuable insights for student models. Recent research has proposed _post-rationalization_ , where the rationale is generated after the answer is predicted. In this context, the rationale serves as an explanation, supplementing the ground truth label. Wadhwa et al. (2024) demonstrate that CoT-augmented distillation is more effective when rationales are provided after labels. Additionally, Chen et al. (2024) suggests that _post-rationalization_ mitigates rationale sensitivity issues and enhances focus on learning challenging samples. RationaleCL (Xiong et al., 2023) introduce rationales generated by GPT-3.5-turbo to distill relation extraction knowledge into T5 model in a continual learning setting. Unlike previous works that distill knowledge from LLMs to smaller student models, RaDis focuses on self-distillation to maintain general abilities and prevent forgetting.
|
| 24 |
+
|
| 25 |
+
We begin by presenting a key observation: when tasked with translation requests, instruction- tuned LLMs can generate detailed **rationales** that encapsulate the internal general knowledge lever- aged during translation (Section 3.1). Building on this insight, we introduce **Ra** tionale **Dis** tillation (RaDis), which leverages these self-generated rationales as replay data to help the model retain its broad general capabilities (Section 3.2). Finally, we demonstrate that the RaDis training objective can be decomposed into a conventional MT loss and a self-distillation loss on rationale tokens, which helps prevent excessive deviation of model parameters (Section 3.3).
|
| 26 |
+
|
| 27 |
+
- 3.1 OBSERVATION: SELF-GENERATED RATIONALES
|
| 28 |
+
|
| 29 |
+
3
|
| 30 |
+
|
| 31 |
+
- Instruction-tuned LLMs exhibit a strong abil中国提出的“一带一路”倡议,已成为规模最大
|
| 32 |
+
|
| 33 |
+
- ity to follow instructions and engage in con的国际合作平台。 versational interactions, delivering helpful reTranslate this sentence to English. sponses across a wide range of tasks. Unlike “China's 'Belt and Road' Initiative' has become conventional models that simply output the anthe largest international cooperation platform.“ swer, instruction-tuned LLMs are known to be Explanation: able to generate rationales (Wei et al., 2022). The Chinese term "一带一路" (Yīdài Yīlù) can As illustrated in Figure 2, when presented with be translated to English as "Belt and Road." The Belt and Road Initiative (BRI) is a development
|
| 34 |
+
|
| 35 |
+
- a translation request, instruction-tuned LLMs strategy and infrastructure development project not only generate the translation but also proproposed by China in 2013. It aims to enhance vide an accompanying rationale. For 139 out connectivity and cooperation between countries of 200 randomly sampled translation instrucin Asia, Europe and Africa …
|
| 36 |
+
|
| 37 |
+
- tions, LLaMA-2-7B-Chat provided a transla-
|
| 38 |
+
|
| 39 |
+
- tion along with a rationale. In line with findings Figure 2: An example of LLM’s response to trans- in CoT-augmented distillation (Wadhwa et al., lation instruction. In this case, the LLM pro- 2024; Xu et al., 2024b), we found these ravides a rationale with additional factual informa- tionales encompass a wealth of diverse infortion about the term ‘Belt and Road’ after the trans- mation leveraged during translation, including lation result. word or phrase translations, sentence structure analysis, factual information about the sentence, explanations of the overall sentence meaning, and other details.
|
| 40 |
+
|
| 41 |
+
**==> picture [432 x 306] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
**----- Start of picture text -----**<br>
|
| 44 |
+
181<br>182<br>183 3.2 RADIS: DISTILLING RATIONALES TO ALLEVIATE FORGETTING<br>184<br>185<br>186 Rationale Explanation: Rationale ### Response: Explanation:<br>The Sphinx is a mythical The Sphinx is set as The Sphinx is a mythical<br>187 Generation creature with the body of a lion and the head of a human. Disillation the backdrop and the narrator of a creature with the body of a lion and the head of a human.<br>188 In ancient Greek … long story. In ancient Greek …<br>189 Continue Translation Rationale Self-<br>Generation Loss distillation Loss<br>190<br>191 LLM LLM<br>192<br>### Instruction: ### Response: ### Instruction:<br>193194 Translate this sentence from Chinese to English. 背景幕布上是狮身人面像, The Sphinx is set as the backdrop and the narrator of a Translate this sentence from Chinese to English. 背景幕布上是狮身人面像, Translation Capability GeneralityCapability<br>它也是长篇故事的讲述者。 long story. 它也是长篇故事的讲述者。<br>195<br>196<br>Figure 3: Overview of the RaDis approach. Rationale Generating (Left) : Given a translation<br>197<br>instruction-response pair as an input, the LLM extends the response by generating a rationale. Fine-<br>198 tuning with Rationale Distillation (Right) : RaDis utilizes this self-generated rationale to enrich<br>199 the original response and fine-tunes the LLM with the enriched data. The CLM loss computed on the<br>200 rationale serves as a self-distillation regularization term, preventing excessive parameter divergence.<br>201<br>202<br>The forgetting issue can be attributed to an unsuitable training approach. In conventional fine-tuning,<br>203<br>the supervision signal comes from the reference sentence solely, which contains knowledge specific<br>204<br>to the translation task. Thus, the model parameter is biased to a translation-specific distribution.<br>205 Previous studies have sought to address this issue by replay-based CL methods. However, due to the<br>206<br>**----- End of picture text -----**<br>
|
| 45 |
+
|
| 46 |
+
The forgetting issue can be attributed to an unsuitable training approach. In conventional fine-tuning, the supervision signal comes from the reference sentence solely, which contains knowledge specific to the translation task. Thus, the model parameter is biased to a translation-specific distribution. Previous studies have sought to address this issue by replay-based CL methods. However, due to the absence of original training data and the poor quality of open-sourced instruction-following data, their effectiveness is limited. To this end, we propose RaDis.
|
| 47 |
+
|
| 48 |
+
The core idea of RaDis is similar to _pseudo-replay_ . In traditional CL, pseudo-replay methods employ an additional data generator to synthesize replay data (Shi et al., 2024). However, the superior generative abilities of LLMs now allow us to _leverage the model itself to synthesize this replay data_ . As depicted in Figure 3, RaDis starts from an instruction-tuned LLM as the backbone. It utilizes a prompt template _I_ to format the translation sentence pair ( _x, y_ ) and sends them into the backbone LLM parameterized as _θ_ . As shown in Section 3.1, an instruction-tuned model has the inherent ability to continue generating a rationale using the translation instruction-response pair as the prefix.
|
| 49 |
+
|
| 50 |
+
**r** _∼ P_ ( **y** _,_ **x** _, I_ ; _θ_ )
|
| 51 |
+
|
| 52 |
+
(1)
|
| 53 |
+
|
| 54 |
+
4
|
| 55 |
+
|
| 56 |
+
These rationales encapsulate the internal general knowledge leveraged during translation, build- ing a reasoning framework that ties previous knowledge with new tasks. Specifically, the self- generated rationale **r** is concatenated with the translation sentence **y** , creating an enriched response **219 y** ˆ = CONCAT( **y** _,_ **r** ). The enriched instruction-response pair is subsequently used to train the back- bone LLM using a standard causal language model (CLM) loss, defined as: _L_ ( **x** _,_ ˆ **y** ; _θ_ ) = _−_ log _P_ (ˆ **y** _|_ **x** _, I_ ; _θ_ ) (2) The enriched response now incorporates both the task-specific knowledge for translation and the diverse, original knowledge embedded within the self-generated rationale. As a result, fine-tuning the model with it can learn the translation task and consolidate the original general ability simulta- neously. 3.3 WHY RADIS WORKS: A KNOWLEDGE DISTILLATION PERSPECTIVE In previous sections, we discovered that self-generated rationales are effective substitutes for replay data. However, since they are neither traditional replay data nor pseudo-replay data, a natural ques- tion arises: why do they work? Here, we demonstrate that RaDis can be understood as a form of knowledge distillation, a technique proven to mitigate forgetting. To explain this, we paraphrase Equation 2 as: _L_ ( **x** _,_ ˆ **y** ; _θ_ ) = _−_ log _P_ (ˆ **y** _|_ **x** _, I_ ; _θ_ ) = _− T_ � + _R_ log _P_ (ˆ **y** _t|_ **y** ˆ _<t,_ **x** _, I_ ; _θ_ ) (3) _t_ =1 where _R_ is the length of the rationale **r** . The properties of the CLM loss allow us to split and reassemble the loss across each token. By separating the loss of the reference translation from the self-generated rationale, we obtain: _T_ + _R_ _L_ ( **x** _,_ ˆ **y** ; _θ_ ) = _−_ � log _P_ (ˆ **y** _t|_ **y** ˆ _<t,_ **x** _, I_ ; _θ_ ) _t_ =1 _T T_ + _R_ (4) = _−_ � log _P_ ( **y** _t|_ **y** _<t,_ **x** _, I_ ; _θ_ ) _−_ � log _P_ ( **r** _t|_ **r** _<t,_ **y** _,_ **x** _, I_ ; _θ_ ) _t_ =1 _t_ = _T_ +1 = _−_ log _P_ ( **y** _|_ **x** _, I_ ; _θ_ ) _−_ log _P_ ( **r** _|_ **y** _,_ **x** _, I_ ; _θ_ ) Here, the first term is a traditional MT loss, which trains the model to acquire new translation knowledge. The second term minimizes the negative log-likelihood of the self-generated rationale **r 253** given the conventional translation instruction-response pair. It can be interpreted as a sequence-level self-distillation loss on the rationale tokens, which serves as a regularizer to mitigate forgetting by preventing excessive deviation of model parameters. 4 EXPERIMENTS 4.1 DATASETS
|
| 57 |
+
|
| 58 |
+
Here, the first term is a traditional MT loss, which trains the model to acquire new translation knowledge. The second term minimizes the negative log-likelihood of the self-generated rationale **r** given the conventional translation instruction-response pair. It can be interpreted as a sequence-level self-distillation loss on the rationale tokens, which serves as a regularizer to mitigate forgetting by preventing excessive deviation of model parameters.
|
| 59 |
+
|
| 60 |
+
The datasets and benchmarks used for fine-tuning and evaluation are listed below:
|
| 61 |
+
|
| 62 |
+
> **263 Translation.** For parallel training data, we adopt the human written data collected by ALMA (Xu
|
| 63 |
+
|
| 64 |
+
et al., 2024a), as it has been proven effective in enhancing the translation proficiency of LLMs. This
|
| 65 |
+
|
| 66 |
+
data comprises human written test datasets from WMT’17 to WMT’20, plus the development and
|
| 67 |
+
|
| 68 |
+
test sets from Flores-200 (Goyal et al., 2022). It covers 4 English-centric language pairs, considering
|
| 69 |
+
|
| 70 |
+
both from English and to English directions: Czech (cs), Chinese (zh), German (de), and Russian (ru). The WMT’22 test dataset for the same 8 translation directions is used for testing. Translation performance is evaluated using the COMET metric (Unbabel/wmt22-comet-da) due to its better alignment with human evaluations (Rei et al., 2022).
|
| 71 |
+
|
| 72 |
+
5
|
| 73 |
+
|
| 74 |
+
**270 Conversation and Instruction Following.** MT-Bench (Zheng et al., 2023) and AlpacaE- val (Dubois et al., 2024) are employed to evaluate the conversation and instruction-following abil- ities of the models. MT-Bench consists of a set of challenging multi-turn questions across various categories, including math, coding, role-play, and writing. GPT-4 is utilized as the judge to assess the quality of the models’ responses, scoring them on a scale of 1 to 10, as outlined by Zheng et al. (2023). The AlpacaEval and AlpacaEval 2.0 leaderboard evaluates the models on 805 prompts from the AlpacaEval dataset and calculates the win rate against text-davinci-003 and GPT-4-1106. For this evaluation, we use the weighted weighted ~~a~~ lpaca ~~e~~ val ~~g~~ pt4 ~~t~~ urbo annotator as the judge. annotator as the judge.
|
| 75 |
+
|
| 76 |
+
this evaluation, we use the weighted weighted ~~a~~ lpaca ~~e~~ val ~~g~~ pt4 ~~t~~ urbo annotator as the judge. annotator as the judge. **278 279 Safety.** Safety is evaluated using harmful behavior datasets consisting of unsafe prompts. Fol- lowing WalledEval (Gupta et al., 2024), we feed 520 unsafe prompts from AdvBench (Zou et al., 2023) into the LLMs and utilize LLaMA-3-Guard-8B (Dubey et al., 2024) to assess whether the responses are harmful. We report the safe rate, defined as the percentage of safe responses across all prompts. **283 284 Reasoning.** The reasoning ability is evaluated using GSM8K (Cobbe et al., 2021), which comprises 8.8k high-quality arithmetic word problems designed at the grade school level, to assess the arithmetic reasoning abilities of LLMs. The evaluations are conducted using lm-evaluation-harness (Gao et al., 2024) and the exact match scores are reported. 4.2 BASELINES Our method is compared against two baseline categories. The first category includes representa- tive continual instruction tuning (CIT) methods, that are compatible with our setting. In the second category, we consider prior LLM-based MT models, which focus on enhancing the translation pro- ficiency of LLMs. It’s worth noting that the comparison with prior LLM-based MT models is not entirely fair due to discrepancies in training data and model architectures. **295 296 Continual Instruction Tuning (CIT) Baselines.** The following continual instruction tuning ap- proaches are introduced as baseline methods: **(1) Vanilla Fine-tuning** , where the backbone LLMs are directly fine-tuned using translation data; **(2) Seq-KD** , which employs sequence-level knowl- edge distillation along with fine-tuning to alleviate forgetting; **(3) SDFT** (Yang et al., 2024), which leverages the backbone LLM to paraphrase the original training data and fine-tunes the model using the synthesized data; **(4) Multi-task** , which employs open-sourced instruction following dataset and fine-tunes the LLM with both translation and instruction following data. **303 304 Prior LLM-based MT models.** This category contains several notable works in the field of LLM- based machine translation. **(1) ParroT** (Jiao et al., 2023), which fine-tune LLaMA-1 with a hybrid of translation and instruction-following data. **(2) BigTrans** (Yang et al., 2023) enhances LLaMA- 1 by equipping it with multilingual translation capabilities across more than 100 languages. **(3) BayLing** (Zhang et al., 2023) fine-tunes LLaMA-1 using automatically generated interactive trans- lation instructions. **(4) ALMA** (Xu et al., 2024a) first fine-tunes LLaMA-2 on monolingual data and subsequently uses high-quality parallel data for instruction tuning. **(5) TowerInstruct (Alves et al., 310 2024)** continued pre-trains LLaMA-2 on a multilingual mixture of monolingual and parallel data, and fine-tuned with translation and instruction following data. Please refer to Appendix A for further details of the baselines. 4.3 TRAINING DETAILS In our experiments, we employ LLaMA-2-7B-Chat (Touvron et al., 2023) and Mistral-7B-Instruct- v0.2 (Jiang et al., 2023) as the backbone LLMs. Given the constraints of our computational re- sources, the Low-Rank Adaptation (LoRA) technique (Hu et al., 2022) is utilized in most of our
|
| 77 |
+
|
| 78 |
+
In our experiments, we employ LLaMA-2-7B-Chat (Touvron et al., 2023) and Mistral-7B-Instruct- v0.2 (Jiang et al., 2023) as the backbone LLMs. Given the constraints of our computational re- sources, the Low-Rank Adaptation (LoRA) technique (Hu et al., 2022) is utilized in most of our experiments. Specifically, a LoRA adapter with a rank of 16 is integrated into all the linear layers of the LLMs and exclusively trains the adapter. The LLMs are fine-tuned for three epochs on the translation dataset, with a learning rate of 1 _×_ 10 _[−]_[4] and a cosine annealing schedule. The batch is set to 128 for stable training. Our implementation is based on LLaMA-Factory (Zheng et al., 2024). After the fine-tuning phase, the LoRA module is merged into the backbone LLM for testing. For further details, please refer to Appendix B.
|
| 79 |
+
|
| 80 |
+
6
|
| 81 |
+
|
| 82 |
+
||4.4<br>RESULTS|4.4<br>RESULTS||||||
|
| 83 |
+
|---|---|---|---|---|---|---|---|
|
| 84 |
+
|||||||||
|
| 85 |
+
|<br>|Table 1: The overall translation performance (COMET score) <br>compared to the backbone LLM is shown.|||||in EN_→_X. The delta performance||
|
| 86 |
+
|||||||||
|
| 87 |
+
|||**Models**|**Czech**|**German**|**Russian**|**Chinese**|**Avg.**|
|
| 88 |
+
||||_Backbone LLM: LLaMA-2-7B-Chat_|||||
|
| 89 |
+
|||**Backbone LLM**|70.14|75.10|75.76|72.57|73.39|
|
| 90 |
+
|||**w/ Vanilla-FT**<br>**w/ Multi-task**|81.80_↑_11.66<br>81.67_↑_11.53|82.81_↑_7.71<br>82.58_↑_7.48|84.67_↑_8.91<br>84.24_↑_8.48|81.96_↑_9.39<br>81.86_↑_9.29|82.81_↑_9.42<br>82.59_↑_9.20|
|
| 91 |
+
|||**w/ Seq-KD**|70.17_↑_0.03|74.40_↓_0.7|75.62_↓_0.14|72.93_↑_0.36|73.28_↓_0.11|
|
| 92 |
+
|||**w/ SDFT**<br>**w/ RaDis (Ours)**|68.59_↓_1.55<br>81.77_↑_11.63|75.21_↑_0.11<br>82.39_↑_7.29|79.67_↑_3.91<br>84.31_↑_8.55|78.45_↑_5.88<br>81.98_↑_9.41|75.48_↑_2.09<br>82.61_↑_9.22|
|
| 93 |
+
||||_Backbone LLM: Mistral-7B-Instruct-v0.2_|||||
|
| 94 |
+
|||**Backbone LLM**|67.39|67.87|64.56|71.32|67.79|
|
| 95 |
+
|||**w/ Vanilla-FT**<br>**w/ Multi-task**|84.33_↑_16.94<br>84.79_↑_17.40|83.04_↑_15.17<br>82.64_↑_14.77|86.23_↑_21.67<br>86.47_↑_21.91|83.63_↑_12.31<br>83.87_↑_12.55|84.31_↑_16.52<br>84.44_↑_16.56|
|
| 96 |
+
|||**w/ Seq-KD**|74.30_↑_6.91|73.69_↑_5.82|73.10_↑_8.54|78.28_↑_6.96|74.84_↑_7.06|
|
| 97 |
+
|||**w/ SDFT**<br>**w/ RaDis (Ours)**|51.90_↓_15.49<br>84.32_↑_16.93|53.32_↓_14.55<br>82.95_↑_15.08|47.07_↓_17.49<br>86.55_↑_21.99|56.38_↓_14.94<br>83.75_↑_12.43|52.17_↓_15.62<br>84.39_↑_16.61|
|
| 98 |
+
|||||_Prior LLM-based MT Models_||||
|
| 99 |
+
|||**ParroT**|-|81.20|-|79.30|-|
|
| 100 |
+
|||**BigTrans**<br>**BayLing-7B**|80.65<br>76.85|78.81<br>82.18|78.21<br>74.72|81.31<br>84.43|79.75<br>79.55|
|
| 101 |
+
|||**ALMA-7B**|89.05|85.45|87.05|84.87|86.61|
|
| 102 |
+
|||||||||
|
| 103 |
+
|||||||||
|
| 104 |
+
|<br>|Table 2: The overall translation performance (COMET score) in X_→_EN.The delta performance<br>compared to the backbone LLM is shown.|||||||
|
| 105 |
+
|||**Models**|**Czech**|**German**|**Russian**|**Chinese**|**Avg.**|
|
| 106 |
+
|||||||||
|
| 107 |
+
||||_Backbone LLM: LLaMA-2-7B-chat_|||||
|
| 108 |
+
|||**Backbone LLM**|79.53|81.20|80.36|74.95|79.01|
|
| 109 |
+
|||**w/ Vanilla-FT**|82.74_↑_3.21|83.31_↑_2.11|82.70_↑_2.34|78.08_↑_3.13|81.71_↑_2.7|
|
| 110 |
+
|||**w/ Multi-task**<br>**w/ Seq-KD**|82.71_↑_3.18<br>78.50_↓_1.03|83.37_↑_2.17<br>80.61_↓_0.59|82.73_↑_2.37<br>79.88_↓_0.48|78.20_↑_3.25<br>74.48_↓_0.47|81.75_↑_2.74<br>78.37_↓_0.64|
|
| 111 |
+
|||**w/ SDFT**|81.93_↑_2.4|82.60_↑_1.4|81.87_↑_1.51|76.77_↑_1.82|80.79_↑_1.78|
|
| 112 |
+
|||**w/ RaDis (Ours)**|81.75_↑_2.22|83.07_↑_1.87|82.22_↑_1.86|77.83_↑_2.88|81.22_↑_2.21|
|
| 113 |
+
|||**Backbone LLM**|_Backbone LLM: Mistral-7B-Instruct-v0.2_<br>81.88<br>81.73<br>81.97|||77.76|80.84|
|
| 114 |
+
|||**w/ Vanilla-FT**|83.51_↑_1.63|83.35_↑_1.62|83.23_↑_1.26|79.21_↑_1.45|82.33_↑_1.49|
|
| 115 |
+
|||**w/ Multi-task**<br>**w/ Seq-KD**|82.84_↑_0.96<br>81.66_↓_0.22|83.04_↑_1.31<br>81.98_↑_0.25|83.15_↑_1.18<br>82.50_↑_0.53|79.31_↑_1.55<br>77.49_↓_0.27|82.09_↑_1.25<br>80.91_↑_0.07|
|
| 116 |
+
|||**w/ SDFT**|80.38_↓_1.5|79.72_↓_2.01|80.21_↓_1.76|77.39_↓_0.37|79.43_↓_1.41|
|
| 117 |
+
|||**w/ RaDis (Ours)**|82.41_↑_0.53|82.86_↑_1.13|83.32_↑_1.35|79.17_↑_1.41|81.94_↑_1.1|
|
| 118 |
+
|||**ParroT**|-|_Prior LLM-based MT Models_<br>82.40<br>-||75.20|-|
|
| 119 |
+
|||**BigTrans**|81.19|80.68|77.80|74.26|78.48|
|
| 120 |
+
|||**BayLing-7B**<br>**ALMA-7B**|82.03<br>85.93|83.19<br>83.95|82.48<br>84.84|77.48<br>79.78|81.30<br>83.63|
|
| 121 |
+
|||||||||
|
| 122 |
+
|||||||||
|
| 123 |
+
|<br>|The translation performance inEN_→_XandX_→_ENare shown in Table 1 and Table 2, respectively.<br>The performance on general ability, including instruction following, safety, and reasoning, is shown<br>in Table 3.|||||||
|
| 124 |
+
|||||||||
|
| 125 |
+
|<br><br>|**Fine-tuning is a double-edged sword.**<br>In theEN_→_Xdirection, Vanilla-FT signifcantly enhances<br>translation performance compared to zero-shot results, achieving an average COMET score im-<br>provement of **+16.52**. In the X_→_EN direction, the performance improvement is relatively small|||||||
|
| 126 |
+
||(**+1.49**COMET). This is mainly because the backbone LLMs already have||||||a strong ability to trans-|
|
| 127 |
+
||late to English. However, this improvement in translation profciency comes at the cost of a sub-|||||||
|
| 128 |
+
||stantial|decline in general capabilities,||as refected|by the sharp performance drop in instruction-|||
|
| 129 |
+
||following, safety, and reasoning benchmarks.|||||||
|
| 130 |
+
|||||||||
|
| 131 |
+
||**RaDis balances translation profciency and general abilities.**|||||Multi-task achieves performance||
|
| 132 |
+
||comparable to Vanilla-FT. However, its performance on general tasks declines signifcantly, despite|||||||
|
| 133 |
+
|
| 134 |
+
**RaDis balances translation proficiency and general abilities.** Multi-task achieves performance comparable to Vanilla-FT. However, its performance on general tasks declines significantly, despite the inclusion of additional instruction-following data. This is because the external instruction data
|
| 135 |
+
|
| 136 |
+
7
|
| 137 |
+
|
| 138 |
+
||Table 3: The performance on instruction following, safety, and reasoning benchmarks. **RP** repre-|
|
| 139 |
+
|---|---|
|
| 140 |
+
||sents relative performance compared to the backbone LLM and is only calculated for CIT methods.|
|
| 141 |
+
||The delta performance compared to vanilla fne-tuning (Vanilla-FT) is shown. The safety rate for|
|
| 142 |
+
||**BigTrans** and **ALMA** is omitted, as these translation-specifc models can not generate reasonable|
|
| 143 |
+
||responses.|
|
| 144 |
+
|||
|
| 145 |
+
||**Models**<br>**Conversation and Instruction Following**<br>**Safety**<br>**Reasoning**<br>**RP[%]**|
|
| 146 |
+
||**MT-bench**<br>**AlpacaEval**<br>**AlpacaEval 2.0**<br>**AdvBench**<br>**GSM8K**|
|
| 147 |
+
||_Backbone LLM: LLaMA-2-7B-chat_|
|
| 148 |
+
||**Backbone LLM**<br>6.51<br>71.40<br>9.66<br>100.00<br>21.83<br>-<br>**w/ Vanilla-FT**<br>1.5<br>2.18<br>0.71<br>37.88<br>4.32<br>18.22|
|
| 149 |
+
||**w/ Multi-task**<br>5.64_↑_4.14<br>44.55_↑_42.37<br>3.98_↑_3.27<br>98.65_↑_60.77<br>11.98_↑_7.66<br>68.75_↑_50.53|
|
| 150 |
+
||**w/ Seq-KD**<br>6.59_↑_5.09<br>67.48_↑_65.30<br>8.33_↑_7.62<br>100.00_↑_62.12<br>19.48_↑_15.16<br>94.24_↑_76.02<br>**w/ SDFT**<br>5.66_↑_4.16<br>67.55_↑_65.37<br>7.09_↑_6.38<br>98.08_↑_60.20<br>20.02_↑_15.70<br>88.95_↑_70.72|
|
| 151 |
+
||**w/ RaDis**<br>6.56_↑_5.06<br>67.94_↑_65.76<br>7.47_↑_6.76<br>100.00_↑_62.12<br>19.48_↑_15.16<br>92.50_↑_74.27|
|
| 152 |
+
||_Backbone LLM: Mistral-7B-Instruct-v0.2_|
|
| 153 |
+
||**Backbone LLM**<br>7.67<br>84.91<br>15.09<br>68.46<br>41.62<br>-<br>**w/ Vanilla-FT**<br>1.94<br>6.07<br>1.02<br>4.23<br>0.23<br>9.19|
|
| 154 |
+
||**w/ Multi-task**<br>6.87_↑_4.93<br>49.46_↑_43.39<br>5.45_↑_4.43<br>63.85_↑_59.62<br>22.97_↑_22.74<br>66.48_↑_57.29|
|
| 155 |
+
||**w/ Seq-KD**<br>6.99_↑_5.05<br>82.06_↑_75.99<br>12.7_↑_11.68<br>60.58_↑_56.35<br>41.77_↑_41.54<br>92.16_↑_82.97<br>**w/ SDFT**<br>7.00_↑_5.06<br>78.32_↑_72.25<br>10.02_↑_9.00<br>48.27_↑_44.04<br>41.09_↑_40.86<br>83.83_↑_74.64|
|
| 156 |
+
||**w/ RaDis**<br>7.57_↑_5.63<br>80.34_↑_74.27<br>11.05_↑_10.03<br>62.12_↑_57.89<br>41.70_↑_41.47<br>91.49_↑_82.31|
|
| 157 |
+
||_Prior LLM-based MT models_|
|
| 158 |
+
||**ParroT**<br>4.58<br>28.06<br>2.82<br>26.35<br>4.09<br>-<br>**BigTrans**<br>1.73<br>0.42<br>0.22<br>-<br>0<br>-|
|
| 159 |
+
||**BayLing-7B**<br>4.51<br>51.29<br>4.43<br>84.62<br>5.38<br>-|
|
| 160 |
+
||**ALMA-7B**<br>2.80<br>1.08<br>0.17<br>-<br>0<br>-|
|
| 161 |
+
|||
|
| 162 |
+
|||
|
| 163 |
+
|<br><br><br>|is of low quality and out-of-distribution relative to the backbone LLM. As a result, fne-tuning<br>these data does not alleviate the issue of catastrophic forgetting. The translation results of SDFT<br>fall below the zero-shot performance of backbone LLM when using Mistral-7B-Instruct-v0.2 as the<br>backbone LLM. This under-performance stems from the fact that the prompt used for rewriting data<br>is tailored for LLaMA-2 models, which does not generalize well to Mistral models. Additionally,|
|
| 164 |
+
||SDFT shows weaker performance in EN_→_X translations compared to X_→_EN, indicating that the|
|
| 165 |
+
||limited ability of the backbone LLM to translate into other languages diminishes the quality of the|
|
| 166 |
+
||distilled dataset. Seq-KD preserves up to 94.24% of the overall general capabilities but brings almost|
|
| 167 |
+
||no improvement in translation performance. In contrast, RaDis strikes a better balance between|
|
| 168 |
+
||translation profciency and general ability. It achieves a COMET score comparable to Vanilla-FT|
|
| 169 |
+
||(81.58 vs. 82.02, 83.17 vs. 83.56) while preserving up to 92.50% of the general capabilities.|
|
| 170 |
+
|||
|
| 171 |
+
||**Compared with prior LLM-based MT models.**<br>RaDis helps backbone models perform com-|
|
| 172 |
+
||parably with SOTA LLM-based MT models in translation performance. Our best model (Mistral-|
|
| 173 |
+
|<br><br><br>|7B-Instruct-v0.2 w/ RaDis) surpasses BigTrans, BayLing, and ParroT by a considerable margin in<br>average COMET scores, particularly in the EN_→_X direction. Although ALMA achieves a higher<br>COMET score than our best model, it benefts from continual pre-training on massive monolin-<br>gual data, which is not implemented in our approach. Regarding general ability, models equipped<br>with RaDis signifcantly outperform all prior studies. Translate-specifc models, such as BigTrans|
|
| 174 |
+
||and ALMA that are only fne-tuned with translation data, lack general ability. While ParroT and|
|
| 175 |
+
||BayLing utilize Alpaca data in training, their general ability is limited by their backbone models and|
|
| 176 |
+
||the quality of Alpaca data. In contrast, RaDis preserves the strong general ability of the backbone|
|
| 177 |
+
||LLMs, achieving the highest performance. As TowerInstruct has been fne-tuned on the WMT’22|
|
| 178 |
+
||test dataset, we evaluate translation performance on the WMT’23 test dataset following their setting.|
|
| 179 |
+
||The detailed comparison can be found in Appendix C.|
|
| 180 |
+
|
| 181 |
+
## 5 ANALYSIS
|
| 182 |
+
|
| 183 |
+
5.1 DO RATIONALES CONTAIN GENERAL KNOWLEDGE?
|
| 184 |
+
|
| 185 |
+
To investigate the content of self-generated rationales, we randomly sampled 25 instances from each translation direction, forming a set of 200 for analysis. The content of the rationales included diverse information, as expected. As shown in Table 4, the information can be broadly categorized into eight
|
| 186 |
+
|
| 187 |
+
8
|
| 188 |
+
|
| 189 |
+
Table 4: Rationale categories and their main contents. Note that the percentages do not sum to
|
| 190 |
+
|
| 191 |
+
100%, as each rationale may include multiple categories of information. **434 435 Information Category Contents Occurrence [%] 436** Word/phrase translation Translations of individual words and phrases in the sentence. 29.5 Alternative translation Multiple translation options provided for selection. 19.5 Helpful&Safety Guidance on helpful and safe practices when translating sensitive sentences. 17.5 Semantic explanation Clarification of the sentence’s meaning. 15.5 Back-translation Back-translations of non-English results to verify their accuracy. 12.5 Factual supplement Additional factual information regarding entities or events in the sentence. 9.0 Word/phrase explanation Explanations for special words, idioms, or expressions. 7.5 Grammar Information on grammar, such as part-of-speech or sentence structure. 5.5 types, ranging from word alignments to factual knowledge. These rationales act as a ”semantic scaffold”, linking old knowledge to new tasks and building an underlying reasoning framework that
|
| 192 |
+
|
| 193 |
+
ties everything together, which improves knowledge retention. For examples of rationales, please
|
| 194 |
+
|
| 195 |
+
refer to Appendix E. 5.2 WHICH IS THE KEY: RATIONALE QUALITY OR SELF-DISTILLATION PROPERTY? Table 5: The result of ablation study. The names in brackets are the models used to generate ratio- nales. The best results in different RaDis variants are highlighted in bold. **454 455 Models Machine Translation Conversation and Instruction Following Safety Reasoning 456 X** _→_ **EN EN** _→_ **X MT-bench AlpacaEval AlpacaEval 2.0 AdvBench GSM8K 457 Mistral-7B-Instruct-v0.2** 80.84 67.79 7.67 84.91 15.09 68.46 41.62 **w/ Vanilla-FT** 82.33 84.31 1.94 6.07 1.02 4.23 0.23 **458 w/ RaDis (Self-generated)** 81.94 84.39 **7.57 80.34 11.05** 62.12 **41.70 459 w/ RaDis (LLaMA-2-Chat-7B)** 82.33 84.51 6.89 63.85 6.28 **98.46** 35.03 **w/ RaDis (LLaMA-3-70B-Instruct) 82.84 84.71** 7.00 77.41 10.27 58.27 39.42 The effectiveness of RaDis can be explained in two ways: rationale quality (in terms of the knowl- edge they contain) and the self-distillation property. We conducted the following ablation experi- ment to analyze the impact of these two factors. Specifically, the self-generated rationales in RaDis were replaced by rationales generated by different models, namely LLaMA-2-7B-Chat and LLaMA3-70B-Instruct (Dubey et al., 2024). Due to the difference in parameter size and fine-tuning data, these models can provide rationales with varying levels of quality, but all lack the self-distillation property. Therefore, it is possible to separate the rationale quality and the self-distillation property
|
| 196 |
+
|
| 197 |
+
to analyze their contributions. As shown in Table 5, RaDis consistently mitigates the forgetting of general capabilities, regard- less of the type of rationales used. When comparing rationales generated by LLaMA-2-7B-Chat and LLaMA-3-70B-Instruct, the latter demonstrates superior performance in both MT and general tasks, except for the safety task. These results suggest that models can learn more translation knowl- edge from higher-quality rationales, which leads to better performance. However, self-generated
|
| 198 |
+
|
| 199 |
+
rationales demonstrate the strongest ability to retain general capabilities, even outperforming those
|
| 200 |
+
|
| 201 |
+
generated by LLaMA-3-70B-Instruct, highlighting the importance of the self-distillation property. 5.3 RADIS AVOIDS THE CONFLICT BETWEEN LEARNING AND MITIGATING CF As demonstrated in Section 3.3, our proposed RaDis can be viewed as a specialized form of
|
| 202 |
+
|
| 203 |
+
sequence-level distillation, where the rationale **r** serves as the distillation target. However, while
|
| 204 |
+
|
| 205 |
+
both methods excel at preserving general capabilities, RaDis notably enhances translation profi-
|
| 206 |
+
|
| 207 |
+
ciency, whereas Seq-KD does not. We posit that the difference arises from whether the regu-
|
| 208 |
+
|
| 209 |
+
larization term conflicts with the MT learning process. In Seq-KD (Equation 5), the MT loss _−_ log _P_ ( **y** _|_ **x** _, I_ ; _θ_ ) and the regularization term _−_ log _P_ ( **y** _[′] |_ **x** _, I_ ; _θ_ ) share the same input but have different outputs, which may lead to conflict in optimization. In contrast, with RaDis (Equation 4), the MT loss and the regularization term _−_ log _P_ ( **r** _|_ **y** _,_ **x** _, I_ ; _θ_ ) are less likely to exhibit this issue.
|
| 210 |
+
|
| 211 |
+
9
|
| 212 |
+
|
| 213 |
+
0.4 0.2 0.0 0.2 Seq-KD 0.4 ~~RaDis~~ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Layers Figure 4: Overview of the gradient similarity between the regularization term and MT loss. We analyze gradient similarity to validate our assumption. Specifically, we sample 128 examples from each translation direction to create a validation set consisting of 1024 samples. Subsequently, the gradient features for the MT loss and the regularization term for both methods are extracted, following Xia et al. (2024). Finally, the cosine similarity of the gradient features is computed. As depicted in Figure 4, in 24 out of 32 layers, the gradient of the regularization term for Seq- KD exhibits negative similarity with the MT loss, indicating a significant conflict between these objectives. In contrast, in 25 out of 32 layers, the gradient of RaDis’ regularization term shows positive similarity with the MT loss, suggesting that RaDis can avoid the conflict between learning and mitigating forgetting. 6 CONCLUSIONS In this paper, we conducted a systematic evaluation of prior LLM-based MT models, finding that they lack diverse general capabilities, degenerating into task-specific translation models. This degen- eration is mainly caused by catastrophic forgetting while fine-tuning for translation tasks. Previous continual learning approaches can not preserve the general capabilities gained from in-house training data. To address this issue, we propose a simple yet effective strategy, RaDis. RaDis prompts LLMs to generate rationales for the reference translation and utilizes these rationales to mitigate for- getting in a self-distillation manner. Mirroring the human learning process, these rationales connect prior knowledge with new tasks, building a reasoning framework that ties internal concepts together and enhances knowledge retention. Extensive experiments show that RaDis greatly enhances the translation performance while preserving the models’ general ability. These insights can help future research on building LLMs capable of excelling in specialized tasks without compromising their generality or safety and providing a fresh angle for utilizing rationales in the CL field. and providing a fresh angle for utilizing rationales in the CL field.. 7 LIMITATIONS AND FUTURE WORK Our study is subject to certain limitations. Owing to constraints in computational resources, we adopt LoRA on models with 7B parameters. Further investigations involving larger models and full fine-tuning remain to be explored. Besides, as a post-training method, RaDis is limited by the language proficiency of backbone LLM. This limits its performance on low-resource language. However, we believe the rapidly evolving multilingual LLMs would narrow this gap. Furthermore, we predominately focus on fine-tuning with machine translation data, applying RaDis to other NLP tasks will further support its effectiveness (See Appendix C). This potential direction is what we intend to explore in future work. REPRODUCIBILITY STATEMENT Codes and model weights will be made public after review to advocate future research. For synthe- sizing data, we provide several examples in Appendix E. For evaluation, we primarily use greedy decoding to ensure reproducibility, except where specific generation configurations are mandated by certain benchmark tools. Note that evaluations on instruction-following abilities (AlpacaEval and MT-Bench) rely on OpenAI’s API. The randomness of API responses may have little impact on the reproducibility of these benchmarks.
|
| 214 |
+
|
| 215 |
+
In this paper, we conducted a systematic evaluation of prior LLM-based MT models, finding that they lack diverse general capabilities, degenerating into task-specific translation models. This degeneration is mainly caused by catastrophic forgetting while fine-tuning for translation tasks. Previous continual learning approaches can not preserve the general capabilities gained from in-house training data. To address this issue, we propose a simple yet effective strategy, RaDis. RaDis prompts LLMs to generate rationales for the reference translation and utilizes these rationales to mitigate forgetting in a self-distillation manner. Mirroring the human learning process, these rationales connect prior knowledge with new tasks, building a reasoning framework that ties internal concepts together and enhances knowledge retention. Extensive experiments show that RaDis greatly enhances the translation performance while preserving the models’ general ability. These insights can help future research on building LLMs capable of excelling in specialized tasks without compromising their generality or safety and providing a fresh angle for utilizing rationales in the CL field. and providing a fresh angle for utilizing rationales in the CL field..
|
| 216 |
+
|
| 217 |
+
10
|
| 218 |
+
|
| 219 |
+
- REFERENCES Duarte M. Alves, Jos´e Pombal, Nuno Miguel Guerreiro, Pedro Henrique Martins, Jo˜ao Alves, M. Amin Farajian, Ben Peters, Ricardo Rei, Patrick Fernandes, Sweta Agrawal, Pierre Colombo, Jos´e G. C. de Souza, and Andr´e F. T. Martins. Tower: An open multilingual large language model for translation-related tasks. _CoRR_ , abs/2402.17733, 2024. doi: 10.48550/ARXIV.2402.17733. URL [URL removed]
|
| 220 |
+
|
| 221 |
+
- Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Pond´e de Oliveira Pinto, Jared
|
| 222 |
+
|
| 223 |
+
- Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri,
|
| 224 |
+
|
| 225 |
+
- Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan,
|
| 226 |
+
|
| 227 |
+
- Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavar- ian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plap- pert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Joshua Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Pe- ter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code. _CoRR_ , abs/2107.03374, 2021. URL [URL removed]
|
| 228 |
+
|
| 229 |
+
- . Xiaoshu Chen, Sihang Zhou, Ke Liang, and Xinwang Liu. Post-semantic-thinking: A robust strategy
|
| 230 |
+
|
| 231 |
+
- to distill reasoning capacity from large language models. _CoRR_ , abs/2404.09170, 2024. doi: 10.
|
| 232 |
+
|
| 233 |
+
- 48550/ARXIV.2404.09170. URL [URL removed]
|
| 234 |
+
|
| 235 |
+
- Zhiyuan Chen and Bing Liu. _Lifelong Machine Learning, Second Edition_ . Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool Publishers, 2018. ISBN 978- 3-031-00453-7. doi: 10.2200/S00832ED1V01Y201802AIM037. URL [URL removed] 10.2200/S00832ED1V01Y201802AIM037. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. _CoRR_ , abs/2110.14168, 2021. URL [URL removed] Mike Conover, Matt Hayes, Ankit Mathur, Jianwei Xie, Jun Wan, Sam Shah, Ali Ghodsi, Patrick Wendell, Matei Zaharia, and Reynold Xin. Free dolly: Introducing the world’s first truly open
|
| 236 |
+
|
| 237 |
+
- instruction-tuned llm, 2023. URL [URL removed]
|
| 238 |
+
|
| 239 |
+
- 12/dolly-first-open-commercially-viable-instruction-tuned-llm.
|
| 240 |
+
|
| 241 |
+
- Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, Arun Rao, Aston Zhang, Aur´elien Rodriguez, Austen Gregerson, Ava Spataru, Baptiste Rozi`ere, Bethany Biron, Binh Tang, Bobbie Chern, Charlotte Caucheteux, Chaya Nayak, Chloe Bi, Chris Marra, Chris McConnell, Christian Keller, Christophe Touret, Chunyang Wu, Corinne Wong, Cristian Canton Ferrer, Cyrus Nikolaidis, Damien Allonsius, Daniel Song, Danielle Pintz, Danny Livshits, David Esiobu, Dhruv Choudhary, Dhruv Mahajan, Diego Garcia-Olano, Diego Perino, Dieuwke Hupkes, Egor Lakomkin, Ehab AlBadawy, Elina Lobanova, Emily Dinan, Eric Michael Smith, Filip Radenovic, Frank Zhang, Gabriel Synnaeve, Gabrielle Lee, Georgia Lewis Ander-
|
| 242 |
+
|
| 243 |
+
- son, Graeme Nail, Gr´egoire Mialon, Guan Pang, Guillem Cucurell, Hailey Nguyen, Hannah Ko-
|
| 244 |
+
|
| 245 |
+
- revaar, Hu Xu, Hugo Touvron, Iliyan Zarov, Imanol Arrieta Ibarra, Isabel M. Kloumann, Ishan
|
| 246 |
+
|
| 247 |
+
- Misra, Ivan Evtimov, Jade Copet, Jaewon Lee, Jan Geffert, Jana Vranes, Jason Park, Jay Ma- hadeokar, Jeet Shah, Jelmer van der Linde, Jennifer Billock, Jenny Hong, Jenya Lee, Jeremy Fu, Jianfeng Chi, Jianyu Huang, Jiawen Liu, Jie Wang, Jiecao Yu, Joanna Bitton, Joe Spisak, Jongsoo Park, Joseph Rocca, Joshua Johnstun, Joshua Saxe, Junteng Jia, Kalyan Vasuden Al- wala, Kartikeya Upasani, Kate Plawiak, Ke Li, Kenneth Heafield, Kevin Stone, and et al. The llama 3 herd of models. _CoRR_ , abs/2407.21783, 2024. doi: 10.48550/ARXIV.2407.21783. URL [URL removed]
|
| 248 |
+
|
| 249 |
+
11
|
| 250 |
+
|
| 251 |
+
- Yann Dubois, Bal´azs Galambosi, Percy Liang, and Tatsunori B. Hashimoto. Length-controlled
|
| 252 |
+
|
| 253 |
+
- alpacaeval: A simple way to debias automatic evaluators. _CoRR_ , abs/2404.04475, 2024. doi: 10. 48550/ARXIV.2404.04475. URL [URL removed] Robert M. French. Catastrophic interference in connectionist networks: Can it be predicted, can it be prevented? In Jack D. Cowan, Gerald Tesauro, and Joshua Alspector (eds.), _Advances_ _in Neural Information Processing Systems 6, [7th NIPS Conference, Denver, Colorado, USA,_ _1993]_ , pp. 1176–1177. Morgan Kaufmann, 1993. URL [URL removed] Yao Fu, Hao Peng, Litu Ou, Ashish Sabharwal, and Tushar Khot. Specializing smaller lan-
|
| 254 |
+
|
| 255 |
+
- guage models towards multi-step reasoning. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), _International Confer-_ _ence on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA_ , volume 202 of _Proceedings of Machine Learning Research_ , pp. 10421–10430. PMLR, 2023. URL [URL removed] Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Fos- ter, Laurence Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lin-
|
| 256 |
+
|
| 257 |
+
- tang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. A framework
|
| 258 |
+
|
| 259 |
+
- for few-shot language model evaluation, 07 2024. URL [URL removed]
|
| 260 |
+
|
| 261 |
+
- 12608602.
|
| 262 |
+
|
| 263 |
+
- Naman Goyal, Cynthia Gao, Vishrav Chaudhary, Peng-Jen Chen, Guillaume Wenzek, Da Ju, Sanjana Krishnan, Marc’Aurelio Ranzato, Francisco Guzm´an, and Angela Fan. The flores- 101 evaluation benchmark for low-resource and multilingual machine translation. _Trans. As-_ _soc. Comput. Linguistics_ , 10:522–538, 2022. doi: 10.1162/TACL _\_ ~~A~~ _\_ ~~0~~ 0474. URL https: //doi.org/10.1162/tacl_a_00474. Prannaya Gupta, Le Qi Yau, Hao Han Low, I-Shiang Lee, Hugo Maximus Lim, Yu Xin Teoh, Jia Hng
|
| 264 |
+
|
| 265 |
+
- Koh, Dar Win Liew, Rishabh Bhardwaj, Rajat Bhardwaj, and Soujanya Poria. Walledeval: A
|
| 266 |
+
|
| 267 |
+
- comprehensive safety evaluation toolkit for large language models. _CoRR_ , abs/2408.03837, 2024.
|
| 268 |
+
|
| 269 |
+
- doi: 10.48550/ARXIV.2408.03837. URL [URL removed] 03837. Yongquan He, Xuancheng Huang, Minghao Tang, Lingxun Meng, Xiang Li, Wei Lin, Wenyuan Zhang, and Yifu Gao. Don’t half-listen: Capturing key-part information in continual instruction tuning. _CoRR_ , abs/2403.10056, 2024. doi: 10.48550/ARXIV.2403.10056. URL [URL removed] Cheng-Yu Hsieh, Chun-Liang Li, Chih-Kuan Yeh, Hootan Nakhost, Yasuhisa Fujii, Alex Ratner,
|
| 270 |
+
|
| 271 |
+
- Ranjay Krishna, Chen-Yu Lee, and Tomas Pfister. Distilling step-by-step! outperforming larger language models with less training data and smaller model sizes. In Anna Rogers, Jordan L. Boyd- Graber, and Naoaki Okazaki (eds.), _Findings of the Association for Computational Linguistics:_ _ACL 2023, Toronto, Canada, July 9-14, 2023_ , pp. 8003–8017. Association for Computational Linguistics, 2023. doi: 10.18653/V1/2023.FINDINGS-ACL.507. URL [URL removed] 10.18653/v1/2023.findings-acl.507. Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. In _The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022_ .
|
| 272 |
+
|
| 273 |
+
- OpenReview.net, 2022. URL [URL removed]
|
| 274 |
+
|
| 275 |
+
- Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de Las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, L´elio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timoth´ee Lacroix, and William El Sayed. Mistral 7b. _CoRR_ , abs/2310.06825, 2023. doi: 10.48550/ARXIV.2310.06825. URL [URL removed] 06825.
|
| 276 |
+
|
| 277 |
+
12
|
| 278 |
+
|
| 279 |
+
- Wenxiang Jiao, Jen-tse Huang, Wenxuan Wang, Zhiwei He, Tian Liang, Xing Wang, Shuming
|
| 280 |
+
|
| 281 |
+
- Shi, and Zhaopeng Tu. Parrot: Translating during chat using large language models tuned with human translation and feedback. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), _Findings of the Association for Computational Linguistics: EMNLP 2023, Singapore, De-_ _cember 6-10, 2023_ , pp. 15009–15020. Association for Computational Linguistics, 2023. doi: 10.18653/V1/2023.FINDINGS-EMNLP.1001. URL [URL removed] 2023.findings-emnlp.1001. Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph
|
| 282 |
+
|
| 283 |
+
- Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model
|
| 284 |
+
|
| 285 |
+
- serving with pagedattention. In Jason Flinn, Margo I. Seltzer, Peter Druschel, Antoine Kaufmann, and Jonathan Mace (eds.), _Proceedings of the 29th Symposium on Operating Systems Principles,_ _SOSP 2023, Koblenz, Germany, October 23-26, 2023_ , pp. 611–626. ACM, 2023. doi: 10.1145/ 3600006.3613165. URL [URL removed] Jisoo Mok, Jaeyoung Do, Sungjin Lee, Tara Taghavi, Seunghak Yu, and Sungroh Yoon. Large-scale lifelong learning of in-context instructions and how to tackle it. In Anna Rogers, Jordan L. BoydGraber, and Naoaki Okazaki (eds.), _Proceedings of the 61st Annual Meeting of the Association_
|
| 286 |
+
|
| 287 |
+
- _for Computational Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-_
|
| 288 |
+
|
| 289 |
+
- _14, 2023_ , pp. 12573–12589. Association for Computational Linguistics, 2023. doi: 10.18653/
|
| 290 |
+
|
| 291 |
+
- V1/2023.ACL-LONG.703. URL [URL removed] 703. Ricardo Rei, Jos´e G. C. de Souza, Duarte M. Alves, Chrysoula Zerva, Ana C. Farinha, Taisiya Glushkova, Alon Lavie, Lu´ısa Coheur, and Andr´e F. T. Martins. COMET-22: unbabel-ist 2022 submission for the metrics shared task. In Philipp Koehn, Lo¨ıc Barrault, Ondrej Bojar, Fethi Bougares, Rajen Chatterjee, Marta R. Costa-juss`a, Christian Federmann, Mark Fishel, Alexan-
|
| 292 |
+
|
| 293 |
+
- der Fraser, Markus Freitag, Yvette Graham, Roman Grundkiewicz, Paco Guzman, Barry Had-
|
| 294 |
+
|
| 295 |
+
- dow, Matthias Huck, Antonio Jimeno-Yepes, Tom Kocmi, Andr´e Martins, Makoto Morishita,
|
| 296 |
+
|
| 297 |
+
- Christof Monz, Masaaki Nagata, Toshiaki Nakazawa, Matteo Negri, Aur´elie N´ev´eol, Mariana Neves, Martin Popel, Marco Turchi, and Marcos Zampieri (eds.), _Proceedings of the Seventh_ _Conference on Machine Translation, WMT 2022, Abu Dhabi, United Arab Emirates (Hybrid),_ _December 7-8, 2022_ , pp. 578–585. Association for Computational Linguistics, 2022. URL [URL removed] Thomas Scialom, Tuhin Chakrabarty, and Smaranda Muresan. Fine-tuned language models are
|
| 298 |
+
|
| 299 |
+
- continual learners. In Yoav Goldberg, Zornitsa Kozareva, and Yue Zhang (eds.), _Proceed-_
|
| 300 |
+
|
| 301 |
+
- _ings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP_
|
| 302 |
+
|
| 303 |
+
- _2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022_ , pp. 6107–6122. Associa- tion for Computational Linguistics, 2022. doi: 10.18653/V1/2022.EMNLP-MAIN.410. URL [URL removed]
|
| 304 |
+
|
| 305 |
+
- Haizhou Shi, Zihao Xu, Hengyi Wang, Weiyi Qin, Wenyuan Wang, Yibin Wang, and Hao Wang. Continual learning of large language models: A comprehensive survey. _CoRR_ , abs/2404.16789, 2024. doi: 10.48550/ARXIV.2404.16789. URL [URL removed]
|
| 306 |
+
|
| 307 |
+
- 2404.16789.
|
| 308 |
+
|
| 309 |
+
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Stanford alpaca: An instruction-following llama model. [URL removed] 2023. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Niko-
|
| 310 |
+
|
| 311 |
+
- lay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher,
|
| 312 |
+
|
| 313 |
+
- Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy
|
| 314 |
+
|
| 315 |
+
- Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan
|
| 316 |
+
|
| 317 |
+
13
|
| 318 |
+
|
| 319 |
+
Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aur´elien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. Llama 2: Open foundation and fine- tuned chat models. _CoRR_ , abs/2307.09288, 2023. doi: 10.48550/ARXIV.2307.09288. URL [URL removed] Somin Wadhwa, Silvio Amir, and Byron C. Wallace. Investigating mysteries of cot-augmented distillation. _CoRR_ , abs/2406.14511, 2024. doi: 10.48550/ARXIV.2406.14511. URL https: //doi.org/10.48550/arXiv.2406.14511. Peifeng Wang, Zhengyang Wang, Zheng Li, Yifan Gao, Bing Yin, and Xiang Ren. SCOTT: self- consistent chain-of-thought distillation. In Anna Rogers, Jordan L. Boyd-Graber, and Naoaki Okazaki (eds.), _Proceedings of the 61st Annual Meeting of the Association for Computational_ _Linguistics (Volume 1: Long Papers), ACL 2023, Toronto, Canada, July 9-14, 2023_ , pp. 5546– 5558. Association for Computational Linguistics, 2023. doi: 10.18653/V1/2023.ACL-LONG. 304. URL [URL removed] Yifan Wang, Yafei Liu, Chufan Shi, Haoling Li, Chen Chen, Haonan Lu, and Yujiu Yang. Inscl: A data-efficient continual learning paradigm for fine-tuning large language models with instructions. In Kevin Duh, Helena G´omez-Adorno, and Steven Bethard (eds.), _Proceedings of the 2024 Con-_ _ference of the North American Chapter of the Association for Computational Linguistics: Human_ _Language Technologies (Volume 1: Long Papers), NAACL 2024, Mexico City, Mexico, June 16-_ _21, 2024_ , pp. 663–677. Association for Computational Linguistics, 2024. doi: 10.18653/V1/2024. NAACL-LONG.37. URL [URL removed]
|
| 320 |
+
|
| 321 |
+
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi,
|
| 322 |
+
|
| 323 |
+
- Quoc V. Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh (eds.), _Advances in Neural Information Processing Systems 35: Annual Conference on Neural_ _Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - De-_ _cember 9, 2022_ , 2022. URL [URL removed] hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html. Yuxiang Wei, Zhe Wang, Jiawei Liu, Yifeng Ding, and Lingming Zhang. Magicoder: Em-
|
| 324 |
+
|
| 325 |
+
- powering code generation with oss-instruct. In _Forty-first International Conference on Ma-_
|
| 326 |
+
|
| 327 |
+
- _chine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024_ . OpenReview.net, 2024. URL [URL removed] Tongtong Wu, Linhao Luo, Yuan-Fang Li, Shirui Pan, Thuy-Trang Vu, and Gholamreza Haffari. Continual learning for large language models: A survey. _CoRR_ , abs/2402.01364, 2024. doi: 10. 48550/ARXIV.2402.01364. URL [URL removed]
|
| 328 |
+
|
| 329 |
+
- Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. LESS: selecting influential data for targeted instruction tuning. In _Forty-first International Conference_ _on Machine Learning, ICML 2024, Vienna, Austria, July 21-27, 2024_ . OpenReview.net, 2024. URL [URL removed] Weimin Xiong, Yifan Song, Peiyi Wang, and Sujian Li. Rationale-enhanced language models are
|
| 330 |
+
|
| 331 |
+
- better continual relation learners. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), _Proceed-_
|
| 332 |
+
|
| 333 |
+
- _ings of the 2023 Conference on Empirical Methods in Natural Language Processing, EMNLP_
|
| 334 |
+
|
| 335 |
+
- _2023, Singapore, December 6-10, 2023_ , pp. 15489–15497. Association for Computational Lin- guistics, 2023. doi: 10.18653/V1/2023.EMNLP-MAIN.958. URL [URL removed] 18653/v1/2023.emnlp-main.958. Haoran Xu, Young Jin Kim, Amr Sharaf, and Hany Hassan Awadalla. A paradigm shift in machine translation: Boosting translation performance of large language models. In _The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024_ .
|
| 336 |
+
|
| 337 |
+
- OpenReview.net, 2024a. URL [URL removed]
|
| 338 |
+
|
| 339 |
+
- Rongwu Xu, Zehan Qi, and Wei Xu. Preemptive answer ”attacks” on chain-of-thought reason- ing. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), _Findings of the Associa-_ _tion for Computational Linguistics, ACL 2024, Bangkok, Thailand and virtual meeting, August 11-16, 2024_ , pp. 14708–14726. Association for Computational Linguistics, 2024b. doi: 10.
|
| 340 |
+
|
| 341 |
+
14
|
| 342 |
+
|
| 343 |
+
18653/V1/2024.FINDINGS-ACL.876. URL [URL removed] findings-acl.876.
|
| 344 |
+
|
| 345 |
+
- Wen Yang, Chong Li, Jiajun Zhang, and Chengqing Zong. Bigtrans: Augmenting large language models with multilingual translation capability over 100 languages. _CoRR_ , abs/2305.18098, 2023. doi: 10.48550/ARXIV.2305.18098. URL [URL removed] 18098.
|
| 346 |
+
|
| 347 |
+
-
|
| 348 |
+
|
| 349 |
+
- Zhaorui Yang, Tianyu Pang, Haozhe Feng, Han Wang, Wei Chen, Minfeng Zhu, and Qian Liu. Self-distillation bridges distribution gap in language model fine-tuning. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), _Proceedings of the 62nd Annual Meeting of the Association_ _for Computational Linguistics (Volume 1: Long Papers), ACL 2024, Bangkok, Thailand, August_ _11-16, 2024_ , pp. 1028–1043. Association for Computational Linguistics, 2024. URL https: //aclanthology.org/2024.acl-long.58.
|
| 350 |
+
|
| 351 |
+
- Wenpeng Yin, Jia Li, and Caiming Xiong. Contintin: Continual learning from task instructions.
|
| 352 |
+
|
| 353 |
+
- In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio (eds.), _Proceedings of the 60th_ _Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL_ _2022, Dublin, Ireland, May 22-27, 2022_ , pp. 3062–3072. Association for Computational Linguis- tics, 2022. doi: 10.18653/V1/2022.ACL-LONG.218. URL [URL removed] v1/2022.acl-long.218. Shaolei Zhang, Qingkai Fang, Zhuocheng Zhang, Zhengrui Ma, Yan Zhou, Langlin Huang, Mengyu
|
| 354 |
+
|
| 355 |
+
- Bu, Shangtong Gui, Yunji Chen, Xilin Chen, and Yang Feng. Bayling: Bridging cross-lingual
|
| 356 |
+
|
| 357 |
+
- alignment and instruction following through interactive translation for large language models.
|
| 358 |
+
|
| 359 |
+
- _CoRR_ , abs/2306.10968, 2023. doi: 10.48550/ARXIV.2306.10968. URL [URL removed] 10.48550/arXiv.2306.10968.
|
| 360 |
+
|
| 361 |
+
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena. In Alice Oh, Tristan Naumann, Amir Globerson, Kate Saenko, Moritz Hardt, and Sergey Levine (eds.),
|
| 362 |
+
|
| 363 |
+
- _Advances in Neural Information Processing Systems 36: Annual Conference on Neural In-_
|
| 364 |
+
|
| 365 |
+
- _formation Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10_
|
| 366 |
+
|
| 367 |
+
- _- 16, 2023_ , 2023. URL [URL removed] hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_ Benchmarks.html.
|
| 368 |
+
|
| 369 |
+
- Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, and Yongqiang Ma. Lla- mafactory: Unified efficient fine-tuning of 100+ language models. _CoRR_ , abs/2403.13372, 2024. doi: 10.48550/ARXIV.2403.13372. URL [URL removed]
|
| 370 |
+
|
| 371 |
+
- 13372.
|
| 372 |
+
|
| 373 |
+
-
|
| 374 |
+
|
| 375 |
+
Andy Zou, Zifan Wang, J. Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. _CoRR_ , abs/2307.15043, 2023. doi: 10.48550/ARXIV.2307. 15043. URL [URL removed]
|
| 376 |
+
|
| 377 |
+
15
|
| 378 |
+
|
| 379 |
+
## A BASELINE DETAILS
|
| 380 |
+
|
| 381 |
+
A.1 CONTINUAL INSTRUCTION TUNING BASELINES **813 814 Vanilla Fine-tuning.** This method directly fine-tunes the backbone LLMs with translation data, without incorporating any mechanism to address the forgetting issue.
|
| 382 |
+
|
| 383 |
+
**818 Sequence-level Knowledge Distillation (Seq-KD).** This method first sends the formatted trans- lation instructions to the backbone LLM and generates outputs **y** _[′]_ . The model is trained with both golden references **y** and the self-generated outputs **y** _[′]_ . The overall training objective is:
|
| 384 |
+
|
| 385 |
+
. _L_ Seq-KD = _L_ ( **x** _,_ **y** ; _θ_ ) + _L_ ( **x** _,_ **y** _[′]_ ; _θ_ ) (5) = _−_ log _P_ ( **y** _|_ **x** _, I_ ; _θ_ ) _−_ log _P_ ( **y** _[′] |_ **x** _, I_ ; _θ_ ) **824 825 Self-distillation Fine-tuning (SDFT). (Yang et al., 2024)** This method first prompts the backbone LLM to paraphrase the original responses present in the task dataset, yielding a distilled dataset. Subsequently, the distilled dataset, which is used in subsequent fine-tuning, helps narrow the dis- tribution gap between LLM and the original dataset. We adopt the general distillation template provided in their paper to paraphrase the dataset. **830 831 832 833 Multi-task fine-tuning (Multi-task)** . This method employs open-sourced instruction following datasets and fine-tunes the LLM with both translation and instruction following data. Specifically, we adopt Alpaca (Taori et al., 2023) and Dolly (Conover et al., 2023) as the chosen instruction following dataset. Note that multi-task fine-tuning utilizes more data in the training process and is usually considered the upper bound of the continual learning approaches. A.2 PRIOR LLM-BASED MT MODELS
|
| 386 |
+
|
| 387 |
+
**Self-distillation Fine-tuning (SDFT). (Yang et al., 2024)** This method first prompts the backbone LLM to paraphrase the original responses present in the task dataset, yielding a distilled dataset. Subsequently, the distilled dataset, which is used in subsequent fine-tuning, helps narrow the distribution gap between LLM and the original dataset. We adopt the general distillation template provided in their paper to paraphrase the dataset.
|
| 388 |
+
|
| 389 |
+
> **841 ParroT** (Jiao et al., 2023) reformulates translation data into the instruction-following style and introduces a ”Hint” field for incorporating extra requirements to regulate the translation process. It is also fine-tuned on the Alpaca dataset to enhance general ability.
|
| 390 |
+
|
| 391 |
+
**BigTrans** (Yang et al., 2023) continual pre-train LLaMA-1-13B with Chinese monolingual data and an extensive parallel dataset encompassing 102 natural languages. They then apply multilingual translation instructions for fine-tuning. **848 849 850 BayLing** (Zhang et al., 2023) builds an interactive translation dataset and fine-tune LLaMA-1 models with both interactive translation and instruction-following datasets (Alpaca). **851 852 853 ALMA** (Xu et al., 2024a) a new training recipe for building LLM-based MT models,
|
| 392 |
+
|
| 393 |
+
**853 ALMA** (Xu et al., 2024a) proposes a new training recipe for building LLM-based MT models, which begins with initial fine-tuning on monolingual data and then progresses to fine-tuning on a select set of high-quality parallel data.
|
| 394 |
+
|
| 395 |
+
**TowerInstruct** (Alves et al., 2024) propose a recipe for tailoring LLMs to multiple tasks present in translation workflows. They perform continued pre-training on a multilingual mixture of monolingual and parallel data, followed by fine-tuning instructions relevant to translation processes and general tasks.
|
| 396 |
+
|
| 397 |
+
In our experiments, we utilized the 7B models as baselines for ParroT, BayLing, ALMA and TowerInstruct to ensure a fair comparison of model size.
|
| 398 |
+
|
| 399 |
+
16
|
| 400 |
+
|
| 401 |
+
## B TRAINING DETAILS
|
| 402 |
+
|
| 403 |
+
B.1 PROMPT TEMPLATES
|
| 404 |
+
|
| 405 |
+
In all experiments, we use the original instruction format of the backbone LLM for both rationale generation and fine-tuning. For LLaMA To avoid the overfit on specific instructions. 5 different translation instructions are generated and randomly applied to each sample. The instructions are shown in Figure 5.
|
| 406 |
+
|
| 407 |
+
|||||
|
| 408 |
+
|---|---|---|---|
|
| 409 |
+
|||**Instruction 1:**||
|
| 410 |
+
|||Could you please translate this sentence from _{_lang1_}_ to _{_lang2_}_?||
|
| 411 |
+
|<br><br><br>||_{_sent1_}_<br>**Instruction 2:**<br>Translate the following sentence from _{_lang1_}_ to _{_lang2_}_:<br>_{_sent1_}_<br>**Instruction 3:**||
|
| 412 |
+
|||Translate this sentence from _{_lang1_}_ to _{_lang2_}_.||
|
| 413 |
+
|||_{_sent1_}_||
|
| 414 |
+
|||**Instruction 4:**||
|
| 415 |
+
|||Translate from _{_lang1_}_ to _{_lang2_}_:||
|
| 416 |
+
|||_{_sent1_}_||
|
| 417 |
+
|||**Instruction 5:**||
|
| 418 |
+
|||_{_sent1_}_||
|
| 419 |
+
|||Translate this sentence to _{_lang2_}_.||
|
| 420 |
+
|||||
|
| 421 |
+
||||Figure 5: The translation instructions.|
|
| 422 |
+
|||||
|
| 423 |
+
|||||
|
| 424 |
+
||B.2|HYPERPARAMETER||
|
| 425 |
+
|
| 426 |
+
Due to the limitation of resources, our experiments utilize the Low-Rank Adaptation (LoRA) tech- nique (Hu et al., 2022). Specifically, we integrate a LoRA adapter with a rank of 16 into all the linear layers of the LLMs and exclusively train the adapter. The LLMs are fine-tuned over three epochs on the translation dataset, which equates to approximately 2,500 steps. We use a learning rate of 1 _×_ 10 _[−]_[4] and a batch size of 128 to ensure stable training across most experiments. An excep- tion is Seq-KD, which requires a batch size of 256 to maintain the same number of training steps. All experiments are performed on 4 NVIDIA A100 80GB GPUs. For data synthesis, we employ vllm (Kwon et al., 2023) to facilitate fast data generation. For evaluation, we primarily use greedy decoding to ensure reproducibility, except where specific generation configurations are mandated by certain benchmark tools. C COMPARISON WITH TOWERINSTRUCT Given that TowerInstruct has been fine-tuned on the WMT’22 test set, we shifted the transla- tion test set to the WMT’23 test set. We report the performance of the best model in our pa- per (Mistral+RaDis) alongside ALMA and TowerInstruct. To further demonstrate the potential of our approach, we also conducted new experiments with Qwen2.5-Instruct as the backbone (Qwen2.5+RaDis).
|
| 427 |
+
|
| 428 |
+
As shown in Table 6, RaDis consistently outperforms TowerInstruct-v0.2 in terms of preserving gen-
|
| 429 |
+
|
| 430 |
+
eral abilities. This is primarily due to the fact that TowerInstruct-v0.2 is fine-tuned using UltraChat, which, like other open-sourced instruction datasets, suffers from lower quality.
|
| 431 |
+
|
| 432 |
+
In terms of translation, TowerInstruct-v0.2 achieves higher performance, largely due to the benefits of multilingual pre-training and extensive parallel fine-tuning. However, we would like to emphasize the strong potential of our approach from two key perspectives:
|
| 433 |
+
|
| 434 |
+
- • **RaDis is more efficient** : The training times for TowerBase 7B and 13B were 80 and 160 GPU days, respectively, using A100-80GB GPUs. Fine-tuning TowerInstruct adds an ad-
|
| 435 |
+
|
| 436 |
+
17
|
| 437 |
+
|
| 438 |
+
Table 6: Comparison to TowerInstruct-v0.2. The best result in each column is marked in **bold** . The
|
| 439 |
+
|
| 440 |
+
second best is _italicized_ . **920 921 Models Machine Translation Conversation and Instruction Following Safety Reasoning 922 X** _→_ **EN EN** _→_ **X MT-bench AlpacaEval AlpacaEval 2.0 AdvBench GSM8K 923 Mistral-7B-Instruct-v0.2** 80.84 67.79 7.67 84.91 15.09 68.46 41.62 **924 w/ RaDis** 80.64 80.58 7.57 80.34 11.05 62.12 41.70 **Qwen2.5-7B-Instruct** 80.90 80.50 **8.58 88.46 31.55 99.81** _87.72_ **925 w/ RaDis** _82.13 82.81 8.44 85.62 27.91 99.04_ **88.78 926** ALMA-7B 81.65 81.91 2.80 1.08 0.17 - 0.00 TowerInstruct-7B-v0.2 **82.77 84.28** 5.71 51.59 4.02 30.19 7.35 ditional 200 GPU hours. In contrast, RaDis requires only 20 GPU hours (4 hours for generating rationales and 16 hours for training), which is less than 1% of the training cost for TowerInstruct-7B, while still achieving strong performance. • **RaDis can benefit from stronger backbone LLM** : While TowerInstruct achieves better translation performance, RaDis can effectively bridge this gap by leveraging a stronger backbone LLM. As shown in ‘Table 2‘, switching the backbone from Mistral to Qwen2.5 leads to substantial improvements across all tasks and outperforms ALMA. We believe that as open-source multilingual LLMs continue to improve, the performance gap in translation will gradually narrow.
|
| 441 |
+
|
| 442 |
+
Together, these results underscore the advantages of our approach and demonstrate that RaDis offers
|
| 443 |
+
|
| 444 |
+
a novel and competitive paradigm for building LLMs that excel in both translation proficiency and
|
| 445 |
+
|
| 446 |
+
general ability. D GENERALIZING RADIS TO OTHER TASKS In this paper, we predominately grounded RaDis to the MT task. However, RaDis can serve as a universal CIT method for broader tasks. In this section, we demonstrate this potential with the code generation task. Specifically, we fine-tuned Mistral-v0.2 on Python code data from the Magicoder dataset (Wei et al., 2024) and evaluated its performance using HumanEval (Chen et al., 2021) and general ability benchmarks. Table 7: Experiments on code generation. The best result in each column is marked in **bold** . **952 953 954 Models Code Generation Conversation and Instruction Following Safety Reasoning HumanEval AlpacaEval AlpacaEval 2.0 AdvBench GSM8K 955 Mistral-7B-Instruct-v0.2** 36.59 84.91 15.09 68.46 41.62 **956 w/ Vanilla-FT** 42.07 73.89 8.75 40.00 **43.97 957 w/ SDFT** 40.24 78.58 10.46 48.08 40.86 **w/ RaDis 43.90 80.25 11.4 51.92** 42.91 As shown in Table 7, RaDis outperforms Vanilla-FT and SDFT in code generation tasks, achieving higher Pass@1 on HumanEval and excelling in other benchmarks for general abilities.
|
| 447 |
+
|
| 448 |
+
A key reason for this is that RaDis directly preserves the original references in the dataset, whereas
|
| 449 |
+
|
| 450 |
+
SDFT paraphrases them. Intuitively, while paraphrasing helps bridge the distribution gap, it also reduces the amount of learnable knowledge. As a result, SDFT may struggle to outperform Vanilla- FT on certain tasks. In contrast, RaDis directly utilizes the original references, preserving all the knowledge embedded in the data.
|
| 451 |
+
|
| 452 |
+
Regarding performance on general tasks, RaDis still outperforms SDFT. We believe this can be
|
| 453 |
+
|
| 454 |
+
attributed to the distribution gap. While SDFT claims to distill the dataset, it actually paraphrases
|
| 455 |
+
|
| 456 |
+
the data. As a result, the model’s responses are sampled from the paraphrased instruction’s output distribution, which tends to be out-of-distribution relative to the original task instruction. In contrast, RaDis performs self-distillation using rationales, which are fully in-distribution. This enables RaDis
|
| 457 |
+
|
| 458 |
+
Regarding performance on general tasks, RaDis still outperforms SDFT. We believe this can be attributed to the distribution gap. While SDFT claims to distill the dataset, it actually paraphrases the data. As a result, the model’s responses are sampled from the paraphrased instruction’s output distribution, which tends to be out-of-distribution relative to the original task instruction. In contrast, RaDis performs self-distillation using rationales, which are fully in-distribution. This enables RaDis to more effectively alleviate forgetting and better preserve general abilities.
|
| 459 |
+
|
| 460 |
+
18
|
| 461 |
+
|
| 462 |
+
These results suggest that RaDis generalizes well to a broader range of tasks, highlighting its po- tential as a robust, general-purpose continual instruction tuning method. We plan to investigate this potential in future works.
|
| 463 |
+
|
| 464 |
+
E RATIONALE EXAMPLES Several examples of rationales generated by Mistral-7B-Instruct-v0.2 are provided in Figure 7,8,9,10,11,12,13.
|
| 465 |
+
|
| 466 |
+
**981 Instruction: 982** Translate this sentence from Czech to English. Policie cel´y pˇr´ıpad ˇr´adnˇe proˇsetˇrila a ´utoˇcn´ıka posl´eze vyp´atrala. **984 985 Response: 986** The police investigated the case thoroughly and finally tracked down the assailant. **987 988 Rationale: 989** Explanation: In this sentence, ”policie” means ”police,” ”cel´y pˇr´ıpad” means ”the entire case,” ”ˇr´adnˇe proˇsetˇrila” means ”thoroughly investigated,” and ”vyp´atrala” means ”tracked down” or ”found.” The past tense verbs ”proˇsetˇrila” and ”vyp´atrala” both end in ”-la,” which is the feminine singular past tense ending in Czech. Since there is no definite article before ”policie,” it is assumed to be in the neutral form, which is why the verb forms are in the feminine singu- lar. In English, we keep the same meaning but change the word order to ”the police investi- gated the case thoroughly and finally found the assailant.”
|
| 467 |
+
|
| 468 |
+
Figure 6: Example of rationale containing word/phrase translation. **999 1000 1001 Instruction: 1002** Could you please translate this sentence from Czech to English? **1003** Tak to vypad´a, kdyˇz se lid´e za odpoˇcinkem a z´abavou pˇresunou nˇekam, kde je to velmi **1004** odliˇsn´e od jejich kaˇzdodenn´ıho ˇzivota. **1005 Response: 1006** This is when people go to a place that is very different from their regular day-to-day life to **1007** relax and have fun. **1008**
|
| 469 |
+
|
| 470 |
+
> **1009 Rationale:**
|
| 471 |
+
|
| 472 |
+
> **1010** or
|
| 473 |
+
|
| 474 |
+
> **1011** It looks like this when people move to a place that is quite different from their everyday life **1012** for relaxation and enjoyment. **1013 1014 1015** Figure 7: Example of rationale containing alternative translation. **1016 1017 1018 1019 1020 1021 1022 1023 1024 1025**
|
| 475 |
+
|
| 476 |
+
19
|
| 477 |
+
|
| 478 |
+
**==> picture [432 x 641] intentionally omitted <==**
|
| 479 |
+
|
| 480 |
+
**----- Start of picture text -----**<br>
|
| 481 |
+
1026<br>1027<br>1028<br>Instruction:<br>1029<br>Translate the following sentence from English to Chinese:<br>1030<br>But denuclearization negotiations have stalled.<br>1031<br>1032 Response:<br>1033 但无核化谈判陷入了僵局。<br>1034<br>1035 Rationale:<br>1036 This translation is provided for information purposes only and may not be 100% accurate. It<br>1037 is always recommended to consult a professional translator for important documents or con-<br>versations.<br>1038<br>1039<br>1040<br>Figure 8: Example of rationale containing helpful&safety information.<br>1041<br>1042<br>1043<br>1044<br>1045<br>1046<br>Instruction:<br>1047 Translate from English to Czech:<br>1048 It will support their training.<br>1049<br>1050 Response:<br>1051 Podpoˇr´ı jejich v´ycvik.<br>1052<br>1053 Rationale:<br>1054 This sentence means that the action or thing being referred to will help or contribute to the<br>1055 training of the people mentioned.<br>1056<br>1057<br>Figure 9: Example of rationale containing semantic explanation.<br>1058<br>1059<br>1060<br>1061<br>1062<br>1063<br>Instruction:<br>1064<br>Could you please translate this sentence from English to Chinese?<br>1065<br>According to their research, a single tea bag can release more than 11.6 billion plastic parti-<br>1066 cles, ”which is higher than the plastic load of other earlier foods by several magnitudes”.<br>1067<br>1068 Response:<br>1069 根据这项研究显示,他们发现,单一茶袋释出超过 116 亿颗塑料微粒, “ 较先前其他食物��<br>”<br>1070 塑料负荷量高出好几个级数 。<br>1071<br>1072 Rationale:<br>This sentence translates to:<br>1073<br>1074 According to their research, a single tea bag releases over 11.6 billion plastic particles, which<br>is several magnitudes higher than the plastic load of other earlier foods.<br>1075<br>1076<br>1077<br>Figure 10: Example of rationale containing back-translation.<br>1078<br>1079<br>**----- End of picture text -----**<br>
|
| 482 |
+
|
| 483 |
+
20
|
| 484 |
+
|
| 485 |
+
**==> picture [432 x 641] intentionally omitted <==**
|
| 486 |
+
|
| 487 |
+
**----- Start of picture text -----**<br>
|
| 488 |
+
1080<br>1081<br>1082<br>1083<br>1084 Instruction:<br>1085 Translate from English to Czech:<br>1086 Its second claw was larger, giving rise to the name Hesperonychus which means ”western<br>1087 claw.”<br>1088<br>Response:<br>1089<br>Jeho druh´y dr´ap byl vˇetˇs´ı, a proto byl pojmenov´an Hesperonychus, coˇz znamen´a ”z´apadn´ı<br>1090<br>dr´ap“.<br>1091<br>1092 Rationale:<br>1093 This dinosaur was a theropod, a group of dinosaurs that includes meat-eating species. Hesper-<br>1094 onychus lived during the Late Cretaceous period, around 75 to 73 million years ago, in what<br>1095 is now the southwestern United States. Its fossils have been found in the Morrison Formation<br>1096 in Colorado and Utah.<br>1097 Hesperonychus was a relatively small theropod, with an estimated length of about 3 meters<br>1098 (10 feet) and weight of around 30 kilograms (66 pounds). It had a long, low snout and small,<br>1099 sharp teeth, suggesting that it may have been an agile predator that hunted small prey.<br>1100 The most distinctive feature of Hesperonychus was its second toe, which was much larger<br>than the others. This feature gave rise to its name, as ”hespero” means ”western” and ”ny-<br>1101<br>chus” means ”claw.” The large claw was likely used for gripping and holding onto branches<br>1102<br>or prey, making Hesperonychus a unique and intriguing dinosaur.<br>1103 Despite its small size, Hesperonychus was an important discovery in the study of dinosaur<br>1104 evolution, as it provided evidence of the diversity of theropod foot structures during the Late<br>1105 Cretaceous period.<br>1106<br>1107<br>1108 Figure 11: Example of rationale containing factual supplement.<br>1109<br>1110<br>1111<br>1112<br>1113<br>1114<br>1115<br>1116<br>1117 Instruction:<br>1118 Could you please translate this sentence from Czech to English?<br>1119 ” [I] [kdyby] [vˇsechno] [ostatn´ı] [na] [svˇetˇe] [bylo] [ˇspatnˇe,] [on] [byl] [nebrouˇsen´y] [diamant,] [kter´y] [oz´aˇril] [kaˇzd´y]<br>1120 den“, ˇrekl.”<br>1121<br>Response:<br>1122<br>”With everything else that’s going wrong with the world, he was that diamond in the rough<br>1123<br>that was shining bright every day,” he said.<br>1124<br>1125 Rationale:<br>1126 This idiomatic expression ”diamond in the rough” refers to someone who has great potential<br>1127 or value, despite not being polished or perfect yet.<br>1128<br>1129<br>1130 Figure 12: Example of rationale containing word/phrase explanation.<br>1131<br>1132<br>1133<br>**----- End of picture text -----**<br>
|
| 489 |
+
|
| 490 |
+
21
|
| 491 |
+
|
| 492 |
+
**1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 Instruction: 1153** Wir k¨onnen froh sein, dass wir diese Zeit l¨angst ¨uberwunden haben. **1154** Translate this sentence to English. **1155 1156 Response: 1157** We can be glad that we have long overcome this time. **1158 Rationale: 1159** Explanation: The sentence in German means ”We can be glad that we have got over this time **1160** a long time ago.” The past perfect tense ”haben ¨uberwunden” (have overcome) is used to ex- **1161** press that an action was completed in the past. The subjunctive mood ”k¨onnen sein” (can be) **1162** is used to express a state of being or a condition. The past participle ”¨uberwunden” agrees **1163** with the subject ”wir” (we) in gender and number. The article ”diese” refers to the time men- **1164** tioned earlier in the sentence. The word ”l¨angst” (long) is an adverb that modifies the verb **1165** ”¨uberwunden” and indicates that the action was completed a long time ago. The sentence **1166** in English conveys the same meaning, but uses the past perfect continuous tense ”have been **1167** glad” to express the same idea of a past state that continues up to the present. **1168 1169 1170** Figure 13: Example of rationale containing grammar information. **1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187**
|
| 493 |
+
|
| 494 |
+
22
|
| 495 |
+
|
open_review/iclr2025_13858.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13858",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Machine Unlearning in Audio: Bridging The Modality Gap Via the Prune and Regrow Paradigm",
|
| 6 |
+
"abstract": "The ubiquity and success of deep learning is primarily owed to large human datasets; however, increasing interest in personal data raises questions of how to satisfy privacy legislation in deep learning. Machine unlearning is a nascent discipline centred on satisfying user privacy demands, by enabling data removal requests on trained models. While machine unlearning has reached a good level of maturity in the vision and language domains, applications in audio are largely underexplored, despite it being a highly prevalent and widely used modality. We address this modality gap by providing the first systematic analysis of machine unlearning techniques covering multiple architectures trained on audio datasets. Our analysis highlights that in audio, existing methods fail to remove data for the most likely case of unlearning -- Item Removal. We present a novel Prune and Regrow Paradigm that bolsters sparsity unlearning through Cosine and Post Optimal Pruning, achieving the best unlearning accuracy for 9/12 (75%) of Item Removal experiments and best, or joint best, for for 50% (6/12) of Class Removal Experiments. Furthermore, we run experiments showing performance as unlearning requests scale, and we shed light on the mechanisms underpinning the success of our Prune and Regrow Paradigm.",
|
| 7 |
+
"rebuttal": "### Clarification\nPlease may you clarify why the score has remained as it is or where you feel we did not meet your requirements for a higher score?\n\nWe have addressed the issue around using minimal datasets by increasing the number to four and show that our method presents state of the art results for Item Removal for more complex datasets such as SpeechCommands, UrbanSounds8K and CIFAR10 which is the most important task in machine unlearning literature. \n\n\nAdditionally, we have described why our method is more performant and the benefits it yields over using fixed sparsity pruning. If you would like further clarification on why this is important we can provide it. Furthermore, the description has been modified to highlight this. \n\nThe issues surround formatting errors have been addressed and finally we have further supported our claim of generalisability of the method by showing its success on CIFAR - being the best for Item removal and highly competitive for Class removal with the corresponding scaling experiments and loss distribution analysis.\n\n### Further questions for Reviewer 2Puu\nThank you for acknowledging the improvements in our paper and responding to our comments.\n\nWe have further questions to clarify some of the further points you have raised. \n\n1. Not addressing \"The experiment is limited to 2 datasets, both not related to privacy directly.\" \n\nWe have addressed this point by expanding the experiment to cover 4 datasets (AudioMNIST, SpeechCommands, UrbanSounds8K and CIFAR10) instead of 2. What number of datasets would be sufficient to expand the number of datasets?\n\nFurthermore, given that GDPR dictates that any personal voi [...]\n\n### Overall Reviewer Responses\nWe want to thank all of the reviewers for the time they have dedicated to providing their feedback. Below we address some of the reviewers’ shared concerns. \n\n\n1. Clarity of method description:\n\n\nIn response to the reviewers’ suggestion to provide a more detailed explanation of our method ,we have refined our method and description, and have re-run our experiments, now averaging our results over 10 runs instead of 5 for all experiments. \n\nWe have added Figures 1 and 2 to aid the explanation of the Prune and Regrow Paradigm: Figure 1 represents the process that o [...]\n\n### Part 2:\n4. Not using Audio Models/AST\n\nIn the review, the Audio Spectrogram Transformer is referenced as a specialized audio model. Hugging face (https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) describes the AST as: “The Audio Spectrogram Transformer is equivalent to ViT, but applied on audio. Audio is first turned into an image (as a spectrogram), after which a Vision Transformer is applied.” and the AST paper remarks that “Even with no patch split overlap, AST can still outperform the previous best system” [4]. In our paper, we use mel spectrogram and then pass it to a Vi [...]\n\n### Part 2:\n5. There should be more motivation in the introduction why this problem is important. For example, I understand why item removal is important (a person wants to remove all of their audio in a dataset) but why is class removal important for request to be forgotten?\n\nItem and class removal are unlearning tasks that are well represented in the literature and have been studied in isolation (Item Removal:[2],[3],[4]) (Class Removal: ,[5],[6],[7],[8],[9]) as well as together [10],[11]. In particular, we would like to draw the reviewer's attention to [10] which was a spotlight paper at [...]\n\n### Part 2:\n3. Complexity of datasets + New audio dataset:\n\nAs this represents one of the first comprehensive studies on unlearning in audio, we establish an essential foundation for future research to expand upon by exploring larger models and datasets.\n\nThe most popular datasets to explore machine unlearning in the literature are small datasets such as MNIST, SHVN and CIFAR10 to evaluate unlearning according to these machine unlearning surveys [12],[13],[14]). As a result, our study uses AudioMNIST due to its conceptual resemblance to MNIST used in previous work, and SpeechCommnads V2, a wid [...]\n\n### Question for reviewer:\nWe thank the reviewer for considering our further work and increasing the score of our paper. Your suggestions significantly improved the work, and we thank you for that. \n\nWe have a question for the reviewer that may help further describe our perspective on not employing the pre-trained model. \n\nIf pretraining (even on Image datasets such as the case for the AST) enables a more informed prior (initialisation point) that allows improved accuracy, is the model not using features learned from the previous dataset to enable it to get better accuracy?\n\nAs we see that thi [...]\n\n### References\nReferences: \n\n[1] Mason-Williams, G. and Dahlqvist, F., 2024. What Makes a Good Prune? Maximal Unstructured Pruning for Maximal Cosine Similarity. In The Twelfth International Conference on Learning Representations.\n\n[2] Fort, S., Hu, H. and Lakshminarayanan, B., 2019. Deep ensembles: A loss landscape perspective. arXiv preprint arXiv:1912.02757.\n\n[3] Nguyen, T.T., Huynh, T.T., Nguyen, P.L., Liew, A.W.C., Yin, H. and Nguyen, Q.V.H., 2022. A survey of machine unlearning. arXiv preprint arXiv:2209.02299.\n\n[4] Liu, J., Ram, P., Yao, Y., Liu, G., Liu, Y., SHARMA, P. and Liu, S., 202 [...]\n\n### References:\n[1] Cheng, J. and Amiri, H., 2024. Mu-bench: A multitask multimodal benchmark for machine unlearning. arXiv preprint arXiv:2406.14796.\n\n[2] Cheng, J., Dasoulas, G., He, H., Agarwal, C. and Zitnik, M., 2023. Gnndelete: A general strategy for unlearning in graph neural networks. arXiv preprint arXiv:2302.13406.\n\n[3] He, Y., Meng, G., Chen, K., He, J. and Hu, X., 2021. Deepobliviate: a powerful charm for erasing data residual memory in deep neural networks. arXiv preprint arXiv:2105.06209.\n\n[4] Bourtoule, L., Chandrasekaran, V., Choquette-Choo, C.A., Jia, H., Travers, A., Zhang, B [...]\n\n### References:\n[1] Cheng, J., Dasoulas, G., He, H., Agarwal, C. and Z\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
3,
|
| 12 |
+
3,
|
| 13 |
+
5
|
| 14 |
+
],
|
| 15 |
+
"score_mean": 4.6,
|
| 16 |
+
"score_variance": 2.3,
|
| 17 |
+
"score_spread": 3,
|
| 18 |
+
"score_min": 3,
|
| 19 |
+
"score_max": 6,
|
| 20 |
+
"decision": "Reject",
|
| 21 |
+
"rebuttal_validity_ground_truth": false,
|
| 22 |
+
"meta_review": "This paper investigates the effectiveness of 5 existing machine unlearning methods in the audio domain, focusing on the datasets AudioMNIST, UrbanSound8K and SpeechCommands v2, using 3 different main classes of model architectures (VGGish, CCT, ViT), but without pre-training their models. This makes analysis easier, but almost all real-world use cases rely on pre-trained models. Authors show that current unlearning techniques work for class removal but not item removal. To address this, they introduce Cosine Similarity and Post Optimal Prune within a \"Prune and Regrow\" paradigm and show improved performance (83% unlearning accuracy gap) for Post Optimal Prune. Authors also show that the proposed model generalizes to other domains, since it achieves good results on CIFAR10, a standard dataset for machine unlearning. \n\nDuring the rebuttal, one reviewer raised their score in light of the authors' explanation and additional experiments provided (specifically on CIFAR 10). The AC agrees that the rebuttal has made the paper stronger, and it could now be accepted, but overall opinion is split. Authors' argument for not using pre-trained models because the interpretation is more difficult means that the results are less relevant to practical models, and the paper is now also not the very first such study on audio. After reviewing the paper itself, the AC recommends that authors further update the paper (specifically, the analysis and conclusion) since with the inclusion of CIFAR10 ex",
|
| 23 |
+
"forum_id": "i3tBySZWrR",
|
| 24 |
+
"primary_area": "alignment, fairness, safety, privacy, and societal considerations",
|
| 25 |
+
"n_reviews": 5,
|
| 26 |
+
"per_review": [
|
| 27 |
+
{
|
| 28 |
+
"reviewer": "Reviewer_PAef",
|
| 29 |
+
"review_id": "ZWLjj1sJ1b",
|
| 30 |
+
"scores": {
|
| 31 |
+
"rating": 6,
|
| 32 |
+
"soundness": 2,
|
| 33 |
+
"presentation": 2,
|
| 34 |
+
"contribution": 2,
|
| 35 |
+
"confidence": 4
|
| 36 |
+
},
|
| 37 |
+
"review_text_chars": 2486,
|
| 38 |
+
"edit_detected": true,
|
| 39 |
+
"edit_delta_seconds": 2454264,
|
| 40 |
+
"post_rebuttal_text_signal": false,
|
| 41 |
+
"score_mentions_in_text": []
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"reviewer": "Reviewer_Byqm",
|
| 45 |
+
"review_id": "vO3jxOtv86",
|
| 46 |
+
"scores": {
|
| 47 |
+
"rating": 6,
|
| 48 |
+
"soundness": 3,
|
| 49 |
+
"presentation": 3,
|
| 50 |
+
"contribution": 2,
|
| 51 |
+
"confidence": 3
|
| 52 |
+
},
|
| 53 |
+
"review_text_chars": 4044,
|
| 54 |
+
"edit_detected": true,
|
| 55 |
+
"edit_delta_seconds": 2403162,
|
| 56 |
+
"post_rebuttal_text_signal": true,
|
| 57 |
+
"score_mentions_in_text": []
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"reviewer": "Reviewer_2Puu",
|
| 61 |
+
"review_id": "HCumPhQJVs",
|
| 62 |
+
"scores": {
|
| 63 |
+
"rating": 3,
|
| 64 |
+
"soundness": 1,
|
| 65 |
+
"presentation": 1,
|
| 66 |
+
"contribution": 2,
|
| 67 |
+
"confidence": 3
|
| 68 |
+
},
|
| 69 |
+
"review_text_chars": 1576,
|
| 70 |
+
"edit_detected": true,
|
| 71 |
+
"edit_delta_seconds": 806233,
|
| 72 |
+
"post_rebuttal_text_signal": false,
|
| 73 |
+
"score_mentions_in_text": []
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"reviewer": "Reviewer_Zz5w",
|
| 77 |
+
"review_id": "yPm9vOM5gd",
|
| 78 |
+
"scores": {
|
| 79 |
+
"rating": 3,
|
| 80 |
+
"soundness": 2,
|
| 81 |
+
"presentation": 2,
|
| 82 |
+
"contribution": 2,
|
| 83 |
+
"confidence": 4
|
| 84 |
+
},
|
| 85 |
+
"review_text_chars": 2260,
|
| 86 |
+
"edit_detected": true,
|
| 87 |
+
"edit_delta_seconds": 806408,
|
| 88 |
+
"post_rebuttal_text_signal": false,
|
| 89 |
+
"score_mentions_in_text": []
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"reviewer": "Reviewer_VLYY",
|
| 93 |
+
"review_id": "15KIW3ARg5",
|
| 94 |
+
"scores": {
|
| 95 |
+
"rating": 5,
|
| 96 |
+
"soundness": 3,
|
| 97 |
+
"presentation": 3,
|
| 98 |
+
"contribution": 3,
|
| 99 |
+
"confidence": 4
|
| 100 |
+
},
|
| 101 |
+
"review_text_chars": 2967,
|
| 102 |
+
"edit_detected": true,
|
| 103 |
+
"edit_delta_seconds": 1124254,
|
| 104 |
+
"post_rebuttal_text_signal": false,
|
| 105 |
+
"score_mentions_in_text": []
|
| 106 |
+
}
|
| 107 |
+
],
|
| 108 |
+
"any_review_edit_detected": true,
|
| 109 |
+
"any_post_rebuttal_text_signal": true,
|
| 110 |
+
"review_score_dimensions": [
|
| 111 |
+
"rating",
|
| 112 |
+
"soundness",
|
| 113 |
+
"presentation",
|
| 114 |
+
"contribution",
|
| 115 |
+
"confidence"
|
| 116 |
+
]
|
| 117 |
+
}
|
open_review/iclr2025_13858.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13859.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13859",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "HyperFace: Generating Synthetic Face Recognition Datasets by Exploring Face Embedding Hypersphere",
|
| 6 |
+
"abstract": "Face recognition datasets are often collected by crawling Internet and without individuals' consents, raising ethical and privacy concerns. Generating synthetic datasets for training face recognition models has emerged as a promising alternative. However, the generation of synthetic datasets remains challenging as it entails adequate inter-class and intra-class variations. While advances in generative models have made it easier to increase intra-class variations in face datasets (such as pose, illumination, etc.), generating sufficient inter-class variation is still a difficult task. In this paper, we formulate the dataset generation as a packing problem on the embedding space (represented on a hypersphere) of a face recognition model and propose a new synthetic dataset generation approach, called HyperFace. We formalize our packing problem as an optimization problem and solve it with a gradient descent-based approach. Then, we use a conditional face generator model to synthesize face images from the optimized embeddings. We use our generated datasets to train face recognition models and evaluate the trained models on several benchmarking real datasets. Our experimental results show that models trained with HyperFace achieve state-of-the-art performance in training face recognition using synthetic datasets. Project page: https://www.idiap.ch/paper/hyperface",
|
| 7 |
+
"rebuttal": "### Authors General Response to Reviewers\nWe thank all reviewers for their time and valuable comments which helped us improve the quality of our paper. We carefully considered every point raised by the reviewers and revised the paper accordingly and provided point-by-point responses in our reply to each reviewer. \n\n\nThe summary of important changes in the revised version of the paper is as follows:\n\n- We generated a larger dataset with 50k identities and 3.2M images. The new dataset achieves better performance and shows the scalability of our dataset generation. We added the results to Table 3 of the paper.\n- We provide an evaluation of the complexity and computation requirement for generating synthetic datasets with our method in Appendix A of the paper. As described in our initial submission, the complexity of HyperFace optimization is quadratic with respect to the number of identities. However, in our initial submission, we suggested that it can be significantly reduced by stochastic optimization. This aspect of our work received the attention of reviewers who requested more in-depth analyses. Therefore, in Appendix B of the paper, we first theoretically show that stochastic optimization leads to similar results but with less complexity, and then evaluate it with experiments. Our experimental results meet our theoretical prediction and stochastic optimization significantly reduces the complexity while maintaining performance.\n- We provided a comparison of synthetic datasets in the literature at scale in Appendix C, where our dataset acheives competetive performance with largest synthetic datasets in the literature.\n- We investigate the effect of identity leakage on the recognition performance of face recognition models trained with synthetic datasets in Appendix D.\n- We also provided additional ablation studies to investigate the effectiveness of our method in Appendix E.\n- We provided pseudo-code for the entire data generation process in Appendix F and provided more sample images in Appendix G.\n- We expanded our discussions in the experiments section.\n\n\nWe hope we could adequately address the reviewers' concerns. \nWe kindly invite all reviewers to further discussions if any part remains unclear.\n\n### Authors Reply to Reviewer Feedback\nWe sincerely thank the reviewer's feedback. We appreciate the reviewer for their time in reviewing our paper and rebuttal as well as their comments which helped us improve the quality of our paper. We are very happy that our additional experiments and analyses could *satisfactorily answer all of [the reviewer's] questions and concerns*. We appreciate it if the reviewer can kindly consider raising their rating if appropriate.\n\n### Authors Reply to Reviewer Feedback\nWe thank the reviewer for their reply and their continued engagement in the discussion. We are happy that our reply could address the reviewer's concerns. Below, we tried to address the remaining concern of the reviewer:\n\nOur loss function in equation (1) represents a famous *open* problem, which is known as spherical code optimization or Tammes problem. \nThe optimal solutions for the Tammes problem are studied for small dimensions and a small number of points. However, for large dimensions and a high number of points there is no closed-form solution for [...]\n\n### Authors Reply to Reviewer Feedback [Part 1/2]\nWe appreciate the reviewer for their engagement in the discussion. We are happy that our reply could address some of the initial concerns, including major concerns. Below, we tried to address the points mentioned by the reviewer in their new feedback:\n\n**Reply to Point #1 (Comparison):** Comparing our dataset with 500,000 images against DCFace in Table 1, we can observe that the face recognition model trained with our dataset achieves superior performance on 3 [out of 5] benchmarks. However, our method has inferior performance on AgeDB and CALF [...]\n\n### Authors Reply to Reviewer Feedback [Part 2/2]\n**Reply to Point #2 (Visualization: Age-related Variations):** We acknowledge the reviewer's concern that the generated images in our method do not include *very high* intra-class variations (such as aging) for each subject. This is particularly because the main focus of the paper has been on increasing inter-class variations through HyperFace optimization. However, increasing the intra-class variations has been extensively studied in the literature and there are numerous works in the literature to increase variations for each image, including [...]\n\n### Authors Reply to Reviewer RHfp [Part 1/2]\nWe thank the reviewer for their time in reviewing our paper and for their valuable comments. We are happy that the reviewer found our paper *well-written and easy to follow*. We are also delighted for the reviewer's positive feedback on the *generalization across different validation sets* of our method with *promising satisfactory improvements on benchmark datasets*. \nBelow, we tried our best to address the concerns raised by the reviewer:\n\n- **Reply to Weakness #1 (Uniform Distribution)**: While equation (1) is focused on optimization over the en [...]\n\n### Authors Reply to Reviewer RHfp [Part 2/2]\nWe think that three questions raised by the reviewer are potentially answered in our reply to the raised weaknesses:\n- **Reply to Question #1**: Please see our reply to weakness #1 about uniform distribution and face recognition manifold which makes theoretical analysis difficult. We would like to note that in the revised version of the paper, we further explored the complexity of our optimization in Appendix A and proposed a stochastic optimization that reduces the complexity in Appendix B. We provide thorough theoretical and experimental analyses [...]\n\n### Authors Reply to Reviewer YfZL [Part 1/2]\nWe thank the reviewer for their time in reviewing our paper and for their valuable comments. We are happy that the reviewer found our paper *\"good in writing and has a solid mathematical formulation\"*. Bel\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
5,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 5.25,
|
| 15 |
+
"score_variance": 0.25,
|
| 16 |
+
"score_spread": 1,
|
| 17 |
+
"score_min": 5,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "The paper introduces a method for generating synthetic face datasets by optimizing identity embeddings on a hypersphere using gradient descent, followed by image synthesis with a generative model. It demonstrates improved inter-class variation and competitive performance on face recognition benchmarks. A well-defined optimization framework, extensive experiments, and scalability analysis are the main strengths of this paper. There are also several limitations of this paper, including limited exploration of intra-class variation, insufficient empirical/theoretical insights into optimization, and weaker performance on age-related benchmarks. Despite these gaps, the paper makes a meaningful contribution to synthetic data generation for face recognition, supporting its merit for acceptance with further refinements.",
|
| 22 |
+
"forum_id": "4YzVF9isgD",
|
| 23 |
+
"primary_area": "alignment, fairness, safety, privacy, and societal considerations",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_khYx",
|
| 28 |
+
"review_id": "GmY9TcCU5h",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 5
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2334,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 950950,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_UATk",
|
| 44 |
+
"review_id": "wGudiOHYkG",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 5,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 4,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2177,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 792668,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_YfZL",
|
| 60 |
+
"review_id": "qkSSfbqeSO",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 1,
|
| 66 |
+
"confidence": 5
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2229,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1128292,
|
| 71 |
+
"post_rebuttal_text_signal": true,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_RHfp",
|
| 76 |
+
"review_id": "D0JkhImCQ3",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 4,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 5
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2653,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1386823,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": true,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13859.md
ADDED
|
@@ -0,0 +1,541 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - HYPERFACE: GENERATING SYNTHETIC FACE RECOG NITION DATASETS BY EXPLORING FACE EMBEDDING HYPERSPHERE
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Face recognition datasets are often collected by crawling Internet and without individuals’ consents, raising ethical and privacy concerns. Generating synthetic datasets for training face recognition models has emerged as a promising alternative. However, the generation of synthetic datasets remains challenging as it entails adequate inter-class and intra-class variations. While advances in generative models have made it easier to increase intra-class variations in face datasets (such as pose, illumination, etc.), generating sufficient inter-class variation is still a difficult task. In this paper, we formulate the dataset generation as a packing problem on the embedding space (represented on a hypersphere) of a face recognition model and propose a new synthetic dataset generation approach, called HyperFace. We formalize our packing problem as an optimization problem and solve it with a gradient descent-based approach. Then, we use a conditional face generator model to synthesize face images from the optimized embeddings. We use our generated datasets to train face recognition models and evaluate the trained models on several benchmarking real datasets. Our experimental results show that models trained with HyperFace achieve state-of-the-art performance in training face recognition using synthetic datasets. Project page: [URL removed]
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Recent advances in the development of face recognition models are mainly driven by the deep neural networks (He et al., 2016), the angular loss functions (Deng et al., 2019; Kim et al., 2022), and the availability of large-scale training datasets (Guo et al., 2016; Cao et al., 2018; Zhu et al., 2021). The large-scale training face recognition datasets are collected by crawling the Internet and without the individual’s consent, raising privacy concerns. This has created important ethical and legal challenges regarding the collecting, distribution, and use of such large-scale datasets (Nat, 2022). Considering such concerns, some popular face recognition datasets, such as MS-Celeb (Guo et al., 2016) and VGGFace2 (Cao et al., 2018), have been retracted.
|
| 14 |
+
|
| 15 |
+
With the development of generative models, generating synthetic datasets has become a promising solution to address privacy concerns in large-scale datasets (Melzi et al., 2024; Shahreza et al., 2024). In spite of several face generator models in the literature (Deng et al., 2020; Karras et al., 2019; 2020; Rombach et al., 2022; Chan et al., 2022), generating a synthetic face recognition model that can replace real face recognition datasets and be used to train a new face recognition model from scratch is a challenging task. In particular, the generated synthetic face recognition datasets require adequate _inter-class_ and _intra-class_ variations. While conditioning the generator models on different attributes can help increasing _intra-class_ variations, increasing _inter-class_ variations remains a difficult task.
|
| 16 |
+
|
| 17 |
+
In this paper, we focus on the generation of synthetic face recognition datasets and formulate the dataset generation process as a packing problem on the embedding space (represented on the surface
|
| 18 |
+
|
| 19 |
+
1
|
| 20 |
+
|
| 21 |
+
**==> picture [358 x 181] intentionally omitted <==**
|
| 22 |
+
|
| 23 |
+
Figure 1: Sample face images from the HyperFace dataset
|
| 24 |
+
|
| 25 |
+
of a hypersphere) of a pretrained face recognition model. We investigate different packing strategies and show that with a simple optimization, we can find a set of reference embeddings for synthetic subjects that has a high inter-class variation. We also propose a regularization term in our optimization to keep the optimized embedding on the manifold of face embeddings. After finding optimized embeddings, we use a face generative model that can generate face images from embeddings on the hypersphere, and generate synthetic face recognition datasets. We use our generated synthetic face recognition datasets, called HyperFace, to train face recognition models. We evaluate the recognition performance of models trained using synthetic datasets, and show that our optimization and packing approach can lead to new synthetic datasets that can be used to train face recognition models. We also compare trained models with our generated dataset to models trained with previous synthetic datasets, where our generated datasets achieve competitive performance with state-of-theart synthetic datasets in the literature. Figure 1 illustrates sample face images from our synthetic dataset.
|
| 26 |
+
|
| 27 |
+
The remainder of this paper is organized as follows. In Section 2, we present our problem formulation and describe our proposed method to generate synthetic face datasets. In Section 3, we provide our experimental results and evaluate our synthetic datasets. In Section 4, we review related work in the literature. Finally, we conclude the paper in Section 5.
|
| 28 |
+
|
| 29 |
+
- 2 PROBLEM FORMULATION AND PROPOSED METHOD
|
| 30 |
+
|
| 31 |
+
- 2.1 PROBLEM FORMULATION
|
| 32 |
+
|
| 33 |
+
**Identity Hypersphere:** Let us assume that we have a pretrained face recognition model _F_ : _I → X_ , which can extract identity features (a.k.a. embedding) _**x** ∈X ⊂_ R _[n][X]_ from each face image _**I** ∈I_ . Without loss of generality, we can assume that the extracted identity features cover a unit hypersphere[1] , i.e., _||_ _**x** ||_ 2 = 1 _, ∀_ _**x** ∈X_ .
|
| 34 |
+
|
| 35 |
+
**Representing Synthetic Dataset on the Identity Hypersphere:** We can represent a synthetic face recognition dataset _D_ on this hypersphere by finding the embeddings for each image in the dataset. For simplicity, let us assume that for subject _i_ in the synthetic face dataset, we can have a reference face image _**I**_ ref _,i_ and reference embedding _**x**_ ref _,i_ = _F_ ( _**I**_ ref _,i_ ). Note that the reference face image _**I**_ ref _,i_ may already exist in the synthetic dataset _D_ , otherwise we can assume the reference embedding _**x**_ ref _,i_ as the average of embeddings of all images for subject _i_ in the dataset _D_ . Therefore, the synthetic face recognition dataset _D_ with _n_ id number of subjects can be represented as a set of reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][.]
|
| 36 |
+
|
| 37 |
+
> 1If the identity embedding _**x**_ extracted by _F_ ( _._ ) is not normalized, we normalize it such that _||_ _**x** ||_ 2 = 1.
|
| 38 |
+
|
| 39 |
+
2
|
| 40 |
+
|
| 41 |
+
**==> picture [398 x 110] intentionally omitted <==**
|
| 42 |
+
|
| 43 |
+
**----- Start of picture text -----**<br>
|
| 44 |
+
Face embedding Face embedding<br>hypersphere hypersphere<br>HyperFace<br>Optimization<br>Face<br>Pretrained Face Generator<br>Recognition HyperFace Dataset<br>(used for initilization)<br>Randomly Synthesized Images<br>**----- End of picture text -----**<br>
|
| 45 |
+
|
| 46 |
+
Figure 2: Block diagram of HyperFace Dataset Generation: We start from randomly synthesized face images and extract their embeddings using a pretrained face recognition model _F_ . The extracted embeddings are normalised and used as initial points _{_ _**x**_ ref _,i}[n] i_ =1[id][in][our][HyperFace][optmization.] The HyperFace optimization tries to increase the _intra-class_ variation for synthetic identities on the manifold of the face recognition model over the hypersphere using a regularization term. The resulting points are then used by a face generator model _G_ , which can generate synthetic face images from the embeddings.
|
| 47 |
+
|
| 48 |
+
## 2.2 HYPERFACE SYNTHETIC FACE DATASET
|
| 49 |
+
|
| 50 |
+
**HyperFace Optimization Problem:** By representing a synthetic dataset _D_ on the identity hypersphere as a set of reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][,][we][can][raise][the][question][that][“] _[How][should] reference embeddings cover the identity hypersphere?_ ” To answer this question, we remind that the distances between reference embeddings indicate the inter-class variation in the synthetic face recognition dataset _D_ . Therefore, since we would like to have a high inter-class variation in the generated dataset _D_ , we can say that we need to maximize the distances between reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][.][In other words, we need to solve the following optimization problem:]
|
| 51 |
+
|
| 52 |
+
**==> picture [359 x 17] intentionally omitted <==**
|
| 53 |
+
|
| 54 |
+
where _d_ ( _·, ·_ ) is a distance function.
|
| 55 |
+
|
| 56 |
+
**Solving the HyperFace Optimization:** The optimization problem stated in Eq. 1 is a well-known optimization problem, which is known as spherical code optimization (J. H. Conway, 1998) or the Tammes problem (Tammes, 1930), where the goal is to pack a given number of points (e.g., particles, pores, electrons, etc.) on the surface of a unit sphere such that the minimum distance between points is maximized. The optimal solutions for this problem are studied for small dimensions and the number of points (B¨or¨oczky, 1983; H´ars, 1986; Musin & Tarasov, 2012; 2015). However, for a large dimension and a high number of points, there is no closed-form solution in the literature (Tokarchuk et al., 2024). For a large dimension and a high number of points, there are different approaches for solving this optimization problem (such as geometric optimization, numerical optimization, etc.). However, for a large dimension of hypersphere (i.e., _nX_ ) and a _very_ large number of points (i.e., the number of subjects _n_ id, such as 10,000 identities in our problem), solving this optimization can be computationally expensive. To address this issue, we solve the optimization problem with an iterative approach based on gradient descent. To this end, we can randomly initialize the reference embeddings and find the optimised reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][using the] Adam optimizer (Kingma & Ba, 2015). This allows us to solve the optimization with a reasonable computation resource. For example, we can solve the optimization for _nX_ = 512 and _n_ id = 10 _,_ 000 on a system equipped with a single NVIDIA 3090 GPU in 6 hours.
|
| 57 |
+
|
| 58 |
+
**Regularization:** While we solve the optimization problem in Eq. 1 on the surface of a hypersphere, we should note that the manifold of embeddings _X_ does not necessarily cover the whole surface of the hypersphere. This means if we get out of the distribution of embeddings _X_ , we may not be able to generate face images from such embeddings. Therefore, we need to add a regularization term to our optimization problem that tends to keep the reference embeddings on the manifold
|
| 59 |
+
|
| 60 |
+
3
|
| 61 |
+
|
| 62 |
+
**Algorithm 1** HyperFace Optimization for Finding Reference Embeddings
|
| 63 |
+
|
| 64 |
+
|1:|**Inputs**:<br>_λ_:learning rate,_n_itr :number of iterations,_{_**_x_**_g}_<br>_n_gallery<br>_g_=1|:embeddings of a gallery of face images,|
|
| 65 |
+
|---|---|---|
|
| 66 |
+
|2:|_α_:hyperparameter (contribution of regularization).||
|
| 67 |
+
|3:|**Output**:<br>**_X_**ref =_{_**_x_**ref_,i}n_id<br>_i_=1 :optimized reference embeddings.||
|
| 68 |
+
|4:|**Procedure:**||
|
| 69 |
+
|5:|Initialize reference embeddings_{_**_x_**ref_,i}n_id<br>_i_=1||
|
| 70 |
+
|6:|**For**_n_= 1_, .., n_itr **do**||
|
| 71 |
+
|7:|Find**_x_**ref_,i,_**_x_**ref_,j ∈_**_X_**ref which have minimum distance_d_(**_x_**ref_,i,_**_x_**ref_,j_)||
|
| 72 |
+
|8:|Reg_←_<br>1<br>_n_id<br>�_n_id<br>_k_=1 min_{_**_x_**_g}_gallery _d_(**_x_**ref_,k,_**_x_**_g_)|_▷_Calculate the regularization term|
|
| 73 |
+
|9:|cost_←−d_(**_x_**ref_,i,_**_x_**ref_,j_)||
|
| 74 |
+
|10:|**_X_**ref _←_**_X_**ref_−_Adam(_∇_cost_, λ_)||
|
| 75 |
+
|11:|**_X_**ref _←_normalize(**_X_**ref)<br>_▷_To ensure that resulting embeddings**_X_**ref remain on the hypersphere.||
|
| 76 |
+
|12:|**End For**||
|
| 77 |
+
|13:|**End Procedure**||
|
| 78 |
+
|
| 79 |
+
of embeddings _X_ . To this end, we consider a set of face images _{_ _**I** i}[n] i_ =1[gallery] as a gallery of images[2] and extract their embeddings to have set of valid embeddings _{_ _**x** i}[n] i_ =1[gallery][.][Then, we try to minimize the] distance of our reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][to the set of embeddings] _[ {]_ _**[x]**[i][}][n] i_ =1[gallery][, which approx-] imates the manifold of embeddings _X_ . To this end, for each reference embedding _{_ _**x**_ ref _,i}[n] i_ =1[id][,][we] find the closest embedding in _{_ _**x** i}[n] i_ =1[gallery] and minimize their distance. We can write the optimization in Eq. 1 as a regularized min-max optimization as follows:
|
| 80 |
+
|
| 81 |
+
**==> picture [336 x 60] intentionally omitted <==**
|
| 82 |
+
|
| 83 |
+
where _α_ is a hyperparameter that controls the contribution of the regularization term in the optimization. To provide more flexibility in our optimization, we consider the size of gallery _n_ gallery to be greater or equal to the number of identities _n_ id in the synthetic dataset (i.e., _n_ gallery _≥ n_ id).
|
| 84 |
+
|
| 85 |
+
**Initialization:** To solve the HyperFace optimization problem in Eq. 1 using Algorithm 1, we need to initialize the reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][.][To this end, we can generate] _[ n]_[id][number random] synthetic images _{_ _**I** i}[n] i_ =1[id][using][a][face][generator][model,][such][as][StyleGAN][(Karras][et][al.,][2020),] Latent Diffusion Model (LDM) (Rombach et al., 2022). These models use a noise vector as the input and can generate synthetic face images in an unconditional setting. Then, after generating _{_ _**I** i}[n] i_ =1[id] images, we can extract their embeddings using the face recognition model _F_ ( _·_ ) and use the extracted embeddings as initialization values for the reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][in Algorithm 1.]
|
| 86 |
+
|
| 87 |
+
**Image Generation:** After we find the reference embeddings _{_ _**x**_ ref _,i}[n] i_ =1[id][using][Algorithm][1,][we] can use an identity-conditioned image generator model to generate face images from reference embeddings. To this end, we use a recent face generator network (Papantoniou et al., 2024), which is based on probabilistic diffusion models. The diffusion face generator model _G_ ( _·, ·_ ) can generate a face image _**I**_ = _G_ ( _**x**_ ref _,_ _**z**_ ) from reference embedding _**x**_ ref and a random noise _**z** ∼N_ (0 _,_ I[DM] ). Therefore, by changing the random noise _**z**_ and sampling different noise vectors, we can generate different samples for the reference embedding _**x**_ ref. In addition, to increase intra-class variation, we add Gaussian noise _**v** ∼N_ (0 _,_ I _[n][X]_ ) to the reference embedding _**x**_ ref, and then normalize it to locate it on the hypersphere. In summary, we can generate different samples for each reference embedding _**x**_ ref by changing _**z**_ and _**v**_ noise vectors as follows:
|
| 88 |
+
|
| 89 |
+
**==> picture [323 x 24] intentionally omitted <==**
|
| 90 |
+
|
| 91 |
+
> 2The gallery of face images _{_ _**I** i}ni_ =1gallery can be generated using an unconditional face generator network such as StyleGAN (Karras et al., 2020), Latent Diffusion Model (LDM) (Rombach et al., 2022), etc.
|
| 92 |
+
|
| 93 |
+
4
|
| 94 |
+
|
| 95 |
+
Table 1: Comparison of recognition performance of face recognition models trained with different synthetic datasets and a real dataset (i.e., CASIA-WebFace). The performance reported for each dataset is in terms of accuracy and best value for each benchmark is emboldened.
|
| 96 |
+
|
| 97 |
+
|Dataset name|# IDs|# Images|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 98 |
+
|---|---|---|---|---|---|---|---|
|
| 99 |
+
|SynFace (Qiu et al., 2021)|10’000|999’994|86.57|65.10|70.08|66.79|59.13|
|
| 100 |
+
|SFace (Boutros et al., 2022)|10’572|1’885’877|93.65|74.90|80.97|75.36|70.32|
|
| 101 |
+
|Syn-Multi-PIE (Colbois et al., 2021)|10’000|180’000|78.72|60.22|61.83|60.84|54.05|
|
| 102 |
+
|IDnet (Kolf et al., 2023)|10’577|1’057’200|84.48|68.12|71.42|68.93|62.63|
|
| 103 |
+
|ExFaceGAN (Boutros et al., 2023b)|10’000|599’944|85.98|66.97|70.00|66.96|57.37|
|
| 104 |
+
|GANDiffFace (Melzi et al., 2023)|10’080|543’893|94.35|76.15|79.90|78.99|69.82|
|
| 105 |
+
|Langevin-Dispersion (Geissb¨uhler et al., 2024)|10’000|650’000|94.38|65.75|86.03|65.51|77.30|
|
| 106 |
+
|Langevin-DisCo (Geissb¨uhler et al., 2024)|10’000|650’000|97.07|76.73|89.05|79.56|83.38|
|
| 107 |
+
|DigiFace-1M (Bae et al., 2023)|109’999|1’219’995|90.68|72.55|73.75|79.43|68.43|
|
| 108 |
+
|IDiff-Face(Uniform) (Boutros et al., 2023a)|10’049|502’450|98.18|80.87|90.82|82.96|85.50|
|
| 109 |
+
|IDiff-Face(Two-Stage) (Boutros et al., 2023a)|10’050|502’500|98.00|77.77|88.55|82.57|82.35|
|
| 110 |
+
|DCFace (Kim et al., 2023)|10’000|500’000|98.35|83.12|**91.70**|88.43|**89.50**|
|
| 111 |
+
|**HyperFace [ours]**|10’000|500’000|**98.50**|**84.23**|89.40|**88.83**|86.53|
|
| 112 |
+
|CASIA-WebFace (Yi et al., 2014)|10’572|490’623|99.42|90.02|93.43|94.97|94.32|
|
| 113 |
+
|
| 114 |
+
where _β_ is a hyperparamter that controls the variations to the reference embedding. Figure 2 depicts the block diagram of our synthetic dataset generation process. Algorithm 3 in Appendix F also present a pseudo-code of dataset generation process.
|
| 115 |
+
|
| 116 |
+
## 3 EXPERIMENTS
|
| 117 |
+
|
| 118 |
+
## 3.1 EXPERIMENTAL SETUP
|
| 119 |
+
|
| 120 |
+
**Dataset Generation:** For solving the HyperFace optimization in Algorithm 1, we use an initial learning rate of _λ_ = 0 _._ 01 and reduce the learning rate by power 0 _._ 75 every 5 _,_ 000 iterations for a total number of iterations _n_ itr = 100 _,_ 000. We also consider cosine distance, which is commonly used in face recognition systems for the comparison of face embeddings, as our distance function _d_ ( _·, ·_ ). For the hyperparameters _α_ and _β_ , we consider default values of 0 _._ 5 and 0 _._ 01, respectively, in our experiments. We also consider the size of gallery to be the same as the number of identities, and explore other cases where _n_ gallery _> n_ id in our ablation study. We generate 64 images, by default, per each identity in our generated datasets and explore other numbers of images in our ablation study.
|
| 121 |
+
|
| 122 |
+
We use ArcFace (Deng et al., 2019) as the pretrained face recognition model _F_ ( _·_ ) with the embedding dimension of _nX_ = 512 and use a pretrained generator model (Papantoniou et al., 2024) to generate face images from ArcFace embeddings. After generating face images, we align all face images using a pretrained MTCNN (Zhang et al., 2016) face detector model. For our regularization, we randomly generate images with StyleGAN (Karras et al., 2020) as default, and investigate other generator models in our ablation study.
|
| 123 |
+
|
| 124 |
+
**Evaluation:** To evaluate the generated synthetic datasets, we use each generated datasets as a training dataset for training a face recognition model. To this end, we use the iResNet50 backbone and train the model with AdaFace loss function (Kim et al., 2022) using the Stochastic Gradient Descent (SGD) optimizer with the initial learning rate 0.1 and a weight decay of 5 _×_ 10 _[−]_[4] for 30 epochs with the batch size of 256. After training the face recognition model with the synthetic dataset, we benchmark the performance of the trained face recognition models on different benchmarking datasets of real images, including Labeled Faces in the Wild (LFW) (Huang et al., 2008), Cross-age LFW (CA-LFW) (Zheng et al., 2017), CrossPose LFW (CP-LFW) (Zheng & Deng, 2018), Celebrities in Frontal-Profile in the Wild (CFP-FP) (Sengupta et al., 2016), and AgeDB-30 (Moschoglou et al., 2017) datasets. For consistency with prior works, we report recognition accuracy calculated using 10-fold cross-validation for each of benchmarking datasets. The source code of our experiments and generated datasets are publicly available[3] .
|
| 125 |
+
|
| 126 |
+
> 3Project page: [URL removed]
|
| 127 |
+
|
| 128 |
+
5
|
| 129 |
+
|
| 130 |
+
## 3.2 ANALYSIS
|
| 131 |
+
|
| 132 |
+
**Comparison with Previous Synthetic Datasets:** We compare the recognition performance of face recognition models trained with our synthetic dataset and previous synthetic datasets in the literature. We use the published dataset for each method and train all models with the same configuration for different datasets to prevent the effect of other hyperparameters (such as number of epochs, batch size, etc.). For a fair comparison, we consider the versions of datasets with a similar number of identities[4] , if there are different datasets available for each method. Table 1 compares the recognition performance of face recognition models trained with different synthetic datasets. As the results in this table show, our method achieves state-of-the-art performance in training face recognition using synthetic data. Figure 1 illustrates sample face images from our synthetic dataset. Figure 4 of appendix also presents more sample images from HyperFace dataset.
|
| 133 |
+
|
| 134 |
+
**Ablation Study:** In our dataset Table 2: Ablation study on the effect of number of images generation method, there are different hyperparameters which can affect Image/ID LFW CPLFW CALFW CFP AgeDB the HyperFace optimization and the generated synthetic datasets. Table 2 32 **98.70** 84.17 88.83 88.74 86.33 reports the ablation study on the num50 98.50 84.23 89.40 88.83 86.53 ber of images generated per each syn64 98.67 **84.68 89.82** 89.14 87.07 thetic identity in our experiments. As 96 98.42 84.15 89.00 **89.51** 87.45 128 98.20 83.63 **89.82** 89.31 **87.62** the results in Table 2 show, increasing the number of images per identity improves the recognition performance of trained face recognition model, but it tends to saturate after 64 images per identity.
|
| 135 |
+
|
| 136 |
+
Table 3 also compares the number of identities in the generated dataset, including 10k, 20k, and 50k identities. As the results in Table 3 show, increasing the number of identities improves the recognition performance of trained face recognition model on the benchmarking datasets. The re-
|
| 137 |
+
|
| 138 |
+
Table 3: Ablation study on the effect of number of identities
|
| 139 |
+
|
| 140 |
+
||# IDs|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 141 |
+
|---|---|---|---|---|---|---|
|
| 142 |
+
||10k|98.67|84.68|89.82|89.14|87.07|
|
| 143 |
+
||30k<br>50k|**98.82**<br>98.27|85.23<br>**85.60**|91.12<br>**91.48**|91.74<br>**92.24**|89.42<br>**90.40**|
|
| 144 |
+
|
| 145 |
+
sults in this table demonstrates that we can still increase the number of identities and scale our dataset generation without saturating the performance. The main issue for increasing the size of dataset is computation resource, which is discussed in detail in Appendix A. We can also reduce the complexity of our optimization for large number of identities, which is discussed in detail in Appendix B.
|
| 146 |
+
|
| 147 |
+
Table 4 reports the recognition performance achieved for face recognition model trained with datasets with 10k identity and optimized with different numbers of gallery images. As the results in this table shows, increasing the size of gallery improves the performance of the trained model.
|
| 148 |
+
|
| 149 |
+
Table 4: Ablation study on the effect of _n_ gallery
|
| 150 |
+
|
| 151 |
+
||_n_gallery|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 152 |
+
|---|---|---|---|---|---|---|
|
| 153 |
+
||10K|98.53|84.00|88.92|**89.34**|85.9|
|
| 154 |
+
||20K|98.50|**84.32**|**89.28**|89.17|86.00|
|
| 155 |
+
||50K|**98.72**|84.23|88.72|89.19|**86.85**|
|
| 156 |
+
|
| 157 |
+
However, with 10,000 images we can still approximate the manifold of face embeddings on the hypersphere.
|
| 158 |
+
|
| 159 |
+
As another ablation study, we use different source of images for the gallery set to use in our regularization and solve the HyperFace optimization. We use pretrained StyleGAN (Karras et al., 2020) as a GAN-based generator model and a pretrained latent diffusion model (Rombach et al., 2022) as a diffusion-based generator model. We use these generator models and randomly generate some synthetic face images. In addition, for our ablation study, we consider some real images from BUPT dataset (Wang et al., 2019) as a dataset of real face images.
|
| 160 |
+
|
| 161 |
+
4Only in the dataset used for DigiFace (Bae et al., 2023) there are more identities, because there is only one version available for this dataset, which has a greater number of identities compared to other existing synthetic datasets.
|
| 162 |
+
|
| 163 |
+
6
|
| 164 |
+
|
| 165 |
+
As the results in Table 5 show, optimization with images from StyleGAN and LDM lead to comparable performance for the generated face recognition dataset. However, the real images in the BUPT dataset lead to superior performance. This suggests that the synthesized images cannot completely cover the manifold of
|
| 166 |
+
|
| 167 |
+
Table 5: Ablation study on the type of data in gallery
|
| 168 |
+
|
| 169 |
+
||Gallery<br>StyleGAN|LFW<br>98.67|CPLFW<br>84.68|CALFW<br>89.82|CFP<br>89.14|AgeDB<br>87.07|
|
| 170 |
+
|---|---|---|---|---|---|---|
|
| 171 |
+
||LDM<br>BUPT|98.65<br>**98.70**|84.35<br>**84.77**|89.17<br>**90.03**|89.09<br>**89.16**|86.35<br>**87.13**|
|
| 172 |
+
|
| 173 |
+
embeddings and if we use real images as our gallery it can improve the generated dataset and recognition performance of our face recognition model.
|
| 174 |
+
|
| 175 |
+
We also study the effect of hyperparameters _α_ and _β_ on the generated face recognition dataset. Table 6 reports the ablation study for the contribution of regularization in our optimization ( _α_ ). As the results in this table shows, the regularization enhances the quality of generated dataset and improves the recognition
|
| 176 |
+
|
| 177 |
+
Table 6: Ablation study on the effect of _α_
|
| 178 |
+
|
| 179 |
+
||_α_|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 180 |
+
|---|---|---|---|---|---|---|
|
| 181 |
+
||0|98.40|84.15|88.87|89.31|86.48|
|
| 182 |
+
||0.50<br>0.75<br>1.0|**98.67**<br>98.62<br>98.55|84.68<br>84.32<br>**84.72**|**89.82**<br>89.48<br>89.10|89.14<br>89.67<br>**89.76**|**87.07**<br>86.72<br>86.63|
|
| 183 |
+
|
| 184 |
+
performance of face recognition model. In fact, our regularization term helps our optimization to keep the points on the manifold of face recognition over the hypersphere, and therefore improves the quality of our synthetic dataset.
|
| 185 |
+
|
| 186 |
+
Similarly, Table 7 reports the ablation study for the effect of noise in data generation and augmentation (i.e., hyperparamter _β_ in in Eq. 3). As can be seen, the added noise increases the variation for images of each subject and increases the performance of face recognition models trained with the generated datasets. With a larger
|
| 187 |
+
|
| 188 |
+
Table 7: Ablation study on the effect of _β_
|
| 189 |
+
|
| 190 |
+
||_β_|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 191 |
+
|---|---|---|---|---|---|---|
|
| 192 |
+
||0|98.53|84.00|88.92|89.34|85.90|
|
| 193 |
+
||0.005<br>0.010<br>0.020|98.67<br>**98.7**<br>98.4|84.68<br>**84.72**<br>84.05|89.82<br>90.05<br>**91.32**|89.14<br>89.54<br>**90.13**|87.07<br>88.42<br>**89.83**|
|
| 194 |
+
|
| 195 |
+
value of _β_ , the generated images for each identity have more variations, which increases the performance of the face recognition model trained with our synthetic dataset.
|
| 196 |
+
|
| 197 |
+
As another experiment, we conTable 8: Ablation study on the network structure sider different backbones and train face recognition models with differNetwork LFW CPLFW CALFW CFP AgeDB ent number of layers. As the results in Table 8 show, increasing the numResNet18 98.33 81.38 88.53 86.03 85.27 ber of layers improve the recognition ResNet34 98.5 83.47 88.88 88.29 86.42 performance of trained face recogniResNet50 98.67 84.68 89.82 89.14 87.07 tion model. While this is expected ResNet101 **98.73 85.43 90.05 89.54 87.52** and has been observed for training using large-scale face recognition datasets, it sheds light on more potentials in the generated synthetic datasets.
|
| 198 |
+
|
| 199 |
+
## 3.3 DISCUSSION
|
| 200 |
+
|
| 201 |
+
**Scaling Dataset Generation:** To increase the size of the synthetic face recognition dataset, we can increase the number of images per identity and also the number of samples per identity. In our ablation study, we investigated the effect of the number of images (Table 2) and the number of identities (Table 3) on the recognition performance of the face recognition model. However, increasing the size of the dataset requires more computation. Increasing the number of images in the dataset has linear complexity in our image generation step (i.e., _O_ ( _n_ images), where _n_ images is the number of images in the generated dataset). However, the complexity of solving the HyperFace optimization problem with iterative optimization in Algorithm 1 has quadratic complexity (i.e., _O_ ( _n_[2] id[)][).][There-] fore, solving this optimization for a larger number of identities requires much more computation
|
| 202 |
+
|
| 203 |
+
7
|
| 204 |
+
|
| 205 |
+
**==> picture [337 x 133] intentionally omitted <==**
|
| 206 |
+
|
| 207 |
+
**----- Start of picture text -----**<br>
|
| 208 |
+
(a) children images (b) adult images<br>Synthesized Synthesized<br>Real Real<br>**----- End of picture text -----**<br>
|
| 209 |
+
|
| 210 |
+
**==> picture [59 x 59] intentionally omitted <==**
|
| 211 |
+
|
| 212 |
+
**==> picture [59 x 58] intentionally omitted <==**
|
| 213 |
+
|
| 214 |
+
Figure 3: Sample pairs of images with the highest similarity between face embeddings of images in synthesized dataset and training dataset of StyleGAN, which was used to generate random images for initialization and regularization in the HyperFace optimization.
|
| 215 |
+
|
| 216 |
+
resources. Meanwhile, most existing synthetic datasets in the literature have a comparable number of identities to our experiments. We should note that in our optimization, we considered all points in each iteration of optimization which introduces quadratic complexity to our optimization. However, we can solve the optimization with stochastic mini-batches of points on the embedding hypersphere, which can reduce the complexity in each iteration (i.e., _O_ ( _b_[2] ), where _b_ is the size of batch and _b ≤ n_ id). We further discuss the complexity of our optimization and dataset generation in Appendix A and present further analyses for stochastic optimization, that reduces the complexity of our optimization in Appendix B.
|
| 217 |
+
|
| 218 |
+
**Leakage of Identity:** In our dataset generation method, we used images synthesized by StyleGAN for initialization and regularization. Therefore, it is important if there is any leakage of privacy data in the images generated from StyleGAN in the final generated dataset. To this end, we extract and compare embeddings from all the generated images to embeddings of all face images in the training dataset of StyleGAN. The highest similarity score between generated images and training dataset correspond to children images (as shown in Figure 3a) which are difficult to compare visually and conclude potential leakage. Figure 3b illustrates images of highest scores excluding children. While there are some visual similarities in the images, it is difficult to conclude leakage of identity in the generated synthetic dataset. We further study the effect of identity leakage on the recognition performance of face recognition models in Appendix D.
|
| 219 |
+
|
| 220 |
+
**Ethical Considerations:** State-of-the-art face recognition models are trained with large-scale face recognition datasets, which are crawled from the Internet, raising ethical and privacy concerns. To address the ethical and privacy concerns with web-crawled data, we can use synthetic data to train face recognition models. However, generating synthetic face recognition datasets also requires face generator models which are trained from a set of real face images. Therefore, we still rely on real face images in the generation pipeline. In our experiments, we investigated if we have leakage of identity in the generated synthetic dataset based on images used for initialization and regularization. However, there are other privacy-sensitive components used in our method. For example, we defined and solved our optimization problem on the embedding hypersphere of a pretrained face recognition model. Therefore, for generating fully privacy-friendly datasets, the leakage of information by other components needs to be investigated.
|
| 221 |
+
|
| 222 |
+
We should also note that while we tried to increase the inter-class variations in our method, there might be still a potential lack of diversity in different demography groups, stemming from implicit biases of the datasets used for training in our pipeline (such as the pretrained face recognition model, the gallery of images used for regularization, etc.). It is also noteworthy that the project on which the work has been conducted has passed an Institutional Ethical Review Board (IRB).
|
| 223 |
+
|
| 224 |
+
8
|
| 225 |
+
|
| 226 |
+
## 4 RELATED WORK
|
| 227 |
+
|
| 228 |
+
With the advances in generative models, several synthetic face recognition datasets have been proposed in the literature. Bae et al. (2023) proposed DigiFace dataset where they used a computergraphic pipeline to render different identities and also generate different images for each identity by introducing different variations based on face attributes (e.g., variation in facial pose, accessories, and textures). In contrast to (Bae et al., 2023) , other papers in the literature used Generative Adversarial Networks (GANs) or probabilistic Diffusion Models (PDMs) to generate synthetic face datasets. Qiu et al. (2021) proposed SynFace and utilised DiscoFaceGAN (Deng et al., 2020) to generate their dataset. They generated different synthetic identities using identity mixup by exploring the latent space of DiscoFaceGAN to increase intra-class variation and then used DiscoFaceGAN to generate different images for each identity.
|
| 229 |
+
|
| 230 |
+
Boutros et al. (2022) proposed SFace by training an identity-conditioned StyleGAN (Karras et al., 2020) on the CASIA-WebFace (Yi et al., 2014) and then generating the SFace dataset using the trained model. Kolf et al. (2023) also trained an identity-conditioned StyleGAN (Karras et al., 2020) in a three-player GAN framework to integrate the identity information into the generation process and proposed the IDnet dataset. Colbois et al. (2021) proposed the Syn-Multi-PIE dataset using a pretrained StyleGAN (Karras et al., 2020). They trained a support vector machine (SVM) to find directions for different variations (such as pose, illuminations, etc.) in the intermediate latent space of a pretrained StyleGAN. Then, they used StyleGAN to generate different identities and synthesized different images for each identity by exploring the intermediate latent space of StyleGAN using linear combinations of calculated directions. Boutros et al. (2023b) proposed ExFaceGAN, where they used SVM to disentangle the identity information in the latent space of pretrained GANs, and then generated different identities with several images within the corresponding identity boundaries. Geissb¨uhler et al. (2024) used stochastic Brownian forces to sample different identities in the intermediate latent space of pretrained StyleGAN (Karras et al., 2020) and generate different identities (named Langavien). Then they solved a similar dynamical equation in the latent space of StyleGAN to generate different images for each identity (named Langavien-Dispersion) and further explored the intermediate latent space of StyleGAN (named Langavien-DisCo).
|
| 231 |
+
|
| 232 |
+
Melzi et al. (2023) proposed GANDiffFace, a hybrid dataset generation framework, where they used StyleGAN to generate face images with different identities, and then used DreamBooth (Ruiz et al., 2023) as a diffusion-based generator, to generate different samples for each identity. Boutros et al. (2023a) trained an identity-conditioned diffusion model to generate synthetic face images and proposed IDiffFace datasets. They generated different samples using an unconditional model, and then generated different samples using their conditional diffusion model (named IDiff-Face Two-Stage). Alternatively, they uniformly sampled different identities and generated different samples for each identity using their identity-conditioned diffusion model (named IDiff-Face Uniform). Kim et al. (2023) proposed DCFace, where they trained a dual condition (style and identity conditions) face generator model based on diffusion models on the CASIA-WebFace dataset. They used their trained diffusion model to generate different identities and different styles for each identity by varying identity and style conditions.
|
| 233 |
+
|
| 234 |
+
## 5 CONCLUSION
|
| 235 |
+
|
| 236 |
+
In this paper, we formalized the dataset generation as a packing problem on the hypersphere of a pretrained face recognition model. We focused on inter-class variation and designed our packing problem to increase the distance between synthetic identities. Then, we considered our packing problem as a regularized optimization and solved it with an iterative gradient-descent-based approach. Since the manifold of face embeddings does not cover the whole hypersphere, the regularization allows us to approximate the manifold of face embeddings and enhance the quality of generated face images. We used the generated datasets by our method (called HyperFace) to train face recognition models, and evaluated the trained models on several real benchmarking datasets. Our experiments demonstrate the effectiveness of our approach, which achieves state-of-the-art performance for training face recognition using synthetic data. We also presented an extensive ablation study to investigate the effect of each hyperparameter in our dataset generation method.
|
| 237 |
+
|
| 238 |
+
9
|
| 239 |
+
|
| 240 |
+
## REFERENCES
|
| 241 |
+
|
| 242 |
+
The rise and fall (and rise) of datasets. _Nature Machine Intelligence_ , 4(1):1–2, 2022. doi: 10.1038/ s42256-022-00442-2. URL [URL removed]
|
| 243 |
+
|
| 244 |
+
- Gwangbin Bae, Martin de La Gorce, Tadas Baltruˇsaitis, Charlie Hewitt, Dong Chen, Julien Valentin, Roberto Cipolla, and Jingjing Shen. Digiface-1m: 1 million digital face images for face recognition. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ , pp. 3526–3535, 2023.
|
| 245 |
+
|
| 246 |
+
- K B¨or¨oczky. The problem of tammes for n= 11. _Studia Sci. Math. Hungar_ , 18(2-4):165–171, 1983.
|
| 247 |
+
|
| 248 |
+
- Fadi Boutros, Marco Huber, Patrick Siebke, Tim Rieber, and Naser Damer. Sface: Privacy-friendly and accurate face recognition using synthetic data. In _2022 IEEE International Joint Conference on Biometrics (IJCB)_ , pp. 1–11. IEEE, 2022.
|
| 249 |
+
|
| 250 |
+
- Fadi Boutros, Jonas Henry Grebe, Arjan Kuijper, and Naser Damer. Idiff-face: Synthetic-based face recognition through fizzy identity-conditioned diffusion model. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 19650–19661, 2023a.
|
| 251 |
+
|
| 252 |
+
- Fadi Boutros, Marcel Klemt, Meiling Fang, Arjan Kuijper, and Naser Damer. Exfacegan: Exploring identity directions in gan’s learned latent space for synthetic identity generation. In _2023 IEEE International Joint Conference on Biometrics (IJCB)_ , pp. 1–10. IEEE, 2023b.
|
| 253 |
+
|
| 254 |
+
- Qiong Cao, Li Shen, Weidi Xie, Omkar M Parkhi, and Andrew Zisserman. Vggface2: A dataset for recognising faces across pose and age. In _2018 13th IEEE international conference on automatic face & gesture recognition (FG 2018)_ , pp. 67–74. IEEE, 2018.
|
| 255 |
+
|
| 256 |
+
- Eric R Chan, Connor Z Lin, Matthew A Chan, Koki Nagano, Boxiao Pan, Shalini De Mello, Orazio Gallo, Leonidas J Guibas, Jonathan Tremblay, Sameh Khamis, et al. Efficient geometry-aware 3d generative adversarial networks. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 16123–16133, 2022.
|
| 257 |
+
|
| 258 |
+
- Laurent Colbois, Tiago de Freitas Pereira, and S´ebastien Marcel. On the use of automatically generated synthetic image datasets for benchmarking face recognition. In _2021 IEEE International Joint Conference on Biometrics (IJCB)_ , pp. 1–8. IEEE, 2021.
|
| 259 |
+
|
| 260 |
+
- Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 4690–4699, 2019.
|
| 261 |
+
|
| 262 |
+
- Yu Deng, Jiaolong Yang, Dong Chen, Fang Wen, and Xin Tong. Disentangled and controllable face image generation via 3d imitative-contrastive learning. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 5154–5163, 2020.
|
| 263 |
+
|
| 264 |
+
- David Geissb¨uhler, Hatef Otroshi Shahreza, and S´ebastien Marcel. Synthetic face datasets generation via latent space exploration from brownian identity diffusion. _arXiv preprint arXiv:2405.00228_ , 2024.
|
| 265 |
+
|
| 266 |
+
- Yandong Guo, Lei Zhang, Yuxiao Hu, Xiaodong He, and Jianfeng Gao. Ms-celeb-1m: A dataset and benchmark for large-scale face recognition. In _Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part III 14_ , pp. 87– 102. Springer, 2016.
|
| 267 |
+
|
| 268 |
+
- L H´ars. The tammes problem for n= 10. _Studia Sci. Math. Hungar_ , 21(3-4):439–451, 1986.
|
| 269 |
+
|
| 270 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 770–778, 2016.
|
| 271 |
+
|
| 272 |
+
10
|
| 273 |
+
|
| 274 |
+
- Gary B Huang, Marwan Mattar, Tamara Berg, and Eric Learned-Miller. Labeled faces in the wild: A database forstudying face recognition in unconstrained environments. In _Workshop on faces in’Real-Life’Images: detection, alignment, and recognition_ , 2008.
|
| 275 |
+
|
| 276 |
+
- N. J. A. Sloane J. H. Conway. _Sphere Packings, Lattices and Groups_ . Springer New York, NY, 1998. ISBN 978-0-387-98585-5. doi: [URL removed]
|
| 277 |
+
|
| 278 |
+
- Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_ , pp. 4401–4410, 2019.
|
| 279 |
+
|
| 280 |
+
- Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 8110–8119, 2020.
|
| 281 |
+
|
| 282 |
+
- Minchul Kim, Anil K Jain, and Xiaoming Liu. Adaface: Quality adaptive margin for face recognition. In _Proceedings of the IEEE/CVF conference on computer vision and pattern recognition_ , pp. 18750–18759, 2022.
|
| 283 |
+
|
| 284 |
+
- Minchul Kim, Feng Liu, Anil Jain, and Xiaoming Liu. Dcface: Synthetic face generation with dual condition diffusion model. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 12715–12725, 2023.
|
| 285 |
+
|
| 286 |
+
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In _Proceedings of the International Conference on Learning Representations (ICLR)_ , San Diego, California., USA, May 2015.
|
| 287 |
+
|
| 288 |
+
- Jan Niklas Kolf, Tim Rieber, Jurek Elliesen, Fadi Boutros, Arjan Kuijper, and Naser Damer. Identitydriven three-player generative adversarial network for synthetic-based face recognition. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 806–816, 2023.
|
| 289 |
+
|
| 290 |
+
- Pietro Melzi, Christian Rathgeb, Ruben Tolosana, Ruben Vera-Rodriguez, Dominik Lawatsch, Florian Domin, and Maxim Schaubert. Gandiffface: Controllable generation of synthetic datasets for face recognition with realistic variations. _arXiv preprint arXiv:2305.19962_ , 2023.
|
| 291 |
+
|
| 292 |
+
- Pietro Melzi, Ruben Tolosana, Ruben Vera-Rodriguez, Minchul Kim, Christian Rathgeb, Xiaoming Liu, Ivan DeAndres-Tame, Aythami Morales, Julian Fierrez, Javier Ortega-Garcia, et al. Frcsyn challenge at wacv 2024: Face recognition challenge in the era of synthetic data. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ , pp. 892–901, 2024.
|
| 293 |
+
|
| 294 |
+
- Stylianos Moschoglou, Athanasios Papaioannou, Christos Sagonas, Jiankang Deng, Irene Kotsia, and Stefanos Zafeiriou. Agedb: the first manually collected, in-the-wild age database. In _proceedings of the IEEE conference on computer vision and pattern recognition workshops_ , pp. 51–59, 2017.
|
| 295 |
+
|
| 296 |
+
- Oleg R Musin and Alexey S Tarasov. The strong thirteen spheres problem. _Discrete & Computational Geometry_ , 48:128–141, 2012.
|
| 297 |
+
|
| 298 |
+
- Oleg R Musin and Alexey S Tarasov. The tammes problem for n= 14. _Experimental Mathematics_ , 24(4):460–468, 2015.
|
| 299 |
+
|
| 300 |
+
- Foivos Paraperas Papantoniou, Alexandros Lattas, Stylianos Moschoglou, Jiankang Deng, Bernhard Kainz, and Stefanos Zafeiriou. Arc2face: A foundation model of human faces. _arXiv preprint arXiv:2403.11641_ , 2024.
|
| 301 |
+
|
| 302 |
+
- Haibo Qiu, Baosheng Yu, Dihong Gong, Zhifeng Li, Wei Liu, and Dacheng Tao. Synface: Face recognition with synthetic data. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 10880–10890, 2021.
|
| 303 |
+
|
| 304 |
+
- Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Bj¨orn Ommer. Highresolution image synthesis with latent diffusion models. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)_ , pp. 10684–10695, 2022.
|
| 305 |
+
|
| 306 |
+
11
|
| 307 |
+
|
| 308 |
+
- Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 22500– 22510, 2023.
|
| 309 |
+
|
| 310 |
+
- Soumyadip Sengupta, Jun-Cheng Chen, Carlos Castillo, Vishal M Patel, Rama Chellappa, and David W Jacobs. Frontal to profile face verification in the wild. In _2016 IEEE winter conference on applications of computer vision (WACV)_ , pp. 1–9. IEEE, 2016.
|
| 311 |
+
|
| 312 |
+
- Hatef Otroshi Shahreza, Christophe Ecabert, Anjith George, Alexander Unnervik, S´ebastien Marcel, Nicol`o Di Domenico, Guido Borghi, Davide Maltoni, Fadi Boutros, Julia Vogel, et al. Sdfr: Synthetic data for face recognition competition. In _2024 IEEE 18th International Conference on Automatic Face and Gesture Recognition (FG)_ , pp. 1–9. IEEE, 2024.
|
| 313 |
+
|
| 314 |
+
- Pieter Merkus Lambertus Tammes. On the origin of number and arrangement of the places of exit on the surface of pollen-grains. _Recueil des travaux botaniques n´eerlandais_ , 27(1):1–84, 1930.
|
| 315 |
+
|
| 316 |
+
- Evgeniia Tokarchuk, Hua Chang Bakker, and Vlad Niculae. On the matter of embeddings dispersion on hyperspheres. In _ICML 2024 Workshop on Geometry-grounded Representation Learning and Generative Modeling_ , 2024.
|
| 317 |
+
|
| 318 |
+
- Mei Wang, Weihong Deng, Jiani Hu, Xunqiang Tao, and Yaohai Huang. Racial faces in the wild: Reducing racial bias by information maximization adaptation network. In _Proceedings of the ieee/cvf international conference on computer vision_ , pp. 692–702, 2019.
|
| 319 |
+
|
| 320 |
+
- Dong Yi, Zhen Lei, Shengcai Liao, and Stan Z Li. Learning face representation from scratch. _arXiv preprint arXiv:1411.7923_ , 2014.
|
| 321 |
+
|
| 322 |
+
- Kaipeng Zhang, Zhanpeng Zhang, Zhifeng Li, and Yu Qiao. Joint face detection and alignment using multitask cascaded convolutional networks. _IEEE signal processing letters_ , 23(10):1499–1503, 2016.
|
| 323 |
+
|
| 324 |
+
- Tianyue Zheng and Weihong Deng. Cross-pose lfw: A database for studying cross-pose face recognition in unconstrained environments. _Beijing University of Posts and Telecommunications, Tech. Rep_ , 5(7), 2018.
|
| 325 |
+
|
| 326 |
+
- Tianyue Zheng, Weihong Deng, and Jiani Hu. Cross-age lfw: A database for studying cross-age face recognition in unconstrained environments. _arXiv preprint arXiv:1708.08197_ , 2017.
|
| 327 |
+
|
| 328 |
+
- Zheng Zhu, Guan Huang, Jiankang Deng, Yun Ye, Junjie Huang, Xinze Chen, Jiagang Zhu, Tian Yang, Jiwen Lu, Dalong Du, et al. Webface260m: A benchmark unveiling the power of millionscale deep face recognition. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 10492–10502, 2021.
|
| 329 |
+
|
| 330 |
+
12
|
| 331 |
+
|
| 332 |
+
## A COMPLEXITY AND REQUIRED COMPUTATION RESOURCE
|
| 333 |
+
|
| 334 |
+
The computation required to generate the synthetic datasets in our approach has two main parts:
|
| 335 |
+
|
| 336 |
+
1. **HyperFace Optimization:** The HyperFace optimization (Algorithm 1) considers all reference points _{_ _**x**_ ref _,i}[n] i_ =1[id][in][the hypersphere][and maximizes their distances.][Therefore,][this] optimization considers all pairs of points and has quadratic complexity (i.e., _O_ ( _n_[2] id[)][).] Table 9 reports the runtime for solving the HyperFace optimization for different numbers of identities (i.e., _n_ id) on a system equipped with a single NVIDIA 3090 GPU. Note that this optimization process cannot be parallelized.
|
| 337 |
+
|
| 338 |
+
Table 9: Runtime for solving the HyperFace optimization (Algorithm 1) for different numbers of identities on a system equipped with a single NVIDIA 3090 GPU.
|
| 339 |
+
|
| 340 |
+
|_n_id|HyperFace Optimization Runtime|
|
| 341 |
+
|---|---|
|
| 342 |
+
|10k|6 hours|
|
| 343 |
+
|20k|11 hours|
|
| 344 |
+
|30k|23 hours|
|
| 345 |
+
|50k|84 hours|
|
| 346 |
+
|
| 347 |
+
We should note that instead of solving the HyperFace optimization on all pairs of points, we can solve the optimization stochastically in which in each iteration a mini-batch of points is considered and optimized. Therefore the complexity will become _O_ ( _b_[2] ), where _b_ is size of mini-batch and _b ≤ n_ id. This way the complexity of our method can be independent of the number of identities and significantly reduced (especially for _b ≪ n_ id). Our stochastic optimization is further studied and discussed in Section B of this Appendix.
|
| 348 |
+
|
| 349 |
+
2. **Image Generation:** After solving the HyperFace optimization, we need to use the generator network in inference mode and generate the required number of images. Therefore, the generation of dataset has a _linear_ complexity with respect to the number of images (i.e., _O_ ( _n_ images), where _n_ images is the number of images in the generated dataset). The average runtime for generating a single synthetic face image on a system equipped with a single NVIDIA 3090 GPU is 1.25 seconds. For example, generating a dataset with 500,000 images takes about 174 hours on a single NVIDIA 3090 GPU. Note that this optimization process can be parallelized, and therefore image generation can be deployed on a cluster or a farm of GPUs.
|
| 350 |
+
|
| 351 |
+
## B HYPERFACE STOCHASTIC OPTIMIZATION
|
| 352 |
+
|
| 353 |
+
As discussed in Appendix A, HyperFace optimization (Algorithm 1) considers all reference points _{_ _**x**_ ref _,i}[n] i_ =1[id][and][has][a][quadratic][complexity] _[O]_[(] _[n]_[2] id[)][.][To][reduce][this][complexity,][in][each][iteration,] we can randomly select a mini-batch of _b_ points and only optimize the selected _b_ reference points instead of all _n_ id reference points. This way in each iteration we can compare only �2 _b_ � pairs instead of � _n_ 2id� pairs, and therefore the complexity of our optimization will become _O_ ( _b_[2] ). In the following, we first theoretically prove that the expected mini-batch gradient approximates the full gradient, and then validate it with experimental analyses.
|
| 354 |
+
|
| 355 |
+
**Theorem 1.** _Let_ _**X** ref_ = _{_ _**x** ref,i}[n] i_ =1 _[id][represent][ n][id][ points on a][ n][X][ -dimensional hypersphere][ S][.][Con-] sider an objective function:_
|
| 356 |
+
|
| 357 |
+
**==> picture [397 x 81] intentionally omitted <==**
|
| 358 |
+
|
| 359 |
+
E[ _∇LB_ ( _**X** ref_ )] = _∇L_ ( _**X** ref_ ) _._ (4)
|
| 360 |
+
|
| 361 |
+
13
|
| 362 |
+
|
| 363 |
+
_Proof._ For a batch _B_ of size _b_ , the batch objective is:
|
| 364 |
+
|
| 365 |
+
**==> picture [288 x 28] intentionally omitted <==**
|
| 366 |
+
|
| 367 |
+
The full gradient of _L_ ( _**X**_ ref) is:
|
| 368 |
+
|
| 369 |
+
**==> picture [292 x 30] intentionally omitted <==**
|
| 370 |
+
|
| 371 |
+
Similarly, the batch gradient is:
|
| 372 |
+
|
| 373 |
+
**==> picture [297 x 28] intentionally omitted <==**
|
| 374 |
+
|
| 375 |
+
The expectation over all possible batches _B_ is:
|
| 376 |
+
|
| 377 |
+
**==> picture [326 x 30] intentionally omitted <==**
|
| 378 |
+
|
| 379 |
+
where _P_ [( _i, j_ ) _∈ B_ ] is the probability of selecting the pair ( _i, j_ ) in a random batch. For uniformly sampled random batches:
|
| 380 |
+
|
| 381 |
+
**==> picture [243 x 29] intentionally omitted <==**
|
| 382 |
+
|
| 383 |
+
By substituting _P_ [( _i, j_ ) _∈ B_ ] into the expectation in Eq. 8, we will have:
|
| 384 |
+
|
| 385 |
+
**==> picture [327 x 29] intentionally omitted <==**
|
| 386 |
+
|
| 387 |
+
Thus, the batch gradient is an unbiased estimator of the full gradient.
|
| 388 |
+
|
| 389 |
+
**Corollary 1.** _A special case for Theorem 1 is when function ℓ_ ( _**x** ref,i,_ _**x** ref,j_ ) _is defined as follows:_
|
| 390 |
+
|
| 391 |
+
**==> picture [357 x 31] intentionally omitted <==**
|
| 392 |
+
|
| 393 |
+
Therefore, we can rewrite Algorithm 1 with a stochastic optimization as presented in Algorithm 2.
|
| 394 |
+
|
| 395 |
+
**Algorithm 2** HyperFace Stochastic Optimization for Finding Reference Embeddings
|
| 396 |
+
|
| 397 |
+
_n_ gallery 1: **Inputs** : _λ_ : learning rate, _n_ itr : number of iterations, _{_ _**x** g}g_ =1 : embeddings of a gallery of face images, 2: _α_ : hyperparameter (contribution of regularization), _b_ : size of mini-batch. 3: **Output** : _**X**_ ref = _{_ _**x**_ ref _,i}[n] i_ =1[id][:][ optimized reference embeddings.] 4: **Procedure:** 5: Initialize reference embeddings _**X**_ ref = _{_ _**x**_ ref _,i}[n] i_ =1[id] 6: **For** _n_ = 1 _, .., n_ itr **do** 7: Sample a random mini-batch _B ⊂_ _**X**_ ref of size _b ▷_ Sampling a random mini-batch 8: Find _**x**_ ref _,i,_ _**x**_ ref _,j ∈ B_ which have minimum distance _d_ ( _**x**_ ref _,i,_ _**x**_ ref _,j_ ) _b_ 9: Reg _←_[1] _b_ � _k_ =1[min] _[{]_ _**[x]** g[}]_ gallery _[d]_[(] _**[x]**_[ref] _[,k][,]_ _**[ x]**[g]_[)] _▷_ Calculate the regularization term 10: cost _←−d_ ( _**x**_ ref _,i,_ _**x**_ ref _,j_ ) 11: _B ← B −_ Adam( _∇_ cost _, λ_ ) 12: _B ←_ normalize( _B_ ) _▷_ To ensure that resulting embeddings B remain on the hypersphere. 13: Update _B_ in _**X**_ ref 14: **End For** 15: **End Procedure**
|
| 398 |
+
|
| 399 |
+
To validate our theoretical analyses, we implement the HyperFace stochastic optimization (Algorithm 2) and use the optimized embeddings to generate synthetic face recognition datasets. We
|
| 400 |
+
|
| 401 |
+
14
|
| 402 |
+
|
| 403 |
+
consider 30,000 synthetic identities and solve HyperFace stochastic optimization (Algorithm 2) for different batch sizes. In each case, after solving the stochastic optimization, we generate 50 synthetic images per identity as described in Section 2 (Image Generation). Then, we use the generated datasets to train face recognition models and evaluate the performance of trained face recognition models. Table 10 reports the performance of trained face recognition models. As the results in this table show face recognition models trained with datasets that are generated with stochastic minibatch optimization achieve comparable performance to the face recognition model trained with the dataset that is generated based on full-batch optimization. Therefore, our experimental results meet our theoretical prediction in Theorem 1.
|
| 404 |
+
|
| 405 |
+
Table 10: Ablation study on the effect of number of batch size in HyperFace stochastic optimization (Algorithm 2).
|
| 406 |
+
|
| 407 |
+
|Batch Size|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 408 |
+
|---|---|---|---|---|---|
|
| 409 |
+
|1,000 (mini-batch)|98.28|85.23|91.05|91.86|89.37|
|
| 410 |
+
|5,000 (mini-batch)|98.62|84.98|90.73|90.41|88.97|
|
| 411 |
+
|30,000(full-batch)|98.38|85.07|90.88|91.57|89.60|
|
| 412 |
+
|
| 413 |
+
In terms of complexity, the HyperFace stochastic optimization (Algorithm 2) requires significantly less computation resources for solving the optimization. Table 11 reports the runtime for solving the HyperFace stochastic optimization (Algorithm 2) for different batch sizes and different numbers of identities and a fixed size of gallery on a system equipped with a single NVIDIA 3090 GPU. As the results in this table show, the complexity is independent of the number of identities (i.e., _n_ id) and depends on the size of mini-batch _b_ . Comparing the results in Table 11 and Table 9, we can conclude that our stochastic optimization significantly reduced the complexity.
|
| 414 |
+
|
| 415 |
+
Table 11: Runtime for solving the HyperFace stochastic optimization (Algorithm 2) for different numbers of identities on a system equipped with a single NVIDIA 3090 GPU.
|
| 416 |
+
|
| 417 |
+
|Batch Size (_b_)|# ID (_n_id)<br>HyperFace Stochastic Optimization Runtime|
|
| 418 |
+
|---|---|
|
| 419 |
+
|1,000|30k<br>0.4 hours|
|
| 420 |
+
||50k<br>0.5 hours|
|
| 421 |
+
||100k<br>0.5 hours|
|
| 422 |
+
|5,000|30k<br>2.2 hours|
|
| 423 |
+
||50k<br>2.2 hours|
|
| 424 |
+
||100k<br>2.2 hours|
|
| 425 |
+
|10,000|30k<br>8.8 hours|
|
| 426 |
+
||50k<br>8.9 hours|
|
| 427 |
+
||100k<br>8.9 hours|
|
| 428 |
+
|
| 429 |
+
## C SYNTHETIC DATASETS AT SCALE
|
| 430 |
+
|
| 431 |
+
In Table 1 of the paper, we compared our face recognition models trained with our generated dataset and synthetic datasets in the literature. For previous datasets, we considered the available version of each dataset which has a similar number of identities (10k). In Table 3, we studied the effect of the number of identities in our dataset generation, where the results showed that we can scale our synthetic dataset and achieve a higher recognition performance. In Table 12, we compare the performance of face recognition models trained with our generated datasets and with all publicly available versions (particularly larger scale) of synthetic datasets in the literature. As the results in this table show, our generated datasets achieve competitive performance with synthetic datasets in the literature at scale. Comparing different datasets in the literature, DCFace, which outperformed previous datasets in Table 1, does not achieve the best performance on any of the benchmarks for its larger version. In contrast, Langevin-DisCo achieves a significant improvement for its larger version with 30k identities compared to its smaller version with 10k identities. However, Geissb¨uhler et al. (2024) reported a lower performance for their dataset with 50k identities compared to 30k identities, indicating limitations in further scaling the Langevin-DisCo dataset for more than 30k identities.
|
| 432 |
+
|
| 433 |
+
15
|
| 434 |
+
|
| 435 |
+
Table 12: Comparison of recognition performance of face recognition models trained with _the largest available versions_ of different synthetic datasets as well as a real dataset (i.e., CASIAWebFace). The performance reported for each dataset is in terms of accuracy and best value for each benchmark is emboldened.
|
| 436 |
+
|
| 437 |
+
|Dataset name|# IDs|# Images|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 438 |
+
|---|---|---|---|---|---|---|---|
|
| 439 |
+
|SynFace (Qiu et al., 2021)|10’000|999’994|86.57|65.10|70.08|66.79|59.13|
|
| 440 |
+
|SFace (Boutros et al., 2022)|10’572|1’885’877|93.65|74.90|80.97|75.36|70.32|
|
| 441 |
+
|Syn-Multi-PIE (Colbois et al., 2021)|10’000|180’000|78.72|60.22|61.83|60.84|54.05|
|
| 442 |
+
|IDnet (Kolf et al., 2023)|10’577|1’057’200|84.48|68.12|71.42|68.93|62.63|
|
| 443 |
+
|ExFaceGAN (Boutros et al., 2023b)|10’000|599’944|85.98|66.97|70.00|66.96|57.37|
|
| 444 |
+
|GANDiffFace (Melzi et al., 2023)|10’080|543’893|94.35|76.15|79.90|78.99|69.82|
|
| 445 |
+
|Langevin-Dispersion (Geissb¨uhler et al., 2024)|10’000|650’000|94.38|65.75|86.03|65.51|77.30|
|
| 446 |
+
|Langevin-DisCo (Geissb¨uhler et al., 2024)|10’000|650’000|97.07|76.73|89.05|79.56|83.38|
|
| 447 |
+
|Langevin-DisCo (Geissb¨uhler et al., 2024)|30’000|1’950’000|**98.97**|81.52|**93.95**|83.77|**93.32**|
|
| 448 |
+
|DigiFace-1M (Bae et al., 2023)|109’999|1’219’995|90.68|72.55|73.75|79.43|68.43|
|
| 449 |
+
|IDiff-Face(Uniform) (Boutros et al., 2023a)|10’049|502’450|98.18|80.87|90.82|82.96|85.50|
|
| 450 |
+
|IDiff-Face(Two-Stage) (Boutros et al., 2023a)|10’050|502’500|98.00|77.77|88.55|82.57|82.35|
|
| 451 |
+
|DCFace (Kim et al., 2023)|10’000|500’000|98.35|83.12|91.70|88.43|89.50|
|
| 452 |
+
|DCFace (Kim et al., 2023)|60’000|1’200’000|98.90|84.97|92.80|89.04|91.52|
|
| 453 |
+
|**HyperFace [ours]**|10’000|640’000|98.67|84.68|89.82|89.14|87.07|
|
| 454 |
+
|**HyperFace [ours]**|50’000|3’200’000|98.27|**85.60**|91.48|**92.24**|90.40|
|
| 455 |
+
|CASIA-WebFace (Yi et al., 2014)|10’572|490’623|99.42|90.02|93.43|94.97|94.32|
|
| 456 |
+
|
| 457 |
+
Nevertheless, our method achieves improvement by scaling the number of identities (Table 3). In particular, our dataset with 50k identities and 3.2M images achieves competitive performance with large-scale synthetic datasets in the literature.
|
| 458 |
+
|
| 459 |
+
## D IDENTITY LEAKAGE AND RECOGNITION PERFORMANCE
|
| 460 |
+
|
| 461 |
+
In Section 3.3, we discussed identity leakage in the generated face datasets. While the leakage of identity is not evident in the generated dataset, it is important to see if identity leakage may affect the recognition performance of face recognition models. To this end, we consider the FFHQ and CASIA-WebFace datasets as two real face datasets and compare all possible pairs from our synthetic dataset with images in the real datasets. Then, for each of these real datasets, we find the top-200 pairs (synthetic-real) and exclude the corresponding synthetic image from our generated dataset. This ensures that images which may contain identity leakage are excluded from the final synthetic datasets. We use the resulting cleaned datasets to train face recognition models and compare them with the face recognition model trained on our original synthetic dataset. Table 13 reports the recognition performance of face recognition models trained with original and cleaned synthetic datasets.
|
| 462 |
+
|
| 463 |
+
Table 13: Evaluation of potential identity leakage on the recognition performance.
|
| 464 |
+
|
| 465 |
+
|Synthetic Dataset|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 466 |
+
|---|---|---|---|---|---|
|
| 467 |
+
|cleaned (Ref.: CASIA-WebFace)|98.52|84.80|89.52|89.43|87.00|
|
| 468 |
+
|cleaned (Ref.: FFHQ)|98.77|84.53|89.35|89.36|86.67|
|
| 469 |
+
|original|98.67|84.68|89.82|89.14|87.07|
|
| 470 |
+
|
| 471 |
+
As the results in Table 13, removing images with similar identities does not impact the recognition performance of the trained face recognition model. However, we would like to highlight that while identity leakage may not affect recognition performance on benchmark datasets, it is an important privacy concern.
|
| 472 |
+
|
| 473 |
+
16
|
| 474 |
+
|
| 475 |
+
## E ADDITIONAL ABLATION STUDY
|
| 476 |
+
|
| 477 |
+
In Section 3, we reported ablation studies on different hyperparameters in our dataset generation. As a new experiment, we consider different optimizers for solving HyperFace optimization (full batch). We consider RMSprop, Adam, and AdamW optimizers. Table 14 compares the performance of the face recognition model trained with datasets that are generated based on different optimizers in HyperFace optimization. As the results in this table show, solving HyperFace optimization with different optimizers leads to comparable performance.
|
| 478 |
+
|
| 479 |
+
Table 14: Ablation study on optimizer
|
| 480 |
+
|
| 481 |
+
|Optimizer|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 482 |
+
|---|---|---|---|---|---|
|
| 483 |
+
|RMSprop|98.47|84.73|89.18|89.27|86.83|
|
| 484 |
+
|AdamW|98.70|84.20|89.02|89.41|86.38|
|
| 485 |
+
|Adam|98.67|84.68|89.82|89.14|87.07|
|
| 486 |
+
|
| 487 |
+
As another experiment, we generate random points on the hypersphere and use random points as reference embeddings without HyperFace optimization to generate a synthetic dataset. We ensure that selected points have at least 0.3 cosine distance. Table 15 compares the performance of the face recognition model trained with the dataset based on random embeddings and HyperFace optimization. As the results in this table show, solving HyperFace optimization achieves superior performance on all benchmarks. Note that with a random selection of points on the hypersphere, there is no guarantee to be on the manifold of embeddings of the face recognition model. However, with our HyperFace optimization, we try to keep points on the face recognition manifold, which results in a dataset that leads to better performance.
|
| 488 |
+
|
| 489 |
+
Table 15: Ablation study on using random points vs HyperFace optimization.
|
| 490 |
+
|
| 491 |
+
|Reference Embeddings|LFW|CPLFW|CALFW|CFP|AgeDB|
|
| 492 |
+
|---|---|---|---|---|---|
|
| 493 |
+
|Random|98.12|83.67|86.67|88.79|84.25|
|
| 494 |
+
|HyperFace Optimization|**98.67**|**84.68**|**89.82**|**89.14**|**87.07**|
|
| 495 |
+
|
| 496 |
+
## F HYPERFACE DATASET GENERATION
|
| 497 |
+
|
| 498 |
+
We described HyperFace dataset generation in 2. Algorithm 3 summarizes the dataset generation process in our method.
|
| 499 |
+
|
| 500 |
+
## **Algorithm 3** HyperFace Dataset Generation
|
| 501 |
+
|
| 502 |
+
|**Alg**|**orithm 3**HyperFace Dataset Generation|**orithm 3**HyperFace Dataset Generation|**orithm 3**HyperFace Dataset Generation|**orithm 3**HyperFace Dataset Generation|
|
| 503 |
+
|---|---|---|---|---|
|
| 504 |
+
|1:|**Inputs**:<br>_n_id :number of synthetic identities,_n_sample :number of sample images per identity,||||
|
| 505 |
+
|2:|_G_:face generator model,_β_ :hyperparameter (controls variations in embeddings)||||
|
| 506 |
+
|3:|**Output**:<br>_D_HyperFace =_{_**_I_**_}_:generated dataset.||||
|
| 507 |
+
|4:|**Procedure:**||||
|
| 508 |
+
|5:|Solve HyperFace optimization to fnd reference embeddings**_X_**ref =_{_**_x_**ref_,i}n_id<br>_i_=1|||_▷_Algorithm 1 or 2|
|
| 509 |
+
|6:|Initialize_D_HyperFace= [ ]||||
|
| 510 |
+
|7:|**For****_x_**ref _∈{_**_x_**ref_,i}n_id<br>_i_=1 **do**||||
|
| 511 |
+
|8:|**For**_n_= 1_, .., n_sample **do**||||
|
| 512 |
+
|9:|Sample Gaussian noise**_z_** _∼N_(0_,_|IDM)|_▷_For diffusion model_G_||
|
| 513 |
+
|10:|Sample Gaussian noise**_v_** _∼N_(0_,_|I_nX_ )|_▷_For variations in the embedding**_x_**ref||
|
| 514 |
+
|11:|Generate synthetic image**_I_** =_G_(|**_x_**ref+_β_**_v_**<br>_||_**_x_**ref+_β_**_v_**_||_2 _,_**_z_**)|||
|
| 515 |
+
|12:|_D_HyperFace.append(**_I_**)||_▷_Store the generated image**_I_** in the dataset_D_HyperFace||
|
| 516 |
+
|13:|**End For**||||
|
| 517 |
+
|14:|**End For**||||
|
| 518 |
+
|15:|**End Procedure**||||
|
| 519 |
+
|
| 520 |
+
17
|
| 521 |
+
|
| 522 |
+
## G VISUALIZATION
|
| 523 |
+
|
| 524 |
+
Figure 4 illustrates sample face images from the HyperFace dataset. In addition, Figure 5 and Figure 6 also show intra-class variations for two synthetic identities in the HyperFace dataset.
|
| 525 |
+
|
| 526 |
+
**==> picture [298 x 564] intentionally omitted <==**
|
| 527 |
+
|
| 528 |
+
Figure 4: Sample face images of different synthetic identities from the HyperFace dataset.
|
| 529 |
+
|
| 530 |
+
18
|
| 531 |
+
|
| 532 |
+
**==> picture [312 x 309] intentionally omitted <==**
|
| 533 |
+
|
| 534 |
+
Figure 5: Sample face images of one subject from the HyperFace dataset (intra-class variations).
|
| 535 |
+
|
| 536 |
+
**==> picture [312 x 309] intentionally omitted <==**
|
| 537 |
+
|
| 538 |
+
Figure 6: Sample face images of one subject from the HyperFace dataset (intra-class variations).
|
| 539 |
+
|
| 540 |
+
19
|
| 541 |
+
|
open_review/iclr2025_13861.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13861",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigation",
|
| 6 |
+
"abstract": "Large language models (LLMs) have recently gained much attention in building autonomous agents. However, performance of current LLM-based web agents in long-horizon tasks is far from optimal, often yielding errors such as repeatedly buying a non-refundable flight ticket. By contrast, humans can avoid such an irreversible mistake, as we have an awareness of the potential outcomes (e.g., losing money) of our actions, also known as the \"world model\". Motivated by this, our study first starts with preliminary analyses, confirming the absence of world models in current LLMs (e.g., GPT-4o, Claude-3.5-Sonnet, etc.). Then, we present a World-model-augmented (WMA) web agent, which simulates the outcomes of its actions for better decision-making. To overcome the challenges in training LLMs as world models predicting next observations, such as repeated elements across observations and long HTML inputs, we propose a transition-focused observation abstraction, where the prediction objectives are free-form natural language descriptions exclusively highlighting important state differences between time steps. Experiments on WebArena and Mind2Web show that our world models improve agents' policy selection without training and demonstrate our agents' cost- and time-efficiency compared to recent tree-search-based agents.",
|
| 7 |
+
"rebuttal": "Thank you for the reply and the score adjustment. We will **make sure** to include the following in the camera-ready version:\n- the presented experimental results in our response\n- adjustments of the y-axis of the figures\n- clarifications on the experimental settings (including the value function)\n\n### Explanations of the Value Function\nWe explored two settings, prompting and fine-tuning, to implement the value function.\nFor fine-tuning the setting, we use the next-token prediction objective for the training. While the general way to implement reward models is to use an auxiliary regression head, instead of the LM head, the generative manner allows LLMs to output their thoughts on the evaluation. Recently, there has been a line of research [1,2,3] that has approached reward modeling in a generative manner, to fully leverage LLMs' reasoning abilities by explicitly outputting the thoughts on the evaluation. Following, this line of research, we train the value function in a generative manner so that it can explicitly generate the implicit rationales before the scores.\n\nFor the prompted value function, we use the same prompt used for the fine-tuned value function to encourage them to output both the thoughts and the scores.\n\n[1] Generative Verifiers: Reward Modeling as Next-Token Prediction\n\nhttps://arxiv.org/pdf/2408.15240\n\n[2] Generative Reward Models\n\nhttps://arxiv.org/pdf/2410.12832\n\n[3] Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluation\n\nhttps://arxiv.org/pdf/2407.10817\n\nDear Reviewer N8Nf,\n\nThank you for your thorough review of our manuscript. Your feedback has been invaluable in improving our work. As we have reached the final day of the discussion period, we would be grateful if you could review our response to check if it adequately addresses your questions.\n\nDear Reviewer YRJg,\n\nThank you for your thoughtful review! Since we're in the last day of discussions, I was wondering if you could kindly take a look at our response? I'd love to know if it clarifies your questions.\n\nDear Reviewer mAfj,\n\nThank you again for your time and effort in writing the review. As this is the final day of the discussion period, I would greatly appreciate if you could read our response to \bcheck it addresses your questions.\n\nWe appreciate your insightful review and acknowledgment of our contribution.\n### **W1. In-depth analysis on the world model**\n\n\nWe conducted a direct evaluation to evaluate how well our world model predicts the next observation, focusing primarily on coverage. Coverage measures how much information from the ground-truth observation is successfully captured in the model's prediction. \nWe define coverage as the ratio of the information of the ground-truth observation covered by the predicted next observation. Specifically, the coverage score is calculated as:\n\n- (\\# sentences in ground-truth o [...]\n\nThank you for your thoughtful response and the score adjustment! We appreciate your recognition of our efforts in clarifying the contributions and conducting the depth impact analysis. We will work on expanding the discussion of the related work and adding a detailed explanation of the experimental results in the revised version. Your constructive comments have been invaluable in improving our paper.\n\n### General Response\nFirst of all, thank you for your patience. We have dedicated the entire discussion period to conducting experiments in response to the reviewers' insightful and interesting suggestions, as we wanted to thoroughly address their requests.\nWe provide the experiments that the reviewers commonly mention in this general response.\n\n### **Extending our world model to take multimodal input**\n\nSpecifically, we enhanced the model to process both text and image observations. We extended our world model to a multimodal setting, inspired by the recent success of multimodal web agents. F [...]\n\n### Response to Reviewer N8Nf\nThank you for the positive review and valuable comments.\n\n### **W1(Q2).** **Application of world model to multi-step planning**\n\nWe agree that extending our framework to a multi-step setting is crucial for web navigation tasks since web navigation generally involves long-horizon planning. To explore this direction, we conduct an experiment and provide the results in the general response.\n\n### **W2 (Q1). Application of world model to multimodal input** \nWe have extended our world model to take not only text observation but also multimodal observation. These result [...]\n\n### Response to Reviewer mAfj - 1\nWe sincerely appreciate your detailed feedback, which is invaluable in improving our work.\n\n### **Weaknesses**\n\n**W1. Performance of WMA web agents on WebArena** \nWe design the framework to be easily applied to various agent frameworks, and in the experiments on WebArena we applied our framework to the most basic web agent, Vanilla CoT to understand its fundamental effectiveness. \n\nWe also show that our approach also holds effectiveness with stronger agent frameworks (e.g., AWM) than Vanilla CoT as we show in Table 3\\. Thus, while we did not achieve state-of- [...]\n\n### Response to Reviewer mAfj - 2\n### **Clarifying questions**\n\n> What is “policy optimization” as applied to Tree Search Agent (Koh et al, 2024). I thought Figure 3 bottom shows “policy optimization” which seems like it would only apply to World Model Agent. \n\n**Q1.** We use “policy optimization” to incur a method that selects the best action among the sampled actions according to the value score on the future states visited during the exploration. We have changed the wording to “action selection” for better clarity.\n\n---\n\n\n> Correspondingly, what is \"no policy optimization\"? Is that just Co [...]\n\n### Response to Reviewer mAfj - 3\n### **Other Questions**\n> Why is the user instruction included in the data? Shouldn't the world model be able to predict the changes based on the action without needing to know the intent? \n\n**Q6.** Yes, by the definition of the world mod\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
6,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 6.0,
|
| 15 |
+
"score_variance": 0,
|
| 16 |
+
"score_spread": 0,
|
| 17 |
+
"score_min": 6,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "Summary:\n\nThis paper presents a World-model-augmented (WMA) web agent, which simulates the outcomes of the agent’s actions for better decision-making. To train a world model for web agents, the paper proposes a transition-focused observation abstraction, where the prediction objectives are free-form natural language descriptions exclusively highlighting important state differences between time steps. This helps overcome the challenges of training LLMs as world models predicting next observations, such as repeated elements across observations and long HTML inputs. Experiments on WebArena and Mind2Web show that the trained world model can improve agents' policy selection. Compared with tree search agents, the WMA agent demonstrates cost- and time-efficiency. \n\nStrengths:\n\n1. The study of world models within LLM-based web agents is an interesting direction. The paper provides a new method for training world models for web agents and a new method for using such models to improve LLM-based web agents. (Reviewer N8Nf, Reviewer mAfj) The paper’s technical contribution includes a novel state representation, world model training method, and world model augmented agent design. (Reviewer YRJg)\n\n2. The utility of world models for web-agents is still under-explored. Both the training and inference time algorithm presented in this paper could have significance down the line. (Reviewer mAfj)). \n\n3. The WMA agent shows improved efficiency over the tree search agent baseline (Reviewer YRJg).",
|
| 22 |
+
"forum_id": "moWiYJuSGF",
|
| 23 |
+
"primary_area": "applications to robotics, autonomy, planning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_N8Nf",
|
| 28 |
+
"review_id": "lSOZnweVBa",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 2,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2660,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 388979,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_mAfj",
|
| 44 |
+
"review_id": "w47AN6YkW0",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 6224,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2458100,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_YRJg",
|
| 60 |
+
"review_id": "cnbzbfWGbs",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2764,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 727129,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_tKJR",
|
| 76 |
+
"review_id": "8dHxCLWkbt",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2629,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2211746,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13861.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13864.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13864",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "EvoPress: Towards Optimal Dynamic Model Compression via Evolutionary Search",
|
| 6 |
+
"abstract": "The high computational costs of large language models (LLMs) have led to\na flurry of research on LLM compression, via methods such as quantization,\nsparsification, or structured pruning. A new frontier in this area is given by\ndynamic, non-uniform compression methods, which adjust the compression\nlevels (e.g., sparsity) per-block or even per-layer in order to minimize accuracy\nloss, while guaranteeing a global compression threshold. Yet, current methods\nrely on heuristics for identifying the “importance” of a given layer towards the\nloss, based on assumptions such as error monotonicity, i.e. that the end-to-end\nmodel compression error is proportional to the sum of layer-wise errors. In this\npaper, we revisit this area, and propose a new and general approach for dynamic\ncompression that is provably optimal in a given input range. We begin from\nthe motivating observation that, in general, error monotonicity does not hold for\nLLMs: compressed models with lower sum of per-layer errors can perform worse\nthan models with higher error sums. To address this, we propose a new general\nevolutionary framework for dynamic LLM compression called EvoPress, which\nhas provable convergence, low sample and evaluation complexity. We show that\nthese theoretical guarantees lead to highly competitive practical performance\nfor dynamic compression of Llama, Mistral and Phi models: via EvoPress, we\nset new state-of-the-art results for structural pruning (block/layer dropping),\nunstructured sparsity, as well as quantization with dynamic bitwidths.",
|
| 7 |
+
"rebuttal": "### Additional response\nWe observed that, following our first rebuttal, the reviewer has added a new point to their review: \n\n> The theoretical results are somewhat disconnected from other parts. I think having the theoretical results is a bonus and it can be of interest beyond the LLM context. But some exploration of the function form of f in real experiments or some simple simulation example might better demonstrate the significance of the results\n\nWe wish to add a clarification relative to this new point: \n\nSpecifically, we would like to emphasize that our main theoretical result in Theorem 1 is directly linked to our method’s practical performance: the challenge in the case of LLMs is precisely the fact that we wish to reach an optimal solution with very few evaluation samples, as evaluating candidate LLMs can be extremely expensive. \n\nThis link between theory and practice is illustrated in Figure 1, which shows that EvoPress reaches an optimal solution on a real LLM compression instance for which it is feasible to evaluate optimality, in very few evaluations. \n\nMore broadly, we note that most prior work, such as ShortGPT, ShortenedLlama, Weight Subcloning, OWL or SPDY, rely on the linearity assumption either implicitly or explicitly. Specifically, linearity is central to the concept of “scoring” the importance of model components, as all the above methods seek to maximize the sum of importance scores for the compressed model. Unlike these methods, the evolutionary algorithm we employ is not restricted to optimizing linear functions and is capable of optimizing diverse fitness landscapes. By proving that EvoPress optimizes efficiently under the linearity assumption (Theorem 1), we provide a theoretical justification for its consistent superior performance across different compression methods when compared to prior scoring-based approaches. \n\nWe do acknowledge the reviewer’s point and will clarify this connection further. If the reviewer finds it useful, we can provide additional results on standard “benchmark” functions for evolutionary algorithms, although this direction is further removed from our main scope.\n\n### Discussion reminder\nDear Reviewer, \n\nAs the discussion period is soon drawing to a close, we wanted to send you a gentle reminder to examine our response and let us know whether it addressed your concerns. For reference: \n\n* we have provided a more detailed justification of the direct relationship between Theorem 1 and our practical results, and \n* we pointed out that the results at different sparsities were already present in our initial submission.\n\nBest regards,\\\nThe authors\n\n### Discussion reminder\nDear Reviewers, \n\nAs the discussion period is soon drawing to a close, we wanted to ask if you could please examine our detailed responses and let us know if they addressed your concerns.\n\nBest regards,\\\nThe authors\n\n### Response\nThank you for your feedback. We address the two points raised below: \n\n> “The theoretical justification in Theorem 1 is irrelevant to the algorithm proposed” \n\nWe respectfully disagree with the statement that Theorem 1 is irrelevant to the algorithm. \nFirst, the vast majority of prior work on non-uniform compression is based on variants of this linearity assumption, either explicitly or implicitly: this is the case for ShortGPT, ShortenedLlama, Weight Subcloning, and OWL, but also dynamic-programming-based approaches such as SPDY, which makes this assumption explicit in their Equ [...]\n\n### Response\nThank you for your feedback, we provide answers below: \n\n1. **Additional illustration of the method.**\n\nThank you for this suggestion. We added a sketch of the illustration to the Appendix H of the revised version. \n\n2. **Hyper-parameter transfer.** \n\nThe multistep selection is purely for efficiency. Here, the main design decision is how many tokens should be required to have enough certainty to discard the current best search point and adopt the new one. Then, one can design the preselection accordingly, because it comes at little overhead compared to the final selection stage. W [...]\n\n### Response\nThank you for the detailed and insightful comments. \n\nWe address the questions below, following the numbering in your review: \n\n1. **Evolutionary search vs elitist strategy focused on exploitation**. \nWe agree with your observation that such an exploitation-focused evolutionary strategy resembles a form of random coordinate ascent. Indeed, these approaches are fundamentally related, though they have been popularized in different scientific communities. Broadly speaking, random coordinate ascent with a different mutation operator (such as ours) can be understood as a form of evolut [...]\n\n### Response\nThank you for your feedback, we address your question about stability below: \n\n> Average and standard deviations\n\nAcross all of our experiments, we observed that EvoPress is extremely robust across different parameter settings, and generally converges to qualitatively similar solutions. To further validate this, for this rebuttal we have performed ablations for the “fast” version (which should have more variance), searching for unstructured sparsity allocation (which has a large number of choices). The results can be found in Appendix C.2 of the revision. \n\nResults show that EvoPr [...]\n\n### Thank you!\nWe would like to thank you for the response and are very glad you found our responses helpful!",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
8,
|
| 10 |
+
8,
|
| 11 |
+
6,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 6.25,
|
| 15 |
+
"score_variance": 5.58,
|
| 16 |
+
"score_spread": 5,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": null,
|
| 21 |
+
"meta_review": "This paper proposes EvoPress, an evolutionary framework for dynamic LLM compression. The authors claim their method outperforms existing approaches in structural pruning, unstructured sparsity, and quantization for Llama, Mistral, and Phi models. They argue that error monotonicity does not hold for LLMs and present an approach with claimed convergence and low sample complexity.\n\nThe paper's main strength lies in its empirical performance across multiple compression approaches and models, as well as the flexibility of the proposed method. However, these strengths are overshadowed by significant weaknesses. The theoretical justification, based on Theorem 1, appears disconnected from the non-linear nature of LLM compression. Moreover, the paper lacks sufficient exploration of hyperparameter sensitivity and transferability, and the experimental comparisons are limited in their comprehensiveness.\n\nThe primary reason for rejection is the substantial disconnect between the theoretical justification and the practical application of the method. The theoretical results based on linear fitness functions do not adequately support the method's effectiveness in the non-linear landscape of LLM compression. This, combined with the insufficient exploration of hyperparameter transferability and limited experimental comparisons, raises concerns about the method's generalizability and the robustness of the reported results.",
|
| 22 |
+
"forum_id": "kWtP5ZOErR",
|
| 23 |
+
"primary_area": "foundation or frontier models, including LLMs",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_yr9o",
|
| 28 |
+
"review_id": "IdK7QnnfIh",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 8,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 2
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1366,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 1793671,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_jZST",
|
| 44 |
+
"review_id": "CdMeLKw6Qy",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 4,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 4,
|
| 50 |
+
"confidence": 3
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3070,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 1972187,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_wUQk",
|
| 60 |
+
"review_id": "rZFj3KY8IT",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 2
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1429,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 763646,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_X4pg",
|
| 76 |
+
"review_id": "ER40cv0QuG",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 692,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 766767,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13864.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13865.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13865",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "DPLM-2: A Multimodal Diffusion Protein Language Model",
|
| 6 |
+
"abstract": "Proteins are essential macromolecules defined by their amino acid sequences, which determine their three-dimensional structures and, consequently, their functions in all living organisms. Therefore, generative protein modeling necessitates a multimodal approach to simultaneously model, understand, and generate both sequences and structures. However, existing methods typically use separate models for each modality, limiting their ability to capture the intricate relationships between sequence and structure. This results in suboptimal performance in tasks that requires joint understanding and generation of both modalities.\nIn this paper, we introduce DPLM-2, a multimodal protein foundation model that extends discrete diffusion protein language model (DPLM) to accommodate both sequences and structures.\nTo enable structural learning with the language model, 3D coordinates are converted to discrete tokens using a lookup-free quantization-based tokenizer.\nBy training on both experimental and high-quality synthetic structures, DPLM-2 learns the joint distribution of sequence and structure, as well as their marginals and conditionals.\nWe also implement an efficient warm-up strategy to exploit the connection between large-scale evolutionary data and structural inductive biases from pre-trained sequence-based protein language models.\nEmpirical evaluation shows that DPLM-2 can simultaneously generate highly compatible amino acid sequences and their corresponding 3D structures eliminating the need for a two-stage generation approach.\nMoreover, DPLM-2 demonstrates competitive performance in various conditional generation tasks, including folding, inverse folding, and scaffolding with multimodal motif inputs.",
|
| 7 |
+
"rebuttal": "This wraps up our response to your follow-up questions from `Q2` to `Q10` (not in a sequential order though)! We hope we have adequately addressed your questions and concerns. Thank you once again for your invaluable feedback, which has significantly helped improve the quality of our work!\n\nCheers!\n\nAuthors\n\n> `Q6:` Even with added baselines, important comparisons are missing. There is a lot of active research on inverse folding, so there is no lack of good baselines and good methodology ([1-4] to name a few). At the end of the day, it is not about beating SOTA result, but about providing objective comparison for the benefit of the protein design community.\n\nThanks for your valuable suggestion. We have added more good inverse folding baselines as you suggested to provide objective comparison for the benefit of the protein design community.\nWe conduct experiments on the CATH 4.2 testset, and * mean [...]\n\n> `Q8:` Regarding the representation learning comparison, there is a huge body of work out there for comparison on these tasks. Why not to compare against strong baselines? Again, it is not about beating SOTA, but about correctly reflecting the state of affairs in the experiments. Also, there is a more recent and more strongly performing Gear-net version (https://arxiv.org/abs/2303.06275).\n\n\nThanks for your valuable suggestion. We have accordingly added more recent strong baselines and updated the stronger GearNet version as you suggested. The results of newly supplemented baseline models are [...]\n\n> `Q7:` Thank you for adding the codebook utilization metrics. However, they are purely quantitative and don't provide insight into the semantic meaning of tokens. Since the structure tokenization is an important part of the work, it would very much benefit from a deep analysis of the used tokens. Since the codebook sizes far exceed the number of secondary structure features, it would be great to map tokens to known structural motifs beyond secondary structure and provide visualizations like in ESM-3 paper.\n\nThank you for the valuable suggestions. We now fully understand your point and complet [...]\n\n> `Q10:` Adding a discussion of the used self-mixup training strategy would strengthen the work. Also the experiment and data in table 8 are not discussed. If the absolute numbers of clusters are reported, the number of samples that underwent clustering should be stated in the caption.\n\nThanks for your suggestions. We would like to make further clarification of the rationale behind the self-mixup training strategy and the details of it as follows. \n\n**Clarification on self-mixup**\n\nThe exposure bias problem, which is described as the input mismatch between training and sampling, has already ga [...]\n\n> `Q3:` In the presented setting, sc-TM and sc-RMSD evaluate the degree of consistency between the predictions in two modalities, sequence and structure. Both \"quality\" and \"designability\" are misnomers.\n\nThanks for your suggestions. Considering that scTM and scRMSD represent the consistency between structure and sequence, we will rename the evaluation metric to \"structure-sequence compatibility/consistency\". If you have a more appropriate way of expressing it, we would be glad to hear your suggestions!\n\n> `Q4:` I appreciate the results on the novelty evaluation using TM-score on the full trai [...]\n\n> `Q2:` DPLM-2 is a finetuned protein language model. So its evaluation should contain a great deal of sequence analysis. The authors provide only pLDDT, which is primarily a structural quality measure, and MMseqs2 clustering. MMseqs2 clustering (and also structural clustering for that matter) should be performed at different thresholds to capture different aspects of the diversity. Adding perplexity as a measure of naturalness/quality and novelty through sequence identity to nearest neighbor in the dataset to the evaluation toolkit would make analysis more sound.\n\nThanks for your suggestions. [...]\n\nDear Reviewer f8By,\n\nThank you so much for your detailed and constructive feedback! We truly value your input and are currently working hard on additional experiments and analyses to address each of your points. Please rest assured that we take your comments very seriously and will provide a thorough response soon. Thanks!\n\nBest regards,\n\nAuthors\n\nDear Reviewer f8By,\n\nHi, thank you for taking the time to provide such thoughtful and valuable feedback on our manuscript. We deeply appreciate your insights, and we have tried our best to address your concerns in our response. Please kindly check it out.\n\nAs the final deadline for manuscript revisions is approaching (Nov 26 AoE), we would be very grateful for any further feedback you might have. Please don’t hesitate to reach out if you have additional questions—we’d be happy to provide further clarifications!\n\nLooking forward to hearing from you, and many many thanks!\n\nBest,\n\nAuthors\n\n**Conditional independence in multimodal diffusion models.**\n\nMultimodal diffusion models aim to accommodate two or more modalities using a unified models. In this case, conditional independence between modalities is generally made $p\\_\\theta(\\mathbf{x}\\_{t-1}, \\mathbf{y}\\_{t-1} | \\mathbf{x}\\_t, \\mathbf{y}\\_{t}) = \\textstyle\\prod\\_i p\\_\\theta(x\\_{t-1, [i]} | \\mathbf{x}\\_t, \\mathbf{y}\\_{t-1}) \\textstyle\\prod\\_j p\\_\\theta(y\\_{t-1, [j]} | \\mathbf{x}\\_t, \\mathbf{y}\\_{t})$. For instance, UniDiffuser [4] is a multimodal continuous diffusion model that handles text and image modalities independently [...]\n\n> `Q10:` One of the main claims of the paper states that the co-generation guarantees consistency between structure and sequence. This is a strong statement that requires strong evidence. However on line 223 the assumption of conditional independence is made. Can you provide a rigorous mathematical proof that garantees such consistensy?\n\n`A10`: Thanks for this valuable question. Conditional independence is not a special assumption made by DPLM-2, it is a fundamental assumption made by \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
3,
|
| 10 |
+
8,
|
| 11 |
+
8
|
| 12 |
+
],
|
| 13 |
+
"score_mean": 6.33,
|
| 14 |
+
"score_variance": 8.33,
|
| 15 |
+
"score_spread": 5,
|
| 16 |
+
"score_min": 3,
|
| 17 |
+
"score_max": 8,
|
| 18 |
+
"decision": "Accept (Poster)",
|
| 19 |
+
"rebuttal_validity_ground_truth": true,
|
| 20 |
+
"meta_review": "This paper proposes a joint generative model for protein structure (represented by discrete tokens) and sequence. The paper details a comprehensive study. The authors and two of three reviewers engaged in a thorough discussion. Two referees are strongly supporting acceptance and the non-engaged referee the opposite. Based upon the discussion and browsing through the paper, acceptance is recommended.",
|
| 21 |
+
"forum_id": "5z9GjHgerY",
|
| 22 |
+
"primary_area": "applications to physical sciences (physics, chemistry, biology, etc.)",
|
| 23 |
+
"n_reviews": 3,
|
| 24 |
+
"per_review": [
|
| 25 |
+
{
|
| 26 |
+
"reviewer": "Reviewer_f8By",
|
| 27 |
+
"review_id": "iR1XwUrD8b",
|
| 28 |
+
"scores": {
|
| 29 |
+
"rating": 3,
|
| 30 |
+
"soundness": 3,
|
| 31 |
+
"presentation": 3,
|
| 32 |
+
"contribution": 2,
|
| 33 |
+
"confidence": 5
|
| 34 |
+
},
|
| 35 |
+
"review_text_chars": 3814,
|
| 36 |
+
"edit_detected": true,
|
| 37 |
+
"edit_delta_seconds": 705159,
|
| 38 |
+
"post_rebuttal_text_signal": false,
|
| 39 |
+
"score_mentions_in_text": []
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"reviewer": "Reviewer_4A34",
|
| 43 |
+
"review_id": "1QliHgzQ8M",
|
| 44 |
+
"scores": {
|
| 45 |
+
"rating": 8,
|
| 46 |
+
"soundness": 3,
|
| 47 |
+
"presentation": 3,
|
| 48 |
+
"contribution": 3,
|
| 49 |
+
"confidence": 4
|
| 50 |
+
},
|
| 51 |
+
"review_text_chars": 4846,
|
| 52 |
+
"edit_detected": true,
|
| 53 |
+
"edit_delta_seconds": 2001455,
|
| 54 |
+
"post_rebuttal_text_signal": false,
|
| 55 |
+
"score_mentions_in_text": []
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"reviewer": "Reviewer_FqCq",
|
| 59 |
+
"review_id": "hs0SFi50YQ",
|
| 60 |
+
"scores": {
|
| 61 |
+
"rating": 8,
|
| 62 |
+
"soundness": 3,
|
| 63 |
+
"presentation": 4,
|
| 64 |
+
"contribution": 3,
|
| 65 |
+
"confidence": 5
|
| 66 |
+
},
|
| 67 |
+
"review_text_chars": 7390,
|
| 68 |
+
"edit_detected": true,
|
| 69 |
+
"edit_delta_seconds": 2393142,
|
| 70 |
+
"post_rebuttal_text_signal": false,
|
| 71 |
+
"score_mentions_in_text": [
|
| 72 |
+
{
|
| 73 |
+
"from": 100,
|
| 74 |
+
"to": 300
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
}
|
| 78 |
+
],
|
| 79 |
+
"any_review_edit_detected": true,
|
| 80 |
+
"any_post_rebuttal_text_signal": false,
|
| 81 |
+
"review_score_dimensions": [
|
| 82 |
+
"rating",
|
| 83 |
+
"soundness",
|
| 84 |
+
"presentation",
|
| 85 |
+
"contribution",
|
| 86 |
+
"confidence"
|
| 87 |
+
]
|
| 88 |
+
}
|
open_review/iclr2025_13865.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13867.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13867",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Efficient Residual Learning with Mixture-of-Experts for Universal Dexterous Grasping",
|
| 6 |
+
"abstract": "Universal dexterous grasping across diverse objects presents a fundamental yet formidable challenge in robot learning. Existing approaches using reinforcement learning (RL) to develop policies on extensive object datasets face critical limitations, including complex curriculum design for multi-task learning and limited generalization to unseen objects. \nTo overcome these challenges, we introduce ResDex, a novel approach that integrates residual policy learning with a mixture-of-experts (MoE) framework. ResDex is distinguished by its use of geometry-agnostic base policies that are efficiently acquired on individual objects and capable of generalizing across a wide range of unseen objects. Our MoE framework incorporates several base policies to facilitate diverse grasping styles suitable for various objects. By learning residual actions alongside weights that combine these base policies, ResDex enables efficient multi-task RL for universal dexterous grasping.\nResDex achieves state-of-the-art performance on the DexGraspNet dataset comprising 3,200 objects with an 88.8% success rate. It exhibits no generalization gap with unseen objects and demonstrates superior training efficiency, mastering all tasks within only 12 hours on a single GPU. For further details and videos, visit our project page.",
|
| 7 |
+
"rebuttal": "We sincerely appreciate your review and your positive feedback on our work!\n\nThank you! We sincerely appreciate your positive feedback.\n\nThank you for your positive feedback on our work!\n\nThank you for your positive feedback! We have updated the term \"joint positions\" to \"joint angles\" throughout the paper to enhance clarity.\n\n**Q5.** How is $g$ in equation 2 sampled? Will randomly sampling $g$ cause gradient interference?\n\n**A5.** Each grasping proposal $g$ is associated with an object in the dataset and is integrated into the reward to guide the policy towards effective grasping poses. For each training episode, we uniformly sample one grasping proposal per object to compute the reward function. This approach is a commonly employed method of reward shaping. Gradient interference typically arises from simultaneous training across objects, which is unrelated to the method of sampling $g$ for each object.\n\n**Q6.** In [...]\n\n**Q6.** The confusion about geometry-aware clustering and geometry-unaware policies. Is it possible to merge them into a single step?\n\n\n**A6.** In our framework, the geometry-unaware policy and geometric clustering serve **distinct purposes** and are presented in different sections. The geometry-unaware policy, discussed in Section 4.1, aims to minimize overfitting on object geometry, thereby enhancing generalization to unseen objects. This \"unawareness\" implies that the base policy does not directly observe object geometry nor is it influenced by geometry-specific rewards during its training. [...]\n\n### Thanks for your review! Here, we respond to your comments and address the issues. We hope to hear back from you if you have further questions!\n**Q1.** The combination of multiple base policies and MoE adds complexity, which goes against the original spirit of residual RL to reduce exploration burden.\n\n**A1.** From the perspective of method simplicity, ResDex, consisting of two main components (the MoE and residual RL), is the **simplest design for universal dexterous grasping**. It avoids the complex curriculum design and proves to be insensitive to the choice of hyperparameters, as demons [...]\n\n### Thanks for your review! Here, we respond to your comments and address the issues. We hope to hear back from you if you have further questions!\n**Q1.** The proposed method's limitations and failure cases.\n\n**A1.** One notable limitation of our approach is its current inability to be directly applied to functional grasping tasks. This limitation stems from the fact that our base policies are trained with restricted observations, which do not adequately capture the intricacies required for fine-grained functional grasping. Future efforts could focus on extending our method to functional grasp [...]\n\n### Thanks for your review! Here, we respond to your comments and address the issues. We hope to hear back from you if you have further questions!\n**Q1.** The definitions of different reward functions are scattered across several sub-sections.\n\n**A1.** Thank you for your feedback regarding the presentation of reward functions. We have consolidated the full details of the reward functions in Appendix A.2 and have added a directive in Section 3.1 to guide readers to these details for clarity. In the main body of the paper, we simplify our discussion on rewards to three primary notations, $r^{tas [...]\n\n### Thanks for your review! Here, we respond to your comments and address the issues. We hope to hear back from you if you have further questions!\n**Q1.** The paper lacks real-world experiments.\n\n**A1.** We appreciate your comment regarding the necessity of real-world validation to demonstrate the practical applicability of our method. Currently, our research has focused on algorithmic enhancements for universal dexterous grasping within a simulated environment, aligning with the experimental setups used in prior studies such as UniDexGrasp, UniDexGrasp++, and UniDexFPM. Conducting experiments [...]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
8,
|
| 10 |
+
6,
|
| 11 |
+
8,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 7.0,
|
| 15 |
+
"score_variance": 1.33,
|
| 16 |
+
"score_spread": 2,
|
| 17 |
+
"score_min": 6,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": true,
|
| 21 |
+
"meta_review": "ResDex is a framework for dexterous grasping that combines residual policy learning and a mixture-of-experts (MoE) approach. Each base policy is trained on clusters of objects using only proprioceptive data, while a hyper policy fuses these base policies with a small residual adjustment. This design circumvents complex multi-task curricula, showing 88.8% success on a 3,200-object dataset (DexGraspNet), no performance gap on unseen objects, and efficient training (12 hours on a single GPU).\n\nStrengths:\n-- The method effectively tackles multi-object grasping by mitigating gradient interference and leveraging geometry-unaware base policies.\n\n-- Demonstrates robust performance on unseen objects without additional fine-tuning.\n\n-- Achieves state-of-the-art results within 12 hours, surpassing prior curriculum-heavy approaches.\n\nWeaknesses:\n\n-- The method’s transferability to physical robots remains unverified.\n\n-- Insufficient discussion of cases where performance might degrade.\n\n-- The multi-stage approach (MoE + residuals) still adds overhead despite aiming to streamline training.\n\nAfter carefully reading the paper, the reviews and rebuttal discussions, the AC agrees with the reviewers on recommending to accept the paper.",
|
| 22 |
+
"forum_id": "BUj9VSCoET",
|
| 23 |
+
"primary_area": "applications to robotics, autonomy, planning",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_8Don",
|
| 28 |
+
"review_id": "eD0fIfWGa1",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 8,
|
| 31 |
+
"soundness": 4,
|
| 32 |
+
"presentation": 4,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 5
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 2155,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 755681,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_HhuW",
|
| 44 |
+
"review_id": "sCVGjlRvkw",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 4,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 2921,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 2069857,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_3ip3",
|
| 60 |
+
"review_id": "zS5M2GfOU9",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 8,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 4,
|
| 65 |
+
"contribution": 4,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3150,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1158189,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_BKwA",
|
| 76 |
+
"review_id": "XJvPHKg4fn",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 2907,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2941903,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13867.md
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
## - - EFFICIENT RESIDUAL LEARNING WITH MIXTURE OF EXPERTS FOR UNIVERSAL DEXTEROUS GRASPING
|
| 4 |
+
|
| 5 |
+
Authors withheld for review
|
| 6 |
+
|
| 7 |
+
## ABSTRACT
|
| 8 |
+
|
| 9 |
+
Universal dexterous grasping across diverse objects presents a fundamental yet formidable challenge in robot learning. Existing approaches using reinforcement learning (RL) to develop policies on extensive object datasets face critical limitations, including complex curriculum design for multi-task learning and limited generalization to unseen objects. To overcome these challenges, we introduce ResDex, a novel approach that integrates residual policy learning with a mixtureof-experts (MoE) framework. ResDex is distinguished by its use of geometryagnostic base policies that are efficiently acquired on individual objects and capable of generalizing across a wide range of unseen objects. Our MoE framework incorporates several base policies to facilitate diverse grasping styles suitable for various objects. By learning residual actions alongside weights that combine these base policies, ResDex enables efficient multi-task RL for universal dexterous grasping. ResDex achieves state-of-the-art performance on the DexGraspNet dataset comprising 3,200 objects with an 88.8% success rate. It exhibits no generalization gap with unseen objects and demonstrates superior training efficiency, mastering all tasks within only 12 hours on a single GPU. For further details and videos, visit our project page.
|
| 10 |
+
|
| 11 |
+
## 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Dexterous robotic hands (Pons et al., 1999; Shaw et al., 2023) provide advanced capabilities for complex grasping tasks, similar to those performed by human hands. However, achieving universal dexterous grasping across a wide range of objects remains a significant challenge due to the high degrees of freedom (DoFs) for dexterous hands and the high variability in object geometry in the real world. Previous works (Qin et al., 2022a; Agarwal et al., 2023) develop dexterous grasping policies using reinforcement learning (RL), but these policies are limited to a small range of objects that are similar to the training objects. To improve the scalability of universal dexterous grasping, recent studies (Chao et al., 2021; Wang et al., 2023; Hang et al., 2024) introduce datasets that contain a wide variety of objects, each labeled with grasping poses. Xu et al. (2023); Wan et al. (2023); Wu et al. (2024a) leveraged these datasets to learn universal grasping policies through a teacherstudent framework, which addresses the challenges of multi-task optimization. They first train statebased policies using RL to master all objects within the dataset, and then distill these policies into a universal vision-based policy.
|
| 14 |
+
|
| 15 |
+
However, these approaches exhibit certain limitations. UniDexGrasp (Xu et al., 2023) involves a complicated curriculum learning design, requiring iterative training across an expanding set of objects, which significantly increases training time and necessitates careful design for the curriculum. Similarly, UniDexGrasp++ (Wan et al., 2023) requires training various state-based policies on a large number of object clusters. This not only consumes substantial training time but may also lead to overfitting, as training is conducted individually on separate object groups. In this study, we investigate _how to directly learn a multi-task dexterous grasping policy across thousands of objects_ , which enables both efficient learning and enhanced generalization.
|
| 16 |
+
|
| 17 |
+
1
|
| 18 |
+
|
| 19 |
+
Residual policy learning (Silver et al., 2018; Johannink et al., 2019) offers an efficient approach to learning challenging tasks by training a policy to output residual actions using RL, where a suboptimal base policy is provided. This approach has the potential to address the optimization challenges in multi-task RL (Wu et al., 2024b), particularly when the base policy can effectively explore all tasks. Motivated by this, we propose **ResDex** to train a residual multi-task policy for universal dexterous grasping. The key question then becomes, _how to efficiently acquire a base policy that possesses some generalizability to grasp a wide range of objects?_ Directly applying multi-task RL to all objects leads to worse results due to multi-task gradient interference (Yu et al., 2020) and requires extensive training time. Conversely, training a policy to grasp a specific object often results in poor generalization to unseen objects.
|
| 20 |
+
|
| 21 |
+
Recent work (Agarwal et al., 2023) suggests that a blind grasping policy, relying solely on robot proprioception, can robustly grasp unseen objects placed close to the palm. This is because the policy does not overfit to specific object information, leveraging feedback from the hand’s joint angles and fingertip forces to adapt to various object geometries inherently. Given this insight, we propose training geometry-agnostic base policies that only observe proprioception and the 3D positions of objects to infer the object location. Experimental results demonstrate that our geometry-agnostic policy, even trained on a single object, generalizes better to a broad range of objects compared to policies with full object perception.
|
| 22 |
+
|
| 23 |
+
To enhance the diversity of grasping poses across various objects, we introduce a mixture-of-experts (MoE) approach that learns multiple base policies to represent different grasping styles. We use geometric clustering to categorize all objects and train a geometry-agnostic policy for each cluster’s center. In our multi-task learning framework, we train a residual policy that not only outputs residual actions but also assigns weight to each base policy. The final control action for the robot is determined by a weighted sum of the base policies’ actions and the residual action. This method effectively diversifies grasping poses by varying the weights for the base policies, thereby adapting to different object geometries.
|
| 24 |
+
|
| 25 |
+
ResDex achieves state-of-the-art training performance and generalization capabilities, successfully grasping 3,200 objects in DexGraspNet (Wang et al., 2023). It achieves a success rate of 88.8% across all training objects and exhibits **no generalization gap** when applied to unseen objects and categories. Additionally, ResDex demonstrates remarkable training efficiency, mastering such a wide range of tasks in only 12 hours on a single NVIDIA RTX 4090 GPU. In our ablation study, we highlight the critical roles of residual policy learning and geometry-agnostic experts in enhancing multi-task learning efficiency and generalization. We also demonstrate the importance of the MoE approach in achieving proper grasping poses.
|
| 26 |
+
|
| 27 |
+
Our main contributions can be summarized as follows:
|
| 28 |
+
|
| 29 |
+
- We introduce ResDex, a novel residual policy learning approach that significantly addresses the problem of efficient multi-task learning and generalization for universal dexterous grasping.
|
| 30 |
+
|
| 31 |
+
- Our technical contributions lie in the novel combination of residual multi-task reinforcement learning, geometry-agnostic base policies, and a mixture of experts framework, which together enable the development of a more generalizable and effective grasping policy.
|
| 32 |
+
|
| 33 |
+
- ResDex achieves state-of-the-art performance on the DexGraspNet dataset, demonstrating its superior training performance and generalization capabilities compared to existing methods.
|
| 34 |
+
|
| 35 |
+
## 2 RELATED WORK
|
| 36 |
+
|
| 37 |
+
**Dexterous Grasping** (Pons et al., 1999; Kappassov et al., 2015) continues to be a formidable challenge, given the high degrees of freedom in multi-fingered robotic hands and the complex geometries and physical properties of real-world objects. A fundamental task in dexterous grasping is to generate grasping poses. Recent studies have employed various methods such as contact points (Shao et al., 2020; Wu et al., 2022), affordance maps (Brahmbhatt et al., 2019; Jiang et al., 2021), natural hand annotations (Wei et al., 2023; Hang et al., 2024), and grasping datasets (Chao et al., 2021; Wang et al., 2023) to train models for synthesizing hand grasping poses. While generating target grasping poses is crucial, successfully completing a grasp also requires close-loop policies that can manage
|
| 38 |
+
|
| 39 |
+
2
|
| 40 |
+
|
| 41 |
+
the entire trajectory. In learning dexterous grasping policies, both imitation learning (Qin et al., 2022b; Mandikal & Grauman, 2022) and reinforcement learning (RL) (Rajeswaran et al., 2017; Wu et al., 2024b; Yuan et al., 2024; Zhou et al., 2024; Zhang et al., 2025) have shown promise. The latter offers scalable advantages across a variety of objects due to its independence from human data collection and the efficiency of simulation environments (Makoviychuk et al., 2021). Recent advancements in research explore universal dexterous grasping using RL for thousands of objects. UniDexGrasp (Xu et al., 2023) and UniDexGrasp++ (Wan et al., 2023) introduce curriculum learning and a teacher-student framework to enable training on numerous objects. UniDexFPM (Wu et al., 2024a) extends these approaches to universal functional grasping tasks. In our study, we propose an improved RL method for universal dexterous grasping that is more efficient and demonstrates superior performance and generalizability.
|
| 42 |
+
|
| 43 |
+
**Residual Policy Learning** provides an effective approach to learn challenging RL tasks when a base policy is available. In robotics, residual policy learning is extensively applied in both manipulation (Alakuijala et al., 2021; Davchev et al., 2022; Schoettler et al., 2020) and navigation tasks (Rana et al., 2020). Typically, the residual policy is constructed upon base policies that employ classical model-based control methods (Johannink et al., 2019; Silver et al., 2018). Garcia-Hernando et al. (2020) investigates residual policy learning based on human data. GraspGF (Wu et al., 2024b) explores residual policy learning on a pre-trained score-based generative model (Vincent, 2011). Zhang et al. (2023) and Jiang et al. (2024b) explore using residual policy learning to finetune RL policies. Barekatain et al. (2019) extends residual policy learning to adaptively reweight multiple expert policies. In our work, we adopt residual policy learning to tackle the challenges in universal dexterous grasping. Our method, which integrates residual RL with a mixture of geometry-agnostic experts, significantly improves multi-task learning to grasp diverse objects.
|
| 44 |
+
|
| 45 |
+
**Mixture-of-Experts (MoE)** is initially introduced by Jacobs et al. (1991); Jordan & Jacobs (1994) and typically comprises a set of expert models alongside a gating network (Shazeer et al., 2017; Fedus et al., 2022) that learns to weight the output of each expert. Recently, the MoE framework has gained substantial interest in fields such as natural language processing (Jiang et al., 2024a) and multi-modal learning (McKinzie et al., 2024). MoE has also been applied in RL policies (Doya et al., 2002; Peng et al., 2019), where each expert policy learns a distinct probability distribution that is subsequently integrated. Recent works (Cheng et al., 2023; Celik et al., 2024) use MoE to enhance multi-task learning in robotics. In our research, we use the MoE framework to improve the diversity of grasping poses in the multi-task learning of dexterous grasping policies. Each expert within our framework is a geometry-agnostic policy, trained on an individual object to develop a unique grasping style and achieve broad generalization across a variety of objects.
|
| 46 |
+
|
| 47 |
+
## 3 PRELIMINARIES
|
| 48 |
+
|
| 49 |
+
## 3.1 PROBLEM FORMULATION
|
| 50 |
+
|
| 51 |
+
We consider tabletop grasping tasks using a 5-fingered ShadowHand to grasp and lift objects initially placed on a table. The hand features 18 DoFs that control a total of 22 joints, including 4 coupled joints. Our goal is to enable grasping any object within a large object set, denoted as _ω ∈_ Ω. For each object, the task is formulated as a Partially Observable Markov Decision Process (POMDP) _M[ω]_ = _⟨O, S, A, T , R, U⟩_ , representing the observation space _O_ , the state space _S_ , the action space _A_ , the transition dynamics _T_ ( _st_ +1 _|st, at_ ), the reward function _R_ ( _st, at_ ), and the observation emission function _U_ ( _ot|st_ ), respectively. At each timestep _t_ , the agent observes _ot ∈O_ and takes an action _at ∈A_ , then receives a reward _rt_ = _R_ ( _st, at_ ). The environment then transitions to the next state _st_ +1 _∼T_ ( _st_ +1 _|st, at_ ). The agent’s objective is to maximize the expected return across all objects[�] _ω∈_ Ω[E] �� _Tt_ =0 _−_ 1 _[γ][t][r][t]_ �, where _T_ is the time limit and _γ_ is the discount factor.
|
| 52 |
+
|
| 53 |
+
For task learning in simulation, the observation _o ∈O_ includes: (1) Robot proprioception _**J** ∈_ R[123] , including wrist position and orientation, joint angles (values of DoF positions) of the hand, fingertip states and forces on fingertip sensors; (2) Object pose, including position _**b**[p] ∈_ R[3] and quaternion _**b**[q] ∈_ R[4] ; (3) An object code _**c**[ω] ∈_ R[64] , representing the object geometry via a pre-trained PointNet (Qi et al., 2017). In real-world settings, while precise object pose is unavailable, we opt to use the object point cloud _**p** ∈_ R _[N][×]_[3] , which contains _N_ points captured by cameras. The action _a ∈A_ consists of target joint angles of the hand and the 6D force applied at the wrist. Our aim is to learn
|
| 54 |
+
|
| 55 |
+
3
|
| 56 |
+
|
| 57 |
+
a vision-based policy _πθ[V]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ p]**[t][, a][t][−]_[1][)][,][parameterized][by] _[θ]_[,][to][maximize][the][expected][return] across all objects.
|
| 58 |
+
|
| 59 |
+
DexGraspNet (Wang et al., 2023) provides a dataset that associates each object with grasping proposals. Each grasping proposal is defined as a triplet _**g**_ = ( _R,_ _**t** ,_ _**q**_ ), representing the wrist’s relative rotation _R ∈_ SO(3) and position _**t** ∈_ R[3] to the object and the hand’s joint angles _**q** ∈_ R[22] for a successful grasp. Following Xu et al. (2023), these data can be integrated into the reward function to facilitate policy learning:
|
| 60 |
+
|
| 61 |
+
**==> picture [249 x 30] intentionally omitted <==**
|
| 62 |
+
|
| 63 |
+
where _rt[task]_ is a predefined reward for the grasping tasks. The reward term _rt[proposal]_ penalizes the distance to the grasping proposal, where _α_ is a hyperparameter adjusting its weight and _**g** t_ = ( _Rt,_ _**t** t,_ _**q** t_ ) represents the current relative pose of the hand to the object. The full description of the reward functions used in our framework is provided in Appendix A.2.
|
| 64 |
+
|
| 65 |
+
## 3.2 THE TEACHER-STUDENT FRAMEWORK FOR UNIVERSAL DEXTEROUS GRASPING
|
| 66 |
+
|
| 67 |
+
Directly optimizing the vision-based policy using RL faces challenges due to gradient interference (Yu et al., 2020) in multi-task RL and the high dimensionality of point cloud observations. Recent works (Xu et al., 2023; Wan et al., 2023; Wu et al., 2024a) have adopted a teacher-student framework in two stages to address these issues. First, a state-based policy _πϕ[S]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ b]** t[p][,]_ _**[ b]**[q] t[,]_ _**[ c]**[ω][, a][t][−]_[1][)][ is trained] using privileged object information to master all tasks. Then, this policy is distilled into a visionbased policy using DAgger (Ross et al., 2011), an online imitation learning method.
|
| 68 |
+
|
| 69 |
+
To address the multi-task optimization challenge in learning the state-based policy, UniDexGrasp (Xu et al., 2023) proposed a curriculum learning approach. The RL training starts with a single object and, after a certain number of iterations, gradually includes more objects. This process continues until all objects are included and the policy achieves a high success rate. UniDexGrasp++ (Wan et al., 2023) introduced an improved method based on generalist-specialist learning (Jia et al., 2022). The entire object set is divided into groups through geometry-aware clustering. Numerous specialist state-based policies are then trained and subsequently distilled into a generalist state-based policy, with iterative training implemented through a curriculum. These methods require meticulous curriculum design and are time-consuming, as various policies are trained across different sets of objects. Additionally, their learned vision-based policies exhibit a significant decrease of about 7% in success rates when tested on unseen objects, indicating limited generalization capabilities.
|
| 70 |
+
|
| 71 |
+
## 4 METHOD
|
| 72 |
+
|
| 73 |
+
We propose ResDex, a framework that leverages residual policy learning combined with a mixture of experts to provide an efficient approach for universal dexterous grasping, significantly enhancing generalization capabilities. Figure 1 illustrates an overview of our framework.
|
| 74 |
+
|
| 75 |
+
## 4.1 LEARNING GEOMETRY-AGNOSTIC POLICIES
|
| 76 |
+
|
| 77 |
+
To enable efficient multi-task RL using residual policy learning, it is essential to build a base policy that can effectively explore all the involved tasks. Training a base policy directly on a single type of object often results in overfitting, which significantly decreases its generalizability to other objects. Conversely, training a policy on all objects using RL presents unique challenges, as different tasks can lead to gradient interference in the learning processes, making the training highly inefficient.
|
| 78 |
+
|
| 79 |
+
We propose to build base policies that can generalize effectively across a broad range of objects. Each base policy is trained on a single object. Multiple base policies can then be combined as a mixture-of-experts (MoE) to facilitate efficient multi-task learning.
|
| 80 |
+
|
| 81 |
+
Empirical insights from Agarwal et al. (2023) suggest that a blind grasping policy, trained solely on robot proprioception without specific object information, can better generalize to unseen objects. We hypothesize that limiting observations helps the policy avoid overfitting to specific object features. When a policy does not have complete information about object poses and geometric features, it
|
| 82 |
+
|
| 83 |
+
4
|
| 84 |
+
|
| 85 |
+
**==> picture [377 x 109] intentionally omitted <==**
|
| 86 |
+
|
| 87 |
+
**----- Start of picture text -----**<br>
|
| 88 |
+
Robot Base Policy 𝟏<br>proprioception 𝝀𝒕<br>6D object Hyper- Base Policy 𝒌<br>pose Policy<br>Robot<br>proprioception3D object PolicyBase 𝒂𝒕 representationObject visual 𝒂𝑹𝑡 𝒂𝒕<br>position<br>1. Learning Geometry-Agnostic Experts 2. Residual Multi-Task RL with MoE<br>…<br>**----- End of picture text -----**<br>
|
| 89 |
+
|
| 90 |
+
**Figure 1:** We propose ResDex, an efficient learning framework for dexterous grasping across thousands of objects. The learning process consists of two stages: (1) For each representative object from the cluster center, we train a geometry-agnostic base policy, which provides weak generalization across a broad range of objects. (2) To develop a universal policy applicable to all objects, we use residual multi-task reinforcement learning (RL) to train a hyper-policy, incorporating the base policies within a mixture-of-experts (MoE) framework. ResDex demonstrates efficient training and robust generalization to unseen objects.
|
| 91 |
+
|
| 92 |
+
tends to learn more generalizable grasping strategies and rely on the proprioceptive feedback to adjust actions. Although we cannot use a fully blind policy in our setting – as the agent must know the object’s location to approach it – we integrate this insight by proposing a **geometry-agnostic base policy** , _πψ[B]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ b]** t[p][, a][t][−]_[1][)][,][which][uses][only][robot][proprioception] _**[J]**_[and][the][3D][position][of] the object _**b**[p]_ .
|
| 93 |
+
|
| 94 |
+
The grasping proposal reward _r[proposal]_ inherently leaks the object’s geometric information, as the target relative wrist pose specifies “where to grasp on the object”. To mitigate this unwanted information leakage and enhance generalization, we replace this term with a pose reward:
|
| 95 |
+
|
| 96 |
+
**==> picture [240 x 11] intentionally omitted <==**
|
| 97 |
+
|
| 98 |
+
where _**q** t_ represents the current hand joint angles. This reward encourages the hand to reach the target joint angles, focusing on the hand pose rather than the specific region to grasp on the object.
|
| 99 |
+
|
| 100 |
+
Experimental results (Section 5.3) show that our geometry-agnostic policy, trained on a single object, demonstrates remarkable generalizability to unseen objects and significantly outperforms policies that incorporate full observations or those trained using the full grasping proposal reward.
|
| 101 |
+
|
| 102 |
+
## 4.2 RESIDUAL MULTI-TASK REINFORCEMENT LEARNING
|
| 103 |
+
|
| 104 |
+
While the base policy trained on a single object offers some degree of generalizability across various objects, it typically achieves a low overall success rate. To address this, we introduce residual policy learning to develop a policy that masters all objects.
|
| 105 |
+
|
| 106 |
+
The state-based residual policy, denoted as _πϕ[R]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ b]** t[p][,]_ _**[ b]**[q] t[,]_ _**[ c]**[ω][, a][t][−]_[1][)][,][is][parameterized][by] _[ϕ]_[.][It] utilizes all available state-based observations to better maximize performance in solving POMDPs.
|
| 107 |
+
|
| 108 |
+
Given the pre-trained base policy _πψ[B]_[, at each timestep, the base policy uses the required observations] from the complete observations to compute a base action _a[B] t_ = arg max _at πψ[B]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ b]** t[p][, a][t][−]_[1][)][.] Simultaneously, the residual policy samples a residual action _a[R] t ∼ πϕ[R]_[(] _[a][t][|]_ _**[J]**[t][,]_ _**[ b]** t[p][,]_ _**[ b]**[q] t[,]_ _**[ c]**[ω][, a][t][−]_[1][)][,] and these actions are combined element-wise to form the final action _at_ = _a[B] t_[+] _[ a][R] t_[.]
|
| 109 |
+
|
| 110 |
+
The generalizability of the base policy reduces the need for extensive exploration by the residual policy across diverse object geometries, making it practical to train under multi-task settings. For objects already successfully grasped by the base policy, the residual policy refines the grasping process, enhancing the success rate. For objects not successfully grasped by the base policy, the residual policy can efficiently explore in the residual action space, benefiting from the significant exploration bias provided by the base policy. We train this residual policy across the entire object set using RL, aiming to maximize the average return across all objects. Our experiments demonstrate that a single base policy, when aided by the residual policy, can achieve high success rates across thousands of objects.
|
| 111 |
+
|
| 112 |
+
5
|
| 113 |
+
|
| 114 |
+
## 4.3 INCORPORATING A MIXTURE OF EXPERTS
|
| 115 |
+
|
| 116 |
+
Utilizing diverse poses to grasp different objects is not only a crucial feature for dexterous hands but also essential for post-grasping manipulations in real-world tasks. While residual policy learning based on a single base policy can achieve commendable success rates, it often struggles to perform various grasping poses for different objects. This limitation arises because the base policy typically provides only a single grasping pose for its training object, thus posing a significant challenge for the residual policy to explore diverse grasping poses for certain objects.
|
| 117 |
+
|
| 118 |
+
To enhance the diversity of grasping poses, we propose a mixture-of-experts (MoE) approach. In this setup, several base policies are trained, each capable of executing distinct grasping styles, and their actions can be combined to generate a variety of novel grasping poses. To acquire base policies that exhibit diverse behaviors and grasping poses, we use geometry-aware clustering (Wan et al., 2023) to divide the object set into _k_ clusters based on object shape representations. Objects at the cluster centers are used to train the base policies _{πψ[B] i[}] i[k]_ =1[,][leveraging][their][distinct][and][representative] shapes to foster diversified grasping styles.
|
| 119 |
+
|
| 120 |
+
In multi-task learning, to integrate the base policies while learning residual actions, we replace the residual policy with a **hyper-policy** , denoted as _πϕ[H]_ � _a[R] t[,]_ _**[ λ]**[t][|]_ _**[J]**[t][,]_ _**[ b]**[p] t[,]_ _**[ b]**[q] t[,]_ _**[ c]**[ω][, a][t][−]_[1] �. This hyper-policy predicts the residual action _a[R] t[∈A]_[ along with a weight] _**[ λ]**[t][∈]_[R] _[k]_[for the MoE. At each timestep, all] base policies predict base actions _{a[B] t,i[}] i[k]_ =1[using partial observations, and the hyper-policy samples] the weights and the residual action. The final action is computed as follows:
|
| 121 |
+
|
| 122 |
+
**==> picture [258 x 30] intentionally omitted <==**
|
| 123 |
+
|
| 124 |
+
using a normalized weighted sum of base actions in addition to the residual action. This hyperpolicy aims at efficiently learning diverse, natural grasping poses by adjusting the MoE weights and enhancing multi-task performance through residual learning.
|
| 125 |
+
|
| 126 |
+
## 4.4 METHOD SUMMARY
|
| 127 |
+
|
| 128 |
+
Here, we outline the complete pipeline for training ResDex, which consists of three phases. The pseudocode is provided in Appendix A.1.
|
| 129 |
+
|
| 130 |
+
**Training Base Policies:** Using the entire training set of objects, we apply K-Means clustering (Lloyd, 1982) on the PointNet (Qi et al., 2017) features of objects to generate _k_ clusters. From each cluster, we select the object closest to the center and train a geometry-agnostic base policy for each object using RL, as detailed in Section 4.1.
|
| 131 |
+
|
| 132 |
+
**Training the Hyper-Policy:** We train the hyper-policy across parallel environments that span all objects in the training set, as described in Section 4.3. During the training process, the hyperpolicy is continually updated while the base policies remain fixed. To cultivate diverse and effective grasping poses while maximizing success rates, we employ a two-stage reward function:
|
| 133 |
+
|
| 134 |
+
- **First stage:** We use the reward function that includes the grasping proposal reward: _r_ = _r[task]_ + _r[proposal]_ . This reward function guides the policy to follow the reference grasping poses provided by the dataset, resulting in more natural and human-like grasps.
|
| 135 |
+
|
| 136 |
+
- **Second stage:** We remove the grasping proposal term in the reward function and eliminate terms that encourage approaching the object within _r[task]_ , focusing solely on terms related to object lifting and task completion. This adjustment further enhances the policy’s performance by removing constraints imposed by these reward terms. Further details on the reward functions are provided in Appendix A.2.
|
| 137 |
+
|
| 138 |
+
**Vision-based Distillation:** To learn a vision-based policy _πθ[V]_[that][operates][without][privileged] object information, we adopt the teacher-student framework. The state-based hyper-policy serves as the teacher, and the vision-based policy to learn acts as the student. We use DAgger (Ross et al., 2011) to train, which involves iteratively collecting trajectories with the student policy and supervising it using the teacher policy.
|
| 139 |
+
|
| 140 |
+
6
|
| 141 |
+
|
| 142 |
+
**Table 1: Success rates of state-based policies.** We evaluate our method on three different random seeds. The hyper-policy is trained with four geometry-agnostic base policies. We present the success rates after each multi-task training stage.
|
| 143 |
+
|
| 144 |
+
|**Method**|**Train(%)**|**Test(%)**<br>**Uns. Obj.**<br>**Uns. Cat.**<br>**Seen Cat.**|
|
| 145 |
+
|---|---|---|
|
| 146 |
+
||||
|
| 147 |
+
|UniDexGrasp<br>UniDexGrasp++|79.4<br>87.9|74.3<br>70.8<br>84.3<br>83.1|
|
| 148 |
+
||||
|
| 149 |
+
|ResDex (stage-1)<br>ResDex (stage-2)|90.6_±_0.6<br>**94.6**_±_**1.6**|89.7_±_0.8<br>90.9_±_0.1<br>**94.4**_±_**1.7**<br>**95.4**_±_**1.0**|
|
| 150 |
+
|
| 151 |
+
## 5 EXPERIMENTS
|
| 152 |
+
|
| 153 |
+
## 5.1 EXPERIMENT SETTINGS
|
| 154 |
+
|
| 155 |
+
We evaluate the effectiveness of our method on DexGraspNet (Wang et al., 2023), a large-scale robotic dexterous grasping dataset for thousands of everyday objects. The dataset is split into one training set and two test sets, including one that contains unseen objects in the seen categories and the other that contains unseen objects in unseen categories. The training set includes 3,200 object instances, while the test sets contain a total of 241 object instances.
|
| 156 |
+
|
| 157 |
+
To train RL policies, we set up parallel simulation environments using IsaacGym (Makoviychuk et al., 2021). For vision-based distillation, we sample 512 points on each object’s mesh to provide point cloud observations. We compare our ResDex with state-of-the-art methods including UniDexGrasp (Xu et al., 2023) and UniDexGrasp++ (Wan et al., 2023).
|
| 158 |
+
|
| 159 |
+
## 5.2 MAIN RESULTS
|
| 160 |
+
|
| 161 |
+
We compare our method with baseline methods using the hyper-policy trained with four geometryagnostic base policies, which is our best-performing policy. The ablation study on the number of base policies used to train the hyper-policy is presented in Section 5.3.
|
| 162 |
+
|
| 163 |
+
Table 1 shows that our method outperforms UniDexGrasp++ by 6.7%, 10.1%, and 12.3% on the training and test sets respectively. Unlike previous methods, our approach shows no generalization gap, achieving consistent success rates on both the training and test sets. This consistency indicates that our method can provide a grasping policy that is more robust and generalizable.
|
| 164 |
+
|
| 165 |
+
During distillation, we use the hyper-policy trained with four base policies as the teacher to learn a vision-based policy. Performance of vision-based policies are presented in Table 2. Our visionbased policy outperforms UniDexGrasp++ by 3.4%, 8.9% and 10.5% in success rates on the three object sets respectively, demonstrating strong generalization capabilities to unseen objects.
|
| 166 |
+
|
| 167 |
+
**Table 2: Success rates of vision-based policies.**
|
| 168 |
+
|
| 169 |
+
|**Methods**|**Train(%)**|**Test(%)**<br>**Uns. Obj.**<br>**Uns. Cat.**<br>**Seen Cat.**|
|
| 170 |
+
|---|---|---|
|
| 171 |
+
||||
|
| 172 |
+
|UniDexGrasp<br>UniDexGrasp++|73.7<br>85.4|68.6<br>65.1<br>79.6<br>76.7|
|
| 173 |
+
||||
|
| 174 |
+
|ResDex|**88.8**|**88.5**<br>**87.2**|
|
| 175 |
+
|
| 176 |
+
7
|
| 177 |
+
|
| 178 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 179 |
+
|
| 180 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 181 |
+
|
| 182 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 183 |
+
|
| 184 |
+
**==> picture [362 x 111] intentionally omitted <==**
|
| 185 |
+
|
| 186 |
+
**----- Start of picture text -----**<br>
|
| 187 |
+
Cell Phone Toy Figure Bottle<br>Video Game Console Toilet Paper Mug<br>**----- End of picture text -----**<br>
|
| 188 |
+
|
| 189 |
+
**Figure 2: Generalization performance to all objects using policies with different observations and reward, each trained on a single object.** Ours: Geometry-Agnostic policy. Full Obs: Policy trained with the complete state-based observations. Full Pose: Policy trained using the reward function that includes the full grasping proposal reward.
|
| 190 |
+
|
| 191 |
+
## 5.3 ABLATION STUDY
|
| 192 |
+
|
| 193 |
+
**Geometry-Agnostic Experts.** We compare generalizability between geometry-agnostic policies and policies trained with full state-based observations. We train 3 types of policies on 6 objects, including cell phone, toy figure, bottle, video game console, toilet paper and mug, and we evaluate their performance on the training set, which comprises more than 3000 objects. The results are shown in Figure 2. Our geometry-agnostic policies achieve higher success rates compared to other policies, achieving over 70% success rates when trained on some objects, which demonstrates remarkable generalizability. Policies with the full observations or the full grasping proposal reward demonstrate poor generalization when trained on some specific objects. **Table 3: Ablation study on residual reinforcement learning.** We assess success rates of policies on the training set. **Method** indicates the number of base policies used. **MoE** shows the results for hyper-policies without residual actions, while **MoE+Res** shows the results for policies that output both normalized weights for MoE and residual actions.
|
| 194 |
+
|
| 195 |
+
|**Method**|_k_ = 1|_k_ = 2|_k_ = 3|_k_ = 4|_k_ = 5|_k_ = 6|
|
| 196 |
+
|---|---|---|---|---|---|---|
|
| 197 |
+
|**MoE**|61.4|71.1|79.4|80.3|72.1|81.6|
|
| 198 |
+
|**MoE+Res**|83.2|82.8|88.1|90.6|87.6|88.7|
|
| 199 |
+
|
| 200 |
+
**Residual Reinforcement Learning.** To demonstrate the multi-task learning ability provided by residual reinforcement learning, we implement an ablation method that combines base policies using a hyper-policy which only outputs the weights without residual actions. We evaluate the performance on the training set. The results, as shown in Table 3, demonstrate that for different number of base policies, the method with residual learning can notably boost the performance.
|
| 201 |
+
|
| 202 |
+
**Mixture-of-Experts.** We further demonstrate that a mixture of base policies can generate better grasping poses. We assess the quality of the grasping poses executed by our policies by computing _D_ = _−_[�] _[T] t_ =1 _[r] t[proposal]_ . The term _rt[proposal]_ is a negative reward that punishes the difference between the current grasping pose and the grasping proposal ( _R,_ _**t** ,_ _**q**_ ). Therefore, the higher the value of _D_ , the less natural the grasping poses executed by the policy. The results, as shown in Table 4, reveal
|
| 203 |
+
|
| 204 |
+
8
|
| 205 |
+
|
| 206 |
+
**==> picture [77 x 76] intentionally omitted <==**
|
| 207 |
+
|
| 208 |
+
**==> picture [77 x 77] intentionally omitted <==**
|
| 209 |
+
|
| 210 |
+
**==> picture [77 x 76] intentionally omitted <==**
|
| 211 |
+
|
| 212 |
+
**==> picture [77 x 74] intentionally omitted <==**
|
| 213 |
+
|
| 214 |
+
**==> picture [258 x 8] intentionally omitted <==**
|
| 215 |
+
|
| 216 |
+
**----- Start of picture text -----**<br>
|
| 217 |
+
k = 1 k = 2 k = 3 k = 4<br>**----- End of picture text -----**<br>
|
| 218 |
+
|
| 219 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 220 |
+
|
| 221 |
+
**==> picture [77 x 76] intentionally omitted <==**
|
| 222 |
+
|
| 223 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 224 |
+
|
| 225 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 226 |
+
|
| 227 |
+
**==> picture [76 x 77] intentionally omitted <==**
|
| 228 |
+
|
| 229 |
+
**==> picture [76 x 77] intentionally omitted <==**
|
| 230 |
+
|
| 231 |
+
**==> picture [77 x 77] intentionally omitted <==**
|
| 232 |
+
|
| 233 |
+
**==> picture [76 x 77] intentionally omitted <==**
|
| 234 |
+
|
| 235 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 236 |
+
|
| 237 |
+
**==> picture [77 x 76] intentionally omitted <==**
|
| 238 |
+
|
| 239 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 240 |
+
|
| 241 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 242 |
+
|
| 243 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 244 |
+
|
| 245 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 246 |
+
|
| 247 |
+
**==> picture [76 x 76] intentionally omitted <==**
|
| 248 |
+
|
| 249 |
+
**==> picture [77 x 76] intentionally omitted <==**
|
| 250 |
+
|
| 251 |
+
**Figure 3: Grasping poses achieved by hyper-policies trained with various numbers of base policies.** Each row displays grasping poses for a kettle, tape measure, mug, and headphone, respectively. Columns show hyper-policies trained with 1, 2, 3, and 4 base policies, arranged from left to right.
|
| 252 |
+
|
| 253 |
+
that for the hyper-policies trained over two stages, although their success rates are very close, those with more base policies generally display better grasping poses.
|
| 254 |
+
|
| 255 |
+
**Table 4: Quality of grasping poses achieved by different policies.** We evaluate the _D_ values of ResDex policies with various _k_ on the test set of unseen objects in unseen categories. The lower _D_ means the better grasping poses achieved.
|
| 256 |
+
|
| 257 |
+
|**Methods**|_k_ = 1|_k_ = 2|_k_ = 3|_k_ = 4|_k_ = 5|_k_ = 6|
|
| 258 |
+
|---|---|---|---|---|---|---|
|
| 259 |
+
|**_D_** _↓_|223.6|174.5|194.3|176.3|204.6|176.1|
|
| 260 |
+
|
| 261 |
+
Moreover, Figure 3 illustrates the various grasping poses executed by our policies with different numbers of base policies on randomly selected objects (kettle, tape measure, mug and headphones). We observe that ResDex trained with more base policies tends to learn grasping strategies that are more appropriate and natural.
|
| 262 |
+
|
| 263 |
+
**The Number of Base Policies.** We investigate how _k_ , the number of base policies used to train the hyper-policy, affects the performance. Table 5 shows that ResDex with _k >_ 2 consistently outperforms all the baselines according to Table 1. Furthermore, we notice that there is a gap in success rates between the configurations of _k ≤_ 2 and _k >_ 2. This indicates that using a mixture of base policies enables the hyper-policy to better align with the guidance provided by the grasping proposal reward. Table 6 demonstrates that the second training stage significantly boosts the success rates of our policy regardless of the value of _k_ , highlighting the stability of our method.
|
| 264 |
+
|
| 265 |
+
9
|
| 266 |
+
|
| 267 |
+
**Table 5: Success rates of state-based policies after the first training stage.** We evaluate our method on three different random seeds. _k_ denotes the number of geometry-agnostic base policies used to train the hyper-policy.
|
| 268 |
+
|
| 269 |
+
|**Method**|**Train(%)**|**Test(%)**<br>**Uns. Obj.**<br>**Uns. Cat.**<br>**Seen Cat.**|
|
| 270 |
+
|---|---|---|
|
| 271 |
+
||||
|
| 272 |
+
|ResDex (_k_ = 1)<br>ResDex (_k_ = 2)<br>ResDex (_k_ = 3)<br>ResDex (_k_ = 4)<br>ResDex (_k_ = 5)<br>ResDex (_k_ = 6)|83.2_±_1.5<br>82.8_±_3.9<br>88.1_±_1.2<br>**90.6**_±_**0.6**<br>87.6_±_0.5<br>88.7_±_0.6|82.8_±_1.0<br>85.1_±_0.9<br>82.6_±_3.2<br>85.0_±_3.3<br>88.2_±_0.4<br>89.3_±_1.0<br>**89.7**_±_**0.8**<br>**90.9**_±_**0.1**<br>87.3_±_0.8<br>88.1_±_0.2<br>87.8_±_0.5<br>88.8_±_1.1|
|
| 273 |
+
|
| 274 |
+
**Table 6: Success rates of state-based policies after the second training stage.** We evaluate our method on three different random seeds. _k_ denotes the number of geometry-agnostic base policies used to train the hyper-policy.
|
| 275 |
+
|
| 276 |
+
|**Method**|**Train(%)**|**Test(%)**<br>**Uns. Obj.**<br>**Uns. Cat.**<br>**Seen Cat.**|
|
| 277 |
+
|---|---|---|
|
| 278 |
+
||||
|
| 279 |
+
|ResDex (_k_ = 1)<br>ResDex (_k_ = 2)<br>ResDex (_k_ = 3)<br>ResDex (_k_ = 4)<br>ResDex (_k_ = 5)<br>ResDex (_k_ = 6)|94.3_±_1.6<br>94.5_±_0.9<br>94.1_±_0.9<br>**94.6**_±_**1.6**<br>94.2_±_0.5<br>93.9_±_1.3|93.8_±_1.8<br>94.5_±_1.3<br>94.3_±_1.1<br>95.2_±_1.0<br>93.9_±_0.9<br>94.4_±_1.2<br>**94.4**_±_**1.7**<br>**95.4**_±_**1.0**<br>93.7_±_0.9<br>94.2_±_0.6<br>93.6_±_1.6<br>94.5_±_1.1|
|
| 280 |
+
|
| 281 |
+
## 6 CONCLUSION AND LIMITATIONS
|
| 282 |
+
|
| 283 |
+
We propose ResDex for universal dexterous grasping, a framework that effectively addresses the challenges of training efficiency and generalization that are prevalent in existing methods. Our technical contributions include a residual policy learning framework designed for efficient multi-task reinforcement learning in dexterous grasping, a method to train geometry-agnostic base policies that enhances generalization and facilitates exploration across multiple tasks, and an MoE framework that enriches the diversity of the learned grasping poses. We demonstrate the superior performance of ResDex compared to existing methods on the large-scale object dataset DexGraspNet, notably achieving a zero generalization gap to unseen objects. The framework also showcases promising simplicity and training efficiency, marking a significant step towards scaling up dexterous learning.
|
| 284 |
+
|
| 285 |
+
The limitations of our work include: (1) Although we incorporate a grasping proposal reward to refine grasping poses, we have not yet considered the task as functional grasping. Future work could extend our approach to functional grasping tasks to further enhance general robotic manipulation in real-world settings. (2) We have not deployed the vision-based policy on hardware. Future efforts should focus on this aspect and overcome the sim-to-real gap.
|
| 286 |
+
|
| 287 |
+
The failure cases of our method arise with objects of specific sizes and shapes. For example, some large objects may unexpectedly collide with the dexterous hand upon initialization in the simulator, leading to failures. Similarly, extremely small or thin objects, such as scissors and knives, pose challenges under the tabletop grasping setting. Additionally, the policy sometimes generates unstable grasps that result in objects falling off the table before reaching the goal position. However, the policy’s closed-loop nature allows itself to adapt to such cases by performing regrasping.
|
| 288 |
+
|
| 289 |
+
10
|
| 290 |
+
|
| 291 |
+
## REFERENCES
|
| 292 |
+
|
| 293 |
+
Ananye Agarwal, Shagun Uppal, Kenneth Shaw, and Deepak Pathak. Dexterous functional grasping. In _7th Annual Conference on Robot Learning_ , 2023.
|
| 294 |
+
|
| 295 |
+
Minttu Alakuijala, Gabriel Dulac-Arnold, Julien Mairal, Jean Ponce, and Cordelia Schmid. Residual reinforcement learning from demonstrations. _arXiv preprint arXiv:2106.08050_ , 2021.
|
| 296 |
+
|
| 297 |
+
- Mohammadamin Barekatain, Ryo Yonetani, and Masashi Hamaya. Multipolar: Multi-source policy aggregation for transfer reinforcement learning between diverse environmental dynamics. _arXiv preprint arXiv:1909.13111_ , 2019.
|
| 298 |
+
|
| 299 |
+
- Samarth Brahmbhatt, Ankur Handa, James Hays, and Dieter Fox. Contactgrasp: Functional multifinger grasp synthesis from contact. In _2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)_ , pp. 2386–2393. IEEE, 2019.
|
| 300 |
+
|
| 301 |
+
- Berk Calli, Arjun Singh, James Bruce, Aaron Walsman, Kurt Konolige, Siddhartha Srinivasa, Pieter Abbeel, and Aaron M Dollar. Yale-cmu-berkeley dataset for robotic manipulation research. _The International Journal of Robotics Research_ , 36(3):261–268, 2017.
|
| 302 |
+
|
| 303 |
+
Onur Celik, Aleksandar Taranovic, and Gerhard Neumann. Acquiring diverse skills using curriculum reinforcement learning with mixture of experts. _arXiv preprint arXiv:2403.06966_ , 2024.
|
| 304 |
+
|
| 305 |
+
- Yu-Wei Chao, Wei Yang, Yu Xiang, Pavlo Molchanov, Ankur Handa, Jonathan Tremblay, Yashraj S Narang, Karl Van Wyk, Umar Iqbal, Stan Birchfield, et al. Dexycb: A benchmark for capturing hand grasping of objects. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , 2021.
|
| 306 |
+
|
| 307 |
+
- Guangran Cheng, Lu Dong, Wenzhe Cai, and Changyin Sun. Multi-task reinforcement learning with attention-based mixture of experts. _IEEE Robotics and Automation Letters_ , 8(6):3812–3819, 2023.
|
| 308 |
+
|
| 309 |
+
- Djork-Arné Clevert. Fast and accurate deep network learning by exponential linear units (elus). _arXiv preprint arXiv:1511.07289_ , 2015.
|
| 310 |
+
|
| 311 |
+
- Todor Davchev, Kevin Sebastian Luck, Michael Burke, Franziska Meier, Stefan Schaal, and Subramanian Ramamoorthy. Residual learning from demonstration: Adapting dmps for contact-rich manipulation. _IEEE Robotics and Automation Letters_ , 7(2):4488–4495, 2022.
|
| 312 |
+
|
| 313 |
+
- Kenji Doya, Kazuyuki Samejima, Ken-ichi Katagiri, and Mitsuo Kawato. Multiple model-based reinforcement learning. _Neural computation_ , 14(6):1347–1369, 2002.
|
| 314 |
+
|
| 315 |
+
- William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. _Journal of Machine Learning Research_ , 23(120):1–39, 2022.
|
| 316 |
+
|
| 317 |
+
- Guillermo Garcia-Hernando, Edward Johns, and Tae-Kyun Kim. Physics-based dexterous manipulations with estimated hand poses and residual reinforcement learning. In _2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)_ , pp. 9561–9568. IEEE, 2020.
|
| 318 |
+
|
| 319 |
+
- Jinglue Hang, Xiangbo Lin, Tianqiang Zhu, Xuanheng Li, Rina Wu, Xiaohong Ma, and Yi Sun. Dexfuncgrasp: A robotic dexterous functional grasp dataset constructed from a cost-effective realsimulation annotation system. In _Proceedings of the AAAI Conference on Artificial Intelligence_ , volume 38, pp. 10306–10313, 2024.
|
| 320 |
+
|
| 321 |
+
- Robert A Jacobs, Michael I Jordan, Steven J Nowlan, and Geoffrey E Hinton. Adaptive mixtures of local experts. _Neural computation_ , 3(1):79–87, 1991.
|
| 322 |
+
|
| 323 |
+
11
|
| 324 |
+
|
| 325 |
+
Zhiwei Jia, Xuanlin Li, Zhan Ling, Shuang Liu, Yiran Wu, and Hao Su. Improving policy optimization with generalist-specialist learning. In _International Conference on Machine Learning_ , 2022.
|
| 326 |
+
|
| 327 |
+
- Albert Q Jiang, Alexandre Sablayrolles, Antoine Roux, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Emma Bou Hanna, Florian Bressand, et al. Mixtral of experts. _arXiv preprint arXiv:2401.04088_ , 2024a.
|
| 328 |
+
|
| 329 |
+
- Hanwen Jiang, Shaowei Liu, Jiashun Wang, and Xiaolong Wang. Hand-object contact consistency reasoning for human grasps generation. In _Proceedings of the IEEE/CVF international conference on computer vision_ , pp. 11107–11116, 2021.
|
| 330 |
+
|
| 331 |
+
- Yunfan Jiang, Chen Wang, Ruohan Zhang, Jiajun Wu, and Li Fei-Fei. Transic: Sim-to-real policy transfer by learning from online correction. _arXiv preprint arXiv:2405.10315_ , 2024b.
|
| 332 |
+
|
| 333 |
+
- Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Residual reinforcement learning for robot control. In _2019 international conference on robotics and automation (ICRA)_ , pp. 6023– 6029. IEEE, 2019.
|
| 334 |
+
|
| 335 |
+
- Michael I Jordan and Robert A Jacobs. Hierarchical mixtures of experts and the em algorithm. _Neural computation_ , 6(2):181–214, 1994.
|
| 336 |
+
|
| 337 |
+
- Zhanat Kappassov, Juan-Antonio Corrales, and Véronique Perdereau. Tactile sensing in dexterous robot hands. _Robotics and Autonomous Systems_ , 2015.
|
| 338 |
+
|
| 339 |
+
- Stuart Lloyd. Least squares quantization in pcm. _IEEE transactions on information theory_ , 1982.
|
| 340 |
+
|
| 341 |
+
- Viktor Makoviychuk, Lukasz Wawrzyniak, Yunrong Guo, Michelle Lu, Kier Storey, Miles Macklin, David Hoeller, Nikita Rudin, Arthur Allshire, Ankur Handa, et al. Isaac gym: High performance gpu-based physics simulation for robot learning. _arXiv preprint arXiv:2108.10470_ , 2021.
|
| 342 |
+
|
| 343 |
+
- Priyanka Mandikal and Kristen Grauman. Dexvip: Learning dexterous grasping with human hand pose priors from video. In _Conference on Robot Learning_ , pp. 651–661. PMLR, 2022.
|
| 344 |
+
|
| 345 |
+
- Brandon McKinzie, Zhe Gan, Jean-Philippe Fauconnier, Sam Dodge, Bowen Zhang, Philipp Dufter, Dhruti Shah, Xianzhi Du, Futang Peng, Floris Weers, et al. Mm1: Methods, analysis & insights from multimodal llm pre-training. _arXiv preprint arXiv:2403.09611_ , 2024.
|
| 346 |
+
|
| 347 |
+
- Xue Bin Peng, Michael Chang, Grace Zhang, Pieter Abbeel, and Sergey Levine. Mcp: Learning composable hierarchical control with multiplicative compositional policies. _Advances in neural information processing systems_ , 32, 2019.
|
| 348 |
+
|
| 349 |
+
- Jose L Pons, R Ceres, and Friedrich Pfeiffer. Multifingered dextrous robotics hand design and control: a review. _Robotica_ , 1999.
|
| 350 |
+
|
| 351 |
+
- Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , 2017.
|
| 352 |
+
|
| 353 |
+
- Yuzhe Qin, Binghao Huang, Zhao-Heng Yin, Hao Su, and Xiaolong Wang. Dexpoint: Generalizable point cloud reinforcement learning for sim-to-real dexterous manipulation. _Conference on Robot Learning (CoRL)_ , 2022a.
|
| 354 |
+
|
| 355 |
+
- Yuzhe Qin, Yueh-Hua Wu, Shaowei Liu, Hanwen Jiang, Ruihan Yang, Yang Fu, and Xiaolong Wang. Dexmv: Imitation learning for dexterous manipulation from human videos. In _European Conference on Computer Vision_ , pp. 570–587. Springer, 2022b.
|
| 356 |
+
|
| 357 |
+
- Aravind Rajeswaran, Vikash Kumar, Abhishek Gupta, Giulia Vezzani, John Schulman, Emanuel Todorov, and Sergey Levine. Learning complex dexterous manipulation with deep reinforcement learning and demonstrations. _arXiv preprint arXiv:1709.10087_ , 2017.
|
| 358 |
+
|
| 359 |
+
12
|
| 360 |
+
|
| 361 |
+
- Krishan Rana, Ben Talbot, Vibhavari Dasagi, Michael Milford, and Niko Sünderhauf. Residual reactive navigation: Combining classical and learned navigation strategies for deployment in unknown environments. In _2020 IEEE International Conference on Robotics and Automation (ICRA)_ , pp. 11493–11499. IEEE, 2020.
|
| 362 |
+
|
| 363 |
+
- Stéphane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In _Proceedings of the fourteenth international conference on artificial intelligence and statistics_ , 2011.
|
| 364 |
+
|
| 365 |
+
- Gerrit Schoettler, Ashvin Nair, Jianlan Luo, Shikhar Bahl, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Deep reinforcement learning for industrial insertion tasks with visual inputs and natural rewards. In _2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)_ , pp. 5548–5555. IEEE, 2020.
|
| 366 |
+
|
| 367 |
+
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. _arXiv preprint arXiv:1707.06347_ , 2017.
|
| 368 |
+
|
| 369 |
+
- Lin Shao, Fabio Ferreira, Mikael Jorda, Varun Nambiar, Jianlan Luo, Eugen Solowjow, Juan Aparicio Ojea, Oussama Khatib, and Jeannette Bohg. Unigrasp: Learning a unified model to grasp with multifingered robotic hands. _IEEE Robotics and Automation Letters_ , 5(2):2286–2293, 2020.
|
| 370 |
+
|
| 371 |
+
- Kenneth Shaw, Ananye Agarwal, and Deepak Pathak. Leap hand: Low-cost, efficient, and anthropomorphic hand for robot learning. _arXiv preprint arXiv:2309.06440_ , 2023.
|
| 372 |
+
|
| 373 |
+
- Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. _arXiv preprint arXiv:1701.06538_ , 2017.
|
| 374 |
+
|
| 375 |
+
- Tom Silver, Kelsey Allen, Josh Tenenbaum, and Leslie Kaelbling. Residual policy learning. _arXiv preprint arXiv:1812.06298_ , 2018.
|
| 376 |
+
|
| 377 |
+
- Pascal Vincent. A connection between score matching and denoising autoencoders. _Neural computation_ , 2011.
|
| 378 |
+
|
| 379 |
+
- Weikang Wan, Haoran Geng, Yun Liu, Zikang Shan, Yaodong Yang, Li Yi, and He Wang. Unidexgrasp++: Improving dexterous grasping policy learning via geometry-aware curriculum and iterative generalist-specialist learning. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_ , pp. 3891–3902, 2023.
|
| 380 |
+
|
| 381 |
+
- Ruicheng Wang, Jialiang Zhang, Jiayi Chen, Yinzhen Xu, Puhao Li, Tengyu Liu, and He Wang. Dexgraspnet: A large-scale robotic dexterous grasp dataset for general objects based on simulation. In _2023 IEEE International Conference on Robotics and Automation (ICRA)_ , pp. 11359–11366. IEEE, 2023.
|
| 382 |
+
|
| 383 |
+
- Wei Wei, Peng Wang, and Sizhe Wang. Generalized anthropomorphic functional grasping with minimal demonstrations. _arXiv preprint arXiv:2303.17808_ , 2023.
|
| 384 |
+
|
| 385 |
+
- Albert Wu, Michelle Guo, and C Karen Liu. Learning diverse and physically feasible dexterous grasps with generative model and bilevel optimization. _arXiv preprint arXiv:2207.00195_ , 2022.
|
| 386 |
+
|
| 387 |
+
- Tianhao Wu, Yunchong Gan, Mingdong Wu, Jingbo Cheng, Yaodong Yang, Yixin Zhu, and Hao Dong. Unidexfpm: Universal dexterous functional pre-grasp manipulation via diffusion policy. _arXiv preprint arXiv:2403.12421_ , 2024a.
|
| 388 |
+
|
| 389 |
+
- Tianhao Wu, Mingdong Wu, Jiyao Zhang, Yunchong Gan, and Hao Dong. Learning score-based grasping primitive for human-assisting dexterous grasping. _Advances in Neural Information Processing Systems_ , 36, 2024b.
|
| 390 |
+
|
| 391 |
+
- Yinzhen Xu, Weikang Wan, Jialiang Zhang, Haoran Liu, Zikang Shan, Hao Shen, Ruicheng Wang, Haoran Geng, Yijia Weng, Jiayi Chen, et al. Unidexgrasp: Universal robotic dexterous grasping via learning diverse proposal generation and goal-conditioned policy. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ , pp. 4737–4746, 2023.
|
| 392 |
+
|
| 393 |
+
13
|
| 394 |
+
|
| 395 |
+
Tianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine, Karol Hausman, and Chelsea Finn. Gradient surgery for multi-task learning. _Advances in Neural Information Processing Systems_ , 2020.
|
| 396 |
+
|
| 397 |
+
- Haoqi Yuan, Bohan Zhou, Yuhui Fu, and Zongqing Lu. Cross-embodiment dexterous grasping with reinforcement learning. _arXiv preprint arXiv:2410.02479_ , 2024.
|
| 398 |
+
|
| 399 |
+
- Hui Zhang, Sammy Christen, Zicong Fan, Otmar Hilliges, and Jie Song. Graspxl: Generating grasping motions for diverse objects at scale. In _European Conference on Computer Vision_ , 2025.
|
| 400 |
+
|
| 401 |
+
- Xiang Zhang, Changhao Wang, Lingfeng Sun, Zheng Wu, Xinghao Zhu, and Masayoshi Tomizuka. Efficient sim-to-real transfer of contact-rich manipulation skills with online admittance residual learning. In _Conference on Robot Learning_ , pp. 1621–1639. PMLR, 2023.
|
| 402 |
+
|
| 403 |
+
- Bohan Zhou, Haoqi Yuan, Yuhui Fu, and Zongqing Lu. Learning diverse bimanual dexterous manipulation skills from human demonstrations. _arXiv preprint arXiv:2410.02477_ , 2024.
|
| 404 |
+
|
| 405 |
+
14
|
| 406 |
+
|
| 407 |
+
## A IMPLEMENTATION DETAILS
|
| 408 |
+
|
| 409 |
+
## A.1 ALGORITHM SUMMARY
|
| 410 |
+
|
| 411 |
+
- **Algorithm 1** The Training Pipeline of ResDex
|
| 412 |
+
|
| 413 |
+
**Input:** Dataset _D_ of objects and grasping proposals; Number of clusters _k_ .
|
| 414 |
+
|
| 415 |
+
## **Preprocess:**
|
| 416 |
+
|
| 417 |
+
Apply K-means to divide objects _ω ∈ D_ into _k_ clusters _C_ 1 _, C_ 2 _, . . . , Ck_ based on PointNet features.
|
| 418 |
+
|
| 419 |
+
**for** each cluster _Ci_ , _i_ = 1 _,_ 2 _, . . . , k_ **do** Find the object _ωi_ that is closest to the center of _Ci_ . **end for**
|
| 420 |
+
|
| 421 |
+
**Training Base Policies:**
|
| 422 |
+
|
| 423 |
+
**for** _i_ = 1 _, . . . , k_ **do** Train base policy _πψ[B] i_[on] _[ ω][i]_[, maximizing reward] _[ r]_[=] _[ r]_[pose][ +] _[ r]_[task][.] **end for**
|
| 424 |
+
|
| 425 |
+
## **Multi-Task Residual RL:**
|
| 426 |
+
|
| 427 |
+
Train hyper-policy _πϕ[H]_[with frozen base policies] _[ {][π] ψ[B] i[}] i[k]_ =1[on all objects.] Training stage 1: maximize _r_ = _r_[task] + _r_[proposal] . Training stage 2: maximize _r_ = _r_[task] _− r_[reach] .
|
| 428 |
+
|
| 429 |
+
**Vision-based Distillation:**
|
| 430 |
+
|
| 431 |
+
Train the vision-based policy _πθ[V]_[on all objects using DAgger, with frozen] _[ π] ϕ[H]_[.]
|
| 432 |
+
|
| 433 |
+
## A.2 SIMULATION SETUP
|
| 434 |
+
|
| 435 |
+
We conduct all our experiments in IsaacGym (Makoviychuk et al., 2021), a GPU-accelerated platform for physics simulation and reinforcement learning. Each environment features a table that is 60 cm tall, with an object initialized 10 cm above the tabletop, which then falls onto it. The shadow hand is initialized 20 cm above the desktop. The task is to grasp the object and lift its center to 20 cm above the center of the tabletop.
|
| 436 |
+
|
| 437 |
+
The dataset is split into one training set and two test sets. The training set contains 3,200 object instances. The test sets include 141 instances of unseen objects within seen categories from the training set and 100 instances of unseen objects in unseen categories. For state-based policies, we use PPO (Schulman et al., 2017) for training. For vision-based policies, we distill the state-based expert policy into a vision-based policy using DAgger (Ross et al., 2011). Each geometry-agnostic policy is trained with 4,096 environments in parallel for 5,000 iterations. The hyper policy is trained with 11,000 environments in parallel for 20,000 iterations for every training stage. The vision-based policy is trained with 11,000 environments in parallel for 8000 iterations.
|
| 438 |
+
|
| 439 |
+
**Reward Function for Base Policy** We use a modified goal-conditioned reward function to train geometry-agnostic base policies. The reward function is defined as:
|
| 440 |
+
|
| 441 |
+
_r_ = _r[pose]_ + _r[task]_
|
| 442 |
+
|
| 443 |
+
_Xjoint_ denotes the joint angles. The _r[pose]_ is defined as follows:
|
| 444 |
+
|
| 445 |
+
**==> picture [129 x 12] intentionally omitted <==**
|
| 446 |
+
|
| 447 |
+
_r[task]_ is defined as follows:
|
| 448 |
+
|
| 449 |
+
**==> picture [165 x 11] intentionally omitted <==**
|
| 450 |
+
|
| 451 |
+
The _r[reach]_ encourages the hand to reach the object, as it penalizes the distance between the object and different parts of the hand. Here, _Xobj_ and _Xhand_ denote the position of the object and the hand, and _Xfinger_ denotes positions of all the fingers. The _r[reach]_ is defined as follows:
|
| 452 |
+
|
| 453 |
+
**==> picture [272 x 15] intentionally omitted <==**
|
| 454 |
+
|
| 455 |
+
15
|
| 456 |
+
|
| 457 |
+
The _r[lift]_ encourages the hand to lift the object. It gives a positive reward when this condition can be satisfied: _f_ 1 = **1** ([�] _∥Xobj − Xfinger∥_ 2 _≤_ 0 _._ 6) + **1** ( _∥Xobj − Xhand∥_ 2 _≤_ 0 _._ 12). _az_ is the scaled force applied to the hand root along the z-axis. The _r[lift]_ is defined as follows:
|
| 458 |
+
|
| 459 |
+
**==> picture [145 x 25] intentionally omitted <==**
|
| 460 |
+
|
| 461 |
+
The _r[move]_ encourages the hand to move the object to the target position. _Xtarget_ denotes the target position. It gives a positive reward when this condition is satisfied: _f_ 2 = **1** ([�] _∥Xobj − Xfinger∥_ 2 _≤_ 0 _._ 6) + **1** ( _∥Xobj − Xhand∥_ 2 _≤_ 0 _._ 12) + **1** ( _∥_ _**q** − Xjoint∥_ 1 _≤_ 6). The _r[move]_ is defined as follows:
|
| 462 |
+
|
| 463 |
+
**==> picture [202 x 25] intentionally omitted <==**
|
| 464 |
+
|
| 465 |
+
The _r[bonus]_ gives an extra reward when the object is close to the target position. We denote _∥Xobj − Xtarget∥_ 2 as _dobj_ . The _r[bonus]_ is defined as follows:
|
| 466 |
+
|
| 467 |
+
**==> picture [153 x 31] intentionally omitted <==**
|
| 468 |
+
|
| 469 |
+
**Reward Function for Hyper Policy** At the first training stage for a hyper policy, we use the goalconditioned reward function exactly the same as the one proposed in UniDexGrasp(Xu et al., 2023).
|
| 470 |
+
|
| 471 |
+
At the second training stage for a hyper policy, we use a loosened reward function defined as follows:
|
| 472 |
+
|
| 473 |
+
**==> picture [112 x 11] intentionally omitted <==**
|
| 474 |
+
|
| 475 |
+
The definitions of _r[lift]_ and _r[bonus]_ are the same as those mentioned above. The _r[move]_ has loosened its condition. It is defined as follows:
|
| 476 |
+
|
| 477 |
+
**==> picture [202 x 25] intentionally omitted <==**
|
| 478 |
+
|
| 479 |
+
## A.3 TRAINING DETAILS
|
| 480 |
+
|
| 481 |
+
**Network Architecture** We use a MLP architecture which consists of 4 layers (1024, 1024, 512, 512) for base policies and the hyper policy. For the vision-based policy, we use a simplified PointNet (Qi et al., 2017) encoder to represent the object point cloud and apply MLPs with the same hidden layer sizes for the actor and the critic. We use ELU (Clevert, 2015) as the activation function.
|
| 482 |
+
|
| 483 |
+
**Training Device and Training Time** All the state-based policies are trained on on a single NVIDIA RTX 4090 GPU. Training a base policy takes about 20 minutes, while training a hyper-policy takes about 11 hours. For the vision-based policy, we train on a single A800 GPU, taking about 16 hours.
|
| 484 |
+
|
| 485 |
+
**Analysis of Training Efficiency** To demonstrate the training efficiency of our method compared with UniDexGrasp and UniDexGrasp++, we provide a comparative analysis based on the number of training rounds, as detailed in their papers. UniDexGrasp implements a progressive training strategy — starting with a single object, expanding to several objects within the same category, and finally covering the full training set — requiring three multi-task training stages in practice. UniDexGrasp++ is more complex, involving the training of 20 multi-task policies along with several distillation stages. In contrast, our method only necessitates the training of a single multi-task policy in one trial, using between one to six low-cost, single-task base policies. Our approach is not only simpler but also efficient. As demonstrated in our experiments, our method achieves high success rates even with just one base policy. Table 7 compares the training efficiency of different methods in terms of the number of training rounds.
|
| 486 |
+
|
| 487 |
+
The hyperparameters of PPO and DAgger are described in Table 8 and Table 9.
|
| 488 |
+
|
| 489 |
+
16
|
| 490 |
+
|
| 491 |
+
**Table 7:** Comparison of the number of training rounds required by different methods.
|
| 492 |
+
|
| 493 |
+
|Method|Rounds for Single-Object<br>Training (_<_20minutes)|Rounds for Multi-Task<br>Training (1_∼_10hours)|
|
| 494 |
+
|---|---|---|
|
| 495 |
+
|UniDexGrasp|0|_≥_3|
|
| 496 |
+
|UniDexGrasp++|0|_≥_20|
|
| 497 |
+
|ResDex|1_∼_6|1|
|
| 498 |
+
|
| 499 |
+
**Table 8:** Hyperparameters of PPO.
|
| 500 |
+
|
| 501 |
+
|Name|Symbol|Value|
|
| 502 |
+
|---|---|---|
|
| 503 |
+
|Episode length|--|200|
|
| 504 |
+
|Num. envs (base policy)|--|4096|
|
| 505 |
+
|Num. envs (hyper-policy)|--|11000|
|
| 506 |
+
|Parallel rollout steps per iteration|--|8|
|
| 507 |
+
|Training epochs per iteration|--|5|
|
| 508 |
+
|Num. minibatches per epoch|--|4|
|
| 509 |
+
|Optimizer|--|Adam|
|
| 510 |
+
|Clip gradient norm|--|1.0|
|
| 511 |
+
|Initial noise std.|--|0.8|
|
| 512 |
+
|Clip observations|--|5.0|
|
| 513 |
+
|Clip actions|--|1.0|
|
| 514 |
+
|Learning rate|_η_|3e-4|
|
| 515 |
+
|Discount factor|_γ_|0.96|
|
| 516 |
+
|GAE lambda|_λ_|0.95|
|
| 517 |
+
|Clip range|_ϵ_|0.2|
|
| 518 |
+
|
| 519 |
+
**Table 9:** Hyperparameters of DAgger.
|
| 520 |
+
|
| 521 |
+
|Name|Symbol|Value|
|
| 522 |
+
|---|---|---|
|
| 523 |
+
|Episode length|--|200|
|
| 524 |
+
|Num. envs|--|11000|
|
| 525 |
+
|Parallel rollout steps per iteration|--|1|
|
| 526 |
+
|Training epochs per iteration|--|5|
|
| 527 |
+
|Num. minibatches per epoch|--|4|
|
| 528 |
+
|Optimizer|--|Adam|
|
| 529 |
+
|Clip observations|--|5.0|
|
| 530 |
+
|Clip actions|--|1.0|
|
| 531 |
+
|Learning rate|_η_|3e-4|
|
| 532 |
+
|Clip range|_ϵ_|0.2|
|
| 533 |
+
|
| 534 |
+
17
|
| 535 |
+
|
| 536 |
+
## B ADDITIONAL RESULTS
|
| 537 |
+
|
| 538 |
+
## B.1 RESULTS ON YCB DATASET
|
| 539 |
+
|
| 540 |
+
To further demonstrate the generalizability of our method, we test the learned policy on the YCB Dataset (Calli et al., 2017), which comproses 75 objects. We evaluate our vision-based policy, trained on DexGraspNet, in a zero-shot manner. It achieves a success rate of 65.55%, which underscores the strong generalizability of our policy to unseen datasets. It is important to note that 30% of YCB objects are very flat and thin, which significantly challenges tabletop grasping. Additionally, because the models of YCB objects are scanned from real-world objects, they often feature irregular, non-convex shapes. This leads to differences between visual observations and collision meshes in IsaacGym, increasing the difficulty for the grasping policy, which relies on visual point clouds but interacts with mismatched physical shapes.
|
| 541 |
+
|
| 542 |
+
## B.2 RESULTS ON LEAP HAND
|
| 543 |
+
|
| 544 |
+
We additionally evaluate ResDex on the low-cost LEAP Hand, which is more accessible in laboratories. We implement a simulation setup for the LEAP Hand attached to a 6-DoF robot arm that is fixed on a table. The action space includes PD control targets for both the hand joints and the six arm joints. This setup enhances the practicability for sim-to-real deployment.
|
| 545 |
+
|
| 546 |
+
We train ResDex without modifying any hyperparameters and achieved an average success rate of 60.71% on the 3.2K objects in DexGraspNet. Several factors affect the LEAP Hand’s performance, which is lower than that of the ShadowHand: (1) LEAP Hand is significantly larger and has thicker fingertips, posing challenges for grasping small objects in DexGraspNet; (2) LEAP Hand policies are trained without the grasping proposal reward due to the absence of corresponding data; (3) LEAP Hand has fewer degrees of freedom compared to ShadowHand, which can limit its capabilities; (4) The attachment to a robot arm reduces the effective workspace and alters the mechanism for controlling wrist pose, potentially affecting training performance.
|
| 547 |
+
|
| 548 |
+
Figure 4 visualizes the setup for the simulation and the learned grasping poses of the LEAP Hand.
|
| 549 |
+
|
| 550 |
+
**==> picture [96 x 96] intentionally omitted <==**
|
| 551 |
+
|
| 552 |
+
**==> picture [96 x 96] intentionally omitted <==**
|
| 553 |
+
|
| 554 |
+
**==> picture [96 x 96] intentionally omitted <==**
|
| 555 |
+
|
| 556 |
+
**==> picture [96 x 96] intentionally omitted <==**
|
| 557 |
+
|
| 558 |
+
**==> picture [336 x 8] intentionally omitted <==**
|
| 559 |
+
|
| 560 |
+
**----- Start of picture text -----**<br>
|
| 561 |
+
Fooditem Tank Bottle Marker<br>**----- End of picture text -----**<br>
|
| 562 |
+
|
| 563 |
+
**Figure 4: The learned grasping behaviors of the LEAP Hand for different objects.** Using the low-cost LEAP Hand attached to a robot arm, this configuration offers greater accessibility for simto-real deployment.
|
| 564 |
+
|
| 565 |
+
## B.3 DIVERSITY OF THE LEARNED MOE WEIGHTS
|
| 566 |
+
|
| 567 |
+
We demonstrate that the diversity of the learned _λ_ correlates with the diversity of grasping styles, as evidenced by Table 4. To further investigate the diversity of the normalized weights _λ_ produced by the hyper-policy, we calculate the sum of each dimension, which corresponds to each base policy, throughout the evaluation process across the entire object set. The results are presented in Figure 5.
|
| 568 |
+
|
| 569 |
+
When _k_ = 4 and _k_ = 6, the hyper-policy can utilize different base policies. In contrast, it almost exclusively selects one base policy when _k_ = 5. The result is consistent with the result in Table 4, which shows that the quality of grasping is relatively low for _k_ = 5 compared to _k_ = 4 and _k_ = 6. Since our reward functions have no limit on the diversity of _λ_ , there could be many reasons for these
|
| 570 |
+
|
| 571 |
+
18
|
| 572 |
+
|
| 573 |
+
**==> picture [119 x 90] intentionally omitted <==**
|
| 574 |
+
|
| 575 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 576 |
+
|
| 577 |
+
**==> picture [119 x 90] intentionally omitted <==**
|
| 578 |
+
|
| 579 |
+
**==> picture [312 x 9] intentionally omitted <==**
|
| 580 |
+
|
| 581 |
+
**----- Start of picture text -----**<br>
|
| 582 |
+
(a) k = 4 (b) k = 5 (c) k = 6<br>**----- End of picture text -----**<br>
|
| 583 |
+
|
| 584 |
+
**Figure 5: Diversity of the learned** _λ_ **.** _k_ denotes the number of geometry-agnostic base policies used to train the hyper-policy. Each number on the x-axis corresponds to a specific base policy. The height of each bar indicates the sum of weights for the corresponding base policy, with the largest sum normalized to 1 and other bars adjusted proportionally.
|
| 585 |
+
|
| 586 |
+
results. We suggest that explicitly diversifying _λ_ during the training process might lead to polices that exhibit more natural grasping styles.
|
| 587 |
+
|
| 588 |
+
Furthermore, we demonstrate the variation of _λ_ along the executed trajectories for different objects. As shown in Figure 6, _λ_ varies at different timesteps and the variation of _λ_ follows distinct patterns for different objects, which indicates that the hyper-policy leverages actions from different base polices to grasp different objects. Instead of collapsing to one-hot vectors or constant vectors, _λ_ exhibits diversity both across different objects and different timesteps within a grasping trajectory.
|
| 589 |
+
|
| 590 |
+
**==> picture [119 x 90] intentionally omitted <==**
|
| 591 |
+
|
| 592 |
+
**==> picture [120 x 90] intentionally omitted <==**
|
| 593 |
+
|
| 594 |
+
**==> picture [119 x 90] intentionally omitted <==**
|
| 595 |
+
|
| 596 |
+
**==> picture [330 x 9] intentionally omitted <==**
|
| 597 |
+
|
| 598 |
+
**----- Start of picture text -----**<br>
|
| 599 |
+
(a) DrinkingUtensil (b) Mug (c) Pistol<br>**----- End of picture text -----**<br>
|
| 600 |
+
|
| 601 |
+
**Figure 6: The learned** _λ_ **for different objects on their executed trajectories.** The figures show the variation of _λ_ through grasping trajectories for different objects (drinking utensil, mug, and pistol) when _k_ = 6. Weights for each base policy are plotted using a distinct color.
|
| 602 |
+
|
| 603 |
+
19
|
| 604 |
+
|
open_review/iclr2025_13869.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13869",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Toward Domain Translation with Monolingual Domain Data Only",
|
| 6 |
+
"abstract": "Neural machine translation (NMT) is very sensitive to domain shifts requiring a carefully designed fine-tuning strategy to avoid catastrophic forgetting problems when adapting to a new domain. Fine-tuning usually relies on high quality in-domain data, but constructing a sufficient amount of parallel data for training poses challenges even for fine-tuning. In contrast, domain-specific monolingual resources are more accessible when compared with bilingual data. Therefore, we challenge the domain adaptation of a general NMT model using only features obtained from a small amount of monolingual data. We regard the task as an instance of domain shifts, and adopt energy-based models (EBMs) and approximate these EBMs using Conditional Distributional Policy Gradients (CDPG). Recent work has applied CDPG with a small number of EBMs for NMT models limiting the capacity for domain shifts, but we construct a large number of EBMs considering the entire domain-specific data, i.e., unigram distribution, and perform fine-tuning according to their constraints. Our results show that fine-tuning using a large number of EBMs can achieve a robust domain shift without causing catastrophic forgetting, demonstrating a robust domain shift using only a small amount of monolingual resources.",
|
| 7 |
+
"rebuttal": "Dear Reviewer n3SL,\n\nThank you for your time and effort in reviewing our manuscript and engaging in the discussion process. As the discussion period nears its conclusion, we hope that our responses and revisions have effectively addressed your concerns.\n\nIf there are any remaining questions or concerns, please let us know in detail at your earliest convenience. We will do our best to address them promptly before the discussion phase ends.\n\nIf your concerns have been resolved, we kindly ask you to consider positively revising your evaluation to reflect the improvements in our work.\n\nThank you again for your valuable feedback and dedication.\n\nBest regards,\n\nAnonymous Authors\n\nDear Reviewer UmaA,\n\nThank you for your time and effort in reviewing our manuscript and engaging in the discussion process. As the discussion period nears its conclusion, we hope that our responses and revisions have effectively addressed your concerns.\n\nIf there are any remaining questions or concerns, please let us know in detail at your earliest convenience. We will do our best to address them promptly before the discussion phase ends.\n\nIf your concerns have been resolved, we kindly ask you to consider positively revising your evaluation to reflect the improvements in our work.\n\nThank you a [...]\n\nDear Reviewer VUPi,\n\nThank you for your time and effort in reviewing our manuscript and engaging in the discussion process. As the discussion period nears its conclusion, we hope that our responses and revisions have effectively addressed your concerns.\n\nIf there are any remaining questions or concerns, please let us know in detail at your earliest convenience. We will do our best to address them promptly before the discussion phase ends.\n\nIf your concerns have been resolved, we kindly ask you to consider positively revising your evaluation to reflect the improvements in our work.\n\nThank you a [...]\n\nDear Reviewer oE5u,\n\nThank you for your time and effort in reviewing our manuscript and engaging in the discussion process. As the discussion period nears its conclusion, we hope that our responses and revisions have effectively addressed your concerns.\n\nIf there are any remaining questions or concerns, please let us know in detail at your earliest convenience. We will do our best to address them promptly before the discussion phase ends.\n\nIf your concerns have been resolved, we kindly ask you to consider positively revising your evaluation to reflect the improvements in our work.\n\nThank you a [...]\n\n### Kind Reminder\nDear Reviewers,\n\nAs the deadline for discussion nears, we wish to reaffirm our dedication to addressing any unresolved concerns regarding our submission. We have thoroughly addressed all the latest concerns, and we believe these efforts have significantly strengthened our manuscript. **If our responses have resolved your concerns, we would greatly appreciate an updated evaluation.**\n\nWe recognize and appreciate the significant time commitment the review process requires, and we highly value your feedback. If there are any additional recommendations for enhancing our submissio [...]\n\n### Re: Rebuttal by Authors\nThank you for your response! We are glad that all of the questions and the main claims in Weaknesses 3 and 4 have been resolved. We would like to further address the concerns that have not yet been resolved.\n\n---\n\n> **1. Differences from Korbak et al 2022**\n\nThank you for your valuable feedback. As you know, this study focuses on application research. Korbak et al. (2022) proposed the **CDPG training method** and demonstrated its potential by evaluating it with a small number of EBMs. However, their work was limited to artificial settings and did not explore actual [...]\n\n### Re: Rebuttal by Authors (1/3)\nThank you for your prompt response and detailed feedback! Based on your feedback, we have revised the manuscript again to clarify the motivation. The text highlighted in green indicates the areas that were added or modified in response to your comments.\n\n---\n\n**1 (a)**\n\n> I don't think this response addresses my original statement (\"assuming that they are starting from a generic trained model to adapt, and cannot train a model to the relevant domain from scratch\"), so I'm sorry that I was unclear. It is possible to train a model from scratch on the (potential [...]\n\n### Re: Rebuttal by Authors (2/3)\n> **2.1.1:** I believe that the fact that the test set is likely to be contained in the training set for en<->de makes the evaluation invalid. Can you please clarify why \"manually refin[ing] the test set to ensure accurate evaluation\" remedies this issue?\n\n> **2.1.2:** Thank you for including en<->zh on unseen data. Regardless, the paper should include only these experiments and not en<->de since the training data likely includes the test data for en<->de.\n\n\nThank you for your feedback. It is well known that neural network models, such as language models and N [...]\n\n### Re: Rebuttal by Authors (3/3)\n> **4.a:** Given the ubiquity and availability of LLMs, if they are able to do this task more effectively with the same in-domain data (regardless of the initial training data), then it would be good to clarify in what cases your method would be useful. For this reason, it would be good to compare to an LLM baseline.\n\nThank you. To clarify our understanding, when you refer to LLMs, are you specifically referring to decoder-side language models like LLaMA, rather than pre-trained models in general? While your suggestion is intriguing, our study focuses on encod [...]\n\n### Rebuttal Summary and Final Follow-up\nDear Reviewers and ACs,\n\nAs the discussion period approaches its conclusion, we would like to provide a reminder and summarize our responses to the feedback received so far.\n\nWe sincerely thank all the reviewers and ACs for your diligent efforts and high-quality reviews. If you have any additional questions or require further clarification, please feel free to let us know. Your insights are highly valued.\n\n--\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
6,
|
| 11 |
+
3,
|
| 12 |
+
3
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.5,
|
| 15 |
+
"score_variance": 3,
|
| 16 |
+
"score_spread": 3,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "The paper presents an innovative method for domain translation in NMTusing energy-based models (EBMs) combined with Conditional Distributional Policy Gradients (CDPG), focusing on utilizing monolingual domain-specific data rather than parallel data. It also introduces a dynamic variant, DYNAMIC CDPG, which utilizes bilingual validation data for parameter adjustments to optimize results without catastrophic forgetting. The paper conducts experiments across multiple translation directions and domain adaptation scenarios.\n\nWhile the authors argue the comprehensiveness of their experiments, expanding to more languages and domains could fortify the evidence of generalizability. Reviewers suggested incorporating a broader range of competitive baselines, such as back-translation and adversarial domain adaptation, for more robust comparisons. Some reviewers found the methodology complex, suggesting that more intuitive explanations or visual aids could be added for accessibility. Adding pseudocode or clearer implementation details would strengthen the paper. Also, emphasizing differences from existing works (e.g., Korbak et al., 2022) will help underline the novelty.",
|
| 22 |
+
"forum_id": "63Pq7q7ybl",
|
| 23 |
+
"primary_area": "applications to computer vision, audio, language, and other modalities",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_oE5u",
|
| 28 |
+
"review_id": "lnjgqaKAXJ",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 2,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 3970,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 391104,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_VUPi",
|
| 44 |
+
"review_id": "hv3C0ckAR2",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 6,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 2
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3566,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 612033,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_UmaA",
|
| 60 |
+
"review_id": "LgmckQGbuo",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 3,
|
| 63 |
+
"soundness": 2,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 3
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 2962,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 1030097,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_n3SL",
|
| 76 |
+
"review_id": "zELBkk5PqP",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 3,
|
| 79 |
+
"soundness": 2,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 1,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 5493,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1794731,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13869.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13870.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13870",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Herald: A Natural Language Annotated Lean 4 Dataset",
|
| 6 |
+
"abstract": "Verifiable formal languages like Lean have profoundly impacted mathematical reasoning, particularly through the use of large language models (LLMs) for automated reasoning. A significant challenge in training LLMs for these formal languages is the lack of parallel datasets that align natural language with formal language proofs. To address this challenge, this paper introduces a novel framework for translating the Mathlib4 corpus (a unified library of mathematics in formal language Lean 4) into natural language. Building upon this, we employ a dual augmentation strategy that combines tactic-based and informal-based approaches, leveraging the Lean-jixia system, a Lean 4 analyzer. We present the results of this pipeline on Mathlib4 as Herald (Hierarchy and Retrieval-based Translated Lean Dataset). We also propose the Herald Translator, which is fine-tuned on Herald. Herald translator achieves a 96.7\\% accuracy (Pass@128) on formalizing statements in the miniF2F-test and a 23.5\\% accuracy on our internal graduate-level textbook dataset, outperforming InternLM2-Math-Plus-7B (73.0\\% and 7.5\\%) and TheoremLlama (50.1\\% and 4.0\\%). Furthermore, we propose a section-level translation framework for real-world applications. As a direct application of Herald translator, we have successfully translated a template section in the Stack project, marking a notable progress in the automatic formalization of graduate-level mathematical literature. Our model, along with the datasets, are open-sourced to the public.",
|
| 7 |
+
"rebuttal": "### General Response: Evaluation of the Dataset Quality (1/2)\nWe sincerely thank all the reviewers for their insightful and high-quality feedback. We are glad to see that the reviewers have praised the retrieval-augmented generation pipeline for dataset creation. Additionally, we are gratified to see that the reviews acknowledge the high quality of our dataset, as evidenced by the provided examples, and the effectiveness of our translator, which extends beyond standard benchmarks to include real-world formalization projects.\n\nIn the following general response, we address some common questions raised in the reviews. Following the reviewers’ suggestions, additional experiments for evaluating the dataset quality have been included in the new version of the paper.\n\n1. **How to conduct a convincing quantitative experiment to exhibit the Herald translator’s quality?** The reviewers suggest improvements to our quantitative experiment from three different aspects. Firstly, in terms of comparing with more base models, Reviewer 5xV4 recommends a more comprehensive comparison with DeepSeek-Prover-1.5 models [1]. Reviewer BoSn suggests comparing the results with FVEL [2] and FormalAlign [3]. Secondly, regarding the test set, Reviewer 6Lbv inquired about the quality of our test sets **Extract Theorem** and **CollegeCoT**. Reviewer 4Ljo suggests that we should also test on ProofNet. Lastly, in terms of metrics, Reviewer 6Lbv asks about the effect of the NLI check, and Reviewer 4Ljo requests more results of pass@k for different k values to better understand the capability of our model.\n\nThese are very good questions and suggestions that can enhance the persuasiveness of our experiments demonstrating the Herald translator’s ability. First of all, there are relatively few models specifically designed for the task of auto-formalization in Lean. In our attempts to adapt DeepSeek-Prover-1.5-SFT and DeepSeek-Prover-1.5-RL models for statement formalization, we found that they exhibit very limited capability in this area. Additionally, the auto-formalization methods in FVEL were implemented using Isabelle, which has different mathematical libraries compared to Lean. FormalAlign, which was recently released on arXiv (14 October 2024), focuses on detecting misalignments between informal and formal statements rather than performing auto-formalization tasks. To the best of our knowledge, TheoremLlama is the most closely related work addressing both the informalization of Mathlib4 and auto-formalization. We have compared our results against it both quantitatively and qualitatively.\n\nFor the test sets, to fully demonstrate the capabilities of our model, we prepared two datasets that contain a broad spectrum of advanced undergraduate-level material, including abstract algebra, partial differential equations, and stochastic processes, as well as more advanced graduate-level mathematical materials. In response to Reviewer 4Ljo’s suggestion, we have included results for ProofNet [4], a widely recognized benchmark in undergraduate-level mathematics. This addition allows for a more standardized and widely accepted evaluation of our model's performance.\n\nFor the metric, the reviewers’ insights are invaluable. Reviewer 4Ljo’s suggestion to include pass@k results for smaller k values highlighted our model’s robustness and efficiency, and we will incorporate this experiment in our subsequent version of the paper. Reviewer 6Lbv pointed out the issue that the NLI check may introduce false positive cases. We acknowledge that even the most stringent LLM-based NLI checks can yield false positives. For our application, the primary goal of the NLI checking pipeline is to ensure a fair performance comparison between models, as it remains one of the few practical approaches for large-scale automated evaluation. To address this, we conducted a human expert examination of the successful results from the language model NLI check, demonstrating that the false positive rates of the Herald translator and other models are comparable, thereby ensuring a fair performance test. We are excited by recent advancements in large-scale mathematical statement alignment, such as [3], and plan to incorporate these methods into future work.\n\n[1] Shao, Zhihong, et al. \"Deepseekmath: Pushing the limits of mathematical reasoning in open language models.\" arXiv preprint arXiv:2402.03300 (2024).\n[2] Lin, Xiaohan, et al. \"FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Proving.\" arXiv preprint arXiv:2406.14408 (2024).\n[3] Lu, Jianqiao, et al. \"FormalAlign: Automated Alignment Evaluation for Autoformalization.\" arXiv preprint arXiv:2410.10135 (2024).\n[4] Azerbayev, Zhangir, Bartosz Piotrowski, and Jeremy Avigad. \"ProofNet: A benchmark for autoformalizing and formally proving undergraduate-level mathematics problems.\" Second MATH-AI Workshop. 2022.\n\n### General Response: Evaluation of the Dataset Quality (2/2)\n2. **Ablation study to assess the effect of each component in the data generation pipeline** Reviewer 5xV4 and Reviewer BoSn both recommended conducting an ablation study to understand the contribution of each component in the data generation and augmentation process. This study will help identify which parts of the pipeline are most beneficial and guide future improvements.\n\nWe appreciate the reviewers’ interest in the effectiveness of each part of the pipeline. To quantify the impact, we conducted an ablation study that evaluated [...]\n\n### Response to Reviewer 4Ljo (1/3)\n**R W1 & W2: Pass@128 metric**\n\nThank you for raising this important point. First, we would like to emphasize that **all baselines reported in Table 2, including TheoremLlama, InternLM2-Math-Plus-7B, and Llama3-Instruct, are evaluated under the same Pass@128 setting**. This consistent evaluation is critical for ensuring a fair and direct comparison of the performance of our method relative to existing approaches.\nRegarding the use of Pass@128, \n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
8,
|
| 10 |
+
8,
|
| 11 |
+
6,
|
| 12 |
+
6
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 7.0,
|
| 15 |
+
"score_variance": 1.33,
|
| 16 |
+
"score_spread": 2,
|
| 17 |
+
"score_min": 6,
|
| 18 |
+
"score_max": 8,
|
| 19 |
+
"decision": "Accept (Poster)",
|
| 20 |
+
"rebuttal_validity_ground_truth": true,
|
| 21 |
+
"meta_review": "This paper presents a novel approach to synthesize parallel corpora of natural language statements and formal language proofs for math problems. A retrieval-based approach is used in the informalization process of translating formal proofs to natural language sentences. The author used the proposed method to create a natural language version of Mathlib4, and trained a transformer that formalizes natural language statements to Lean proofs. Extensive experiments are performed on both standard benchmark datasets as well as real-world in-the-wild mathematical literature. \n\n**Strengths:** Reviewers found that the proposed method is “well designed” (6Lbv), “innovative” and “practical” (BoSn). The to-be-open-sourced tooling and data will be “helpful for future research in AI-assisted math” (5xV4), and have “clear use to the community” (4Ljo). The evaluation results are “impressive” since “they are beyond standard benchmarks” … “on a real-world formalization project” (5xV4), with “very high performance on translating miniF2F problems, and improved performance on more difficult college-level datasets” (4Ljo).\n\n**Weaknesses:** There are issues around lack of certain ablations as well as potential issues with the LM NLI check and the pass@K evaluation metric. Most of the issues are addressed during the rebuttal phase with some clarifications from the authors and additional experiment results. Some remaining issues are:\n\n* 4Ljo: “clarity of statement vs proof autoformalization (which th",
|
| 22 |
+
"forum_id": "Se6MgCtRhz",
|
| 23 |
+
"primary_area": "datasets and benchmarks",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_5xV4",
|
| 28 |
+
"review_id": "0HnoTfJ6CR",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 8,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 3
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1448,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 132696,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_6Lbv",
|
| 44 |
+
"review_id": "AVDueaslYA",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 8,
|
| 47 |
+
"soundness": 2,
|
| 48 |
+
"presentation": 3,
|
| 49 |
+
"contribution": 3,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3646,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 792229,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_BoSn",
|
| 60 |
+
"review_id": "mfsnN6VMrT",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 6,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 3,
|
| 65 |
+
"contribution": 3,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 1286,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 945213,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_4Ljo",
|
| 76 |
+
"review_id": "rOdgBhI0n3",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 6,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 2,
|
| 81 |
+
"contribution": 3,
|
| 82 |
+
"confidence": 4
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 3669,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 2656159,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|
open_review/iclr2025_13870.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
open_review/iclr2025_13872.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "iclr2025_13872",
|
| 3 |
+
"source": "iclr2025",
|
| 4 |
+
"source_year": 2025,
|
| 5 |
+
"title": "Solving Urban Network Security Games: Learning Platform, Benchmark, and Challenge for AI Research",
|
| 6 |
+
"abstract": "After the great achievement of solving two-player zero-sum games, more and more AI researchers focus on solving multiplayer games. To facilitate the development of designing efficient learning algorithms for solving multiplayer games, we propose a multiplayer game platform for solving Urban Network Security Games (**UNSG**) that model real-world scenarios. That is, \npreventing criminal activity is a highly significant responsibility assigned to police officers in cities, and police officers have to allocate their limited security resources to interdict the escaping criminal when a crime takes place in a city. This interaction between multiple police officers and the escaping criminal can be modeled as a UNSG. The variants of UNSGs can model different real-world settings, e.g., whether real-time information is available or not, whether police officers can communicate or not.\nThe main challenges of solving this game include the large size of the game and the co-existence of cooperation and competition. \nWhile previous efforts have been made to tackle UNSGs, they have been hampered by performance and scalability issues. Therefore, we propose an open-source UNSG platform (**GraphChase**) for designing efficient learning algorithms for solving UNSGs.\nSpecifically, GraphChase offers a unified and flexible game environment for modeling various variants of UNSGs, supporting the development, testing, and benchmarking of algorithms. We believe that GraphChase not only facilitates the development of efficient algorithms for solving real-world problems but also paves the way for significant advancements in algorithmic development for solving general multiplayer games.",
|
| 7 |
+
"rebuttal": "Thank you for your insightful question regarding strategy evaluation methods. We appreciate the opportunity to elaborate on our approach to assessing pursuer strategies and equilibrium computation.\n\nOur platform supports the pursuer's **strategy evaluation** through four methods:\n\n1. Pseudo Worst-Case Utility\n\nThis method evaluates the performance of the pursuer's strategy by first selecting an exit according to the best response and then choosing a path within that exit. Due to the randomness in path selection, it is referred to as pseudo worst-case utility. \n\n2. Worst Case Utility\n\nThis method evaluates the performance of the pursuer's strategy by enumerating every feasible path and using the path with the lowest reward as the worst-case utility. When the number of paths is vast and difficult to enumerate, it will use the first method to approximate worst-case utility.\n\n3. Strategy Robustness Testing\n\nWe assess strategy robustness by varying the maximum time horizon, which enables a comprehensive examination of the pursuer strategy's performance against diverse evader behaviors. As demonstrated in our experimental setup, this approach provides insights into the strategy's adaptability across different scenario complexities.\n\n4. Exploitability Testing\n\nThis method systematically evaluates the pursuer strategy's vulnerability by training an adversarial evader strategy using reinforcement learning while maintaining a fixed pursuer strategy.\n\nRegarding **equilibrium assessment**, our platform supports calculating the NashConv metric to measure convergence. This metric is calculated as:\n\n```math\nNashConv = pursuer_br_value + evader_br_value\n```\n, where `pursuer_br_value` and `evader_br_value` denote the values of their respective best response strategies. Since we provided the aforementioned methods for strategy evaluation, there are several ways to assess NashConv. Users can utilize (Pseudo) Worst-Case Utility or various training algorithms to calculate the value of best response strategies. The detailed usage methods can be found on [GraphChase repository](https://github.com/GraphChase/GraphChasePlatform.git).\n\nThe evaluation method outlined in Section 3.2 of our paper is consistent with prior works on UNSG, including CFR-MIX (Li et al., 2021), NSG-NFSP (Xue et al., 2021), NSGZero (Xue et al., 2022), Pretrained PSRO (Li et al., 2023a), and Grasper (Li et al., 2024). To ensure a fair and direct comparison with these previous studies, we did not include alternative evaluation methods in the paper.\n\nHowever, our platform fully supports additional evaluation methods as mentioned above. These methods have been implemented at the code level, so we have provided detailed example instructions in the usage guide available on [GraphChase Platform](https://github.com/GraphChase/GraphChasePlatform.git). The guide provides detailed instructions on how users can leverage these various assessment techniques to evaluate strategies and analyze equilibrium characteristics.\n\nWe hope this detailed explanation addresses your concerns and provides clarity on our approach to strategy and algorithm evaluation.\n\nThank you for your review. We would appreciate your feedback on whether our response has adequately addressed your concerns. If there are any remaining questions or points that need further clarification, we would be happy to provide additional information.\n\nThank you for your previous response. We would appreciate your feedback on whether our additional response has adequately addressed your concerns. If there are any remaining questions or points that need further clarification, we would be happy to provide additional information.\n\nThank you for your previous response. We would appreciate your feedback on whether our additional response has adequately addressed your concerns. If there are any remaining questions or points that need further clarification, we would be happy to provide additional information.\n\nThank you once again for your positive review.\n\nThank you for your constructive feedback! \n\nWe have supplemented additional experiments based on the Manhattan map. Now we have additional experiments on a variety of scenarios used in the UNSG domain (Xue et al. 2021; 2022; Li et al. 2023a; 2024) in Section 4.2 (details are in Appendix D), which includes larger $15\\times 15$ grid structures and real-world maps based on Singapore and Manhattan. The $15\\times 15$ grid network represents the randomly generated network, and two real-world networks represent different topological structures in real-world cities. To the best of our knowledge, the [...]\n\nThank you for your valuable feedback!\n\nWe have expanded our experimental validation by incorporating a variety of scenarios used in the UNSG domain (Xue et al. 2021; 2022; Li et al. 2023a; 2024) in Section 4.2 (details are in Appendix D), which include larger $15\\times 15$ grid structures and real-world maps based on Singapore and Manhattan. The $15\\times 15$ grid network represents the randomly generated network, and two real-world networks represent different topological structures in real-world cities. To our knowledge, the Singapore and Manhattan maps represent the most realistic and comp [...]\n\nWe sincerely appreciate the reviewers' constructive feedback. We believe we have addressed all the reviewers' concerns. In response to their comments, we have made several supplements to our manuscript:\n\n- In Appendix C, we added a parameter table that users can control to generate graph structures tailored to their specific research needs.\n- Now we have additional experiments on a variety of scenarios used in the UNSG domain (Xue et al. 2021; 2022; Li et al. 2023a; 2024) in Section 4.2 (details are in Appendix D), which includes larger $15\\times 15$ grid structures and real-world maps based o [...]\n\n## Questions:\n\n- **To Question 2:** Thank you for this important observation regarding the termination patterns in Figures 7 and 8. We acknowledge that this requ\n[rebuttal truncated]",
|
| 8 |
+
"initial_scores": [
|
| 9 |
+
6,
|
| 10 |
+
3,
|
| 11 |
+
5,
|
| 12 |
+
5
|
| 13 |
+
],
|
| 14 |
+
"score_mean": 4.75,
|
| 15 |
+
"score_variance": 1.58,
|
| 16 |
+
"score_spread": 3,
|
| 17 |
+
"score_min": 3,
|
| 18 |
+
"score_max": 6,
|
| 19 |
+
"decision": "Reject",
|
| 20 |
+
"rebuttal_validity_ground_truth": false,
|
| 21 |
+
"meta_review": "The paper introduces GraphChase, an open-source platform for Urban Network Security Games (UNSGs). UNSGs model complex scenarios involving allocating limited security resources in urban environments and balancing cooperative and adversarial interactions between multiple agents. The authors aim to provide a unified platform to support researchers in developing, testing, and benchmarking algorithms for UNSGs. Experimental results demonstrate that GraphChase improves computational efficiency compared to baseline implementations and supports a wide range of game configurations.\n\nReviewers appreciated the platform's potential to address a significant gap in UNSG research by offering a standardized environment for algorithm development and evaluation. However, they expressed concerns about the paper's readiness for publication due to limitations in experiments, insufficient clarity in contributions, and the need for a broader evaluation of the platform's versatility.\n\nReviewer HG6y emphasized the need for more systematic experiments in complex environments. Reviewer eAes appreciated GraphChase but pointed out the limited scope of experiments and unclear presentation of related work. Reviewer FH55 raised similar concerns about the lack of experimental depth and noted that the current presentation sometimes reads more as an advertisement than objective scientific writing. Reviewer Wrzs found the platform's extensibility promising but suggested further comparisons with related works a",
|
| 22 |
+
"forum_id": "DjHnxxlqwl",
|
| 23 |
+
"primary_area": "datasets and benchmarks",
|
| 24 |
+
"n_reviews": 4,
|
| 25 |
+
"per_review": [
|
| 26 |
+
{
|
| 27 |
+
"reviewer": "Reviewer_Wrzs",
|
| 28 |
+
"review_id": "1osEim0Ima",
|
| 29 |
+
"scores": {
|
| 30 |
+
"rating": 6,
|
| 31 |
+
"soundness": 3,
|
| 32 |
+
"presentation": 3,
|
| 33 |
+
"contribution": 3,
|
| 34 |
+
"confidence": 4
|
| 35 |
+
},
|
| 36 |
+
"review_text_chars": 1705,
|
| 37 |
+
"edit_detected": true,
|
| 38 |
+
"edit_delta_seconds": 774271,
|
| 39 |
+
"post_rebuttal_text_signal": false,
|
| 40 |
+
"score_mentions_in_text": []
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"reviewer": "Reviewer_FH55",
|
| 44 |
+
"review_id": "7HW1v9rLQ2",
|
| 45 |
+
"scores": {
|
| 46 |
+
"rating": 3,
|
| 47 |
+
"soundness": 3,
|
| 48 |
+
"presentation": 2,
|
| 49 |
+
"contribution": 2,
|
| 50 |
+
"confidence": 4
|
| 51 |
+
},
|
| 52 |
+
"review_text_chars": 3747,
|
| 53 |
+
"edit_detected": true,
|
| 54 |
+
"edit_delta_seconds": 781576,
|
| 55 |
+
"post_rebuttal_text_signal": false,
|
| 56 |
+
"score_mentions_in_text": []
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"reviewer": "Reviewer_eAes",
|
| 60 |
+
"review_id": "ro7jmnfmfH",
|
| 61 |
+
"scores": {
|
| 62 |
+
"rating": 5,
|
| 63 |
+
"soundness": 3,
|
| 64 |
+
"presentation": 2,
|
| 65 |
+
"contribution": 2,
|
| 66 |
+
"confidence": 4
|
| 67 |
+
},
|
| 68 |
+
"review_text_chars": 3881,
|
| 69 |
+
"edit_detected": true,
|
| 70 |
+
"edit_delta_seconds": 2616207,
|
| 71 |
+
"post_rebuttal_text_signal": false,
|
| 72 |
+
"score_mentions_in_text": []
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"reviewer": "Reviewer_HG6y",
|
| 76 |
+
"review_id": "vHZlfdbSyM",
|
| 77 |
+
"scores": {
|
| 78 |
+
"rating": 5,
|
| 79 |
+
"soundness": 3,
|
| 80 |
+
"presentation": 3,
|
| 81 |
+
"contribution": 2,
|
| 82 |
+
"confidence": 3
|
| 83 |
+
},
|
| 84 |
+
"review_text_chars": 4083,
|
| 85 |
+
"edit_detected": true,
|
| 86 |
+
"edit_delta_seconds": 1988346,
|
| 87 |
+
"post_rebuttal_text_signal": false,
|
| 88 |
+
"score_mentions_in_text": []
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"any_review_edit_detected": true,
|
| 92 |
+
"any_post_rebuttal_text_signal": false,
|
| 93 |
+
"review_score_dimensions": [
|
| 94 |
+
"rating",
|
| 95 |
+
"soundness",
|
| 96 |
+
"presentation",
|
| 97 |
+
"contribution",
|
| 98 |
+
"confidence"
|
| 99 |
+
]
|
| 100 |
+
}
|