On the Opportunities and Risks of Foundation Models
Rishi Bommasani et al. · 2021
스탠퍼드 대학의 연구자 100여 명이 대규모 자료로 학습해 여러 일에 두루 쓰이는 AI 모형을 파운데이션 모델이라고 이름 붙이고, 그 능력 · 기술 · 응용 · 사회적 영향을 정리한 보고서입니다. 법 · 의료와 함께 교육 분야의 가능성과 위험도 한 장을 들여 다룹니다.
출처 Bommasani et al. (2021), arXiv (Stanford Center for Research on Foundation Models), 2108.07258 · 라이선스 CC BY 4.0 · 원문
이 장은 원문만 있습니다. 문장별 해석은 앞 장부터 차례로 붙입니다.
8장 · Capabilities — Vision
Vision underlies one of the primary modes through which a living organism understands its environment. The ability to see enables the near-constant, long-range gathering of dense signals, a critical capability developed over an evolutionary time-scale in a diverse range of life forms (Parker, 2003; Zhang and Shu, 2021). For a skill executed effortlessly by even simple living creatures, transferring the same abilities to machines has proved remarkably challenging, leading computer vision and robotics researcher Hans Moravec in 1988 to observe a paradox: in AI, (what were considered) hard problems are easy and likewise easy problems are hard, and among the “easiest” problems of them all is the visual acuity which we use each day to continually interpret complex scenes in a matter of milliseconds (Moravec, 1988; Thorpe et al., 1996; Fei-Fei et al., 2007).
On the other end of this formidable challenge is the substantial scope of transformative applications which computer vision holds the key to: self-driving cars that can free commuters from gridlock (§2.3: robotics), life-saving AI tools that can assist overworked specialists by detecting rare medical events (§3.1: healthcare), next-generation tools for multimedia creation and editing (§2.5: interaction), among others. Reflecting on the applications and settings where human perception is instrumental offers a sense of the potential areas where computer vision can assist and transform.
The field of computer vision and the challenges we define draw inspiration in many ways from human perception capabilities. Several classical theories (e.g. Biederman, 1972; McClelland and Rumelhart, 1981; Marr, 1982) suggested that humans may perceive real world scenes by contextualizing parts as a larger whole, and pointed the way for computer vision techniques to progressively model the physical world with growing levels of abstractions (Lowe, 1992; Girshick et al., 2014). Gibson (1979) suggested that human vision is inherently embodied and interactive ecological environments may play a key role in its development. These ideas continue to motivate the ongoing development of computer vision systems, iterating towards a contextual, interactive, and embodied perception of the world.
In the context of computer vision, foundation models translate raw perceptual information from diverse sources and sensors into visual knowledge that may be adapted to a multitude of downstream settings (Figure 7). To a large extent, this effort is a natural evolution of the key ideas that have emerged from the field over the last decade. The introduction of ImageNet (Deng et al., 2009) and the advent of supervised pretraining led to a deep learning paradigm shift in computer vision. This transition marked a new era, where we moved beyond the classic approaches and task-specific feature engineering of earlier days (Lowe, 2004; Bay et al., 2006; Rosten and Drummond, 2006) towards models that could be trained once over large amounts of data, and then adapted for a broad variety of tasks, such as image recognition, object detection, and image segmentation (Krizhevsky et al., 2012; Szegedy et al., 2015; He et al., 2016a; Simonyan and Zisserman, 2015). This idea remains at the core of foundation models.
The bridge to foundation models comes from the limitations of the previous paradigm. Traditional supervised techniques rely on expensive and carefully-collected labels and annotations, limiting their robustness, generalization and applicability; in contrast, recent advances in self-supervised learning (Chen et al., 2020c; He et al., 2020) suggest an alternative route for the development of foundation models that could make use of large quantities of raw data to attain a contextual understanding of the visual world. Relative to the broader aims of the field, the current capabilities of vision foundation models are currently early-stage (§2.2.1: vision-capabilities): we have observed improvements in traditional computer vision tasks (particularly with respect to generalization capability) (Radford et al., 2021; Ramesh et al., 2021) and anticipate that the near-term progress will continue this trend. However, in the longer-term, the potential for foundation models to reduce dependence on explicit annotations may lead to progress on essential cognitive skills (e.g., commonsense reasoning) which have proven difficult in the current, fully-supervised paradigm (Zellers et al., 2019a; Martin-Martin et al., 2021). In turn, we discuss the potential implications of foundation models for downstream applications, and the central challenges and frontiers that must be addressed moving forward (§2.2.2: vision-challenges).
Key capabilities and approaches
At a high-level, computer vision is the core sub-field of artificial intelligence that explores ways to endow machines with the capacity to interpret and understand the visual world. It encompasses a multitude of tasks, sub-domains and downstream applications, where the community has made continual progress over the last several decades (Zamir et al., 2018). A selection of example tasks: (1) semantic understanding tasks, which aim to discover the properties and relations among entities within visual scenes; these include image classification, object detection, semantic segmentation, action recognition, and scene graph generation, among others (e.g. Krizhevsky et al., 2012; He et al., 2016a; Krishna et al., 2017; Russakovsky et al., 2015; Krizhevsky et al., 2009; Kay et al., 2017; Lin et al., 2014). (2) geometric, motion and 3D tasks, seeking to represent the geometry, pose and structure of still or moving objects, and include tasks of depth estimation, structure-from-motion, surface normal detection, curvature line and keypoint estimation, to name a few (e.g. Laina et al., 2016; Agarwal et al., 2011; Wang et al., 2015a; Zamir et al., 2018; Ullman, 1979). (3) multimodal integration tasks, combining semantic and geometric understanding with other modalities such as natural language; these include, for instance, visual question answering, image captioning, and instruction following (e.g. Antol et al., 2015; Chen et al., 2015b; Anderson et al., 2018; Goyal et al., 2017b; Hudson and Manning, 2019b; Johnson et al., 2017; Luo et al., 2020; Akbari et al., 2021; Huang et al., 2021c; Tsimpoukelli et al., 2021). We highlight a subset of traditional core tasks in Figure 7.
The predominant paradigm for addressing these tasks, driven by the emergence of ImageNet (Deng et al., 2009) during the early 2010s, tends to center around a familiar core idea: First, pretrain a model on a large collection of carefully annotated data (Russakovsky et al., 2015) with a fully supervised training task, like image classification. Then, adapt the model downstream on task-specific datasets and domains (Lin et al., 2014; Chen et al., 2015b; Antol et al., 2015) by fine-tuning to reach state-of-the-art performance (Krizhevsky et al., 2012; Simonyan and Zisserman, 2015; He et al., 2016a; Xu and Saenko, 2016). This notion of pretraining followed by adaptation persists in the definitions we consider now for foundation models (§1: introduction). The limitations of this fully supervised paradigm motivate the transition to foundation models: the reliance on external supervised annotations constrains the upper bound capability of previous approaches to capture the diverse spectrum of visual inputs in a scalable, robust and generalizable manner. Recent developments in the domain of visual synthesis and unsupervised learning offer a compelling alternative. GANs, for instance, learn to generate visual content of high fidelity, realism and diversity, by featuring two competing networks of a generator and a discriminator that can supervise one another from image collections alone (e.g. Goodfellow et al., 2014; Hudson and Zitnick, 2021). Other neural models infer the visual properties of objects and scenes without explicitly annotated supervision, by employing variational auto-encoding, contrastive learning or other self-supervised techniques (e.g. Kingma and Welling, 2014; Chen et al., 2020c; He et al., 2020). For instance, He et al. (2021) build upon prior work on representation learning with masked image encoding (e.g. Pathak et al., 2016; Vincent et al., 2008) by, in part, combining recent advancements in flexible architectures (e.g., vision transformers (Dosovitskiy et al., 2021; Zhai et al., 2021)) with increased scaling.
With foundation models, the development of such self-supervision techniques has enabled training at greater scales of visual data (Changpinyo et al., 2021), both in terms of its scope as well as its potential diversity. Accordingly, we have seen early indicators of progress on traditional vision tasks in terms of both standard accuracy metrics and few-shot generalization. For image classification and object detection, self-supervised techniques have reported competitive performance to prior fully-supervised approaches (He et al., 2019; Chen et al., 2020c; Radford et al., 2021; Hénaff et al., 2021), without explicit annotations during training and greater sample efficiency during adaptation. For visual synthesis, notable examples include DALL-E (Ramesh et al., 2021) and CLIP-guided generation (Radford et al., 2021; Galatolo et al., 2021), where researchers leverage multimodal language and vision input to render compelling visual scenes. In the short-term, we anticipate that the capabilities of these foundation models will continue to improve along these directions, as training objectives are refined (Chen et al., 2020a; Hénaff et al., 2021; Selvaraju et al., 2021) and architectures are designed to incorporate additional modalities (Jaegle et al., 2021b).
Notably, current foundation models for computer vision are nascent relative to their NLP counterparts (§2.1: language): promising early efforts are still largely centered on RGB image inputs and a subset of core traditional vision tasks. However, the field continues to progress on broader challenges centered on embodied and interactive perception settings (critical for foundation models for robotics (Bohg et al., 2017, §2.3: robotics)). We note a subset of these higher-order goals in Figure 7, including physical scene understanding, reasoning over visual commonsense and temporal events, and perception for social affordances. Each of these have been goals for fully-supervised systems, but have proven challenging in part due to the difficulty of annotating these tasks at scale. For instance, standard systems for visual-question answering struggle to answer questions that require commonsense understanding, since these questions often require external knowledge beyond what is present in the pixels alone (Zellers et al., 2019a). Perceiving human gaze and social affordances in a robust manner remain ongoing challenges for embodied vision systems in interactive agents (Martin-Martin et al., 2021). By reducing the dependence on explicit annotations, foundation models may enable further progress towards these goals than was previously feasible. Related progress in language foundation models (§2.1: language), which have been able to capture a degree of commonsense over language events (Brown et al., 2020), also suggests a potential avenue towards achieving similar capability over multimodal visual inputs. While the exact roadmap for how to achieve these capabilities in foundation models remains an open problem, a combination of new efficient and flexible architectures (§4.1: modeling), large-scale training (§4.5: systems), self-supervision techniques (§4.2: training) and few-shot adaptation schemes (§4.3: adaptation) may open the door towards capabilities that have been difficult to reach so far.
Central research challenges
Our discussion of research challenges is motivated by the downstream application domains where foundation models may further the integration and impact of vision models. We highlight a few such areas: (1) ambient intelligence for healthcare and home environments: building upon existing approaches for ambient intelligence in these settings (Haque et al., 2017; Lyytinen and Yoo, 2002; Hong and Landay, 2004), foundation models may offer the potential for better detection of fine-grained human activities and medical events, as well as improved assistive interaction for clinicians, patients, and everyday consumers (see also §3.1: healthcare). (2) mobile and consumer applications: foundation models with stronger multimodal grounding may enable more capable interactivity of services in mobile settings, and fundamental improvements in generation capability from vision and language inputs can benefit computational photography and content editing applications (Delbracio et al., 2021; Ramesh et al., 2021; Park et al., 2019) (see also §2.5: interaction). (3) embodied, interactive agents: perception models have already proven effective as both inputs (Sermanet et al., 2018) and reward functions (Chen et al., 2021c; Shao et al., 2020) in robotics settings; foundation models trained on large collections of egocentric (real/simulated, human/robotic) visual data (Damen et al., 2018; Chen et al., 2021e) may potentially further this progress by capturing a wider distribution of visual scenes, objects, and actions (see also §2.3: robotics).
The extent to which foundation models may further impact these application settings hinges on the degree to which the capabilities outlined in §2.2.1: vision-capabilities are realized. To bridge the significant gaps between present, short-term, and long-term anticipated capabilities, we must address current limitations of foundation models for vision, including their training and evaluation. Below, a subset of corresponding key challenges:
Semantic systematicity and perceptual robustness
Humans have a remarkable capacity for generalizing visual understanding to unseen compositions, and reasoning about the physical and geometric properties of novel objects and scenes (Lake et al., 2015). While current foundation models have shown promising capability for image synthesis and early results for generalization to fine-grained language inputs, these models still struggle to generalize to compositions of simple shapes and colors (Ramesh et al., 2021; Radford et al., 2021; Rong, 2021). Generalizability goes beyond semantics as well; visual scenes and objects have a natural regularity to their physical dynamics and geometric properties. Foundation models have shown early indications of understanding scene and object geometry (Ramesh et al., 2021). Further, early efforts towards physical scene and geometric understanding in perception models may provide guidance for ongoing foundation model development (Yi et al., 2019; Bakhtin et al., 2019; Li et al., 2020b). Indeed, the continued incorporation of multiple modalities (e.g., audio) in foundation models may prove beneficial towards these aims (Zhang et al., 2017; Gao et al., 2020b; Jaegle et al., 2021a). However, the specific techniques to enable generalizing the initial observed capabilities robustly to a wide range of natural scenes and objects at the level of humans remains an open research challenge for foundation models.
Computational efficiency and dynamics modeling
Humans are surprisingly efficient at processing the continuous visual stream of objects, scenes, and events necessary to support an understanding of event dynamics (Zacks et al., 2001; Tversky and Zacks, 2013). Foundation models in language (§2.1: language) have shown initial steps towards modeling longer-term coherence of events; the analogous ability to capture long-range temporal correlations and causal coherence in visual input would stand to benefit downstream settings like robotics (Dai et al., 2019; Alyamkin et al., 2019; Goel et al., 2020b; Feng et al., 2019, §2.3: robotics). However, relative to word token-level inputs in language, low-level computer vision inputs are extremely high-dimensional: a single 1080p frame contains over 2 million pixels. In this context, modeling the richer event dynamics in long-range video sequences seems like a daunting endeavor, especially with additional modalities (e.g., speech, optical flow, etc.) and increasing resolutions. Understandably, a naïve approach to fully processing every individual pixel is likely prohibitive. Current vision models (e.g. Radford et al., 2021; Sun et al., 2019a; Tan and Bansal, 2019; Kim et al., 2021a) often address this by processing embeddings that summarize image patches or even groups of frames altogether, but this has the potential drawback of losing fine-grained details (Ramesh et al., 2021). In addition to considerations of the raw input space, foundation models for vision may need to revisit the design of fundamental architecture primitives (§4.1: modeling) for efficient and effective modeling: alternatives to 3D convolutions may better address its cubic complexity (Fan et al., 2020; Sitzmann et al., 2019), while particle-based representations may prove more effective for modeling physical dynamics (Bear et al., 2021). Further, deployment of these vision models to downstream application settings will also necessitate advancements in systems design (§4.5: systems). Taken together, the bottleneck of efficient and effective modeling for larger-scale, dynamic vision inputs remains a multi-faceted research direction that must be addressed going forward.
Training, environments, and evaluation
Equally critical to realizing the potential of foundation models are the supporting elements for training and evaluating them. Current foundation models for vision have largely focused on a small subset of modalities shown in Figure 7 (e.g., datasets of RGB images and text), since these are perhaps the most readily accessible (Changpinyo et al., 2021; Radford et al., 2021). This motivates the development and use of additional large-scale training datasets which contain a diverse collection of inputs across a broad spectrum of modalities. While additional annotations may not strictly be necessary, the input quality impacts the learning efficiency of the models; techniques that leverage foundation models of other types (e.g., language) to help improve quality are a promising route forward (Zellers et al., 2021b). We also want to consider settings beyond static datasets: classic studies have suggested that perceptual understanding in humans is linked to its embodiment and interactive, ecological settings (Gibson, 1979). As stepping stones towards longer-term capabilities of embodiment and interaction (§2.3: robotics), ongoing development of simulation environments that capture physical, visual, and ecological realism with multiple modalities and viewpoints may play an important role in providing scalable and high-fidelity visual inputs for this goal (Kolve et al., 2017a; Savva et al., 2019b; Gan et al., 2020; Shen et al., 2021a; Srivastava et al., 2021). Finally, there is the question of metrics: how do we evaluate the faithfulness of generative foundation model outputs with respect to semantics? Standard metrics like Fréchet Inception Distance, suffer from known flaws (Bińkowski et al., 2018); such issues parallel ones in natural language processing (e.g., metrics like BLEU do not correlate with causal judgements from humans). Having human judgements as part of evaluation may be one route, but incurs significant cost and may not be as scalable (Zhou et al., 2019; Khashabi et al., 2021). The outstanding and open challenges surrounding the training (§4.2: training), data (§4.6: data), and evaluation (§4.4: evaluation) settings for vision foundation models are indeed quite nuanced, and will be a central area of research going forward.
Concluding remarks
In this section, we explored foundation models in the context of computer vision, from identifying roots in previous computer vision paradigms, to contextualizing its current and anticipated capabilities, to proposing research directions moving forward. We conclude with a brief discussion of some broader societal implications of foundation models for computer vision and their continued development (see also §5: society). The ubiquity of cameras in our society means that advances in computer vision techniques have great potential for disruptive impact; this carries a corresponding burden of responsibility for careful consideration of its risks. There is a well-documented history of learned bias in computer vision models, resulting in lower accuracies and correlated errors for underrepresented groups, with consequently inappropriate and premature deployment to some real-world settings (e.g., Buolamwini and Gebru, 2018, §5.1: fairness). Many of the same underlying issues continue to persist in current foundation models (Agarwal et al., 2021). As data from additional sensor modalities (e.g., wearable or ambient sensors, Figure 7) become incorporated in these foundation models, concerns surrounding privacy and surveillance become paramount (see §5.6: ethics). Furthermore, generated deepfake images and misinformation pose greater risks as the semantic and generative capability of vision foundation models continues to grow (Dolhansky et al., 2020; Ramesh et al., 2021, §5.2: misuse). While the intriguing open challenges and opportunities ahead for computer vision and foundation models are significant, addressing these and related risks concurrently remains essential.
이 글은 위 출처의 원문을 그 라이선스(CC BY 4.0)에 따라 옮겼습니다. 참고문헌 목록과 인용 번호, 그림 · 표 · 각주 · 수식 · 부록은 빼고 절별로 나누어 실었으며, 그 밖의 문장은 원문 그대로입니다. 원 저작자와 발행 기관은 이 화면을 만들거나 검토하지 않았고, 이곳의 해석과 낱말 풀이는 공식 번역이 아닙니다.
