South America
What Algorithms can Transformers Learn? A Study in Length Generalization
Zhou, Hattie, Bradley, Arwen, Littwin, Etai, Razin, Noam, Saremi, Omid, Susskind, Josh, Bengio, Samy, Nakkiran, Preetum
Large language models exhibit surprising emergent generalization properties, yet also struggle on many simple reasoning tasks such as arithmetic and parity. This raises the question of if and when Transformer models can learn the true algorithm for solving a task. We study the scope of Transformers' abilities in the specific setting of length generalization on algorithmic tasks. Here, we propose a unifying framework to understand when and how Transformers can exhibit strong length generalization on a given task. Specifically, we leverage RASP (Weiss et al., 2021) -- a programming language designed for the computational model of a Transformer -- and introduce the RASP-Generalization Conjecture: Transformers tend to length generalize on a task if the task can be solved by a short RASP program which works for all input lengths. This simple conjecture remarkably captures most known instances of length generalization on algorithmic tasks. Moreover, we leverage our insights to drastically improve generalization performance on traditionally hard tasks (such as parity and addition). On the theoretical side, we give a simple example where the "min-degree-interpolator" model of learning from Abbe et al. (2023) does not correctly predict Transformers' out-of-distribution behavior, but our conjecture does. Overall, our work provides a novel perspective on the mechanisms of compositional generalization and the algorithmic capabilities of Transformers.
Meet the parents: Tinder introduces approval tool for friends and family
One of the most gruelling hurdles in any new relationship is when it becomes time to meet the parents. But now Tinder has come up with a way to make sure your partner has the familial seal of approval before they've even been introduced. The dating app has created a tool called Matchmaker, which allows users to offer up to 15 friends, family members or guardians 24 hours to scrutinise their possible matches. They can view the profiles and make suggestions without having an account of their own – and, fortunately, cannot start messaging on your behalf. Once the session ends, Tinder users can review the profiles recommended by their matchmakers before making a final decision on whether or not they see them as a good fit.
Mother knows best! Tinder now lets your PARENTS view and suggest potential matches
It's a question from the parents that every singleton dreads: are you dating anyone at the moment? But the days of dismissing their questioning could be a thing of the past, thanks to Tinder's latest feature. The dating app has launched Tinder Matchmaker, which lets your friends and fmaily view and suggest potential matches for you. 'For years, singles have asked their friends to help find their next match on Tinder,' said Melissa Hobley, Chief Marketing Officer at Tinder. 'Tinder Matchmaker brings your circle of trust into your dating journey and helps you see the possibilities you might be overlooking from the perspective of those closest to you.'
Whose voice is it anyway? Actors take on AI copycats
Voice actor Armando Plata does not recall promoting a shopping mall in Bogota, narrating a porn movie or advertizing a big bank. Yet his voice comes over loud and clear: schmoozing, sighing and selling with neither permission nor payment. It was the mild, robotic twang -- rather than worry over any memory lapse -- that alerted Plata to the fact his voice had been quietly cloned via artificial intelligence, robbing the veteran actor of his key asset, artistic choice and vocal rights. "I believe that the most cloned and artificially used voice in Spanish is mine," said Plata, owner of a deep and lilting voice, 50-year audio career and president of the Colombian Association of Voice Actors.
That was the last straw, we need more: Are Translation Systems Sensitive to Disambiguating Context?
Lee, Jaechan, Liu, Alisa, Ahia, Orevaoghene, Gonen, Hila, Smith, Noah A.
The translation of ambiguous text presents a challenge for translation systems, as it requires using the surrounding context to disambiguate the intended meaning as much as possible. While prior work has studied ambiguities that result from different grammatical features of the source and target language, we study semantic ambiguities that exist in the source (English in this work) itself. In particular, we focus on idioms that are open to both literal and figurative interpretations (e.g., goose egg), and collect TIDE, a dataset of 512 pairs of English sentences containing idioms with disambiguating context such that one is literal (it laid a goose egg) and another is figurative (they scored a goose egg, as in a score of zero). In experiments, we compare MT-specific models and language models for (i) their preference when given an ambiguous subsentence, (ii) their sensitivity to disambiguating context, and (iii) the performance disparity between figurative and literal source sentences. We find that current MT models consistently translate English idioms literally, even when the context suggests a figurative interpretation. On the other hand, LMs are far more context-aware, although there remain disparities across target languages. Our findings underline the potential of LMs as a strong backbone for context-aware translation.
ByteSized32: A Corpus and Challenge Task for Generating Task-Specific World Models Expressed as Text Games
Wang, Ruoyao, Todd, Graham, Yuan, Eric, Xiao, Ziang, Côté, Marc-Alexandre, Jansen, Peter
In this work, we investigate the capacity of language models to generate explicit, interpretable, and interactive world models of scientific and common-sense reasoning tasks. We operationalize this as a task of generating text games, expressed as hundreds of lines of Python code. To facilitate this task, we introduce ByteSized32 (Code: github.com/cognitiveailab/BYTESIZED32), a corpus of 32 reasoning-focused text games totaling 20k lines of Python code. We empirically demonstrate that GPT-4 can use these games as templates for single-shot in-context learning, successfully producing runnable games on unseen topics in 28% of cases. When allowed to self-reflect on program errors, game runnability substantially increases to 57%. While evaluating simulation fidelity is labor-intensive, we introduce a suite of automated metrics to assess game fidelity, technical validity, adherence to task specifications, and winnability, showing a high degree of agreement with expert human ratings. We pose this as a challenge task to spur further development at the juncture of world modeling and code generation.
CAPIVARA: Cost-Efficient Approach for Improving Multilingual CLIP Performance on Low-Resource Languages
Santos, Gabriel Oliveira dos, Moreira, Diego A. B., Ferreira, Alef Iury, Silva, Jhessica, Pereira, Luiz, Bueno, Pedro, Sousa, Thiago, Maia, Helena, Da Silva, Nádia, Colombini, Esther, Pedrini, Helio, Avila, Sandra
This work introduces CAPIVARA, a cost-efficient framework designed to enhance the performance of multilingual CLIP models in low-resource languages. While CLIP has excelled in zero-shot vision-language tasks, the resource-intensive nature of model training remains challenging. Many datasets lack linguistic diversity, featuring solely English descriptions for images. CAPIVARA addresses this by augmenting text data using image captioning and machine translation to generate multiple synthetic captions in low-resource languages. We optimize the training pipeline with LiT, LoRA, and gradient checkpointing to alleviate the computational cost. Through extensive experiments, CAPIVARA emerges as state of the art in zero-shot tasks involving images and Portuguese texts. We show the potential for significant improvements in other low-resource languages, achieved by fine-tuning the pre-trained multilingual CLIP using CAPIVARA on a single GPU for 2 hours. Our model and code is available at https://github.com/hiaac-nlp/CAPIVARA.
Burgers' pinns with implicit euler transfer learning
Biesek, Vitória, Konzen, Pedro Henrique de Almeida
The Burgers equation is a well-established test case in the computational modeling of several phenomena such as fluid dynamics, gas dynamics, shock theory, cosmology, and others. In this work, we present the application of Physics-Informed Neural Networks (PINNs) with an implicit Euler transfer learning approach to solve the Burgers equation. The proposed approach consists in seeking a time-discrete solution by a sequence of Artificial Neural Networks (ANNs). At each time step, the previous ANN transfers its knowledge to the next network model, which learns the current time solution by minimizing a loss function based on the implicit Euler approximation of the Burgers equation. The approach is tested for two benchmark problems: the first with an exact solution and the other with an alternative analytical solution. In comparison to the usual PINN models, the proposed approach has the advantage of requiring smaller neural network architectures with similar accurate results and potentially decreasing computational costs.
Field-level simulation-based inference with galaxy catalogs: the impact of systematic effects
de Santi, Natalí S. M., Villaescusa-Navarro, Francisco, Abramo, L. Raul, Shao, Helen, Perez, Lucia A., Castro, Tiago, Ni, Yueying, Lovell, Christopher C., Hernandez-Martinez, Elena, Marinacci, Federico, Spergel, David N., Dolag, Klaus, Hernquist, Lars, Vogelsberger, Mark
It has been recently shown that a powerful way to constrain cosmological parameters from galaxy redshift surveys is to train graph neural networks to perform field-level likelihood-free inference without imposing cuts on scale. In particular, de Santi et al. (2023) developed models that could accurately infer the value of $\Omega_{\rm m}$ from catalogs that only contain the positions and radial velocities of galaxies that are robust to uncertainties in astrophysics and subgrid models. However, observations are affected by many effects, including 1) masking, 2) uncertainties in peculiar velocities and radial distances, and 3) different galaxy selections. Moreover, observations only allow us to measure redshift, intertwining galaxies' radial positions and velocities. In this paper we train and test our models on galaxy catalogs, created from thousands of state-of-the-art hydrodynamic simulations run with different codes from the CAMELS project, that incorporate these observational effects. We find that, although the presence of these effects degrades the precision and accuracy of the models, and increases the fraction of catalogs where the model breaks down, the fraction of galaxy catalogs where the model performs well is over 90 %, demonstrating the potential of these models to constrain cosmological parameters even when applied to real data.
Hyperparameter optimization of hp-greedy reduced basis for gravitational wave surrogates
Cerino, Franco, Diaz-Pace, Andrés, Tassone, Emmanuel, Tiglio, Manuel, Villegas, Atuel
In a previous work we introduced, in the context of gravitational wave science, an initial study on an automated domain-decomposition approach for reduced basis through hp-greedy refinement. The approach constructs local reduced bases of lower dimensionality than global ones, with the same or higher accuracy. These ``light'' local bases should imply both faster evaluations when predicting new waveforms and faster data analysis, in particular faster statistical inference (the forward and inverse problems, respectively). In this approach, however, we have previously found important dependence on several hyperparameters, which do not appear in global reduced basis. This naturally leads to the problem of hyperparameter optimization (HPO), which is the subject of this paper. We tackle the problem through a Bayesian optimization, and show its superiority when compared to grid or random searches. We find that for gravitational waves from the collision of two spinning but non-precessing black holes, for the same accuracy, local hp-greedy reduced bases with HPO have a lower dimensionality of up to $4 \times$ for the cases here studied, depending on the desired accuracy. This factor should directly translate in a parameter estimation speedup, for instance. Such acceleration might help in the near real-time requirements for electromagnetic counterparts of gravitational waves from compact binary coalescences. In addition, we find that the Bayesian approach used in this paper for HPO is two orders of magnitude faster than, for example, a grid search, with about a $100 \times$ acceleration. The code developed for this project is available as open source from public repositories.